/*
 * GALLERY
 */
.aqc-gallery {
    position:relative;
    width: calc(100% - 4.94vw);
    height: calc(50vh);
    /*box-shadow: 0px 0px 80px rgba(0, 0, 0, 0.22);*/
    /*** border-radius: 0px ***/
}
.aqc-gallery.fullwidth {
    width: calc(100%);
    height: auto;
}

.aqc-gallery-label {
    position: absolute;
    right: -2rem;
    z-index: 5;
    transform: translateY(calc(-50%));
}

@media (max-width: 576px) {
    .aqc-gallery-label {
    }
}

.aqc-gallery-page-overlay {
    display:flex;
    flex-flow: column;
    width: 100%;
    /*height: 100%;*/
    align-items: center;
    z-index: 3;
    transition: transform 0.65s ease-in-out 0.5s;
}

.aqc-page.scale-on-hover:hover .aqc-gallery-page-overlay {
    transition: transform 0.4s ease-in-out;
    transform: scale(1.02);
}

.aqc-gallery-page-label {
    font-size: 60px;
    margin-top:-4.3rem;
    font-size: 100px;
    line-height: 120px;
    z-index: 1;
    font-family: Playfair;
    font-weight: 900;
}
@media (max-width: 1240px) {
    .aqc-gallery-page-label {
        font-size: 40px;
    }
}
@media (max-width: 576px) {
    .aqc-gallery-page-label {
        font-size: 30px;
    }
}



/* curve header*/

.wrap {
    background-image: linear-gradient(0deg, #221F3F 0%, #1A4E3F 100%);
}
.wrap svg {
    display: block;
    margin: 0 auto;
}

.curve {
    stroke-width: 6px;
    stroke-opacity: 0;
}
.curve path {
    transform-origin: center 60px;
}
.curve path:nth-child(1) {
    animation: curve 6s linear 1.2s infinite;
}
.curve path:nth-child(2) {
    animation: curve 6s linear 2.4s infinite;
}
.curve path:nth-child(3) {
    animation: curve 6s linear 3.6s infinite;
}
/*.curve path:nth-child(4) {
    animation: curve 6s linear 4.8s infinite;
}
.curve path:nth-child(5) {
    animation: curve 6s linear 6s infinite;
}
.curve path:nth-child(6) {
    animation: curve 6s linear 7.2s infinite;
}*/

@keyframes curve {
    0% {
        transform: none;
        stroke-opacity: 0;
    }
    50% {
        transform: rotateX(360deg) scaleY(0.8);
        stroke-opacity: 0.4;
    }
    70% {
        /* transform: skewY(-2deg); */
    }
    100% {
        transform: none;
        stroke-opacity: 0;
    }
}

/* curve header*/


.aqc-gallery-page-label-decor {
    position: absolute;
    margin-top:150px;
}

/* ------------------------------------------ */
.aqc-rightarrow-area {
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    z-index: 12;
}
@media (max-width: 576px) {
    .aqc-rightarrow-area {
        right: 0%;
        top: 0%;
        width: 50%;
        height: 100%;
    }
}
.aqc-rightarrow-area:hover {
    /*background: rgba(255, 200, 200, 0.2);*/
}

.aqc-rightarrow-container {
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    z-index: 13;
    pointer-events: none;
}

@media (max-width: 768px) {
    .aqc-rightarrow-container {
        right: 0%;
    }
}

/**
 * Fullscreen area
 */
.aqc-full-overlay-event-area {
    position: absolute;
    right: -100px;
    top: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    pointer-events: none;
}
.aqc-gallery.fullwidth .aqc-full-overlay-event-area {
    position: absolute;
    right: 0px;
    top: 0px;
    width: calc(100%);
    height: calc(100%);
    pointer-events: none;
}


/* -------------- */
.aqc-nextarrow-c {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1000;
    opacity: 0;
    /*background: rgba(45,255,45,0.43);*/
}
@media (hover: hover) and (pointer: fine) {
    .aqc-nextarrow-c {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 1000;
        opacity: 1;
        /*background: rgba(45,255,45,0.43);*/
    }
}
/* -------------- */

.no-pointer-events {
    pointer-events: none;
}



.aqc-nextarrow-background.visible {
    opacity: 0;
}
.aqc-nextarrow-foreground.visible {
    opacity: 0;
}
.aqc-nextarrow-foreground.grow {
    opacity: 0;
}


@media (hover: hover) and (pointer: fine) {

    /**
     is on aqc-nextarrow-area layer
     */
    .aqc-nextarrow-background {
        position: absolute;
        width: 80px;
        height: 80px;
        margin-left: -40px;
        margin-top: -40px;
        background: white;
        border-radius: 50%;
        /*opacity: 0;*/
        transform-origin: center;
        transform: scale(0.0);
        transition: transform 0.4s ease, opacity 0.3s ease-in;
        z-index: 13;
    }

    .aqc-nextarrow-background.visible {
        opacity: 1;
    }

    .aqc-nextarrow-background.grow {
        opacity: 1;
        transform: scale(1);
    }

    /**
     is on aqc-nextarrow-area layer
     */
    .aqc-nextarrow-foreground {
        position: absolute;
        width: 104px;
        height: 104px;
        background: black;
        margin-left: -52px;
        margin-top: -52px;
        border-radius: 50%;
        transition: transform 0.23s ease-out, opacity 0.17s ease-out;
        /*opacity: 0;*/
        transform: scale(0.0);
        transform-origin: center;
        display: flex;
        flex-flow: row;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 13;
    }

    .aqc-nextarrow-foreground.visible {
        transition: opacity 0.24s ease 0.3s;
        transition-property: transform;
        opacity: 1;
    }

    .aqc-nextarrow-foreground.grow {
        opacity: 1;
        transform: scale(1);
    }

    .aqc-nextarrow-foreground > .icon {
        font-family: linearicons;
        font-size: 30px;
        color: white;
    }
}

.aqc-g-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: height 1.44s ease-in-out;
    /*** border-radius: 0px ***/
}

