/* City Trafikskola i Goteborg/Partille AB */

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

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

    /* 	Colors */
    --primary-color: 255, 129, 9;
    --primary-dark-color: 217, 109, 9;
    --secondary-color: 31, 162, 255;
    --secondary-dark-color: 26, 137, 217;

    --accent-green-color: 86, 143, 5;
    --accent-yellow-color: 217, 200, 8;
    --accent-red-color: 176, 65, 62;

    --black-color: 20, 20, 20;
    --gray-color: 205, 205, 205;
    --gray-dark-color: 61, 61, 61;
    --gray-light-color: 242, 242, 242;
    --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: 10rem 5rem;
}

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

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

/* Speciella paddings */
.p-2{
    padding: 2rem;
}
.pt-0 .section-block, 
.pt-0:not(.section-wrapper) {
    padding-top: 0;
}

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

.pb-0 .section-block {
    padding-bottom: 0;
}
.pb-2 {
    padding-bottom: 2rem;
}
.pb-3 {
    padding-bottom: 3rem;
}

.pb-5 .section-block {
    padding-bottom: 5rem;
}

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

.p-0 .section-block {
    padding: 0;
}

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

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

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

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

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

@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 */
.flex-end {
    display: flex;
    justify-content: flex-end;
}

.column {
    display: flex;
    flex-direction: column;
    width: 20rem;
}

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

/* Rubriker */
.section-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 700;
    padding-bottom: .5em;
    color: rgb(var(--black-color));
}

.small-title {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: .5em;
    color: rgb(var(--black-color));
}

.text-label {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    padding-bottom: 2rem;
}

.text-title {
    padding-bottom: 0.5em;
    font-family: 'Open Sans', sans-serif;
    font-size: var(--base-size);
    font-weight: 700;
    line-height: 1.4;
    color: rgb(var(--black-color));
}

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

a {
    font-size: inherit;
    font-weight: 400;
    text-decoration: underline;
    color: var(--primary-color);
}

a:hover {
    text-decoration: none;
}

.ingress {
    font-size: calc(var(--base-size) * 1.2);
    font-weight: 600;
}

.smaller-text {
    font-size: 2rem;
    font-weight: 300;
}

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

.list-check li {
    margin-bottom: 5px;
    font-size: 1.5rem;
}
 
.list-check li::before {
    content: '\f00c';
    padding: 5px;
    margin-right: 1rem;
    color: rgb(var(--white-color));
    font-weight: 700;
    font-size: .8rem;
    font-family: 'Font Awesome 5 Pro';
    background: rgb(var(--primary-color));
    border-radius: 50%;
}


/* Ovriga klasser */
.text-block-center {
    max-width: 70rem;
    margin: 0 auto;
}

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

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

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

.text-light {
    font-weight: 300;
}
.box-center{
    margin: auto;
    justify-content: center;
}

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

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

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

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

    .text-label {
        font-size: 1.2rem;
    }
    .ingress {
        font-size: 1.8rem;
        font-weight: 600;
    }
}

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

.btn-wrapper.multiple .btn:not(:last-child) {
    margin-right: 2rem;
    display: flex;
}

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

.btn,
.ContactSubmit {
    display: inline-block;
    min-width: 18rem;
    padding: 1.4rem 2.5rem;
    font-weight: 600;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: none;
    border-radius: .8rem;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn-small {
    padding: .7rem 1rem;
}

.btn-large {
    width: 100%;
}

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

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

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

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

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

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

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

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

.btn-gray-border:hover {
    color: rgb(var(--black-color));
    border: 1px solid rgb(var(--gray-color));
    background-color: rgb(var(--gray-color));
}

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

.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: 4rem;
    height: 4rem;
    padding: 0;
    margin: .5rem;
    font-size: 0;
    text-decoration: none;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgb(var(--gray-color));
    color: rgb(var(--gray-dark-color));
    transition: .3s ease;
}

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

.circle-icon em:before {
    font-size: var(--base-size);
}

