/* Trafikskola Trafikspecialisten AB */

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 190, 40, 47;
    --secondary-color: 49, 70, 89;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 199, 203, 206;
    --gray-light-color: 241, 244, 247;
    --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;
}

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

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

/* Margins */
.mr-1 {
    margin-right: 1rem;
}

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

/* Ovriga klasser */
.align-end .section-block-wrapper {
    align-items: flex-end;
}

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

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

.inline-block {
    display: inline-block;
}

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

/* Rubriker */
.text-label {
    display: flex;
    align-items: center;
    padding-bottom: 1em;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgb(var(--secondary-color));
}

.text-label::before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 2px;
    margin-right: 1rem;
    background-color: rgb(var(--secondary-color));
}

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

.section-title {
    padding-bottom: .3em;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    color: rgb(var(--black-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    color: rgb(var(--black-color));
}

.text-title {
    padding-bottom: .3em;
    font-size: var(--base-size);
    font-weight: 600;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

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

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

.text-smaller {
    font-size: 1.4rem;
}

a.link-dotted {
    text-decoration: none;
    border-bottom: 1px dotted rgb(var(--primary-color));
    transition: .3s ease;
}

a.link-dotted:hover {
    color: rgb(var(--primary-color));
}

/* Listor */
.list-arrow {
    padding: 0;
    list-style: none;
}

.list-arrow li::before {
    content: '\f178';
    position: relative;
    top: -2px;
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-size: 1.1rem;
    font-weight: 500;
    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-right {
    text-align: right;
}

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

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

@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: 3rem;
    }

    /* Brodtext och lankar */
    .ingress,
    .text-smaller {
        font-size: var(--base-size);
    }
}

/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    margin-top: 2rem;
}

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 2.5rem;
    margin: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 4rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

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

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

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

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

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

p .arrow-link {
    font-size: inherit;
}

.arrow-link::after,
.w-arrow::after,
.w-arrow-down::after {
    content: ' \f178';
    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;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    margin: .3rem;
    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(--black-color));
}

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

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

.dropdown-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.dropdown-btn i {
    margin-left: 1rem;
    font-size: .8em;
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;

    z-index: 1;
    position: absolute;
    top: calc(100% + .8rem);
    right: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    border-radius: .8rem;
    box-shadow: 0 .8rem 2.4rem rgba(var(--black-color), .12);
    background-color: rgb(var(--white-color));
    overflow: hidden;
    transform: translateY(-8px);
    transition: all .25s ease;
}

.dropdown-wrapper.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 1.2rem .9rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.dropdown-content li:last-of-type a {
    margin-bottom: .5rem;
    border-radius: 0 0 .4rem;
}

.dropdown-content a:hover {
    background-color: rgba(var(--gray-light-color));
    color: rgb(var(--primary-color));
}

.dropdown-content li:not(:last-child) {
    border-bottom: 1px solid rgba(var(--gray-light-color));
}

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

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

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

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

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

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

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

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

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

.br-2 {
    border-radius: 2rem;
    overflow: hidden;
}

/* Borders */
.border-1-gray {
    border: 1px solid rgb(var(--gray-color));
}

/* Waves */
.wave-white-bottom::after,
.wave-gray-light-bottom::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10rem;
    background-image: url(/assets/images/graphics/wave-white-half.svg);
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center bottom;
    pointer-events: none;
}

.wave-gray-light-bottom::after {
    background-image: url(/assets/images/graphics/wave-gray-light-half.svg);
}

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

    /* Waves */
    .wave-white-bottom::after,
    .wave-gray-light-bottom::after {
        background-size: 100% 5rem;
    }
}

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

.bg-image-wrapper {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media only screen and (max-width: 580px) {
    .card-item .small-title {
        font-size: 2rem;
    }
}

/* Card 2-2 */
.card-2-2 .card-header i,
.card-2-2 .card-header p {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2rem;
}

/* Card 2-4 */
.card-2-4 .card-item {
    display: flex;
}

.card-2-4 .card-header i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    margin-right: 2rem;
    font-size: 2rem;
    transition: .3s ease;
}

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

/* Card footer */
.card-footer .arrow-link {
    display: flex;
    justify-content: space-between;
}

.card-footer .arrow-link::after {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    color: rgb(var(--primary-color));
    border: 1px solid rgb(var(--primary-color));
    border-radius: 50%;
    transition: .3s ease;
}

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

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

/* Split med boxar */
.split-wrapper.boxes {
    justify-content: space-between;
}

.split-wrapper.boxes .split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 2rem);
}

.split-wrapper.boxes .split-image {
    width: calc(50% - 2rem);
}

/* Split wrapper med clip path*/
.split-wrapper.clip-path {
    position: relative;
}

