@charset "UTF-8";

/* MONTSERRAT MEDIUM */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/local/assets/fonts/montserrat/web/montserrat-Medium.eot");
    src: local("Montserrat Medium"), local("Montserrat-Medium"),
        url("/local/assets/fonts/montserrat/web/montserrat-Medium?#iefix") format("embedded-opentype"),
        url("/local/assets/fonts/montserrat/web/montserrat-Medium.woff2") format("woff2"),
        url("/local/assets/fonts/montserrat/web/montserrat-Medium.woff") format("woff"),
        url("/local/assets/fonts/montserrat/web/montserrat-Medium.ttf") format("truetype"),
        url("/local/assets/fonts/montserrat/web/montserrat-Medium.svg#Montserrat-Medium") format("svg");
}
/* MONTSERRAT REGULAR */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/local/assets/fonts/montserrat/web/montserrat-Regular.eot");
    src: local("Montserrat Regular"), local("Montserrat-Regular"),
        url("/local/assets/fonts/montserrat/web/montserrat-Regular?#iefix") format("embedded-opentype"),
        url("/local/assets/fonts/montserrat/web/montserrat-Regular.woff2") format("woff2"),
        url("/local/assets/fonts/montserrat/web/montserrat-Regular.woff") format("woff"),
        url("/local/assets/fonts/montserrat/web/montserrat-Regular.ttf") format("truetype"),
        url("/local/assets/fonts/montserrat/web/montserrat-Regular.svg#Montserrat-Regular") format("svg");
}

/* COMMON SETTINGS */
:root {
    --text-color: #222222;
    --text-additional-color: #828282;
    --accent-color: #828282;

    --header-background-color: #F6F6F6;
    --header-text-color: #222222;
    --header-accent-color: #828282;
    --header-logotype-color: #222222;
    --header-credo-color: #222222;

    --footer-accent-color: #828282;
    --footer-background-color: #F6F6F6;
    --footer-text-color: #222222;
    --footer-credo-color: #222222;
    --footer-logotype-color: #222222;
}
html, body {
    width: 100%;
    height: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: var(--text-color);
    font-family: "Montserrat";
    background-color: #ffffff;
    scroll-behavior: smooth;
}

.af-page.af-page__swedbe strong {
    font-weight: 500;
}

