
body {
    font-family: 'Libre Baskerville', serif;
}

.navbar-clone{
    display: none;
}

.menu-nav{
    position: fixed;
    top:-200px;
    transition: 1s all;
}

.menu-nav-on{
    top:0px;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
     height: 0; overflow: hidden;

}

.responsive-video video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.responsive-video-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("/assets/dot2.png");
    background-size:4px 4px;
}

.responsive-video-logo img{
    width: 100%;
    height: 100%;
    max-width: 700px;
}

.bm-logo {
    max-width: 200px;
    padding-bottom: 30px;
    padding-top: 30px;
}


.navbar-brand {
    margin-right: 100px;
}

.navbar-bm {
    background-image: url("assets/bg-nav.jpg");
    background-size: contain;
}


.ew-form-table {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.ew-form-table label {
    color: #FFFFFF;
}

.ew-form-table td{
    padding-bottom: 15px;
    padding-top:15px;
}

.ew-alert {
    background-color: #ff8282;
    color: #000000;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.lds-hourglass {
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-hourglass:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 8px;
    box-sizing: border-box;
    border: 32px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-hourglass 1.2s infinite;
}

@keyframes lds-hourglass {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        transform: rotate(1800deg);
    }
}


.bg-form{
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top;


    background-image: url("assets/bg-form-1.jpg");

}

/*
.bg-form-contacto{
    background-image: url("assets/bg-form-1.jpg");
}

.bg-form-cita{
    background-image: url("assets/bg-form-2.jpg");
}

.bg-form-trabajo{
    background-image: url("assets/bg-form-3.jpg");
}
*/
.loading {
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);

}

.loading-box{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.ew-btn {
    color: #ffffff;
    background-color: #000000;
    border-radius: 2px;
    border: 0px;
    padding: 10px;
}

.ew-btn-option{
    width:100%;
    cursor: pointer;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.14);
    border : 1px solid #ffffff;
    border-radius: 10px;
    padding:10px;
    padding-left:25px;
    margin-bottom: 5px;
    transition: 0.6s all;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 0px 0px;
    transform: translateY(0px);
}

.ew-btn-option span{
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    transition: 0.5s all;
    margin-left:5px;
}

