/** Fonts */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Extras/Lato/Lato-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Extras/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Extras/Lato/Lato-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/Extras/Helvetica/Helvetica LT 75 Bold.ttf') format('truetype');
}

.fb-img{    height: 25px;
    margin-top: 1.7%;
    margin-left: 7px;
}
.fb-img2{
height: 40px;
    margin-top: 0;
    margin-left: 9px;
    margin-bottom: 4px;}
/** random */
.no-display {
    display: none;
}
*:focus {
    outline: none;
}
.has-success .form-control {
    border: 2px solid #3c763d;
}
.has-error .form-control {
    border: 2px solid #a94442;
}

/** FullpageJS, Sections, etc */
.section.no-centered > .fp-tableCell {
    vertical-align: unset;
}

/** Header */
#header-line {
    height: 15px;
    background-color: #551a16;
}

#header {
    background-image: url('../img/header.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;
    height: calc(100% - 709px);
    position: relative;
}

#header > img {
    max-height: 150px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    max-width: 90%;
}

/** Navbar index */
.navbar-index {
    background-color: #551a16;
    border: none;
    border-radius: 0px;
    color: #ffffff;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
    margin: 0px;
    z-index: 6;
}

.navbar-index .navbar-nav > li {
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-index .navbar-nav > li > a {
    color: #ffffff;
    font-family: 'Lato';
    font-weight: bold;
    font-style: italic;
    padding-top: 0px;
    padding-bottom: 0px;
    border-right: 1px solid #ffffff;
}

.promociones-modal-launcher {
    color: #ffff00 !important;
}

.navbar-index .navbar-nav > li:last-child > a {
    border: none;
}

.navbar-index .navbar-nav > .active > a,
.navbar-index .navbar-nav > .active > a:focus,
.navbar-index .navbar-nav > .active > a:hover {
    background-color: transparent;
    color: #b3b3b3;
}

.navbar-index .navbar-nav > li > a:focus, .navbar-index .navbar-nav > li > a:hover {
    color: #b3b3b3;
}

.navbar-index .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
}

.navbar-index .navbar-collapse {
    text-align: center;
}

/** Navbar fuera del index */
#navbar-noindex {
	position: fixed;
	height: 50px;
	display: none;
	width: 100%;
	top: 0px;
	z-index: 9;
	opacity: 0;
}

/** Footer */
#footer {
    z-index: 6;
	position: fixed;
	height: 15px;
	width: 100%;
	bottom: 0px;
	background-color: #551a16;
	box-shadow: 0px -5px 5px 0px rgba(0, 0, 0, 0.3)
}

/** Carousel o slides */
.carousel-wrapper {
    height: 629px;
}

.carousel-wrapper .fp-tableCell,
.carousel-wrapper .carousel-inner,
.carousel-wrapper .carousel-inner .item {
    height: 100% !important;
}

.carousel-wrapper .carousel-inner .item {
    -webkit-background-size: 100% 100% !important;
    -moz-background-size: 100% 100% !important;
    -o-background-size: 100% 100% !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}

.carousel-wrapper .carousel,
.carousel-wrapper .carousel .fp-tableCell {
    display: block !important;
    height: 100% !important;
}

.carousel-indicators {
    bottom: 10px;
}

.carousel-indicators li {
    background-color: #650304;
    border: 1px solid #650304;
}

#carousel-movil {
    display: none;
}

/** nosotros */
#nosotros {
    background-image: url('../img/fondo-nosotros.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#nosotros-iconos {
	width: 100%;
	text-align: center;
    margin-bottom: 50px;
}

.nosotros-icono {
	display: inline-block;
    width: 200px;
    height: 200px;
    background-color: #6f6f6f;
    border-radius: 100px;
    margin-left: 15px;
    margin-right: 15px;
    padding: 30px;
    vertical-align: middle;
    line-height: 100px;
    border: 10px solid #000;
}

.nosotros-icono.active,
.nosotros-icono:hover {
    background-color: #551a16;
}



.nosotros-icono a {
    height: 100%;
    display: block;
}

.nosotros-icono img {
    max-width: 100%;
}

.nosotros-text-dialog {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #9f9f9f;
    border-radius: 8px;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
}