@media only screen and (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 2rem;
    }
    .btn-wrapper {
        display: flex;
    flex-direction: column;
    }
    
    .btn-wrapper.multiple .btn:not(:last-child) {
        margin-right: 0rem;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Overlays */
.overlay-secondary .section-block {
    background-color: rgb(var(--secondary-color), .5);
}

.overlay-black .section-block {
    background-color: rgb(var(--black-color), .7);
}

/* Temafarger */
.theme-yellow {
    --theme-color: var(--accent-yellow-color);
}

.theme-orange {
    --theme-color: var(--primary-color);
}

.theme-blue {
    --theme-color: var(--secondary-color);
}

.theme-green {
    --theme-color: var(--accent-green-color);
}

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


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

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

.cards-wrapper.space-between {
    justify-content: space-between;
}

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

.card-item {
    text-decoration: none;
    width: 100%;
    margin: 0 1rem;
}

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

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

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


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

@media only screen and (max-width: 750px) {
    .card-item {
        width: 100% !important;
        margin: 1rem 0 !important;
    }
}
/* Card 2-1 */
.card-2-1 a.card-item:hover {
    background: rgb(var(--primary-light-color));
}

.card-2-1 .card-header {
    margin-bottom: 2rem;
    font-size: 5rem;
}
/* Cards 7 */
.cards-7 .card-item {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgb(var(--gray-light-color));
    border-bottom: 3px solid rgb(var(--theme-color));
}

.cards-7 .image-wrapper {
    position: relative;
    padding-top: 50%;
    overflow: hidden;
}

.cards-7 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.cards-7 .small-title {
    margin: 0 0 5px;
}

.cards-7 .btn-wrapper {
    margin: auto 0 0;
    padding: 0 2rem 2rem;
}

/* Cards 14 */
.cards-14 .card-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 1 1 40rem;
    padding: 2rem;
    text-decoration: none;
    transition: all .3s ease;
}

.cards-14 a.card-item:hover {
    text-decoration: none;
    background-color: rgba(var(--primary-color), 0.1);
    transition: all .3s ease;
}

.cards-14 .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    margin: 0 2rem 0 0;
    background-color: rgb(var(--primary-color));
    border-radius: 50%;
}

.cards-14 i {
    color: rgb(var(--white-color));
    font-size: 2rem;
}

.cards-14 p {
    padding-bottom: 0;
    font-size: 1.4rem;
}

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

/* Cards 19 */
.cards-19 .card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgb(var(--white-color));
    border-radius: 5px;
    border: 1px solid rgb(var(--gray-color));
    overflow: hidden;
}

.cards-19 .card-header { 
    position: relative;
    background-color: rgb(var(--primary-color));
    text-align: center;
    padding: 2rem;
}

.cards-19 .small-title:not(.text-black) {
    padding: 0;
    color: rgb(var(--white-color));
}

.cards-19 .section-title {
    padding: 0;
}

.cards-19 .tag {
    position: absolute;
    width: 20rem;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    padding: 5px 10px;
    border-radius: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgb(var(--secondary-color));
    color: rgb(var(--white-color));
    border: 3px solid rgb(var(--white-color));
}

.cards-19 .text-wrapper {
    padding: 3rem;
    flex: 1 1 0px;
}

.cards-19 .price {
    text-align: center;
    padding: 3rem 3rem 0;
}

.cards-19 .btn-wrapper {
    padding: 0 3rem 3rem;
}

.cards-19 .btn {
    width: 100%;
}

