* {
  box-sizing: border-box;
}

body {margin:0;font-family:Arial}

/* Style the body */
body {
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
}

/* Header/logo Title */
.header {
  padding: 1px;
  text-align: center;
  background-image: linear-gradient(white,#c5a619);
  color: #007738;
}

/* Increase the font size of the heading */

/* Universidad Autónoma de Baja California */
.header h1 {
  font-size: 40px;
  text-shadow: 2px 2px 5px white;
}

/* Coordinación General de Recursos Humanos */
.header h2 {
  font-size: 25px;
  text-shadow: 2px 2px 5px white;
}

/* Style the menu */

.topnav {
  overflow: hidden;
  background-color: #c5a619;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #007738;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 1280px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 1280px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* Column container */
.row {
  display: -ms-flexbox;
  /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap;
  /* IE10 */
  flex-wrap: wrap;
}

.btn-group img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  -ms-flex: 20%;
  /* IE10 */
  flex: 20%;
  background-color: #f1f1f1;
  padding: 10px;
}

/* Main column */

.main {
  -ms-flex: 80%;
  /* IE10 */
  flex: 80%;
  background-color: white;
  padding: 10px;
}

/* Automatic Slideshow */

.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

/* Footer */
.footer {
  padding: 5px;
  text-align: center;
  background: #ddd;
}

.footer h2 {
  float: center;
  display: block;
  color: black;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}

.footer p {
  float: center;
  display: block;
  color: black;
  text-align: center;
  padding: 0px;
  text-decoration: none;
  font-size: 12px;
}

.footer a {
  float: center;
  display: block;
  color: black;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
}  

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {
      flex-direction: column;
  }
}

/* Botones laterales */

.btn-group .button {
  background-color: whitesmoke;
  border: 1px solid rgb(0, 155, 0);
  border-radius: 0px; /* Para redondear botones */
  color: #007738;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  display: block;
}

.btn-group .button:not(:last-child) {
  border-bottom: none; /* Prevent double borders */
}

.btn-group .button:hover {
  background-color: white;
}

/*Modal*/

