/* Xymbiotec */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 2, 101, 151;

    --blue-light-color: 23, 119, 167;
    --blue-dark-color: 2, 54, 80;
    --gray-color: 119, 119, 119;
    --gray-light-color: 248, 248, 248;
    --gray-dark-color: 51, 51, 51;
    --black-color: 0, 0, 0;
    --white-color: 255, 255, 255;

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 900;
    --mobile-menu-height: 7rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-color);
}

body {
    /* Typsnitt */
    font-family: 'poppins', sans-serif;
    
    /* Bakgrundsbild */
    background-image: url('/assets/images/diskuterar-korridor-2000px.jpg');
    background-position: center 30%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* Layout
========================================================================== */
.section-block {
    padding: 12rem 4rem;
}

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

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

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

/* Text och typsnitt
========================================================================== */
/* Rubriker */
.text-label {
    padding-bottom: 2.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    letter-spacing: .35rem;
    text-transform: uppercase;
    color: rgb(var(--gray-dark-color));
}

.section-title {
    font-family: 'bitter', serif;
    padding-bottom: 4rem;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: rgb(var(--gray-dark-color));
}

/* Brodtext och lankar */
p,
li {
    color: rgb(var(--gray-color));
    line-height: 2.2;
    font-weight: 300;
    font-size: var(--base-size);
}

/* Ovriga klasser */
.mw-none .section-block-wrapper,
.mw-none:not(.section-wrapper) {
    max-width: none;
}

.mw-60 .section-block-wrapper,
.mw-60:not(.section-wrapper) {
    max-width: 60rem;
}

.text-block {
    max-width: 70rem;
}

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

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

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

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

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

    .text-label {
        padding-bottom: 1.5rem;
    }
}

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.9rem 3rem;
    margin: 1rem;
    font-size: 1.4rem;
    letter-spacing: .4rem;
    line-height: 1.4rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .4s ease;
    color: rgb(var(--white-color));
}

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

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

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

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

.btn-white-border {
    background-color: transparent;
    border: 2px solid rgb(var(--white-color));
}

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

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

.bg-blue-light-primary-gradient {
    background: radial-gradient(circle, rgba(var(--blue-light-color)) 0%, rgba(var(--primary-color)) 100%);
}

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

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

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

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

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

.split-content {
    width: 50%;
    padding: 8rem 10rem;
    align-self: center;
}

.split-image {
    width: 50%;
}

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

@media only screen and (max-width: 1580px) {
    .split-content {
        padding: 8rem;
    }
}

@media only screen and (max-width: 1360px) {
    .split-content {
        padding: 8rem 5rem;
    }
}

@media screen and (max-width: 1020px) {
    .split-wrapper {
        flex-direction: column-reverse;
    }
    
    .split-content {
        width: 100%;
    }

    .split-image {
        width: 100%;
        max-height: 50rem;
    }
}

@media screen and (max-width: 600px) {
    .split-content {
        padding: 8rem 2rem;
    }
}

/* Header / Navigation
========================================================================== */
/* Full-width meny centrerad */
.desktop-menu nav.mainmenu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Meny header */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.TemplateMenu a {
    font-weight: 500;
    font-size: 1.15rem;
    color: rgb(var(--black-color));
}

nav.mainmenu li.active a {
    color: rgb(var(--primary-color));
}

/* Mobil meny */
.mobile-menu .header-logo img {
    padding: .5rem;
}

.mobile-menu .TemplateMenu a {
    padding: 0 0 1rem 2rem;
    font-size: 1.5rem;
    font-weight: 400;
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 83vh;
    background-color: rgb(var(--black-color), .65);
    border: 1rem solid rgb(var(--white-color));
    border-top: none;
    overflow: hidden;
}

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

.top-section .section-title {
    font-size: 5.5rem;
    font-weight: 300;
    line-height: 1.4;
    padding-bottom: 2.5rem;
}

.top-section p {
    max-width: 60rem;
    margin: 0 auto;
}

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

@media only screen and (max-width: 600px) {
    .top-section {
        min-height: 100vh;
    }
    
    .top-section .section-title {
        font-size: 3.2rem;
    }

    .top-section .btn {
        margin: .5rem;
    }
}

/* Sektion: Om oss
========================================================================== */
.section-about .section-block {
    padding: 15rem 4rem;
}

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

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

/* Sektion: Partner logo
========================================================================== */
.section-slider {
    overflow: hidden;
}

.section-slider .slick-list {
    width: 100%;
}

.section-slider .card-item {
    margin-right: 2rem;
}

.section-slider .card-item img {
    height: 20rem;
}

/* Sektion: Kontakt
========================================================================== */
/* Text kolumn */
.section-contact .col-1 {
    padding: 7.8rem 0 0 7rem;
}

/* Kontaktinformation */
.section-contact .contact-info i {
    padding-right: 1rem;
    font-size: 1.7rem;
}

.section-contact .contact-info a {
    text-decoration: none;
    font-size: 1.7rem;
}

.section-contact .contact-info a:hover {
    text-decoration: underline;
}

/* Formular */
.ContactForm {
    background-color: rgb(var(--white-color));
    padding: 6rem 5rem;
    border-radius: 2px;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

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

.ContactForm p::after {
    display: none;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm textarea {
    border: none;
    border-radius: 5px;
}

.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--gray-light-color));
}

.section-contact .submit-button-container {
    margin: 0;
}

.ContactSubmit {
    margin: 2rem 0 1rem 0;
}

@media only screen and (max-width: 1200px) {
    .ContactForm {
        padding: 4rem 3rem;
        margin-top: -5rem;
    }
}

@media only screen and (max-width: 980px) {
    .section-contact .section-block-wrapper {
        flex-direction: column-reverse;
    }

    .ContactForm {
        margin-top: 5rem;
    }

    .section-contact .col-1 {
        padding: 0;
    }
}

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

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Footer top logo */
.footer-top .footer-logo {
    max-width: 13.5rem;
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 9rem 0 6.5rem 5rem;
    border-bottom: 1px solid rgb(var(--black-color));
}

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

.footer .text-label {
    padding: 0 0 1.4rem;
    line-height: 1;
    font-size: 1.75rem;
    letter-spacing: 0.2rem;
}

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

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 3.5rem;
}

.footer a:hover {
    text-decoration: underline;
    color: rgb(var(--primary-color));
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

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

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

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

@media only screen and (max-width: 1000px) {
    .footer-menu {
        width: 50%;
        margin-bottom: 3rem;
    }

    .footer-submenu {
        margin: 0;
    }
}

@media only screen and (max-width: 650px) {
    .footer-top {
        text-align: center;
        padding: 5rem 0 0;
    }
    
    .footer-menu {
        width: 100%;
        margin-bottom: 3rem;
    }
}

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

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

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