/* Courtier AB */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* Typsnitt */
@font-face {
    font-family: "HelveticaNeueMedium";
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/HelveticaNeueMedium.otf");
}

@font-face {
    font-family: "HelveticaNeueRoman";
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/HelveticaNeueRoman.otf");
}

@font-face {
    font-family: "HelveticaNeueBold";
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/HelveticaNeueBold.otf");
}

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 7, 63, 50;
    --primary-light-color: 91, 124, 113;

    --accent-burgundy-color: 114, 34, 45;
    --accent-yellow-color: 248, 177, 51;
    --accent-blue-color: 157, 196, 198;
    --accent-greige-color: 236, 230, 224;
    --accent-sand-color: 202, 186, 159;

    --black-color: 29, 29, 27;
    --gray-dark-color: 62, 62, 63;
    --gray-color: 202, 186, 159;
    --gray-light-color: 236, 230, 224;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 130rem;

    /* 	Typography */
    --base-size: 1.7rem;

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 8rem;
    --mobile-menu-bg: var(--primary-color);
    --menu-color: var(--white-color);
}

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

/* Layout
========================================================================== */
.section-block {
    padding: 10rem 5rem;
}

/* Paddings */
.p-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 2rem;
}

.pt-2 .section-block,
.pt-2:not(.section-wrapper) {
    padding-top: 2rem;
}

.pl-0 .section-block,
.pl-0:not(.section-wrapper) {
    padding-left: 0;
}

.pr-0 .section-block,
.pr-0:not(.section-wrapper) {
    padding-right: 0;
}

.pb-0 .section-block,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

/* Margins */
.mb-3 {
    margin-bottom: 3rem;
}

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 8rem 3rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-block {
        padding: 5rem 2rem;
    }
}

/* Text och typsnitt
========================================================================== */
body {
    font-family: 'HelveticaNeueRoman', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 400;
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'HelveticaNeueMedium', sans-serif;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'HelveticaNeueRoman', sans-serif;
}

/* Brodtext och lankar */
p,
li {
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
}

/* Ovriga klasser */
.text-block {
    max-width: 70rem;
}

.text-block-center {
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.text-bold {
    font-family: 'HelveticaNeueBold', sans-serif;
}

.text-center {
    text-align: center;
}

@media only screen and (max-width: 1200px) {
    .section-title {
        font-size: 3.8rem;
    }

    .small-title {
        font-size: 2.2rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-title {
        font-size: 2.5rem;
    }

    .small-title {
        font-size: 2rem;
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    margin-top: 2rem;
}

.btn-wrapper.center {
    text-align: center;
}

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.4rem;
    border-radius: 2px;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

.btn-primary-filled,
.ContactSubmit {
    color: rgb(var(--white-color));
    border: 2px solid rgb(var(--primary-color));
    background-color: rgb(var(--primary-color));
}

.btn-primary-filled:hover,
.ContactSubmit:hover {
    color: rgb(var(--primary-color));
    border: 2px solid rgb(var(--primary-color));
    background-color: transparent;
}

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    color: rgb(var(--primary-color));
}

.arrow-link::after {
    content: ' \f105';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    transition: transform .4s ease;
}

.arrow-link:hover::after {
    transform: translateX(1rem);
    transition: transform .4s ease;
}

/* Farger
========================================================================== */
/* Bakgrunder */
.bg-primary {
    background-color: rgb(var(--primary-color));
}

.bg-sand {
    background-color: rgb(var(--accent-sand-color));
}

.bg-greige {
    background-color: rgb(var(--accent-greige-color));
}

/* Text */
.text-primary {
    color: rgb(var(--primary-color));
}

.text-black {
    color: rgb(var(--black-color));
}

.text-white {
    color: rgb(var(--white-color));
}

/* Grafiska elementen
========================================================================== */
/* Borders */
.border-1-greige {
    border: 1rem solid rgb(var(--accent-greige-color))
}

/* Filter */
.grayscale {
    filter: grayscale(1);
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    position: relative;
    overflow: hidden;
}

.bg-image-wrapper,
.bg-video-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video */
.bg-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cards
========================================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.card-item {
    text-decoration: none;
    transition: all .3s ease;
}

/* Specifika bredder */
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3) - 2rem);
    margin: 1rem;
}

.cards-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

