/* Hfh bygg och montage AB */

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 18, 52, 154;

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

    --accent-red-color: 220, 38, 38;

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

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

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

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

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

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

/* Bredder */
.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

/* 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: 'Onest', sans-serif;
}

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--primary-color));
}

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

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.list-pills li {
    padding: 0rem 1rem;
    margin: 3px;
    font-size: 1.5rem;
    border-radius: 1.5rem;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color), .3);
}

.list-pills .text-label {
    padding-bottom:0;
}

/* List Row */
.list-row {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.list-row li {
    font-size: 1.5rem;
}

.list-row li:not(:last-child)::after {
    content: '|';
    display: inline-block;
    margin: 0 1rem;
}

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

    .text-label {
        font-size: 1.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{
    color: rgb(var(--primary-color));
    border: 2px solid rgb(var(--primary-color));
    background-color: rgb(var(--white-color));
}

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

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

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

.circle-icon:hover {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--white-color));
}

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

/* 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 {
        display: block;
        width: 100%;
    }
}

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Badge */
.badge-wrapper {
    position: relative;
}

.badge {
    z-index: 1;
    position: absolute;
    top: 1rem;
    left: 0;
    padding: .5rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0 .5rem .5rem 0;
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
}

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image {
    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;
}

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

.parallax .section-block {
    display: flex;
    align-items: center;
    min-height: 50rem;
    background-color: rgb(var(--black-color), .65)
}

.parallax p {
    font-size: 1.8rem;
}

.parallax-service {
    background-image: url('/assets/images/stad-solnedgang-2000px.jpg');
}

.parallax-cta {
    background-image: url('/assets/images/stad-solnedgang-2000px.jpg');
}

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

@media only screen and (max-width: 580px) {
    .parallax p {
        font-size: var(--base-size);
    }
}

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

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

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

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

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

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

@media only screen and (max-width: 750px) {
    .cards-wrapper.w-50 .card-item,
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-20 .card-item,
    .cards-wrapper .card-item.w-66  {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Card 2-2 */
.card-2-2 .card-item i {
    margin-right: 0.5rem;
}

@media only screen and (max-width: 750px) {
    .card-2-2 .card-item:first-child {
        padding: 0;
        margin-bottom: 3rem;
    }
}

/* Card 2-5 */
.card-2-5 .card-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 5px;
    transition: .3s ease;
    background-color: rgb(var(--gray-light-color));
}

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

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

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

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 5rem;
}

.card-2-1 .card-item:hover {
  background-color: rgb(var(--white-color));
}

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

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

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

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 23rem;
    border: 1px solid rgb(var(--black-color));
}

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

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

.card-3-5 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .7);
}

.card-3-5 .card-body {
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 5rem;
    color: rgb(var(--white-color));
}

.card-3-5 .card-body.border {
    margin: 5rem;
    border: 1px solid rgb(var(--white-color));
}

@media only screen and (max-width: 1000px) {
    .card-wrapper.cards-3-5 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

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

    .card-3-5 .card-body.border {
        margin: 2rem;
    }
}

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    padding: 30rem 0rem 0rem;
}

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

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

.card-3-6 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .3);
}

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
}

.card-3-6 .small-title,
.card-3-6 p {
    color: rgb(var(--white-color));
}

.card-3-1 .date {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Logos 2 */
.logos-2 .card-item {
    width: 10rem;
    margin: 0 -2rem;
    padding: 3px;
    border-radius: 6px;
    transition: all .3s ease;
}

.logos-2 .card-item:hover {
    margin: 0 3rem;
}

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

    .logos-2 .card-item:hover {
        margin: 0 2rem;
    }
}

/* 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-center {
    align-self: center;
}

.split-wrapper .align-end {
    align-self: flex-end;
}

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

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

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

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

.split-wrapper.box-white.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%;
        padding: 0 0 3rem;
        background: transparent;
    }

    .split-image {
        width: 100%;
        min-height: 20rem;
    }

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

    .split-wrapper.box-white .split-content::after,
    .split-wrapper.box-white.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-white .split-content::after,
    .split-wrapper.box-white.reverse .split-content::after {
        left: -2rem;
        width: calc(100% + 4rem);
        height: calc(100% + 4rem);
    }
}

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

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

header .container {
    display: grid;
    grid-template-columns: 1fr 0 auto 1fr;
}

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

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

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

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

.TemplateMenu>li>ul>li>ul {
    right: -26rem;
}

/* CTA  */
.sub-solceller .header-cta-wrapper {
    display: none;
}

