/* Pattis Akademi AB */

/* Brodtext: Open sans + Rubriker: Almaq Rough */
@import url("https://use.typekit.net/aei8hfv.css");

/* Animationer */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

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

    /* 	Colors */
    --primary-color: 236, 139, 45;
    --secondary-color: 0, 164, 219;

    --black-color: 16, 16, 16;
    --gray-color: 70, 70, 70;
    --gray-light-color: 242, 242, 242;
    --white-color: 255, 255, 255;

    --accent-green-color: 132, 191, 65;
    --accent-yellow-color: 254, 218, 46;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1100;
    --mobile-menu-height: 6rem;
    --mobile-menu-bg: 16, 16, 16;
    --menu-color: rgb(var(--white-color));
}

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

}

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

/* Specifika paddings */
.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,
.pb-0:not(.section-wrapper) {
    padding-bottom: 0;
}

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

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

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

.pr-0 .section-block {
    padding-right: 0;
}

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

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

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

.LayoutPage .pt-2 {
    padding-top: 2rem;
}


.mt-2{
    margin-top: 2rem;
}
.mt-6{
    margin-top: 6rem;
}
.mb-2{
    margin-bottom: 2rem;
}

/* Specifika bredder */
.mw-800 .section-block-wrapper {
    max-width: 80rem;
}
.mw-1000 .section-block-wrapper {
    max-width: 100rem;
}

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

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

.mh-55 {
    max-height: 55rem;
}

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

    .p-0 .section-block {
        padding-right: 2rem;
    }
}

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

/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%,-50%);
    transition: .3s ease;
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%,-50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%,-50%) scale(0);
}

/* Innehåll */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    max-width: 45rem;
    max-height: calc(100vh - 12rem); 
    padding: 4rem;
    margin: 0 2rem;
    background: rgb(var(--white-color));
    border-radius: 2rem;
    box-shadow: 0 0 3rem rgba(15, 36, 47, .3);
    overflow: auto;
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.icon-close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
}

.popup-window{
    background-image: url("/assets/images/sommar2022.jpg");
    background-size: cover;
    height: 500px;
    border: 1px solid rgb(var(--primary-color));
   
}
.popup-window h2{
    color: rgb(var(--primary-color));
    text-align: center;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.popup-window h3{
    color: white;
    text-align: center;
    font-size: 3rem;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.popup-window .trans-back{
   
    border-radius: 10px;
}
@media only screen and (max-width: 450px) {
    .popup-window {
        padding: 2rem 3rem 2rem 2rem;
    }

    .icon-close-popup {
        top: 1rem;
    }
}

/* 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: 150rem;
    max-height: 85vh;
    padding: 0rem;
    border-radius: 2rem;
    overflow: auto;
    background: rgb(var(--black-color));
    transform: translate(-50%,-50%);
  }

  .section-auto-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    cursor: pointer;
    color: rgb(var(--white-color));
  }

    .section-auto-modal .split-wrapper .split-image::after {
 display: none;
}

 @media only screen and (max-width: 450px) {
    .section-auto-modal .close-modal {
        top: .5rem;
        right: 1rem;
        font-size: 2rem;
      }
  }


/* Text och typsnitt
========================================================================== */
body {
    font-family: open-sans, sans-serif;
    background-color: rgb(var(--black-color));
    color: rgb(var(--white-color));
}

/* rubriker */
.section-title {
    font-size: 5.5rem;
    line-height: 1.2;
    font-weight: 300;
    padding-bottom: 2rem;
    letter-spacing: 1px;
    color: transparent;
    text-transform: uppercase;
    font-family: almaq-refined, sans-serif;
    color: rgb(var(--black-color));
}

.small-title {
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-family: almaq-refined, sans-serif;
    color: rgb(var(--black-color));
}

.text-label {
    font-size: 1.6rem;
    line-height: 1.3;
    padding-bottom: .4em;
    font-weight: 500;
    font-family: open-sans;
    color: rgb(var(--black-color));
}

/* Text */
p {
    font-weight: 400;
    color: rgb(var(--white-color));
    font-family: inherit;
}

a {
    color: rgb(var(--primary-color));
    font-size: inherit;
    font-weight: 300;
    text-decoration: none;
}

.link {
    font-weight: 800;
}

.link:hover {
    text-decoration: underline;
}

/* ovriga klasser */
.text-bold {
    font-weight: 700;
}

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

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

.text-block-center {
    max-width: 75rem;
    margin: 0 auto;
}

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

blockquote {
    font-size: 2rem;
    margin: 1rem 0;
    margin-bottom: 3rem;
    line-height: 1.7;
}

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

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

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

    .text-label {
        font-size: 1.45rem;
    }
}

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

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

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

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

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

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

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

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

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

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

.btn-secondary-filled,
.ContactSubmit {
    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));
}

