/* Incontro AB */

/* Typsnitt */
@font-face {
    font-family: 'Gotham';
    src: url('/assets/fonts/gotham-book.otf');
    font-weight: 400;
}

@font-face {
    font-family: 'Gotham';
    src: url('/assets/fonts/gotham-medium.otf');
    font-weight: 500;
}

@font-face {
    font-family: 'Gotham';
    src: url('/assets/fonts/gotham-bold.otf');
    font-weight: 700;
}

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

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

    /* 	Colors */
    --primary-color: 179, 135, 44;
    --primary-dark-color: 153, 112, 38;
    --secondary-color: 216, 102, 42;

    --accent-beige-color: 240, 236, 227;
    --accent-canteen-color: 68, 123, 59;
    --accent-campus-color: 41, 86, 116;
    --accent-senior-color: 132, 33, 36;

    --black-color: 17, 17, 17;
    --gray-dark-color: 68, 68, 68;
    --gray-light-color: 242, 242, 242;
    --white-color: 255, 255, 255;

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

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

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

.section-block-wrapper {
    max-width: var(--section-width);
}
.mw-700 .section-block-wrapper {
    max-width: 70rem;
}
.mw-1500 .section-block-wrapper {
    max-width: 150rem;
}

/* Paddings */
.p-3:not(.section-wrapper),
.p-3 .section-block {
    padding: 3rem;
}

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

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

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

.pt-2:not(.section-wrapper),
.pt-2 .section-block {
    padding-top: 2rem;
}
.mb-3{
    margin-bottom: 3rem;
}
.mb-5 {
    margin-bottom:5rem;
}

/* Paddings */
.p-1 .section-block,
.p-1:not(.section-wrapper) {
    padding: 1rem;
}

/* Margins */
.ml-auto {
	margin-left: auto;
}

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

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

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

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

/* Rubriker */
.text-label {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    padding-bottom: 1em;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: .5em;
}

.small-title {
    font-weight: 500;
    font-size: 2.5rem;
    line-height: 1.4;
    padding-bottom: .7em;
}

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

.small-title::before {
    content: '';
    position: relative;
    right: 1.3rem;
    display: inline-block;
    height: 0.1rem;
    width: 2.5rem;
    margin-bottom: .3em;
    margin-left: 1.3rem;
    border-bottom: 2px solid rgb(var(--primary-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: inherit;
}

a:hover {
    text-decoration: none;
}

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

.text-block-center {
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
}

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

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

.text-center {
    text-align: center;
}
.margin-right{
    margin-right: auto;
}

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

.list-check li {
    padding-bottom: 1rem;
}

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.4rem 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
    border-radius: 3rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
}

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

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

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

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

/* Btn Arrow */
.btn-arrow {
    display: flex;
    justify-content: space-between;
}

.btn-arrow::after {
	content: ' \f0a9';
	font-family: 'Font Awesome 5 Pro';
	display: inline-block;
	margin-left: .3rem;
	transition: transform .4s ease;
}

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


@media only screen and (max-width: 580px) {
    .btn:not(.btn-nav, .footer .btn) {
        display: block;
        width: 100%;
    }

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

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

@media only screen and (max-width: 350px) {
    .arrow-link {
        font-size:1.5rem;
   
    }
}

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

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

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

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

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

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

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

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

.text-white {
    color: rgb(var(--white-color));
}
/* Grafiska element
========================================================================== */

/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}

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

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

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

.card-item {
    text-decoration: none;
}

/* Specifika bredder utan margin*/
.cards-wrapper.w-33 .card-item {
    width: calc((100% / 3));
}
/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

    .cards-wrapper.w-33 .card-item {
        width: 100%;
    }
}

/* card-1-1 */
.card-1-1 .card-item {
    position: relative;
    border-radius: 3px;
    background-color: rgb(var(--white-color));
    
}

.card-1-1 .text-wrapper {
    z-index: 1;
    position: relative;
    padding: 3rem;
    border-radius: 1rem;
}

.card-1-1 .quote {
    position: relative;
    margin: -5rem 0 2rem;
    font-size: 6.5rem;
    color: rgb(var(--secondary-color));
}

/* Card 3-1 */
.card-3-1 .card-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 20vw;
    padding-top: 5rem;
    padding-bottom: 7rem;
}

.card-3-1 .image-wrapper {
    width: 100%;
    text-align: center;
}

.card-3-1 img {
    max-width: 30rem;
}

.card-3-1 .btn-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 2rem;
}

@media only screen and (max-width: 550px) {
    .card-3-1 img {
        max-width: 20rem;
      }
   }
   

/* Card 3-6 */
.card-3-6 .card-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 35rem;
    padding: 0;
    border-radius: 0.5rem;
}

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

.card-3-6 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .3s ease-in-out;
}

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