@supports (-ms-ime-align:auto) {
    html {
        overflow: hidden;
        height: 100%;
    }

    body {
        overflow: auto;
        height: 100%;
        position: relative;
    }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    html {
        overflow: hidden;
        height: 100%;
    }
    body {
        overflow: auto;
        height: 100%;
    }
}
/* ALL MEDIA */
@media screen and (min-width: 0) {

    /* PAGE */
    .af-page.af-page__swedbe {
        display: block;
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .af-page__swedbe .af-page-section {
        display: block;
        width: 100%;
        height: auto;
    }
    .af-page__swedbe .af-page-wrapper {
        display: flex;
        box-sizing: border-box;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .af-page__swedbe .af-page-title {
        display: block;
        width: 100%;
        height: auto;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 500;
        line-height: 1.3;
        color: var(--text-color);
        margin-top: 0;
    }
    .af-page__swedbe .af-page-description {
        display: block;
        height: auto;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 400;
        line-height: 1.5;
        color: var(--text-color);
        margin-top: 0;
    }

    /* MAIN */
    .af-page__swedbe .af-main {
        position: relative;
        background-color: var(--header-background-color);
    }
    .af-page__swedbe .af-main .af-page-wrapper {
        position: relative;
    }
    .af-page__swedbe .af-main-information {
        display: flex;
        flex-flow: column wrap;
        justify-content: flex-start;
        align-items: flex-start;
        box-sizing: border-box;
    }
    .af-page__swedbe .af-main-time {
        display: block;
        width: auto;
        height: auto;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 1;
        text-align: left;
        letter-spacing: 0.03em;
        font-variant: small-caps;
        color: var(--text-additional-color);
    }
    .af-page__swedbe .af-main-title {
        display: block;
        width: auto;
        height: auto;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 500;
        line-height: 1.3;
        color: var(--text-color);
        margin-top: 0;
    }
    .af-page__swedbe .af-main-address {
        display: block;
        width: auto;
        height: auto;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 400;
        line-height: 1;
        color: var(--text-additional-color);
    }
    .af-page__swedbe .af-main-image {
        display: block;
        height: auto;
    }
    .af-page__swedbe .af-main-image img {
        display: block;
        width: 100%;
        height: 100%;
        -o-object-fit: contain;
           object-fit: contain;
        -o-object-position: center center;
           object-position: center center;
    }

    /* GALLERY */
    .af-page__swedbe .af-gallery .af-page-wrapper {
        display: flex;
        height: auto;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        background: linear-gradient(86.28deg, #F6F6F6 4.56%, #E4E4E4 144.3%);
    }
    .af-page__swedbe .af-gallery-image {
        display: block;
        position: relative;
        z-index: 0;
    }
    .af-page__swedbe .af-gallery-image[data-fancybox]::before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        background-color:  rgba(0, 0, 0, .5);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    .af-page__swedbe .af-gallery-image[data-fancybox]::after {
        content: "";
        display: block;
        width: 40px;
        height: 40px;
        background-size: auto 30px;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url('../img/search.svg');
        position: absolute;
        top: calc(50% - 20px);
        left: calc(50% - 20px);
        z-index: 2;
    }
    .af-page__swedbe .af-gallery-image img {
        display: block;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
        -o-object-position: center;
           object-position: center;
    }
    .af-page__swedbe .af-gallery-more {
        display: block;
        max-width: 100%;
        height: 70px;
        line-height: 70px;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 500;
        font-size: 20px;
        text-align: center;
        color: var(--text-color);
        margin-left: auto;
        margin-right: auto;
        border: 2px solid var(--text-color);
        box-sizing: border-box;
        position: relative;
    }
    .af-page__swedbe .af-gallery-more::after {
        content: "";
        display: block;
        width: 25px;
        background-size: 25px 35px;
        background-repeat: no-repeat;
        background-position: bottom center;
        background-image: url('../img/arrow-right.svg');
        position: absolute;
        top: 100%;
        left: calc(50% - 12.5px);
    }
    .af-page__swedbe .af-gallery .af-page-wrapper.active .af-gallery-more {
        display: none;
    }

    /* FEATURES */
    .af-page__swedbe .af-features-items {
        display: flex;
        width: 100%;
        height: auto;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 0;
        margin: 0 auto 40px;
    }
    .af-page__swedbe .af-features-item {
        display: flex;
        font-family: 'Montserrat';
        font-style: normal;
        font-weight: 400;
        line-height: 1.3;
        color: var(--text-color);
        align-items: center;
        justify-content: flex-start;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    .af-page__swedbe .af-features-items img {
        display: block;
        height: 80px;
        -o-object-fit: contain;
           object-fit: contain;
    }
}

/* MOBILE MEDIA */
@media screen and (max-width: 767px) {

    /* PAGE */
    .af-page__swedbe .af-page-wrapper {
        padding: 40px 20px 20px;
    }
    .af-page__swedbe .af-page-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .af-page__swedbe .af-page-description {
        font-size: 18px;
    }

    /* MAIN */
    .af-page__swedbe .af-main-information {
        width: 100%;
        margin-bottom: 40px;
    }
    .af-page__swedbe .af-main-time {
        font-size: 18px;
        margin-bottom: 40px;
    }
    .af-page__swedbe .af-main-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .af-page__swedbe .af-main-address {
        font-size: 18px;
    }
    .af-page__swedbe .af-main-image {
        width: 100%;
    }

    /* GALLERY */
    .af-page__swedbe .af-gallery-image {
        width: calc(50% - 10px);
        height: 35vw;
    }
    .af-page__swedbe .af-gallery-image:nth-of-type(odd) {
        margin-right: 20px;
    }
    .af-page__swedbe .af-gallery-images:not(.active) .af-gallery-image:nth-of-type(8) ~ .af-gallery-image {
        display: none;
    }
    .af-page__swedbe .af-gallery-more {
        width: 220px;
        margin-top: 20px;
        margin-bottom: 42px;
    }



    /* FEATURES */
    .af-page__swedbe .af-features-items li {
        width: 100%;
        font-size: 14px;
        margin-bottom: 30px;
    }
    .af-page__swedbe .af-features-items img {
        width: 80px;
        -o-object-position: left center;
           object-position: left center;
        margin-right: 20px;
    }
}
/* MOBILE AND VERTICAL PADS MEDIA */
@media screen and (max-width: 999px) {

    /* GALLERY */
    .af-page__swedbe .af-gallery-image {
        margin-bottom: 20px;
    }
    .af-page__swedbe .af-gallery-more::after {
        height: 35px;
    }
}

/* PADS AND PC MEDIA */
@media screen and (min-width: 768px) {

    /* PAGE */
    .af-page__swedbe .af-page-wrapper {
        padding: 80px 40px 40px;
    }
    .af-page__swedbe .af-page-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    .af-page__swedbe .af-page-description {
        font-size: 20px;
        margin-bottom: 40px;
    }

    /* MAIN */
    .af-page__swedbe .af-main-information {
        width: 100%;
        max-width: 800px;
        position: relative;
        z-index: 1;
        margin-bottom: 40px;
    }
    .af-page__swedbe .af-main-time {
        font-size: 24px;
    }
    .af-page__swedbe .af-main-title {
        margin-bottom: 20px;
    }
    .af-page__swedbe .af-main-address {
        font-size: 24px;
    }
    .af-page__swedbe .af-main-image {
        position: absolute;
        width: 40%;
        max-width: 470px;
        position: absolute;
        right: 40px;
        z-index: 0;
    }

    /* GALLERY */
    .af-page__swedbe .af-gallery-more {
        width: 240px;
    }

    /* FEATURES */
    .af-page__swedbe .af-features-items {
        justify-content: space-around;
    }
    .af-page__swedbe .af-features-items li {
        width: 200px;
        flex-wrap: wrap;
        font-size: 16px;
        text-align: center;
        margin-bottom: 40px;
    }
    .af-page__swedbe .af-features-items img {
        width: 100%;
        margin-bottom: 20px;
        -o-object-position: center center;
           object-position: center center;
    }
}

/* VERTICAL PADS MEDIA*/
@media (min-width: 768px) and (max-width: 999px) {
    
    /* MAIN */
    .af-page__swedbe .af-main-time {
        margin-bottom: 40px;
    }
    .af-page__swedbe .af-main-title {
        max-width: 80%;
        font-size: 36px;
    }
    .af-page__swedbe .af-main-image {
        top: 80px;
        height: calc(100% - 100px);
    }

    /* GALLERY */
    .af-page__swedbe .af-gallery-image {
        width: calc(25% - 15px);
        height: 20vw;
    }
    .af-page__swedbe .af-gallery-image:not(:nth-of-type(4n)) {
        margin-right: 20px;
    }
    .af-page__swedbe .af-gallery-more {
        margin-bottom: 75px;
    }
    .af-page__swedbe .af-gallery .af-page-wrapper:not(.active) .af-gallery-image:nth-of-type(16) ~ .af-gallery-image {
        display: none;
    }

}
/* HORIZONTAL PADS AND PC MEDIA */
@media screen and (min-width: 1000px) {

    /* PAGE */
    .af-page__swedbe .af-page-wrapper {
        max-width: 1366px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    /* MAIN */
    .af-page__swedbe .af-main-time {
        margin-bottom: 80px;
    }
    .af-page__swedbe .af-main-title {
        font-size: 44px;    
    }    
    .af-page__swedbe .af-main-image {
        top: 120px;
        height: calc(100% - 140px);
    }

    /* GALLERY */
    .af-page__swedbe .af-gallery .af-page-wrapper {
        padding: 80px;
    }
    .af-page__swedbe .af-gallery-image {
        width: calc(20% - 16px);
        max-width: 280px;
        height: 15vw;
        max-height: 220px;
        margin-bottom: 20px;
    }
    .af-page__swedbe .af-gallery-image:not(:nth-of-type(5n)) {
        margin-right: 20px;
    }
    .af-page__swedbe .af-gallery-more {
        margin-top: 40px;
        cursor: pointer;
    }
    .af-page__swedbe .af-gallery-more::after {
        height: 25px;
        transition: 100ms ease-in;
    }
    .af-page__swedbe .af-gallery-more:hover::after {
        height: 35px;
    }
    .af-page__swedbe .af-gallery .af-page-wrapper:not(.active) .af-gallery-image:nth-of-type(20) ~ .af-gallery-image {
        display: none;
    }
    .af-page__swedbe [data-fancybox]::before {
        transition: 100ms ease-out;
        opacity: 0;
    }
    .af-page__swedbe [data-fancybox]::after {
        transition: 80ms ease-out;
        transform: scale3d(0, 0, 1);
    }
    .af-page__swedbe [data-fancybox]:hover::before {
        opacity: 1;
        transition: 100ms ease-in;
    }
    .af-page__swedbe [data-fancybox]:hover::after {
        transform: scale3d(1, 1, 1);
        transition: 120ms ease-in;
    }

    /*HEADER - FOOTER*/
    header.af-header .af-header-container,
    footer.af-footer .af-footer-container {
        max-width: 1366px;
        padding-left: 40px;
        padding-right: 40px;
    }
}
