:root {
    --red: #e64b38;
    --black: #2a2a2a;
    --light-gray: #efefef
}


.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

.f-white {
    color: #ffffff;
}

.strong {
    font-weight: 900;
}

* {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.education-title{
    color:var(--red);
    font-weight:800;
}

body {
    padding-top: 66px;
    overflow-x: hidden;
}
.btn-outline-danger{
    border-color:var(--red);
    color:var(--red);
}

.btn-outline-danger:hover{
    background:var(--red);
}

/**
    * NAV
*/

.navbar-fixed-top {
    position: fixed !important;
    z-index: 1050;
    top: 0;
    left: 0;
    right: 0;
}

nav.bg-light {
    background-color: #efefef !important;
}

.navbar-brand {
    background-image: url(../img/logo.png);
    width: 200px;
    height: 50px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar-nav li {
    margin: 0 15px;
}



.btn-red {
    background-color: var(--red);
    color: #ffffff;
}


/**
  * CARROUSEL
*/

#carouselExampleIndicators {
    height: calc(100vh - 70px);
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-inner .slide-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.carousel-item h2 {
    font-size: 1rem;
}

.carousel-item h1 {
    font-size: 2rem;
}

img {
    object-fit: cover !important;
}


/**
 * HOME PAGE - ABOUT SECTION
*/

section {
    position: relative;
    overflow: hidden;
    z-index:2;
}

section#about,section#brands{
    padding-top: 15px;
    margin-top: -15px;
}

main #about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background-image: url(../img/border-red.svg);
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;
}


main #about .about-content {
    background-color: var(--red);
    padding: 60px 0 140px;
    overflow: hidden;
}


.center-title>* {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
}

.center-title {
    margin-bottom: 20px;
}

.center-title .line {
    display: none;
    height: 1px;
    background-color: #fff;
}

.about-image>div {
    background-image: url(../img/about.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 350px;
    position: relative;
    margin-top: 15px;
}

main #about .container {
    position: relative;
    z-index: 1;
}

main #about::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: 0;
    background-image: url(../img/wave-white.png);
    background-size: cover;
    background-position: top;
    transform: scale(1.3);
    background-repeat: no-repeat;
    z-index: 0;
}


/***
 ** NEWS SECTION
*/

main #news,
main #educations {
    padding: 60px 0 120px;
    overflow: hidden;
}

main #news::before,
main #educations::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: .15;
    background-image: url(../img/pattern.png);
    background-size: cover;
    background-position: center;
}

#news h1,
#educations h1,
#brands h1 {
    color: var(--red);
    font-size: 1.5rem;
}

#about h1 {
    font-size: 1.5rem;
}

#news .center-title .line,
#educations .center-title .line {
    background-color: var(--red);
}

.news-banner>.news-card>.news-image {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 15px;
}
.news-image::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.3);
    border-radius:10px
}


.news-banner>.news-card {
    flex-grow: 1;
    flex-basis: 0;
    transition: all 200ms 0ms ease-in-out;
    background-attachment: unset;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}

.b_accordion--active-index-0>div:nth-child(1),
.b_accordion--active-index-1>div:nth-child(2),
.b_accordion--active-index-2>div:nth-child(3),
.b_accordion--active-index-3>div:nth-child(4) {
    flex-grow: 3.5;
}

.news-banner>.news-card .title {
    color: #fff;
    font-weight: 600;
    transition: all .25s 0ms ease-in-out;
    font-size: 25px;
    text-align: center;
    padding: 75px 0;
    position: relative;
    z-index: 1;
}

.news-banner.b_accordion-active>.news-card .title {
    opacity: 0;
    max-height: 0;
}

.news-banner>.news-card .b_accordion--details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .30s ease-in;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
}

.b_accordion--active-index-0>div:nth-child(1) .b_accordion--details,
.b_accordion--active-index-1>div:nth-child(2) .b_accordion--details,
.b_accordion--active-index-2>div:nth-child(3) .b_accordion--details,
.b_accordion--active-index-3>div:nth-child(4) .b_accordion--details {
    opacity: 1;
    max-height: 300px;
}

.news-banner>.news-card .b_accordion--details * {
    color: #ffffff;
}

.news-banner>.news-card .b_accordion--details a {
    padding: 15px 35px 15px 0;
    border-bottom: 3px solid var(--red);
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none !important;
    background: url(../img/arrow-white.png) center right /20px no-repeat;
}


/**
* SECTION BRANDS
*/


main #brands-inner .brands-content {
    background:#fff;
    padding: 60px 0;
    overflow: hidden;
}
main #brands .brands-content {
    background-color: var(--light-gray);
    padding: 60px 0;
    overflow: hidden;
}