/* Snoknappar 

.btn {
    position: relative;
}
  
.btn::before { 
    content: '';
    display: block;
    position: absolute;
    top: -7px;
    left: -3px;
    right: 0;
    height: 23px;
    background: url('/assets/images/seasons/snow-left.png') no-repeat 0 0,
        url('/assets/images/seasons/snow-middle.png') no-repeat 50% 0,
        url('/assets/images/seasons/snow-right.png') no-repeat 100% 0;
}
*/

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    font-size: 1.5rem;
}

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

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

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

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

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

.circle-icon:hover,
.circle-icon.primary:hover,
.circle-icon.secondary:hover {
    color: rgb(var(--black-color));
    background-color: rgb(var(--accent-yellow-color));
}

/* Bouncing arrow */
.bouncing-arrow-wrapper {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    border-radius: 50% 50% 0 0;
    background: rgb(var(--black-color));
    transform: translatex(-50%);
}

.bouncing-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    color: rgb(var(--white-color));
    border-radius: 50%;
    background-color: rgb(var(--accent-green-color));
}

.bouncing-arrow i {
    color: rgb(var(--white-color));
    font-size: 3rem;
    font-weight: 500;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@media only screen and (max-width: 1000px) {
    .bouncing-arrow-wrapper {
        width: 4rem;
        height: 4rem;
        right: 3rem;
        bottom: -1rem;
    }

    .bouncing-arrow {
        width: 3.4rem;
        height: 3.4rem;
    }

    .bouncing-arrow i {
        font-size: 2rem;
    }
}

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

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

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

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

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

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

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

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

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

.text-accent-yellow {
    color: rgb(var(--accent-yellow-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: rgba(var(--white-color), .7);
}


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

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

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

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

.bg-video-wrapper video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
}

.split-video {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50rem;
}

.video-ratio {
    position: relative;
    height: 0;
}

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

/* Bilder, grafiska element
========================================================================== */
.op-top img {
    object-position: top;
}

.op-85 img {
    object-position: 50% 85%;
}

.op-0-50 img {
    object-position: 0% 50%;
}

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



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

/* Halvsektionsparallax */
.parallax-half {
    position: relative;
}

.parallax-half::after {
    content: '';
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 65%;
    top: 0;
    left: 0;
    background-attachment: fixed;
    background-size: cover;
}

.parallax-half .section-block {
    z-index: 2;
    position: relative;
    padding-top: 30rem;
    background-image: linear-gradient(to bottom, rgba(var(--black-color), 0.6) 60%, rgb(var(--black-color)) 60%);
}

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

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

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

.split-content {
    width: 50%;
    padding: 7rem;
    z-index: 8;
}

.split-content.pl-0 {
    padding-left: 0;
}

.split-image {
    width: 50%;
    border-radius: 1rem;
    z-index: 5;
    /* Bakgrundsrutan */
    overflow: visible;
}

.split-wrapper .split-image::after {
    content: '';
    z-index: -1;
    position: absolute;
    top: -4rem;
    right: -7rem;
    width: 100%;
    height: 95%;
    border-radius: 1rem;
    background-color: rgb(var(--secondary-color), .8);
}

.split-wrapper.reverse .split-image::after {
    content: '';
    z-index: -1;
    position: absolute;
    top: -6rem;
    left: -7rem;
    width: 100%;
    height: 95%;
    border-radius: 1rem;
    background-color: rgb(var(--primary-color), .8);
}

.mw-none .split-image::after {
    display: none;
}

.split-image video,
.image-wrapper video {
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    object-fit: cover;
    max-height: 60rem;
}

.split-image.border {
    border: 2.5rem solid rgb(var(--primary-color));
    box-shadow: 0 1rem 3rem rgb(var(--black-color), .1);
}

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

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

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

    .split-image {
        width: 80%;
        min-height: 30rem;
        margin: 5rem auto 0;
    }

    .split-wrapper .split-image::after {
        top: -2rem;
        right: -2rem;
    }

    .split-wrapper.reverse .split-image::after {
        top: -2rem;
        left: -2rem;
    }

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

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

    .split-content {
        padding: 2rem;
    }

    .split-image {
        width: 95%;
        min-height: 30rem;
        margin: 3rem auto 0;
    }

    .split-wrapper .split-image::after {
        top: -1rem;
        right: -1rem;
    }

    .split-wrapper.reverse .split-image::after {
        top: -1rem;
        left: -1rem;
    }
}


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

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

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

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

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

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

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

@media only screen and (max-width: 1200px) {
    .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;
    }

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

@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 1 */
.cards-1 .card-item {
    display: flex !important;
    flex-direction: column;
    width: calc((100% / 3) - 4rem);
    height: auto;
    padding: 3rem;
    margin: 1rem 2rem;
    border-radius: 1rem;
    background: #FFF;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1);
}

.cards-1 .card-header {
    padding-bottom: 2rem;
}

.cards-1 .card-item p {
    color: rgb(var(--black-color));
}

.cards-1 .card-footer {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0;
    margin: auto 0 0;
    border-top: 1px dotted rgb(var(--secondary-color));
}

.cards-1 .card-footer p {
    padding: 0;
    font-size: 1.4rem;
    font-style: italic;
}

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

/* Cards 6*/
.cards-6 .card-item {
    padding: 3rem;
    margin-top: 7rem;
    border-radius: 1rem;
    background-color: rgb(var(--black-color));
    margin-bottom: 5rem !important;
}

.cards-6 .image-wrapper {
    z-index: 1;
    width: 20rem;
    height: 20rem;
    margin: -7rem auto 3rem;
    border-radius: 50%;
}

.cards-6 .image-wrapper.icon {
    padding: 3rem;
    background-color: rgb(var(--black-color));
    border: 1px solid rgb(var(--primary-color));
}

.cards-6 .small-title,
.cards-6 p,
.cards-6 .btn,
.cards-6 a {
    text-align: center;
}

.cards-6 a {
    width: 100%;
    margin: 1rem 0;
}

.cards-6 .btn {
    display: flex;
    margin: 1rem 0;
    justify-content: center;
}

/* Cards 8 */
.cards-8 .card-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-decoration: none;
}

