/* Besiktningsbolaget Sydost AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 237, 119, 36;

    --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: 7.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: 12rem 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;
}

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

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

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

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

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

.mb-5 {
    margin-bottom: 5rem;
}

/* Ovriga klasser */
.justify-center {
    justify-content: center;
}

@media only screen and (max-width: 1024px) {
    .section-block {
        padding: 10rem 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: 0.2em;
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.2;
}

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

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

.ingress {
    font-size: calc(var(--base-size) * 1.1);
}

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

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

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

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

.text-italic {
    font-style: italic;
}

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

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

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

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

/* 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;
    border-radius: 2rem;
    font-family: inherit;
    transition: all .4s ease;
}

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

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

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

.btn-white-filled:hover {
    color: rgb(var(--white-color));
    background-color: transparent;
}

/* Arrow link */
.arrow-link {
    font-size: var(--base-size);
    padding-right: 1rem;
    text-decoration: none; 
}

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

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

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    margin: .5rem;
    font-size: 0;
    border-radius: 50%;
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    text-decoration: none;
    transition: .3s ease;
}

.circle-icon:hover {
    background-color: rgb(var(--gray-dark-color));
}

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.4rem;
}

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

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

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

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

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

/* 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;
}

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.parallax .section-block { 
    background-color: rgb(var(--black-color), .5)
}
 
.parallax-bil {
    background-image: url('/assets/images/bil-2000px.jpg');
}

@media only screen and (hover:none) {
    .parallax {
        background-attachment: scroll;
        background-position: center center;
    }
}

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

.cards-wrapper:not(.w-100) {
    margin-left: -1rem;
    margin-right: -1rem;
}

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

/* Styling for arrow-link pa card */
.card-item .arrow-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    transition: all .3s ease;
}

.card-item .arrow-link::after {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgb(var(--primary-color));
    color: rgba(var(--white-color));
    transition: all .3s ease;
    border-radius: 50%;
}

.card-item:hover .arrow-link::after {
    transform: none;
    color: rgb(var(--black-color)); 
    background-color: rgb(var(--white-color));
    transition: all .3s ease;
}

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

.cards-wrapper.w-50 .card-item {
    width: calc((100% / 2) - 2rem);
    margin: 1rem;
}

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

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

@media only screen and (max-width: 750px) {
    .cards-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

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

/* Card 2-2 */
.card-2-2 .card-item {
    border-radius: 2rem;
}

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

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

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
    align-items: center;
    border-radius: 2rem;
}

.card-2-4 a.card-item:hover {
    background: rgb(var(--gray-light-color));
}

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

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

.card-2-4 .card-body {
    flex: 1 1 0px;
    padding: 0 2rem;
}

.card-2-4 .text-small {
    font-size: 1.4rem;
}

.card-2-4 a.card-item:hover .text-white {
    color: initial;
}

/* Card 3-2 */
.card-3-2 .image-wrapper {
    display: inline-block;
    max-width: 20rem;
    height: 20rem;
    border-radius: 50%;
}

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

.card-3-2 .contact-item i {
    margin-right: 5px;
}

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
}

.card-3-6 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} 

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 30rem;
    background: rgb(var(--black-color), .35);
    transition: .3s ease; 
}

.card-3-6 .card-item.highlighted .card-body {
    background: rgb(var(--primary-color)); 
}

.card-3-6 .card-item:not(.highlighted):hover .card-body {
    background: rgb(var(--black-color), .5); 
}

/* 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%;
}

/* Split med border-radius och padding */
.split-wrapper.br {
    padding: 2rem;
    border-radius: 2rem;
}

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

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

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

    .split-wrapper:not(.br),
    .split-wrapper.reverse:not(.br) {
        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;
    }

    /* Split med border-radius och padding */
    .split-wrapper.br .split-content {
        padding: 1.5rem 1rem;
    }
}

@media screen and (max-width: 580px) {
    /* Split med border-radius och padding */
    .split-wrapper.br {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .split-wrapper.br .split-content {
        padding: 1.5rem 1rem 3rem;
    }
}

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

header:not(.scrolled) {
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

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

.header-logo a {
    width: 100%; 
    height: calc(calc(var(--menu-height) - 2rem)); 
    background-image: url(/assets/images/logos/besiktningsbolaget-logo-white.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center; 
}

header.scrolled .header-logo a {
    background-image: url(/assets/images/logos/besiktningsbolaget-logo.png);
}

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

header:not(.scrolled, .mobile-menu) .TemplateMenu>li>a:not(:hover) {
    color: rgb(var(--white-color));
}

/* Dropdown */
.TemplateMenu ul {
    width: 28rem;
}

/* 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;
}

.header-cta-wrapper .phone {
    display: none;
}

/* Mobilmeny */
.mobile-menu:not(.scrolled, .active-menu) {
    --menu-color: var(--white-color);
}

.mobile-menu .Padding {
    padding-bottom: 12rem;
}

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

    .header-cta-wrapper .desktop {
        display: none;
    }

    .header-cta-wrapper .phone {
        display: block;
    }
}

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

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

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

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

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

.top-section .btn:hover {
    color: rgb(var(--white-color));
}

/* Bouncing arrow */
.bouncing-arrow-wrapper {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 20rem;
    height: 6.8rem;
    background-image: url(/assets/images/graphics/arrow-bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    transform: translateX(-50%);
}

.bouncing-arrow {
    position: relative;
    bottom: -2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    text-decoration: none;
}

.bouncing-arrow i {
    color: rgb(var(--white-color));
    font-size: 2rem;
    font-weight: 300;
    transform: translatex(-50%);
    animation: bounce 2s infinite;
}

.arrow-animate {
    position: absolute;
    left: 50%;
    bottom: -4rem;
    width: 9rem;
    transform: translateX(-50%);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-3px);
    }
}

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

/* Instagram
========================================================================== */
/* Text */
.section-instagram .section-block {
    padding-top: 8rem;
    padding-bottom: 5rem; 
}

.section-instagram a {
    text-decoration: none;
} 

/* Flode */ 
.section-instagram-feed {
    padding: 0 2rem;
    background: linear-gradient(180deg, rgba(var(--primary-color), 1) 0%, rgba(var(--white-color) ,0) 100%);
} 

#eapps-instagram-feed-1 .eapps-instagram-feed-posts-item {
    border-radius: 1rem; 
    overflow: hidden; 
}

