/* Triple Sign System AB */

/* Typsnitt */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@200;300;400;500;600;700&display=swap');

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

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

    /* 	Colors */
    --primary-color: 244, 29, 38;
	--primary-dark-color: 193, 21, 27;
	--primary-light-color: 255, 154, 158;

    --black-color: 20, 20, 20;
    --gray-dark-color: 75, 75, 75;
    --gray-color: 220, 220, 220;
    --gray-light-color: 248, 248, 248;
    --white-color: 255, 255, 255;

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

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

.display-none {
    display: none;
}

/* Layout
========================================================================== */
.section-block {
    padding: 9rem 4rem;
}

/* Specifika paddings */
.p-0 .section-block,
.p-0:not(.section-wrapper) {
    padding: 0;
}

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

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

.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:not(.section-wrapper),
.pl-0 .section-block {
    padding-left: 0;
}

.p-1-2 {
    padding: 1rem 2rem;
}

/* Specifika margins */
.mb-1 {
    margin-bottom: 1rem;
}

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

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

.mw-800 .section-block-wrapper {
    max-width: 80rem;
}

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

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

/* Specifika hojder */
.mh-40 {
    max-height: 40rem;
}

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

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

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

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

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

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

/* Rubriker */
.text-label {
    padding-bottom: 1.5rem;
    font-size: var(--base-size);
    font-weight: 600;
}

.section-title {
    padding-bottom: 2.5rem;
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.section-title .icon {
    font-size: .4em;
    color: rgb(var(--primary-color));
    vertical-align: middle;
}

.small-title {
    padding-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 500;
}

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

/* Brodtext och lankar */
p, li {
    font-weight: 300;
}

a {
    color:inherit;
    font-size: 1.6rem;
    font-weight: 300;
    text-decoration: none;
}
a:hover {
    color: rgb(var(--primary-color));
}
/* ovriga klasser */
.text-bold {
    font-weight: 700;
}

.text-bold-lighter {
    font-weight: 500;
}
.text-underline{
    text-decoration: underline;
}

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

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

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

.text-small {
    font-size: 1.4rem;
}

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

/* Textavkortning */
.truncate-wrapper {
    overflow: hidden;
}

.truncate-text-5 {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate-wrapper p {
    padding-bottom: 0;
}

/* Listor */
.list-circle {
    list-style: none;
}

.list-circle li {
    position: relative;
    padding-left: 0.5rem;
}

.list-circle li::before {
    content: '\f0da';
    position: absolute;
    top: 1.6rem;
    left: -1.5rem;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 2rem;
    font-family: 'Font Awesome 5 Pro';
    transform: translateY(-50%);
}

/* Listor */
.list-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100rem;
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.list-pills li {
    display: flex;
    align-items: center;
    padding: 0.5rem 2rem 0.5rem 0.5rem;
    margin: .5rem;
    font-size: 1.5rem;
    border-radius: 4rem;
    color: rgb(var(--black-color));
    background: rgb(var(--gray-light-color));
}

.list-pills li::before {
    content: '\f00c';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    margin-right: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    font-family: 'Font Awesome 5 Pro';
    border-radius: 50%;
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

@media only screen and (max-width: 1024px) {
    blockquote {
        margin: 0;
    }
}

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

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

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

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

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

    .list-pills li {
        width: 100%;
        padding: 1rem;
        font-size: 1.4rem;
    }
}

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

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

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

/* Knappar */
.ContactSubmit,
.btn {
    display: inline-block;
    min-width: 20rem;
    padding: 1.8rem 3rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

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

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

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

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

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

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

/* Arrow link */
.arrow-link {
    padding-right: 1rem;
	font-weight: 500;
}

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

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

.arrow-link.arrow-down:hover::after {
	transform: rotate(90deg);
}

/* Cirkelikon */
.square-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;
    background-color: rgb(var(--primary-color));
    transition: .3s ease;
}

.square-icon:hover {
    color: rgb(var(--white-color));
    background-color: rgb(var(--gray-dark-color));
}

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

@media only screen and (max-width: 600px) {
    .btn-wrapper.multiple {
        display: block;
    }

    .btn-wrapper.multiple .btn:last-child {
        margin-top: 2rem;
    }
}

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

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

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

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

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

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

.gradient-white-black .section-block {
    background-image: linear-gradient(to bottom, rgb(var(--white-color)) 50%, rgb(var(--black-color)) 50%);
}

/* Gradient */
.gradient-gray-white {
    background-image: linear-gradient(to right, rgb(var(--gray-light-color)) 50%, rgb(var(--white-color)) 50%);
}

.bg-gray {
    background-color:rgb(var(--gray-color), .5);
}
 
@media only screen and (max-width: 980px) {
    .gradient-gray-white {
        background-image: none;
        background-color: rgb(var(--gray-light-color));
    }
}

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

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

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

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

/* Grafiska element
========================================================================== */
.bottom-line {
    border-bottom: 5px solid rgb(var(--primary-color));
}

/* Object position */
.of-wrapper img.op-50-42 {
    object-position: 50% 42%;
}
.object-contain {
    object-fit: scale-down !important;
}

/* Pil */
.arrow-primary-right {
    position: relative;
}

.arrow-primary-right::after {
    content: '\2192';
    position: absolute;
    top: 5rem;
    right: 0;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: rgb(var(--primary-color));
    transform: translateX(50%);
}

/* Video ratio */
.video-ratio {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

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

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.video-item {
  width: 100%;
}
.video-item p{
    min-height: 7rem;
}
@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.bg-image {
    background: linear-gradient(90deg, rgba(var(--black-text), .2) 0%, rgba(var(--black-text), .5) 0%, rgba(var(--black-text), 0) 100%);
}

.bg-image-wrapper,
.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%);
}

/* Parallax */
.parallax {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 50rem;
}

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

@media only screen and (max-width: 800px) {
    .parallax {
        min-height: 40rem;
    }
}

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

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

/* Specifika bredder */
.cards-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

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

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

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

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

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

@media only screen and (max-width: 1000px) {
	.cards-wrapper.w-15 .card-item  {
		width: 100%;
		margin: 0;
	}
}

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

@media only screen and (max-width: 480px) {
    /* Paddings */
    .card-item.p-3,
    .card-item .p-3 {
        padding: 2rem;
    }
}

/* Cards 2 */
.cards-2 .card-item {
    padding: 4rem;
    background-color: rgb(var(--white-color));
    transition: 0.2s ease-in-out;
    box-shadow: 0 1rem 4rem rgb(var(--gray-dark-color), .1);
}

.cards-2 .card-item:hover {
    padding: 4rem;
    transition: 0.2s ease-in-out;
    box-shadow: 0 1rem 4rem rgb(var(--gray-dark-color), .2);
}

.cards-2 .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 0rem;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    background-color: rgb(var(--white-color));
}

