/* Import CSS */
@import "config.css";

/* General CSS */

*{
    margin: 0px;
    padding: 0px;
}

body{
    background: var(--secondary-color);
}

#boxHeader, #boxCarStar, #boxCars, #boxFooter, #boxContent, .carousel{
    background-size:     cover;                     
    background-repeat:   no-repeat;
    background-position: center center; 
}

nav{
    display: none !important;
}

#boxCarStar, #boxCars{
    z-index: 998;
}

.menuItem a{
    color: var(--contrast-color);
}

/* Header CSS */

#boxHeader{
    background-image: var(--background-header);
    height: auto;
    margin-bottom: -400px;
    z-index: 999;
    padding: 0px;
}

.centerImg{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
    width: 35%;
}

/* Menu CSS */

#boxMenu{
    margin-top: 0px;
    height: auto;
    margin-left: 0px;
    padding: 0px;
}

#boxLeft, #boxRight{
    color: var(--font-contrast-color);
    font-size: 2vw;
    text-transform: uppercase;
    text-align: center;
}

#boxLeft ul li, #boxRight ul li{
    display: inline-block;
    padding: 10px;
    width: 45%;
}

#boxRight{
    padding-right: 0px;
}

.menunItem {
    color: var(--font-contrast-color);
    background: transparent;
    border-bottom: 0px solid transparent;
    transition: all -6s ease;
}

.menuItem:hover, .menuItem.selected{
    color: var(--font-primary-color);
    background-color: var(--contrast-color-rgba);
    border-bottom: 3px solid var(--primary-color);
    letter-spacing: 2px;
    font-weight: bold;
    cursor: pointer;
    transition: all .6s ease;
}

.menuItem:hover > a {
    color: var(--font-primary-color);
}

.menuItem.selected a{
    color: var(--font-primary-color);
}

/* Vehiculo Destacado CSS */

#boxCarStar{
    background-image: var(--background-car-star);
    height: auto;
    overflow: hidden;
}

#boxData{
    position: relative;
    margin-top: 500px;
}

#boxData div:first-child, #boxData div:last-child{
    text-transform: uppercase;
    color: var(--font-contrast-color);
    text-align: center;
    
}

#boxData div:first-child{
    background-color: var(--primary-color);
    font-size: 50px;
    border-radius: 10px;
}

#boxData div:last-child{
    font-size: 80px;
    word-spacing: 10px;
}

/*#boxData div:last-child > span{
    text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}*/

#boxData div:last-child > span, #boxPrice{
    color: var(--font-primary-color);
}

#boxPrice{
    font-size: 125px;
    margin-bottom: 100px !important;
    padding-left: 80px;
    color: var(--contrast-color);
}

.img-header{
    margin-bottom: -200px;
}

/* Info Empresa CSS */

#boxInfo{
    background: var(--primary-color);
    color: var(--font-contrast-color);
    padding: 10px;
    height: auto;
    margin: 0px;
}


#boxInfo > div{
    font-size: 100px;
    padding: 30px;
    border-right: 1px solid var(--contrast-color);
    margin: 0px;
}


#boxInfo > div:last-child{
    border-right: 0px solid transparent;
}


.iconBox{
    height: 100%;
    vertical-align: middle;
}

.textBox{
    font-size: 20px;
    text-align: justify;
    vertical-align: middle;
    padding-top: 20px;
}

/* Listado de Vehiculos CSS */

#boxCars{
    padding: 0px;
    background-image: var(--background-car-secondary);
    height: auto;
}

#boxSold{
    display: none;
}

.menuCars{
    padding-top: 100px;
    
}

.menuCars ul{
    list-style-type: none;
    width: 100%;
}

.menuCars ul li{
    display: inline-block;
    background: var(--contrast-color);
    color: var(--primary-color);
    width: 45%;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    font-size: 30px;
    transition: all .6s ease;
}

.menuCars ul li.selected{
    background: var(--primary-color);
    color: var(--contrast-color);
}

.menuCars ul li:first-child{
    border-radius: 5px 0 0 5px;
}

.menuCars ul li:last-child{
    border-radius: 0 5px 5px 0;
}

.menuCars ul li:hover{
    cursor:pointer;
    background: var(--primary-color);
    color: var(--contrast-color);
    transition: all .6s ease;
    text-decoration: underline;
}
.carsList{
    padding-top: 100px;
    padding-bottom: 350px;
}

.carsList > div{
    margin-bottom: 20px;
}

.carSlot{
    background: var(--contrast-color) !important;
    overflow: hidden;
    color: var(--primary-color);
    border-radius: 5px;
    height: auto;
    width: 35%;
    margin-left: 13.5%;
    margin-right: 0%;
    display: inline-block;
}