.nosotros-text-dialog p {
    text-align: justify;
    font-family: 'Helvetica';
    font-size: 1.2em;
}

.nosotros-text {
    text-align: left;
}

.nosotros-text li {
    font-size: 1.5em;
}

.arrow-up {
    height: 50px;
    border-top: none;
    border-right: 50px solid #551a16;
    border-bottom: 50px solid #9f9f9f;
    border-left: 50px solid transparent;
    width: 50px;
    display: inline-block;
    vertical-align: bottom;
    margin-left: -540px;
}

.arrow-text {
    height: 50px;
    background-color: #551a16;
    width: auto;
    display: inline-block;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    font-family: Lato;
    font-weight: bold;
    font-style: italic;
    font-size: 2em;
    text-align: left;
    padding-left: 20px;
    padding-right: 50px;
}

/** productos */
#productos {
    background-image: url('../img/brick2.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.navbar-productos {
    background-color: transparent;
    border: none;
    border-radius: 0px;
    color: #000;
    margin: 0px;
    margin-bottom: 20px;
    z-index: 6;
}

.navbar-productos .navbar-nav > li {
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-productos .navbar-nav > li > a {
    color: #000;
    font-family: 'Lato';
    font-weight: bold;
    font-size: 2em;
    padding-top: 0px;
    padding-bottom: 0px;
    border-right: 1px solid #000;
}

.navbar-productos .navbar-nav > li:last-child > a {
    border: none;
}

.navbar-productos .navbar-nav > .active > a,
.navbar-productos .navbar-nav > .active > a:focus,
.navbar-productos .navbar-nav > .active > a:hover {
    background-color: transparent;
    color: #630304;
}

.navbar-productos .navbar-nav > li > a:focus, 
.navbar-productos .navbar-nav > li > a:hover {
    color: #630304;
}

.navbar-productos .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
}

.navbar-productos .navbar-collapse {
    text-align: center;
}

.navbar-productos-movil {
    display: none;
}

.sliderProductos-container {
    margin-bottom: 50px;
}

.sliderProductos-container,
#sliderProducto-container {
    background-color: #ffffff;
    padding: 10px 0px;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2);
}

.sliderProductos-container li {
    text-align: center;
}

.sliderProductos-container li img {
    max-width: 100%;
}

.sliderProductos-container .lSSlideOuter .lSPager.lSpg > li a,
#sliderProducto-container .lSSlideOuter .lSPager.lSpg > li a {
    background-color: #fff;
    border: 1px solid #551a16;
}

.sliderProductos-container .lSSlideOuter .lSPager.lSpg > li:hover a, 
.sliderProductos-container .lSSlideOuter .lSPager.lSpg > li.active a {
    background-color: #551a16;
}

.producto-img {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}

.producto-img img {
    max-width: 100%;
}

.producto-text h2 {
    font-family: 'Lato';
    font-weight: bold;
    margin-top: 0px;
    text-align: center;
}

.producto-text p,
.producto-text li {
    font-family: 'Lato';
    font-size: 1.5em;
}

#lightSliderFuelinjection {
    width: 100% !important;
}

#lightSliderFuelinjection li {
    width: 100% !important;
    text-align: center;
}


.control-sliders { 
    position: absolute;
    top: 145px;
}

.control-sliders.arrow-left { 
    left: -15px;
}

.control-sliders.arrow-right { 
    right: -15px;
}

.lSAction {
    display: none !important;
}

.toggle-producto-movil {
    display: none;
}

#productos .fp-tableCell {
    vertical-align: top;
}

#productos .container {
    margin-top: 75px;
}

/** Servicio */
#servicios {
    background-image: url('../img/fondo-servicio.jpg');
    background-size: 100% calc(100% - 50px);
    background-repeat: no-repeat;
    background-position-y: 50px;
}

#servicios img {
    position: absolute;
    left: 50px;
    top: 130px;
    width: 300px;
}

#servicios-float {
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

#servicios-float h2 {
    margin-top: 0px;
    font-size: 3em;
}

#servicios-float p {
    font-size: 1.5em;
}

#servicios .container-fluid {
    background-color: rgba(0,0,0,0.8);
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 15px;
    width: 100%;
 }

/** Sucursales */
#sucursales .container-fluid,
#sucursales .container-fluid .row {
    height: 100%;
}

