/* Haninge Motorklubb */

/* Typsnitt Open Sans (brodtext, lankar) Open Sans (rubriker) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;

    /* 	Colors */
    --primary-color: 0, 66, 0137;
    --secondary-color: 255, 221, 0;

    --black-color: 17, 17, 17;
    --gray-dark-color: 51, 51, 51;
    --gray-color: 242, 242, 242;
    --gray-light-color: 237, 233, 223;
    --white-color: 255, 255, 255;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1000;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: 255, 255, 255;
}

/* Layout
========================================================================== */
.section-block {
    padding: 14rem 5rem;
}

.section-block-wrapper {
    max-width: 98rem;
}

/* Specifika paddings */
.p-2 {
    padding: 2rem;
}

.p-3 {
    padding: 3rem;
}

.py-5 .section-block,
.py-5:not(.section-wrapper) {
    padding-bottom: 5rem;
    padding-top: 5rem;
}

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

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

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

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

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

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

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

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

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

/* Margins */
.mr-0 {
    margin-right: 0 !important;
}

.mr-4 {
    margin-right: 4rem;
}

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

/* Bredder */
.mw-70 {
    max-width: 7rem;
}

.mw-1200 .section-block-wrapper {
    max-width: 120rem;
}

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

.mw-600 .section-block-wrapper {
    max-width: 60rem;
}

.mw-650 .section-block-wrapper {
    max-width: 65rem;
}

.mw-1500 .section-block-wrapper {
    max-width: 150rem;
}

.mw-1600 .section-block-wrapper {
    max-width: 160rem;
}

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

.m-100 {
    width: 100%
}

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

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

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

.justify-flex-start {
    justify-content: flex-start !important;
}

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

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

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

.section-title {
    padding-bottom: .3em;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: rgb(var(--black-color));
}

.small-title {
    padding-bottom: .5em;
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgb(var(--primary-color));
}

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

.small-text {
    font-size: 1.3rem;
    color: rgb(88, 87, 87);
    text-align: right;
    padding-right: 1rem;
}

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

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

@media only screen and (max-width: 550px) {
    .text-label {
        font-size: 1.2rem;
    }
}

/* Brodtext och lankar */
p {
    font-weight: 400;
    color: rgb(var(--gray-dark-color));
}

a {
    color: rgb(var(--primary-color));
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: none;
}

/* Listor */
ul {
    padding-left: 2rem;
}

.styled-list {
    padding-inline-start: 1rem;
}

.styled-list li {
    position: relative;
    padding-left: .5rem;
    padding-bottom: 1rem;
    list-style-type: none;
}

.styled-list li::before {
    content: '\f559';
    position: absolute;
    top: 40%;
    left: -5.5rem;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 2.7rem;
    font-family: 'Font Awesome 5 Pro';
    transform: translateY(-50%);
}

/* List properties */
.list-properties {
    padding: 0;
    margin-top: 0;
    list-style: none;
}

.list-properties li {
    display: flex;
    justify-content: space-between;
    padding-bottom: .3rem;
    margin-bottom: .3rem;
    font-size: 1.5rem;
    border-bottom: 1px solid rgb(var(--white-color), .5);
}

.list-properties li span {
    padding: 0 .5rem;
}

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

.text-block.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-block.center .m-10 {
    margin-top: -10rem;
}

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

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

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


/* Knappar och speciella lankar
========================================================================== */
.btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
}

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

.btn-wrapper .btn {
    margin-right: 2rem;
    margin-bottom: 2rem;
}

.btn-wrapper .btn:last-child {
    margin-right: 0;
}

.btn-wrapper.space {
    justify-content: space-evenly;
}



/* Knappar */
.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 20rem;
    padding: 1.4rem 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 3rem;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

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

.ContactSubmit:hover {
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--secondary-color));
    background-color: rgb(var(--secondary-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-white-filled {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--white-color));
    background-color: rgb(var(--white-color));
}

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

.btn.doc i {
    margin-right: .5rem;
}

.btn-small {
    min-width: unset;
    padding: .7rem 1.5rem;
}

@media only screen and (max-width: 550px) {
    .btn-wrapper {
        display: block;
        width: 100%;
    }

    .btn-wrapper .btn {
        display: block;
        width: 100%;
        margin: 2rem 0 0 0;
    }
}

/* Speciella lankar */
.arrow-link {
    padding-right: 1rem;
    font-weight: 700;
}

.arrow-link::after {
    content: ' \f178';
    display: inline-block;
    margin-left: .5rem;
    font-family: 'Font Awesome 5 Pro';
    font-size: .7em;
    transition: transform .4s ease;
}

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



