*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {

    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: #fff;
    /*margin-top: 80px;*/
}

.bienvenida .contenedor{
  margin-bottom: 20px;
}

.pagina{
    width: 100%;
    height: 100%;
}


.principal{
    width: 100%;
    padding: 10px;
    height: auto;
}

header .image img{
  width: 100%;
  /*height: 20%;*/
  display: flex;
}


.navbar{
    width: 100%;
    padding: 10px;
    position: relative;
    top: -14px;
    display: flex;
    justify-content: center;

    & ul{
        list-style: none;
        display: flex;
        justify-content: flex-start;

        & li a{
            text-decoration: none;
            display: inline-block;
            color: #00627b;
            padding: 17px 15px;
            font-size: 15px;
            transition: all 0.5s ease-in-out;
            width: auto;
            height: 50px;
        }

        & li a:hover{
            background: linear-gradient(to top, #00627b, #36badb);
            color: #fff;
        }
    }

    & .bar{
        width: 100%;
        height: 5px;
        background:linear-gradient(to right, #00627b, #36badb);
        position: absolute;
        top: 60px;
    }
}

.btn{
    width: 7em;  
    height: 1em;
    background: transparent;
    border: 1px solid black;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 1.25em;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px #000;
    & span{
        z-index: 2;
        position: relative;
        transition: all .3s ease;
    }
}

/*FIn menu barra de navegación.*/
#header > #header-menu >.menu .submenu img {
  vertical-align: middle;
  height: 100%;
}
#header > #header-menu >.menu ul li:hover .children {
	display:block;
}

#header > #header-menu >.menu ul li .children {
	display: none;
	position: absolute;
  background:#fff;
	border-top: 2px solid #cd171e;
	border-bottom: 2px solid #cd171e;
	width: 100%;
  z-index:1000;
  transition: all 300ms ease;
}

#header > #header-menu >.menu ul li .children li {
	display:block;
  overflow: hidden;
}

#header > #header-menu >.menu ul li .children li a {
	display: block;
}

#header > #header-menu >.menu .children li:hover{
  background: #d8d8d8;
}
/*SUb menus*/


#title {
	padding: 10px 0;
	background-color: #F5F5F5;
	border-bottom: 1px solid #EEE;
}

/* Estilos de diseño y fuentes de titulos y sub========== */
.h7,
.h8,
.h9,
.h10,
.h11,
.h12 {
	color: #444;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
	font-family: 'Lato', sans-serif;
}

/* Para titulo del departamento */
.h7 {
	font-size: 24px;
  text-align: center;
  font-family: 'lato', sans-serif;
  color: #00627b;
  letter-spacing: 3px;
}

/* Para titulo de página */
.h8 { 
  font-size: 30px; 
  text-align: center;
  letter-spacing: 1px;
  margin: 20px 20px;
}

/* Para subtitulos de página */
.h9 { 
  font-size: 24px; 
  padding: 10px 0px;
  color: #00627b;
}

/* Para titulos o subtitulos en contenedores */
.h10 {
  padding: 0;
  margin: 0;
  font-size: 18px;
}

.h11{
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.h12 { 
  padding: 0;
  margin: 0;
  font-size: 14px;
}
p {
	padding: 0;
	margin: 0;
  font-size: 14px;
  color: #444;
}

/*Seccion de Copyrights========================*/

#copyrights {
	background-color: #00627b;
  padding: 10px 10px;
  margin: 0;

  float: none;
	max-width: none;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.copy .h12{
	color: #fff;
  padding-top: 0px;
  padding-bottom: 0px;
  margin: 0;
  margin-bottom: 0px;
}

.copy p {
	font-size: 11px;
	color: #fff;
  padding-top: 0px;
  padding-bottom: 0px;
  line-height: 1.5;
	margin:0;
  margin-bottom: 0px;
} 

@media all and (max-width: 750px) {
  #copyrights .copy p{ 
    justify-content: space-between;
    text-align:left ;
  }
}
/*Fin de Seccion de Copyrights========================*/

.bienvenida > div > .contenedor {
	padding: 10px 10px;
  background-color: #F5F5F5;
  justify-content: center;
  text-align: justify;
  display: flex;
  margin: auto;
}

.txtM{
  padding-left: 5%;
  padding-right: 5%;
}

.moda{
  position: relative;
  left: 50%;                      /* En conjunto con el transform, */
  top: 50%;                       /* se asegura que siempre esté centrado. */
  width: calc(100%-80px);         /* Se le restan 80 pixeles al ancho total de la pantalla. */
  height: calc(100%-80px);        /* Se le restan 80 pixeles al alto total de la pantalla. */
  justify-self: auto;

  border-radius: 5px;
  border: none;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: 600px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 1);
  padding: 5px;


  z-index: auto;

  /* Se modificaron el left, top, width y height, 
  se añadió un transform, box-sizing, un width para arreglar
  el ajuste del modal al tamaño de la pantalla.  */

  
  & .title-modal{
      background: linear-gradient(to top, #00627b, #36badb);
      height: 70px;
      display: flex;
      justify-content: center;
      align-items: center;
      & h2{
      text-align: center;
      color: #ffffff;
      font-size: 32px;
      }
  }

  & p2 , & h2{
      color: #000000;
  }

  & p1{
      font-size: 24px;
      text-align: justify;
      display: flex;
      padding: 5px;
      font-weight: bold;
  }

  & p2{
      display: flex;
      justify-content: center;
      text-align: justify;
      font-size: 16px;
      padding: 5px;

  }
}

.imgUbi{
  justify-content: center;
  padding-left: 25%;
}

.encargado{
  justify-items: center;
}

.fotoE{
  width: 90px;
  height: 90px;
  border-radius: 100%;
}