/* Daan Fastighetsutveckling AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 246, 148, 84;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 130, 130, 130;
    --gray-light-color: 243, 241, 237;
    --white-color: 255, 255, 255;

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1100;
    --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;
}
.p-3 .section-block,
.p-3:not(.section-wrapper) {
    padding: 3rem;
}

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

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

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

/* Margins */
.mt-3 {
    margin-top: 3rem;
}

.mt--5 {
    margin-top: -5rem;
}

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

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

/* Ovrigt */

.justify-center {
    justify-content: center;
}

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title {
    padding-bottom: .5em;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
}

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

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

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

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

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

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

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

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

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

    .small-title {
        font-size: 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 2rem;
    margin: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 2px;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

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

.btn.arrow-link {
    font-size: 1.4rem;
}

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

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

/* Pulse btn */
.pulse-btn {
    position: relative;
}

.pulse-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 2px solid rgb(var(--primary-color));
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
}

@keyframes ring {
    0% {
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        opacity: 1;
    }

    100% {
        width: calc(100% + 4px + 50px);
        height: calc(100% + 4px + 50px);
        opacity: 0;
    }
}

@media only screen and (max-width: 480px) {
    .btn {
        margin: 5px;
    } 
}

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

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

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

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

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

.text-red {
    color: #ff0000;
    font-size: 1.8rem;
}
/* Grafiska element
========================================================================== */
/* Video ratio */
.video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-ratio video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .04);
}


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

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

/* Cards
========================================================================== */
/* Generellt */
a.card-item {
    transition: .3s ease;
}

.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
}

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

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}

/* Specifika bredder */
.cards-wrapper.w-25 .card-item {
    width: calc((100% / 4) - 2rem);
    margin: 1rem;
}

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

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

@media only screen and (max-width: 1250px) {
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

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

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 2rem 0;
    }
}
/* Card 2-2 */
.card-2-2 .card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 15rem;
    padding: 2rem;
    margin: -7rem auto 3rem;
    font-size: 6rem;
    border-radius: 50%;
}
/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
    align-items: center;
}

.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-3 + Card 3-1 */
.card-3-1 .image-wrapper {
    height: 28rem;
}

.card-2-3 .card-header,
.card-3-1 .card-icon {
    z-index: 1;
    position: relative; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    padding: 2rem;
    margin: -3rem 0 0 2rem;
    border-radius: 2px;
}

.EditMode .card-2-3 .card-header,
.EditMode .card-3-1 .card-icon {
    margin-top: 0;
}

.card-2-3 .card-header i,
.card-3-1 .card-icon i {
    font-size: 2.8rem;
    color: rgb(var(--white-color));
}

/* Card 3-2 */
.cards-wrapper.card-3-2 .card-item {
    margin-top: 5rem;
    border-radius: 0rem;
    background-color: rgb(var(--gray-light-color));
}

.card-3-2 .image-wrapper {
    display: inline-block;
    max-width: 13rem;
    height: 13rem;
    border-radius: 50%;
    border: 4px solid rgb(var(--gray-light-color))
}

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

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

/* Ruta bakom text */
.split-wrapper.box {
    margin-bottom: 3rem;
}

.split-wrapper.box .split-content {
    position: relative;
    margin-top: 3rem;
}

.split-wrapper.box .text-block {
    z-index: 1;
    position: relative;
}

.split-wrapper.box .split-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 80%);
    height: calc(100% + 3rem);
}

.split-wrapper.box-white .split-content::after {
    background: rgb(var(--white-color));
}

.split-wrapper.box-gray-light .split-content::after {
    background: rgb(var(--gray-light-color));
}

.split-wrapper.box.reverse .split-content::after {
    left: -80%;
}

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

@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%;
        min-height: 20rem;
    }

    /* Ruta bakom text */
    .split-wrapper.box .split-content {
        padding: 3rem 0;
        margin: 0;
    }

    .split-wrapper.box .split-content::after,
    .split-wrapper.box.reverse .split-content::after {
        left: -2.5rem;
        width: calc(100% + 5rem);
        height: calc(100% + 5rem);
    }
}

@media screen and (max-width: 580px) {
    /* Ruta bakom text */
    .split-wrapper.box .split-content::after,
    .split-wrapper.box.reverse .split-content::after {
        left: -2rem;
        width: calc(100% + 4rem);
        height: calc(100% + 4rem);
    }
}

