@font-face {
    font-family: "flama";
    src: url(/assets/fonts/FlamaSemicondensed-Book.otf);
    font-weight: 200;
}

@font-face {
    font-family: "flama";
    src: url(/assets/fonts/FlamaSemicondensed-Medium.otf);
    font-weight: 400;
}

aside form {
    padding: 0.3rem 0 0 0;
}
body{
    overflow-x: hidden;
    font-family: 'flama', sans-serif;
    font-weight: 200;
}
main{
    background: linear-gradient(#eeeeee, #fff);
}
a{
    text-decoration: none;
}
li{
    list-style-type: none;
}
h1,h2,h3,h4,p{
    margin: 0;
}
h1{margin-top: 2rem;}
h1, h2{
    text-transform: uppercase;    
}
h1{
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: rgba(20, 20, 20, 0.8);
}
p{
    color: rgba(20, 20, 20, 0.6);
}
p + p{
    margin-top: 2rem;
}

/* bannr button */

.ms-layer.btn3 {
    padding: 1rem 2rem;
    border-radius: 30px !important;
    outline: none;
    text-transform: uppercase;
    border: none;
    background-color: #ffffff;
    color: #162132 !important;
    font-weight: 700;
    transition: .4s; 
}

.ms-layer.btn3:hover {
    background-color: #162132;
    color: #fff !important;
}

.dropdown-bullet {
    position: relative;
    width: 20px;
    height: 10px;
}
.dropdown-bullet::after,
.dropdown-bullet::before{
    content: "";
    position: absolute;
    display: block;
    height: 10px;
    width: 3px;
    background-color: #505050;
}
.dropdown-bullet::after{
    right: 6px;
    transform: rotate(45deg);
}
.dropdown-bullet::before{
    left: 6px;
    transform: rotate(-45deg);
}

#mobile-active{
    color: #162132;
    background: #ececec;
}
#active{
    background: #fff;
    color: #162132;
}

.inner{
    width: 1280px;
    display: flex;
}

/* shadows */
.offer-textbox::after{
    content: "";
    position: absolute;
    bottom: 50px; left: 50%;
    display: block;
    width: 50%;
    height: 40px;
    border-radius: 200px / 30px;   



    box-shadow: 0 15px 40px 15px black; 
    
    z-index: -1;
    transform: translateX(-50%);

}

/* MOBILE NAV BAR */
.mobile-nav .img-wrapper a{
    padding: 0;
}
.mobile-nav{
    position: fixed;
    top: 0; right: 0; left: 0;
    display: none;
    z-index: 999;
}
.mobile-nav nav.open{
    transform: translateY(0);
}
.mobile-nav nav{
    position: absolute;
    left: 0; right: 0; top: 100px;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    background: #162132;
    transform: translateY(-150%);
    transition: .3s;
    z-index: -1;
}
.mobile-nav nav .link-wrapper{
    display: flex;
    justify-content: center;
}
.mobile-nav a{
    border-radius: 30px;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    font-size: 20px;
    margin: 0.5rem 0;
}
.mobile-nav nav a + a{ margin-left: 1rem;}
.mobile-nav-display{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #162132;

    z-index: 999;
    transition: .3s;
}
.mobile-nav-display .img-wrapper{
    max-width: 250px;
    margin-left: 0.5rem;
}
.mobile-nav-display img{
    width: 100%;
}

.inner-nav-bar .lang-container li a:hover{
    color: #a81427;
    cursor: pointer;
}

.lang-selection-container #active-lang{
    background: #fff;
    color: #162132;
}

/* NAV BAR */

.nav-bar{
    display: flex;
    justify-content: center;
    background: #162132;
}


.inner-nav-bar{
    display: flex;
    position: relative;
    align-items: center;
    padding: 1.3rem 0;
    width: 1280px;
    z-index: 999;
}

.inner-nav-bar nav{
    margin-left: auto;
    white-space: nowrap;
    z-index: 99;
}

