/* AllCall / Pucksystem */

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

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display|Strait:300,400');
@import url('https://fonts.googleapis.com/css?family=Strait');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* Colors */
    --primary-color: 31, 76, 115;
    --secondary-color: 239, 177, 90;

    --black-color: 0, 0, 0;
    --gray-dark-color: 34, 34, 34;
    --white-color: 255, 255, 255;

    /* Layout */
    --col-padding: 3rem;
    --menu-height: 8rem;
    --menu-height-scrolled: 8rem;
    --section-width: 150rem;

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1150;
    --mobile-menu-height: 8rem;
    --mobile-menu-bg: var(--white-color);
}

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

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

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

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

/* Margins */
.mt-5 {
    margin-top: 5rem;
}

/* Specifika bredder */
.mw-1300 .section-block .section-block-wrapper {
	max-width: 130rem;
}

.mw-1500:not(.section-wrapper) {
    max-width: 150rem;
    margin: 0 auto;
}

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

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: 1.5rem;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1;
    color: rgb(var(--secondary-color));
}

.small-title {
    padding-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    color: rgb(var(--gray-dark-color));
}

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

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

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

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

/* Knappar och speciella länkar
========================================================================== */
.btn-wrapper {
	margin-top: 3rem;
}

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

/* Knappar */
.btn,
.ContactSubmit {
	padding: 1.6rem 5rem;
    font-weight: 600;
    font-size: 1.4rem;
	letter-spacing: .2em;
    line-height: 1em;
    text-align: center;
	text-transform: uppercase;
	text-decoration: none;
    border-radius: 5rem;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn:hover {
	text-decoration: none;
}

.btn-primary-filled,
.ContactSubmit {
    color: #FFF;
    background: rgb(var(--primary-color));
}

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

.btn-secondary-filled {
    color: #FFF;
    background: rgb(var(--secondary-color));
}

.btn-secondary-filled:hover {
    background: rgb(var(--primary-color));
}
/* Arrow link */
.arrow-link {
    padding-right: 1rem;
    font-size: var(--base-size);
    text-decoration: none;
    color: rgb(var(--primary-color));
}

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

a.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(--secondary-color));
    text-decoration: none;
    border-radius: 50%;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

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

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

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

/* Färger
========================================================================== */
/* Bakgrundsfärger */
.bg-primary {
	background-color: rgb(var(--primary-color));
}

.bg-secondary-light {
    background-color: #fae9d1;
}

.bg-gray {
    background-color: #f8f8f8;
}

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


.bg-gradient-primary{
    background: linear-gradient(to top, rgb(var(--primary-color)) 50%, rgb(var(--white-color)) 50%);
  }

/* Bakgrundsikon */
.bg-icon {
    position: relative;
    overflow: hidden;
}

.bg-icon * {
    z-index: 2;
    position: relative;
}

.bg-transmitter::after {
    z-index: 1;
    content: "\f1eb";
    position: absolute;
    bottom: -15rem;
    color: #255783;
    font-weight: bold;
    font-size: 60rem;
    font-family: 'Font Awesome 5 Pro';
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
}

.bg-puck::after {
    z-index: 1;
    content: "\f453";
    position: absolute;
    top: -7rem;
    right: -6rem;
    margin-bottom: 2rem;
    color: #f8e0bf;
    font-size: 25rem;
    font-family: 'Font Awesome 5 Pro';
}

/* Textfärger */
.text-primary {
    color: rgb(var(--primary-color));
}

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



.text-white {
	color: #FFF;
}
/* Grafiska element
========================================================================== */
/* Borders */
.border-top-primary {
    border-top: 1px solid rgb(var(--primary-color));
}
/* Box shadow */
.box-shadow {
    box-shadow: 0 1rem 3rem rgba(var(--black-color), .1);
}
.br-1{
    border-radius: 1rem;
}


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

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

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

.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 lift */
.cards-lift {
    padding-top: 5rem;
}