.aqc-gallery.fullwidth .aqc-g-img-wrapper {
    overflow: visible;
}

.aqc-g-img {
    position:absolute;
    /*transition: all 1s ease-in-out;*/
    width: 100%;
    height: fit-content;
    /*height: 100%;*/
}

.slider .aqc-g-img {
    position: relative;
    /*height:660px;*/
    /*max-height:660px;*/
}
@media (max-width: 1240px) {
    .slider .aqc-g-img {
        /*height:540px;*/
        /*max-height:540px;*/
    }
}
@media (max-width: 576px) {
    .slider .aqc-g-img {
/*        height:420px;*/
        /*max-height:420px;*/
    }
}


.aqc-gallery.tall .slider .aqc-g-img {
    position: relative;
    /*height:720px;*/
    /*max-height:720px;*/
}
@media (max-width: 1240px) {
    .aqc-gallery.tall .slider .aqc-g-img {
        /*height:600px;*/
        /*max-height:600px;*/
    }
}
@media (max-width: 576px) {
    .aqc-gallery.tall .slider .aqc-g-img {
        /*height:480px;*/
        /*max-height:480px;*/
    }
}




.aqc-g-img > .img-wrap {
    transition: all 0.6s ease 0.2s;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .aqc-gallery:hover .aqc-g-img.centered > .img-wrap {
        transform: scale(1.05);
    }
}

.aqc-g-img > .img-wrap {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 10;
}

.aqc-g-img > .img-wrap > .overlay {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    transition: all 0.6s ease 0.2s;
    pointer-events: none;
}

.aqc-g-img > .img-wrap > .overlay {
    background: rgba(255, 255, 255, 0.0);
}

/* no overlay */
.slider .aqc-g-img > .img-wrap > .overlay {
    transition: all 0s ease;
    background: none;
}

.aqc-page.scale-on-hover {
    overflow: hidden;
}

.aqc-g-img > .img-wrap > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    transform: scale(1.22);
    transition: all 0.8s cubic-bezier(.05, .69, .14, 1);
}

/**
 hover
 */
@media (hover: hover) and (pointer: fine) {

    .aqc-gallery:hover .aqc-g-img.centered .img-wrap > img {
        transform: scale(1);
    }

    .aqc-gallery:hover .img-wrap > .overlay {
        background: rgba(255, 255, 255, 0.5);
    }
}

