/* ----------------------------------------------------------------------------------------------- */

/* SECCION GLOBALES */

/* ----------------------------------------------------------------------------------------------- */

/* --------------- */

/* Seccion general */

/* --------------- */

*{
    padding: 0;
    margin: 0;
}

body{
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #cccccc;
    background-image: url(../IMG/Varios/textura.png);
}

.container-fluid {
    padding: 0;
}

.navbar-toggler-icon{
    background-image: url(../IMG/Iconos/Hamburger.png);
}

/* ------------ */

/* Seccion Menu */

/* ------------ */

#Menu{
    width: auto;
    background: none;
    font-size: 1.4rem;
    background: linear-gradient(-45deg, #5179e0 50%, #33ffff 100%);
}

#Menu #Logo{
    display: block;
    margin: 0 auto;
    width: 100%;
    padding-top: 1%;
}

#Menu #Logo img{
    display: block;
    margin: 0 auto;
    height: 130px;
}

#Menu nav{
    padding: 0.5%;
    height: 100%;
}

#Menu .nav-item .nav-link{
    color: white;
    padding-right: 0;
    padding-left: 0;
    margin-right: 1rem;
    margin-left: 1rem;
}

#Menu .nav-item .nav-link:hover{
    transform: scale(1.2);
    transition: 0.2s ease-in-out;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu{
    margin: 0;
}

/* -------------- */

/* Seccion Footer */

/* -------------- */

/* General */
footer{
    color:  white;
    font-size: 1.3rem;
    background: linear-gradient(-45deg, #5179e0 50%, #33ffff 100%);
}

/* Logo del footer */
#LogoFooter{
    display: block;
    margin: 1% auto;
}

#LogoFooter img{
    height: 100px;
}

/* Direccion, telefono, horarios */
footer p{
    text-align: center;
    margin: 0;
}

footer #Insta{
    padding-bottom: 2%;
}

footer #Insta{
    text-align: center;
    margin-top: 1%;
}

footer #Insta a, footer #Insta p{
    display: inline-block;
    vertical-align: middle;
}

footer #FormasDePago img{
    margin-left: 1%;
    max-height: 50px;
    max-width: 150px;
}

footer #FormasDePago div{
    text-align: center;
    background-color: white;
    padding: 5px;
}

footer #Marcas{
    background-color: white;
}

footer #Marcas img{
    /*width: 5%;*/
}

/* Links de redes tamaños */
.LF {
    text-align: center;
    text-decoration: none;
    padding-left: 50px;
    color: white;
}

/* Links de insta efecto */
.LF:hover {
    opacity: 1;
    color: white;
}

/* Links de insta especifico */
.LF-Insta {
    background-image: url(../IMG/Iconos/Instagram.png);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.7;
}

/* Links de wpp especifico */
.LF-Wpp {
    background-image: url(../IMG/Iconos/wpp.png);
    background-repeat: no-repeat;
    background-size: contain;
}

/* Links de ubi especifico */
.LF-Ubi {
    background-image: url(../IMG/Iconos/ubicacion.png);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.7;
}

/* Links de tel especifico */
.LF-Telefono {
    background-image: url(../IMG/Iconos/telefono.png);
    background-repeat: no-repeat;
    background-size: contain;
}

/* ----------------------------------------------------------------------------------------------- */

/* PAGINA DE INICIO */

/* ----------------------------------------------------------------------------------------------- */

.row{
    margin: 0;
}

#Inicio #Imagenes{
    padding: 0;
    margin: 0 auto;
    background-color: white;
}

#Inicio .caption-arribaIzquierda{
    top: 1%;
    bottom: 0%;
    left: 0%;
    right: 50%;
}

#Inicio .caption-abajoDerecha{
    top: 78%;
    bottom: 0%;
    left: 60%;
    right: 0%;
}

#Inicio .carousel-caption h2, #Inicio .carousel-caption p{
    background: linear-gradient(-45deg, #5179e0 50%, #33ffff 100%);
    margin: 0;
    padding: 2%;
}

/* ------------------ */

/* Seccion Destacados */

/* ------------------ */

#Inicio #Destacados{
    margin-top: 5vh;
}

#Inicio #Destacados article{
    margin: 0 auto;
    margin-bottom: 10vh;
    padding: 0;
    border: none;
    color: white;
    overflow: hidden;
}

#Inicio #Destacados article img{
    background-color: white;
}

