/* ===GENERAL=== */
* {
    box-sizing: border-box;

}

body {
    background: #E5E5E5;
    font-size: 16px;
}


img{
    width:100%;
}

a{
    color: #343a40;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

/*====HEADER==== */

.logo-container {
    padding: 10px 0px;
}

header .info-row {
    background: #F5F3F3;
    padding: 20px 0;
}

.info-container {
    width: 60%;
    padding-top: 38px;
    color: #E5E5E5;
}

.info-hr {
    border-top: 3px solid #fcca47;
    width: 85px;
    margin-top: 0px;
}

.info-container h3 {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
}

.info-container h5 {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
}

.phone {
    font-weight: 900;
    color: #BD2100;

}

.fa-facebook,
.fa-google-plus,
.fa-twitter {
    padding-right: 0.7px;

}

.badge.social {
    display: inline-block;
    background: #ccc;
    font-size: 22px;
    height: 35px;
    width: 35px;
    text-align: center;
    line-height: 35px;
    margin-right: 5px;
    padding: 0;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
}

.badge.social.twitter:hover {
    background-color: #55acee;

}

.badge.social.facebook:hover {
    background-color: #3b5998;
}

.badge.social.google-plus:hover {
    background-color: #db4b39;
}

/* Navbar */

.navbar {
    border-top: 10px solid #fff;
    border-bottom: 10px solid #fff;
    background: #fcca47 !important;
}

.logo-brand {
    width: 70px;
    height: auto;
    margin-right: 20px;

}

.navbar .nav-item {
    width: 200px;
}

.navbar .nav-item a.main-links:hover {
    font-variant: normal;
}

.navbar .nav-item:last-child {
    border-right: none;
}

.navbar .nav-link {
    font-family: 'Ubuntu', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    font-variant: small-caps;
}

.navbar-light .navbar-nav .nav-link {
    color: #343a40 !important;
}

.navbar-nav .social-icons {
    padding-top: 4px;
}

/*====HERO SECTION==== */

#hero {
    height: 70vh;
    background-image: url('../img/Blog%20img/long-exposure2.jpg');
    background-position:center;
    background-repeat: no-repeat;
    background-size:cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-attachment: fixed;
}

#hero .banner {
    position: absolute;
    width: 100%;
    height: 170px;
    left: 0px;
    top: 118px;
    text-align: center;
}

#hero .banner  {
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-style: normal;
    font-weight: bold;
    color: #EDE8E8;
    text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);
}

#hero .banner h1 {
    margin-top: 10px;
    font-size: 2.5em;
    line-height: 55px;
}

#hero .banner h4 {
    font-size: 18px;
    line-height: 21px;

}

/* ===CONTENT=== */

.blog-content h1{
    color: #343a40;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    margin: 40px 0;
    text-align: center;
}

.card-container{
    padding:0!important;
    
}
.card{
    width:100%!important;
}

.card{
    margin-bottom:5vh;
}
article:first-child{
    margin-top:15vh;
}

/*====FOOTER==== */

footer {
    background: #464444;
}

.footer-social {
    display: table;
    width: 150px;
    height: 100px;
    text-align: center;
}

.footer-social-wraper {
    display: table;
    width: 250px;
    height: 100px;
    text-align: center;
    font-size: 32px;
}

.footer-social-wrapper a {
    margin-right: 30px;
}

.footer-social {
    display: table-cell;
    vertical-align: middle;
}

.footer-social .badge {
    margin-right: 20px;
}

/*====MEDIA QUERIES==== */

@media screen and (min-width:320px) {

    .info-container {
        width: 85%;
        padding-top: 14px;

    }

    .info-container h3 {
        font-size: 20px;
    }

    .info-container h5 {
        line-height: 13px;
    }

    .navbar-brand .navbar-brand-text {
        display: inline-block;
        margin-right: 4rem !important;
        font-size: 1rem !important;
        font-family: 'Ubuntu', sans-serif;
        font-weight: bold;
        color: #464444 !important;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    .logo-brand {
        width: 50px;
        height: auto;
        margin-right: 20px;
    }

    .navbar-toggler {
        top: 24px !important;
        right: 14px !important;
        position: fixed;
        top: 29px;
        right: 20px;
        font-size: 1.0rem !important;
        padding: .25rem .50rem !important;
        font-size: 0.9rem;
    }

    .logo-container {
        display: none;
    }


    #hero .banner {
        top: 87px;
        height: 223px;
        background: rgba(46, 45, 45, 0.45);
    }

    #hero .banner h1 {
        font-size: 1.5em;
    }

    #hero .banner h4 {
        font-size: 1.0em;
    }

    .navbar {
        border-top: 5px solid #fff;
        border-bottom: 5px solid #fff;
    }


    .navbar .nav-item {
        width: 130px;
        border-right: none;
        border-bottom: 1px solid rgb(245, 243, 243);
        margin: auto;
    }


    .navbar .nav-item:first-child {
        margin-bottom: 15px;
    }
    .navbar .nav-item:nth-child(2) {
        border-bottom: none;
        margin-bottom: 25px;
    }

    .navbar-nav .social-icons {
        padding-top: 13px;
    }

    .formular-contact form {
        width: 100%;
    }

    .despre-noi {
        padding: 1vh 0 5vh 0;
    }

    .car-icons {
        height: 200px;
    }

    .despre-noi .despre-noi-col1,
    .despre-noi .despre-noi-col2,
    .tractari-auto-description {
        height: 250px;
    }


    .despre-noi .despre-noi-description,
    .tractari-auto-description p {
        font-size: 1.0em;
        padding: 45px 10px 40px;
    }

    .tractari-auto .tractari-auto-title {
        margin-bottom: 0;
    }

    .tractari-auto-title h2,
    .despre-noi .despre-noi-col1 h2 {
        font-size: 1.9em;
    }

    .car-crashed,
    .car-platform {
        width: 100px;
        height: 100px;
        margin-bottom: 0;
        top: 13%;
    }

    .car-platform {
        left: 57%;
    }

    .car-crashed {
        left: 15%;
    }

    .carousel-item .col-sm-4 {
        padding-bottom: 5px;
    }

    #carouselExampleIndicators {
        margin-bottom: 30px;
    }

    .tarife-tractari-title {
        text-align: center;
    }

    .tarife-tractari-title h2 {
        padding-left: 0;
        font-size: 1.6em;
    }

    .suntem-aici {
        padding: 50px 0 50px 0;
    }

    .adresa {
        text-align: center;
        padding: 0 0 20px 0;
    }

    .suntem-aici-title-wraper {
        text-align: center;
    }

    .suntem-aici-title {
        font-size: 1.8em;
    }

}