/* Header / Navigation
========================================================================== */
/* Top header */
.top-header {
    z-index: 1;
    position: relative;
    width: 100%;
    max-width: var(--section-width);
    height: 4rem;
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    overflow: hidden;
    transition: .3s ease;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
}

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    color: rgb(var(--gray-dark-color));
    text-decoration: none;
    transition: .2s ease;
}

.top-header a:hover {
    color: rgb(var(--primary-color));
}

header:not(.scrolled, .active-menu) .top-header a:not(:hover) {
    color: rgb(var(--white-color));
}

.top-header i {
    margin-right: 5px;
}

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

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

/* Logo */
.header-logo {
    flex: 1 1 0; 
    margin-right: 3rem;
}

header:not(.scrolled) .header-logo img {
    filter: brightness(0) invert(1);
} 

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

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

/* Dropdown */
.TemplateMenu > li > ul {
    width: 24rem;
}

/* CTA  */
 .header-cta-wrapper {
    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 .Navigator {
    padding-bottom: 12rem;
}
 
.mobile-menu .header-logo {
    flex: 1 1 0px;
}

.mobile-menu .TemplateMenu > li > ul > li > a {
    font-size: 1.3rem;
    line-height: 3;
} 

@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: 100vh;
    padding-top: calc(var(--menu-height) + 4rem);
    margin-top: calc(-1 * var(--menu-height) - 4rem);
    background-color: rgb(var(--black-color), .5);
}

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

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

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

.top-section .section-title span {
    display: block;
}

.top-section p:not(.text-label) {
    max-width: 60rem;
    margin: 0 auto;
    font-size: 1.7rem;
    color: rgb(var(--white-color));
}

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

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

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

    .top-section p:not(.text-label) {
        font-size: 1.5rem;
    }
}

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

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

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

.counter-wrapper .text-label {
    font-size: 1.2rem;
}

.counter-wrapper .small-title {
    font-size: 2.2rem;
}

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

    .counter-wrapper .text-label {
        font-size: 1.1rem;
    }

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

/* Tjanster
========================================================================== */
.section-scroll {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
} 

.scroll-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

.scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
    transform: scale(.9);
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

.scroll-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.scroll-wrapper .slick-next {
    right: 2rem;
}

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem; 
}

@media only screen and (max-width: 580px) {
    .scroll-wrapper .card-item {
        margin: 0 1rem 0 0;
        text-align: center;
    }

    .scroll-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
        transform: scale(1);
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 60vh;
    padding-top: calc(var(--menu-height) + 4rem);
    margin-top: calc(-1 * var(--menu-height) - 4rem);
    text-align: center;
    background-color: rgb(var(--black-color), .5);
}
.hero-tack {
    background-color: rgb(var(--gray-light-color)) !important;
}

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

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

.hero .section-title {
    font-size: 4.9rem;
    font-weight: 400;
}

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

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

/* ==========================================================================
Undersida: Vara tjanster > Tjansteundersida 
========================================================================== */
/* Layout */
.section-logos .section-block,
.section-partners .section-block {
    padding-top: 1rem;
}

/* Slider
========================================================================== */
.gallery-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

.gallery-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

.gallery-wrapper.cards-wrapper .slick-track {
    display: flex;
}

.gallery-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
    margin: 0 1rem;
    transition: all .3s ease;
}

.gallery-wrapper.cards-wrapper .card-item[aria-hidden="true"] {
    opacity: .5;
    transform: scale(.9);
}

/* Card item */
.gallery-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.gallery-wrapper .slick-arrow {
    z-index: 1;
    position: absolute;
    top: 50%;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transform: translateY(-50%);
}

.gallery-wrapper .slick-arrow::after {
    font-weight: 300;
    color: rgb(var(--white-color));
}

.gallery-wrapper .slick-next {
    right: -1rem;
}

.gallery-wrapper .slick-prev {
    left: -1rem;
}

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

/* ==========================================================================
Undersida: Vara tjanster > Badrumsrenovering
========================================================================== */
.section-logos .card-3-2 .image-wrapper {
    height: 11rem;
}

/* ==========================================================================
Undersida: Vara tjanster > Fasad & Tillaggsisolering
========================================================================== */
.section-partners .cards-wrapper.w-33 .card-item {
    width: calc((100% / 4) - 2rem);
}

@media only screen and (max-width: 1050px) {
    .section-partners .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
        padding-top: 8rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-partners .cards-wrapper.w-33 .card-item{
        width: 100%;
        margin: 2rem 0;
    }
}

/* ==========================================================================
Undersida: Kontakt
========================================================================== */
/* .section-contact {
    scroll-margin-top: 10rem;
} */

