/* F & F service Handelsbolag  */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 82, 113, 255;
    --primary-dark-color: 18, 43, 109;

    --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: 6.5rem;
    --menu-height-scrolled: 6.5rem;
    --section-width: 130rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --mobile-menu-height: 6.5rem;
    --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: 8rem 5rem;
}

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

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

.pb-2 .section-block,
.pb-2:not(.section-wrapper) {
    padding-bottom: 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;
}

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

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

@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: 'Montserrat', sans-serif;
}

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

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

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

    .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: 7px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid;
    border-radius: 1.5rem;
    transition: all .4s ease;
}

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

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

/* Dropdown-knapp */
.dropdown-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.dropdown-wrapper.opened {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.dropdown {
  display: none;
  z-index: 1;
  position: absolute;
  top: 100%;
  left: -1px;
  width: calc(100% + 2px);
  max-height: 50vh;
  background: rgb(var(--primary-color));
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  overflow: auto;
}

.dropdown-wrapper.opened .dropdown {
  display: block;
}

.dropdown-wrapper i {
    vertical-align: text-top;
}

.dropdown a {
  padding: 10px 5px;
  text-decoration: none;
  transition: .3s ease;
  text-transform: none;
  width: 100%;
}

.dropdown a:hover {
  background: rgb(var(--primary-dark-color));
}

/* 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-primary-dark {
    color: rgb(var(--primary-dark-color));
}

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

/* Grafiska element
========================================================================== */
/* Border radius */
.br-2 {
    border-radius: 2rem;
    overflow: hidden;
}

.cards-prices  .br-2 {
    overflow: visible;
}

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

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

/* 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: 980px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

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

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

.card-2-5 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    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 p {
    transition: .3s ease;
}

.card-2-5 .card-item:hover p {
    color: rgb(var(--primary-color));
}

/* Card Storage Images */
.cards-storage-images .card-item {
    aspect-ratio: 1.5/1;
}

/* 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: 1300px) {
    .split-content {
        padding: 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 {
        width: 100%;
    }

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

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

header .container {
    padding: 0 2rem;
    border-radius: 5rem;
    background: rgb(var(--white-color), .8);
    box-shadow: 0 0 25px rgb(var(--black-color), .1);
    border: 1px solid rgb(var(--white-color));
}

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

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo i {
    margin-right: 1rem;
    font-size: 4rem;
}

.header-logo span {
    width: 9rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
}

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

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

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

.header-cta-wrapper li {
    margin: 0 .5rem;
}

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    line-height: 1;
}

/* Mobilmeny */
body:not(.EditMode) header.mobile-menu .TemplateMenu>li:nth-child(1),
body:not(.EditMode) header.mobile-menu .TemplateMenu a[href="/17/6/kontakta-oss/"] {
    display: block;
}

@media only screen and (max-width: 580px) {

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
        white-space: nowrap;
    }
}

@media only screen and (max-width: 480px) {

    /* Header logo   */
    .header-logo i {
        margin-right: 5px;
        font-size: 3rem;
    }

    .header-logo span {
        width: 7rem;
        font-size: 1.4rem;
    }
}

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

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

.top-section .section-title {
    font-size: 4.5rem;
    font-weight: 800;
}

.top-section .small-title {
    font-size: 3.6rem;
    font-weight: 400;
}
.info-badge {
  max-width: 22rem;
  padding: 1rem 2rem;
  border-radius: 2rem;
  margin: auto;
  background-color: rgb(var(--white-color), .7);
  animation: glowPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3),
                0 0 24px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 255, 255, 0.8),
                0 0 64px rgba(255, 255, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3),
                0 0 24px rgba(255, 255, 255, 0.2);
  }
}


.info-badge .section-title{
    padding-bottom: 0;
    font-size: 2.8rem;
}
@media only screen and (max-width: 1100px) {
    .top-section .section-title {
        font-size: 3.5rem;
    }

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

@media only screen and (max-width: 750px) {
    .top-section {
        min-height: 90vh; 
    }

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

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

/* Find us
========================================================================== */
.section-map .col-1 {
    width: 30%;
    padding-right: 0;
}

.section-map .col-2 {
    width: 70%;
}

.section-map .col-2 .col-wrapper,
.section-map .col-2 .block-container,
.section-map .col-2 .block-object,
.section-map .col-2 .map-wrapper {
    height: 100%;
}

.section-map .col-2 iframe {
    height: 100%;
}

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

    .section-map .col-2 {
        width: 100%;
        height: 40rem;
    }

    /* Bilder */
    .section-map .col-1 .cards-wrapper .card-item {
        width: calc(100% / 3 - 2rem);
        margin: 1rem;
    }
}

@media only screen and (max-width: 580px) {

    /* Bilder */
    .section-map .col-1 .cards-wrapper .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

@media only screen and (max-width: 1200px) {

    .section-contact .col-1,
    .section-contact .col-2 {
        width: 100%;
        padding: 0;
    }

    .section-contact .col-1 {
        margin-bottom: 2rem;
    }
}

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

/* ==========================================================================
Footer
========================================================================== */
footer {
    padding: 0 5rem;
}

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

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