/* RR I NORR AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 181, 42, 25;

    --black-color: 0, 0, 0;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 222, 224, 224;
    --gray-light-color: 195, 195, 195;
    --white-color: 255, 255, 255;

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

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

    /* 	Mobile nav */
    --activate-mobile-menu: 1024;
    --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: 15rem 5rem;
}

/* Paddings */
.p-2 .section-block,
.p-2:not(.section-wrapper) {
    padding: 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 */
.mb-3 {
    margin-bottom: 3rem;
}

@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: 'Poppins', sans-serif;
}

/* Rubriker */
.section-title {
    padding-bottom: .5em;
    font-size: 4.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.small-title {
    padding-bottom: .3em;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.4;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Knappar */
.btn,
.ContactSubmit {
    min-width: 15rem;
    padding: 1rem 2rem;
    margin: 5px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 2rem;
    transition: all .4s ease;
}

.btn::after,
.arrow-link::after {
    content: ' \f061';
    display: inline-block;
    margin-left: 1rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--primary-color));
    transition: transform .4s ease;
}

.btn:hover::after,
.arrow-link:hover::after {
    transform: translateX(5px);
    transition: transform .4s ease;
}

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

/* Arrow link */
.arrow-link {
    margin: 1rem 2rem 0 0;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

/* Cirkelikon */
.circle-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    margin: .5rem;
    font-size: 0;
    border-radius: 50%;
    color: rgb(var(--white-color));
    background-color: rgb(var(--primary-color));
    text-decoration: none;
    transition: .3s ease;
}

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

.circle-icon em:before,
.circle-icon i:before {
    font-size: 1.4rem;
}

/* Animation knapp */
.bouncing-btn::after {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(5px);
    }
}

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

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

