/*********************************************************
Nombre          : estilo.css
Autor           : RGL
Descripción     : Estilos CSS para la aplicación
Fecha creación  : 25-01-2021
Versión         : 1.0  
*********************************************************/

/***************** Variables ***************/

:root {
  --color-advanced-search-fondo:#f0f8ff;
  --color-navbar-fondo: #144b78; 
  --color-logo: #2699f7;
  --color-header-fondo: #EEEEEE;
  --color-card-body-oferta: #ebf4fb;

}

/***************** HTML Tags ***************/

h3 {
  font-size: 120%;
}

/****************** ID ********************/

#advanced-search {
  background-color: var(--color-advanced-search-fondo);
  border: var(--color-navbar-fondo) 2px;
  border-style: none solid solid solid;
  margin:-2.3em 0 0 -0.8em;
  max-width: 98%;
  overflow-x: hidden;
  padding: 0 0.7em;
  position: absolute;
  transform: translateX(-402px);
  transition: 0.3s ease-out;
  width: 400px;
  z-index: 10;
}

#boton-menu {
    color: #FFFFFF;
}

#closeButtonSearch {
  font-size: 170%;
  position: absolute;
  right:0.7em;
  top:0.5em;
}

#cover-search {
  background-color: white;
  height: 2600px;
  margin:-2.3em 0 0 -0.8em;
  position: absolute;
  transform: translateX(-404px);
  width: 402px;
  z-index: 20;
}

.dropdown-menu {
  position: fixed;
  right: 0;
  top:0;
}

#h2-advSearch {
  font-size: 160%;
  font-weight: bold;
  margin:1.5em 0;
}

#header-sup {
    background-color: #eeeeee;
}

#logo_img {
  min-width: 50px;
  width: 100%;
}

#nav-header, #nav-header-interior {
    background-color: var(--color-navbar-fondo);
    margin-bottom:2.3em;
    padding: 0;
}

#nav-header ul li {
    font-size: 100%;
    margin-left:1em;
}

#nav-header-interior ul li {
    font-size: 100%;
    margin:0 1em;
}

#nav-header a, #nav-header-interior a {
    color: #FFFFFF;

    font-weight: bold;
}

#nav-header a:hover, #nav-header-interior a:hover {
    color:#d3d3d3;
}

#step-horizontal {
  display: block;
  font-size: 280%;
  margin:0 0 0.6em 0.5em;
  max-width: 100%;
}

/************** Bootstrap Classes *******************/

.card-header {
  padding-bottom:0;
}

.custom-control {
  -ms-transform: scale(1.2); 
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2); 
  transform: scale(1.2);
}

.modal {
  max-width: 95%;
}

.modal-header {
  background-color: var(--color-advanced-search-fondo);
}

.modal-title {
  font-size: 130%;
  font-weight: bold;
  margin:0 auto;
}


/************** My Classes ***************************/

.as-label {
  font-size: 110%;
  font-weight: bold;
}

.as-options {
  font-size: 110%;
}

.as-options:first-letter {
  text-transform: uppercase;
}

.as-checkbox {
  height: 1em;
  padding: 5px;
  vertical-align:bottom;
  width: 1em;
}

.boton-rrss {
  width: 3em;
}

.botonera-toggle {
  position: absolute;
  left:1.7em;
  top: 15em;
}

.botonera-toggle .custom-control {
  margin:0 3.5em 0 0;
}

.car-icon {
    color:black;
    font-size: 200%;
    margin:0 0.5em;
}

.car-icon2 {
    color:#494949;
    font-size: 200%;
    margin:0 0.5em;
}

.card-btn-botonera {
  width: 130px;
  padding: 0.3em 1em;
}

.card-btn-ver {
  left:7.5em;
  max-width: 250px;
  position: absolute;
  top:5em;
  width: 55%;
}

.card-mainicon  {
  color:#8f8080;
  float: left;
  font-size: 600%;
  left:0.3em;
  position: absolute;
  top:0.8em;
}

.card-body-oferta {
  background-color: var(--color-card-body-oferta);
  height: 16.5em;
}

.card-md-icon  {
  color:#888888;
  font-size: 400%;
  position: absolute;
  left:1em;
  top:2em;
}

