/*
naranja: #D22D2D
rojo: #A90303
rojo fuerte: #a12f2f

TEXT
light blue : #9BCBF6;
bright blue: #7AC0FF
light greenblue: #97E0F5
*/

/*MOBILE TABLET PC*/

* {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-variation-settings:"wdth" 100;
}

#wrap, .flex, .section, .sub, .margen {
  border: none; /*none*/
}

#header {
  background-color: #D22D2D;
  top: 100px;
  user-select: initial;  
}

#header_top {
  height: 100px;
  position: fixed;
  top: 0;
  width: 100%;
}

#header_top a {
  color: #333;
  display: initial;
  font-size: .76em;
}

#logo {
  height: 70px;
  width: 145px;
}

.cuadro {
  margin: auto;
  margin-top: 40px;
  width: 100%;
  border: 1px solid #333;
  padding: 10px;
  max-width: 900px;  
}

.cuadro .flex3 {    
  width: 100%; /*necesario?*/
}

.cuadro .flex3:nth-of-type(2) {
  margin: 20px 0px;
}

.cuadro .flex3 div:nth-of-type(1)  {
    display: flex; /*no hereda el flex porque el ancestro inmediato no lo tiene*/
    width: 50px;
    align-items: center;
    justify-content: center;
    display: none;
}

.cuadro .flex3 div:nth-of-type(2)  {
    width: calc(100% - 50px);   
}

.cuadro i {

}

.cuadro p {
     font-size: 1em;
     color: #eee;
}

.fondo_negro {
    justify-content: center; 
    background: rgba(0,0,0, .6);
    background-position: center; 
    background-blend-mode: color;
    background-image: url("../../view/images/camion_fondo.png");  
    background-size: cover;
    background-repeat: no-repeat;     
}

.fondo_negro h2 {
     color: #fff;
}

.fondo_negro .linea {
     color: #fff;
}
          
#header .margen:nth-of-type(2) {
    justify-content: center;
}
  

.div_anclas > div {
     width: 30%;
     position: relative;
}

#boton_menu {
     color: #fff;
}

#header nav {
  background-color: transparent;
  margin-left: 0;
  width: 43%;   
}

#header #globo {
  position: absolute;
  right: 2px;
  top: 16px
}

#header li:not(:nth-last-of-type(1)) {
    border-right: 1px solid #fff;
}

#header .menu > a {
     color: #fff;
     text-transform: uppercase;
     font-size: .8em;

}

#chbx:checked ~ #menu_movil { 
  padding-top: 190px;
}

#wrap {
  padding-top: 160px;
}

.section h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center; 
  font-size: 2.5em;
  font-weight: bold;
}

.linea {
  display: flex;
  height: 4px;
  width: 230px;
  background: #fff;
  margin: 10px 0px;
  
}

.section p {
  font-size: 1em;
  color: #fff;
}

.section button {
  background-color: #A90303;
  color: #fff;
  text-transform: uppercase;
  font-size: .9em;
  padding: 10px 30px;   
}

.section button:hover {
  background-color: #D22D2D;
}

.margen {
  width: 93%;
}

#section_4 img {
  object-fit: initial;
}

.section:not(:nth-last-of-type(1)) .margen {
  border-bottom: initial;/*1px solid #ddd;*/
}

#section_4 {   
  background: rgba(0,0,0,.2);
  background-position: center; 
  background-blend-mode: color;
  background-image: url("../../view/images/CamionMovimientoEnRojo.jpg");  
  background-size: cover;
  background-repeat: no-repeat;     
}

#section_4 .linea {
  margin-top: 30px;
}

#section_4 .flex:nth-of-type(2) {
  justify-content: center;  
  margin-top: 30px;  
}

#section_4 .div_img {
  display: flex;
  margin-bottom: 50px;
  transform: scale(.8);
}

#section_5 {   
  background: rgba(0,0,0,.2);
  background-position: center; 
  background-blend-mode: color;
  background-image: url("../../view/images/ConductorCamionNegro.jpg");  
  background-size: cover;
  background-repeat: no-repeat;     
}

#section_5 .flex5  {
  justify-content: center;     
}

#section_5 .flex5:not(:nth-last-of-type(1))  {
  margin-bottom: 50px;  
}

#section_5 .counter {
  color: #fff;
  font-size: 2em;     
}

#section_5 h2 {
  font-size: 1em;
  margin: 10px 0;
}

#section_5 p {
  font-size: .8em;
  text-align: center;
  width: 50%;
}


#section_6 {
  background: rgba(0,0,0,.2);
  background-position: center; 
  background-blend-mode: color;
  background-image: url("../../view/images/MapaMundial.png");  
  background-size: cover;
  background-repeat: no-repeat;   
}

#section_6 .flex4:not(:nth-last-of-type(1)) {
  margin-bottom: 50px;
}

#section_6 h2 {
  text-align: left;
  font-size: 1.3em;       
}

#section_6 .linea {
  width: 200px;
  margin: 20px 0px;
}

#section_6 p {
  padding: initial;
  text-align: left;
  font-size: .8em;
  padding: 0px 150px 0px 0px;
}


#footer {
  background-color: #5c1616;
}

#footer .flex:nth-of-type(2) {
  margin: 0px 21px;
}

#footer .flex:nth-of-type(3) {
  margin-right: 21px;
}

#footer .margen {
  justify-content: center;
  padding: 50px 0px;  
}

#footer .margen > .flex {
  padding: 15px 0px;
}

#footer p {
  font-size: 1em;
  text-align: center;
  margin-top: 20px;
}


#footer .flex {
  background-color: #fff;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 60px;
}

#footer i {
  color: #5c1616;
}

/*TABLET AND PC ONLY*/
@media only screen and (min-width: 768px) { 
     
     #section_4 .flex:nth-of-type(2) {
          justify-content: space-between;
     }
     
      #section_4 .div_img {
          width: 30%;
          transform: scale(.6); /*.8*/
     }
     
     #section_4 .div_img:nth-of-type(7) {
          margin: auto;
     }
     
     #section_5 .counter {
          font-size: 2.5em;     
     }

     #section_5 h2 {
          font-size: 2em;
     }

     #section_5 p {
          font-size: 1em;
          text-align: center;
     }  

}

/*PC ONLY*/
@media only screen and (min-width: 1200px) {
     
       
     #section_4 .flex3 {
          width: 100%;
     }     
         
     #section_4 .flex3:nth-of-type(4) .div_img:nth-of-type(3) {
          height: 80px;
     }
     
     #section_5 .flex5  {
          justify-content: initial;
     }
     
     #section_5 h2 {
          font-size: .8em;
          text-align: left; 
     }
     
     #section_5 p {
          font-size: .7em;
          text-align: left;
          width: 100%;
     }
     
     #section_6 h2 {
          font-size: 1.2em;     
     }
     
     #section_6 p {
          padding: 0px 50px 0px 0px;
          
    }
     
     #section_6 p br {
          display: none;
     }
  
}