.inner-nav-bar a{
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 19px;
    padding: 0.5em 1.2em;
    border-radius: 30px;
    position: relative;
}
.nav-bar nav a + a{margin-left: 2em;}

.inner-nav-bar a::before{
    content: "";
    position: absolute;
    right: 0; bottom: 0; left: 0;
    display: block;
    border-bottom: 2px solid #fff;
    transform: scaleX(0);
    transition: transform 0.4s;
}
.inner-nav-bar a.logo-link{
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    padding-left: 0;
}


.inner-nav-bar a.logo-link::before{display: none;}


.inner-nav-bar a:hover::before{
    transform: scaleX(1);

}
a#active::before{
    display: none;
}

.inner-nav-bar .lang-container{
    display: inline-flex;
    margin-left: 2rem;

}

.inner-nav-bar span{

    color: #162132;
    padding: 0.5em 1em;
    background: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 700;
    width: 36px;
}

.inner-nav-bar span::after{
    content: url(../media/nav-bar/lang-drop-arrow.svg);
    display: inline-flex;

    margin-left: 0.5rem;
}

.inner-nav-bar span:hover{cursor: pointer;}

/* Izmanits */
.inner-nav-bar ul{
    position: absolute;
    visibility: hidden;
    border-radius: 20px;
    padding: 2.5em 0 0 0;
    background: #ececec;
    margin-top: 0;
    color: #162132;
    font-weight: 700;
    text-transform: uppercase;
    transition: .4s;
    z-index: -1;
    overflow: hidden;
}


/* izmainits */
.lang-container li{
    /* padding: 0.5em 1.9em 0.5em 1em; */
    width: 68px;
}
.lang-container li.selected {
    background-color: #aaaaaa;
 }

.lang-container li a {
    color: #162132;
}

.lang-container li a:hover::before {
    display: none;
}

/* Izmainīts */
.inner-nav-bar ul.displayed{
    visibility: visible;
}


.section {
    display: flex;
    justify-content: center;
    /* padding-top: 4rem; */
    /* overflow-x: hidden; */
}

#section-1 {
    padding-top: 0;
}

footer .mobile-social-container{
    display: none;
}
footer .mobile-social-container a + a{
    margin-left: 1rem;
}
footer{
    position: relative;
    display: flex;
    justify-content: center;
    background:#162132;
    z-index: 1;

}
footer::after{
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; 
    background: center / cover no-repeat url(../media/footer-bg.svg);
    z-index: -1;
}
footer .inner{
    flex-direction: column;

}
footer .social-row{
    display: flex;
    margin-top: 5rem;
    width: 100%;
    align-items: center;
    
}

footer .social-row .logo{
    width: 350px;
}

footer .social-row .social-container{
    margin-left: auto;
}
footer .social-row a{
    margin-left: 0.5rem;
}

footer .footer-cols-container{
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    margin-bottom: 5rem;
    width: 100%;
}

footer .footer-col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* width: 25%; */

}
footer .footer-col a,
footer .footer-col p{
    color: #fff;
}
footer .footer-col p{
    align-self: flex-end;
}
footer a{
    font-size: 18px;
    font-weight: 200;
    margin-bottom: 0.7rem;
    position: relative;
}
footer a::after{
    content: "";
    position: absolute;
    bottom: -5px; left: 0;
    width: 100%;
    border-bottom: 2px solid #fff;
    transform: scaleX(0);
    transition: .4s;
}
footer a:hover::after{
    transform: scaleX(1);
}
footer .bold{
    font-weight: 600;
}

footer .footer-col-1 a ,
footer .footer-col-2 a{
    text-transform: uppercase;
}

footer .footer-col-3 a,
footer .footer-col-4 a{
    font-size: 25px;
    font-weight: 200;
    align-self: flex-end;
    margin-top: 0.7rem;
    white-space: nowrap;

}
footer .copyright{
    margin-top: auto;
    font-weight: 200;
    text-transform: uppercase;
    opacity: 0.8;
}