.cards-wrapper.cards-lift .lifted {
    margin-top: -5rem;
    margin-bottom: 5rem;
}
@media only screen and (max-width: 1100px) {
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 4rem);
        margin: 2rem;
    }
    
    .cards-wrapper.w-33 .card-item {
        width: calc((100% / 2) - 2rem);
    }
}

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

  /* Cards lift */
  .cards-lift {
    padding-top: 0;
}
}

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

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

.card-3-7 .image-wrapper {
    height: 23rem;
}
.card-3-7 img {
   object-fit: contain;
}
.card-3-7 a {
   text-decoration: none;
 }
 .card-3-7 .small-title {
   margin-top: 2rem;
  }
.card-3-7 .card-header {
    position: relative;
    display: inline-block;
    min-width: 80%;
    margin: -3rem 2rem 0;
}

.card-3-7 .card-header.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    min-width: unset;
    height: 7rem;
    padding: 2rem;
    margin: -3.5rem auto 2rem;
    border-radius: 50%;
    border: 2px solid rgb(var(--white-color));
}

.card-3-7 .card-header.circle p {
    font-size: 3rem;
}

/* Cards 6*/
.cards-wrapper.cards-6 .card-item {
    padding: 3rem 5rem;
    margin-top: 7rem;
    border-radius: .8rem;
    text-align: center;
    text-decoration: none;
    transform: scale(.98);
    transition: all .3s ease;
}

.cards-wrapper.cards-6 .card-item:hover {
    transform: scale(1);
}

.cards-6 .card-item.highlight {
    padding: 0 5rem 0;
    box-shadow: 0 1.5rem 3rem rgba(105, 85, 61, .27);
    background: #FFF;
}

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

.cards-6 .card-item.highlight .image-wrapper {
    width: 20rem;
    height: 20rem;
}

.cards-6 .small-title {
    margin-bottom: 1rem;
    border-bottom: 1px dotted #efb15a;
}

.cards-6 .card-item:not(.highlight) .small-title,
.cards-6 .card-item:not(.highlight) p,
.cards-6 .card-item:not(.highlight) a {
    color: #FFF;
}

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

/* Speciella margins */
.mt--10 {
    margin-top: -10rem;
    margin-bottom: 10rem;
} 

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

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

    /* Speciella margins */
    .mt--10 {
        margin-top: 0;
        margin-bottom: 0;
    } 
}

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

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

/* Bakgrundsbild
========================================================================== */
.bg-image {
    position: relative;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(90deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%);
}

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

/* Header / Navigation
========================================================================== */
header {
	box-shadow: 1px 1px 7px rgb(0,0,0,.1);
}

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

/* Nav */
.TemplateMenu a {
	font-weight: 600;
    font-size: 1.4rem;
	font-family: 'Open Sans', sans-serif;
}

.TemplateMenu a:hover {
	color: #a8a8a8;
	text-decoration: none;
}

.TemplateMenu li.active > a {
	color: rgb(var(--secondary-color));
}

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

/* Ta bort klick */
body:not(.EditMode) .TemplateMenu a[href="/17/9/ovriga-produkter/"] {
    pointer-events: none;
}

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

@media only screen and (max-width: 580px) {
    .header-cta-wrapper .btn {
        font-size: 1.3rem;
        padding: 1.5rem 2rem;
        white-space: nowrap;
    }
}

/* Mobilmeny */
header.scrolled .TemplateMenu>li>a {
    line-height: 5rem;
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    /*background-image: linear-gradient(194deg, rgba(var(--primary-color), 0.7) 0%, rgba(var(--primary-color), 0.6) 100%);*/
    background-color: rgba(var(--black-color), .2);
    /*background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: center left;*/
}

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

