/* EOL Vent Mining AB */

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

/* ==========================================================================
Generellt
========================================================================== */
:root {
    /* 	Colors */
    --primary-color: 172, 24, 46;
    --secondary-color: 34, 114, 183;

    --black-color: 17, 17, 17;
    --gray-dark-color: 58, 58, 58;
    --gray-color: 178, 178, 178;
    --gray-light-color: 237, 237, 237;
    --white-color: 255, 255, 255;

    /* 	Layout  */
    --col-padding: 3rem;
    --menu-height: 7.5rem;
    --top-header-height: 4rem;
    --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;
    }
}

/* Sprak, tex header-cta-wrapper
- Anvand lang-en for allt som endast ska synas pa engelska sidan
- Anvand lang-se for alt som endast ska synas pa svenska sidan
========================================================================== */
body.ru .lang-en,
body:not(.ru) .lang-ru {
    display: none;
}

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

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

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

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

.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 */
.mb-3 {
    margin-bottom: 3rem;
}

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

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

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

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

/* Rubriker */
.section-title {
    padding-bottom: 0.2em;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Teko', sans-serif;
}

.ru .section-title {
    padding-bottom: 0.2em;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

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

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

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

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

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

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

.text-block-center {
    max-width: 70rem;
    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;
    }

    .ru .section-title {
        font-size: 3rem;
    }

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

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

    .ru .section-title {
        font-size: 2.3rem;
    }

    .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: 1.2rem 2.5rem;
    margin: 7px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid;
    transition: all .4s ease;
}

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

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

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

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

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

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

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

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

.bg-gray-dark {
    background-color: rgb(var(--gray-dark-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
========================================================================== */
/* Bakgrundsbild */
.bg-red-gradient {
    position: relative;
    background: linear-gradient(to right, rgb(var(--primary-color)), rgb(var(--gray-dark-color)));
}

.bg-white-gradient {
    position: relative;
    background: linear-gradient(to right, rgb(var(--white-color)), rgb(var(--gray-dark-color)));
} 

.bg-red-gradient::after,
.bg-white-gradient::after {
    content: '';
    z-index: 1;
    opacity: .15;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/assets/images/graphics/vent-gray.svg);
    background-repeat: no-repeat;
    background-size: 80rem auto;
    background-position: -20rem -30rem; 
}
 
.bg-white-gradient::after {
    opacity: .05;
    background-image: url(/assets/images/graphics/vent-gray-light.svg);
    background-repeat: repeat;
    background-size: 30rem; 
    background-position: 10rem -40rem;  
}  
 
.bg-red-gradient .section-block,
.bg-white-gradient .section-block {  
    z-index: 2; 
    position: relative;
}
 
/* Borders */
.border-top-primary {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgb(var(--primary-color));
}

.border-bottom-white {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgb(var(--white-color));
}

.ru .border-bottom-white {
    padding-bottom: 3.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgb(var(--white-color));
}

.border-bottom-primary {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgb(var(--primary-color));
}

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

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

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

.parallax .section-block {
    background-color: rgb(var(--black-color), .3)
}

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

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

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

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

.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: 1250px) {
    /* Bredder */
    .cards-wrapper.w-25 .card-item {
        width: calc((100% / 2) - 2rem);
        margin: 1rem;
    }
}

@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) {
    /* Bredder */
    .cards-wrapper.w-25 .card-item,
    .cards-wrapper.w-33 .card-item,
    .cards-wrapper.w-50 .card-item {
        width: 100%;
        margin: 1rem 0; 
    }

    /* Paddings */
    .cards-wrapper .p-4 {
        padding: 2rem;
    }
}

/* Card 2-1 */
.card-2-1 .card-header {
    font-size: 5rem;
}

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

/* Card 2-2 */
.card-2-2 .card-header,
.card-2-2 .image-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
}

.card-2-2 .image-wrapper {
    padding: 2.5rem;
    transition: .3s ease-in-out;
}

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

.card-2-2 a.card-item:hover .image-wrapper {
    padding: 2rem;
}