#Inicio #Destacados article h2{
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 3%;
    font-size: 1.3rem;
    font-style: italic;
}

/* Efectos de hover para los destacados */

.oculto {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0.9;
    transform: translateY(80%);
    transition: transform ease-in-out 0.5s;
    background-color: #5190ff;
}

#Inicio #Destacados .card:hover .oculto{
    opacity: 0.9;
    transform: translateY(0);
}

/*#Inicio #Destacados .card:hover h2{
    display: none;
}*/

#Inicio #Destacados .card{
    cursor: pointer;
}

#Inicio #Destacados .text {
    color: white;
    font-size: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    height: 100%;
}

#Inicio #Destacados .text p{
    width: 80%;
    margin: 18% auto;
    margin-top: 4%;
    text-align: rigth;
}

#Inicio #Destacados .text a{
    color: white;
    margin: 0 0 0 60%;
    text-decoration: underline;
}

/* ----------------------------------------------------------------------------------------------- */

/* PAGINA DE CONTACTO */

/* ----------------------------------------------------------------------------------------------- */

#Contacto section{
    margin: 5vh auto;
    background-color: #5179e0;
    padding: 2%;
}

#Contacto form{
    font-size: 1.2rem;
}

#Contacto form input{
    margin: 2% 0 5% 0;
    padding: 2%;
}

#Contacto form textarea{
    resize: none;
}

#Contacto button, #Contacto p{
    margin-top: 2%;
}

#Contacto iframe{
    width: 95%;
    height: 60%;
    display: block;
    margin: 0 auto;
}

#Contacto section:last-of-type .row{
    margin: 0 auto;
    color: white;
    font-size: 1.3rem;
    height: 40%;
}

#Contacto section:last-of-type .row div{
    margin: 2% 0;
}

#Contacto section:last-of-type .row div a, #Contacto section:last-of-type .row div p{
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

/* ----------------------------------------------------------------------------------------------- */

/* PAGINA DE EMPRESA */

/* ----------------------------------------------------------------------------------------------- */

#Empresa #Titulo h1{
    margin-top: 5%;
    text-align: center;
    color: #5179e0;
    font-weight: bold;
}

#Empresa #Titulo p{
    text-align: center;
    margin: 1% auto;
}

#Empresa section:first-child article{
    margin: 2% auto;
    border: none;
}

#Empresa section article img{
    display: block;
    margin: 0 auto;
}

#Empresa section:first-child h2{
    font-size: 1.6rem;
    margin: 5% auto;
    text-align: center;
    text-decoration: underline;
}

#Empresa section:first-child p{
    text-align: justify;
    margin: 5% auto;
    font-size: 1.4rem;
}

#Empresa section:nth-child(2){
    color: white;
    padding-bottom: 3%;
    text-align: center;
    background: linear-gradient(-45deg, #5179e0 50%, #33ffff 100%);
}

#Empresa section:nth-child(2) article{
    margin-top: 5%;
}

#Empresa section:nth-child(2) article img{
    width: 300px;
    height: 200px;
    transition: transform 0.5s;
}

#Empresa section:nth-child(2) article img:hover{
    transform: scale(1.2);
}

#Empresa section:nth-child(2) article h3{
    width: 80%;
    margin: 0 auto;
    margin-top: 10%;
    margin-bottom: 5%;
    text-decoration: underline;
}

#Empresa section:nth-child(2) article p{
    width: 80%;
    margin: 0 auto;
    font-size: 1.2rem;
}

#Empresa section:nth-child(2) div article{
    margin-top: 5%;
}

#Empresa section:nth-child(2) h2{
    margin: 2% auto;
    text-decoration: underline;
    font-size: 2.5rem;
}

#Empresa section:nth-child(2) #MasServicios{
    text-align: left;
    margin: 5%;
    font-size: 1.2rem;
}

#Empresa section:nth-child(2) #MasServicios h3{
    margin-bottom: 3%; 
    text-decoration: underline;
}

#Empresa section:nth-of-type(3){
    background-color: white;
}

#Empresa section:nth-of-type(3) h2{
    text-align: center;
    text-decoration: underline;
    margin: 1% 0;
}

#Empresa section:nth-of-type(3) img{
    display: block;
    margin: 2% auto;
    vertical-align: middle;
}

#Empresa section:nth-of-type(3) div{
    text-align: center;
}

