/* Selmas Stad */

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

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 3, 151, 178;
    --secondary-color: 0, 44, 103;

    --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;

    --accent-yellow-color: 255, 255, 170;

    /* 	Layout  */
    --col-padding: 5rem;
    --menu-height: 11rem;
    --menu-height-scrolled: 8rem;
    --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: 8rem 5rem;
}

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

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

.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-3 {
    margin-bottom: 3rem;
}

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

/* Bredder */
.mw-none .section-block-wrapper {
    max-width: none;
}

/* Ovrigt */
.display-flex {
    display: flex;
}

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

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: 0.6em;
    font-size: 3.8rem;
    font-weight: 500;
    line-height: 1.3;
}

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

.text-label {
    padding-bottom: 1.7rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

a {
    font-size: var(--base-size);
}

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100rem;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.list-pills li {
    display: flex;
    align-items: center;
    padding: 1rem 2rem 1rem 1rem;
    margin: 1rem;
    font-size: 1.9rem;
    border-radius: 4rem;
    color: rgb(var(--black-color));
    background: rgb(var(--white-color));
}

.list-pills li::before {
    content: '\f00c';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-right: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    font-family: 'Font Awesome 5 Pro';
    border-radius: 50%;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

@media only screen and (max-width: 580px) {
    .list-pills li {
        width: 100%;
        padding: 1rem;
        font-size: 1.4rem;
    }
}

/* List-check */
.list-check {
    padding: 0;
    list-style: none;
}

.list-check li::before {
    content: '\f00c';
    padding: 0 1rem 0 0;
    font-weight: 700;
    font-family: 'Font Awesome 5 Pro';
}

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

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

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

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

@media only screen and (max-width: 580px) {
    .section-title {
        font-size: 2.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;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    border: 1px solid;
    transition: all .4s ease;
    border-radius: 1rem;
}

.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:hover::after,
.arrow-link:hover::after {
    transform: translateX(5px);
    transition: transform .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(--white-color));
    border-color: rgb(var(--primary-color));
    background-color: rgb(var(--primary-color), .5);
}

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

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

/* Arrow link */
.arrow-link {
    margin: 1rem 2rem 0 0;
    font-weight: 500;
    text-decoration: none;
}

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

/* Animation knapp */
.bouncing-btn::after {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(5px);
    }
}

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

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

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

.gradient-white-yellow {
    background-image: linear-gradient(to bottom, transparent 50%, rgb(var(--accent-yellow-color)) 50%);
    width: fit-content;
}

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.border-left-primary {
    border-left: .5rem solid rgb(var(--primary-color));
    padding-left: 3rem;
}

@media only screen and (max-width: 580px) {
    .border-left-primary {
        padding-left: 1.5rem;
    }
}

/* Opacity */
.opacity-50 {
    opacity: 50%;
}

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

.bg-image .section-block {
    padding: 12rem 5rem;
}

.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;
}

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

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

/* Parallax
========================================================================== */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: .5rem solid rgb(var(--gray-color));
    border-bottom: .5rem solid rgb(var(--gray-color));
}

.parallax .section-block {
    min-height: 50rem;
    background-color: rgb(var(--white-color), .4);
}

/* Bilder */
.parallax-bubblor {
    background-image: url('/assets/images/bubblor-2000px.jpg');
}

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

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

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

/* 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: calc(100% - 2rem);
    margin: 0 0 3rem;
}

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

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

@media only screen and (max-width: 750px) {
    .cards-wrapper {
        margin-bottom: -1rem;
    }

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

    /* Paddings */
    .cards-wrapper .p-4 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.card-1-1 .card-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: calc(70vh / 2 - 2rem);
    border-radius: 1rem;
}

.card-1-1 .card-footer p {
    font-size: 1.4rem;
}

.card-1-1 .icon-wrapper {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
}

.card-1-1 .icon-wrapper i {
    opacity: .3;
    font-size: 13rem;
    transform: rotate(6deg)
}

@media only screen and (max-width: 1600px) {
    .card-1-1 .icon-wrapper i {
        font-size: 9rem;
    }
}

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

/* Card 2-1 */
.card-2-1 .card-item {
    position: relative;
    background: rgb(var(--accent-yellow-color));
    overflow: hidden;
    border-radius: 0 0 0 30px/45px;
    box-shadow: 0 5px 6px 5px rgba(var(--black-color), .2);
}

.card-2-1 .card-item:nth-child(odd) {
    border-radius: 0 30px 0 0 /45px;
    box-shadow: 0 5px 6px 5px rgba(var(--black-color), .2);
    transform: rotate(-2deg);
}

.card-2-1 .card-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 25px;
    background: rgb(var(--accent-yellow-color));
    box-shadow: 1px -2px 1px rgba(var(--black-color), .2), inset 15px -15px 15px rgba(var(--black-color), .3);
    left: 0;
    bottom: 0;
    z-index: 2;
    transform: skewX(25deg);
}

.card-2-1 .card-item:nth-child(odd)::after {
    top: 0;
    right: 0;
    left: unset;
    bottom: unset;
    transform: rotate(180deg);
}

