/* TopRight Nordic AB */

/* Animationer */
@import url('/resources/scripts/aos/2.3.1/aos.css');

/* Fonts */
@font-face {
    font-family: 'Unica';
    src: url('/assets/fonts/NeueHaasUnicaPro-Thin.ttf');
}

@font-face {
    font-family: 'Unica Regular';
    src: url('/assets/fonts/NeueHaasUnicaPro-Regular.ttf');
}

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 249, 188, 0;
    --primary-light-color: 252, 229, 153;

    --black-color: 53, 53, 53;
    --gray-dark-color: 81, 84, 83;
    --gray-color: 130, 130, 130;
    --gray-light-color: 236, 236, 229;
    --white-color: 255, 255, 255;

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

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

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

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

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

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

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

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

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

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

/* Margins */
.mt-0{
    margin-top: 0 !important;
}
.mb-3 {
    margin-bottom: 3rem;
}

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

.of-hidden {
    overflow: hidden;
}

/* Bredder */ 
.mw-160  {
    max-width: 160rem;
}

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: .3em;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    color: rgb(var(--black-color));
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Unica Regular', 'Helvetica', sans-serif;
    color: rgb(var(--black-color));
}

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

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

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

.list-arrow li::before {
    content: '\f105';
    padding: 0 1rem 0 0;
    color: rgb(var(--primary-color));
    font-weight: 700;
    font-size: 1.6rem;
    font-family: 'Font Awesome 5 Pro';
}

/* OL */
ol {
    margin-top: 0;
    padding-left: 2.4rem;
}

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1.2rem 2rem;
    margin: 7px;
    font-size: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    transition: all .4s ease;
    
}

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

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

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

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

/* 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(--black-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(--gray-dark-color));
}

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

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

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

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

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

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

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

/* Grafiska element
========================================================================== */
/* Bild i hexagon (anvand ej of-wrapper) */
.image-wrapper.hex {
    position: relative;
    width: 100%;
    padding-top: 115%;
}

.image-wrapper.hex img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    object-fit: cover;
}

/* Object position */
.of-wrapper .op-5-50 {
    object-position: 5% 50%;
}

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

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

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    padding: 0;
    margin: 0 0 4rem;
    list-style: none;
}

.breadcrumbs li {
    font-size: 1.4rem;
    color: rgb(var(--primary-color));
    letter-spacing: .1em;
}

.breadcrumbs li:not(:last-of-type)::after {
    content: '/';
    padding-left: 1rem;
    margin-right: 1rem;
    color: rgb(var(--white-color));
}

.breadcrumbs li a {
    color: rgb(var(--white-color));
    text-decoration: none;
    transition: .3s ease;
}

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

@media only screen and (max-width: 680px) {
    .breadcrumbs {
        flex-wrap: wrap;
    }

    .breadcrumbs li:not(:last-of-type)::after {
        padding-left: 5px;
        margin-right: 5px;
    } 
}

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

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

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

video {
    width: 100%;
}

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

.parallax .section-block {
    padding-top: 13rem;
    padding-bottom: 13rem;
    background-color: rgb(var(--black-color), .5)
}

/* Bilder */
.parallax-globe {
    background-image: url('/assets/images/jordglob-2000px.jpg');
}

.parallax-livespaces {
    background-image: url('/assets/images/livespaces-2000px.jpg');
}

.parallax-together {
    background-image: url('/assets/images/vanner-2000px.jpg');
}

.parallax-stockboard {
    background-image: url('/assets/images/aktier-2000px.jpg');
}

.parallax-lightrays {
    background-image: url('/assets/images/ljus-2000px.jpg');
}

.parallax-windmills {
    background-image: url('/assets/images/vaderkvarn-2000px.jpg');
}

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

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

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

.cards-wrapper a {
    text-decoration: none;
    transition: .3s ease;
}