.cards-2 .icon-wrapper i {
    font-size: 4.5rem;
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 1050px) {
    .cards-2 .card-item.arrow-right::after {
        display: none;
    }
}

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

/* Card 2-2 */
.card-2-2 .card-item:hover .card-header{
    transform: scale(105%);
}

.card-2-2 .card-header {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 7rem;
    height: 7rem;
    margin-bottom: 2rem;
    border-radius: 50%;
}

.card-2-2 .card-header i {
    font-size: 3rem;
}

.card-2-2 .card-modal {
    position: relative;
    z-index: 2;
    width: 70rem;
    text-align: left;
    padding: 2rem;
    margin-top: 3rem;
    background: rgb(var(--white-color));
}

.card-2-2 .card-modal.right {
    left: -50rem;
}

@media only screen and (max-width: 1000px) {
    .card-2-2 .arrow-primary-right::after {
        content: '\2193';
        position: inherit;
        top: 2rem;
        transform: unset;
    }

    .card-2-2 .card-modal,
    .card-2-2 .card-modal.right {
        display: block !important;
        width: 100%;
        left: 50%;
        transform: translate(-50%);
        margin-top: 0;
    }
}
	
/* Cards 7 */
.cards-7 .card-item {
    position: relative;
    text-decoration: none;
    box-shadow: 0 1rem 3rem rgb(var(--black-color), .1);
    border-bottom: 5px solid rgb(var(--primary-color));
    background: rgb(var(--white-color));
    overflow: hidden;
}

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

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

.cards-7 .text-label {
	padding-bottom: 2rem;
	font-weight: 300;
}

.cards-7 .card-item .tag {
    position: absolute;
    z-index: 1;
    top: 3rem;
    left: 3rem;
    background-color: rgb(var(--primary-color));
    color: rgb(var(--white-color));
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    padding: 5px 9px;
    border-radius: 1rem;
}