#sucursal-info {
    padding-left: 15px;
    padding-right: 15px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

#sucursal-info > div {
    align-self: center;
    width: 100%;
}

#sucursal-info h2 {
    font-family: 'Lato';
    font-weight: bold;
    font-size: 4em;
}

#sucursal-info p {
    font-family: 'Lato';
    font-size: 1.5em;
}

#sucursal-info img {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: -55px;
}

#sucursal-info-footer {
    margin-left: -15px;
    margin-right: -15px;
    padding: 15px;
    background-color: rgba(0,0,0,0.5);
}

#sucursal-info-footer h3 {
    display: none;
}

#arrow-right {
    padding-left: 0px;
    padding-top: calc((100vh / 2) - 100px);
    width: 0%;
}

#arrow-right div {
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 100px 0px 100px 100px;
    border-color: transparent transparent transparent rgba(0,0,0,0.5);
}

#mapa {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-top: 50px;
    padding-bottom: 15px;
    color: white;
}

#tacometro-img-chiquita {
    display: none;
}

/** Contacto */

#footer-contacto {
    bottom: 0;
    position: absolute;
    height: 200px;
    background-color: #551a16;
    width: 100%;
    box-shadow: 0px -5px 5px 0px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: 'Lato';
    display: flex;
    justify-content: center;
}

#footer-contacto .container {
    align-self: center;
}

#footer-contacto-info {
    text-align: center;
}

#footer-contacto-info p {
    font-size: 1.2em;
}

#footer-contacto a {
    color: #b3b3b3;
}

#footer-contacto-casita img {
    height: 50px;
}

#footer-contacto-casita a {
    clear: both;
    display: block;
    color: #fff;
}

#footer-contacto-casita-a {
    padding-left: 5px;
}

#footer-contacto-social img {
    max-height: 25px;
    display: inline;
    margin-right: 5px;
}

#footer-contacto-social a {
    display: inline;
    vertical-align: bottom;
    font-size: 0.9em;
}

#bydm {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

#contacto #seccion-form {
    height: calc(100% - 250px);
    margin-top: 50px;
    background-image: url('../img/fondo-contacto.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#contacto .fp-tableCell {
    vertical-align: top;
}

#seccion-form h2 {
    font-size: 3em;
    font-family: 'Lato';
    font-weight: bold;
}

#seccion-form .control-label {
    font-family: 'Lato';
    font-size: 1.2em;
}

#seccion-form .form-control {
    font-family: 'Lato';
    border-radius: 2px;
}

#seccion-form button {
    float: right;
    border-radius: 2px;
    padding-left: 50px;
    padding-right: 50px;
}

#seccion-form .container {
    height: 100%;    
}

#seccion-form .row {
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btn-contacto img {
    height: 22px;
}

/** Modal */

.fp-enabled .modal{
   position:fixed !important;
}

#modalPromociones .modal-dialog {
    height: 90%;
}

#modalPromociones .modal-content {
    color: #fff;
    height: 100%;
    background-color: #000;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,1);
}

#modalPromociones .modal-lg {
    width: 95%;
}

#modalPromociones .close {
    color: #fff;
    opacity: 1;
}

#modalPromociones .modal-body {
    height: calc(100% - 160px);
    text-align: center;
}

#modalPromociones .modal-body img {
    max-width: 100%;
    max-height: 100%;
}

#modalPromociones .modal-footer {
    text-align: center;
}

#modalPromociones .modal-footer img {
    max-width: 100%;
    height: 50px;
}

.sliderPromocion-container {
    height: 75px;
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#modalPromociones .lSAction {
    display: none;
}

#modalPromociones h4 {
    font-family: 'Lato';
    font-weight: bold;
}

.modal-control-sliders {
    position: absolute;
    top: 45%;
}

.modal-control-sliders.arrow-left {
    left: 25px;
}

.modal-control-sliders.arrow-right {
    right: 25px;
}

.modal-control-sliders img {
    height: 75px;
}