/* Drop down btn */
.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin: 0 .5rem;
    transition: 0.2s ease-in-out;
}

.dropbtn {
    cursor: default;
    padding: 1rem 1.5rem;
}

.dropbtn::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Pro';
    padding-left: 1rem;
}

.dropdown:hover .dropbtn::after {
    transform: rotate(-180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(var(--white-color));
    width: 100%;
    min-width: 15rem;
    text-align: left;
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
    z-index: 3;
    border-radius: 1rem;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}

.dropdown-content.ledning {
    top: 4rem;
}

.dropdown-content a {
    color: rgb(var(--black-color));
    padding: 1rem 2rem;
    text-decoration: none;
    display: block;
    font-size: 1.4rem;
}

.dropdown-content a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media only screen and (max-width: 510px) {
    .dropdown {
        width: 100%;
    }

    .dropbtn {
        padding: 1.5rem 2rem;
        cursor: pointer;
    }
}

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

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

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

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

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

.bg-primary-light {
    background-color: rgba(var(--primary-color), .2);
}

.gradient-white-yellow .section-block {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 20rem, rgba(var(--secondary-color), .2) 10rem);
}

.gradient-white-blue .section-block {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 5rem, rgba(var(--primary-color), .2) 5rem);
}

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

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

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

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

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

/* Border */
.no-border-bottom {
    border-bottom: none !important;
}

/* Split wrapper
========================================================================== */
.split-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.split-wrapper.reverse {
    flex-direction: row-reverse;
}

.split-content {
    width: 50%;
    padding: 7rem 5rem;
}

.small-split .split-content {
    padding: 0 5rem 0 0;
}

.split-image {
    width: 50%;
    border-radius: 2px;
}

.of-wrapper.right img {
    object-position: right;
}

.of-wrapper img.contain {
    object-fit: contain;
}

.split-image.mt--5rem {
    margin-top: -5rem;
    margin-bottom: 5rem;
}

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

/* Speciella bredder */
.split-wrapper .w-60 {
    width: 60%;
}

.split-wrapper .w-40 {
    width: 40%;
}

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

@media screen and (max-width: 1000px) {
    .split-image.mt--5rem {
        margin-top: 0rem;
    }

    .split-content,
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 100%;
    }

    .small-split .split-content {
        padding: 0 0 3rem 0;
    }

    .bg-primary-light .section-block {
        padding: 5rem 2rem 5rem;
    }

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

    /* Speciella margins */
    .split-wrapper .mt--20 {
        margin-top: 0;
    }
}

@media screen and (max-width: 580px) {
    .split-wrapper {
        background: transparent;
    }

    .split-content {
        padding: 0 0 3rem 0;
    }
}

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

.cards-wrappers {
    display: flex;
    align-items: baseline;
}

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

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

.box-shadow {
    box-shadow: 0 1rem 2rem rgb(0 0 0 / 6%);
}

/* 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) - 3rem);
    margin: 1.5rem;
}

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

.cards-wrapper.w-51 .card-item,
.cards-wrapper.container {
    width: calc((100% / 1) - 2rem);
    margin: 1rem;
}

.cards-wrapper.container .section-title {
    justify-content: center;
}

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

.cards-wrapper .card-item.w-100 {
    width: calc(100% - 3rem);
    margin: 1.5rem;
}

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

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

    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 1rem);
        margin: 0 .5rem 1rem;
    }
}

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

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

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

/* Cards 7*/
.cards-7 .card-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 3px;
    background: rgb(var(--white-color));
    transition: all .2s ease-in-out;
    transform-origin: bottom;
    max-height: 60rem;
}

.cards-7 .image-wrapper {
    overflow: hidden;
    height: 25rem;
    position: relative;
}

.cards-7 .image-wrapper .small-text {
    position: absolute;
    bottom: 0;
    right: 0;
    color: rgb(var(--white-color));
    background-color: rgb(var(--black-color), .4);
    padding: 1rem;
}

.cards-7 .text-wrapper {
    padding: 3rem;
}

.cards-7 .small-title {
    font-size: 2rem;
}

.cards-7 .btn-wrapper {
    margin: auto 0 0;
    padding: 1rem 3rem 3rem;
    flex-wrap: wrap;
}

.cards-7 .btn {
    width: 100%;
    margin-bottom: 1rem;
}

.cards-7 .card-item.bg-primary .text-wrapper {
    overflow-y: auto;
    padding-right: 3rem;
}