@media only screen and (max-width: 600px) {
    .card-item .tag {
        top: 2rem;
        left: 2rem;
    }

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

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

.cards-8 .image-wrapper {
    height: 47rem !important;
    border-radius: 2px;
} 

.cards-8 .text-wrapper {
    z-index: 1;
    position: relative;
	display: flex;
	flex-direction: column;
    flex-grow: 1;
    width: 85%;
    margin: -5rem auto 0;
    padding: 3.5rem;
    background-color: rgb(var(--white-color));
	box-shadow: 0 1rem 4rem rgb(var(--gray-dark-color), .1);
    border-bottom: 5px solid rgb(var(--primary-color));
    border-radius: 2px;
	transition: .3s ease;
	transform: scale(1);
} 

.cards-8 a.text-wrapper:hover {
	transform: scale(1.05);
}

.cards-8 .text-wrapper .top-text {
	flex-grow: 1;
}

.cards-8 .text-label {
    font-weight: 300;
}

.cards-8 .text-wrapper .arrow-link {
	padding-top: 2rem;
}

.cards-8 ul {
    padding: 0 0 0 3rem;
}

.cards-8 li {
    font-weight: 500;
}

@media only screen and (max-width: 880px) {
    .cards-8 .image-wrapper {
        height: 30rem;
    }

    .cards-8 .text-wrapper {
        width: 93%;
        padding: 2rem;
    }
}

/* Cards 10 */
.cards-10 .card-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 55rem;
    text-decoration: none;
    border: 1px solid rgb(var(--black-color));
    -moz-transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.cards-10 .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cards-10 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--black-color), 0.4);
    -moz-transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.cards-10 .card-item:hover .image-wrapper::after {
    background: rgba(var(--black-color), 0.6);
}

.cards-10 .text-wrapper {
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 5rem;
    color: rgb(var(--white-color));
}

.cards-10 .text-wrapper.border {
    margin: 5rem;
    border: 1px solid rgb(var(--white-color));
}

.cards-10 .card-item .text-wrapper * {
    color: rgb(var(--white-color));
}

@media only screen and (max-width:1100px) {
    .cards-10 .card-item {
        min-height: 40rem;
    }
}

@media only screen and (max-width:768px) {
    .cards-10 .card-item {
        min-height: 30rem;
    }
}

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

    .cards-10 .text-wrapper.border {
        margin: 2rem;
    }
}

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

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

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

.split-image {
    width: 50%;
}

.split-video {
    width: 50%;
    max-height: 80rem;
}

.split-video video {
    width: 100%;
}

/* Tva bilder */
.split-images {
    display: flex;
    width: 50%;
    min-height: 50rem;
}

.split-images div {
    width: 50%;
}

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

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

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

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

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

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

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

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

@media screen and (max-width: 1150px) {
    .split-content.content-left-transparent
    .split-wrapper.reverse .split-content {
        padding: 4rem 2rem;
    }
}

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

    .split-content {
        padding: 0;
        padding-bottom: 4rem;
    }

    .split-image,
    .split-video,
    .split-images {
        width: 100%;
    }

    /* Speciella margins */
    .split-wrapper .mt--20 {
        margin-top: 0;
    }

    /* för split med barkgrundsfärg */
    .split-bgcolor .split-content {
        padding: 4rem 3rem;
    }
}   

@media screen and (max-width: 650px) {
    /* för split med barkgrundsfärg */
    .split-bgcolor .split-content {
        padding: 3rem 2rem;
    }
}  

/* Header / Navigation
========================================================================== */
/* Top header */
.top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: none;
    height: 4rem;
    padding: .5rem;
    margin: 0 auto;
    background-color: rgb(var(--black-color));
    border-bottom: 1px solid rgb(var(--gray-light-color));
    color: rgb(var(--white-color));
    overflow: hidden;
    transition: .3s ease;
}

.top-header p {
    padding: 0 5px 0 0;
    font-size: 1.4rem;
    font-weight: 500;
}

.top-header a {
    display: flex;
    align-items: center;
    margin: 0 8px;
    font-size: 1.4rem;
    text-decoration: none;
    transition: .2s ease;
    font-weight: 500;
}

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

.top-header div {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin-right: 4px;
    border-radius: 50%;
}

/* header */
header {
    background-color: rgb(var(--black-color));
    border-top: 3px solid rgb(var(--primary-light-color));
}

