*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
/*    font-family: 'zilla slab',serif;*/
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
}
.ir-arriba {
	display:none;
	padding:10px;
	background:#A90F0F;
	font-size:16px;
	color:#fff;
	cursor:pointer;
	position: fixed;
        z-index: 11;
	bottom:20px;
	right:10px;
}
/***************** Typografia************/
h1,.title1{
    font-size: 50px;
    line-height: 60px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1em;
}
h2,.title2{
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: .5em;
}
h3,.title3{
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: .5em;
}
small,.small{
  font-size: 16px;
  line-height: 20px;  
}
.smaller{
    font-size: 14px;
    line-height: 20px;
}
/****************** estilos Cabezera ******************************/
header{
    position: relative;
    display: grid;
    grid-template-columns:1fr 3fr 1fr;
    grid-template-rows:80px auto;
}
header a{
    text-decoration: none;
}
.logo{
    grid-column:1/2;
    grid-row:1/2;
/*    padding: 10px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: initial;
}
.informacion{
    grid-column:2/4;
   grid-row:1/2; 
    display: flex;
    justify-content: space-around;
    align-items: center;
/*    padding: 10px;*/
}
.informacion p{
    line-height: 1;
   font-size: 18px;
}
.info{
/*    flex:1;*/
    padding-right: 0;
}
.info:last-child{
    padding-right: 0;
}
.info span{
    display: flex;
    align-items: center;
}
.info img{
    width: 100%;
    height: auto;
    max-width: 30px;
    padding-right: 5px;
}
.info_item{
    display: none;
}
.logo img{
    width: 100%;
    height: auto;
    max-width: 150px;
}
.sociales img{
    width: 100%;
    height: auto;
    max-width: 40px;
}
.menu{
    grid-column:1/4;
    grid-row:2/3;
}
.bt-menu1,.bt-menu2{
    display: none;
}
.info_item{
    display: none;
}
.menu-fixed {
	position:fixed;
/*        background: steelblue;*/
	z-index:9000;
	top:0;
	left:0;
	width:100%;
	box-shadow:0px 4px 3px rgba(0,0,0,.5);
}
.menu-fixed2 {
	position:fixed;
        background: #4B4B4D;
	z-index:9001;
	top:0;
	left:0;
	width:100%;
	box-shadow:0px 4px 3px rgba(0,0,0,.5);
}
.cont-menu_movil{
        display: none;
    }
@media (max-width: 800px){
    .cont-menu_movil{
        display: block;
    }
    .info{
        display: none;
    }
    .bt-menu1,.bt-menu2{
        display: block;
        color: #fff;
        font-weight: bold;
        font-size: 24px;
    }
   header{
    position: fixed;/****estava relative,sin top********/
    top: 0;
    z-index: 9001;
    width: 100%;
    display: grid;
    grid-template-columns:80px repeat(2,1fr);
    grid-template-rows:80px auto;
    background: #4B4B4D;
}
.logo{
    grid-column:1/4;
    grid-row:1/2;
    background: #fff;
}
.info_item{
    display: block;
    position: absolute;
    top: 100%;
    right: 100%;
    width: 100%;
    background: #A90F0F;
    color: #fff;
    padding: 5px;
     
}
.info_item span{
    font-weight: bold;
}
.bt-menu2{
    float: right;
}
/*.sociales{
    grid-column:3/4;
    grid-row:1/2;
    background: #fff;
}*/
    .cont-menu_movil{
        position: relative;
        z-index: 99999;
        grid-column:1/4;
        grid-row:2/3;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .5rem;
    }
}
/********************* Estilos menu*****************/
.intranet{
    background:#A90F0F;
}
.Conteiner{
 padding: 0;
 width: 100%;
}
.menuNav .menu_bar {
	display:none;
}

nav {
/*	background:#5e626b;*/
background: transparent;
        width: 100%;
	position: relative;
        
}
nav li{
    line-height: 2rem;
}
nav>ul{
    display: flex;
}
nav ul {
	list-style:none;
	padding:0;
	margin:0;
	overflow:hidden;
        line-height: 1.3;       
}