.top-section h1 {
    font-size: 5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.top-section p {
    max-width: 55rem;
}
.top-section .btn-wrapper .btn{
    margin-right: 2rem;
}

@media only screen and (max-width: 1110px) {
    .top-section {
        background-size: 100% 100%;
    }

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

    .top-section h1 {
        font-size: 5rem;
    }
    .top-section .btn-wrapper .btn{
        margin-right: 2rem;
        width: 100%;
        margin-bottom: 2rem;
    }
}

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

/* Fördelar med AllCall Pucksystem
========================================================================== */
.section-benefits .cards-wrapper .section-title {    
    font-size: 5.5rem;
    line-height: 5.5rem;
}

video {
    max-width: 100%;
}

/* Loggor
========================================================================== */
.references-logos .slick-track {
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.references-logos img {
	max-width: calc(100% - 4rem);
    max-height: 6rem;
    margin: 2rem;
}

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

/* Hero
========================================================================== */
.section-hero {
    background-image: url(/assets/images/allcall-blurry-restaurant-2000px.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-hero .section-block {
    background-color: rgba(0, 0, 0, .3);
}

.section-hero h1 {
    color: #fff;
    font-size: 6rem;
}

.section-hero p {
    color: #fff;
}

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

/* Hero + intro
========================================================================== */
.section-hero-text .hero {
    position: relative;
    padding: 15rem 5rem;
    background-image: url(/assets/images/allcall-blurry-restaurant-2000px.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-hero-text .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
}

.section-hero-text h1 {
    z-index: 1;
    position: relative;
    color: #fff;
    font-size: 6rem;
}

.section-hero-text .split-wrapper {
    justify-content: center;
    align-items: flex-start;
    padding: 0 2rem;
}

.section-hero-text .split-content {
    max-width: 47rem;
    padding: 10rem 5rem;
    border-radius: 1rem;
}

.section-hero-text .split-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10rem 10rem 10rem 0;
}

.section-hero-text .split-images img {
    width: 45%;
}

@media only screen and (max-width: 1100px) {
    .section-hero-text .split-wrapper {
        flex-direction: column-reverse;
        padding:0
    }

    .section-hero-text .split-content {
        max-width: 100%;
        padding: 10rem 5rem;
        border-radius: 0;
    }

    .section-hero-text .split-images {
        padding: 5rem 2rem;
    }
}

@media only screen and (max-width: 1024px) {
    .section-hero-text .hero {
        padding: 10rem 2rem;
    }

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

@media only screen and (max-width: 580px) {
    .section-hero-text .split-content {
        padding: 8rem 2rem;
    }
}

/* ==========================================================================
Produktundersidor
========================================================================== */
.section-scroll {
    overflow: hidden;
}

.gallery-split .split-content {
    position: relative;
    z-index: 1;
    padding: 5rem;
    border-radius: 3px;
}
.js-slick-gallery img{
object-fit: contain;
padding: 10rem;
}
.gallery-split .slick-slide {
    margin: 0 1rem;
    border-radius: 3px;
    max-height: 50rem;
}

.gallery-split .slick-list {
    overflow: visible;
}

/* Slick Settings */
.slick-list,
.slick-track {
    height: 100%;
}

.gallery-split .slick-list {
    width: 100%;
}

.gallery-split .slick-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    width: auto;
    padding: 0;
    margin: 0;
    background-color: rgb(var(--white-color));
    border-radius: 2rem;
    transform: translateX(-50%);
}

.slick-dots li.slick-active::before {
    opacity: 1;
    color: rgb(var(--secondary-color));
    transition: all .2s ease;
}

@media only screen and (max-width: 1100px) {
    .gallery-split .split-content {
        width: calc(100% - 2rem);
        margin: 0 auto;
        border-radius: 3px 3px 0 0;
    }

    .gallery-split .split-image {
        height: 50rem;
    }

    .gallery-split .slick-slide {
        border-radius: 0 0 3px 3px;
    }
}

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


}


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

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

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

.footer img {
    max-width: 100%;
    width: 20rem;
}

.footer .small-title {
    font-size: 2rem;
    letter-spacing: normal;
}

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

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

    padding: 2rem;
}

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

.footer-bottom .circle-icon {
    width: 3rem;
    height: 3rem;
}

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

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

a.webbess-stamp {
    text-decoration: none;
}

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

@media only screen and (max-width: 1024px) {
    /* Footer top */
    .footer-menu {
        width: 48%;
    }
}

@media only screen and (max-width: 750px) {
    /* Footer top */
    .footer-menu {
        width: 100%;
    }
    
    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem 0;
    }

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

}

@media only screen and (max-width: 450px) {
    /* Footer top */
    .footer-top {
        padding: 8rem 0 4rem 0;
    }

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