/* Default Styles */

* {
    box-sizing: border-box;
    outline: none;
}

img,
iframe {
    max-width: 100%;
    height: auto;
}

/* Gallery Styles */

.advanced-gallery-wrapper {
    padding: 60px 0;
    position: relative;
    width: 100%;
}

.advanced-gallery-inner {
    position: relative;
}

.advanced-gallery-wrapper .advanced-gallery-slider {
    margin-bottom: 0;
}

.advanced-gallery-item-media {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
}

.advanced-gallery-item-video,
.advanced-gallery-item-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    object-fit: cover;
}

.advanced-gallery-item-image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.advanced-gallery-item-inner-wrapper {
    padding: 10px;
}

.advanced-gallery-item-media:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 1;
}


/* overlay */

.advanced-gallery-wrapper.with-overlay .advanced-gallery-item-media:hover:before {
    background: rgba(153, 153, 151, 0.6);
}

.gallery-open .advanced-gallery-wrapper .advanced-gallery-item-video {
    position: relative;
}

.advanced-gallery-wrapper .slick-arrow {
    position: absolute;
    padding: 0px 38.5px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -5px;
    left: 0;
    z-index: 99;
    cursor: pointer;
    width: 100px;
    height: 100px !important;
    line-height: 100px;
}

.advanced-gallery-wrapper .prevArrow svg *,
.advanced-gallery-wrapper .nextArrow svg * {
    display: none;
}

.gallery-loaded .advanced-gallery-wrapper .slick-arrow svg * {
    display: block;
}

.advanced-gallery-wrapper .slick-arrow.slick-disabled {
    opacity: 0;
    pointer-events: none;
}