.aqc-dots {
    position: absolute;
    left: 50%;
    display:flex;
    flex-flow: row;
    z-index: 12;
    transform: translateX(-50%);
    bottom: 44px;
}

.aqc-dot {
    width:14px;
    height:14px;
    border-radius: 50%;
    opacity: 0.52;
    background: white;
    margin: 0px 14px;
    border: 1px solid transparent;;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 1px;
    transition: opacity 0.5s ease 0s;
}
.aqc-dot.selected {
    background: white;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .aqc-dot:hover {
        transition: all 0.2s ease 0.23s;
        /*border: 1px solid #7f7f7f;*/
        transform: scale(1.04);
    }
}

/**
 * Right side arrow
 */
.aqc-leftside-arrow,
.aqc-rightside-arrow {
    width: 160px;
    height: 120px;
    position: absolute;
    display: flex;
    flex-flow: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.aqc-rightside-arrow {
    top: calc(50% - 60px);
    right: calc(-70px);
}
.aqc-leftside-arrow {
    top: calc(50% - 60px);
    left: calc(-70px);
    transform:scaleX(-1);
}


.aqc-svg-arrow-white-circle {
    position: absolute;
    margin-right: -50%;
    width: 100px;
    height: 100px;/*calc(var(--vh) * 15.4);*/
    border-radius: 100%;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 0px;
    background-color: white;
    z-index: 1;
    transform-origin: center center 0px;
    box-sizing: content-box;
    transition: all 0.3s ease;
    cursor: pointer;
}
@media (max-width: 1240px) {
    .aqc-svg-arrow-white-circle {
        /*margin-right: -30%;*/
    }
}
@media (max-width: 576px) {
    .aqc-svg-arrow-white-circle {
        margin-right: -30%;
        width: 52px;
        height: 52px;
    }
}





.aqc-svg-arrow {
    z-index: 200;
    height:12px;
    position:absolute;
    pointer-events: none;
}


.aqc-svg-arrow svg {
    height:12px;
    width:200px;
    vertical-align: top;
}
@media (max-width: 1240px) {
    .aqc-svg-arrow svg {
        width:200px;
    }
}
@media (max-width: 576px) {
    .aqc-svg-arrow svg {
        width:120px;
    }
}


.aqc-svg-arrow path {
    stroke-linecap: round;
    stroke-width: 2px;
    stroke: black;
    fill: none;
    stroke-dashoffset: -507px;
    transform: translateX(-50px);
    transition: all 0.3s ease;
    transform-origin: right center;
}

/**
 * movements
 */

@media (hover: hover) and (pointer: fine) {

    .aqc-leftside-arrow:hover .aqc-svg-arrow,
    .aqc-rightside-arrow:hover .aqc-svg-arrow {
    }

    .aqc-leftside-arrow:hover .aqc-svg-arrow-white-circle,
    .aqc-rightside-arrow:hover .aqc-svg-arrow-white-circle {
        transform: scale(1.5);
    }

    .aqc-leftside-arrow:hover .aqc-svg-arrow path,
    .aqc-rightside-arrow:hover .aqc-svg-arrow path {
        transform: translateX(0px);
    }

    @media (max-width: 576px) {
        .aqc-leftside-arrow:hover .aqc-svg-arrow path,
        .aqc-rightside-arrow:hover .aqc-svg-arrow path {
            transform: translateX(-15px);
        }
    }

    .aqc-leftside-arrow:hover .aqc-svg-arrow path:nth-child(1),
    .aqc-rightside-arrow:hover .aqc-svg-arrow path:nth-child(1) {
        transform: scaleX(0.3) translateX(0px);
    }

    @media (max-width: 576px) {
        .aqc-leftside-arrow:hover .aqc-svg-arrow path:nth-child(1),
        .aqc-rightside-arrow:hover .aqc-svg-arrow path:nth-child(1) {
            transform: scaleX(0.3) translateX(-50px);
        }
    }
}

.aqc-counter {
    position: absolute;
    right: 0%;
    font-size: 10px;
    text-align: right;
    overflow: hidden;
    padding-left: 1.5em;
    display:flex;
    padding-top: 12px;
}
@media (max-width: 768px) {
    .aqc-counter {
        right: 1.5rem;
    }
}
.aqc-numbers {
    display:flex;
    position:relative;
    overflow: hidden;
    width: 48px;
    justify-content: flex-end;
}

.aqc-numbers > div {
    position: absolute;
}

.aqc-counter span {
    position: relative;
    opacity: 0.5;
    padding-left: 80px;
}

.aqc-counter span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 50px;
    height: 1px;
    background-color: black;
}