header .container {
    max-width: none;
}

header.scrolled,
.SubPage header {
    background-color: rgb(var(--black-color));
}

header.scrolled,
.SubPage header {
    background-color: rgb(var(--black-color));
}

/* logo */
.header-logo {
    padding-right: 2rem;
}

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

/* nav */
.TemplateMenu a {
    font-weight: 500;
    font-size: 1.35rem;
    color: rgb(var(--white-color));
    padding: 0 2rem;
}

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

/* dolj Hem */
nav.mainmenu ul.TemplateMenu > li:first-child {
    display: none;
}

.EditMode nav.mainmenu ul.TemplateMenu > li:first-child {
    display: inline-block;
} 

/* dropdown */
.TemplateMenu ul {
	background: transparent;
	width: auto;
}

.TemplateMenu ul a {
	background-color: rgb(var(--primary-color));
	color: rgb(var(--white-color));
	white-space: nowrap;
}

.TemplateMenu ul a:hover,
.TemplateMenu ul li.active>a {
	background-color: rgb(var(--primary-dark-color));
	color: rgb(var(--white-color));
}

/* hover effect */
header:not(.mobile-menu) .TemplateMenu a:hover:before,
header:not(.mobile-menu) .TemplateMenu li.active a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

header:not(.mobile-menu) .TemplateMenu a:before {
    background-color: rgb(var(--primary-dark-color));
    visibility: hidden;
    position: absolute;
    content: "";
    height: 3px;
    top: -3px;
    width: 100%;
    left: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.TemplateMenu ul a:before {
    display: 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: .9rem 2.5rem;
    margin: 0 1rem;
}

/* Mobilemeny */
.mobile-menu .TemplateMenu ul a {
    padding: 0 0 0 1rem;
}

@media only screen and (max-width: 950px) {
    .TemplateMenu {
        padding-bottom: 6rem;
    }
}

@media only screen and (max-width: 600px) {
    .top-header p,
    .top-header a {
        font-size: 1.2rem;
    }

    .header-cta-wrapper .btn {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .top-header {
        justify-content: center;
    }
    
    .top-header p {
        display: none;
    }
}

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    margin-top: calc(-1 * var(--menu-height));
    background: linear-gradient(46deg, rgb(var(--black-color), .9), rgb(var(--black-color), .7));
    overflow: hidden;
}

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

.top-section p {
    max-width: 60rem;
}

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

.top-section .arrow-link {
    min-width: unset;
}

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

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

/* Intro 
========================================================================== */
.section-intro .section-block-wrapper {
	align-items: center;
}

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

    .section-intro .cards-2 .card-item {
        padding: 4rem 3rem;
    }
}

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

    .section-intro .cards-2 .card-item {
        padding: 4rem;
    }
}

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

    .section-intro .cards-2 .card-item {
        padding: 4rem 2rem;
    }
}

/* Aktuellt 
========================================================================== */
.section-news {
    overflow: hidden;
}

.split-slider {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    padding-bottom: 5rem;
}

/* Bild-slider */
.split-slider .split-image-wrapper .slick-list {
    overflow: visible;
}

.split-slider .split-image-wrapper {
    width: 100%;
}

.split-slider .slide-image {
    height: auto;
    margin: 0 3rem 0 0;
}

.split-slider .image-wrapper {
    width: 100%;
    height: 100%;
    padding: 0 0 0 35%;
    transition: padding .8s ease;
}

.split-slider .slick-slide.slick-active .image-wrapper,
.split-slider .slick-slide.slick-active+.slick-slide .image-wrapper {
    padding: 0 35% 0 0;
    transition: padding .8s ease;
}

/* Text-slider */
.split-slider .split-text-wrapper {
    position: relative;
    width: 45%;
    margin-left: calc(-45% - 3rem);
    bottom: -5rem;
    padding: 10rem 7rem 7rem;
    background-color: rgb(var(--gray-dark-color));
}

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

/* slick knappar */
.split-slider .slick-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4rem;
    height: 4rem;
    font-size: 0;
    background-color: rgba(var(--secondary-color), 1);
    border: 1px solid rgba(var(--secondary-color), 1);
    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;
}

/* Dots */
.split-slider .slick-dots {
    position: absolute;
    top: 5rem;
    padding: 0;
    margin: 0;
}