main #brands::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background-image: url(../img/border-gray.svg);
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;
    transform: scaleX(-1);
}

#brands h1, #brands-inner h1 {
    color: var(--red);
}

#brands .center-title .line,#brands-inner .center-title .line {
    background-color: var(--red);
}

.brands-list>div {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.brands-list img {
    max-height: 150px;
    max-width: 80%;
    object-fit: contain;
    filter: grayscale(1) contrast(0);
    transition: all .9 ease;
}

.brands-list img:hover {
    filter: grayscale(0);
}

footer {
    position: relative;
    margin-top: -15px;
    z-index:3;
}

footer .curve {
    content: "";
    width: 100%;
    height: 16px;
    background-image: url(../img/border-gray.svg);
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;
    /* -webkit-transform: scaleY(-1); */
}

footer .footer-content {
    background-color: var(--light-gray);
    padding: 60px 0;
}

footer .logo {
    background-image: url(../img/logo.png);
    width: 200px;
    height: 80px;
    background-position: left top;
    background-size: contain;
    background-repeat: no-repeat;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    padding: 5px 0;
}

footer ul li a {
    font-weight: 400;
    color: var(--black);
    text-decoration: none !important;
}

footer a {
    color: var(--black);
}

footer a:hover {
    color: var(--red);
}

footer svg:hover {
    fill: var(--red);
}

.educations-sections > .educations_list,
.about-sections > .inner-about-section{
    padding: 60px 0;
}

.educations-sections > .educations_list:nth-child(2n),
.about-sections > .inner-about-section:nth-child(2n){
    background-color: var(--light-gray);
}

.educations-sections > .educations_list .about-image>div{
    margin-top:0;
}

.educations-sections > .educations_list .list .row{
    padding:40px 0 !important;
    border-bottom:1px solid ;
    border-color: var(--light-gray);
}

.educations-sections > .educations_list:nth-child(2n) .list .row{
    border-color:#fff;   
}

.educations-sections > .educations_list .list .row:last-child{
    border-bottom:none;   
}

.educations-sections > .educations_list:nth-child(2n) .line,
.about-sections > .inner-about-section:nth-child(2n) .line{

}

.educations-sections > .educations_list:nth-child(2n + 1) .center-title h1,
.news-list h1,
.about-sections > .inner-about-section:nth-child(2n + 1) .center-title h1{
    color: var(--red);
}

.educations-sections > .educations_list:nth-child(2n + 1) .line,
.news-list .line,
.about-sections > .inner-about-section:nth-child(2n + 1) .line{
    background-color:var(--red);
}

.about-sections > .inner-about-section:nth-child(2n + 1) .row{
    flex-direction: row-reverse;
}
main #teams{
    padding: 15px 0;
    margin-top: -15px;
    margin-bottom: -30px;
}
main #teams .curve {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background-image: url(../img/border-red.svg);
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;
}
main #teams .teams-content {
    background-color: var(--red);
    padding: 60px 0 140px;
    overflow: hidden;
}

main #teams .card{
    border-radius: 10px;
    overflow: hidden;
}

#cards-layout{
    padding: 60px 0;
}
#cards-layout .card {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    min-height: 450px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}
.mobile_link{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:3;
}
@media (max-width: 768px) {
.navbar-brand{
    background-position:left;
}
#teams .pro-pic{
    min-height:200px;
}
#cards-layout .card {
    min-height: 350px;
}
}
@media (max-width: 420px) {
#cards-layout   .card {
    min-height: 300px;
}
}
#cards-layout .card.card-has-bg {
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
#cards-layout .card.card-has-bg:before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: inherit;
-webkit-filter: grayscale(1);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
}
#cards-layout .card.card-has-bg:hover {
transform: scale(0.98);
box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}

#cards-layout .card.card-has-bg:hover .card-img-overlay {
transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
background: var(--red);
background: linear-gradient(0deg, rgba(230,75,56,1) 0%, rgba(239,239,239,.8) 100%);
}
#cards-layout .card .card-footer {
background: none;
border-top: none;
}
#cards-layout .card .card-footer .media img {
border: solid 3px rgba(255, 255, 255, 0.3);
}
#cards-layout .card .card-title {
font-weight: 800;
}
#cards-layout .card .card-meta {
color: rgba(0, 0, 0, 0.4);
text-transform: uppercase;
letter-spacing: 2px;
}
#cards-layout .card .card-body {
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}
#cards-layout .card:hover {
cursor: pointer;
transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}
#cards-layout .card:hover .card-body {
margin-top: 30px;
transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
}
#cards-layout .card .card-img-overlay {
transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
background: var(--red);
background: linear-gradient(0deg, rgba(230,75,56,.8) 0%, rgba(239,239,239,.8) 100%);
}