#modalRespuesta {
    font-family: 'Lato';
}
/** Pantallas pequeñas */
@media (max-height: 768px) {
    #header {
        height: calc(100% - 528px);
    }

    #header > img {
        max-height: 80%;
    }

    .carousel-wrapper {
        height: 448px;
    }

    .navbar-productos {
        margin-top: 25px;
        margin-bottom: 0px;
    }

    .navbar-productos .navbar-nav > li > a {
        font-size: 1.5em;
    }

    .sliderProductos-container, #sliderProducto-container {
        box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.2);
    }

    .sliderProductos-container {
        padding-top: 0px;
        padding-bottom: 5px;
        margin-bottom: 25px;
    }

    #servicios img {
        right: 20px;
        top: 100px;
        width: 200px;
    }

    #servicios-float-wrapper {
        width: 80%;
        margin-left: 10%;
    }
    
    #servicios-float h2 {
        font-size: 2em;
    }

    #servicios-float p {
        font-size: 1.2em;
    }

    #sucursal-info img {
        max-width: 80%;
    }

    #sucursal-info h2 {
        font-size: 3em;
    }
    
    #sucursal-info p {
        font-size: 1.2em;
    }

    #footer-contacto {
        height: 150px;
    }

    #contacto #seccion-form {
        height: calc(100% - 200px);
    }

    #productos .container {
        margin-top: 50px;
    }
}