aside .side-bar-container .toggle-button:hover{cursor: pointer;}

aside .custom-options{
    max-height: 240px;
    overflow-y: auto;
}

/* Kāpēc mēs module */

.why-us p + p {
    margin-top: 0;
}

.why-us { margin: 2rem 0 4rem 0; }

.why-us h1 {
    font-size: 100px;
    font-weight: 700;
    color: #1e7842;
    margin-top: 0;
    margin-bottom: 0;
}

.why-us .img-wrapper img{
    width: 100%;
    margin-top: 0;
    max-width: 650px;
}

.why-us .icon-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}
.why-us .icon-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.why-us .icon-wrapper p{
    line-height: 1.2;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}
.why-us .icon-wrapper img{
    height: 70px;
} 
.why-us .icon-wrapper p{
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    margin: 2rem 0;
}
.why-us .text-container {
    display: flex;
    align-items: flex-end;
}

.why-us .text-container p{line-height: 2;}

.why-us .icon-wrapper{
    width: 25%;
}
.why-us .img-wrapper{
    max-width: 900px;
}




.why-us .image-row-container{
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
}
.why-us .image-row-container > .img-wrapper{margin-right: 2rem;}
.why-us .why-us-top-row{display: flex;}
.why-us .text-container{ margin-left: 4rem;}
.why-us .why-us-top-row h1{text-align: right;}

.hidden-why-us-heading {
    height: 1px;
    visibility: hidden;
}

@media (max-width:1300px){
    .inner{
        width: calc(100% - 4rem);
    }
}

@media (max-width:1150px){

    .inner-nav-bar .lang-container{
        margin-left: auto;
    }
    footer .footer-cols-container{
        flex-wrap: wrap;
        
    }
    footer .footer-col{
        width: 50%;
        align-items: flex-start;
    }
    footer .footer-col-3 a, footer .footer-col-4 a,
    footer .footer-col p{
        align-self: flex-start;
    }
    footer .footer-col-3,
    footer .footer-col-4{
        margin-top: 2rem;
    }
}

@media(max-width: 1100px){
    .mobile-nav{
        display: block
    }
    .nav-bar{
        display: none;
    }
    #section-1 .inner{
        padding-top: 3.5rem;
    }
    .lang-selection-container ul{
        display: flex; 
        justify-content: center;
        padding: 0;
    }
    .lang-selection-container li{
        padding: 0.5rem 1rem;
        border-radius: 20px;
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
        margin: 0.2rem;
    }
    /* .lang-selection-container li:hover{
        color: #162132;
        background-color: #a81427;
    } */

}

@media (max-width: 992px) {
    .why-us .image-row-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }

    .why-us .image-row-container > .img-wrapper {
        margin-right: 0;
        width: 100%;
    }

    .why-us .img-wrapper img {
        max-width: 100%;
    }
    
    .inner {
        overflow: hidden;
    }
}

@media (max-width: 768px){
    
    .why-us .why-us-top-row{flex-direction: column;}
    .why-us .why-us-top-row h1{text-align: left;}
    .why-us .text-container{ margin-left: 0;}

    .why-us .why-us-top-row tbody tr {
        display: flex;
        flex-direction: column;
    }
    .inner > .inner {
        width: 100%;
        padding: 0;
    }

}

@media (max-width: 576px){
    .why-us h1{
        font-size: 80px;
    }
    footer .social-row .logo{
        width: 100%;
    }
    .inner{
        width: calc(100% - 2rem);
    }
    
    .why-us .icon-wrapper{width: calc(50% - 0.5rem);}
  
    footer .footer-cols-container{
        flex-direction: column;
    }
    footer .footer-col{
        width: 100%;
    }

    footer .footer-col-2{
        margin-top: 0;
    }
    footer .social-container{
        display:none;
    }
    footer .mobile-social-container{
        display: flex;
        margin: 2rem 0;
    }
    aside{
        min-width: 100%;
        margin-right: 0;
    }
}