.aqc-number {
    position: absolute;
}

.aqc-number.center { transform: translateY(0%); }
.aqc-number.move-to-up { transform: translateY(-100%); }

.aqc-number.bottom { transform: translateY(100%); }
.aqc-number.move-to-center { transform: translateY(0%); }


/**
 Label strip view
 */
.aqc-gallery-label-strip {
    display: flex;
    flex-flow: row;
    width: 100%;
    justify-content: flex-end;
    position: absolute;
    margin-bottom: -150px;
    z-index: 100;
    font-size: 40px;
}

@media (max-width: 576px) {
    .aqc-gallery-label-strip {

    }
}


.aqc-label-strip-view {
    color: #bfbfbf;
    margin-left: 1rem;
    margin-right: 1rem;
    padding:16px;
}
@media (max-width: 1240px) {
    .aqc-label-strip-view {
        font-size: 34px;
        padding:8px;
    }
}
@media (max-width: 576px) {
    .aqc-label-strip-view {
        font-size: 24px;
        padding:8px;
    }
}



.aqc-label-strip-view.selected {
    color: #DE3564;
}

/**
 * EOF gallery
 */




/**
 * history component
 */
.history-content-tpl1 {
    display:flex;
    flex-flow: row;
    height: 100%;
    position: relative;
    width:100%;
}

.history-content-tpl1 .hist-label {

}


.history-content-tpl1 .hist-image-wrapper {
    margin-top: 180px;
    margin-bottom: 80px;
    overflow: hidden;
    width: 50%;
    /*** border-radius: 0px ***/
    transform: translateZ(0)
}
@media (max-width: 1240px) {
    .history-content-tpl1 .hist-image-wrapper {
        margin-top: 120px;
        margin-bottom: 40px;
    }
}
@media (max-width: 576px) {
    .history-content-tpl1 .hist-image-wrapper {
        margin-top: 80px;
        margin-bottom: 40px;
    }
}

.history-content-tpl1 .hist-image {
    flex-grow: 1;
    display:flex;
    flex-flow:row;
    justify-items: center;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
    height: 100%;
    transition: transform 1.4s ease 0.4s;
    background-size: cover;
}

.aqc-g-img.selected .history-content-tpl1 .hist-image {
    transform: scale(1.132);
}


.hist-content {
    display:flex;
    flex-flow: row;
    height: 100%;
    z-index: 10;
    width: 100%;
}

/* children */
.hist-content > div {
    width: 100%;
}

.history-content-tpl1 .hist-body-text {
    margin-top: 180px;
    margin-bottom: 80px;
    flex-grow: 1;
    width: 50%;
    padding: 64px;
    padding-right:134px;
    transition: all 0.3s ease 0.3s;
    transform: translateX(40px);
    transition: transform 1.2s ease 0.4s;
}
@media (max-width: 1240px) {
    .history-content-tpl1 .hist-body-text {
        margin-top: 120px;
        margin-bottom: 40px;
    }
}
@media (max-width: 576px) {
    .history-content-tpl1 .hist-body-text {
        transform: translateX(10px);
        margin-top: 80px;
        margin-bottom: 40px;
        padding: 16px;
        padding-right:44px;
    }
}



.aqc-g-img.selected .history-content-tpl1 .hist-body-text {
    transform: translateX(0px);
}

.hist-background-rect {
    position:absolute;
    left: 40%;
    top: 0%;
    width:55%;
    height:100%;
    background: #f5f5f5;
    z-index: 0;
    transform: translateX(40%);
    transition: transform 2.4s ease 0.2s;
    z-index: -1;
}
.hist-background-rect.magento {
    background: #faeff2;
}

.aqc-g-img.selected .hist-background-rect.magento,
.aqc-g-img.selected .hist-background-rect {
    transform: translateX(0px);
}

.aqc-g-img.prev .hist-background-rect.magento,
.aqc-g-img.prev .hist-background-rect {
    transform: translateX(0px);
}
