/* CSS Document */
html, body{
	height:100%;
	color:#3f3f3f;
	font-size:18px;
	font-weight: bold;
	font-family: 'Times New Roman', Times, serif;
}
body{
	font-family: 'Times New Roman', Times, serif;
	margin: 0px;
	background-color: #f7f7f4;
	/*background-image: url("../img/fondo.jpg");*/
	background-position: center;
}
table, td, th {
  border: 1px solid black;
}

table {
  width: 100%;
  border-collapse: collapse;
}
a:link{
	color: #3f3f3f;
	text-decoration: none;
}
a:visited{
	text-decoration: inherit;
	color: #3f3f3f;
}
a:hover{
	color: #5d0406
}
hr {
	padding: 0;
	margin: 5px 0;
}
input, select, textarea {
	width: 200px;
	height: 30px;
	font-weight: bold;
	font-family: Parisish;
	font-size: 18px;
	cursor: pointer;
}
a.paginado{ display: inline-block; padding: 5px; margin: 5px; border:1px solid #9F9F9F; background-color: #FFF; }
a.paginado:hover{ opacity: .8; border-color: #9F9F9F; font-weight: bold; color: #5d0406 }
a.paginado.activo{ color: #5d0406; border-color: #9F9F9F; font-weight: bold; opacity: .8; }
.boton {
	margin: 0;
	padding: 0;
	width: 100px;
	height: 35px;
	border: 0;
	background-color: #5d0406;
	color: #FFF;
	font-size: 18px;
	font-weight:normal;
	font-family: Parisish;
	cursor: pointer;
	opacity: .9;
	border-radius: 5px;
}
.boton:hover {
	opacity: .8;
}

.botona {
	text-align: center;
	width: 170px;
	margin: 10px;
	padding: 10px;
	border: 0;
	background-color: #171a39;
	color: #FFF !important;
	font-size: 24px;
	font-weight:normal;
	cursor: pointer;
	opacity: .9;
	border-radius: 15px !important;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-ms-border-radius: 0px;
	-o-border-radius: 0px;
}
.botona:hover {
	opacity: .8;
	color: #000;
}
.botona_p {
	display: inline-block;
	text-align: center;
	width: auto;
	margin: 5px;
	padding: 7px;
	border: 0;
	background-color: #171a39;
	color: #FFF !important;
	font-size: 16px;
	font-weight:normal;
	cursor: pointer;
	opacity: .9;
	border-radius: 10px !important;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-ms-border-radius: 0px;
	-o-border-radius: 0px;
}
.botona_p:hover {
	opacity: .8;
	color: #000;
}

.fas, .far {
	font-size: 28px !important;
	cursor: pointer;
}
.main {
	margin: 0px auto;
	min-width: 320px;
}
.layout {
	width: 100%;
	/*max-width: 1000px*/;
	min-width: 320px;
	margin: 0px auto;
	padding: 0px;
}
.row {
	margin: 0 auto;
	display: table;
	padding: 0px;
}
.row-item {
	display: inline-block;
	margin: 0px;
	padding: 5px 0;
}
.celda {
	width: 310px; 
	position: relative; 
	text-align: center;
}
.content_img{
	text-align: center; 
	margin: 20px; 
	width: 270px; 
	position: relative;
}
.barras {
	display: inline-block; 
	position: absolute; 
	right: 10px; 
	bottom: 5px;
}
#menu {
	display: none; 
	position: absolute; 
	right: 10px; 
	top: 80px; 
	z-index: 100;
}
#menu > div { 
	width: 200px; 
	text-align: right; 
	border-top: 1px solid #FFF;
	font-size: 18px
}
#menu > div > a {
	color: #FFF;
}
#menu > div > a:hover {
	opacity: .8
}
#menu > div > a > div {
	border-bottom: 1px solid #FFF; 
	padding: 10px;
	background-color: #5d0406;
}
#menu > div > a > div:hover, .acciones:hover, .acciones2:hover, .acciones3:hover, .acciones4:hover{
	opacity: .8;
}
.acciones3 {
	position: absolute; 
	bottom: 5px; 
	right: 0px; 
	width: 28px; 
	height: 28px; 
	background-color: #5d0406; 
	padding: 5px;
	font-size: 24px;
}
.acciones a, .acciones2 a, .acciones3 a, .acciones4 a {
	color: #FFF;
}
.acciones2 {
	position: absolute; 
	top: 0px; 
	right: 0px; 
	width: 28px; 
	height: 28px; 
	background-color: #5d0406; 
	padding: 4px;
}
.acciones {
	position: absolute; 
	top: 0px; 
	right: 40px; 
	width: 28px; 
	height: 28px; 
	background-color: #5d0406; 
	padding: 4px;
}
.acciones4 {
	position: absolute; 
	top: 0px; 
	left: 0px; 
	width: 45px; 
	height: 28px; 
	background-color: #5d0406; 
	padding: 4px;
}