.carsList > div > .carSlot:nth-child(even){
    margin-left: 1%;
}

.carImg{
    padding: 0px;
    position: relative;
}

.carImg img{
    border-radius: 5px 5px 0 0;
    margin-bottom: -10px;
}

.carsMark, .carsDetail{
    position: absolute;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
}

.carsMark{
    width: 35%;
    background: var(--primary-color);
    color: var(--contrast-color);
    text-align: center;
    margin-top: 10px;
    margin-left: 10px;
    padding: 10px;
    size: 20px;
    font-weight: bold;
}

.carsDetail{
    bottom: 0px;
    right: 0px;
    text-align: right;
    width: 50%;
}

.carsName{
    font-size: 30px;
    text-align: right;
    border-bottom: 3px solid var(--primary-color);
    background: linear-gradient(to right, transparent, var(--contrast-color));
}

.carsChar{
    float: left;
    left: 10px;
    padding: 15px;
    text-align: justify;
    color: var(--font-secondary-color);
    width: 65%;
}

.carsChar ul{
    margin-left: 20px;
}

.titleChr{
    text-transform: capitalize;
    border-bottom: 2px solid var(--font-secondary-color);
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.carsPrice{
    float: right;
    font-size: 50px;
    margin-right: 10px;
    font-weight: bold;
}

.drkBlck{
    color: var(--font-secondary-color);
}

.btnVer{
    float: right;
    margin-right: 10px;
    margin-bottom: 0px;
    width: 30%;
    padding: 5px;
    background: var(--primary-color);
    color: var(--contrast-color);
    text-transform: uppercase;
    text-align: center;
    font-size: 30px;
}

.btnVer:hover{
    text-decoration: underline;
    color: var(--primary-color);
    background: var(--contrast-color);
    border: 2px solid var(--primary-color);
    transition: all .6s ease;
}

/*CAR TABLE CSS*/
.carTable{
    background: var(--contrast-color);
    padding: 0px;
    display: none;
}

.carTable table {
    width: 100%;
    background: var(--contrast-color);
    border-spacing: 1px;
    border-collapse: separate;
    padding: 0px;
}

.carTable table td{
    padding: 0px;
}

.carTable i{
    font-size: 40px;
    padding-right: 20px;
}

.carTable i:hover{
    cursor: pointer;
}

.tHeader{
    background: var(--primary-color);
    color: var(--contrast-color);
    padding: 10px !important ;
    text-transform: capitalize;
    vertical-align: middle;
}

.tChar{
    background: var(--cell-char-header);
    margin: 1px;
    color: var(--contrast-color);
    text-transform: uppercase;
    padding: 10px !important;
    width: 50%
}

.tData{
    background: var(--cell-char-data);
    padding: 10px !important;
}

.tData ul{
    margin-left: 20px;
}

/* CSS Carrousel */

/*.carousel{
    background-image: url('../img/coches/expositor.png');
}*/

.carousel i{
    color: var(--secondary-color);
}


/* CSS FOOTER */

#boxFooter{
    background-image: var(--background-footer);
    /*background: var(--secondary-color);*/
    height: auto;
    padding: 0px;
    z-index: 999;
    background-position-y: 0px;
    color: var(--contrast-color);
    margin-top: -300px;
}

#boxFooter a{
    color: var(--contrast-color);
}

.contact{
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.boxSpace{
    height: 10px;
}

.boxSpace2{
    height: 310px;
}

.fBoxFooter{
    margin-top: 20px;
}

.sBoxFooter{
    text-align: center;
    padding-bottom: 10px;
    margin-top: 20px;
}

.webMap{
    padding-top: 10px;
    
}

.titleMap{
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 10px;
}

.webMap ul{
    list-style-type: none;
    font-size: 20px;
    text-align: center;
}

.webMap ul i{
    padding-right: 20px;
}

.webMap ul li:hover, .politicsBox > div > span:hover{
    cursor: pointer;
    text-decoration: underline;
}

.politicsBox, .politicsBox >div > span{
    text-align: center;
    padding: 0px;
    margin: 0px;
}

.politicsBox div:last-child{
    margin-top: 10px;
}

.iconF{
    font-size: 1rem;
    margin-top: 10px;
    transition: .6s ease all;
}

.iconF a:hover{
    color: var(--font-primary-color);
    transition: .6s ease all;
}

/* SECTION CSS */

.titleSection{
    background: var(--contrast-color-rgba);
    color: var(--primary-color);
    font-size: 40px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
    margin-top: 500px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 10px;
    border-bottom: 10px solid var(--primary-color);
}

#boxContent{
    border-top: 10px solid var(--contrast-color);
    background: var(--background-car-secondary);
    padding: 0px;
    margin: 0px;
}