@media only screen and (max-width: 750px) {
    .cards-7 .card-item {
        max-height: none;
    }
}

/* Cards 8*/
.cards-8 .card-item {
    text-decoration: none;
    box-shadow: 0 1rem 2rem rgb(0 0 0 / 6%);
    background: rgb(var(--white-color));
    overflow: hidden;
}

.cards-8 .text-wrapper {
    padding: 2rem 3rem;
}

.cards-8 .small-title {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    border-bottom: 1px solid rgb(var(--primary-color));
}

/* Cards 14 */
.cards-14 .card-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 2.5rem;
    transition: all .3s ease;
    border-radius: 1rem;
}

.cards-14 a.card-item:hover {
    text-decoration: none;
    background-color: rgb(var(--gray-light-color));
    transition: all .3s ease;
}

.cards-14 a.contact-info:hover {
    text-decoration: none;
    color: rgb(var(--gray-dark-color));
}

.cards-14.award .card-item {
    margin: 3rem 1rem !important;
}

.cards-14 .icon-wrapper i {
    font-size: 3rem;
}

.cards-14 .text-bold {
    padding-bottom: 0;
}

.cards-14 i {
    width: 6rem;
    font-size: 3rem;
    color: rgb(var(--primary-color));
}

.cards-14 i.small {
    width: 3rem;
    font-size: 1.7rem;
    padding-top: 1.5rem;
}

.cards-14 .contact-info {
    font-size: 1.6rem;
    font-weight: 400;
}

/* Logos 1 */
.logos-1 .card-item {
    max-width: 23rem;
    max-height: 12rem;
    margin: 1rem;
    text-align: center;
}

.logos-1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(.94);
    transition: 0.2s ease-in-out;
}

.logos-1 .haninge-akeri {
    max-width: 30rem;
}

.logos-1 img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1);
}

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


/* Modal som öppnas automatiskt
========================================================================== */
body:not(.EditMode) .section-auto-modal {
    display: none;
    z-index: 9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(var(--black-color), .7);
}

body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 75rem;
    max-height: 75vh;
    padding: 4rem;
    border-radius: 0;
    overflow: auto;
    background: rgb(var(--white-color));
    transform: translate(-50%, -50%);
}

.section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
}

@media only screen and (max-width: 450px) {
    body:not(.EditMode) .section-auto-modal .section-block {
        padding: 3rem 2rem;
    }
}

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
}

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

/* Header / Navigation
========================================================================== */
header {
    background-color: rgb(var(--white-color));
    transition: all .2s ease;
}

header.scrolled {
    background-color: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgb(var(--black-color), .1);
    transition: all .2s ease;
}

/* header logo */
.header-logo {
    margin: 0 2rem 0 0;
}

/* nav */
nav.mainmenu {
    flex-grow: 1;
}

nav.mainmenu a {
    font-weight: 600;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgb(var(--gray-dark-color));
}

.TemplateMenu ul {
    width: auto;
    min-width: 100%;
}

.TemplateMenu ul li a {
    white-space: nowrap;
}

.TemplateMenu>li>ul>li>ul {
    left: 100%;
    right: auto;
}

nav.mainmenu a:hover,
header.scrolled nav.mainmenu a:hover {
    color: rgb(var(--primary-color));
}

.mobile-menu .TemplateMenu ul {
    left: auto;
}

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: .9rem 2.5rem;
    margin: 0 1rem;
}

.header-cta-wrapper.mobile {
    display: none;
}

/* Mobilmeny */
@media only screen and (max-width: 600px) {
    .header-cta-wrapper .btn {
        padding: 5px 1rem;
        font-size: 1.2rem;
        width: 95%;
    }

    .header-cta-wrapper {
        display: none;
    }

    .header-cta-wrapper.mobile {
        display: flex;
        justify-content: space-between;
        margin-left: 1.5rem;
    }

    header .container {
        padding: 0 1rem;
    }

    .header-logo {
        margin: 0 0rem 0 0;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    position: relative;
    text-align: center;
}

.top-section .image-wrapper {
    width: 100%;
}

.top-section .image-wrapper:first-child {
    margin-right: 1.5rem;
}

.top-section h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.3em;
    color: rgb(var(--primary-color));
    padding-bottom: .3em;
}

.top-section .of-wrapper {
    overflow: unset;
}

.header-gallery {
    display: flex;
}

.hero-logo,
.SubPage .hero-logo-center {
    position: relative;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    transform: translateY(-50%);
}