@media only screen and (max-width: 580px) {
    .cards-19 .text-wrapper {
        padding: 2rem;
    }
    
    .cards-19 .price {
        padding: 2rem 2rem 0;
    }
    
    .cards-19 .btn-wrapper {
        padding: 0 2rem 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: 5px;
}

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

/* Specifika bredder */
.split-wrapper .w-40 {
    width: 40%;
}

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

@media screen and (max-width: 1300px) {
    .split-wrapper .w-60,
    .split-wrapper .w-40 {
        width: 50%;
    }

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

@media screen and (max-width: 1000px) {
    .split-content {
        width: 100%;
    }

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

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

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

    .split-content.full{
        padding: 4rem 2rem;
    }
}

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

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

.bg-image-wrapper-mobile {
    display: none;
}

@media only screen and (max-width: 580px) {
    .bg-image-wrapper {
        display: none;
    }
    .bg-image-wrapper-mobile {
    display: block
}
}

/* Bakgrundsvideo  */
.bg-video {
    position: relative;
}

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

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

/* 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(0, 0, 0, 0.7);  /* Darker background */
  }
  
  body:not(.EditMode) .section-auto-modal .section-block {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: 50rem;
    max-height: 90vh;
    padding: 0rem;
    border-radius: 0;
    overflow: auto;
    background: rgb(0, 0, 0);
    transform: translate(-50%, -50%);
  }
  
  .section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
    color: white;
  }

  .section-auto-modal .overlay-wrapper {
    position: absolute;
    width: 80%;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -0%);
    background-color: rgb(var(--primary-color), .85);
  }
  
  /* För mindre skärmar */
  @media only screen and (max-width: 580px) {
    .section-auto-modal .overlay-wrapper {
        position: relative;
        z-index: 2;
        width: 100%;
        background-color: rgb(var(--primary-color));
    }
  }
  
/* Header / Navigation
========================================================================== */
/* Header */
header {
    background-color: rgb(var(--white-color));
    border-bottom: 1px solid rgb(var(--gray-color));
}

header .container {
    max-width: 150rem;
    padding: 0 5rem;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* nav */
.mainmenu {
    order: 3;
    width: 100%;
    border-top: 1px solid rgb(var(--gray-color))
}

.TemplateMenu a {
    font-weight: 600;
    font-size: 1.4rem;
    padding: 0 1rem;
    line-height: 3rem;
    color: rgb(var(--gray-dark-color));
}

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

.TemplateMenu > li > a,
header.scrolled .TemplateMenu > li > a {
    line-height: 3rem;
    border-radius: 8px;
}

.TemplateMenu > li > a:hover {
    background-color: rgb(var(--gray-light-color));
}

.TemplateMenu > li {
    margin: 0 .5rem;
    padding: 1rem 0 .8rem;
    border-bottom: 2px solid transparent;
}

.TemplateMenu > li.active {
    border-color: rgb(var(--primary-color));
}

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

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: .8rem 1.6rem;
    line-height: 1;
    margin: 0;
}

.header-cta-wrapper .circle-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 8px;
    margin: 0;
}

/* Mobilmeny */
header.mobile-menu .header-logo {
    flex-grow: 1;
}

header.mobile-menu .TemplateMenu > li {
    border: none;
    padding: 0;
    margin: 0;
}

header.mobile-menu .TemplateMenu a {
    padding: 0 2rem;
}

/* Mobilmeny */
@media only screen and (max-width: 1024px) {
    header .container {
        padding: 0 3rem;
    }
}

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

@media only screen and (max-width: 400px) {
    .header-cta-wrapper .circle-icon {
      display:none;
    }

    header .container {
        padding: 0 1rem;
        margin: 0 auto;
        flex-wrap: unset;
    }
    
}

/* ==========================================================================
Startsida
========================================================================== */
/* Top Section
========================================================================== */

.top-section .section-block {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding-bottom: 5rem;
    background-color: rgb(var(--black-color), .5);
}

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

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

/* .top-section .col-wrapper {
    max-width: 90rem;
} */

.top-section h1 {
    font-size: 5rem;
    font-weight: 700;
}