.cards-8 .image-wrapper {
    height: 38rem;
    border-radius: 5px;
}

/* Speciell installningar rutor */
.cards-8 .card-item:nth-child(4) {
    display: flex;
    align-self: center;
}

.cards-8 .card-item:nth-child(2) {
    flex-direction: column-reverse;
    margin-top: 4rem;
}

.cards-8 .text-wrapper {
    z-index: 1;
    position: relative;
    flex-grow: 1;
    width: 90%;
    margin: -4rem auto 0;
    padding: 3.5rem;
    transform: rotate(.5deg);
    border-radius: 1rem;
}

.cards-8 .card-item:nth-child(2) .text-wrapper {
    margin: 0 auto;
    margin-bottom: -6rem;
}

.cards-8 a {
    margin-top: 1rem;
}

@media only screen and (max-width: 1200px) {
    .cards-8 .card-item:nth-child(3),
    .cards-8 .card-item:nth-child(4) {
        margin-top: 3rem;
    }
}

@media only screen and (max-width: 750px) {
    .cards-8 .text-wrapper {
        padding: 3rem 2rem;
    }

    .cards-8 .card-item:nth-child(2),
    .cards-8 .card-item:nth-child(3),
    .cards-8 .card-item:nth-child(4) {
        flex-direction: column;
        margin-top: 2rem;
    }

    .cards-8 .card-item:nth-child(2) .text-wrapper {
        margin-bottom: 0;
        margin-top: -2rem;
    }

    /* .cards-8 .card-item:nth-child(4) .text-wrapper {
        margin-top: 4rem;
    } */
}