.bg-gray-dark {
    background-color: rgb(var(--gray-dark-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
========================================================================== */
/* Borders */
.border-primary {
    border: 1px solid rgb(var(--primary-color));
}

/* Border radius */
.br-2 {
    border-radius: 2rem;
    overflow: hidden;
}

/* Bakgrundssymbol */
.symbol-top-left {
    position: relative;
}

.symbol-top-left::after {
    content: '';
    opacity: .3;
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: 20rem;
    height: 20rem;
    background-image: url(/assets/images/graphics/symbol-primary-top-left.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.symbol-top-left .section-block {
    z-index: 1;
    position: relative;
}

@media only screen and (max-width: 980px) {
    .symbol-top-left::after {
        top: 0;
        left: 0;
        width: 15rem;
        height: 15rem;
    }
}

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

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

.parallax::after,
.parallax::before {
    z-index: -1;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 20rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(var(--black-color), 1) 0%, rgba(var(--black-color), .5) 56%, rgba(var(--black-color), 0) 100%);
}

.parallax::after {
    top: unset;
    bottom: 0;
    background: linear-gradient(180deg, rgba(var(--black-color), 0) 0%, rgba(var(--black-color), .5) 56%, rgba(var(--black-color), 1) 100%);
}

.parallax .section-block {
    display: flex;
    align-items: center;
    min-height: 65vh;
    background-color: rgb(var(--black-color), .75);
}

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

.parallax-svets {
    background-image: url('/assets/images/svets-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 .card-item {
    text-decoration: none;
}

/* Bredder */
.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-wrapper.w-100 .card-item {
    width: 100%;
    margin: 1rem 0;
}

@media only screen and (max-width: 1024px) {

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

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

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

/* Card 1-1 */
.card-1-1 .card-item {
    position: relative;
    padding: 2rem 4rem 2rem 2rem;
    transition: .3s ease;
}

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

.card-1-1 .card-item:hover i {
    color: rgb(var(--white-color));
}

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

.card-1-1 .w-arrow::after {
    content: ' \f061';
    position: absolute;
    top: 50%;
    right: 2rem;
    font-size: 1.8rem;
    font-weight: 400;
    font-family: 'Font Awesome 5 Pro';
    color: rgb(var(--primary-color));
    transform: translate(0, -50%);
    transition: all .4s ease;
}

.card-1-1 .card-item:hover .w-arrow::after {
    color: rgb(var(--white-color));
}

/* Card 3-1 */
.card-3-1 .card-item {
    display: flex;
    flex-direction: column;
}

.card-3-1 .card-item.reverse {
    flex-direction: column-reverse;
}

.card-3-1 .image-wrapper {
    height: 20rem;
}

.card-3-1 .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(var(--black-color), .5);
}

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

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

@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(--black-color));
    background-color: rgb(var(--gray-light-color));
}

header:not(.scrolled, .active-menu) {
    --menu-color: var(--white-color);
    background: transparent;
    border-bottom: none;
}

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

header:not(.scrolled, .active-menu) .header-logo {
    filter: invert(1) brightness(10);
}

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

header:not(.scrolled, .mobile-menu) .TemplateMenu>li>a:not(:hover) {
    color: rgb(var(--white-color));
}

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

.header-cta-wrapper .btn {
    min-width: unset;
    padding: 1rem 2rem;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

header.scrolled .header-cta-wrapper .btn,
header.active-menu .header-cta-wrapper .btn {
    color: rgb(var(--white-color));
    border-color: rgb(var(--black-color));
    background: rgb(var(--black-color));
}

@media only screen and (max-width: 580px) {

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

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

/* Top-section
========================================================================== */
.top-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .75);
}

.top-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 15rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(var(--black-color), 0) 0%, rgba(var(--black-color), .5) 56%, rgba(var(--black-color), 1) 100%);
}

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

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

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

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

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

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

/* Intro
========================================================================== */
.section-intro::after {
    width: calc(100% - 3rem);
    height: 100%;
    background-position: left center;
}

@media only screen and (max-width: 1700px) {
    .section-intro::after {
        top: 10rem;
        left: 1rem;
        width: calc(100% - 1rem);
    }
}

@media only screen and (max-width: 1024px) {
    .section-intro::after {
        top: 7rem;
        height: 70%;
    }
}

@media only screen and (max-width: 580px) {
    .section-intro::after {
        top: 3rem;
        left: 0;
        height: 49%;
    }
}

/* Instagram
========================================================================== */
.section-instagram {
    padding: 5rem 2rem 2rem 2rem;
    background-image: linear-gradient(180deg, rgba(var(--black-color), 1) 0%, rgba(var(--black-color)) 50%, rgba(var(--gray-light-color)) 50%, rgb(var(--gray-light-color)) 100%);
}

#eapps-instagram-feed-1 .eapps-instagram-feed-posts-item {
    border-radius: 2rem;
    overflow: hidden;
}

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

/* Hero - Grundkod
========================================================================== */
.hero {
    display: flex;
    align-items: flex-end;
    min-height: 60vh;
    padding-top: var(--menu-height);
    margin-top: calc(-1 * var(--menu-height));
    background-color: rgb(var(--black-color), .5);
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 25rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(var(--black-color), 0) 0%, rgba(var(--black-color), .5) 56%, rgba(var(--black-color), 1) 100%);
    z-index: -1;
}

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

.hero .section-title {
    font-size: 6rem;
    color: rgb(var(--white-color));
}

@media (max-width: 768px) {
    .hero {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero .section-title {
        font-size: 4rem;
        color: rgb(var(--white-color));
    }
}

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

/* ==========================================================================
Undersida: Kontakta oss
========================================================================== */
.section-contact .card-item {
    padding: 2rem;
}

.section-contact .card-body i {
    margin-right: 1rem;
}

@media only screen and (max-width: 580px) {
    .section-contact .card-body .small-title {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
Footer
========================================================================== */
.footer {
    padding: 0 5rem;
    background: rgb(var(--gray-light-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-weight: 600;
    color: rgb(var(--primary-color));
    line-height: 1;
}

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

.footer-top p,
.footer-top a {
    text-decoration: none;
}

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

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