#modal {
  text-align: center;
  width: 100%;
  margin-left: 0;
  clear: both;
  float: left;
  font-size: 14px;
  display: block;
  position: relative;
  background-image: linear-gradient(white, #c5a619);
  background-repeat: no-repeat;
  background-position: left top, right top;
  padding-top: 0px;
  padding-bottom: 0px;
  }
  
  #modal ul { list-style-type: none;}
  #modal ul li.nivel1 { float: left;
  width: 8%;
  margin-right: 0px;
  }
  
  #modal ul li a {display: block;
  text-decoration: none;
  color: black;
  background-image: linear-gradient(white, #c5a619);
  padding: 12.5px;
  position: relative;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 500;
  font-size: 12px;
  }
  #modal ul li:hover {position: relative;
  }
  #modal ul li a:hover, #menu2 ul li:hover a.nivel1 {
  background-image: linear-gradient(white, #c5a619);
  color: white;
  position: relative;
  
  background: #7f6c2b;
  -webkit-box-shadow: inset 0 0 1px #594b1e;
  -o-box-shadow: inset 0 0 1px #594b1e;
  -moz-box-shadow: inset 0 0 1px #594b1e;
  -ms-box-shadow: inset 0 0 1px #594b1e;
  box-shadow: inset 0 0 1px #594b1e;
  -webkit-transition: all ease .3s;
  -o-transition: all ease .3s;
  -moz-transition: all ease .3s;
  -ms-transition: all ease .3s;
  transition: all ease .3s;
  
  }
  #modal ul li a.nivel1 {display: block!important;display: none;
  position: relative;
  }
  #modal ul li ul {display: none;
  }
  #modal ul li a:hover ul, #menu2 ul li:hover ul {display: block;
  position: absolute;left: 0px;
  }
  #modal ul li ul li a {width: 180px;
  padding: 4px 0px 4px 0px;
  
  }
  #modal ul li ul li a:hover {
  position: relative;
  }
  
    .button {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    padding: 5px 10px;
    border: 1px solid #aaa;
    background-color: #eee;
    background-image: linear-gradient(top, #fff, #f0f0f0);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    color: #666;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
    transition: all 0.2s ease-out;
    }
    .button:hover {
    border-color: #999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    }
    .button:active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
    }
    
    .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 200ms;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    }
    
    .overlay.light {
    background: rgba(255, 255, 255, 0.5);
    }
    .overlay .cancel {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: default;
    }
    .overlay:target {
    visibility: visible;
    opacity: 1;
    }
    
    .popup {
    margin: 75px auto;
    padding: 20px;
    background: #c5a619;
    border: 1px solid #666;
    width: 80%;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    
    }
    .light .popup {
    border-color: #aaa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    }
    .popup h2 {
    margin-top: 0;
    color: #666;
    font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
    font-size: 24px !important;
    }
    
    .popup a {
    font-size: 18px !important;
    }
    
  /* Botón Regresar */
  
  .popup .back {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 20px;
    left: 20px;
    opacity: 0.5;
    transition: all 200ms;
    font-size: 24px !important;
    font-weight: bold;
    text-decoration: none;
    color: #7f6c2b;
    }
    .popup .back:hover {
    opacity: 1;
    }
  
  /* Fin botón Regresar*/
  
    .popup .close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 20px;
    right: 20px;
    opacity: 0.5;
    transition: all 200ms;
    font-size: 24px !important;
    font-weight: bold;
    text-decoration: none;
    color: red;
    }
    .popup .close:hover {
    opacity: 1;
    }
    .popup .content {
    max-height: 400px;
    overflow: auto;
    }
    .popup .contentm {
    max-height: 400px;
    overflow: auto;
    }
    .popup p {
    color: rgb(0, 0, 0);
    margin: 0 0 1em;
    font-size: 10px;
    }
    .popup p:last-child {
    margin: 0;
    }
      
  /*Fin modal*/

  .footer2 {
    background: #005B2D;
    text-align: center;
    
  }

  #contacto {
    text-align: right;
    padding: 1px 15px;
  }

  #contacto p {
    color: white;
    font-size: 12px;
  }

  /*Estilos para contenidos de php*/

  .title{
    color: black;
    text-align: left;
    color: #007738;
    font-weight:normal;
  }
  
  .content{
  color: black;
  text-align: left;
  padding:10px 5px 15px 20px;
  margin:10px;
  line-height: 25px;
  }

/* Info Tabla directorio */

table .name

.contentm{
color: black;
text-align: center;
padding:10px 5px 15px 20px;
margin:10px;
line-height: 25px;
}	
	
.first
{
    background-color:white;
    color:black;
      
}

.second
{
    background:white;
    color:black;
	
}

.trHeader
{
    background-color:#005B2D !important;
    color:#FFFFFF;
    height:35px;
	text-align:left;
	font-weight:bold;
	list-style:none;
}

.trHeader2
{
    background-color:#005B2D !important;
    color:#FFFFFF;
    height:35px;
	text-align:center;
	font-weight:bold;
	list-style:none;
	text-decoration:none;
}
.trHeader3
{
    background-color:#FFFFFF !important;
    color:#005b2d;
    height:35px;
	text-align:center;
	font-weight:bold;
	list-style:none;
}

.left
{
    float:left;
}

.left table
{
    width:100%;
    border:2px solid #767676;
}
.left td 
{
    padding:5px 0px;
   
   
}
.left h1
{
    color:#024524;
    font-size:20px;
    text-align:justify;
    padding-bottom:1px;
    padding-left:20px
}
.left p
{
    text-align:justify;
    color:#534741;
    padding-left:20px;
    font-weight:200px;
    font-size:14px;
   
}
.right
{
    float:right;
}
.roundedrectangle
{
	border-top-left-radius: 10px;
  	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	width: 1039px;
	margin: 0 auto;
	padding: 10px;
	padding-left:20px;
}

/* Fin directorio */

/* Inicio iframe responsive */

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.embed-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Fin iframe responsive */