/* Card 3-4 */
.card-3-4 .card-item {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card-3-4 .image-wrapper {
    width: 16rem;
    height: 100%;
}

.card-3-4 .card-body {
    flex: 1 1 0px;
}

.card-3-4 .contact-item i {
    margin-right: 1rem;
}

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

@media only screen and (max-width: 980px) {
    .card-3-4.w-50 .card-item {
        width: 100%;
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 480px) {
    .card-3-4 .card-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
}

/* Logos 1 */ 
.logos-1 .image-wrapper {
    height: 10rem;
    padding: 1rem;
    text-align: center;
    background: rgb(var(--white-color));
}

.logos-1 img {
    width: 100%;
    max-height: 12rem;
}

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

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

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

.split-video video,
.split-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Bredder & hojder */
.split-wrapper .w-35 {
    width: 35%;
}

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

/* Tva bilder i split-image */
.split-image.double {
    position: relative;
}

.split-image.double .image-wrapper:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(50% - 1rem);
}

.split-image.double .image-wrapper:nth-child(2) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(50% - 1rem);
}
 
@media screen and (max-width: 1350px) {
    /* Bredder & hojder */
    .split-wrapper .w-35,
    .split-wrapper .w-65 {
        width: 50%;
    }
}

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

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

    .split-image {
        width: 100%;
    }

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

    /* Bredder */
    .split-wrapper .w-35,
    .split-wrapper .w-65 {
        width: 100%;
    }

    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 3rem 3rem;
    }

    /* Tva bilder i split-image */
    .split-image.double { 
        height: 50rem;
    } 

    .split-image.double .image-wrapper:nth-child(1),
    .split-image.double .image-wrapper:nth-child(2) {
        height: calc(50% - 5px);
    }
} 

@media screen and (max-width: 580px) {
    /* Split i full-width sektion */
    .mw-none.pl-0 .split-content {
        padding: 0 2rem 3rem;
    }
}

/* Header / Navigation
========================================================================== */
header {
    border-bottom: 1px solid rgb(var(--gray-light-color));
}

header:not(.scrolled) {
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

/* Top header */
.top-header {
    width: 100%;
    max-width: var(--section-width);
    height: var(--top-header-height);
    margin: 0 auto;
    border-bottom: 1px solid rgb(var(--white-color));
    overflow: hidden;
    transition: .3s ease;
    background-color: transparent;
}

.scrolled .top-header {
    height: 0;
}

.top-header ul {
    display: flex;
    justify-content: flex-end;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
}

.top-header a {
    padding: 0 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: .2s ease;
    color: rgb(var(--white-color));
}

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

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

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

.header-logo img {
    width: 100%; 
}

/* Nav */
.TemplateMenu a {
    font-size: 2.3rem;
    font-weight: 400; 
    color: rgb(var(--black-color));
    font-family: 'Teko', sans-serif;
}

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;
    flex: 1 1 0px;
    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;
} 

/* Mobilmeny */
.mobile-menu:not(.scrolled) {
    --menu-color: var(--white-color);
}

.mobile-menu .TemplateMenu {
    text-align: center;
}

.mobile-menu .TemplateMenu li {
    padding-left: 0;
}

.mobile-menu .TemplateMenu a {
    font-size: 2.5rem;
}

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

/* Popup-notis
========================================================================== */
.EditMode .popup-wrapper {
    display: none;
}

.popup-wrapper {
    z-index: 8;
    position: fixed;
    bottom: 3rem;
    right: 3rem;
}

/* Knappar */
.popup-button {
    position: relative;
    appearance: none;
    width: 5rem;
    height: 5rem;
    background: rgb(var(--primary-color));
    border-radius: 50%;
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    border: none;
    cursor: pointer;
}

.popup-button i {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.8rem;
    transform: translate(-50%, -50%);
    transition: .3s ease;
    color: rgb(var(--black-color));
}

.popup-wrapper .popup-button .icon-open,
.popup-wrapper.opened .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(1);
}

.popup-wrapper.opened .popup-button .icon-open,
.popup-wrapper .popup-button .icon-close {
    transform: translate(-50%, -50%) scale(0);
}