/* CTA-sektion
========================================================================== */
.section-cta .section-block {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cta-wrapper .text-block {
    max-width: 75rem;
}

.cta-wrapper .btn-wrapper {
    margin-top: 0;
}

@media only screen and (max-width: 1000px) {
    .cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-wrapper .btn-wrapper {
        margin-top: 2rem;
    }
} 

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 50vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .5);
    overflow: visible;
}

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

.hero .section-title {
    font-size: 6rem;
    font-weight: 600;
}

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

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

/* ==========================================================================
Undersida: Om oss
========================================================================== */

/* Highlights / Nyckeltal
========================================================================== */
.section-highlights .cards-wrapper {
    margin: 0;
    border: 1px solid rgb(var(--gray-light-color));
}

.section-highlights .card-item {
    width: calc((100% / 3));
    padding: 1rem 2rem;
    text-align: center;
}

.section-highlights .card-item:not(:last-of-type) {
    border-right: 1px solid rgb(var(--gray-light-color));
}

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

.section-highlights .text-label {
    font-size: 1.5rem;
}

@media only screen and (max-width: 750px) {
    .section-highlights .card-item,
    .section-highlights .card-item:not(:last-of-type) {
        width: 100%;
        border: 1px solid rgb(var(--gray-light-color));
    }

    .section-highlights .small-title {
        font-size: 3rem;
    }
    
    .section-highlights .text-label {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
Undersida: Vara tjanster > Overlatelsebesiktning
========================================================================== */
.section-badge .section-block {
    padding-top: 0;
    padding-bottom: 0;
}

.badge-wrapper {
    position: relative;
} 

body:not(.EditMode) .badge-item {
    z-index: 1;
    position: relative;
    display: block;
    width: 26rem;
    padding: 1rem;
    margin: -8rem 0 0 auto;
    text-align: center;
    border-radius: 2rem; 
    border: 1px solid rgb(var(--gray-light-color));
    background: rgb(var(--white-color));
}

.badge-item img { 
    max-width: 15rem;
} 

.badge-item p {
    padding-top: 1.5rem;
    font-size: 1.4rem;
}

@media only screen and (max-width: 580px) {
    body:not(.EditMode) .badge-item {
        width: 21rem;
        padding: 5px;
        margin: -4rem 0 0 auto;
    }

    .badge-item img {
        max-width: 11rem;
    }

    .badge-item p {
        padding-top: 1rem;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .section-block-wrapper {
    justify-content: space-between;
}

.section-contact .col-2 {
    width: 50rem;
    max-width: 50%;
    padding: 3rem;
    border-radius: 2rem;
    background: rgb(var(--gray-light-color));
}

@media only screen and (max-width: 980px) {
    .section-contact .col-2 {
        width: 100%;
        max-width: 100%;
        padding: 3rem; 
        margin-top: 3rem;
    }
}

/* Kontaktformular */
.ContactForm .submit-button-container {
    margin: 0;
}

/* ==========================================================================
Undersida: Uppdragsbekraftelse
========================================================================== */
.section-ub .col-0{
    max-width: 80rem;
    margin: auto;
    padding: 3rem;
    border-radius: 2rem;
    background: rgb(var(--gray-light-color));
}
.section-ub .textarea-field{
    display: none;
}
/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
}

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

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

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

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

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

.footer-top p:not(.text-label),
.footer-top a {
    font-size: 1.5rem;
    text-decoration: none; 
}

.footer-top a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none;
    transition: .3s ease; 
}

.footer .logo .logo-wrapper {
    padding: 1rem;
    margin-bottom: 5px;
    text-align: center;
    border-radius: 2rem;
    border: 1px solid rgb(var(--gray-light-color));
}

.footer .logo a.logo-wrapper:hover {
    background-color: rgb(var(--gray-light-color));
}

.footer .logo .logo-wrapper p {
    padding-top: 1rem;
    font-size: 1.4rem;
}

.footer .logo .mw-15 {
    max-width: 15rem;
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--black-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* 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.3rem;
    line-height: 1.6;
    color: rgb(var(--gray-dark-color));
}

/* 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;
    }

    /* 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;
    }

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

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