/* Logos 1 */
.logos-1 .card-item {
    text-align: center;
}

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

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

@media only screen and (max-width: 868px) {
    .logos-1 img {
        max-height: 8rem;
    }
}

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

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

header .container {
    padding: 0 2rem;
}

/* Logo */
.header-logo img {
    max-height: calc(var(--menu-height) + 2px);
    background-color: rgb(var(--black-color));
}

header.scrolled .header-logo img {
    max-height: 10rem;
}

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

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

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

/* nav */
nav.mainmenu a {
    font-weight: 500;
    font-size: 1.7rem;
    font-family: inherit;
    color: rgb(var(--white-color));
}

.TemplateMenu ul {
    background-color: rgb(var(--black-color), .7);
}

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

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

header.mobile-menu .container {
    padding: 0 1rem;
}

header.mobile-menu .header-cta-wrapper .btn {
    padding: 8px 1rem;
    font-size: 1.2rem;
}

header.mobile-menu .header-cta-wrapper {
    margin-right: 1rem;
}

.mobile-menu .hamburger {
    padding-right: 3px;
}

header.mobile-menu .circle-icon {
    width: 3rem;
    height: 3rem;
}

header.mobile-menu .circle-icon em:before {
    font-size: 1.3rem;
}

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

}

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

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

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

.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

.fa-snowflake {
    color: rgb(var(--white-color)) !important;
    position: absolute; 
    top: -20px;
    animation: fall linear forwards;
}
  
@keyframes fall {
    to { transform: translateY(110vh); }
}

 
/* Top-section
========================================================================== */
.top-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
    height: auto;
    min-height: 98vh;
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .4);
}

.top-section h1 {
    font-weight: 400;
    font-size: 7rem;
    padding-bottom: 2rem;
    color: rgb(var(--primary-color));
    font-family: almaq-refined, sans-serif;
    text-transform: uppercase;
    max-width: 80rem;
    margin: 5rem auto 0;
    text-align: center;
}

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

.badge {
	position: absolute;
	width: 22rem;
	height: 22rem;
	padding: 3.5rem;
	text-align: center;
	justify-content: center;
	align-self: center;
	align-items: center;
	display: flex;
	transform: rotate(-10deg);
	bottom: 10rem;
    right: 5rem;
    background-image: url(/assets/images/star2.png);
    background-size: contain;
}

.badge * {
	line-height: 1.5;
	font-size: 1.3rem;
	padding: 0;
	color: rgb(var(--black-color));
	text-align: center;
}

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

.badge .smaller-text{
	font-size: 1rem; 
	font-weight: 100; 
}

@media only screen and (max-width: 1450px) {
    .top-section h1 {
        font-size: 14rem;
    }
}

@media only screen and (max-width: 1450px) {
    .top-section h1 {
        font-size: 5.5rem;
    }
}

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

@media only screen and (max-width: 800px) {
    .top-section h1 {
        margin: 10rem auto 0;
    }

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

	.badge {
		bottom: 5rem;
	}
}

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

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

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

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

    .badge {
        right: 2rem;
        bottom: 2rem;
    }
}

/* Sektion services
========================================================================== */
.section-services .news-img {
    object-position: top;
} 


