@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,300,400');

.font-global{
    font-family: 'Open Sans', sans-serif;
    font-weight: 100;
}

.font-light {
    font-weight: 300;
}

.font-montse {
  font-family: 'Montserrat', sans-serif!important;
  font-weight: 300!important;
}

.btn-click{
    cursor: pointer;
}

.btn-click:hover{
  color: #e5e5e5;
}

.parent { 
  position: relative; 
  width: 100%; 
  height: 400px; 
} 
.primary-child { 
  position: absolute; 
  right: 20px; 
  bottom: 60px; 
}

.secondary-child { 
  position: absolute; 
  right: 20px; 
  bottom: 30px; 
}

.parent-chat { 
  position: relative; 
  width: 100%; 
  height: 200px; 
} 

.primary-child-left { 
  position: absolute; 
  left: 20px; 
  bottom: 60px; 
}

.secondary-child-left { 
  position: absolute; 
  left: 20px; 
  bottom: 30px; 
}

.main-text {
  font-size: 5rem;
}
.principal-text {
  font-size: 3rem;
}
.secondary-text {
  font-size: 2rem;
}
.third-text{
  font-size: 1.5rem;
}
.sub-text {
  font-size: 1rem;
}

.control-label{
  font-weight: bold;
}

.quienes-somos{
  background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgba(54, 100, 157, 0.8), 
      rgba(54, 100, 157, 0.8)
    ),
    /* bottom, image */
    url('https://http2.mlstatic.com/camion-torton-international-4400-2013-tandem-con-caja-seca-D_NQ_NP_751776-MLM27259360761_042018-F.jpg') no-repeat center center;
    background-size: cover;
}

.quienes-somos2{
  background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgba(204, 204, 204, 0.9), 
      rgba(204, 204, 204, 0.9)
    ),
    /* bottom, image */
    url('../img/camionetas.jpg') no-repeat center center;
    background-size: cover;
}

.rastreo-satelital{
  background: 
    /* top, transparent red, faked with gradient */ 
    linear-gradient(
      rgba(128, 68, 68, 0.9), 
      rgba(128, 68, 68, 0.9)
    ),
    /* bottom, image */
    url('../img/camionetas-atras.jpg') no-repeat center center;
    background-size: cover;
}

@import url('https://fonts.googleapis.com/css?family=Open Sans|Roboto:300,400,700');
body {
  background: #f5f5f5;
}
/*
.container {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 40%;
  left: 0;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
}
.container p {
  font-size: 20px;
}
.container a {
  display: inline-block;
  position: relative;
  text-align: center;
  color: #535353;
  text-decoration: none;
  font-size: 20px;
  overflow: hidden;
  top: 5px;
}
.container a:after {
  content: '';
  position: absolute;
  background: #535353;
  height: 2px;
  width: 0%;
  transform: translateX(-50%);
  left: 50%;
  bottom: 0;
  transition: 0.35s ease;
}
.container a:hover:after {
  width: 100%;
}
*/
h1 {
  position: relative;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}
.button_container {
  position: fixed;
  top: 5%;
  right: 2%;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
}
.button_container:hover {
  opacity: 0.7;
}
.button_container.active .top {
  transform: translateY(10px) translateX(0) rotate(45deg);
  background: #fff;
}
.button_container.active .middle {
  opacity: 0;
  background: #fff;
}
.button_container.active .bottom {
  transform: translateY(-10px) translateX(0) rotate(-45deg);
  background: #fff;
}
.button_container span {
  background: #FEFEFE;
  border: none;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0;
  transition: all 0.35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 10px;
}
.button_container span:nth-of-type(3) {
  top: 20px;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, width 0.35s;
  z-index: 50;
}
.overlay:before {
  content: '';
  background: #535353;
  left: -55%;
  top: 0;
  width: 50%;
  height: 100%;
  position: absolute;
  transition: left 0.35s ease;
}
.overlay:after {
  content: '';
  background: #535353;
  right: -55%;
  top: 0;
  width: 50%;
  height: 100%;
  position: absolute;
  transition: all 0.35s ease;
}
.overlay.open {
  opacity: 0.9;
  visibility: visible;
  height: 100%;
}
.overlay.open:before {
  left: 0;
}
.overlay.open:after {
  right: 0;
}
.overlay.open li {
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: 0.35s;
}
.overlay.open li:nth-of-type(2) {
  animation-delay: 0.45s;
}
.overlay.open li:nth-of-type(3) {
  animation-delay: 0.55s;
}
.overlay.open li:nth-of-type(4) {
  animation-delay: 0.65s;
}
.overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 100;
  text-align: center;
  z-index: 100;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  height: 25%;
  height: calc(100% / 5);
  min-height: 50px;
  position: relative;
  opacity: 0;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: #fff;
  transition: 0.35s;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .main-text {
    font-size: 2.5rem;
  }
  .secondary-text {
    font-size: 1.2rem;
  }
  .principal-text {
    font-size: 1.5rem;
  }
  .primary-child-left { 
    position: absolute; 
    left: 20px; 
    bottom: 75px; 
  }
  .secondary-child-left { 
    position: absolute; 
    left: 20px; 
    bottom: 30px; 
  }
  .primary-child { 
    position: absolute; 
    right: 10px; 
    bottom: 75px; 
    text-align: right;
  }
  .secondary-child { 
    position: absolute; 
    right: 10px; 
    bottom: 30px; 
    text-align: right;
  }
  .overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    text-align: center;
    z-index: 100;
  }

  .carrousel-large {
    display: none!important;
  }

  .carrousel-small {
    display: block!important;
  }

  .unidad-preview {
    height: 300px!important;
  }

  footer {
    height: 40px;
  }

  .btn-click{
    font-size: 120%;
  }

  .chat{
    bottom: 40px!important;
    /*right: 15px!important;*/
  }

  .main-mini{
    margin-bottom: 0!important;
  }
} 