.split-slider .slick-dots li {
    margin: 0 5px;
}

.split-slider .slick-dots li:before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 4px;
    background-color: #000000;
    transition: all .2s ease;
}

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

@media only screen and (max-width: 1300px) {
    /* Bild-slider */
    .split-slider .slide-image {
        margin: 0 1rem 0 0;
    }

    /* Text-slider */
    .split-slider .split-text-wrapper {
        padding: 7rem 5rem 5rem;
        width: 50%;
        margin-left: calc(-50% - 1rem);
    }

    /* Dots */
    .split-slider .slick-dots {
        top: 3rem;
    }
}

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

    /* Bild-slider */
    .split-slider .split-image-wrapper {
        width: 100%;
    }

    .split-slider .image-wrapper,
    .split-slider .slick-slide.slick-active .image-wrapper,
    .split-slider .slick-slide.slick-active+.slick-slide .image-wrapper {
        padding: 0;
    }

    /* Text-slider */
    .split-slider .split-text-wrapper {
        position: relative;
        bottom: unset;
        width: 100%;
        margin: 2rem 0 0;
    }
}

@media only screen and (max-width: 500px) {
    /* Text-slider */
    .split-slider .split-text-wrapper {
        padding: 2rem 0 4.5rem 0;
    }

    /* Dots */
    .split-slider .slick-dots {
        top: 0;
    }
}

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

/* Hero - Grundkod
========================================================================== */
.hero .section-block {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 46rem;
    padding: 10rem 4rem 4rem;
    margin-top: calc(-1 * var(--menu-height) - 3px - 4rem);
}

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

.hero-short {
    max-height: 30vh;
}

.hero-short .section-block {
    padding: 5rem 4rem;
}

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

    .hero .section-block {
        padding: 4rem 2rem;
    }

    .hero-short .section-block {
        padding: 5rem 2rem 3rem;
    }
}

/* Hero - Hero-title
========================================================================== */
.hero-title {
    margin-bottom: 5rem;
}

.hero-title .section-block {
    padding: 10rem 0 0;
}

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

.hero-title .col-block {
    max-width: 50rem;
    padding: 2rem 4rem;
    text-align: right;
	margin: 0 0 -4rem;
    background: rgb(var(--primary-color));
    box-shadow: 1px 1px 10px rgb(var(--black-color), .2);
    border-radius: 0 2px 2px 0;
}

.hero-title h1 {
    padding: 0;
	font-weight: 700;
	font-size: 3rem;
	color: rgb(var(--white-color));
}

@media only screen and (max-width: 1000px) {
    .hero-title .col-block {
        max-width: none;
        width: 100%;
        padding: 2rem;
        text-align: left;
    }
}

/* ==========================================================================
Undersida: About us
========================================================================== */

/* Quote
========================================================================== */
.section-quote .section-block {
	background-color: rgba(var(--black-color), .8);
}

.quote {
	background-image: url(/assets/images/quote-sign.svg);
    background-size: 20rem;
    background-position: 10% center;
    background-repeat: no-repeat;
	filter: grayscale() brightness(100);
	margin: 0;
	max-width: 100rem;
	margin: 0 auto;
}

.quote p {
	font-size: 2.4rem;
	font-weight: 500;
	color: rgb(var(--white-color));
}

.quote figcaption {
	text-align: right;
	padding-top: 1rem;
	padding-right: 6rem;
	font-size: var(--base-size);
	color: rgb(var(--white-color));
}

.job .layout-6 .col-0 {
    border-right: 1px solid rgb(var(--gray-color));
}

@media only screen and (max-width: 580px) {
    .quote p {
        font-size: 2rem;
    }
}

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

/* The Triplesign product
========================================================================== */
@media only screen and (max-width: 1135px) {
	.sign-wrapper.w-33 .card-item{
		width: calc((100% / 3) - 2rem);
        margin: 1rem;
	}
}

/* The unique Triplesign design
========================================================================== */
.arrow-text-wrapper .of-wrapper {
    overflow: visible;
}

.arrow-text {
    position: absolute;
    top: 8%;
    right: 18%;
}

.arrow-text i {
    font-size: 6rem;
    position: absolute;
    right: 0;
    color: rgb(var(--primary-color));
}

@media only screen and (max-width: 1375px) {
    .arrow-text {
        top: 17%;
    }

    .arrow-text p {
        padding-bottom: 0;
    }

    .arrow-text i {
        font-size: 4rem;
    }    
}