.header-cta-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0 0 0 auto;
    list-style: none;
}

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

/* Mobilmeny */
.mobile-menu .container {
    display: flex;
}

.mobile-menu .header-logo {
    flex: 1 1 0px;
}

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

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

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

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

.top-section p:not(.text-label) {
    max-width: 65rem;
    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: 580px) {
    .top-section .section-title {
        font-size: 3rem;
    }
}

/* Vara tjanster
========================================================================== */
.section-services .card-3-5 .card-item {
    min-height: 40rem;
}

.section-services .text-label {
    font-size: 1.8rem;
}

@media only screen and (max-width: 580px) {
    .section-services .text-label {
        font-size: 1.4rem;
    }
}

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

/* Info sektion (.section-info)
========================================================================== */
@media only screen and (max-width: 1000px) {
    .section-info .text-center {
        text-align: left;
    }
}

/* CTA-sektion (.section-cta)
========================================================================== */
.section-cta .col-0 {
    background-color: rgb(var(--white-color));
    padding: 4rem;
} 

.section-cta .col-1 {
    display: flex;
    align-items: center;
    background-color: rgb(var(--gray-light-color));
    padding: 4rem;
} 

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

    .section-cta .col-0,
    .section-cta .col-1 {
        padding: 3rem;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: center;
    min-height: 40rem;
    text-align: center;
    background-color: rgb(var(--black-color), .5);
}

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

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

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

    .hero .section-title {
        font-size: 3rem;
    }
}
  
/* ==========================================================================
Undersida: Tjanster > Inom/Utomhus > Undersida 
========================================================================== */
.accordion-wrapper.w-50 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

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

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: rgb(var(--gray-light-color));
    transition: .3s ease;
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 2rem 4rem 2rem 2rem;
    text-decoration: none;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.7rem;
    font-weight: 700;
    font-family: "Font Awesome 5 Pro";
    color: rgb(var(--primary-color));
    transition: .5s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 2rem 2rem;
}

.accordion-body p {
    font-size: 1.5rem;
}

@media only screen and (max-width: 980px) {
    .accordion-wrapper.w-50 .accordion-item {
        width: 100%;
        margin: 1rem 0;
    }
} 

@media only screen and (max-width: 580px) {
    .accordion-header {
        padding: 1.5rem 3rem 1.5rem 1.5rem;
    }

    .accordion-header::after {
        right: .8rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1.5rem;
    }
}

/* =======================================================================
Undersida: För företag
========================================================================== */
.section-cta-company .cards-wrapper {
    max-width: 80rem;
    margin: 0 auto;
}


.section-company-favors .card-3-5 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), .6);
}

/* =======================================================================
Undersida: Kontakt
========================================================================== */
.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ContactForm div {
    width: 49%;
}

.ContactForm .ContactFormMessage {
    width: 100%;
}

.ContactForm p {
    color: rgb(var(--primary-color));
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.4rem;
}

.ContactForm input[type="text"],
.ContactForm input[type="email"],
.ContactForm textarea {
    border: none;
}
  
.ContactForm input[type="text"]:not(.illegal),
.ContactForm input[type="email"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--gray-light-color));
}

.ContactSubmit {
    margin: 0;
}

@media only screen and (max-width: 600px) {
    .ContactForm div { 
        width: 100%;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {

    padding: 10rem 5rem 0;
    background-color: rgb(var(--gray-light-color));
}

.footer-container {
    max-width: var(--section-width);
    margin: 0 auto;
}

/* Footer header */
.footer-header {
    width: 100%;
}

.footer-header p:not(.section-title) {
    font-size: 1.9rem;
}

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

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

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

.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 .socials li {
    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.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 {
        position: static;
        padding: 10rem 3rem;
    }

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

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

    .footer .socials li {
        display: inline-block;
    }
}

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

    /* Footer header */
    .footer-header p:not(.section-title) {
        font-size: 1.7rem;
    }

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

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

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