/*RESET*/
@import "https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css";
*{
	margin: 0;
	padding: 0;
	font-family: 'montserrat';
	box-sizing: border-box;
}
html{
	scroll-behavior: smooth;
}

body {
    position: relative;
    height: auto;
      overflow-x: hidden;
}
header.abajo{
	background: #0057aa;
	margin-top: -5px;
	padding: 0px 10px;
	height: 90px;
	width: 100%;
	transition: 0.6s;
}
a{
	cursor: pointer;
    text-decoration: none !important;
    transition: 0.6s;
}
.menu{
	display: flex;
    color: #fff;
    width: 100%;
    position: fixed;
    padding-top: 20px;
    height: 70px;
    z-index: 100;
    transition: 0.6s;
}

.menu__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}
.menu__logo img{
	padding-top: 5px;
	width: 130px;
    transition: .5s;
}
.menu__logo img:hover {
    transform: scale(1.1);
    transition: .5s;
    cursor: pointer;

}
.menu__links{
    height: 100%;
    transition: transform .5s;
    display: flex;
    text-decoration: none !important;
}

.menu__item{
    list-style: none;
    position: relative;
    height: 100%;
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    --transform: rotate(-90deg);
}

.menu__item:hover{
    --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --transform: rotate(0);
}

.menu__link{
    color: #fff;
    text-decoration: none;
    padding: 0 10px;
    display: flex;
    height: 100%;
    align-items: center;
    transition: 0.5s;
   
}

.menu__link:hover{
    transition: 0.3s;
    background-color: #009adc;
    
}

.menu__arrow{
    transform: var(--transform);
    transition: transform .3s;
    display: block;
    margin-left: 3px;
}

.menu__nesting{
    list-style: none;
    transition:clip-path .3s;
    clip-path: var(--clip);
    position: absolute;
    right: 0;
    bottom: 0;
    width: max-content;
    transform: translateY(100%);
    background-color: #00437a;
}

.menu__link--inside{
    padding: 30px 40px 20px 20px;
}

.menu__link--inside:hover{
    background-color: #009adc;
}

.menu__hamburguer{
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    display: none;
}

.menu__img{
    display: block;
    width: 36px;
}

@media (max-width:1085px){
    .menu__hamburguer{
        display: flex;
    }

    .menu__item{
        --clip:0;
        overflow:hidden ;
    }

    .menu__item--active{
        --transform: rotate(0);
        --background: #0057aa;
    }

    .menu__item--show{
        background-color: var(--background);
    }

    .menu__links{
        position: fixed;
        max-width: 400px;
        width: 100%;
        top: 70px;
        bottom: 0;
        right: 0;
        background-color: #0057aa;
        overflow-y: auto;
        display: grid;
        grid-auto-rows: max-content;
        transform: translateX(100%);
    }

    .menu__links--show{
        transform: unset;
        width: 100%;
        z-index: 100;
    }

    .menu__link{
        padding: 25px 0;
        padding-left: 30px;
        height: auto;
    }

    .menu__arrow{
        margin-left: auto;
        margin-right: 20px;
    }

    .menu__nesting{
        display: grid;
        position: unset;
        width: 100%;
        transform: translateY(0);
        height: 0;
        transition: height .3s;
    }

    .menu__link--inside{
        width: 90%;
        margin-left: auto;
        *border-left: 1px solid #fff;
    }
}
@media (max-width:400px){
	.menu__logo img{
		width: 100px;
	}
}

/****************** SECCION | HERO  ************************/
#banner{
	position: relative;
	width: 100%;
	height: 700px;
	border-radius: 6px;
	margin-bottom: 60px;
}
.contenido-banner > img{
	width: 100%;
	height: 700px;
	background-size: cover;
	background-position: bottom;
	object-fit: cover;
} 
#banner:before{
	content: '';
	background: rgba(77,77,92,0.6);
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	z-index: 1;
}
.contenido-banner{
	position: relative;
	color: #fff;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.contenido-banner h3 span{
	font-weight: 600;
	position: absolute;
	z-index: 2;
	top: 35%;
	text-transform: uppercase;
	font-size: 43px;
	font-weight: 400px;
	padding: 10px;
}
.contenido-banner p{
	position: absolute;
	text-transform: uppercase;
	line-height: 1.8;
	color: #fff;
	font-size: 20px;
	text-align: justify;
	padding: 20px;
	margin-top: 10%;
	z-index: 1;
}


@media only screen and (min-width:220px) and (max-width: 424px){
	.contenido-banner h3 span{
		font-size: 22px;
	}
	.contenido-banner p{
		font-size: 14px;
		
	}
}