nav ul>li{
      flex: auto;
      text-align: start;
      padding-left: 0;
      background:#5e626b;
}
/*header nav>ul>li:first-child{
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}*/
nav ul li .caret {
	position: relative;
	top:3px;
	margin-left:5px;
	margin-right:0px;
}
nav ul li a {
	text-decoration:none;
	color:#fff;
	display:block;
	padding:5px;
        padding-left: 1rem;
        font-size: 1vw;
/*       font-size: 14px;*/
}

nav ul li a:hover {
/*	background:#3669a3;*/
background: #A9ABAE;
}
@media screen and (min-width: 1024px) {
    .megaContenido a{
        line-height: 1;
    }
   nav ul li a {
	text-decoration:none;
	color:#fff;
	display:block;
	padding:5px;
        padding-left: 1rem;
        font-size: 14px;
    } 
}
nav > ul > li:hover .children {
/*    display: flex*/
box-sizing: border-box;
        display:grid;
        width: 98.75vw;
        grid-template-columns:repeat(4,1fr);
        grid-template-rows:repeat(2,auto);
        grid-column-gap:3rem;
}

/*Submenu*/
nav ul li .children {
	width:100%;
        padding: 20px auto;
	position: absolute;
	left:0;
        z-index: 9101;
	background:#ccc;
	box-sizing:border-box;
	display:none;
}
.children p{
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
}
/**************************************************/
/*.megaLogo2{
    flex-basis: 30%;
    padding: 1rem 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    grid-column:1/2;
    grid-row:1/2;
}
.megaLogo2 img{
    display: block;
    width: 100%;
    height: auto;
    max-width: 70px;
}*/
/*************************************************/
.megaLogo,.megaLogo2{
    display: flex;
    justify-content:space-around;
    align-items: center;
    border-bottom: 2px solid #A90F0F;
    padding-bottom: 1rem;
}
.megaLogo img{
    display: block;
    width: 100%;
    height: auto;
    max-width: 80px;
}
.megaLogo img:last-child{
    max-width: 90px;
}
.megaLogo2 img{
    display: block;
    width: 100%;
    height: auto;
/*    max-width: 90px;  */
}
.imgLogo{
   display: block;
    width: 100%;
    height: auto;
    max-width: 180px;
}
.imgLogo2{
   display: block;
    width: 100%;
    height: auto;
    max-width: 150px !important;
}
.enlCursos{
    display: inline-block;
    background: #A90F0F;
    padding: .4rem 2rem;
    border-radius: 10px;
    font-size: 16px;
}
.megaItem1{
    grid-column:1/2;
    grid-row:1/2;
    padding: 1rem;
    padding-bottom: 0;
}
.megaItem1 li a{
    float: left;
}
.megaItem2{
    grid-column:2/3;
    grid-row:1/2;
    padding-top: 1rem;
}

.megaItem2 li a{
    float: left;
}
.megaItem3{
    padding-top: 1rem;
    grid-column:3/4;
    grid-row:1/2;
}

.megaItem3 li a{
    float: left;
}
.megaItem4{   
    grid-column:4/5;
    grid-row:1/2;
    padding-top: 1rem;
    padding-right: 1rem;
}
.megaItem4 .megaLogo2{
    width: 100%;
    height: auto;
    max-width: 90px;
    border: 0;
}
.megaItem4 .megaContenido{
    border-top: 2px solid #A90F0F;
}
.megaItem5{
    grid-column:1/2;
    grid-row:2/3;
    padding: 1rem;
    padding-top: 0;
}
.megaItem6{
    grid-column:2/3;
    grid-row:2/3;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}