@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

.chat{
  font-family: 'Montserrat', sans-serif;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
}

.chat .chat-button{
  width: 320px;
  height: 30px;
  background-color: #20617A;
  color: #F9F9F9;
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  padding-top: 5px;
  border-radius: 15px 15px 0 0;
}

.chat .chat-conversacion{
  width: 320px;
  height: 250px;
  background-color: #e5e5e5;
  border: 0.5px solid #AFAFAF;
  display: none;
  position: relative;
  overflow: hidden;
  overflow-y: scroll;
}

.chat-conversacion::-webkit-scrollbar {
  width: 10px;
}

.chat-conversacion::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.8); 
  border-radius: 10px;
}

.chat-conversacion::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.8); 
}

.chat .input-mensaje{
  width: 320px;
  display: none;
}

.chat .mensaje-admin{
  font-family: 'Montserrat',sans-serif;
  padding: 15px;
  padding-bottom: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
  width: 80%;
  background-color: rgb(24, 95, 136);
  font-size: 12px;
  color: #FFF;
  position: relative;
  border-radius: 0 10px 10px 0;
}

.chat .mensaje-user{
  font-family: 'Montserrat',sans-serif;
  padding: 15px;
  padding-bottom: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
  width: 80%;
  background-color: rgb(255, 255, 255);
  font-size: 12px;
  color: rgb(75, 75, 75);
  position: relative;
  border-radius: 10px 0 0 10px;
}

.mensaje-admin .fecha-mensaje{
  margin-top: 5px;
  right: 4px;
  bottom: 4px;
  font-size: 10px;
  color: #F9F9F9;
  position: absolute;
}

.mensaje-user .fecha-mensaje{
  margin-top: 5px;
  right: 4px;
  bottom: 4px;
  font-size: 10px;
  color: rgb(151, 151, 151);
  position: absolute;
}
/*
.chat .input-mensaje{
  bottom: 10px;
  height: 40px;
  padding: 10px;
}
*/
.chat .input-mensaje input{
  height: 30px!important;
  font-size: 15px!important; 
}

.chat .input-mensaje .btn{
  height: 30px!important;
  font-size: 15px!important;
}

.unidad-container {
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  max-width: 100%;
  height: 200px;
}

.unidad-container-1{
  background-image: url('../img/unidad-nissan.png');
}

.unidad-container-2{
  background-image: url('../img/unidad-nissan-larga.jpg');
}
.unidad-container-3{
  background-image: url('../img/unidad-35-tons.jpg');
}
.unidad-container-4{
  background-image: url('../img/unidad-10-tons.jpg');
}

.unidad-preview {
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  position: relative;
  height: 600px;
}

.unidad-preview-1{
  background-image: url('../img/unidad-nissan.png');
}

.unidad-preview-2{
  background-image: url('../img/unidad-nissan-larga.jpg');
}
.unidad-preview-3{
  background-image: url('../img/unidad-35-tons.jpg');
}
.unidad-preview-4{
  background-image: url('../img/unidad-10-tons.jpg');
}

.main-mini {
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  max-width: 100%;
  z-index: 1;
  font-weight: 200;
  margin-bottom: 90px;
}

.main-mini::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

.main-mini-1{
  background-image: url('../img/mainmini-1.jpg');
}

.main-mini-2{
  background-image: url('../img/mainmini-2.jpg');
}

.main-mini-3{
  background-image: url('../img/mainmini-3.jpg');
}

.main-mini-text{
  position: absolute;
  color: white;
  bottom: 14px;
  right: 14px;
  font-size: 2rem;
  text-align: right;
}

.main-mini-text-top{
  position: absolute;
  color: white;
  top: 14px;
  left: 14px;
  font-size: 2rem;
  text-align: left;
}

.top-header{
  height: 400px;
  background-color: #4d4d4d;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.top-header::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

.top-header-contacto{
  background-image: url('../img/background-contacto.png');
}

.top-header-nosotros{
  background-image: url('../img/background-nosotros_1.png');
}

.top-header-unidades{
  background-image: url('../img/background-nosotros.png');
}

.top-header-reservacion{
  background-image: url('../img/background-reservacion.png');
}

.carrousel-large {
  display: block;
}

.carrousel-small {
  display: none;
}