.top-section h1 span {
    display: block;
    font-size: .3em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.top-section p {
    color: rgb(var(--white-color));
    text-align: left;
    max-width: 55rem;
}

.top-section .col-0 {
    padding-bottom: 8rem;
}

@media only screen and (max-width: 1024px) {
    .top-section .col-1,
    .top-section .col-2 {
        display: flex;
        justify-content: center;
        padding-top: 2rem;
    }

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

    .top-section h1 {
        font-size: 4rem;
        max-width: 65rem;
    }

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

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

    .top-section .col-0 {
        padding-top: 2rem;
        padding-bottom: 4rem;
    }

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

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

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

/* Sektion Instagram (.section-insta-intro och .section-insta)
========================================================================== */
.section-insta, .section-reviews {
    overflow:hidden;
}

.insta-widget {
    position: relative;
}
  
/* Styling fÃ¶r sjÃ¤lva carden */
.insta-widget .eapps-instagram-feed-posts-item {
    border-radius: 5px;
    overflow: hidden;
}

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

/* Hero
========================================================================== */

.hero-big .section-block {
    padding-top: 30rem;
    padding-bottom: 5rem;
}

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

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

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

/* ==========================================================================
Undersida > Enskild utbildning
========================================================================== */
/* Sektion Info
========================================================================== */
.section-education .col-1 {
    align-self: flex-start;
    padding: 3rem 3rem 2rem;
    border: 1px solid rgb(var(--gray-color));
    border-bottom: 5px solid rgb(var(--theme-color));
    border-radius: 5px;
    overflow: hidden;
}

.section-education .col-1 .small-title {
    padding-bottom: 2rem;
}

.section-education .col-1 .btn-wrapper {
    margin-top: 1rem;
}

.section-education .btn-large {
    background-color: rgb(var(--theme-color));
    border-color: rgb(var(--theme-color));
}

.section-education .btn-large:hover {
    background-color: rgb(var(--theme-color), .7);
    border-color: rgb(var(--theme-color), .7);
}

@media only screen and (max-width: 1000px) {
    .section-education .col-1 {
        margin: 5rem 0 0;
    }
}

/* ==========================================================================
Undersida > Anmalan
========================================================================== */
.cta-form .section-block-wrapper {
    position: relative;
    max-width: 60rem;
    margin: 0 auto -5rem;
    top: -5rem;
    background-color: rgba(var(--white-color));
    border-bottom: 3px solid rgb(var(--secondary-color));
    border-radius: 3px;
    overflow: hidden;
}

.EditMode .cta-form .section-block-wrapper {
    top: 0;
    margin: 0 auto;
}

.cta-form .text-wrapper {
    margin: 2rem 2rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgb(var(--secondary-color));
}

.cta-form .text-wrapper p {
    color: rgb(var(--white-color));
    padding: 0;
}

.cta-form .Contact {
    padding: 2rem;
}

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

.ContactForm input[type="text"],
.ContactForm textarea {
    border: 1px solid rgb(var(--gray-dark-color));
    border-radius: 10px;
}
.ContactForm select{
    border-radius: 1rem;
}

.section-anmalan .field-2,
.section-anmalan .field-3,
.section-anmalan .field-4 {
    display: none;
}

.ContactForm select {
    width: 100%;
    height: 4rem;
}
.section-anmalan{
    max-width: 80rem;
    margin: auto;
}

/* ==========================================================================
Undersida > Priser
========================================================================== */
/* Paketpriser */
.packages .card-item {
    border-radius: 3rem;
    border: none;
    box-shadow: 0 0 2rem rgb(var(--black-color), .15);
}

.packages .card-header {
    padding: 2rem 2rem 3rem 2rem; 
    background: radial-gradient(circle, rgba(var(--primary-color)) 0%, rgba(var(--primary-color) ,.9) 100%);
}

.packages .card-header-black {
 background: rgb(var(--black-color));
}

.packages .tag {
    width: 10rem;
}

.packages .price .small-title {
    font-size: 3rem;
    padding-bottom: 0;
}

.badge {
    position: absolute;
    top: 45px;
    right: -48px;
    padding: 5px 50px; 
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: rgb(var(--white-color));
    background: rgb(var(--black-color));
    transform: rotate(45deg);
}

.badge.intensiv2 {
    top: 15px;
    right: -55px;
    background: rgb(var(--primary-color));
}  

.badge.intensiv3 {
    top: 22px;
    right: -35px;
} 

@media only screen and (max-width: 1450px) {
    .packages .list-check li {
        font-size: 1.3rem;
    }
}

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

/* Pristabell */
.small-table {
    display: flex;
    flex-wrap: wrap;
}

.small-table .row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 2rem;
}

.small-table .row::after {
    position: relative;
    bottom: 25%;
    order: 1;
    content: '';
    flex: 1 1 0px;
    margin: 0 5px;
    display: inline-block;
    border-bottom: 1px dotted rgb(var(--gray-color));
}

.small-table .row p {
    line-height: 1.5;
    padding: 0;
}

.small-table .row p:first-child {
    order: 0;
}

.small-table .row p:last-child {
    order: 2;
}
/* Tidigare pris samt nuvarande no space */
.price-stroke{
    white-space: nowrap;
}

/* Tidigare pris */
.stroke {
    position: relative;
    padding: 0 5px;
    margin-left: 5px;
}

.stroke::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    margin-top: -1px;
    background: rgb(var(--secondary-color)); 
}

@media screen and (max-width: 500px) {
    .small-table .row p {
        font-size: 1.2rem;
    }
}

/* Table */
.table {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(var(--white-color));
    border-radius: 5px;
    border: 1px solid rgb(var(--gray-color));
    overflow: hidden;
}

.table-header {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: rgb(var(--primary-color));
    text-align: center;
    padding: 2rem 3rem;
}

.table-header .small-title {
    padding: 0;
}

.table-body {
    display: table;
    width: 100%;
}

.row {
    display: table-row;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

.cell {
    display: table-cell;
}

.row .cell {
    width: calc(100% / 2.5);
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    color: rgb(var(--black-color));
    line-height: 1.2;
    border-bottom: 1px dotted rgb(var(--gray-color));
    font-weight: 400;
}

.row .cell.small {
    width: 10%;
}

.row.header .cell {
    font-size: 1.6rem;
    color: rgb(var(--white-color));
    line-height: 1.2;
    font-weight: 400 !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

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

    .table {
        max-width: 100%;
        overflow: scroll;
        display: block;
        padding: 0;
    }

    .table-body {
        width: 60rem;
    }

    .row .cell {
        font-size: 1.3rem;
        padding: 0.8rem;

    }
}

/* ==========================================================================
Undersida E-handel
========================================================================== */
.ehandel-box{
    margin: auto;
    text-align: center;  
}

.section-ehandel .section-block {
    padding: 1rem 0 1rem 1rem;
}

@media screen and (max-width: 500px) {
    .page-template-default {
        overflow: hidden !important;
    }

    #iframe-kkj {
        height: 100vh !important;
    }
}

/* ==========================================================================
Undersida Kontakt
========================================================================== */
/* Sektion Kontaktformular
========================================================================== */
.section-contact {
    background-image: linear-gradient(to right, rgb(var(--white-color)) 50%, rgb(var(--gray-light-color)) 50%);
}

.section-contact .section-block {
    padding-top: 0;
    padding-bottom: 0;
}

.section-contact .col-0 {
    padding: 5rem 0;
}

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

.contact .card-item {
    border-radius: 8rem 0 0 8rem;
}

/* Formular */
.section-contact .ContactForm {
    margin-top: 2rem;
}

.formstyle .Contact input:not(.ContactSubmit), 
.formstyle .Contact textarea {
    border-radius: 5px;
}

.formstyle .Contact p {
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 0 5px;
}

.formstyle .grecaptcha-badge {
    display: none;
}

/* Bekraftelseruta */
.ContactSentMessage {
    padding: 1rem 1rem 1rem 7rem;
    margin: 2rem 0;
    border-radius: .5rem;
    background-color: rgba(var(--primary-color), .2);
    background-image: url(/assets/images/icons/message-sent.svg);
    background-size: 4rem;
    background-position: 1.5rem center;
    background-repeat: no-repeat;
}

.ContactSentMessage p {
    padding: 0;
}