.top-section{
    padding: 150px 0;
    background-position: center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
}

.top-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);

}


.top-section .container{
    position: relative;
    z-index: 1;
}  

.bottom-section{
    padding: 60px 0;
}

.section-content{
    text-align: center; 
  
  }
#contact{
    
    
  padding-top: 60px;
  width: 100%;
  background: #3a6186; /* fallback for old browsers */
  background: -webkit-linear-gradient(to left, var(--black) , var(--red)); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to left, var(--black) , var(--red)); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color : #fff;    
    padding: 60px 0;
}
#contact .contact-section{
  padding-top: 40px;
}




#contact .form-group{
  margin-top: 10px;
}
#contact label{
  font-size: 1.3em;
  line-height: 1em;
  font-weight: normal;
}
#contact .form-control{
  font-size: 1.3em;
  color: #080808;
}
#contact textarea.form-control {
    height: 135px;
   /* margin-top: px;*/
}

#contact .submit{
  font-size: 1.1em;
  float: right;
  background-color: transparent;
  color: #fff;
  align-items: center;

}

section.contact-info {
    padding: 60px 0 100px;
    position: relative;
}
section.contact-info::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: .15;
    background-image: url(../img/pattern.png);
    background-size: cover;
    background-position: center;
}

.contact-info .info-box {
    margin-top: 15px;
    color: #444444;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    background-color: #fff;
    padding: 20px  20px 0 20px;
    border: 1px solid var(--red);
    height: 100%;
}
section.contact-info .container{
    position: relative;
    z-index: 1;
}
.contact-info a{
    text-decoration: none;
    color: var(--black);
}

.spinner-border.hide{
    opacity: 0;
    transition: all .2s ease-in-out;
}
.disabled{
    pointer-events: none;
    opacity: .5;
}
button{
    outline: none !important;
    box-shadow: none !important;
}

input.error{
    border:3px solid red;
    padding-right: 30px;
    background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") center right 7px/15px no-repeat #fff
}

input.error::after{
    content:'\F334';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

.address-col h3{
    font-size: 1.2rem;
    margin-top:10px
 }
 .address-col ul{
     font-size:13px;
 }

 .navbar-nav .dropdown{
    display: none;
}
.d-mobile{
    display: block;
}

.stock-categories-list .sticky-top{
    top:70px;
    background-color: #fff;
    padding: 15px;
}

.stock-categories-list strong{
    font-weight: 600;
}
.stock-categories-list tr th{
    background-color:#efefef !important;
}

.company-profile-list  > div {
    margin-top:15px;
}

.company-profile-list  > div > a {
    padding:30px;
    border:1px solid var(--red);
    display:block;
    width:100%;
    border-radius:5px;
    color:var(--red);
    text-align:center;
}
@media (min-width: 992px) {
    .navbar-nav .dropdown{
        display: list-item;
    }
    .d-mobile{
        display: none;
    }
    .navbar-collapse{
        flex-grow: 0;
    }
}

@media (max-width: 768px) {
 .footer-content .container .row > .col:first-child{
    flex: none;
 }

 .footer-content .container .row > .col:first-child .logo{
    margin: 0 auto;
 }

 .address-col{
    display: block;
    width: 100%;
    flex: none;
 }


 
}
@media (min-width: 768px) {
    .mobile_link{
     display:none;   
    }
    #contact .form-line{
        border-right: 1px solid #B29999;
      }
    .news-banner {
        display: flex;
        flex-flow: row;
        gap: 5px;
        min-height: 600px;
    }
    .news-banner>.news-card>.news-image {
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        background-size: cover;
        background-position: center;
        border-radius: 10px;
        padding: 15px;
    }
    .news-banner>.news-card .title {
        font-size: 16px;
        text-align: left;
        padding: 0;
        max-height: 200px;
        color: var(--red);
    }
    #news h1,
    #about h1,
    #about h1,
    #educations h1 {
        font-size: 2.5rem;
    }
    .center-title .line {
        width: 100px;
        display: inline-block;
    }
    .carousel-item h2 {
        font-size: 2.5rem;
    }
    .carousel-item h1 {
        font-size: 3.5rem;
    }
    .about-image>div {
        background-image: url(../img/about.jpg);
        background-size: cover;
        background-position: center;
        width: calc(100% - 50px);
        height: 100%;
        position: absolute;
        left: 50px;
        right: 0;
        top: 0;
    }
    .about-image {
        position: relative;
        padding-left: 50px;
        margin-top: 0px;
    }
}
@media (min-width: 1200px){
   .stock-categories-list .container{
       max-width:1320px;
   } 
}