

.gallery {
    margin-top: 5rem;
    overflow:hidden;
    clear: both;
}

.gallery__item {
    /* float: left; */
    width: 320px;
    /* height: 345px; */
    /* margin: 6px 30px 50px 6px; */
    /* overflow: hidden; */
    font-size: 11px;
    padding: 15px 0;
}

.gallery__item-container {
    float: left;
    width: 320px;
    height: 445px;
    margin: 6px 30px 50px 6px;
    overflow: hidden;
}

.gallery__item:hover {
    position: absolute;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.gallery__item img {
    padding: 2px;
}

.gallery__item a {
    height: 205px;
}

.gallery__image {
    text-align: center;
}

.gallery__player {
    padding-bottom: 6px;
    height: 49px;
    overflow: hidden;
}

.gallery__player, .gallery__org {
    clear: both;
    text-align: center;
    font-family: Roboto;
    font-size: 18px;
    color: var(--header);
    padding-bottom: 6px;
}

.gallery__org {
    color: #007CC3;
}

.gallery__description {
    /* background: white; */
    width: 320px;
    height: auto !important;
    padding: 8px 4px;
    display: block;
    /* border: 1px solid white; */
    color: #636563 !important;
    font-size: 14px;
    text-align: left;
    line-height: 130%;
    padding: 20px;
    box-sizing: border-box;
}

.gallery__description:hover {
    /* position: absolute;
    min-height: 170px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */
    border-radius: 0 0 10px 10px;

    z-index: 1000;
}

/* Страницы */

.pages {
    clear:left;
    margin: 0 auto;
    padding-top: 60px;
    margin-bottom: 60px;
    text-align: center;
}

.pages__skip {
    color: var(--link) !important;
    border: 1px solid;
    border-radius: 6px;
    /* background: #EDEDED; */
    padding: 8px 12px;
    text-decoration: none;
    margin-right: 10px;
}


.pages__page {
    padding: 7px 12px;
    text-align: center;
    border: 1px solid var(--link);
    border-radius: 6px;
    color: var(--link) !important;
    margin-right: 10px;
    text-decoration: none;
}

.pages__page--active {
    background: var(--link);
    color: #fff !important;
}

/* Остальное */

.auto-submit-star {
    margin-top: 5px;
}

.projects {
    position: relative;
}

.to_login {
    border-top: 1px solid #cfcfcf;
    display: block;
    padding: 6px 6px 6px 6px;
}

@media all and (max-width: 690px) {
    .pages {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }

    .pages__page, .pages__skip {
        margin-bottom: 10px;
    }
}

