/*propiedades del texto*/
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 12pt;
  font-weight: 400;
}

/*titulos*/
h1, h2, h3 {font-family: 'Raleway';}
h1 {
  font-weight: bold;
  font-size: 2.5rem;
}


/*Nav*/
.active {
  text-decoration: underline;
  text-decoration-color: #f5851f;
}


/*Botón Scroll Up*/
button{
  border-color:#e78a00 ;
}

#button {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}


/**//**//**//**//**//**//**//**//**//**//**/
/*media queries (instrucciones para pantallas de otros tamaños)*/
@media only screen and (min-width: 992px){
  .card{width: 20vw!important;}
}

@media only screen and (max-width: 991px){
  .card{width: 45vw!important;}
}

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

@media only screen and (max-width:576px){
  h1{text-align: center!important;}
  .card{width: 65vw!important;
    height: 42vh!important;}
}

@media only screen and (max-width: 380px){
    body{text-align: center!important;}
      .card{width: 65vw!important;
        height: 42vh!important;}
} /*pone en el centro el texto cuando la pantalla es de 380 o menos*/



/**//**//**//**//**//**//**//**//**//**//**/
/*Carousels*/


/*ajustes carousel banner*/
#carousel-banner{
    height: 60vh;
    align-content: center;
}
.carousel-inner > .carousel-item > img {
  min-height:90vh;
  width: 100%!important;
}

#carousel-sm{
    height: 60vh;
    align-content: center;
}


/*ajustes owl carousel marcas*/
.img-marcas{
  max-height: 30vh;
  width: 100%;
  align-content: center;
}

.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}


/*propiedades cards*/
.card {
  border-color:#f5851f;
  height: 55vh;
}

.card > img {
  max-height: 50vh;
}

/**//**//**//**//**//**//**//**//**//**//**/
/*Hover overlay para cards de imágenes*/
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(245, 133, 31, 0.6);
}

.card:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}


/* Caption centrada */
.centrado {
  position: absolute;
  font-weight: bold;
  color: #000000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



/*footer*/
.jumbotron-fluid {
  background-color: #1a1a1a!important;
  text-align: left;
}



/**//**//**//**//**//**//**//**//**//**//**/
/*propiedades scrollbar (no compatible con Firefox)*/

/* Ancho */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle en hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

hr{width: 40%;
border-top: 5px solid#f5851f!important;}