.hero-logo img,
.hero-logo-center img {
    border-radius: 50%;
    border: 7px solid rgb(var(--white-color));
}

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

    .top-section h1 {
        font-size: 3.5rem;
    }

    .header-gallery {
        min-height: 35vh;
    }
}

@media only screen and (max-width: 550px) {
    .top-section h1 {
        font-size: 3rem;
        max-width: 95%;
        margin: 0 auto;
    }

    .top-section .image-wrapper:first-child {
        margin-right: 1rem;
    }

    .top-section .btn-wrapper {
        flex-direction: column;
    }

    .top-section .btn-wrapper a {
        margin: 1rem 0;
    }

    .hero-logo,
    .SubPage .hero-logo-center {
        max-width: 8rem;
    }

    .header-gallery {
        min-height: 30vh;
    }
}

/* Sektion Tjanster (.section-services)
========================================================================== */
.section-services {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 20rem, rgba(var(--secondary-color), .2) 20rem);
    overflow: hidden;
}

.logo-wrapper img {
    width: 100%;
    max-width: 30rem;
}

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

/* Hero 
========================================================================== */
.hero {
    height: auto;
    min-height: 40vh;
    display: flex;
    align-items: flex-end;
    padding-left: 30rem;
    background-color: rgb(var(--black-color), 0.5);
}

.SubPage .hero-logo {
    position: absolute;
    bottom: -16rem;
    left: 10rem;
    z-index: 0;
}

.hero h1 {
    color: rgb(var(--white-color));
    font-size: 4rem;
    font-weight: inherit;
    padding-bottom: .5rem;
}

.hero p {
    max-width: 60ch;
}

.hero h1,
.hero p {
    z-index: 2;
    position: relative;
}

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

@media only screen and (max-width: 920px) {
    .hero {
        padding-left: 1rem;
        display: block;
        padding-bottom: 10rem;
    }

    .SubPage .hero-logo {
        bottom: -15rem;
        left: 3rem;
        max-width: 14rem;
    }

    .hero h1 {
        padding-top: 5rem;
        font-size: 3.5rem;
    }
}

@media only screen and (max-width: 580px) {
    .section-1 {
        padding-top: 10rem !important;
    }
}

@media screen and (max-width: 450px) {
    .SubPage .hero-logo {
        bottom: -9rem;
        left: 2rem;
        width: 10rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* ==========================================================================
Undersida: MC / Bil
========================================================================== */
.box-shadow {
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.07);
}

/* kontaktikoner */
.link-style a {
    font-size: 1.7rem;
    color: rgb(var(--gray-dark-color));
    font-weight: 300;
}

.link-style a em {
    font-weight: 600;
    color: rgb(var(--primary-color));
    padding-right: 1rem;
}

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

#sponsor .section-block {
    padding: 3rem 5rem;
}

@media only screen and (max-width: 450px) {
    .link-style a {
        font-size: 1.4rem;
    }
}

.logo-wrapper-news {
    display: flex;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.logo-wrapper-news img {
    padding-bottom: 1rem;
}

/* ==========================================================================
Undersida: Crosscart
========================================================================== */

/* Responsive table */
.responsive-table {
    width: 100%;
    max-width: 120rem;
    overflow: hidden;
}

.table {
    width: 100%;
    display: table;
    margin: 0;
    border: 1px solid rgb(var(--gray-light-color));
    border-bottom: none;
    border-radius: 3px;
    overflow: hidden;
}

.row.header {
    transition: 0.2s ease-in-out;
}

.row {
    display: table-row;
    background: rgb(var(--white-color));
    transition: 0.2s ease-in-out;
}

.row.header {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

.row.header:hover {
    background: rgb(var(--primary-color));
}

.cell,
.section-kalender .header-cell {
    display: table-cell;
}

.row .cell {
    width: calc(100% / 7);
    padding: 1.5rem;
    font-size: 1.5rem;
    color: rgb(var(--gray-dark-color));
    line-height: 1.2;
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

.row .cell.smaller {
    width: calc(100% / 11);
}

.row .cell.full {
    width: calc(100% / 2);
}

.row.header .cell {
    font-size: 1.8rem;
    color: rgb(var(--white-color));
    line-height: 1.2;
}

.table,
.row {
    width: 100%;
}

@media screen and (min-width: 769px) {
    .row:hover {
        background-color: rgb(var(--gray-light-color));
    }
}

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

    .responsive-table {
        margin: 0 -3rem;
        width: auto;
        max-width: none;
    }

    .table {
        display: block;
        border: none;
    }

    .row {
        display: block;
        border: none;
        padding: 2rem 3rem;
    }

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

    .row .cell,
    .section-kalender .cell.cell.smaller {
        display: block;
        width: 100%;
        padding: 1rem 0;
        border: none;
    }

    .section-kalender .cell-after {
        padding: 0;
    }


    .row.header {
        display: none;
    }

    .section-kalender .row.header {
        display: block;
        background-color: rgb(var(--primary-color));
        padding: 0rem 2rem 0.5rem 2rem
    }

    .row .cell:before {
        font-size: 1.2rem;
        color: rgb(var(--gray-dark-color));
        line-height: 1.2;
        text-transform: uppercase;
        margin-bottom: .5rem;
        content: attr(data-title);
        display: block;
    }

}

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

    .responsive-table {
        margin: 0 -2rem;
    }

    .row {
        padding: 2rem;
    }

    .section-kalender .row {
        padding: 2rem 2rem 1rem 2rem;
    }
}

/* ==========================================================================
Undersida: Funktionarsanmalan
========================================================================== */
.sign-up-section .col-1 {
    width: 60%;
}

.sign-up-section .col-0 {
    width: 40%;
}

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

    .sign-up-section .col-1,
    .sign-up-section .col-0 {
        width: 100%;
        padding-top: 3rem;
    }
}

