/* Incendio AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 11, 38, 116;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 247, 246, 246;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8.5rem;
    --menu-height-scrolled: 7.5rem;
    --section-width: 150rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: var(--white-color);
    --menu-color: var(--black-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;
}

.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: 'Poppins', sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: .4em;
    font-size: 4.2rem; 
    font-weight: 500; 
    line-height: 1.2;
}

.small-title {
    padding-bottom: .4em;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.4;
}

.text-label {
    padding-bottom: .7em;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Brodtext och lankar */
p,
li {
    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-center {
    text-align: center;
}

.text-bold {
    font-weight: 700;
}

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

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

    .small-title {
        font-size: 2.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 2.5rem;
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid;
    transition: all .4s ease;
}

/* Farger */
.btn-white-filled,
.ContactSubmit {
    color: rgb(var(--black-color));
    border-color: rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

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

.ContactSubmit:hover {
    background-color: rgb(var(--primary-color), .5);
}

/* Arrow link */
.arrow-link {
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.btn::after,
.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--primary-color));
    transition: transform .4s ease;
}

.btn-primary-filled::after {
    color: rgb(var(--white-color)); 
}

.btn:hover::after,
.arrow-link:hover::after {
    transform: translateX(5px);
    transition: transform .4s ease;
}

/* Farger
========================================================================== */
/* Bakgrunder */

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

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

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

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

/* Grafiska element
========================================================================== */
/* Object position */
.of-wrapper .op-10-50 {
    object-position: 10% 50%;
}

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

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

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

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

a.card-item {
    text-decoration: none;
}

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

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
}

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
}

.card-2-5 .card-header i {
    font-size: 2rem;
}

.card-2-5 .card-body {
    padding: 0 2rem;
}

.card-2-5 .card-item .small-title {
    font-size: 1.8rem;
    transition: .3s ease;
}
  
.card-2-5 a.card-item:hover .small-title {
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 480px) {
    .card-2-5 .card-header {
        width: 4rem;
        height: 4rem;
    }

    .card-2-5 .card-header i {
        font-size: 1.5rem;
    }

    .card-2-5 .card-item .small-title {
        font-size: 1.5rem;
    }
}

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

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

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

.split-image {
    width: 50%;
}

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

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

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

    .split-image {
        width: 100%;
    }

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

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

/* Logo */
.header-logo {
    flex: 1 1 0;
}

/* Nav */
.TemplateMenu a {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgb(var(--black-color));
}

/* CTA  */
.header-cta-wrapper {
    z-index: 9;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0;
    padding: 0;
    margin: 0; 
    list-style: none;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
} 

/* Mobilmeny */
.mobile-menu .TemplateMenu {
    text-align: center;
}

.mobile-menu .TemplateMenu li {
    padding-left: 0;
}

@media only screen and (max-width: 580px) {
    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    }
}

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

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

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

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

.top-section .section-title {
    font-size: 4.8rem;
    font-weight: 600; 
}

.top-section .circles { 
    font-size: 1.4rem;
    font-weight: 600; 
    text-transform: uppercase;
}

.top-section .circles span:not(:last-of-type)::after {
    content: '\25CF'; 
    padding: 0 5px 0 10px; 
    color: rgb(var(--primary-color));
}

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

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

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

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

/* ==========================================================================
Undersidor
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 40vh;
    background-color: rgb(var(--primary-color));
}

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

.hero .section-title {
    font-size: 5rem;
    color: rgb(var(--white-color));
}

@media only screen and (max-width: 580px) {
    .hero {
        min-height: 30rem;
    }

    .hero .section-title {
        font-size: 4rem;
    }
}

/* ==========================================================================
Undersida: About us 
========================================================================== */
@media only screen and (max-width: 1024px) {
    .section-history .split-wrapper {
        flex-direction: column-reverse;
    }

    .section-history .split-content {
        padding: 3rem 0 0 0;
    }
}

/* ==========================================================================
Undersida: Contact
========================================================================== */
.section-contact .section-block-wrapper {
    background: rgb(var(--gray-light-color));
    padding: 5rem;
}

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

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

/* Formular 
========================================================================== */
.ContactForm p {
    padding-left: 1rem;
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.5rem;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border: 1px solid rgb(var(--gray-dark-color), .5);
}

/* ==========================================================================
Footer 
========================================================================== */
footer {
    padding: 0 5rem; 
    border-top: 1px solid rgb(var(--gray-light-color));
}

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

.footer-menu {
    width: 20%;
}

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

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

.footer-menu-large .section-title {
    max-width: 50rem;
}

.footer-top .btn-wrapper {
    margin-top: 1rem;
}

.footer-top a {
    text-decoration: none;
    transition: .2s ease;
}

.footer a:not(.circle-icon, .arrow-link):hover {
    color: rgb(var(--primary-color));
}

.footer .socials {
    text-align: right;
}

/* 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(--black-color), .5);
}

.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: 1024px) {
    .footer {
        padding: 0 3rem;
    }

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

    .footer-menu {
        width: 48%;
        margin: 0 0 5rem;
    }

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

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