@media screen and (min-width:375px) {
    .logo-brand {
        width: 80px;
    }
    .navbar-toggler {
        top: 39px !important;
    }
    .navbar-brand {
        font-size: 1.3rem !important;
    }

    #hero .banner {
        top: 116px;
    }

    #hero .banner h1 {
        font-size: 1.8em;
    }

    .info-container h3 {
        font-size: 1.4em;
    }
}

@media screen and (min-width:400px){

    .car-crashed {
        left: 19%;
    }

}

@media screen and (min-width: 480px){
    #hero .banner {
        top: 87px;
        height: 228px;
    }
#hero .banner h1 {
        margin-top: 20px;
    }

.car-crashed {
    left: 23%;
}
}

@media screen and (min-width:576px) {
    .car-platform{
        top: 101%;
        left: 24%;
    }

    .car-crashed {
        top: 25%;
    }

    .despre-noi {
        padding: 5vh 0 5vh 0;
    }

    .despre-noi .despre-noi-col1, 
    .despre-noi .despre-noi-col2, 
    .tractari-auto-description {
        height: 350px;
    }
    

}

@media screen and (min-width:768px) {
    #hero .banner h1 {
        font-size: 2.2em;
    }
    #hero .banner h4 {
        font-size: 1.2em;
    }
}

@media screen and (min-width:992px){
    .navbar-nav{
        padding-top:0;
    }
    .logo-brand {
        width: 50px;
    }

    .navbar-brand{
        margin-right:0!important;
        width:62px;
    }

    .navbar .nav-item {
        border-bottom: none;
        border-right: 1px solid #343a40;
        width:149px;
    }
    .nav-link {
        padding:0!important;
    }
    .navbar .nav-item:nth-child(1),
    .navbar .nav-item:nth-child(2){
        margin-bottom: 0;
    }

    .navbar-nav .social-icons {
        padding-top: 0;
    }

    .badge.social {
        font-size: 19px;
        height: 30px;
        width: 30px;
        line-height: 28px;
        margin-right: 2px;
    }

    .banner .logo-container {
        display: inline-block;
        width:150px;
        height:auto;
        padding: 15px 0px;
    }

    #hero .banner {
        top: 87px;
        height: 183px;
    }

    #hero .banner h1 {
        font-size: 1.6em;
    }

    #hero .banner h4 {
        font-size: 1em;
    }

    .info-container {
        width: 85%;
        padding-top: 50px;
    }
    .despre-noi {
        padding: 10vh 0 10vh 0;
    }
    .tractari-auto{
        padding-bottom: 10vh;
    }
    .car-crashed {
        top: 21%;
    }
}

@media screen and (min-width:1200px){
    #hero .banner h1 {
        font-size: 2em;
    }

    #hero .banner h4 {
        font-size: 1.2em;
    }

    .despre-noi .despre-noi-col1, 
    .despre-noi .despre-noi-col2, 
    .tractari-auto-description {
        height: 450px;
    }

    .despre-noi .despre-noi-description {
        font-size: 1.1em;
        line-height: 33px;
    }
     .tractari-auto-description p {
        font-size: 1.1em;
        line-height: 30px;
    }

    .car-crashed {
        top: 44%;
    }

    .car-platform {
        top: 121%;
    }
}

@media screen and (min-width:1280px) {
    .navbar .nav-item {
        width: 182px;
    }
}

@media screen and (min-width:1366px) {
    #hero .banner h1 {
        font-size: 2.2em;
    }
}

@media only screen and (max-width: 1366px) {
    #hero {
      background-attachment: scroll;
    }
  }

@media screen and (max-height:479px) {
    .navbar-nav {
        max-height: 220px;
        overflow-y: auto;
    }

}