a.card-item.bg-gray-light:hover {
    background: rgb(var(--primary-light-color));
}

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

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

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

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

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

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

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

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

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

    /* Bredder */
    .cards-wrapper.w-25 .card-item, 
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item,
    .cards-wrapper .card-item.w-50 {
        width: 100%;
        margin: 1rem 0;
    }
}

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

/* Card 1-1 */
.card-1-1 .card-item {
    position: relative;
}

.card-1-1 .card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(90% 0, 100% 50%, 90% 100%, 0% 100%, 10% 50%, 0% 0%);
    background: rgb(var(--primary-color));
    transition: .3s ease;
}

.card-1-1 .card-item:hover::before {
    background: rgb(var(--primary-light-color));
}

.card-1-1 .card-item .card-body {
    z-index: 1;
    position: relative;
    padding: 5rem 6rem 5rem 8rem;
}

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

/* Card 1-2 */
.card-1-2 .image-wrapper {
    height: 5rem;
    width: 25rem;
    margin: 0 auto 2rem;
}

.card-1-2 a:hover {
    color: rgb(var(--primary-color));
}

/* Card 3-1 */
.contact-item {
    transition: .1s ease;
}

.contact-item:hover {
    color: rgb(var(--primary-color));
}

/* Card 3-5 */
.card-3-5 .card-item {
    position: relative;
}

.card-3-5 .image-wrapper {
    filter: grayscale(1) brightness(45%);
    transition: .3s ease;
}

.card-3-5 .card-item:hover .image-wrapper {
    filter: grayscale(0) brightness(100%);
}

.card-3-5 .card-body {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    transition: .3s ease;
}

.card-3-5 .card-item:hover .card-body {
    opacity: 0;
}

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

/* Split med vertical bildspel */
.vertical-scroll-slider .image-wrapper {
    height: 60vh;
    margin: 3rem 0;
}

.vertical-scroll-slider .slick-list {
    width: 100%;
    overflow: visible;
}

.vertical-scroll-slider .slick-list .item {
    transition: all 2s ease;
}

.vertical-scroll-slider .slick-list .item[aria-hidden="true"] {
    transform: scale(.95);
}

.vertical-scroll-slider .slick-dots {
    position: absolute;
    right: -3.5rem;
    flex-direction: column;
    width: auto;
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 1600px) {
    /* Split med vertical bildspel */
    .vertical-scroll-slider .image-wrapper {
        height: 55vh;
        margin: 1rem 0;
    }
}

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

@media only screen and (max-width: 1200px) {
    /* Split med vertical bildspel */ 
    .split-wrapper.vertical-scroll-slider {
        flex-direction: column;
    }

    .vertical-scroll-slider .split-content {
        align-self: flex-start;
        width: 100%;
        padding: 0 0 3rem;
    }

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

    .vertical-scroll-slider .slick-dots {
        top: -2rem;
        right: 0;
        flex-direction: row; 
    }
}

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

    .split-content {
        width: 100%;
        max-width: 70rem;
        padding: 0 0 3rem;
        background: transparent;
    }

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

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

/* Header / Navigation
========================================================================== */



header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

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

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

/* Nav */
.TemplateMenu a {
    font-size: 1.5rem;
    color: rgb(var(--black-color));
    font-family: 'Unica Regular';
}