/* ==========================================================================
Undersida: Funktionarsanmalan - enkel
========================================================================== */
.section-form .ContactForm {
    max-width: 56rem;
    margin: 3rem auto 0;
    padding: 3rem;
    background: rgb(var(--gray-light-color));
    border-radius: 1rem;
}

/* ==========================================================================
Undersida Motocross > Ordningsregler
========================================================================== */

/* Sektion Ordningsregler 
========================================================================== */
.accordion-item {
    padding-bottom: 2rem;
}

.accordion-header {
    position: relative;
    padding: 0 0 1rem;
    border-bottom: 1px solid rgb(var(--primary-color));
    cursor: pointer;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 1.7rem;
    font-family: "Font Awesome 5 Pro";
    transition: .5s ease;
}

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

.accordion-header p {
    padding-right: 2.5rem;
}

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

/* ==========================================================================
Undersida GDPR
========================================================================== */
.section-gdpr a:hover:not(.btn) {
    text-decoration: underline;
}

.section-gdpr .section-block-wrapper {
    display: flex;
}

.section-gdpr .col-1 {
    padding-top: 2rem;
}

/* ==========================================================================
Undersida Sms-notis
========================================================================== */
.section-sms .ContactFormEmail {
    display: none;
}

/* ==========================================================================
Undersida: Nyhetsarkiv
========================================================================== */
.text-arkiv {
    margin-bottom: 4rem;
    border-bottom: 2px solid rgb(var(--primary-color));
}

/* ==========================================================================
Undersida: Bli medlem
========================================================================== */
.section-medlem {
    max-width: 90rem;
    margin: auto;
}

.asterisk p:after {
    content: "*";
    font-size: 1.5rem;
    margin-left: 6px;
    color: red;
}

.section-medlem .field-5 {
    display: none;
}

.section-medlem .ContactForm select {
    border-radius: 1rem;
}

.ContactForm select {
    width: 100%;
    height: 4rem;
}

.ContactForm input[type="text"],
.ContactForm textarea {
    border-radius: 1rem;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--white-color));
}

.footer-container {
    max-width: 160rem;
    padding: 0 2rem;
    margin: 0 auto;
}

.footer :is(p, a) {
    color: rgb(var(--black-color), 0.7);
}

.footer a:hover {
    color: rgb(var(--black-color));
}

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    border-bottom: 1px dotted rgb(var(--primary-color));
}

.footer-menu {
    width: 20%;
    margin: 1.5rem 0;
}

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

.footer-menu-large p {
    max-width: 30rem;
}

.footer .small-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgb(var(--primary-color));
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

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

.footer-bottom a {
    font-size: 1.4rem;
}

.footer-bottom .circle-icon {
    width: 3rem;
    height: 3rem;
    color: rgb(var(--white-color));
}

.footer-bottom em::before {
    font-size: 1.4rem;
}

/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
    font-weight: normal;
}

.webbess-stamp img {
    width: 3rem;
    margin-left: 1rem;
}

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

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

    .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 bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem 0;
    }

    .footer-bottom .socials {
        margin-bottom: 1.5rem;
    }
}

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

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

    /* Footer bottom */
    .footer-bottom {
        padding: 2rem 0;
    }
}