.gallery-all-screen{
    /*вынес в style.css */
}

.gallery-navigation-bar{
    /*вынес в style.css */
}


.gallery-navigation-bar div{
    /*вынес в style.css */
}

.gallery-navigation-bar div a{
    /*вынес в style.css */
}

.gallery-navigation-bar div a.active{
    /*вынес в style.css */
}


.gallery-first-screen{
    padding-top: 0px;
    padding-bottom: 1.5%;
    background-size: cover;
    transition: all 1s ease-in-out;
    width: 100%;
    height: 100%;
    min-height: 106vh;
    z-index: 10;
    box-shadow: none;
    left: 0%;
    right: 0%;
    position: relative;
    margin-bottom: 11vh;
    margin-bottom: 10%;
}







/* GALLERY SUBMENU: BEGIN */

.gallery-list{
    margin-top: 5%;
    text-align: center;
}

.gallery-filter div{
    display: inline-block;
    margin-right: 7%;
    text-align: center;
}
.gallery-filter div a{
    text-decoration: none;
    position: relative;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    line-height: 30px;
    text-transform: uppercase;
}
.gallery-filter div a:after{
    display: block;
    padding-top: 2%;
    position: absolute;
    content: "";
    height: 2px;
    width: 0;
    background-color: #085AA9;
    transition: width .5s ease-in-out;
    left: 0%;
    bottom: -130%;
}
.gallery-filter div a:hover::after{
    width: 45%;
}
.gallery-filter div a:hover{
    color: #085AA9;
}
.gallery-image{
    margin-top: 5%;
}
/* GALLERY SUBMENU: END */










.gallery-all-screen-active{
    position: fixed;
    right: 1%;
    left: 6.3%;
    transform: translate3d(0px, 80vh, 0px);
    box-shadow: 1px -5px 40px 9px rgba(0,0,0,0.75);
    border-radius:20px;
    width: 88%;
}









/*main-button (slide-menu)*/
.main-button {
    display: block;
    position: static;
    top:-700px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 65px;
    height: 65px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.main-button:focus {
    outline: none;
}
.main-button span {
    display: block;
    position: absolute;
    top: 30px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: lightskyblue;
}

.main-button span::before,
.main-button span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: lightskyblue;
    content: "";
}

.main-button span::before {
    top: -7px;
}

.main-button span::after {
    bottom: -7px;
}

.cmn-toggle-switch span::after {
    bottom: -27px;
}
.main-button--htx {
    background-color: white;
    border-radius: 35px;
}

.main-button--htx span {
    transition: background 0s 0.3s;
}

.main-button--htx span::before,
.main-button--htx span::after {
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
}

.main-button--htx span::before {
    transition-property: top, transform;
}

.main-button--htx span::after {
    transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.main-button--htx.is-active {
    background-color: transparent;
}

.main-button--htx.is-active span {
    background: none;
}

.main-button--htx.is-active span::before {
    top: 0;
    transform: rotate(45deg);
}

.main-button--htx.is-active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.main-button--htx.is-active span::before,
.main-button--htx.is-active span::after {
    transition-delay: 0s, 0.3s;
}
/*main-button (slide-menu)*/

/*styles for bootstrap buttons*/
.btn-default{
    background-color: transparent !important;
    color: #21252A;
    font-family: TTProstoSansBold;
}
:focus{
    outline: none !important;
}
/*styles for bootstrap buttons*/











/* PREVIEW IMAGE LIST: BEGIN */
.img-cover{
    margin-bottom: 3%;
}
.img-hood img{
    max-width: 100%;
    min-width: 100%;
    min-height: 100%;
}
.img-hood{
    min-height:100%;
    overflow: hidden;
    position: relative;
    height: 325px;
    /*box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);*/
}
.img-hood-view{
    height: 230px;
    min-height:100%;
    max-width: 370px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    border-radius: 3px;
}
.img-view{
    display: block;
    max-width: 100%;
    min-height: 100%;
}
.img-gallery-line{
    margin-top:3%;
    margin-bottom: 3%;
}
.gallery-back{
    font-family: TTProstoSansBold;
    color: #000;
}
.gallery-back small{
    font-family: TTProstoSansRegular;
}
.img-gallery-line .video{
    margin-top: 10px;
    margin-bottom: 10px;
}

.img-hood h4{
    position: absolute;
    top: 4%;
    left: 5%;
    color: #ffffff;
    z-index: 3;
    font-family: TTProstoSansBold;
    text-shadow: 0 0 2px #5c5c5c;
}
.img-hood h1{
    color: #ffffff;
    position: absolute;
    bottom: 1%;
    left: 5%;
    font-size: 500%;
    z-index: 3;
    text-shadow: 0 0 2px #5c5c5c;
}
.img-hood small{
    color: #ffffff;
    position: absolute;
    bottom: 25%;
    left: 100%;
    font-size: 20%;
}

.img-watch-next{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33,37,42,0.7);
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    z-index:1;
    transition: all 0.5s ease-in-out;
}
.img-watch-next a{
    color: #A8A9AA;
    cursor: pointer;
    display: block;
    height: 100%;
}
.img-watch-next p{
    position: absolute;
    right: 5%;
    bottom: 15%;
}
.img-watch-next i{
    position: absolute;
    right: 5%;
    bottom: 10%;
}
.img-watch-next:hover{
    opacity: 1;
}
/* PREVIEW IMAGE LIST: END */






.gallery-text{
    margin-top:5%;
}

.back-arrow{
    margin-right:1%;
}
.gallery-left p{
    text-align: left;
}
.gallery-right p{
    text-align: right;
}
.gallery-slider{
    margin-top:3%;
}
.gallery-slider a{
    color: #A8A9AA;
}
.media-glasses{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -29px;
    margin-top: -25px;
}
.img-watch-pic{
    opacity: 0;
    display: block;
    position: absolute;
    top: 0%;
    width: 100%;
    height: 100%;
    background-color: rgba(33,37,42,0.5);
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
    z-index:1;
    transition: all 0.3s ease-in-out;
}
.img-watch-pic:hover{
    opacity: 1;
}
.bottom-space{
    margin-bottom: 5%;
}


.img-gallery-line div{
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    margin-bottom: 30px;
}



.gallery-view-all-screen{
    background-image: url('/image/news/bg-header.jpg');
    background-color: #ffffff;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    box-shadow: none;
    border-radius: 0;
    transition: all 1s ease-in-out;
    position: relative;
    background-repeat:no-repeat ;
    background-position: center top;

}
.video-space{
    margin-bottom:2%;
}

.my-gallery figure{
    max-height: 200px; !important;
    text-align: center;
    overflow: hidden;
    display: block; !important;
    margin: 15px 0; !important;
}
.my-gallery img {
    width: 100%;
    height: auto;
}







/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    .img-gallery-line div{
        margin-bottom: 15px;
    }
    
    .gallery-image{
        margin-top: 20px;
    }    
    
    
    
}