.megaItem6 img{
    width: 100%;
    height: auto;
    max-width: 40px;
}
.megaContenido{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: .5rem;
}
@media(max-width:800px){
    .megaContenido{ 
        width: 100%;
        border-bottom: 2px solid #A90F0F;
    }
    .megaItem4 .megaContenido{
         border: 0;
    }
}
/******************Arreglando Mega Menu **********/
.children2{
    display: grid;
    grid-template-columns:1fr 1fr 1.5fr !important;
    grid-template-rows:repeat(2,auto);
    grid-column-gap:0 !important;
    padding-left: 1rem;
}
.megaSection1{
    grid-column:1/2;
    grid-row:1/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #A90F0F;
}
.megaSection1 img{
    width: 100%;
    height: auto;
    max-width: 220px;
}
.megaSection2{
    grid-column:2/4;
    grid-row:1/2;
    padding-left: 1rem;
}
.megaSection2 p{
    font-size: 20px;
}
.megaSection3{
    grid-column:2/3;
    grid-row:2/3;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1rem;
}
.megaSection4{
    grid-column:3/4;
    grid-row:2/3;
    display: flex;
    justify-content: center;
    align-items: center;
}
.megaSection4 img{
    width: 100%;
    height: auto;
    max-width: 40px;
}
.logoMenu{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.logoMenu img{
    display: inline-block;
    width: 100%;
    height: auto;
    max-width: 150px;
}
/*.terNiv{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items:flex-start;
}*/
/******************Arreglando Mega Menu **********/

.children li{
    line-height: 1;
    background: none;
}
nav ul li div ul li a {
	color:#000;
}

nav ul li div ul li a:hover {
	color:#fff;
        background: none;
}
/*nav ul li a:hover {
	background:#3669a3;
}*/
/*.terNiv{
    display: none;
}*/
/*nav ul>li{
    position: relative;
}*/
.contentMenu{
    position: absolute;
    background: #0091D1;
    width: 180px;
/*    width: 100%;*/
    display: none;
    z-index:9999;
}
nav ul>li:hover .contentMenu{
    display: block;
}
/*.contentMenu li{
    width: 240px;
}*/
.submenu .children2{
    padding: 1rem;
    width: 70% !important;
    position: absolute;
    left: 15%;
}
.redes_menu:hover{
    cursor: pointer;
    background: none;
}
.redes_img:hover{
    background: #A90F0F;
    color: blue;
}
@media screen and (max-width: 800px) {
.megaLogo,.megaLogo2 {
    display: none;
}
.megaItem2,.megaItem3,.megaItem4{
    padding: 5px;
}
.megaItem6 img{
    display: none;
}
.megaSection1 img,.megaSection4 img{
     display: none;
}
nav {
background: #5e626b;
        width: 100%;
	position: relative;
        
}
    .contentMenu{
        position: relative;
        width: 100%;
    }
    .contentMenu li{
        width: 100%;
        background: #ccc;
    }
    .contentMenu li a{
        color: #000;
    }
    nav ul li:hover .contentMenu{
    display: none;
}
nav>ul>li:first-child{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
} 
nav ul>li{
      text-align: left;
}
nav>ul{
    display: block;
}
nav ul li a {
    font-size: 14px;
}
	.slider {
               margin-top: 126px;
		padding-top:0;
	}
        nav ul li .children{
            position: relative;
        }
        nav ul li .children2{
            position: relative;
        }
        nav ul li .children22{
            position: relative;
        }
        .cLogo{
          display:block;
		width:100%;
		position: fixed;
		top:30px;
        }
	 nav {
		width: 95%;
		height: calc(100% - 196px);
		position: fixed;
                z-index: 9001;
		right:100%;
		margin: 0;
                top:125px;
		overflow: scroll;
	}
         nav ul>li{
            width: 100%;
            border-bottom: 1px solid #fff;
        }
        nav ul li:hover .children{
            display: none;
        }
        nav ul li:hover .children2{
            display: none;
        }
        nav ul li:hover .children22{
            display: none;
        }
        .children li{
             border-bottom: none;
        }
        .children22 li{
             border-bottom: none;
        }
       nav ul li .caret {
		float: right;
	}
        nav ul li .children>div{
            width: 100%;
            display: flex;
            flex-wrap: wrap;
        }
        .children2{
            display: flex;
            flex-direction: column;
        }
        .children2 h3{
            line-height: 1.2;
        }
        .children2 ul{
           width: 100%; 
        }
/*        .children2 .terNiv li{
            border: none;
        }*/
        .menu-fixed{
        display: none;
    }
    .submenu .children2{
        position: relative !important;
        width: 100% !important;
        left: 0;
    }
}
/***************** Menu Acordeon ************************/
 li.cabMenu:target ul{
    max-height: 8000px;
    transition: .3s all ease-in;
}
/*ul.acorh li:target ul {
max-height: 8000px;
transition: .3s all ease-in;
}*/