*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #edeae9;
    font-family: Arial !important;
}
#about-section{
    min-height: 40vh;
    width: 100vw;
    position: relative;
    background: url(../images/about.png);
    background-repeat: repeat-x;
    background-size: contain;
    font-size: 1.2em;
    text-align: center;
    color: #ffffff;
    z-index: 1;
}
#about-section::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 45, 57, 0.671);
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
}
#about-section > div > p{
    margin-bottom: 0;
}
.cen-text{
    text-align: center;
}
#contact-section{
    height: 40vh;
    width: 100vw;
    color: #ffffff;
    background-color: rgba(35, 45, 57, 0.671);
    z-index: 1;
}
#contact-background{
    position: absolute;
    height: 40vh;
    width: 100vw;
    background: url(../images/contact.jpg);
    z-index: -1;
    background-size: cover;
    background-position-y: -100px;
}
.contact-info{
    padding-top: 3%;
    padding-left: 7%;
}
.head-left{
    float: left;
    clear: both;
    padding: 5% 5% 2% 5%;
}
.bg-dark{
    background-color: #0b172a !important;
}
.navbar-dark, .navbar-nav, .nav-link{
    color: rgb(255, 255, 255, 0.8) !important;
}
.navbar{
    padding-bottom: 0;
    min-height: 10vh;
}
.nav-link:hover{
    color:#ffffff !important;
}
main{
    padding: 0 3% 0 3%;
}
#aside1{
    display: inline-block;
    width: 35%;
}
#aside2{
    padding: 0;
    display: inline-block;
    width: 60%;
}
.heading{
    margin: 0 auto;
    padding-top: .5em;
    max-width: 850px;
    font-family: "Times New Roman", Arial, Helvetica, sans-serif;
    text-align: center;
    font-weight: bold;
}
#side{
    margin: 0;
    margin-left: 2%;
    text-align: start;
}
.cb-body{
    background-color: #46394062;
    padding-bottom: 20px;
    border-bottom: #bc4123 solid;
    border-top: #bc4123 solid;
}
p{
    margin: 1%;
    line-height: 2em;
}
.b_span{
    font-style: italic;
    font-weight: bold;
    color: #4FAAA6;
}
p#highlight {
    font-size: 120%;
    font-weight: 500;
    background-color: #bc4123;
    color: #ffffff;
    text-align: center;
}
p#p_block{
    display: block;
    float: none;
    background-color: whitesmoke;
    margin: 0 15% 0 15%;
    padding: 5px;
    font-size: 140%;
}
.container{
    margin: 0 auto;
}
.col-lg-3{
    background-color:whitesmoke;
}
.col-lg-3 > .img{
    display: block;
    text-align: center;
    margin: 2% auto 2% auto;
    height: 30%;
    width: 80%;
    border-radius: 50%;
}
#img1{
    background: url(../images/quality.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
#img2{
    background: url(../images/workplace.png);
    background-repeat: no-repeat;
    background-size: cover;
}
#img3{
    background: url(../images/conf2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: -100px;
}
#img4{
    background: url(../images/autom.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
#small{
    line-height: 1.2;
    font-size: 0.8rem;
    text-align: right;
    background-color: #bc4123;
    color: #ffffff;
}
.nav-item {
  padding: 20px;
  text-decoration: none;
  margin: 0 6px;
  z-index: 1;
  font-family: 'DM Sans', sans-serif;
  position: relative;
}
.nav-item:before {
    content: "";
    position: absolute;
    text-decoration: none;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #bc4123;
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: .3s;
}
.nav-item:not(.is-active):hover:before {
  opacity: 1;
  bottom: 0;
}
.is_active::before{
    opacity: 1;
}
#gmap{
    overflow: visible;
    margin-top: 4%;
}




/* The actual timeline (the vertical ruler) */
.content-divider {
    position: relative;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  /* The actual timeline (the vertical ruler) */
  .content-divider::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #1c3864;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  }
  
  /* Container around content */
  .content-val {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
  }
  
  .content-val{
      display: inline-block;
      width: 50%;
  }
  /* The circles on the timeline */
  .content-val::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid #bc4123;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }
  
  /* Place the container to the left */
  .left {
    left: 0;
  }
  
  /* Place the container to the right */
  .right {
    left: 50%;
  }
  
  /* Add arrows to the left container (pointing right) */
  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
  }
  
  /* Add arrows to the right container (pointing left) */
  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
  
  /* Fix the circle for containers on the right side */
  .right::after {
    left: -13px;
  }
  
  /* The actual content */
  .content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
  }
  
  /* Media queries - Responsive timeline*/
  @media all and (max-width: 850px) {
    /* Place the timelime to the left */
    .content-divider::after {
    left: 31px;
    }
    
    /* Full-width containers */
    .content-val {
    width: 100vw;
    padding-left: 70px;
    padding-right: 25px;
    }
    
    /* Make sure that all arrows are pointing leftwards */
    .content-val::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    }
  
    /* Make sure all circles are at the same spot */
    .left::after, .right::after {
    left: 18px;
    }
    
    /* Make all right containers behave like the left ones */
    .right {
    left: 0%;
    }
  }  
footer{
    color: #ffffff;
    background-color: #0b172af2;
    text-align: left;
}
footer h3, h4{
    margin: 20px 20px 20px 0;
}
footer .container{
    min-height: 40vh;
}
.footer-section{
    padding: 4% 0 4% 0;
}
footer a{
    text-decoration: none;
    color: #ffffff;
    opacity: .7;
    line-height: 2;
}
footer a:hover{
    color: #ffffff;
    text-decoration: none;
    opacity: 1;
}
.social-links a{
    opacity: .9;
    margin: 20px 20px 20px 0;
}
.footer-bottom{
    border-top: solid #bc4123;
    padding: 20px;
    background-color: #0b172a;
}

@media all and (max-width: 1200px){
    .container{
        min-width: 90vw;
    }
    .col-lg-3{
        min-height: 110vh;
    }
    .col-lg-3 > .img{
        height: 25%;
    }
    p{
        line-height: 1.9em;
    }
}

@media all and (max-width:991px){
    .col-lg-3{
        min-height: 70vh;
    }
    .col-lg-3 > .img{
        height: 55%;
        width: 40%;
    }
}
@media all and (max-width:870px) {
    #carousel{
        min-width: 100vw !important;
        padding: 0 !important;
    }
}
@media all and (max-width:800px){
    #contact-background{
        background-position-y: 0;
    }
}
@media all and (max-width:750px){
    .heading{
        font-weight: normal;
    }
    #aside1{
        display: block;
        width: 100%;
    }
    #aside2{
        display: block;
        width: 100%;
    }
    #about-section{
        font-size: 1em;
    }
}
.gallery{
    margin: 10px 50px;
}
.gallery img{
    width: 290px;
    padding: 2%;
}
@media all and (max-width:450px){
    #about-section{
        min-height: 40vh;
        font-size: .7em;
        background-repeat: repeat;
        background-size: contain;
    }
    .content-val > .content > p{
        overflow: hidden;
    }
    .gallery{
        margin: 0;
        text-align: center;
    }
}