/* AllCall / Pucksystem */

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

/* ==========================================================================
Generellt 
========================================================================== */
:root {
    /* Colors */
    --primary-color: 38, 86, 172;
    --secondary-color: 57, 143, 208;

    --accent-blue-dark: 5, 28, 70;

    --black-color: 0, 0, 0;
    --gray-dark-color: 74, 75, 78;
    --gray-color: 235, 235, 235;
    --gray-light-color: 240, 242, 246;
    --white-color: 255, 255, 255;

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

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

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

@media only screen and (max-width: 580px) {
    :root {
        --base-size: 1.5rem;
    }
}

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

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

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

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

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

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

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

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

/* Margins */
.mb-3 {
    margin-bottom: 3rem;
}

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

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

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

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 1em;
    font-size: 1.3rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title {
    padding-bottom: 2rem;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    color: rgb(var(--black-color));
    font-family: 'Michroma', sans-serif;
}

.small-title {
    padding-bottom: 1.5rem;
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1;
    color: rgb(var(--black-color));
    font-family: 'Michroma', sans-serif;
}

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

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

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

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

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

.list-pdf li::before {
    content: '\f1c1';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 500;
    font-size: 1.5rem;
    font-family: 'Font Awesome 5 Pro';
}

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

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

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

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

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

/* Knappar */
.btn {
	padding: 1.6rem 4rem;
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-align: center;
	text-transform: uppercase;
	text-decoration: none;
    border-radius: .5rem;
    border: 1px solid;
    margin: 7px;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn-primary-filled {
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    border-color: rgb(var(--primary-color));
}

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

.btn-secondary-filled {
    color: rgb(var(--white-color));
    background-color: rgb(var(--secondary-color));
    border-color: rgb(var(--secondary-color));
}

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

.btn-white-filled {
    color: rgb(var(--primary-color));
    background-color: rgb(var(--white-color));
    border-color: rgb(var(--white-color));
}

.btn-white-filled:hover {
    color: rgb(var(--white-color));
    background-color: transparent;
}

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

/* Lank med ikon */
.icon-links {
    padding: 5px 10px;
    font-size: 1.4rem;
    color: rgb(var(--white-color));
    border: 1px solid rgb(var(--white-color));
    line-height: 1;
    border-radius: .5rem;
    text-decoration: none;
    transition: all .3s ease;
}

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

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

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

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

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

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

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

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

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

.bg-icon-transmitter::before {
    content: "\f1eb";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    position: absolute;
    bottom: -15rem;
    left: 0;
    font-size: 60rem;
    line-height: 1;
    color: rgb(var(--secondary-color));
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg)
}

.bg-icon-transmitter > * {
    position: relative;
    z-index: 1;
}

@media only screen and (max-width: 980px) {
    .bg-icon-transmitter::before {
        bottom: -10rem;
        left: -10rem;
        font-size: 50rem;
    }
}

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

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

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

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

/* Grafiska element
========================================================================== */
/* Borders */
.border-top-primary {
    border-top: 1px solid rgb(var(--primary-color));
}

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

.border-top-gray {
    border-top: 1px solid rgb(var(--gray-color));
}

/* Box shadow */
.box-shadow {
    box-shadow: rgba(var(--black-color), 0.05) 0px 6px 24px 0px;
}

/* Border radius */
.br-05 {
    border-radius: .5rem;
}

.br-1{
    border-radius: 1rem;
}

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

.cards-wrapper:not(.w-100, .logos-1) {
    margin-left: -1rem;
    margin-right: -1rem;
}

.card-item {
    text-decoration: none;
    transition: all .3s ease;
}

/* Card grow */
.cards-grow .card-item {
    display: flex;
    flex-direction: column;
}

.cards-grow .card-body {
    flex-grow: 1;
}

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

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

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

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

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

@media only screen and (max-width: 780px) {
    .cards-wrapper:not(.w-100) {
        margin-left: 0;
        margin-right: 0;
    }

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

    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem;
    }
}

/* Card 1-1 */
.card-1-1 .card-header p {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
}

@media only screen and (max-width: 580px) {
    .card-1-1 .card-header p {
        font-size: 3rem;
    }
}

/* Card-3-7 */
.card-3-7 .image-wrapper {
    height: 25rem;
}

.card-3-7 .btn {
    width: 100%;
    margin: 0;
}