/* Sektionens Om
========================================================================== */

.greeting-person {
    border-bottom: 1px solid rgb(var(--accent-yellow-color));
    margin: 1rem 0;
    padding: 1rem 0;
}

/* Sektion Omdomen (section-reviews)
========================================================================== */
.section-reviews {
    overflow: hidden;
}

.section-reviews.parallax-half::after {
    background-image: url(/assets/images/latin-night-2000.jpg);
}

.scroll-wrapper .card-item {
    margin: 0 2rem 0 0;
}

/* Slick */
.scroll-wrapper {
    padding-bottom: 5rem;
}

.scroll-wrapper .slick-list {
    overflow: visible;
}

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

.scroll-wrapper .slick-arrow {
    top: auto;
    bottom: 0;
    width: 4rem;
    height: 4rem;
    background-color: rgb(var(--primary-color));
    border-radius: 50%;
}

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

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

.scroll-wrapper .slick-prev {
    right: 7rem;
}

/* Sektionens Om lararna
========================================================================== */
.section-teachers .cards-8 .card-item:nth-child(2) {
    flex-direction: column;
    margin-top: 0;
}

.section-teachers .cards-8 .image-wrapper {
    min-height: 50rem;
}

.section-teachers .cards-8 .card-item:nth-child(2) .text-wrapper {
    margin: -4rem auto 0;
    transform: rotate(-1deg);
}

.section-teachers .btn {
    margin: 1rem 0;
}

/* Instagram
========================================================================== */
.section-insta {
    overflow: hidden;
}

.insta-widget {
    position: relative;
}

.insta-widget .eapps-instagram-feed-posts-item:nth-child(odd) {
    transform: rotate(1deg);
    border-radius: 3px;
}

.insta-widget .eapps-instagram-feed-posts-item:nth-child(even) {
    transform: rotate(-1deg);
    border-radius: 3px;
}


/* Anmalning
========================================================================== */
.section-signup {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 50%, rgba(var(--black-color)) 50%);
    overflow: hidden;
}

.grecaptcha-badge {
    display: none;
}

.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 1rem;
    padding: 4rem;
    background-color: rgb(var(--white-color));
    box-shadow: 0 1rem 3rem rgb(var(--black-color), .1);
}

.ContactForm div {
    width: 49%;
}

.section-signup .field-6 {
    display: none;
}

.ContactSentMessage {
    margin-bottom:5rem;
}

.ContactForm select {
    width: 100%;
    height: 4rem;
    background-color: rgb(var(--gray-light-color));
    border: none;
    border-radius: 1rem;
}

.ContactForm .ContactFormMessage {
    width: 100%;
}

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

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

/* Meddelandet har skickats */
.ContactSentMessage {
    max-width: 60rem;
    padding: 2rem;
    margin: 0 auto 2rem;
    text-align: center;
    background: rgb(var(--primary-color));
}

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

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

    .ContactForm {
        padding: 4rem 2rem;
    }
}



.section-signup-full .field-6 {
    display: none;
}

.section-signup-full .field-8 {
    display: none;
}


.section-name .field-9 text {
    display: none !important;
}

.radio-btn {
    font-size: var(--base-size);
}

.ContactForm .radio-btn div {
    margin-bottom: 1rem;
}

input[type="radio"] {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgb(var(--primary-color));
    border-radius: 50%;
}

input[type="radio"]:checked {
    background-color: rgb(var(--primary-color));
}
/* ==========================================================================
Undersidor 
========================================================================== */

/* Hero
========================================================================== */
.hero-1 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 65vh;
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgba(var(--black-color), 0.25);
    border-left: 13rem solid rgb(var(--black-color));
    background-image: url(/assets/images/border-bottom-top-rounded-black.svg);
    background-size: 15rem;
    background-position: top left;
    background-repeat: no-repeat;
}

.hero-1 .heading-wrapper {
    position: relative;
    left: -13rem;
}