.card-body-pub {
  padding: 0;
  
}

.card-body-pub > img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.card-body-pub > video {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;

  width: 100%;
  height: auto;
}

.card-body-text {
  color:red;
  font-size: 120%;
  left:6.6em;
  position: absolute;
  top:4em;
}

.card-body-text--filename {
  color:#494949;
  font-size: 100%;
  left:7.7em;
  top:5.5em;
}

.card-docs {
  height: 220px;
  max-height: 220px;
}

.card-footer__pub {
  height: 3.5em;
}

.card-header--campos{
  min-height: 18em;
}

.card-image {
  margin:0;
  position: relative;
  width: 100%;
}

.card-second-icon {
  font-size: 250%;
  left:0.6em;
  position:absolute;
  top:1.7em;
}

.card-second-icon--checked {
  color:green;
  z-index:3;
}

.card-second-icon--x {
  color:#b90000;
  z-index:3;
}

.card-second-icon--back {
  color:white;
  z-index:2;
}

.card-pub {
  margin:0 0.8em 1em 0.8em;
  color:#494949;
  padding: 0;
  max-width: 95%;
}

.card-pub a {
  color:#494949;
  padding: 0;
}

.card-pub a:hover {
  color:black;
}

.card-pub-ficha, .card-pub-main {
  
  color:#494949;
}

.card-pub-ficha {
  margin:0 0em 1em 0em;
  padding: 0;
}

.clean {
  clear: both;
}

.columna-num {
    width: 20%;
}

.contenido {
  min-height: 55vh;
}

.custom-file-upload-modif {
  display: inline-block;
  cursor: pointer;
  left:7.5em;
  max-width: 250px;
  position: absolute;
  text-align: center;
  top:65%;
  width: 55%;
}

.custom-file-upload-abajo {
  top:75%;
  display: inline-block;
  cursor: pointer;
  left:1em;
  position: absolute;
}

.custom-file-upload {
  display: inline-block;
  cursor: pointer;
  left:1em;
  position: absolute;
  top:50%;
}

.details > summary::-webkit-details-marker {
  display: none;
}

.details > summary {
  list-style: none;
}

.details-arrow {
  transition:0.3s;
  transform: rotate(0deg);
}

.details-arrow-open {
  transform: rotate(180deg);
}

.footer {
  background-color: var(--color-logo);
  border: var(--color-navbar-fondo) 4px solid;
  color:white;
  font-weight: bold;
  padding: 1em;
}

.footer-header {
  background-color: var(--color-navbar-fondo);
  padding: 1em 0 0.5em 1em;
}

.footer-logo {
  max-width: 200px;
}

.footer-rrss {
  font-size: 150%;
}

.footer-rrss-icon {
  margin-right:0.5em;
}

.form-dia {
  width: 20%;
}

.form-mes {
  width: 35%;
}

.form-year {
  width: 25%;
}

.h1-header {
    display: inline-block;
    font-size: 110%;
}

.h-line {
  background-color: rgb(70, 70, 70);
  display: inline-block;
  height: 5px;
  left:-15px;
  position: relative;
  width: 8%;
}

.h4-oferta {
  font-size: 170%;
}

.help-form {
  color:green;
  font-size: 130%;
  font-weight: bold;
  margin-left: 0.6em;
}

.icon-header-1 {
  font-size: 130%;
}

.icon-header-2 {
  font-size: 160%;
}

.icono-rrss {
  font-size: 130%;
}

.icono-rrss2 {
  font-size: 170%;
}

.input-comercial {
  position: absolute;
  top:4em;
}

.input-file {
  height: 0;
  margin:0;
  opacity: 0;
  padding: 0;
  width: 0;
}

.input-precio {
  padding: 0 0.3em;
  font-size: 110%;
}

.link-icon a:hover {
  text-decoration:none;
}

.modal-body-p {
  font-size: 130%;
}

.obligatorio::before, .obligatorio-docs::before {
  color: red;
  content: "\2217  ";
  font-size: 100%;
  font-weight: bold;
}

.obligatorio::after {
  color: gray;
  content: " obligatorio";
  font-size: 80%;
  font-style: italic;
}

.publicarToggle {
  position:absolute;
  bottom:0;
}