#Empresa section:nth-of-type(3) a{
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2%;
    padding: 0.8rem 1.8rem;
    display: inline-block;
    color: black;
    border: 2px solid black;
}

/* ----------------------------------------------------------------------------------------------- */

/* CATALOGO DE MOTOS */

/* ----------------------------------------------------------------------------------------------- */

#CatalogoMotos{
    min-height: 95vh;
    padding: 2vh 0 10vh 0;
    background-image: none;
}

#CatalogoMotos #Articulos article{
    margin: 2%;
    padding: 0 1%;
}

#CatalogoMotos #Articulos article:hover{
    cursor: pointer;
    border: 2px solid black;
}

#CatalogoMotos #Articulos #Navi img{
    transform: scaleX(-1);
}

#Filtros{
    border-right: 1px solid black;
}

#Filtros h1{
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    color: #505050;
}

#Filtros a{
    font-size: 1rem;
    display: block;
    margin: 2% 15%;
    color: grey;
}

#Filtros a:hover{
    color: black;
    cursor: pointer;
}

#Sugerencias{
    border-bottom: 1px solid grey;
    margin-bottom: 1%;
    padding: 0.5%;
}

#Sugerencias a{
    color: black;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.motoE{
    margin-left: 2% !important;
    margin-top: 2% !important;
}

/* ------------- */
/*   Ficha Moto  */
/* ------------- */

#FichaMoto{
    min-height: 90vh;
    background-color: white;
}

#FichaMoto #Datos{
    min-height: 90vh;
    padding: 1vh;
    text-align: center;
}

#FichaMoto #Datos img{
    width: 50%;
    margin-top: 5%;
    background-color: lightgrey;
}

#FichaMoto #Datos h1{
    margin-top: 5%; 
    text-align: left;
}

#FichaMoto #Datos table{
    width: 100%;
}

#FichaMoto #Datos table td{
    padding: 2%;
    width: 50%;
    text-align: left;
}

#FichaMoto #Datos table tr:nth-of-type(odd){
    background-color: #dddddd;
}

#FichaMoto #slider{
    margin-bottom: 10vh;
}

#FichaMoto .carousel-item{
    text-align: center;
}

#FichaMoto .carousel-item img{
    max-height: 60vh;
}

#FichaMoto .carousel-indicators img{
    width: 80px;
    height: 60px;
}

#FichaMoto .carousel-inner a{
    background-color: lightgray;
}

#FichaMoto #TituloFicha p{
    font-size: 2rem;
}

#FichaMoto #TituloFicha a{
    font-weight: bold;
    font-size: 1.3rem;
}


/* Dependiendo de la pantalla */

@media (min-width: 1px) { 

    #Imagenes img{
        height: 40vh;
    }

    #Filtros{
        padding-left: 5px;
    }

    #Filtros a{
        font-size: 0.8rem;
    }

    #Filtros h1{
        font-size: 0.9rem;
        font-family: 'Montserrat', sans-serif;
        margin: 15% 0%;
    }

    #CatalogoMotos #Articulos article strong{
        font-size: 1.5rem;
        margin-left: 5%;
    }

    #CatalogoMotos #Articulos article h2{
        font-size: 1.3rem;
        margin-left: 5%;
    }

    #Empresa #Titulo h1{
        font-size: 1.6rem;
    }

    #Empresa #Titulo p {
        width: 100%;
        font-size: 1rem;
    }
    
    #Empresa section:nth-child(2) #MasServicios{
        margin-top: 10%;
    }
    
    #Empresa section:nth-child(2) #MasServicios h3{
        text-align: center;
    }

    #Contacto #mapaYdatos{
        height: 85vh;
    }

    #Contacto section .LF{
        padding: 10px 10px;
    }

    #Empresa section:nth-child(2) div article h2{
        text-decoration: underline;
    }

    #Empresa section:nth-child(2) div article p{
        font-size: 1rem;
    }

    #CatalogoMotos #Articulos article strong{
        margin-top: 10%;
    }

    #FichaMoto #Datos{
        margin-bottom: 10vh;
        border-bottom: 1px solid black;
    }

    #FichaMoto #slider{
        margin-bottom: 0;
        border: none;
    }
}