@media only screen and (min-width:425px) and (max-width: 680px){
	.contenido-banner h3 span{
		font-size: 29px;
	}
	.contenido-banner p{
		font-size: 15px;
	}
}


@media only screen and (min-width:681px) and (max-width: 840px){
	.contenido-banner h3 span{
		font-size: 35px;
	}
	.contenido-banner p{
		font-size: 20px;
	}
}


/****************** SECCION RUTAS | NIVEL NACIONAL ************************/

.txt{
	padding-top: 20px;
 	font-size: 28px;
 	margin-bottom: 30px;
	text-align: center;
	text-transform: uppercase;
	color: #0057aa;
}
.container-rutas{
	display: flex;
	justify-content: space-around;
	align-items: baseline;
	margin-bottom: 80px;
	margin-top: 100px;
	box-shadow: 0 0 5px #333;
	background: aliceblue;

}

.container-tabla{
	width: auto;
	background: #fff;
	margin-bottom: 30px;
	margin-top: 30px;
	display: grid;
	box-sizing:border-box;
	grid-auto-rows: 55px;

}
 .container-tabla .tabla-item img{
	width: 40px;
  margin-bottom: -10px;
  margin-right: 10px;

}
.tabla-titulo{
	display: flex;
	padding: 20px;
  box-sizing: border-box;
	justify-content: center;
	align-items: center;
	grid-column-start: 1;
	grid-column-end: 3;
	background: #0057aa;
}
.tabla-titulo{
	text-transform: uppercase;
	color: #fff;
	font-size: 18px;
}

.tabla-item{
	display: flex;
	justify-content: flex-start;
	align-items: center;	
	padding: 30px;
}

.tabla-item p{
	text-align: center;
	text-transform: uppercase;
	font-size: 16px;
	padding-bottom: 20PX;
}

/****************** SECCION | RESPONSIVE RUTAS ************************/
@media(max-width: 1300px){
.container-rutas{
	display: flex;
	flex-direction: column;	
	justify-content: center;
	align-items: center;
	}	
}
/****************** SECCION | RESPONSIVE RUTAS ************************/
@media(max-width: 872px){
	.tabla-titulo{
		display: flex;
		justify-content: center;
		align-items: center;
		grid-column-start: 1;
		grid-column-end: 2;
	}
}
/******************* BOTON | IR ARRIBA *******************************/
.ir-arriba {
  position: fixed;
  bottom: 110px;
  margin-right: 30px;
  width: 40px;
  height: 40px;
  background: #009adc;
  border-radius: 20px;
  border-style: none;
  padding: 5px;
  cursor: pointer;
  transition: all 300ms ease;
  z-index: 1;
}

.ir-arriba img {
  width: 25px;
  height: 20px;

}

.ir-arriba:hover {
  transform: scale(1.2);
}

/****************** SECCION | FOOTER STYLE ************************/
.container-footer{
	max-width: 1170px;
	margin:auto;
}
.row-footer{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
 #ul-footer{
	list-style: none;
	text-decoration: none;
}
.footer{
	background-color: #0057aa;
    padding: 40px 0;
}
.footer-col{
   padding: 0 15px;
}
.footer-col h4{
	font-size: 16px;
	color: #ffffff;
	text-transform: uppercase;
	margin-bottom: 25px;
	font-weight: 500;
	position: relative;
	text-align: center;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	text-decoration: none;
	bottom: -10px;
	background-color: #fff;
	height: 2px;
	box-sizing: border-box;
	width: 100%;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}

.footer-col ul li a{
	font-size: 14px;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #bbbbbb;
	padding-left: 8px;
	text-decoration: underline;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
	transition: all 300ms;
}

/*RESPONSIVE FOOTER*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
	}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
	}
}
/****************** SECCION | FOOTER COPYRIGHT ************************/
.container-footer2{
	display: flex;
	align-items:center;
	justify-content: left;
	padding: 10px;
	background: #11507A;
}
.container-footer2 h3{
	font-size: 14px;
	font-style: italic;
	color: #fff;
	font-weight: lighter;
}
/*RESPONSIVE FOOTER 2*/
@media(max-width: 500px){
	.container-footer2 h3{
	font-size: 8px;
	font-style: italic;
	}
}

/****************** SECCION BOTON | WHATSAPP  ************************/
.btn-whatsapp {
    display:block;
    width:70px;
    height:70px;
    color:#fff;
    position: fixed;
    right:20px;
    bottom:20px;
    border-radius:50%;
    line-height:80px;
    text-align:center;
    z-index:999;
}

.btn-whatsapp img:hover{
    transform: scale(1.1);
    transition: .5s;
}