@media (min-width: 768px) {
    .whabtn{
        display: none;
    }
}
@media (max-width: 768px) {

    .navbar-index .navbar-collapse, .navbar-index .navbar-form {
        border-color: #2c0e0c;
    }

    .container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header {
      /*  text-align: center; */
    padding-left: 5%;
    }

    .navbar-header .navbar-toggle {
        float: none;
        margin-right: 0px;
        border-radius: 2px;
        width: 30%;
    }

    .navbar-header .navbar-toggle .icon-bar {
        margin-left: auto;
        margin-right: auto;
    }
    
    .nav.navbar-nav {
        width: 100%;
    }

    .navbar-index .navbar-nav > li {
        width: 100%;
    }

    .navbar-index .navbar-nav .active, .navbar-index .navbar-nav > li:hover, .navbar-index .navbar-nav > li:focus {
        background-color: #441411;
    }

    .navbar-index .navbar-nav > li > a {
        border-right: none;
    }

    .carousel-wrapper {
        height: 350px;
    }

    #header {
        height: calc(100% - 400px);
    }

    #nosotros .fp-tableCell, #productos .fp-tableCell,
    #servicios .fp-tableCell {
        vertical-align: top;
    }

    #nosotros .container {
        padding-top: 75px;
    }

    #nosotros-iconos {
        margin-bottom: 15px;
    }

    .nosotros-icono {
        width: 75px;
        height: 75px;
        padding: 10px;
        vertical-align: middle;
        border: 5px solid #000;
        margin: 0px;
    }

    .nosotros-icono img {
        max-width: 100%;
        vertical-align: top;
    }

    .nosotros-arrow {
        display: none;
    }

    .nosotros-text-dialog {
        padding: 10px;
        border-radius: 2px;
        box-shadow: none;
    }

    .nosotros-text-dialog p {
        font-size: 1.2em;
        margin: 0px;
    }

    #text-historia {
        font-size: 0.9em;
    }

    .nosotros-text li {
        font-size: 1.2em;
    }

    .sliderProductos-container {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
    }

    .sliderProductos-container ul {
        height: 80px;
    }

    .boton-producto {
        width: calc(80vw - 25px);
        height: 80px;
        padding-top: 5px; 
    }

    .boton-producto img {
        height: 80px;
        max-height: 100%;
    }

    .control-sliders {
        top: 100px;
    }

    .arrow-left {
        left: 15px !important;
    }

    .arrow-right {
        right: 15px !important;
    }

    .lSPager {
        display: none;
    }

    .producto-img {
        padding-bottom: 10px;
    }

    .producto-img img {
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        margin-bottom: 25px;
    }

    .producto-img a,
    .producto-text-movil a {
        color: #551a16;
        font-family: 'Lato';
    }

    .producto-text-movil {
        padding-left: 20px;
        padding-right: 20px;
        font-family: 'Lato';
        text-align: center;
        padding-bottom: 10px;
    }

    .producto-text-movil h3 {
        margin-top: 10px;
    }

    .producto-text-movil h3,
    .producto-text-movil p,
    .producto-text-movil ul {
        text-align: left;
    }

    .producto-text {
        display: none;
    }

    .toggle-producto-movil {
        display: block;
    }

    .navbar-productos {
        margin-top: 15px;
    }

    .navbar-productos-movil {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
        display: block;
    }

    .navbar-productos-movil .container-fluid {
        padding-left: 0px;
        padding-right: 0px;
    }

    .navbar-productos-movil ul {
        text-decoration: none;
        list-style-type: none;
        display: inline;
        padding-left: 0px;
        font-family: 'Lato';
        font-size: 12px;
        margin-bottom: 10px;
    }

    .navbar-productos-movil li {
        text-decoration: none;
        display: inline;
    }

    .navbar-productos-movil li .active > a{
        color: #630304;
    }

    .navbar-productos-movil a {
        border-right: 1px solid #333;
        padding-left: 5px;
        padding-right: 5px;
        color: #333;
    }

    .navbar-productos-movil ul li:last-child a {
        border-right: none;
    }

    #servicios {
        background-size: auto calc(100% + 100px);
        background-repeat: no-repeat;
        background-position-y: 30px;
        background-position-x: -900px;
    }

    #servicios img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        position: unset;
        margin-top: 100px;
    }

    #servicios-float-wrapper {
        margin-left: 0px;
        width: 100%;
    }

    #servicios-float p {
        font-size: 1em;
    }

    #sucursal-info {
        background-color: transparent;
    }

    #sucursal-info-footer {
        position: absolute;
        bottom: 0;
        max-width: 100%;
        background-color: rgba(0,0,0,0.6);
    }

    #sucursal-info-footer h3 {
        margin-top: 0px;
        font-family: 'Lato';
        display: block;
    }

    #tacometro-img, #tacometromap, #arrow-right,
    #sucursal-info h2, #sucursal-info p {
        display: none;
    }

    #sucursal-info-footer p {
        font-size: 0.9em;
        margin-bottom: 20px;
        display: block;
    }

    #tacometro-img-chiquita {
        max-width: 100% !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        margin-left: -10px !important;
        display: block;
    }

    #footer-contacto {
        height: 100px;
    }

    #bydm {
        max-width: 100px;
        bottom: 5px;
        right: 5px;
    }

    #footer-contacto-casita {
        display: none;
    }

    #footer-contacto-info p, #footer-contacto-info a {
        font-size: 0.8em;
    }

    #footer-contacto-info p {
        margin-bottom: 5px;
    }

    #footer-contacto-social {
        margin-top: 5px;
    }

    #footer-contacto-social img {
        max-height: 15px;
    }

    #footer-contacto-social a {
        font-size: 0.8em;
    }

    #seccion-form h2 {
        font-size: 1.5em;
        margin-top: 10px;
    }

    #seccion-form .form-group {
        margin-bottom: 10px;
    }

    #seccion-form .control-label {
        font-size: 1em;
    }

    #seccion-form input, #seccion-form select {
        height: 30px;
        font-size: 12px;
    }

    #seccion-form textarea {
        font-size: 12px;
    }

    #seccion-form button {
        width: 100%;
        font-size: 12px;
    }

    #contacto #seccion-form {
        height: calc(100% - 150px);
        background-size: auto 100%;
        background-position-x: -400px;
    }

    .carousel-wrapper {
        display: none;
    }

    .promociones {
        display: none;
    }

    #carousel-movil {
        max-width: 100%;
        height: 215px;
        display: block;
        border-bottom: 15px solid #551a16;
    }

    #boton-promociones {
        text-align: center;
        background-color: #551a16;
        padding-top: 15px;
        padding-bottom: 20px;
    }

    #boton-promociones p {
        margin-bottom: 0px;
        font-family: 'Lato';
        font-weight: bold;
        color: #fff000;
        font-size: 2.5em;
    }

    #boton-promociones img {
        width: 30px;
    }

    .sliderPromocion-container {
        width: 100%;
    }

    .sliderPromocion-container .lSPager {
        display: block !important;
    }

    .sliderPromocion-container .lSAction {
        display: none;
    }

    .modal-control-sliders {
        display: none;
    }

}

@media (min-width: 768px) {
    #lightSliderRefacciones {
        width: 100% !important;
    }
    #lightSliderRefacciones li {
        width: 50% !important;
    }
}