.img-contenedor img {
-webkit-transition:all .9s ease; /* Safari y Chrome */
-moz-transition:all .9s ease; /* Firefox */
-o-transition:all .9s ease; /* IE 9 */
-ms-transition:all .9s ease; /* Opera */
width:100%;
}
.img-contenedor:hover img {
-webkit-transform:scale(1.25);
-moz-transform:scale(1.25);
-ms-transform:scale(1.25);
-o-transform:scale(1.25);
transform:scale(1.25);
}
.img-contenedor {/*Ancho y altura son modificables al requerimiento de cada uno*/
width:100%;
height:100%;
overflow:hidden;
}
.nombre_categoria{
	padding-top: 3px;
	 border-bottom: 1px solid #5d0406; 
	 color: #3f3f3f; 
	 font-size: 16px;
}
.titulo{
	width: 100%; 
	position: relative; 
	font-weight: bold; 
	font-size: 48px;
}
.subtitulo {
	text-align: left;
	font-weight: bold; 
	font-size: 24px; 
	padding: 10px 0; 
	border-bottom: 5px solid #5d0406; 
	position: relative;
	padding-left: 10px;
	margin-bottom: 3px;
}
.descripcion {
	text-align: left;
	font-weight: bold; 
	font-size: 26px; 
	padding: 10px 0; 
	border-bottom: 1px solid #CCC; 
	position: relative;
	color: #5d0406;
}
.descripcion_texto {
	text-align: left;
	font-weight: bold; 
	font-size: 26px; 
	padding: 10px 0; 
	position: relative;
}
.aviso {
	width: 100%; 
	font-weight: bold; 
	color: #0C7C3E; 
	font-size: 28px; 
	background-color: #FFF;
}
.barra-menu {
	opacity: .9;
	background-color: #5d0406;
	color: #fff;
	width: calc(100% - 20px); 
	text-align: left; 
	font-size: 18px;
	padding: 0 5px; 
}
.barra-menu > a {
	color: #fff;
	display: inline-block;
}
.barra-menu > a > div { 
	height: 100%;
	width: 180px;
	border-bottom: 1px solid #CCC;
}
.barra-menu > a:hover, .barra-menu > a.activo {
	opacity: .8 
}
p {
	margin: 0px;
}
.pie {
	width: 100%; 
	height: 50px; 
	background-color: #4b4b4b;
}
.img_pro {
	width: 500px;
}
.des_pro {
	width: calc(100% - 640px);
	margin: 0 20px 0;
}
.img_cont:hover {
	border: 3px solid #5d0406;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  padding-top: 25px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	z-index: 1100;
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 98%;
  max-width: 640px;
  min-width: 320px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
	height: 30px;
  padding: 1px;
  background-color: #5d0406;
  color: white;
  vertical-align: middle;
}

.modal-body {padding: 2px 5px;}

.modal-footer {
  padding: 1;
  background-color: #5d0406;
  color: white;
}
.barra-lateral {
	width: 200px; text-align: center; position: fixed; height: 100%; padding: 0; background-color: #5d0406; margin-top: 123px; z-index: 500;
}
.barra-texto{
	display:inline-block; width: calc(100% - 50px); line-height: .8;
}
.barra-superior{height: 120px; width: 100%; border-bottom: 3px solid #CCC; position: fixed; background: #5d0406; color: #FFF; z-index: 200}
.contenido{width: calc(100% -  200px); margin-left: 200px; position: relative;}
.titulo-escuela{text-align: center; font-size: 20px; display: inline-block; width: calc(100% - 205px); vertical-align: top; padding-top: 10px;}
.contenido-pagina{margin-top: 123px;}
.logo{background-color: #FFF; display: inline-block; width: 200px; max-height: 120px; text-align: center;}
.menu-barras{position: absolute; top: 128px; left: 15px; display: none; z-index: 500;}

@media screen and (max-width: 645px) {
	.titulo-escuela{padding-top: 5px;}
}

@media screen and (max-width: 600px) {
	.logo{width:140px;}
  	.barra-lateral {
		width: 90px;
    	display: none;
  	}
  	.menu-barras{display: inline-block;}
  	.barra-texto{
  		/*display: none;*/
  		font-size: 12px;
  	}
  	.barra-menu > a > div {
  		width: 100%;
  		text-align: center;
  	}
  	.contenido{width: calc(100% -  90px); margin-left: 90px;}
  	.titulo-escuela{width:calc(100% - 145px);}
  	.barra-texto{
		width: 100%;
	}
	.contenido{margin-left: 0px; width: 100%;}
}

@media screen and (max-width: 470px) {
	.titulo-escuela{font-size: 16px;}
}