#boxContent > div{
    margin: 0px;
    padding: 5px;
}

.contentSection{
    background: var(--contrast-color);
    color: var(--primary-color);
    height: auto;
    padding: 0px !important;
}

.titleSubSectionL, .titleSubSectionR{
    border-bottom: 10px solid var(--primary-color);
    font-size: 40px;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-style: italic;
}

.titleSubSectionR{
    text-align: right;
}

.contentSubSectionL{
    color: var(--secondary-color);
    padding: 5px;
    text-align: justify;
    margin-top: 5px;
    font-size: 20px;
}

.line{
    color: var(--primary-color);
}

/*FORM CSS*/

.contentSection form label{
    font-size: 20px;
    font-style: italic;
    font-weight: bold;
    padding-top: 0px;
}

.contentSection form {
    margin-top: 20px;
    margin-bottom: 20px;
}

.contentSection input[type="button"]{
    margin-right: 10px;
}

/* REGLAS CSS RESPONSIVE */
@media (max-width: 750px){

    /*Menu Header*/

    nav{
        display: block !important;
    }

    .navbar-toggler{
        float: right;
        margin-right: 0px;
    }

    .bg-dark{
        background: var(--primary-color) !important;
    }

    #boxMenu{
        display: none;
    }

    .navbar{
        padding-left: 0px;
        padding-right: 0px;
    }

    .navbar-brand{
        padding-left: 15px;
        color: transparent !important;
    }

    .navbar-brand img{
        position: absolute;
        top: 0px;
        width: 9%;
    }

    .navbar-nav {
        margin-top: 10px;
    }

    .nav-item a{
        text-align: center;
        text-transform: uppercase;
        font-weight: bold;
        transition: .6s ease all;
    }

    .nav-item a:hover{
        letter-spacing: 5px;
        transition: .6s ease all;
        text-decoration: underline;
    }

    .nav-item.active, .nav-item a:hover{
        font-weight: bold;
        background: var(--contrast-color) !important;
    }

    .nav-item.active a, .nav-item a:hover{
        color: var(--font-primary-color) !important;
    }


    .centerImg{
        width: 70%;
        margin-top: 30px;
    }

    /* Star Car */

    #boxCarStar, #boxCarStar > *, #blackBck > *, #boxData, .imgBox{
        padding: 0px;
    }

    #boxCarStar{
        margin-top: 20px;
    }

    .imgBox{
        margin-top: 0px;
    }

    #boxData{
        position: relative;
        margin-top: 400px;
    }
    
    #boxData div:first-child{
        font-size: 40px;
        border-radius: 0px;
    }

    #boxData div:last-child{
        font-size: 40px;
        word-spacing: 10px;
        background: linear-gradient(to right,var(--contrast-color), transparent);
        font-weight: bold;
    }

    #boxPrice{
        font-size: 60px;
        margin-top: 200px;
        padding: 0px;
        text-align: center;
    }

    .img-header{
        margin-bottom: -300px;
    }

    /* Info Empresa */

    #boxInfo > div{
        border-right: 0px solid transparent;
        border-bottom: 1px solid var(--contrast-color);
    }

    #boxInfo > div:last-child{
        border-bottom: 0px solid transparent;
    }

    .iconBox{
        height: auto;
        font-size: 80px;
        padding: 0px;
        text-align: center;
    }
    
    .textBox{
        padding: 0px;
    }

    /* Listado de Coches */

    .menuCars{
        margin: 0px;
    }
    .menuCars ul li{
        width: 50%;
        font-size: 20px;
    }

    .carsList{
        padding-right: 0px;
        padding-left: 0px;
    }

    .carSlot{
        width: 100%;
        margin-left: 5% !important;
        margin-bottom: 10px;
    }

    .carsDetail{
        width: 100%
    }

    .carsName{
        font-size: 20px;
        font-weight: bold;
    }

    .carsChar{
        width: 100%;
    }

    .carsPrice{
        float: left;
        margin-left: 10px;
        font-size: 10vw;
    }

    .btnVer{
        font-size: 20px;
        margin-top: 20px;
    }

    /* Secciones */

    .titleSubSectionL, .titleSubSectionR{
        font-size: 30px;
    }

    .hiddenMvl{
        display: none;
    }

    input[type="reset"]{
        margin-bottom: 10px;
    }
}