.ew-btn-option:hover{
    transform: translateY(0px);
    background-color: #FFFFFF;
    color: #000000;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}
.ew-btn-option:hover span{
    margin-left:20px;
}



.ew-input {
    width: 100%;
    padding: 3px;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    margin-bottom: 10px;
}


.section-contacto {
    width: 100%;
    background-color: #2C6D67;
    padding-top: 30px;
    padding-bottom: 30px;
}

.ew-form-selector{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.ew-form-selector-item{
    width:30%;
    padding:10px;
    font-size: 14px;
    margin:1px;
    text-align: center;
    color:#000000;
    border:1px solid black;
    background-color: #5E8C88;
    cursor: pointer;
}

.ew-form-selector-item-on{
    color:#ffffff;
    background-color: #000000;
}


@media only screen and (max-width: 800px) {
    .desktop-only {
        display: none;
    }

}

@media only screen and (min-width: 800px) {
    .mobile-only {
        display: none;
    }

}


.bloque-de-contenidos {
    width: 100vw;
}

.contenido-container {
    width: 100vw;
    min-height: 500px;
    background-color: #B8B8B9;
    background-image: url("/assets/fondo-bloques.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top;
}

.bloque-de-contenido-header {
    height: 300px;
    background-size: auto 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
}


.bloque-de-contenido-header .subtitulo {
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 30px;
}

.bloque-de-contenido-header .titulo {
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 65px;
    line-height: 65px;
    padding-bottom: 30px;

}


.bloque-de-contenidos .contenido {

    margin-left: auto;
    margin-right: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 40%;
    line-height: 40px;
    text-align: justify;
    color: #282828;
}


.bloque-de-contenido {
    height: 0px;
    overflow: hidden;
    transition: 1s all;
    opacity: 0;
}

.bloque-contenido-on {
    height: auto;
    opacity: 1;
}


.block-container-menu-container {
    width: 100%;
    background-color: #B8B8B8;
}

.block-container-menu {
    display: flex;
    width: 50%;
    margin-right: auto;
    margin-left: auto;
    justify-content: space-between;
    cursor: pointer;
    padding-bottom: 50px;
}

.block-container-menu-item {
    width: 24%;
    background-color: #5E8C88;
    border: solid 1px #000000;
    text-align: center;
    color: #000000;
}


.block-container-menu-item-on {

    background-color: #000000;
    border: solid 1px #000000;
    text-align: center;
    color: #FFFFFF;
}


.footer-banner {
    background-image: url("/assets/bahia-motors-footer-banner.png");
    background-position: center;
    width: 100vw;
    height: 300px !important;
    background-size: contain;
}

.footer-bm {
    background-image: url("/assets/footer-bg.jpg");
    background-position: center;
    width: 100vw;
    min-height: 300px !important;
    background-size: cover;
    padding-bottom: 50px;
}

.footer-bm-container {
    width: 80%;
    padding-top: 50px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}

.footer-bm-col {
    width: 20%;
}


.footer-bg-bold {
    width: 100%;
    border-bottom: 1px solid #5E8C88;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-bg-bold a {
    font-weight: bold;
    color: #000000;

}


.footer-bg-regular {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;

}

.footer-bg-regular a {
    color: #FFFFFF;

}


.footer-dots {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding-bottom: 30px;
    height: 70px;
    background-size: 6px;
    background-image: url("/assets/dot.png");
}


.footer-bg-black {
    margin-top: 50px;
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px;
    text-align: center;

}

.footer-bg-black a {

    font-size: 17px;
    color: #FFFFFF;
}


.footer-bg-black img {
    width: 7px;
    margin-left: 15px;
}


.footer-cierre {
    width: 100vw;
    background-color: #000000;

}

.footer-cierre-container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;

}


.footer-cierre-text {
    color: #FFFFFF;
    font-size: 11px;
    width: 50%;
}


.footer-cierre-agenda {
    width: 23%;
}

.footer-cierre-agenda img {
    width: 80%;
}


.footer-cierre-redes {
    width: 17%;
}

.footer-cierre-redes img {
    width: 20%;
    border: 1px solid rgba(161, 161, 161, 0.7);
    border-radius: 2px;
    background-color: #5E8C88;
    padding: 2px;
}


.footer-cierre-redes .uil {
    width: 100%;
    font-size: 30px;

    color: #B8B8B8;
    padding: 2px;
    transition: 1s all;
    margin-right: 10px;
}

.footer-cierre-container .uil:hover {
    color: #5E8C88;
}

.btn-agenda-tu-cita {
    margin-left: 100px;
}

.btn-agenda-tu-cita img {
    width: 185px;
}


.bm-widget {
    position: fixed;
    right: 5%;
    bottom: 5%;
    height: 11px;
    width: 70px;
    background-color: rgba(0, 0, 0, 0);
    z-index: 3000;
    background-image: url("/assets/square-line.png");
    background-repeat: repeat-y;
    background-position: right 5px top;
    background-size: 1px;
    transition: 2s all;
    overflow: hidden;
}

.bm-widget:hover {
    transition: 1s all;
    width: 200px;
}

.bm-widget-previo {
    bottom: -5%;

}

.bm-widget-on {
    height: 450px;
}


.widget-square {
    position: absolute;
    width: 9px;
    right: 1px;
}

.widget-whatsapp {
    position: absolute;
    bottom: 30px;
    right: -100px;
    width: 80px;
    transition: 1s all;
    cursor: pointer;
}

.widget-brand {
    position: absolute;
    width: 170px;
    transition: 1s all;
    right: -180px;
}


.widget-brand-1 {
    bottom: 400px;
}

.widget-brand-2 {
    bottom: 360px;
}

.widget-brand-3 {
    bottom: 320px;
}

.widget-brand-4 {
    bottom: 280px;
}


.widget-brand-on {
    right: -130px;
}

.widget-brand-on:hover {
    right: 0px;
}

.widget-whatsapp-on {
    right: -20px;
}

.widget-whatsapp-on:hover {
    right: 0px;
}

.square-top {
    top: 0px;
}

.square-bottom {
    bottom: 0px;
}

.bm-widget-btns-container {
    position: absolute;
    right: 6px;
    bottom: 0px;
    overflow: hidden;
    height: 100%;
    width: 100%;


}


.sostenibilidad-container {
    background-image: url("/assets/bg-sostenibilidad-4.jpg");
    width: 100%;
    background-size: cover;
    background-position: top;
    min-height: 340px;
}


.sostenibilidad-contenido {
    background-color: #508D89;
    width: 100%;
}

.sostenibilidad-container-text {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;

}

.sostenibilidad-container-text .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: inherit;
}

.sostenibilidad-container-text .nav-item {
    width: 25%;
    margin: 1%;


}

.sostenibilidad-container-text .tab-content {
    color: #FFFFFF;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    margin-bottom: 100px;
}


.sostenibilidad-container-text .nav-link {
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #ffffff !important;
    text-align: center;
    border-radius: 3px;
    color: #FFFFFF;
    text-align: center;
    display: block !important;
}

.nav-link {
    font-size: 14px !important;

}


.sostenibilidad-container-text .nav-item .active {
    color: #000000;
}

.portafolio-container {
    width: 100%;
    display: flex;

}

.portafolio-item {
    width: 25%;
    position: relative;;
    background-size: 100%;
}


.portafolio-imagen-principal {
    width: 100%;
}


.portafolio-logo {
    position: absolute;
    top: 0px;
    width: 50%;
    left: 25%;
}


.portafolio-item-contenido {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0px;
}


.portafolio-item-botones {
    display: flex;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.portafolio-item-big {
    width: 100%;
}

.portafolio-item-small {
    width: 45%;
}

.portafolio-item-botones img {
    width: 100%;
    padding: 1px;
}


.newsfeed-container {
    width: 100%;
    background-color: #5E8C88;
}

.newsfeed-container-inner {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;

}

.newsfeed-title {
    width: 100%;
    text-align: center;
    font-size: 60px;
    color: #282828;
    margin-bottom: 15px;

}

.btn-modificar{
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    background-color: #5E8C88;
    color: #FFFFFF;
    transition: 0.5s all;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    transform: translateY(0px);
}

.btn-modificar:hover{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: translateY(-3px);
}



@media only screen and (max-width: 800px) {


    .nav-item {
        width: 100% !important;
    }

    .newsfeed-container-inner {
        width: 100%;


    }


    .footer-banner{
        display: none;
    }


    .ew-form-table{
        width: 70%;
    }

    .ew-form-table select{
        max-width: 100%;
    }

    .ew-form-table input{
        max-width: 100%;
    }


    .footer-banner{
        height: 80px !important;
    }

    .footer-bm-container{
        flex-wrap: wrap !important;
    }

    .footer-bm-col{
        width:50% !important;
    }



    .sostenibilidad-container-text .nav-item {
        width: 31%;
    }

    .sostenibilidad-container {

        min-height: 150px;
    }


    .sostenibilidad-container-text .tab-content {
        width: 100%;
    }

    .portafolio-container {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .portafolio-item {
        width: 49%;
        margin-bottom: 5px;
    }

    .footer-cierre-container {
        flex-wrap: wrap;
        flex-direction: row-reverse;
        width: 90%;
    }

    .footer-cierre-text {

        width: 100%;
        margin-top: 50px;
    }


    .footer-cierre-agenda {
        width: 55%;
    }


    .footer-cierre-redes {
        width: 40%;
    }


    .bloque-de-contenidos .contenido {
        width: 70%;
    }

    .block-container-menu {
        flex-wrap: wrap;
    }

    .block-container-menu-item {
        width: 100%;
        margin-bottom: 20px;
    }

}