.split-wrapper.clip-path::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    width: 12rem;
    height: 55%;
    background-color: rgb(var(--primary-color));
    clip-path: polygon(100% 0%, 100% 0%, 105% 100%, 0% 100%);
}

.split-wrapper.clip-path .split-image {
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 0% 100%);
}

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

    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
    }

    .split-wrapper:not(.boxes, .clip-path) .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 3rem;
        background-color: transparent;
    }

    .split-image {
        width: 100%;
    }

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

    /* Split med boxar / clip path*/
    .split-wrapper.boxes .split-content,
    .split-wrapper.clip-path .split-content {
        width: 100%;
    }

    .split-wrapper.boxes .split-content {
        margin-bottom: 2rem;
    }

    .split-wrapper.boxes .split-image {
        width: 100%;
    }
}

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

    /* Split med boxar / clip path*/
    .split-wrapper.boxes .split-content,
    .split-wrapper.clip-path .split-content {
        padding: 3rem;
    }
}

/* Header / Navigation
========================================================================== */
.IndexPage header:not(.scrolled) {
    border-color: transparent;
    background-color: transparent;
}

header.scrolled {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

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

.IndexPage header:not(.scrolled) .header-logo {
    filter: invert();
}

.header-logo a {
    display: flex;
    align-items: center;
    color: rgb(var(--black-color));
    line-height: 1.1;
    white-space: nowrap;
    text-decoration: none;
    font-family: 'Poppins';
}

.header-logo img {
    margin-right: 1.5rem;
}

.header-logo .logo-wrapper span:nth-child(1) {
    display: block;
    padding-bottom: .3rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
}

.header-logo .logo-wrapper span:nth-child(2) {
    display: block;
    font-size: 1.1rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

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

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

/* Dolj kontakt */
header:not(.mobile-menu) .TemplateMenu li:has(a[href="/17/2/kontakta-oss/"]) {
    display: none;
}

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

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

.header-cta-wrapper .btn {
    display: flex;
    justify-content: space-between;
    min-width: 17.5rem;
    padding: 1.3rem 2rem;
    line-height: 1;
}

.IndexPage header:not(.scrolled) .header-cta-wrapper .btn:hover {
    color: rgb(var(--white-color))
}

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

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

    /* Dolj hem */
    header:not(.mobile-menu) .TemplateMenu>li:nth-child(1) {
        display: none;
    }
}

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

    /* CTA */
    .header-cta-wrapper .btn {
        padding: 1rem 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .header-logo .logo-wrapper {
        display: none;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: var(--menu-height);
    margin-top: calc(var(--menu-height) * -1);
    background-color: rgb(var(--black-color), .5);

    background: linear-gradient(90deg,
            rgb(var(--black-color), .5) 0%,
            rgb(var(--black-color), .5) 40%,
            rgb(var(--black-color), .3) 60%,
            rgb(var(--black-color), .1) 100%);
    overflow: hidden;
}

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

.top-section .section-title {
    font-size: 9rem;
    font-weight: 700;
    line-height: .9;
    font-family: 'Poppins', sans-serif;
}

.top-section .section-title span {
    display: block;
    font-size: 10rem;
    font-style: italic;
    color: rgb(var(--primary-color));
}

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

.top-section .text-block p {
    font-size: 1.8rem;
}

.top-section .btn {
    min-width: 19rem;
}

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

/* Bakgrundsbild */
.top-section .bg-image-wrapper img {
    object-position: 70% 30%;
}

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

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

@media only screen and (max-width: 1024px) {
    .top-section .section-title {
        max-width: 53rem;
        font-size: 5rem;
        line-height: 1.1;
    }

    .top-section .section-title span {
        font-size: inherit;
    }

    .top-section .text-block p {
        font-size: 1.8rem;
    }
}

@media only screen and (max-width: 580px) {
    .top-section .text-block p {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .top-section .btn {
        display: block;
        width: 100%;
        margin: 7px 0;
    }
}

/* CTA
========================================================================== */
.section-cta .cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-cta .text-block {
    width: 50%;
    max-width: 62rem;
    padding-right: 3rem;
}

.section-cta .links-wrapper {
    align-self: flex-end;
    width: 50%;
    max-width: 50rem;
    padding-left: 3rem;
}

/* Knappar / Lankar */
.section-cta .btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 1.5rem 0;
}

.section-cta .btn::after {
    color: inherit;
}

.section-cta .contacts-wrapper {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.section-cta .link-dotted {
    border-color: rgb(var(--white-color));
}

.section-cta .link-dotted:hover {
    color: rgb(var(--gray-color));
}

.section-cta .contacts-wrapper p {
    margin: 0 1rem;
}

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

@media only screen and (max-width: 980px) {
    .section-cta .text-block {
        width: 100%;
        max-width: 60rem;
        padding-right: 0;
    }

    .section-cta .links-wrapper {
        width: 100%;
        max-width: 60rem;
        padding-left: 0;
    }
}

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

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 55vh;
    background-color: rgb(var(--black-color), .4);
}

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

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

.hero .text-label::before {
    background-color: rgb(var(--primary-color));
}

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

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

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

/* Accordion
========================================================================== */
.accordion-item {
    width: 100%;
    margin-bottom: 1rem;
    transition: .3s ease;
}

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

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

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

.accordion-header p {
    font-weight: 600;
}

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

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

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

    /* Header */
    .accordion-header {
        padding: 1.5rem 4rem 1.5rem 1.5rem;
    }

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

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

/* ==========================================================================
Undersida: Priser & Paket
========================================================================== */
.table {
    width: 100%;
}

/* Rad */
.row {
    display: flex;
    flex-wrap: wrap;
    transition: .3s ease;
}

.row:not(:last-of-type) {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.row:not(.table-heading):hover {
    background-color: rgb(var(--gray-light-color), .5);
}

.row p:not(.text-smaller) {
    padding: 0;
    font-size: 1.5rem;
}

/* Cell */
.cell {
    width: calc(100% / 3);
    padding: 1.3rem;
}

@media only screen and (max-width: 750px) {
    .table-heading {
        display: none;
    }

    /* Cell */
    .row .cell:first-of-type {
        width: 100%;
    }

    .row .cell:not(:first-of-type) {
        width: calc(100% / 3);
    }
}

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

    /* Row */
    .row:nth-child(odd) {
        background-color: rgb(var(--gray-light-color));
    }

    /* Cell */
    .row .cell,
    .row .cell:not(:first-of-type) {
        width: 100%;
        padding: 1rem 2rem;
    }
}

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

.section-contact .col-1,
.section-contact .col-2 {
    width: calc(100% / 2 - 2rem);
    padding: 5rem;
    border-radius: 2rem;
    border: 1px solid rgb(var(--gray-color));
    background-color: rgb(var(--white-color));
}

.section-contact .col-2 {
    background-color: rgb(var(--secondary-color));
}

/* Formular */
.section-contact .ContactForm p {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgb(var(--white-color));
}

.ContactForm input[type="text"],
.ContactForm input[type="number"],
.ContactForm input[type="email"],
.ContactForm input[type="tel"],
.ContactForm input[type="date"],
.ContactForm input[type="datetime-local"],
.ContactForm select,
.ContactForm textarea,
.ContactForm .file-item,
.ContactForm .file-dropzone {
    border-color: transparent;
}

.ContactForm>div.submit-button-container {
    margin-bottom: 0;
}

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

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

    .section-contact .col-1,
    .section-contact .col-2 {
        width: calc(100% / 2 - 1rem);
        padding: 3rem;
    }
}

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

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

    .section-contact .col-2 {
        margin-top: 3rem;
    }
}

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

    .section-contact .col-1,
    .section-contact .col-2 {
        padding: 3rem;
    }
}

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

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