.advanced-gallery-wrapper .slick-arrow svg {
    -webkit-filter: drop-shadow(0px 1px 0.15px #b2b2b2);
    filter: drop-shadow(0px 1px 0.15px #b2b2b2);
    vertical-align: middle;
    margin: 0 auto;
}

.advanced-gallery-wrapper .slick-arrow svg path {
    fill: #ffffff;
}

.advanced-gallery-wrapper .nextArrow {
    right: 0;
    left: auto;
}

.advanced-gallery-item-image-open,
.gallery-open .advanced-gallery-item-image,
.advanced-gallery-wrapper .close-fullscreen-icon,
.advanced-gallery-wrapper .fullscreen-icon {
    display: none !important;
}

.gallery-open .advanced-gallery-item-image-open {
    display: block !important;
}


/* popup style */

.gallery-open .advanced-gallery-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    padding: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.gallery-open .advanced-gallery-item-inner-wrapper {
    padding: 0;
}

.gallery-open .advanced-gallery-inner {
    width: 100%;
}

.gallery-open .advanced-gallery-wrapper * {
    height: 100%;
}

.gallery-open .advanced-gallery-wrapper .close-fullscreen-icon,
.gallery-open .advanced-gallery-wrapper .fullscreen-icon {
    display: block !important;
}

button.fullscreen-icon {
    background-color: #ffffff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    outline: none;
    background: rgba(255, 255, 255, 1);
    margin-left: 35px;
    font-size: 26px;
    margin-top: -4px;
    margin-right: 45px;
    z-index: 100;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    width: 38px;
    height: 44px !important;
    line-height: 44px;
    text-align: center;
    top: 30px;
    transition: opacity 0.8s ease;
    display: inline;
    border: none;
    position: fixed;
    left: 0;
    color: rgb(0, 0, 0);
}

button.close-fullscreen-icon {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    color: rgb(0, 0, 0);
    background: rgba(255, 255, 255, 1);
    font-size: 26px;
    z-index: 100;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    width: 38px;
    height: 44px !important;
    line-height: 44px;
    text-align: center;
    top: 30px;
    transition: opacity 0.8s ease;
    outline: none;
    padding: 0;
    right: 0;
    position: fixed;
    margin-right: 30px;
    border: none;
}

.fullscreen-icon svg,
.close-fullscreen-icon svg {
    width: 30px;
}

.gallery-open .advanced-gallery-item-media:before {
    content: none;
}

.gallery-open .advanced-gallery-item-media {
    cursor: default;
    text-align: center;
    padding-bottom: 0px;
}

.gallery-open .advanced-gallery-item-media img {
    margin: 0 auto;
    width: auto;
    object-fit: cover;
    object-position: center center;
}

.gallery-open .advanced-gallery-wrapper .slick-arrow svg:first-child,
.advanced-gallery-wrapper .slick-arrow svg:last-child {
    display: none !important;
}

.gallery-open .advanced-gallery-wrapper .slick-arrow svg:last-child {
    display: block !important;
}

.gallery-open .advanced-gallery-wrapper .slick-arrow svg path {
    fill: rgb(0, 0, 0);
}

.gallery-open .advanced-gallery-wrapper .slick-arrow {
    position: fixed;
    padding: 30px;
    line-height: inherit;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.gallery-open.fullscreen-open .advanced-gallery-wrapper {
    padding: 0px;
}

.gallery-open.fullscreen-open .fullscreen-icon,
.gallery-open.fullscreen-open .close-fullscreen-icon {
    width: 80px;
    height: 80px !important;
    background: white;
}

.gallery-open.fullscreen-open .advanced-gallery-wrapper .slick-arrow {
    background: #fff;
}


/* dots styles */

.advanced-gallery-slider ul.slick-dots {
    position: relative;
    bottom: 0;
    margin-top: 20px;
    list-style: none;
    display: flex;
    padding: 0;
    justify-content: center;
}

.advanced-gallery-slider ul.slick-dots li button {
    display: none;
}

.advanced-gallery-slider ul.slick-dots li {
    background-color: #f1f1f1;
    border-radius: 50%;
    width: 15px;
    height: 15px;
}

.advanced-gallery-slider ul.slick-dots li.slick-active {
    background-color: rgba(153, 153, 151, 0.6);
}


/* start center mode with left */


/* @media (min-width: 768px) {
    body:not(.gallery-open)
    .advanced-gallery-inner
    > .prevArrow.slick-disabled
    ~ .advanced-gallery-slider
    > .slick-list {
      padding-left: 0 !important;
      padding-right: 48.8% !important;
      margin-left: -10px;
    }
    body:not(.gallery-open)
    .advanced-gallery-inner
    > .nextArrow.slick-disabled
    ~ .advanced-gallery-slider
    > .slick-list {
      padding-right: 0 !important;
      padding-left: 48.8% !important;
      margin-right: -10px;
    }
  } */

@media (max-width: 1800px) {
    .gallery-open .advanced-gallery-item.media-type-image .advanced-gallery-item-media {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 100%;
    }
    .gallery-open .advanced-gallery-item-media img {
        margin: 0 auto;
        width: 100%;
        height: auto;
    }
    .gallery-open .advanced-gallery-wrapper .slick-arrow {
        margin-top: -8px;
    }
}

@media (max-width: 991px) {
    .advanced-gallery-item-media {
        padding-bottom: 68%;
    }
}

@media (max-width: 767px) {
    .advanced-gallery-wrapper {
        padding: 0 20px;
    }
    .advanced-gallery-item-inner-wrapper {
        padding: 0;
    }
    .advanced-gallery-item-media {
        padding-bottom: 68%;
    }
    .gallery-open .advanced-gallery-wrapper {
        padding: 20px;
    }
    .gallery-open .advanced-gallery-wrapper .slick-arrow {
        padding: 10px;
        width: 60px;
        height: 60px !important;
    }
    .gallery-open.fullscreen-open .advanced-gallery-wrapper .slick-arrow {
        width: 40px;
        height: 40px !important;
        padding: 5px;
    }
    .gallery-open.fullscreen-open .fullscreen-icon,
    .gallery-open.fullscreen-open .close-fullscreen-icon {
        width: 40px;
        height: 40px !important;
    }
    .gallery-open .advanced-gallery-wrapper .slick-arrow {
        width: 80px;
    }
    .gallery-open .advanced-gallery-wrapper .slick-arrow svg path {
        fill: #ffffff;
    }
    button.close-fullscreen-icon {
        top: 5px;
        right: 5px;
        margin-right: 0;
        font-size: 14px;
    }
    button.fullscreen-icon {
        top: 5px;
        left: 5px;
        margin-left: 0;
        font-size: 20px;
    }
}


/* With Content Styles */

.advanced-gallery-item-content {
    display: none;
}

.gallery-open .advanced-gallery-item-content {
    display: block;
    width: 30%;
    float: left;
    padding-left: 42px;
}

.gallery-open .advanced-gallery-wrapper.with-content .advanced-gallery-item-media {
    width: 70%;
    float: left;
    padding-right: 48px;
}

.advanced-gallery-item-content * {
    height: auto !important;
}

.advanced-gallery-item-content-title,
.advanced-gallery-item-content-desc {
    margin-bottom: 18px;
    font-family: helvetica-w01-bold, sans-serif;
    font-size: 40px;
    line-height: 1.4;
    color: #000000;
}

@media (min-width: 768px) {
    .gallery-open .advanced-gallery-wrapper.with-content .slick-arrow {
        right: 30%;
    }
    .advanced-gallery-inner.button-right .nextArrow.slick-arrow {
        right: 0;
    }
    .advanced-gallery-inner.button-right .advanced-gallery-item.media-type-video .advanced-gallery-item-media {
        width: 100%;
        padding-right: 0;
    }
}

@media (min-width: 1601px) and (max-height: 640px) {
    .advanced-gallery-item-content-title,
    .advanced-gallery-item-content-desc {
        font-size: 6.25vh;
    }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .advanced-gallery-item-content-title,
    .advanced-gallery-item-content-desc {
        font-size: 30px;
    }
}

@media (min-width: 1200px) and (max-height: 640px) {
    .advanced-gallery-item-content-title,
    .advanced-gallery-item-content-desc {
        font-size: 3.5vh;
    }
}

@media (min-width: 768px) and (max-width: 1600px) {
    .advanced-gallery-item-content-title,
    .advanced-gallery-item-content-desc {
        font-size: 26px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .gallery-open .advanced-gallery-wrapper.with-content .advanced-gallery-item-media {
        padding-right: 50px;
        width: 60%;
    }
    .gallery-open .advanced-gallery-item-content {
        width: 40%;
        padding-left: 30px;
    }
    .advanced-gallery-item-content-title,
    .advanced-gallery-item-content-desc {
        font-size: 20px;
    }
    .gallery-open .advanced-gallery-wrapper.with-content .slick-arrow {
        right: 40%;
        width: 60px;
        padding: 20px;
    }
    .gallery-open .advanced-gallery-wrapper.with-content .prevArrow {
        left: 4%;
    }
}

@media (min-width: 768px) and (max-height: 640px) {
    .advanced-gallery-item-content-title,
    .advanced-gallery-item-content-desc {
        font-size: 3.8vh;
    }
    .advanced-gallery-item-content.without-subtitle .advanced-gallery-item-content-title {
        font-size: 40px;
    }
}

@media (max-width: 1800px) {
    .gallery-open .advanced-gallery-item-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media (max-width: 1500px) and (min-width: 768px) {
    .advanced-gallery-item-content.without-subtitle .advanced-gallery-item-content-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .gallery-open .advanced-gallery-wrapper.with-content.top_space {
        display: block;
    }
    .gallery-open .advanced-gallery-wrapper.with-content * {
        height: auto;
    }
    .gallery-open .advanced-gallery-wrapper.with-content .advanced-gallery-item-media {
        width: 100%;
        padding-right: 0;
        height: auto;
        padding-top: 0px;
        float: none;
    }
    .gallery-open .advanced-gallery-item-content {
        width: 100%;
        padding-left: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        height: auto;
        float: none;
    }
    .advanced-gallery-item-content-title,
    .advanced-gallery-item-content-desc {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .gallery-open.fullscreen-open .advanced-gallery-item-inner-wrapper.with-content .advanced-gallery-item-content {
        padding: 10px;
    }
    .advanced-gallery-item-content {
        text-align: center;
    }
    .advanced-gallery-slider ul.slick-dots li {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .advanced-gallery-item-content-title,
    .advanced-gallery-item-content-desc {
        font-size: 12px;
        margin-bottom: 5px;
    }
}

.gallery-open.fullscreen-open .advanced-gallery-item-content {
    display: none;
}

.gallery-open.fullscreen-open .advanced-gallery-wrapper.with-content .advanced-gallery-item-media {
    width: 100%;
    padding-right: 0;
}

.gallery-open.fullscreen-open .advanced-gallery-wrapper.with-content .slick-arrow {
    right: 0;
}

.slick-center {
    transform: scale(1.1);
    position: relative;
    z-index: 99;
    transition: transform 0.5s;
}