@media only screen and (max-width: 1050px) {
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-33 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Card 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.card-3-4 .image-wrapper {
    width: 9rem;
    height: 11rem;
}

.card-3-4 .image-wrapper img {
    object-position: 50% 0;
}

.card-3-4 .card-body {
    width: calc(100% - 9rem);
    padding-left: 2rem;
}

@media only screen and (max-width: 420px) {
    .card-3-4 .image-wrapper {
        width: 7rem;
        height: 9rem;
    }
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 5rem;
}

.split-image,
.split-text {
    position: relative;
    width: 50%;
    border-radius: 2px;
}

/* Centrera content */
.split-wrapper .align-center {
    align-self: center;
}

/* Text i split-text */
.split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    text-align: center;
}

.split-text p {
    font-size: 3.5rem;
}

/* Text i split-image */
.split-image p {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    font-size: 4rem;
    text-align: center;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 1300px) {
    .split-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media screen and (max-width: 1000px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
        background: transparent;
    }

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 3rem;
        background: transparent;
    }

    .split-image,
    .split-text {
        width: 100%;
    }

    /* Centrera content */
    .split-wrapper .align-center {
        align-self: flex-start;
    }

    /* Text i split-image */
    .split-text {
        min-height: 35rem;
    }

    .split-text p {
        position: static;
        transform: none;
    }
}

@media screen and (max-width: 680px) {
    /* Text i split-image */
    .split-text {
        min-height: 20rem;
    }

    .split-text p,
    .split-image p {
        font-size: 2rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    position: relative;
    background-color: transparent;
}

header:not(.scrolled) {
    background-color: transparent;
}

/* Logo */
.header-logo {
    margin: 0 auto 0 0;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.6rem;
    color: rgb(var(--white-color));
}

.TemplateMenu li.active>a,
.TemplateMenu a:hover {
    color: rgb(var(--gray-color));
}

/* ==========================================================================
Startsida
========================================================================== */

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .35);
}

.top-section .section-block {
    width: 100%;
}

.top-section .text-block-center {
    max-width: 80rem;
}

.top-section .small-title {
    padding-bottom: .6em;
    font-size: 2.3rem;
    text-transform: uppercase;
}

.top-section .section-title {
    font-size: 6.5rem;
}

@media only screen and (max-width: 1200px) {
    .top-section .small-title {
        font-size: 2.1rem;
    }

    .top-section .section-title {
        font-size: 5rem;
    }
}

@media only screen and (max-width: 680px) {
    .top-section .small-title {
        font-size: 1.8rem;
    }

    .top-section .section-title {
        font-size: 3.5rem;
    }
}

/* Om oss
========================================================================== */
.split-text .logo {
    max-width: 17rem;
    margin-bottom: 5rem;
}

@media only screen and (max-width: 680px) {
    .split-text .logo {
        max-width: 10rem;
        margin-bottom: 3rem;
    }
}

/* Kontakt
========================================================================== */
@media only screen and (max-width: 1270px) {
    .section-contact .small-title.mb-3 {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 980px) {
    .section-contact .col-1 {
        margin-bottom: 3rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background-color: rgb(var(--accent-sand-color));
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 0;
}

.footer-menu {
    width: 20%;
    margin: 0 0 3rem;
}

.footer-menu-large {
    width: 30%;
}

.footer .text-label {
    padding: 0 0 1rem;
    font-size: var(--base-size);
    font-weight: 600;
    line-height: 1;
    color: rgb(var(--black-color));
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
}

.footer a:not(.icon-links):hover {
    text-decoration: none;
    color: rgb(var(--primary-color));
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgb(var(--gray-dark-color));
}

.footer-bottom p,
.footer-bottom a {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgb(var(--gray-dark-color));
}

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    opacity: .6;
}

@media only screen and (max-width: 1200px) {
    .footer {
        padding: 0 3rem;
    }

    /* Footer top */
    .footer-menu {
        width: 33.333%;
    }

    .footer-menu-large {
        width: 100%;
    }

    .footer-menu-large p {
        max-width: 55rem;
    }
}

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }
}

@media only screen and (max-width: 580px) {
    .footer {
        padding: 0 2rem;
    }

    /* Footer top */
    .footer-top {
        padding: 5rem 0 0;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
    }

    .webbess-stamp {
        margin: 0 auto 2rem;
    }
}