body {
    background: url('gradient.jpg');
    background-repeat: no-repeat;
}
.vava_logo{
    display: block;
    width: 250px;
    height:auto;
    margin: 0px auto;
}
.gallery_wrap{
    width: 1024px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin:0 auto;
    justify-content: center;
}
.gallery-item{
    position: relative;
    width: 510px;
    height: 320px;
    margin-bottom: 20px;
}
.gallery{
    position: absolute;
    cursor: pointer;
}
.gallery.laptop{
    top: 0px;
    z-index: 2;
}
.gallery.mobile{
    top: 7px;
    z-index: 2;
    left: 355px;
}
.card_wrap{
    width: 1024px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin:0 auto 20px auto;
    justify-content: center;
}
.card-item{
    width: 280px;
    margin-bottom: 20px;
}
.gallery.card{
    width: 250px;
}
   @media  (max-width: 428px) {
       .vava_logo {
          width: 100%;
          height: 290px;
       }
        .gallery_wrap {
            width: 100%;
            height: auto;
            display: block;
        }
        .gallery-item {
            width: 90%;
            height: 380px;
        }
         .gallery.mobile {
            left: 245px;
            width: 110px;
            top: 12px;
          }
       .gallery.laptop {
          top: 0px;
          z-index: 2;
          width: 110%;
        }
       .card_wrap {
            width: 70%;
           justify-content: center;
       }
       .card-item{
            width: 100%;
            margin-bottom: 20px;
            height: 370px;
        }
    }

/*обертка для всех элементов галереи*/
.gallery-image-wrapper {
    position: absolute;
    top: 0;
    /* decor */
    text-align: center;
    font: italic 14px/1.3 arial, sans-serif;
    color: #333;
    background: #fff;
    /*box-shadow: 3px 3px 3px rgba(0,0,0,.3);*/
    z-index: 1001;
}

/*закрывающая кнопка*/
.gallery-close_btn, .gallery-reduce {
    width: 39px;
    height: 39px;
    position: absolute;
    right: 20px;
    display: none;
    top: 20px;
    background: url('close_btn.png') no-repeat center bottom;
    cursor: pointer;
    z-index: 2000;
}

.gallery-close_btn:hover, 
.gallery-reduce:hover {
    background-position: center top;
}

/*стрелка влево у модального окна*/
.gallery-left-arrow {
    width: 30px;
    height: 73px;
    position: absolute;
    left: 30px;
    margin-top: -34px;
    top: 50%;
    background: url('arrows.png') no-repeat 0 0;
    cursor: pointer;
    z-index: 500
}

/*стрелка вправо у модального окна*/
.gallery-right-arrow {
    width: 30px;
    height: 73px;
    position: absolute;
    right: 30px;
    margin-top: -34px;
    top: 50%;
    background: url('arrows.png') no-repeat 0 -140px;
    cursor: pointer;
    z-index: 500
}

/*стрелка влево у модального окна*/
#gallery-left-btn:hover .gallery-left-arrow {
    background-position: 0 -72px;
}

/*стрелка вправо у модального окна*/
#gallery-right-btn:hover .gallery-right-arrow {
    background-position: 0 -212px;
}

#gallery-right-btn {
    width: 50%;
    position: fixed;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 1500;
}
#gallery-left-btn {
    width: 50%;
    position: fixed;
    left: 0;
    top: 0;
    cursor: pointer;
    z-index: 1500;
}

.gallery-modal {
    background:black;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0.7;
    filter: "alpha(opacity=30)"
}

.gallery-expand {
    width: 54px;
    height: 54px;
    position: absolute;
    display: none;
    right: 20px;
    background: url('fullexpand.png');
    cursor: pointer;
    bottom : 20px;
    z-index: 2000;
}

.gallery-loader {
    position: fixed;
    left: 50%;
    top: 50%;
    border: 0 solid black;
    background: white;
    z-index: 10001;
}

.gallery-image-loader {
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 10002;
}

.gallery-main-div {
    position: fixed;
    text-align: center;
    font: italic 14px/1.3 arial, sans-serif;
    color: #333;
    background: transparent;
    z-index: 10000;
}

.gallery-text-container {
    position: relative;
    margin: 0;
    padding: 0;
    background: white;
}

.gallery-div-image {
    position: relative;
    margin: 0;
    padding: 0;
}

.gallery-image-container {
    position: fixed;
    margin: 0;
    padding: 0;
    z-index: 1600;
    box-shadow: 3px 3px 3px rgba(0,0,0,.3);
}

.gallery-outreach {
    width : 300px;
    height : 600px;
    background: #FFFBF6;
    position: absolute;
    z-index: 6000;
    color : #9c9c9c;
}