@media only screen and (max-width: 1000px) {
    .section-contact {
        background-image: none;
    }
    
    .section-contact .section-block {
        padding: 0;
    }
    
    .section-contact .col-0 {
        background-color: rgb(var(--gray-light-color));
        padding: 3rem;
    }

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

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

    .section-contact .col-0 {
        padding: 2rem 0 2rem 2rem;  
    }

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

/* Sektion Karta
========================================================================== */
.section-map iframe {
    height: 50rem;
}

@media only screen and (max-width: 1000px) {
    .section-map iframe {
        height: 30rem;
    }
}

/* ==========================================================================
Undersida Intensivkurs
========================================================================== */
.section-prices {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 50%, rgb(var(--white-color)) 50%);
    background-size: 100% 10rem;
    background-repeat: no-repeat;
    background-position: center top;
}

/* Fragor och svar
========================================================================== */
.accordion-wrapper {
    max-width: 100rem;
    margin: 5rem auto 0;
}

.accordion-item {
    background-color: rgb(var(--white-color));
    padding: 2rem;
    margin: 0 0 3rem;
    border-radius: 1rem;
    box-shadow: 0 .5rem 1rem rgb(var(--black-color), .1);
}

.accordion-header {
    position: relative;
    padding: 0 2rem;
    cursor: pointer;
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    top: -2px;
    right: 2rem;
    font-size: 1.7rem;
    font-family: "Font Awesome 5 Pro";
    background-color: rgb(var(--primary-color), .2);
    color: rgb(var(--primary-color));
    border-radius: 50%;
    transition: .5s ease;
}

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

.accordion-header p {
    color: rgb(var(--black-color));
    font-weight: 600;
    padding: 0 4rem 0 0;
    line-height: 1.5;
}

.accordion-body {
    padding: 2rem 0;
    margin: 2rem 2rem 0;
    border-top: 1px solid rgb(var(--gray-light-color));
}

@media only screen and (max-width: 580px) {
    
    .accordion-header {
        padding: 0;
    }
    
    .accordion-header::after {
        top: 5px;
        right: 0;
    }
    
    .accordion-header p {
        padding: 0 4rem 0 0;
    }
    
    .accordion-body {
        margin: 2rem 0 0;
    }
}

/* ==========================================================================
Undersida Korkort steg for steg
========================================================================== */

.steps {
    list-style-type: none;
}

.steps li {
    position: relative;
}

.steps li:not(:last-child) {
    padding: 0 0 5rem;
}

.steps li::before {
    position: absolute;
    content: '';
    display: block;
    width: 2px;
    height: 100%;
    background-color: rgb(var(--secondary-color), .5);
    top: 0;
    left: -3rem;
    transform: translateX(-1px);
}

.steps li:last-child:before {
    height: 3rem;
}

.steps li::after {
    position: absolute;
    content: '';
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgb(var(--primary-color));
    top: .8rem;
    left: -3rem;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid rgb(var(--white-color))
}

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

.footer-container {
    max-width: 150rem;
    padding: 0 4rem;
    margin: 0 auto;
}

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

.footer-menu {
    margin: 1rem 0.5rem;
}

.footer-menu:first-child {
    width: 30%;
}

.logo {
    height: 11rem;
    width: 11rem;
    margin: 1rem;
}

.logo img {
    height: 100%;
}

.footer-menu:last-child {
    padding: 0;
    margin: 0;
    width: 10%;
}

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

.footer-top p,
.footer-top a,
.footer-top li {
    color: rgb(var(--black-color), .7);
    font-weight: 600;
    font-size: 1.4rem;
}

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

.footer p.small-title {
    font-size: 1.4rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgb(var(--primary-color));
}

/* Partners */
.partners {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 1rem;
}

.footer .circle-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 1rem 1rem 0;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgb(var(--gray-color), .2);
}

.footer-bottom p {
    font-size: 1.4rem;
    color: rgb(var(--black-color), .5);
}

.footer-bottom .circle-icon,
.footer-bottom .circle-icon:hover {
    color: rgb(var(--white-color));
}

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

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


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

    .footer-container {
        padding: 0 3rem;
    }

    /* 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, 
    .footer-menu:first-child {
        width: 100%;
    }
    
    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .logo {
        height: 10rem;
        width: 10rem;
        margin: 2rem 0 1rem 0;
    }

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

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