@media only screen and (max-width: 1250px) {
    .arrow-text {
        top: 15%;
    }    
}

@media only screen and (max-width: 680px) {
    .arrow-text {
        top: 6%;
    }
}

@media only screen and (max-width: 480px) {
    .arrow-text p {
        font-size: 1.4rem;
    }

    .arrow-text {
        top: -20%;
    }
}

/* Video
========================================================================== */
.section-video .section-title {
    font-size: 3rem;
}

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

/* Certifikat
========================================================================== */
.certificates .image-wrapper {
    max-width: 100rem;
    margin: auto;
}

.certificates .text-block-center {
    max-width: fit-content;
}

@media only screen and (max-width: 480px) {
    .certificates .section-title {
        text-align: center;
        padding: 2rem 0 1rem;
    }
}

/* ==========================================================================
Undersida: Traffic > Enskild undersida
========================================================================== */
.split-gallery {
    width: 50%;
    border-radius: 2px;
    align-self: flex-end;
    overflow: hidden;
}

.split-scale img{
    object-fit: scale-down !important;
}

/* Slick Galleri */
.split-gallery .slick-list {
    width: 100%;
}

.split-gallery.slick-dotted.slick-slider {
	margin-bottom: 0;
}

.split-gallery .slick-slide {
    height: auto;
}

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

.split-gallery .slick-dots li {
    width: 1.5rem;
    height: 1.5rem;
}

.split-gallery .slick-dots li::before {
	font-size: 6px;
}

.split-gallery .slick-arrow {
    position: absolute;
    z-index: 2;
    height: 3rem;
    width: 3rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(var(--white-color));
    border-radius: 50%;
    opacity: 0;
}

.split-gallery:hover .slick-arrow {
    opacity: 1;
}

.split-gallery .slick-arrow::after {
    font-weight: 300;
}

.split-gallery .slick-prev {
    left: 1rem;
}

.split-gallery .slick-next {
    right: 1rem;
}

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

/* ==========================================================================
Undersida: Traffic > Product & Technology
========================================================================== */

/* accordion
========================================================================== */
.accordion-item {
    padding-bottom: 2rem;
}

.accordion-header {
    position: relative;
    width: 100%;
    padding: 2rem 5rem 1rem 2rem;
    text-decoration: none;
    border-bottom: 2px solid rgb(var(--primary-color));
}

.accordion-header::after {
    content: "\f078";
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.7rem;
    font-family: "Font Awesome 5 Pro";
    transition: .5s ease;
}

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

.accordion-body {
    padding: 2rem;
}

.accordion-body p {
    font-size: 1.5rem;
}

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

@media screen and (max-width: 1000px){
    .standardfeatures-section .split-content,
    .standardfeatures-section .split-image {
        width: 50%;
    }
}

@media screen and (max-width: 800px){
    .standardfeatures-section .split-content,
    .standardfeatures-section .split-image {
        width: 100%;
    }

    .standardfeatures-section .split-wrapper .of-wrapper img {
        object-position: left;
    }

}

/* ==========================================================================
Undersida: Traffic > Sign types
========================================================================== */
.section-scroll {
    overflow: hidden;
}

/* Slider */
.scroll-wrapper.cards-wrapper {
    margin-bottom: 5rem;
}

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

.signs .image-wrapper {
    height: 40rem !important;
}

/* ==========================================================================
Undersida: Traffic > Sustanability
========================================================================== */
.intro-wrapper {
    display: flex;
}
.logo-wrapper {
    max-width: 10rem;
    margin-left: 5rem;
}

/* ==========================================================================
Undersida: Traffic > Traffic Safety
========================================================================== */
.parallax-trafficsafety {
    background-image: url('/assets/images/traffic/tie-shoe-2000px.jpg');
    background-position: top;
}

.section-safety .cards-wrapper {
    margin: 1rem;
}

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

@media screen and (max-width: 480px) {
    .section-safety .split-image {
        min-height: unset;
    }

    .section-safety .split-content {
        padding-bottom: 2rem;
    }
}

/* ==========================================================================
Undersida: Design > * (alla gallerier)
========================================================================== */
@media only screen and (max-width: 1050px) {
    .sub-gallery .section-block {
        padding: 8rem 1rem;
    }
}