@media (min-width: 576px) {

    #CatalogoMotos #Articulos article{
        padding-bottom: 2%;
    }

    #CatalogoMotos #Articulos article strong{
        font-size: 1.3rem;
    }

    #CatalogoMotos #Articulos article h2{
        font-size: 1.1rem;
    }

    #Empresa #Titulo p{
        width: 80%;
    }

    #Empresa section:first-child article p{
        width: 70%;
    }

    #Empresa section:nth-child(2) div article{
        width: 70%;
        text-align: left;
    }
    
    #Empresa section:nth-child(2) #MasServicios h3{
        text-align: left;
    }
    
    #Destacados .text p{
        margin: 8% auto !important; 
    }
}

@media (min-width: 768px){ 

    #Destacados .text p, #Destacados .text a{
        font-size: 1rem;
    }
    
        #Destacados .text p{
        margin: 0% auto !important;
    }

    #Imagenes img{
        height: 85vh;
    }

    #CatalogoMotos #Articulos article strong{
        font-size: 1.5rem;
    }

    #CatalogoMotos #Articulos article h2{
        font-size: 1.3rem;
    }

    #Inicio #Destacados article h2{
        font-size: 1.1rem;
    }

    #Contacto #mapaYdatos{
        height: inherit;
    }

    #Empresa section:first-child article p{
        width: 100%;
    }

    #CatalogoMotos #Articulos article strong{
        margin-top: 15%;
    }    
}

@media (min-width: 992px){ 

    #Filtros h1{
        font-size: 1.2rem;
        font-family: 'Montserrat', sans-serif;
    }  

    #Filtros a{
        font-size: 1rem;
    }

    #Empresa #Titulo{
        animation: entrarArr 1s ease-in-out 0.5s both;        
    }

    #Empresa section:nth-child(1) article:nth-of-type(1) {
        animation: entrarIzq 1s ease-in-out 0.5s both;        
    }
    #Empresa section:nth-child(1) article:nth-of-type(2) {
        animation: entrarAb 1.5s ease-in-out 0.5s both;        
    }
    #Empresa section:nth-child(1) article:nth-of-type(3) {
        animation: entrarDer 1s ease-in-out 0.5s both;        
    }

    #Inicio #Destacados article h2{
        font-size: 1.3rem;
    }
    
    #Destacados .text p{
        margin: 6% auto !important; 
    }

    #Empresa #Titulo p {
        width: 60%;
    }

    #Empresa section:first-child article p{
        width: 80%;
    }

    #Empresa section:nth-child(2) div article{
        width: 40%;
    }

    #FichaMoto #Datos{
        border: none;
    }

    #FichaMoto #slider{
        margin-bottom: 10vh;
        border-right: 1px solid black;
    }
}

@media (min-width: 1200px) { 
    #Destacados .text p, #Destacados .text a{
        font-size: 1.3rem;
    }
    
    #Destacados .text p{
        margin: 10% auto !important; 
    }

    #Filtros{
        padding-left: 1%;
    }

    #Empresa #Titulo p {
        width: 40%;
    }

    #Contacto .col-xl-12{
        font-size: 1.4rem;
    }

    #Contacto section .LF{
        padding: 20px 20px;
    }

    #CatalogoMotos #Articulos article strong{
        margin-top: 20%;
    }
}

@media (min-width: 990px) and (max-width: 1290px){
    #Empresa section:nth-child(2) article img{
        width: 200px;
        height: 100px;
    }
}

/* Animaciones */

@keyframes entrarDer{
    0%{
        transform: translate(100%);
        opacity: 0;
    }

    100%{
        transform: translate(0%);
        opacity:1;
    }
}

@keyframes entrarArr{
    0%{
        transform: translateY(-100%);
        opacity: 0;
    }

    100%{
        transform: translate(0%);
        opacity:1;
    }
}

@keyframes entrarAb{
    0%{
        transform: translateY(100%);
        opacity: 0;
    }

    100%{
        transform: translate(0%);
        opacity:1;
    }
}

@keyframes entrarIzq{
    0%{
        transform: translate(-100%);
        opacity: 0;
    }

    100%{
        transform: translate(0%);
        opacity:1;
    }
}

/* PRUEBAS */

#myCarousel .list-inline {
    white-space:nowrap;
    overflow-x:auto;
}

#myCarousel .carousel-indicators {
    position: static;
    left: initial;
    width: initial;
    margin-left: initial;
}

#myCarousel .carousel-indicators > li {
    width: initial;
    height: initial;
    text-indent: initial;
}

#myCarousel .carousel-indicators > li.active img {
    opacity: 0.7;
}