@media only screen and (max-width: 580px) {
    .card-3-7 .image-wrapper {
        height: 20rem;
    }
}

/* Logos 1 */
.logos-1 img {
    width: 100%;
    max-height: 5rem;
    filter: grayscale();
}

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

/* Split med fancybox */
.split-fancybox .image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--black-color), 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.split-fancybox .image-wrapper:hover::after {
  opacity: 1;
}

/* Split image med video */
.split-video {
    align-content: center;
}

.split-video video {
    max-width: 100%;
    display: block;
    margin-bottom: -1px;
}

/* Split med slick */
.split-slider .slick-list,
.split-slider .slick-track {
    height: 100%;
}

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

.split-slider .slick-dots {
    position: absolute;
    bottom: .5rem;
    left: 50%;
    width: auto;
    padding: 0;
    margin: 0;
    background-color: transparent;
    transform: translateX(-50%);
}

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

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

@media screen and (max-width: 1100px) {
    .split-wrapper,
    .split-wrapper.reverse {
        flex-direction: column;
    }

    .split-content {
        width: 100%;
        max-width: 80rem;
    }

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

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

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

/* Bakgrundsbilder och videos
========================================================================== */
.bg-image,
.bg-video {
    position: relative;
    overflow: hidden;
}

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

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

/* Header / Navigation
========================================================================== */
header {
    box-shadow: rgba(var(--black-color), 0.05) 0px 6px 24px 0px;
    border-bottom: 1px solid rgb(var(--gray-color));
}

header:not(.scrolled) {
    box-shadow: none;
    border-color: transparent;
}

/* Top header */
.top-header {
    width: calc(100% + 10rem);
    height: var(--top-header-height);
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--gray-color));
    overflow: hidden;
    transition: .3s ease;
    margin-left: -5rem;
    margin-right: -5rem;
    padding: 0 5rem;
    align-content: center;
}

header.scrolled .top-header,
.mobile-menu.active-menu .top-header {
    height: 0;
    border-bottom: transparent;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    margin: 0 auto;
    padding: 0.2rem 0;
    list-style: none;
    max-width: var(--section-width);
}

.top-header a {
    font-size: 1.3rem;
    text-decoration: none;
    transition: .2s ease;
    color: rgb(var(--black-color));
}

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

.top-header i {
    margin-right: 5px;
}

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

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

.TemplateMenu a:hover {
	color: rgb(var(--secondary-color));
}

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

/* Dropdown */
header:not(.mobile-menu) .TemplateMenu ul {
    border-radius: 0 0 .5rem .5rem;
}

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

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

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

/* Mobilmeny */

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: calc(90vh - (var(--menu-height) + var(--top-header-height)));
    background-image: linear-gradient(to top, rgb(var(--accent-blue-dark), .8), rgb(var(--accent-blue-dark), .5));
}

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

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

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

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

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

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

.section video {
    max-width: 100%;
}

/* Referenser - loggor
========================================================================== */
.section-slider {
    overflow: hidden;
}

.section-slider .slick-list {
    width: 100%;
}

.section-slider .card-item {
    height: 6rem;
    margin: 0 2rem;
}

@media only screen and (max-width: 580px) {
    .section-slider .card-item {
        height: 10rem;
    }
}

/* ==========================================================================
Undersidor
========================================================================== */
/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: center;
    min-height: 40rem;
   background-image: linear-gradient(to top, rgb(var(--accent-blue-dark), .8), rgb(var(--accent-blue-dark), .5));
}

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

.hreo .text-block {
    max-width: 100rem;
}

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

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

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

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

/* 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 {
    padding: 0 5rem;
    background-color: rgb(var(--black-color));
}

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

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

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

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

.footer-top .text-label {
    padding: 0 0 2rem;
    line-height: 1;
    color: rgb(var(--white-color));
}

.footer-submenu {
    padding: 0;
    margin: 0 0 3rem;
    list-style: none;
}

.footer-top li,
.footer-top p,
.footer-top a {
    font-size: 1.5rem;
    text-decoration: none;
    color: rgb(var(--white-color));
}

.footer a:not(.icon-links):hover {
    text-decoration: none;
    color: rgba(var(--white-color), .5);
}

/* Social Menu */
.social-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.social-menu li {
    margin: 1rem 1rem 1rem 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }

    .webbess-stamp {
        margin: 0 auto 1.5rem;
    }
}