@media only screen and (max-width: 580px) {
    .sub-gallery .section-block {
        padding: 4rem 1rem;
    }

    .sub-gallery .cards-wrapper.w-50 .card-item {
        margin: 0 0 1rem;
    }
}

/* ==========================================================================
Undersida: Design > Marketing
========================================================================== */
.brochure i {
    margin-right: 1rem;
}

.brochure .flex-item {
    display: flex;
    align-items: center;
}

.brochure .cards-10 .card-item {
    min-height: 35rem;
}

/* ==========================================================================
Undersida: News
========================================================================== */
.insta-widget {
    margin: 0 -2rem;
}

.insta-widget .eapps-instagram-feed-posts-item {
    border-radius: 2px;
    box-shadow: 0 .3rem .7rem rgb(var(--black-color), .1);
}

.insta-widget .eapps-instagram-feed-posts-slider {
    padding: 2rem;
}

/* ==========================================================================
Undersida: Contact
========================================================================== */
.section-contact .section-block {
    padding: 5rem 2rem;
}

/* Sektion Medarbetare
========================================================================== */
.team-wrapper .image-wrapper {
    height: auto;
    aspect-ratio: 1/1;
}

.team-wrapper .text-wrapper {
    width: calc(100% - 2rem);
    margin: -4rem auto 0;
    padding: 2rem;
}

.team-wrapper .small-title {
    padding: 0 0 1rem;
}

.team-wrapper .text-label {
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0 0 2rem;
    text-transform: uppercase;
    color: rgb(var(--black-color), .6);
    line-height: 1.3;
}

.team-wrapper a {
    font-size: 1.4rem;
    margin: 0 0 .5rem;
}

.social-links {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

/** bild på kontoret **/
.contact-location-image {
    min-height: 50rem;
}

@media only screen and (max-width: 1440px) {
    .contact-location-image {
        min-height: 45rem;
    }
}

@media only screen and (max-width: 768px) {
    .contact-location-image {
        min-height: 40rem;
    }
}

@media only screen and (max-width: 580px) {
    .contact-location-image {
        min-height: 25rem;
    }
}

/* ==========================================================================
Undersida: Our partners
========================================================================== */

/* Taggar */
.tags-heading {
    display: none;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    padding: .3rem 1.5rem;
    font-size: 1.5rem;
    box-shadow: 1px 1px 5px rgb(var(--black-color), .2);
    border-radius: 2rem;
    transition: .5s ease;
}

.tag:hover,
.tag.tag-picked {
    color: rgb(var(--white-color));
    background: rgb(var(--primary-color));
}

/* Kontaktformular
========================================================================== */
.ContactForm {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ContactForm div {
    width: 49%;
}

.ContactForm .ContactFormMessage {
    width: 100%;
}

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

.ContactForm input[type="text"],
.ContactForm textarea {
    border: none;
}
  
.ContactForm input[type="text"]:not(.illegal),
.ContactForm textarea:not(.illegal) {
    background-color: rgb(var(--white-color));
    border: 1px solid rgb(var(--gray-dark-color), .2);
}

.ContactSubmit {
    margin: 0;
}

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

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

.footer-container {
    max-width: none;
    padding: 0;
    margin: 0 auto;
} 

/* Footer top */
.footer-top {
    display: flex;
    flex-wrap: wrap;
	max-width: 130rem;
	margin: 0 auto;
    justify-content: space-between;
    padding: 6rem 0 2rem;
}

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

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

.footer :is(p, a, li):not(.small-title, .square-icon, .footer-bottom p, .webbess-stamp) {
    color: rgba(var(--black-color));
    font-weight: 400;
    font-size: 1.4rem;
}

.footer .small-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: rgb(var(--primary-color));
}

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

.footer a:hover {
    text-decoration: underline;
}

.footer .square-icon {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
}

.footer .square-icon:hover {
    text-decoration: none;
}

.footer .socials {
	display: flex;
	flex-direction: row;
	margin-top: 1rem;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
	background-color: rgb(var(--black-color));
}

.footer-bottom p {
    font-size: 1.3rem;
    color: rgb(var(--white-color));
	padding: 0;
	font-weight: 500;
}

/* WebbEss Stamp  */
.webbess-stamp {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.3rem;
	font-weight: 500;
    color: rgb(var(--white-color));
}

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

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

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

    .footer .square-icon {
        display: inline-flex;
    }
}

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

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