/* Innehall */
.popup-window {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    right: 0;
    bottom: 6rem;
    width: 350px;
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 12rem);
    margin: 0 2rem;
    background: rgb(var(--white-color));
    box-shadow: 0 0 3rem rgba(var(--black-color), .3);
    transition: opacity .3s ease, bottom .3s ease;
}

.popup-window::after {
    content: '';
    z-index: -1;
    opacity: .1; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/assets/favicon/web-app-manifest-192x192.png);
    background-repeat: no-repeat;
    background-position: 95% 90%;
    background-size: 10rem;
}

.popup-wrapper.opened .popup-window {
    opacity: 1;
    visibility: visible;
    display: block;
    bottom: 10rem;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 2rem;
    border-bottom: 1px solid rgb(var(--primary-color));
}

.popup-header .text-title {
    padding: 0;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 500;
}

.popup-content .small-title {
    font-size: 1.9rem;
    padding-bottom: .6em;
}

.icon-close-popup {
    appearance: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
}

.icon-close-popup:hover {
    background-color: rgb(var(--gray-light-color));
}

.popup-content {
    padding: 1rem 2rem 3rem;
    max-height: 30rem;
    overflow: auto;
}

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

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

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

.top-section .section-title {
    font-size: 6rem;
    font-family: 'Teko', sans-serif;
    font-weight: 500;
}

.ru .top-section .section-title {
    font-size: 5.5rem;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-optical-sizing: auto;
    font-style: normal;
}

.top-section .small-title {
    font-size: 3.5rem;
    font-family: 'Teko', sans-serif;
    font-weight: 500;
}

.ru .top-section .small-title {
    font-size: 3rem;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-optical-sizing: auto;
    font-style: normal;
}

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

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

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

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

    .ru .top-section .small-title {
        font-size: 2.5rem;
    }
}

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

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

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

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

/* Products
========================================================================== */
body:not(.EditMode) .section-products .section-block {
    padding-top: 0;
}

body:not(.EditMode) .section-products .cards-wrapper {
    z-index: 1;
    position: relative;
    margin-top: -10rem;
}

@media only screen and (max-width: 750px) {
    .section-products .cards-wrapper .card-item {
        padding: 1rem;
    }
}

/* Text-divider
========================================================================== */
.section-text-divider .section-block {
    padding-top: 15rem;
    padding-bottom: 15rem;
}

.section-text-divider .col-0 {
    width: calc(35% - 1.5rem);
    padding-right: 5rem;
}

.section-text-divider .col-1 {
    width: 65%;
    padding-left: 0;
}

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

    .section-text-divider .col-0 {
        width: 100%;
        padding-right: 0;
    }
    
    .section-text-divider .col-1 {
        width: 100%;
    }
}

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

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

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

.section-slider .card-item {
    margin: 0 1rem;
} 

/* CTA 
========================================================================== */
.section-cta {
    background-image: url('/assets/images/eol-vent-2000px.jpg');
}

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

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

.hero .section-block {
    width: 100%;
    padding-bottom: 5rem;
}

.hero .text-block {
    max-width: 85rem;
} 

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

.ru .hero .section-title {
    font-size: 5.5rem;
    font-family: "Oswald", sans-serif;
    color: rgb(var(--white-color));
}
 
@media only screen and (max-width: 580px) {
    .hero {
        min-height: 40rem;
    }

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

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

/* ==========================================================================
Undersida: About us
========================================================================== */
.logo-client {
    width: 25rem;
}

/* ==========================================================================
Undersida: Products
========================================================================== */
.title-image { 
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.title-image .image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center; 
    padding: 1.5rem;
    width: 8rem;
    height: 8rem;
    margin-right: 2rem;
    border-radius: 50%;
}

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

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

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

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

.footer .text-label {
    padding: 0 0 1rem;
    font-size: 2.5rem;
    font-family: 'Teko', sans-serif;
    line-height: 1; 
}

.ru .footer .text-label {
    padding: 0 0 1rem;
    font-size: 2rem;
    font-family: "Oswald", sans-serif;
    line-height: 1; 
    font-weight: 500;
}

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

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

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

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

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

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

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