/* 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: 6rem;
    height: 6rem;
    border-radius: 50%;
}

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

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

.card-2-5 .card-item .small-title {
    font-size: 1.9rem;
    transition: .3s ease;
}

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

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: calc(70vh / 2 - 2rem);
    justify-content: space-between;
}

.card-3-5 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.card-3-5 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), .6);
    transition: .3s ease;
}

.card-3-5 a.card-item:hover .image-wrapper::after {
    background: rgba(var(--primary-color), .6);
    transition: .3s ease;
}

.card-3-5 .card-header,
.card-3-5 .card-body,
.card-3-5 .card-footer {
    z-index: 1;
    position: relative;
}

/* 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%;
    border-radius: 1rem;
}

/* 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
========================================================================== */
/* Dolj hem */
body:not(.EditMode) header .TemplateMenu>li:nth-child(1) {
    display: none;
}

header {
    border-bottom: 1px solid rgb(var(--white-color), .9);
    background-color: rgb(var(--white-color), .9);
}

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

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

.header-logo img {
    max-width: 30rem;
}

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

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

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

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

/* Top-section
========================================================================== */
.top-section {
    margin-top: calc(-1 * var(--menu-height));
    background-image: linear-gradient(to right, rgba(var(--black-color), 0.5), rgb(var(--black-color), 0.3));
}

.top-section .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-image: url(/assets/images/graphics/wave.svg);
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center bottom;
    padding: 18rem 5rem 14rem;
}

.top-section .section-block-wrapper {
    min-width: 70vw;
}

.top-section .col-0 {
    align-content: center;
}

.top-section h1 {
    font-size: 6.5rem;
    font-weight: 600;
}

.top-section p {
    font-size: 2rem;
}

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

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

    .top-section p {
        font-size: 1.7rem;
    }
}

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

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

/* Section-services
========================================================================== */
.section-services .section-block {
    padding: 4rem 5rem 8rem;
}

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

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

/* Text-divider
========================================================================== */
.section-text-divider .section-block {
    padding-top: 15rem;
    padding-bottom: 15rem;
}

.section-text-divider .col-0 {
    width: calc(35% - 1.5rem);
    padding-right: 5rem;
}

.section-text-divider .col-1 {
    width: 65%;
    padding-left: 0;
}

.section-text-divider.bg-primary .arrow-link::after {
    color: rgb(var(--white-color));
}

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

    .section-text-divider .col-0 {
        width: 100%;
        padding-right: 0;
    }

    .section-text-divider .col-1 {
        width: 100%;
    }
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--primary-color));
}

.hero .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 45vh;
    padding-top: calc(var(--menu-height) + 5rem);
    padding-bottom: 5rem;
}

.hero .text-block-center {
    max-width: 100rem;
}

.hero .btn-wrapper {
    margin: 0 0 0 3rem;
}

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

@media only screen and (max-width: 900px) {
    .hero .text-block-center {
        flex-direction: column;
    }

    .hero .btn-wrapper {
        margin: 1rem 0 0 1rem;
    }
}

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

/* CTA-sektion (.section-cta)
========================================================================== */
.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 150rem;
    margin: 0 auto;
}

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

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

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

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
.section-contact .col-1 {
    padding-top: 5rem;
}

.section-contact .form-header {
    border-radius: 1rem 1rem 0 0;
    padding: 2rem;
}

.section-contact .form-wrapper {
    padding: 5rem;
    border-radius: 0 0 1rem 1rem;
}

.section-contact .bg-image {
    background: rgba(var(--black-color), .6);
}

.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ContactFormEmail.text-field,
.ContactFormField.phone-field,
.ContactFormField.text-field {
    width: 49%;
}

.ContactFormName.text-field,
.ContactFormField.option-field,
.submit-button-container {
    width: 100%;
}
.ContactForm .ContactFormField:has(.field-5){
    width: 100%;
}
.ContactForm select:not(.illegal),
.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm input[type="tel"]:not(.illegal) {
    border-radius: 0.5rem;
    padding: 0.6rem;
}

.ContactForm p {
    color: rgba(var(--white-color));
}

.section-contact .col-0 {
    padding: 4rem;
    border-radius: 1rem;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/assets/images/bubblor-2000px.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

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

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

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

@media only screen and (max-width: 580px) {
    .ContactFormEmail.text-field,
.ContactFormField.phone-field,
.ContactFormField.text-field {
    width: 100%;
}
.section-contact .col-0 {
    padding: 2rem;
}
    .section-contact .col-1 .small-title {
        font-size: 1.7rem;
    }

    .section-contact .form-wrapper {
        padding: 2rem 1rem;
    }
}


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

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

.footer-top img {
    max-width: 24rem;
}

.footer-menu {
    width: 20%;
}

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

.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 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-menu,
    .footer-menu-large {
        width: 30%;
    }
}

@media only screen and (max-width: 900px) {
    .footer-top {
        align-items: center;
        text-align: center;
        padding: 5rem 0 4rem;
    }

    .footer-menu {
        width: 100%;
        margin: 2rem 0 0;
    }
}

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