.hero-1 h1 {
    font-size: 15rem;
    font-family: almaq-rough, sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    transform: rotate(-3deg);
}

h1.text-smaller {
    font-size: 10rem;
}

.hero-1 .btn {
    transform: rotate(3deg);
}

/* Notis med viktig info, tex pa vara kurser */
.notis-wrapper {
    background-color: rgb(var(--accent-yellow-color));
    max-width: 28rem;
    margin-top: 3rem;
    padding: 1rem;
    border-radius: 7px;
    transform: rotate(-2deg);
    position: relative;
    bottom: -4rem;
}

/* Beskrivning (kort mening under, som en del av headern) */
.description {
    border-left: 13rem solid rgb(var(--black-color));
}

.description p {
    font-size: 2.5rem;
    padding: 4rem 2rem;
}

.description-title {
    font-size: 2.5rem;
}

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

    .hero-1,
    .description {
        border-left: 6rem solid rgb(var(--black-color));
    }

    .hero-1 .heading-wrapper {
        position: relative;
        left: -6rem;
    }

    h1.text-smaller {
        font-size: 7rem;
    }
}

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

    .hero-1,
    .description {
        border-left: 4rem solid rgb(var(--black-color));
    }

    .hero-1 .heading-wrapper {
        left: -4.5rem;
    }

}

@media only screen and (max-width: 600px) {
    .hero-1 h1 {
        font-size: 5rem;
    }

    h1.text-smaller {
        font-size: 4rem;
    }

    .description,
    .hero-1 {
        border-left: 3rem solid rgb(var(--black-color));
    }

    .hero-1 .heading-wrapper {
        left: -3.5rem;
    }

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

    .hero-1 {
        min-height: 50vh;
        background-size: 10rem;
    }

    .notis-wrapper {
        padding: 5px;
        bottom: -7rem;
    }
}

/* ==========================================================================
Undersida: Vara kurser
========================================================================== */
/* Responsive table */
.responsive-table {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.table {
    width: 100%;
    display: table;
    margin: 0;
}

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

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

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

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

.cell {
    display: table-cell;
}

.row .cell {
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    color: rgb(var(--black-color));
    line-height: 1.2;
    border-bottom: 1px solid rgb(var(--gray-light-color));
    text-transform: none;
    font-weight: 400;
    letter-spacing: normal;
}

.row.header .cell {
    font-size: 1.6rem;
    color: rgb(var(--white-color));
    line-height: 1.2;
    font-weight: 800;
    padding-top: 19px;
    padding-bottom: 19px;
}

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

.row:hover {
    background: rgb(var(--gray-light-color));
    cursor: default;
}

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

    .table {
        display: block;
    }

    .row {
        display: block;
    }

    .cell {
        display: block;
    }

    .row.header {
        padding: 0;
        height: 0px;
    }

    .row.header .cell {
        display: none;
    }

    .row .cell:before {
        font-size: 1.5rem;
        font-weight: 500;
        color: rgb(var(--secondary-color));
        line-height: 1.2;
        text-transform: uppercase;
        margin-bottom: 13px;
        content: attr(data-title);
        min-width: 98px;
        display: block;
    }
}

@media (max-width: 768px) {
    .row {
        border-bottom: 1px solid rgb(var(--primary-color));
        margin: 0;
    }

    .row .cell:nth-child(1)::before {
        color: rgb(var(--white-color));
        font-size: 3rem;
        font-family: almaq-rough, sans-serif;
    }

    .row .cell:nth-child(1) {
        background-color: rgb(var(--primary-color));
        color: rgb(var(--white-color));
    }

    .row .cell {
        color: rgb(var(--black-color));
        line-height: 1.2;
        font-weight: unset !important;
    }

    .table,
    .row,
    .cell {
        width: 100% !important;
    }
}