.marca-txt {
  font-size:130%;
  font-weight: bold;
}

.node-horizontal {
  margin-left:-30px;
}

.num_superindice {
  color:red;
  font-size: 75%;
  right:0.1em;
  position: relative;
  top:-1.1em;
  z-index: 10;
}

.plus-sign {
  left:40%;
  position: absolute;
  top:83%;
  width:max-content;
}

.plus-sign button {
  color: var(--color-logo);
  font-size:300%;
  height: max-content;
  padding:0;
}

.plus-submit {
  margin-top:4em;
}

.prefijo-moneda {
  position: relative;
  font-size: 120%;
  font-weight: bold;
  top:0.3em;
}

.spinner {
  display: none;
  position:absolute;
  top:2.2em;
  left:75%;
  z-index: 10;
}

.spinner-img {
  height: 30px;
  width: 30px;
}

.thumbnail {    /* miniatura en vistas de registro vehículo */
  border:1px solid rgb(199, 199, 199);
  padding: 2px;
  position: absolute;
  top:5em;
  right: 1em;
  height:  5.5em;
  width: 5.5em;
}

.thumbnail + p {  /* Texto con nombre y tamaño de archivo. Vistas registrar vehículo */
  position: absolute;
  top:10.5em;
  right: 1em;
  width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.thumbnail-modif { /* miniatura en vistas de modificar vehículo */
  border:1px solid rgb(199, 199, 199);
  height:  5.5em;
  left:1.2em;
  padding: 2px;
  position: absolute;
  top:5.3em;
  width: 5.5em;
}

.txt-header {
  font-size: 80%;
}

.v-line {
  border-left: 6px solid rgb(70, 70, 70);
  height: 50px;
  position: relative;
  left: 50%;
  margin: -16px 0 -10px -3px ;
  top: 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 100%; 
}
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 70vh;
}


/*************** SM BREAKPOINT *********************/
@media (min-width: 576px) {

  .obligatorio-docs::after {
    color: gray;
    content: " obligatorio";
    font-size: 80%;
    font-style: italic;
  }

}
  
/*************** MD BREAKPOINT *********************/
 @media (min-width: 768px) {
    #nav-header ul li {
        margin:0 0.8em;
    }

    .card-header--pubs {    
      height: 4em;
    }

    .card-pub {
      margin:0 0.4em 1em 0.4em;
      max-width: 48%;
    }

    .card-pub-ficha {
      height: 20em;
      margin:0 0.6em 1em 0.6em;
      max-width: 47%;
      padding: 5px;
    }

    .card-pub-main {
      border:1px solid gray !important;
      padding: 5px;
    }

    .footer-rrss {
      font-size: 180%;
      text-align: center;
    }

    .footer-rrss-icon {
      margin-right: 1em;
    }

  }
  
  /*************** LG BREAKPOINT *********************/
  @media (min-width: 992px) {
    #nav-header ul li {
        margin:0 2.5em;
    }

    #nav-header-interior ul li {
        margin:0em;
    }

    .card-docs {
      margin-top: 0;
      max-width: 48%;
    }

    .card-pub {
      margin:0 0.6em 1em 0.6em;
      max-width: 31%;
    }

    .card-pub-ficha {
      margin:0 0.6em 1em 0.6em;
      max-width: 31%;
    }
  }

  /*************** XL BREAKPOINT *********************/
  @media (min-width: 1200px) {
    #nav-header ul li {
        margin:0 3.5em;
    }

    #nav-header-interior ul li {
        margin:0 2em;
    }
  }


/************* CARRUSEL ***************/

  .carousel-inner .carousel-item.active,
  .carousel-inner .carousel-item-next,
  .carousel-inner .carousel-item-prev {
      display: flex;
  }

  .carousel-inner img {
    width: 100%;
    max-height: 250px;
  }

  .carousel-inner{
    height: 330px;
   }
  
  .carousel-control-prev, .carousel-control-prev-icon,
  .carousel-control-next, .carousel-control-next-icon {
      position: static;
  }

@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
}

@media (min-width: 768px) {         /* display 3 */
    
    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(33.333%);
    }
    
    .carousel-inner .carousel-item-left.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-33.333%);
    }
}

.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left{ 
  transform: translateX(0);
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }