html {
  scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 300;
    color: #777;
    overflow-x: hidden !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.flex{
	display: -webkit-box;
    display: -ms-flexbox;
    display:flex;
    justify-content:center;
	-ms-flex-align: center;
    align-items:center;
    -webkit-box-pack: center;
    -webkit-box-align: center;
}

.loader{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.svg{margin: 0 auto;}

.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
    border-top: 3px solid red;
    border-bottom: 3px solid red;
	background: #1c63b8; /* #755710 */
	/*
    background: -moz-linear-gradient(135deg, #755710 40%, #1c1c1c 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(40%,#755710), color-stop(100%,#1c1c1c));
    background: -webkit-linear-gradient(135deg, #755710 20%,#1c1c1c 100%);
    background: -o-linear-gradient(135deg, #755710 40%,#1c1c1c 100%);
    background: -ms-linear-gradient(135deg, #755710 40%,#1c1c1c 100%);
    background: linear-gradient(125deg, #755710 40%,#1c1c1c 100%);*/
}

a {
    color: #777;
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover {
    color: #1c63b8;
    transition: 0.3s ease;
}

.top-bar {
    position: relative;
    z-index: 1;
    background-color: #f0f0f0;
    font-size: 13px;
    padding: 10px 0;
    overflow: auto;
}

.top-bar img {
    display: inline-block;
    margin: 1px 5px 0 0;
    float: left;
}

.wrap {
    width: 1180px;
    margin: 0 auto;
}

.top-bar li {
    float: left;
    list-style: none;
    margin-right: 20px;
}

header {
    display: block;
    padding: 25px 0;
}

h1 {
    width: 180px;
    height: 73px;
    display: inline-block;
    background: url(../images/logo.jpg) no-repeat;
    text-indent: -8888px;
}

.der-info {
    float: right;
    font-size: 15px;
    margin-top: 14px;
}

.der-info img {
    float: left;
    margin-right: 12px;
}

.der-info div {
    float: left;
}

.der-info span {
    font-weight: 500;
    color: #1c63b8;
    font-size: 16px;
}

.primd {
    margin-right: 50px;
}

li { list-style: none; }

.menuP {
    background-color: #1c63b8;
    overflow: auto;
    padding: 13px 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

.menuP li {
    list-style: none;
    float: left;
}

.menuP li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    padding: 15px 20px;
    transition: 0.3s ease;
}

.menuP li a:hover {
    transition: 0.3s ease;
    background: #124d94;
}

.principalS {
    background: url(../images/chofer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 150px 0;
}

.principalS h2 {
    text-transform: uppercase;
    font-size: 52px;
    line-height: 1.2;
}

.principalS h2 span {
    font-weight: 300;
}

.principalS p {
    margin-top: 15px;
}

a.boton:link, a.boton:visited {
    background-color: rgb(28, 99, 184);
    border-radius: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    width: 175px;
    text-align: center;
    padding: 10px 0;
    font-weight: 500;
    font-size: 15px;
    margin-top: 25px;
    transition: 0.3s ease;
    display: block;
}

a.boton:hover {
    background-color: rgb(51, 51, 51);
    transition: 0.3s ease;
}

#nosotros, #servicios, #flotas, #clientes, #contacto {
    padding: 75px 0 0 0;
    overflow: auto;
}

#nosotros h2, #servicios h2, #elegirnos h2, #flotas h2, #clientes h2, #contacto h2 {
    text-transform: uppercase;
    font-weight: 500;
    color: #333;
    font-size: 32px;
    text-align: center;
}

#nosotros p, #flotas p, #clientes p {
    width: 620px;
    text-align: center;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.75;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
}

.bar {
    width: 60px;
    height: 2px;
    background: #ddd;
    display: block;
    margin: 10px auto 20px auto;
}

#servicios .bar {
    margin-bottom: 40px;
}

.servicio {
    width: 33.3%;
    float: left;
}

.servicio img {
    display: block;
    margin: 0 auto;
}

#servicios span {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    color: #333;
    margin: 15px auto 0 auto;
    display: block;
    text-align: center;
}

.servicios-fila {
    display: block;
    clear: both;
}

.servicios-fila .servicio {
    margin-top: 50px;
    margin-bottom: 75px;
}

#elegirnos {
    overflow: auto;
}

#elegirnos img {
    width: 50%;
    float: left;
}

.infoDer {
    width: 50%;
    float: left;
}

.infoMaDer {
    margin: 15%;
}

#elegirnos h2 {
    text-align: left;
}

#elegirnos .bar {
    float: left;
    display: block;
    clear: both;
}

#elegirnos p {
    text-align: left;
    float: left;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
}

#flotas {
    display: block;
    clear: both;
}

#flotas img {
    width: 354px;
    height: 182px;
    float: left;
}

.center-img {
    margin: 0 5%;
}

.img__wrap {
    position: relative;
    width: 354px;
    height: 182px;
    float: left;
    margin-top: 25px;
    margin-bottom: 15px;
}

.img__description_layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    visibility: hidden;
    border-radius: 6px;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s, visibility .2s;
}

.img__wrap:hover .img__description_layer {
    visibility: visible;
    opacity: 1;
}

.img__description {
    transition: .2s;
    transform: translateY(1em);
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase;
    font-weight: 700 !important;
}

.img__wrap:hover .img__description {
    transform: translateY(0);
}

#contacto li {
    font-family: 'Open Sans', sans-serif;
    float: none;
    text-align: center;
}

#contacto ul {
    float: left;
    width: 350px;
}

#contacto li {
    margin-bottom: 15px;
}

#contacto ul:last-child {
    margin-left: 50px;
}

.contUL {
    width: 750px;
    margin: 40px auto 0 auto;
    display: block;
}

.contUL img {
    margin: 0 3px -2px 0;
}

footer {
    margin: 75px 0 0 0;
    background-color: #1c63b8;
    padding: 25px 0;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.menu-responsive {
    display: none;
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0.8;
}

.whatsapp:hover {
    opacity: 1;
}


@media screen and (max-width: 1200px){
    
    .wrap {width: 94%;}
    
}

@media screen and (max-width: 1024px){
    
    .infoMaDer {margin: 0 5% 0 5%;}
    
    .center-img {
        margin: 25px 0 15px 0;
    }
    
    .img__wrap {
        width: 45%;
        height: auto;
        margin-left: 3.5%;
    }
    
    #flotas img {
        width: 100%;
        height: auto;
    }
    
}

@media screen and (max-width: 960px){
    
    .menu-responsive {
        display: block;
    }
    
    .menuP {
        display: none;
    }
    
}

@media screen and (max-width: 840px){
    
    .principalS {
        padding: 120px 0;
    }
    
    .principalS h2 {
        font-size: 42px;
    }
    
    #elegirnos img {
        width: 100%;
    }
    
    .infoDer {
        width: 100%;
    }
    
    .infoMaDer { 
        margin: 40px auto 0 auto;
        text-align: center;
    }
    
    #elegirnos h2 { text-align: center; }
    
    #elegirnos .bar {
        float: none;
        margin: 10px auto 20px auto;
    }
    
    #elegirnos p { 
        text-align: center; 
        width: 620px;
        margin: 0 auto;
        display: block;
        float: none;
    }
    
}

@media screen and (max-width: 780px){
    
    .top-bar, .der-info { display: none; }
    
    h1 {
        margin: 0 auto;
        display: block;
    }
    
    .contUL {
        width: 100%;
    }
    
    #contacto ul {
        width: 46%;
    }
    
    #contacto li {
        font-size: 15px;
    }
    
    #contacto ul:last-child {
        margin-left: 8%;
    }
    
}

@media screen and (max-width: 680px){
    
    #nosotros p, #flotas p, #clientes p, #elegirnos p {
        width: 90%;
    }
    
    #contacto ul {
        width: 100%;
    }
    
    #contacto ul:last-child {
        margin: 0;
    }
    
    footer { margin: 50px 0 0 0; font-size: 15px; }
    
    .servicio {
        width: 45%;
        height: 200px;
        margin: 0 2.5%;
    }
    
    .servicios-fila {
        display: block;
        clear: inherit;
    }
    
    .servicios-fila .servicio {
        margin: 0 2.5%;
    }
    
}

@media screen and (max-width: 520px){
    
    .principalS {
        padding: 100px 0;
    }
    
}