@media only screen and (max-width: 550px) {
    .section-table .section-block {
        border-left: 2rem solid rgb(var(--black-color));
    }

    .table-section .section-block {
        max-width: 90rem;
        margin: 0 auto;
        padding: 0 1.5rem 5rem;
    }

    .row.header .cell {
        font-size: 1.5rem;
        padding-top: 1.8rem;
        padding-bottom: 1.8rem;
    }

    .row .cell {
        width: unset;
        font-size: 1.3rem;
        padding: .8rem 1rem;
    }
}

/* Gomt galleri men syns i fancyboxen
========================================================================== */
.hidden-gallery {
    display: none;
}


/* Kalender
========================================================================== */


.section-signup iframe {
    box-shadow: 0 1rem 3rem rgb(var(--black-color), .1);
    border: none !important;
    padding: 1rem;
    background-color: rgb(var(--white-color));
    border-radius: 2px;
    margin: 0 auto;
    width: 90rem;
    max-width: 100%;
    position: relative;
}

@media only screen and (max-width: 768px) {
    .section-signup iframe {
        width: 70rem;
        padding: 1.5rem;
        padding: 1rem;
    }
}


/* ==========================================================================
Undersida: Vara Event
========================================================================== */
.description .text-block {
    max-width: 120rem;
}

/* Uppvisningar, ligger nu dold
========================================================================== */
.split-slider {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-bottom: 10rem;
}

.split-image-wrapper {
    width: 65%;
}

.split-image-wrapper .image-wrapper {
    height: calc(100vh - 25rem);
}

.split-text-wrapper {
    position: relative;
    width: 45%;
    margin-left: -10%;
    bottom: 15rem;
    padding: 5rem;
    background-color: rgb(var(--white-color));
}

.split-text-wrapper p {
    max-width: 45rem;
}

.slick-list {
    width: 100% !important;
}

/* slick knappar */
.split-slider .slick-arrow {
    position: absolute;
    right: -8rem;
    bottom: 0;
    width: 4rem;
    height: 4rem;
    font-size: 0;
    background-color: rgba(var(--secondary-color));
    border: 1px solid rgba(var(--secondary-color));
    cursor: pointer;
    transition: .4s;
}

.split-slider .slick-arrow.slick-prev {
    right: -4rem;
}

.split-slider .slick-arrow:not(.slick-disabled):hover,
.split-slider .slick-arrow:not(.slick-disabled):focus {
    background-color: rgba(var(--secondary-color), .6);
    border: 1px solid rgba(var(--secondary-color), .6);
}

.split-slider .slick-prev:after,
.split-slider .slick-next:after {
    color: rgb(var(--white-color));
    font-size: 2rem;
}

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

    .split-image-wrapper .image-wrapper {
        height: 50vh;
    }

    .split-text-wrapper {
        position: relative;
        bottom: unset;
        width: 100%;
        margin-left: 0;
    }

    .split-slider .slick-arrow {
        bottom: -20rem;
        right: 0;
    }

    .split-slider .slick-arrow.slick-prev {
        right: 5rem;
    }
}

@media only screen and (max-width: 500px) {
    .split-slider {
        padding-bottom: 0;
    }

    .split-text-wrapper {
        padding: 2rem;
    }

    .split-slider .slick-arrow {
        bottom: -14rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */

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

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

.footer :is(p, a) {
    color: rgba(var(--white-color));
    font-family: open-sans;
}

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

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 8rem 0 4rem;
    border-bottom: 1px solid rgba(var(--accent-yellow-color));
}

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

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

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

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

.footer .text-label {
    font-weight: 600;
}

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

.footer-bottom p {
    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 {
    min-width: 20rem;
}

.webbess-stamp a {
    padding: 0;
    font-size: 1.3rem;
    font-weight: 400;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.webbess-stamp img {
    max-width: 3rem;
    margin-left: 1rem;
    filter: invert();
}


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

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

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

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

    .footer-top {
        padding-top: 2rem;
    }
}

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

    /* Footer top */
    .footer-menu,
    .footer-menu-large {
        width: 100%;
    }

    .webbess-stamp a {
        justify-content: flex-start;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem 0;
    }

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

}