.footer-menu {
    max-width: 20%;
    padding-right: 3rem;
}

.footer-menu-large {
    max-width: 45%;
}

.footer .text-label {
    padding: 0 0 1rem;
    font-size: calc(var(--base-size) - 2px);
    line-height: 1;
    color: rgb(var(--black-color));
}

.footer .text-label::before {
    display: none;
}

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

.footer-top .socials {
    margin-top: 1rem;
}

.footer-top li,
.footer-top p,
.footer-top a:not(.circle-icon) {
    font-size: calc(var(--base-size) - 1px);
    color: rgb(var(--gray-dark-color));
}

.footer-top li {
    line-height: 2.3;
}

.footer a:not(.circle-icon) {
    text-decoration: none;
    font-size: calc(var(--base-size) - 2px);
    transition: .3s ease;
}

.footer a:not(.circle-icon):hover {
    color: rgb(var(--primary-color));
}

/* Logo */
.footer-top .logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-top .logo img {
    height: 8rem;
}

.footer-top .logo p {
    font-size: 2rem;
    margin-left: 1.5rem;
}

.footer-top .logo p span:nth-child(1) {
    display: block;
    padding-bottom: .3rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
}

.footer-top .logo p span:nth-child(2) {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* Footer middle */
.footer-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* 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(--gray-light-color));
}

.footer-bottom p,
.footer-bottom a {
    padding: 0;
    font-size: calc(var(--base-size) - 3px);
    line-height: 1.6;
    color: rgb(var(--gray-dark-color));
}

/* WebbEss Stamp  */
.footer .webbess-stamp {
    display: flex;
    align-items: center;
}

.webbess-stamp img {
    opacity: .6;
    width: 2.5rem;
    margin-left: 1rem;
}

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

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

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

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

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