.card-3-6 .card-body {
    z-index: 1;
    position: relative;
    display: inline-block;
    min-width: 50%;
    pointer-events: none;
    margin-bottom:2rem;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

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

.card-3-2 .image-wrapper {
    height: 27rem;
}

.card-3-2 p {
    font-size: 1.5rem;
}

/* Card 3-3 */
.card-3-3 .card-body {
    padding: 3rem;
    background-color: rgb(var(--white-color));  
}

.card-3-3 .contact-item i {
    margin-right: 1rem;
}

@media only screen and (max-width: 550px) {
    .card-3-3 .card-body {
        padding:1.5rem;
        background-color: transparent;
      }

      .card-3-3 p {
          font-size:1.5rem;
      }
   }
   

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

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

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

.split-image {
    width: 50%;
}

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

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

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

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

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

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

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

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

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

/* Header / Navigation
========================================================================== */
header .container {
    padding: 0 5rem;
}

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

.header-logo img {
    padding: 2rem 0;
}

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

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

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

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem; 
    line-height: 1;
}

/* Mobilmeny */
.mobile-menu .container {
    height: var(--mobile-menu-height);
}

.mobile-menu .hamburger {
    margin: 0 -1rem 0 1rem;
}

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

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

    .header-cta-wrapper .btn {
        min-width: unset;
        padding: 0.7rem 1.5rem;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: 80vh;
    background-color: rgb(var(--black-color), .5);
}

.top-section .section-title {
    font-size: 8rem;
    font-weight: 400;
    max-width: 80rem;
    color: rgb(var(--white-color));
}

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

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

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

/* Sektion recensioner
========================================================================== */
.section-slider {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper .slick-list {
    width: 100%;
    overflow: visible;
}

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

.scroll-wrapper.cards-wrapper .card-item {
    display: flex;
    height: auto;
}

/* Card item */
.scroll-wrapper .card-item {
    display: flex;
    flex-direction: column;
    margin: 0 2rem 0 0;
}

/* Slick Arrow */
.scroll-wrapper .slick-arrow {
    position: absolute;
    top: auto;
    bottom: -4rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
}

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

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

.scroll-wrapper .slick-prev {
    left: auto;
    right: 6rem;
}

/* ==========================================================================
Undersida
========================================================================== */

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    align-items: flex-end;
    min-height: 50vh;
    padding-bottom: 5rem;
   background-color: rgb(var(--black-color), .3) ;
}

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

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

/* Hero-text
========================================================================== */
.hero-text .text-block {
    max-width: none;
}

.hero-text .section-title {
    padding: 0 0 1rem;
    margin: 0 0 1rem;
    color: rgb(var(--white-color));
    border-bottom: 3px solid rgb(var(--primary-color));
}

.hero-text .section-title.accent-canteen {
    border-bottom: 3px solid rgb(var(--accent-canteen-color));
}

.hero-text .section-title.accent-senior {
    border-bottom: 3px solid rgb(var(--accent-senior-color));
}

.hero-text p {
    color: rgb(var(--white-color));
    font-size: 2rem;
}

/* ==========================================================================
Undersida Kvalitet och Hallbarhet
========================================================================== */
.section-list {
    overflow: hidden;
}

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

.line-list li {
    position: relative;
    padding: 0 0 2rem;
}

.line-list li:not(:last-child) {
    margin-bottom: 3rem;
}

.line-list li:not(:last-child)::after {
    position: absolute;
    display: block;
    content: '';
    width: 100vw;
    height: 1px;
    background-color: rgb(var(--black-color), .2);
    left: 0;
    bottom: 0;
}
/* ==========================================================================
Undersida: Nyhetsrum
========================================================================== */
.date-badge{
    background-color: rgb(var(--primary-color));
padding: 0.3rem;
padding-left: 1rem;
padding-right: 1rem;
border-top-right-radius: 1rem;
border-bottom-right-radius: 1rem;
position: absolute;
left: 0;
top: 0;
margin-top: 2rem;
}

.news-title{
font-size: 2rem ;
}

.date-badge p{
padding-bottom: 0;
color: rgb(var(--white-color));
font-size: 1.3rem;
}
/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
#simpliform .btn-success {
    background-color: rgb(var(--primary-color)) !important;
    border-color: rgb(var(--primary-color)) !important;
    color: #fff;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    background-color: rgb(var(--black-color));
    padding: 0 5rem;
}

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

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5rem 0 3rem;
    border-bottom: 1px solid rgb(var(--white-color), .5);
}

.footer ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}
 
.footer-top li,
.footer-top p {
    color: rgb(var(--white-color));
}

.footer .btn {
    margin: 0 1rem 1rem 0;
}

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

.footer-bottom p,
.footer-bottom a {
    display: inline-block;
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgb(var(--white-color));
}

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

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

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

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