/* Dropdown */
header:not(.mobile-menu) .TemplateMenu>li>ul {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

header:not(.mobile-menu) .TemplateMenu ul li {
    border-left: 1px solid rgb(var(--gray-light-color));
    transition: .3s ease;
}

header:not(.mobile-menu) .TemplateMenu ul li:hover {
    border-color: rgb(var(--primary-color));
}

/* CTA  */
.header-cta-wrapper {
    position: relative;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1 0px;
    width: 100%;
    max-width: var(--section-width);
    height: 3rem;
    padding: .5rem 0;
    margin: 0 auto 0 4rem;
    list-style: none;
    overflow: hidden;
    transition: .3s ease;
}


.header-cta-wrapper a {
margin-left: 1rem;
}


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

/* Mobilmeny */
.mobile-menu .Padding {
    padding-bottom: 10rem;
}
 
@media only screen and (max-width: 580px) {

    /* CTA  */
    .header-cta-wrapper .btn {
        padding: 0.7rem 1.5rem;
    } 
}

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

/* Top-section
========================================================================== */
.top-section { 
    background-image: linear-gradient(to left, rgb(var(--white-color)) 55rem, rgb(var(--gray-light-color)) 55rem);
    overflow: hidden;
}

.top-section .section-block-wrapper {
    position: relative;
}

/* Text */
.top-section .section-title {
    font-size: 6rem;
}

.top-section p {
    max-width: 57rem;
}
.btn-wrap-text {
    display: flex;
    align-items: center;
  }
.btn-wrap-title h3{
    padding-bottom: 0;
    margin-right: 2rem;
}
/* Bouncing arrow */
.bouncing-arrow {
    position: absolute;
    left: 0;
    bottom: -4rem;
    animation: bounce 2s infinite;
}

.bouncing-arrow i {
    color: rgb(var(--primary-color));
    font-size: 4rem;
    font-weight: 500;
}

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

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

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

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

    .top-section .section-title span {
        display: block;
    }
}

@media only screen and (max-width: 1200px) {
    .top-section,
    .top-section .section-block {
        background-image: none;
    }

    /* Text */
    .top-section .text-block,
    .top-section .text-block p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .btn-wrap-text{
        justify-content: center;
    }
    .top-section .section-title span {
        display: inline-block;
    }

    /* Bouncing arrow */
    .bouncing-arrow {
        display: none;
    }
}

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

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 40rem;
    background-image: url(/assets/images/graphics/topright-icon-large.png);
    background-size: auto 105%;
    background-repeat: no-repeat;
    background-position: 104% -4rem;
}

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

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

@media only screen and (max-width: 1150px) {
    .hero {
        background-image: none; 
    }
}

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

/* Hero-split
========================================================================== */
.hero-split {
    background-image: url(/assets/images/graphics/topright-icon-large.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 104% -4rem;
} 

.hero-split .section-title {
    font-size: 5rem;
}
 
@media only screen and (max-width: 1250px) {
    .hero-split {
        background-size: 52% auto;
        background-position: 105% -3rem;
    }
}

@media only screen and (max-width: 1000px) {
    .hero-split {
        background-image: none;  
    }
}

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

/* ==========================================================================
Undersida: Case-undersida
========================================================================== */
.split-image .badge-image {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 25rem;
    min-width: unset;
    height: unset;
    min-height: unset;
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background: rgb(var(--gray-light-color));
    border-top: 1px solid rgb(var(--white-color));
}

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

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

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

.footer .text-label {
    padding: 0 0 1rem;
    font-size: 1.5rem;
    color: rgb(var(--black-color));
    line-height: 1;
    font-family: 'Unica Regular';
    text-transform: uppercase;
}

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

.footer-top p,
.footer-top a {
    font-size: 1.6rem;
    text-decoration: none;
    transition: .3s ease;
}

.footer-top a:hover {
    color: rgb(var(--primary-color));
    text-decoration: none;
}

/* Sociala medier */
.footer-socials {
    display: flex;
    align-items: center;
}

.footer-socials::before,
.footer-socials::after {
    position: relative;
    display: inline-block;
    content: '';
    flex: 1 1 0%;
    border-top: 1px solid rgb(var(--black-color));
}

.footer-socials::before {
    margin-right: 2rem;
}

.footer-socials::after {
    margin-left: 2rem;
}

/* 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 {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgb(var(--gray-dark-color));
}

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

.webbess-stamp img {
    width: 2.5rem;
    margin-left: 1rem;
    opacity: .6;
}

@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,
    .footer-menu-large {
        width: 100%;
        margin-bottom: 0;
    }
}

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

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

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

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