.section-contact .section-block-wrapper {
    justify-content: space-between;
}

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

.section-contact.bg-gray-light .col-2,
.section-contact.bg-gray-light .card-2-4 a.card-item:hover {
    background-color: rgb(var(--white-color));
}

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

/* ==========================================================================
Undersida: Tack for ditt meddelande
========================================================================== */
.section-message .section-block {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}


/* ==========================================================================
Samtliga formular
========================================================================== */
.form-section .section-block-wrapper {
    max-width: 100rem;
}

.success-message { display: none; }

.form-wrapper .deliveryaddress,
.form-wrapper .invoiceaddress {
    display: none;
}

.form-wrapper,
.deliveryaddress,
.invoiceaddress {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.deliveryaddress h2,
.invoiceaddress h2 {
    text-align: center;
    display: block;
    width: 100%;
    margin: 2rem 0;
}


.formfield-wrapper {
    border: none;
    width: 50%;
    padding-bottom: 1.5rem;
    margin: 0;
}

.formfield-wrapper.w-100 {
    width: 100%;
}

.formfield-wrapper legend,
.formfield-wrapper a {
    font-size: 1.1rem;
    padding-bottom: 1rem;
}

.formfield-wrapper textarea,
.formfield-wrapper input[type="text"i],
.formfield-wrapper input[type="number"i] {
    border: none;
    background-color: #ffffff;
    padding: 1.3rem;
    border-radius: 0.5rem;
    border: 1px solid #b8bdc9;
    margin-bottom: 1rem;
    width: 100%;
    font-size: 1.55rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.formfield-wrapper textarea {
    height: 150px;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    color: rgb(50, 50, 50);
}
.formfield-wrapper select {
    border: none;
    background-color: #deded9;
    padding: 1rem 2rem 1rem 1rem;
    border-radius: 2rem;
    width: 100%;
}

.formfield-wrapper input[type="text"i].error,
.formfield-wrapper input[type="number"i].error {
    background-color: #ead7d7;
}

.formfield-wrapper label {
    font-size: 1.7rem;
    font-family: 'Onest', sans-serif !important;
    font-weight: 600;
    color: rgb(50, 50, 50) !important;
}

.formfield-wrapper .error {
    font-weight: 600;
}

.formfield-wrapper input[type="range"i] {
    width: 100%;
}

.formfield-wrapper.submit-input {
    width: 100%;
}

.total-merge,
.total-merge .formfield-wrapper {
    width: 100%;
}

.formfield-wrapper button,
button:disabled,
button[disabled] {
    min-width: 100%;
    padding: 1.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-align: center;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--secondary-color));
    display: block;
    cursor: pointer;
}

.formfield-wrapper button:hover {
    background-color: rgb(var(--primary-color), .5);
    color: white ;
    cursor: pointer;
}

.dropzone {
    border: 1px dashed #ccc;
    border-radius: 1.5rem;
    padding: 20px;
    background: #f8f8f8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropzone.dragover {
    background: #e1e1e1;
    border-color: #999;
}
.dz-message { font-size: 1.5rem; }

.file-list {
    width: 100%;
    margin-top: 15px;
}

.file-list td {
    padding: 2px 5px;
    font-size: 1.5rem;
    text-align: left;
}

.file-list .remove-file {
    color: red;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.loading::after {
    content: '\f3f4';
    display: inline-block;
    margin-left: 1rem;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    animation-name: spin;
    animation-duration: 3000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 580px) {
    .formfield-wrapper {
        width: 100%;
        padding-bottom: 0;
    }

    .formfield-wrapper textarea {
        height: 80px;
    }

    /* .formfield-wrapper textarea,
    .formfield-wrapper input[type="text"i],
    .formfield-wrapper input[type="number"i] {
        margin-bottom: 0rem;
    } */
  
}

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

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

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

.footer .small-title {
    padding: 0 0 1rem;
    font-size: 1.9rem;
    line-height: 1;
    color: rgb(var(--primary-color));
}

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

.footer-submenu.large {
    column-count: 2;
    column-gap: 10rem;
}

.footer-top li,
.footer-top p,
.footer-top a {
    text-decoration: none;
}

.footer a:not(.icon-links):hover {
    text-decoration: none;
    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.4rem;
    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: 10rem 3rem;
    }

    /* Footer top */
    .footer-menu {
        width: 50%;
    }
}

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu {
        width: 100%;
    }
}

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

    /* Footer top */
    .footer-menu {
        margin: 0;
    }

    .footer-submenu.large {
        column-count: 1;
        column-gap: 0;
    }

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

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