@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Baloo+Da+2');

:root {
  --primary-color: #fff;
  --secondary-color: #ffffff;
  --terciary-color: #f2f2f2;
  --text-color: #706f6f;
  --fondo-color:#009;
}
.clear {
  clear: both;
}

*{
	box-sizing:border-box;
}
	
	


body {
  font-family: 'Baloo Da 2','Roboto', sans-serif;
  background-color: var(--primary-color);
  font-size: 18px;
  line-height: 1.43;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  text-align: justify;
}

h1{
  text-shadow:  rgb(8, 8, 8) 3px 3px 3px;
  font-size: 2.5em;
}
h2{
  text-shadow:  rgb(8, 8, 8) 3px 3px 3px;
  font-size: 2em;
}

h3{
  font-size: 1.5em;
  text-shadow:  rgb(8, 8, 8) 3px 3px 3px;

}

a {
    color: var(--secondary-color);
    font-weight: bold;
}

.MasInfo{
    color: #900;
    font-weight: bold;
	opacity:50%;
}


a:hover {
	color:var(--text-color);

}

/* estilos cabecera*/

.intro {
    width: 100%;
    height: 100%;
    padding: 150px 0px 0px 0px;
    text-align: center;
    color: var(--primary-color);
    background: url(../images/fondo_iaprende.png) no-repeat bottom center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.intro-body {
    max-width: 1100px;
    margin: auto;
	height: 100%;
	
}

/* cabecera interior*/

.intro_interior {
    width: 100%;
    height: 100%;
    padding: 80px 0 40px 0;
    text-align: center;
    color: var(--primary-color);
    background: url(../images/cabecera1.jpg) no-repeat bottom center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.imagen_intro_interior{
  float: left;
  width: 10%;
}
/*navbar*/

.header_main{
	width:1100px;
	height:85px;
	margin:0 auto;
		
}


#DatosContacto{
	margin:0px;
	padding-top:0px;
	font-size:20px;
  	color:#000;
	font-size:11px;
	float: right;
	list-style: none;
	position: relative;
	width: 15%;
  	text-align: right;
}

#logo {
	margin-top:6px;
	float: left;
	font-size:20px;
}

#logo img{
  padding-right: 20px;
}

.navbar_fixed_top {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}




.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav {
	margin:0;
}

.nav_container{
  margin: auto;
  max-width:1100px;
  height:70px;
 
}

.nav_container2{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content: center;
	height:50px;
  	width:100%;
	margin: 0 auto;
  	background-color:#900;
  	border-bottom: 6px solid #900;
}

.Cabecera{
	margin:0 auto;
	width:1100px;
	height:100%;
		
}



#PrimeroCabecera, #SegundoCabecera, #TerceroCabecera, #CuartoCabecera{
	width:25%;
	height:600px;
	border: solid 2px #006;
	margin-left:0px;
	float:left;
	 border-radius: 15px 15px 15px 15px;
	-moz-border-radius: 0px 0px 15px 15px;
	-webkit-border-radius: 0px 0px 15px 15px;
}






#LogoCabecera{
	margin:0 auto;
	margin-top:80px;
	width:100px;
	height:100px;
	
}






nav:after {
	content:"";
	display:table;
	clear:both;
}

nav ul {
	float: left;
	padding:0;
	margin:0;
	list-style: none;
	
	}

nav ul li {
	margin: 0 0 0 0 ;
	display:inline-block;
	float: left;
/*	background-color: #254441;*/
	}

nav a {
	display:block;
	padding: 15px 50px;
/*	color:var(--primary-color);  */
	font-size:17px;
	text-decoration:none;
}

nav a:hover {
	background-color:var(--secondary-color);
  padding-bottom: 15px;
  border-radius: 15px 15px 15px 15px;
-moz-border-radius: 15px 15px 15px 15px;
-webkit-border-radius: 15px 15px 15px 15px;
}


/* social var*/
 ul.socialvar {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}

 ul.socialvar li {
	margin: 5px 5px 5px 5px ;
	display:inline-block;
	float: left;
/*	background-color: #254441;*/
	}

i{
  background-image:url(../images/32pixel-icons.png);
  display:inline-block;
  width:32px;
  height:32px;
  transition:all 0.5s;
  border-radius: 50%
}

/* Para cada elemento, debo posicionar el fondo (la img) para que muestre justo el icono que quiero mostrar */
.mail{background-position: -7px -7px;}
.dribble{background-position: -63px -7px;}
.googleplus{background-position: -121px -7px;}
.facebook{background-position: -178px -7px;}
.twitter{background-position: -292px -7px;}
.linkedin{background-position: -350px -7px;}
.github{background-position: -408px -7px;}
.bitbucket{background-position: -463px -7px;}

i:hover{background-position-y: -82px;}

/*  cuerpo de la pagina*/


#container{
max-width: 1100px;
margin: auto;


}


/*galeria de imagenes*/
#galeria {
   max-width: 1100px;
  /* min-width: 768px;*/
   margin: auto;
   
}
#columnas {
   column-width: 250px ;
   column-gap: 10px;
   column-fill: auto;
}
.imagen {
   background: var(--terciary-color);
   border: 2px solid var(--primary-color);
   box-shadow: 0 1px 3px rgba(20,20,20, 0.4);
   display: inline-block;
   margin: 0 5px 20px;
   padding: 10px;
}
.imagen img {
   width: 100%;
}
.imagen a{
  text-align: right;
}
.imagen:hover .laimagen {
  -webkit-transform:scale(1.3);
  transform:scale(1.3);
}
.laimagen {
  transition:all .5s ease-in-out;
}

.imagen {
  overflow:hidden;
  transition:all .5s ease-in-out;
}
/*footer*/
footer{
	background-color: var(--fondo-color);
  padding-top: 40px;
  padding-bottom: 40px
}
.footer_centrado {
    margin: auto;
    max-width: 960px;
    text-align: center;
}
.footer_centrado ul{
  list-style: none;
}
.footer_col1{
  width: 48%;
  float: left;
  text-align: right;
  padding-right: 2%;
}
.footer_col2{
  width: 48%;
  float: left;
  text-align: left;
}

/* tabla pagina de diseño */
caption {
    font-size: 3em;
    font-weight: bold;
    font-style: italic;
}

table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
    margin-bottom: 80px;
}

th {
   background: var(--secondary-color);
}
table tr {
    background: white;
    border-bottom: 1px solid
}
/*tr:nth-child(odd) {
    background-color:#fbfbfb;
}*/
tr:nth-child(even) {
    background-color:#f2f2f2;
}

table th, table td {
    padding: 10px 20px;
}

.productos {
  max-height: 100px;
}

td.tablaImagen{
  text-align: right;
}

.boton {
  text-decoration: none;
  padding: 5px 30px;
  color: var(--text-color);
  border-radius: 20px;
  border: 1px solid var(--secondary-color);
  background-color: var(--secondary-color);
  width: 100%;
}

.boton:hover {
  color: var(--secondary-color);
  background-color: var(--primary-color);
}



/* formulario de contactar*/
#contactar{
  background-color: var(--secondary-color);
  padding: 40px;
  max-width:600px;
  margin:40px auto;
  border-radius:5px;
  box-shadow: 4px 4px 10px var(--fondo-color);
}
#contactar h3{
  font-size: 3em;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 0px;
  margin-top: 0px;
}

.form{
  padding-bottom: 8px;
}

fieldset{
  border-top: 2px solid var(--text-color);
  border-bottom: hidden;
  border-left: hidden;
  border-right: hidden;
  padding-bottom: 20px;
}

legend.formLegend {
  padding: 15px;
  padding-bottom: 30px;
  font-size: 1.5em;
  margin-bottom: 10px;
  margin-left: -5%;
}

.form input[type=text],
  input[type=email],
  input[type=url],
  input[type=date],
  input[type=password],
  select,
  textarea {

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f5f8fa;
    color: #33475b;
    font-size: 1rem;
    line-height: 1.375;
    border: 1px solid;
    border-color: var(--fondo-color);
    border-radius: .1875rem;
    min-height: 2.5rem;
    padding: 0.5625rem 0.625rem;
    -webkit-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
    padding-top: 10px;
}

.form input[type=text],
  input[type=email],
  input[type=url],
  input[type=date],
  input[type=password]{
    width: 60%;
}

.form input[type=date]{
  width: 30%;
}
.form textarea {
    width: 61%;
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
}
.form select{
    width: 65%;
}

.form label{
  cursor: pointer;
  display: inline-block;
  float: left;
  width: 30%;

}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=date]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border: 0;
  border-bottom: 3px solid var(--fondo-color);
}
/*select:focus,
input[type="date"]:focus {
  color: var(--secondary-color);
}*/

::placeholder {
  color: var(--secondary-color);
  opacity: 1; /* Firefox */
}

select,
input[type="date"]{
  color: var(--secondary-color);

}

/*** checkboxes personalizados***/

label.checkContainer {
  width: 80%;
  display: block;
  position: relative;
  padding-left: 45px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* escondemos el checkbox por defecto */
label.checkContainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Creamos nuestro checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 10px;
  height: 20px;
  width: 20px;
  background-color: var(--primary-color);
  border: 1px solid var(--fondo-color);
  border-radius: .1875rem;
}

/*  mouse-over, añadimos color */
/*label.checkContainer:hover input ~ .checkmark {
  background-color: pink;
}*/

/* con el checkbox  checked, ponemos nuestro color */
/*label.checkContainer input:checked ~ .checkmark {
  background-color: green;
}*/

/* creamos checkmark (invisible si no esta checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Si esta checked enseñamos la marca*/
label.checkContainer input:checked ~ .checkmark:after {
  display: block;
}

/* Los estilos del checkmark*/
label.checkContainer .checkmark:after {
  left: 5px;
  top: -9px;
  width: 12px;
  height: 20px;
  border: solid var(--text-color);
  border-width: 0 5px 5px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* botones de enviar y borrar*/
input[type=reset],
input[type=submit] {
  font-size: 1em;
  width: 100%;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=reset] {
  background-color: #f36a49;
}

input[type=submit] {
background-color: #88a70a;
}

input[type=submit]:hover {
  background-color: green;
}
input[type=reset]:hover{
  background-color: red;
}

/*Pagina inspiración*/

ul.citas {
  list-style-type: none;
  margin: 0;
}

ul.citas>li {
  background: url('../images/libro.png') no-repeat left center;
  background-size: 25px 25px ;
  padding-left: 40px;
}

.bloqueCodigo{
  padding: 20px;
  background-color: var(--terciary-color);
  border-left: solid 5px #88a70a;
  margin-bottom: 40px;
  margin-left: 50px;
}

.codigo{
  text-decoration: underline;
}
code{
  font-size: 0.9em;
}
blockquote{
  display:block;
  background: var(--terciary-color);
  padding: 30px 65px 30px 65px;
  font-size: 21px;
  line-height: 1.4;
  position: relative;
  text-align: right;
  margin-left: 15%;
  border-right: solid 5px var(--secondary-color);
}
blockquote::before,
blockquote::after {
  font-family: Georgia, serif;
  font-size: 90px;
  font-weight: bold;
  color: var(--secondary-color);
  position: absolute;
  top: 10px;
}
blockquote::before {
  content: "\201C";
  left: 20px;
}

blockquote::after {
  content: "\201D";
  right: 20px;
}

/* Media Queries
--------------------------------------------- */

@media screen and (max-width : 800px) {

	#logo {
		display: none;
	}

	nav {
		margin: 0;
	}
  nav ul {
  	float: left;
  	padding-left: 20px;
  	list-style: none;
  	}

	.toggle + a,
	.menu {
		display: none;
	}

	.toggle {
		display: block;
		background-color: #000000;
		padding:14px 20px;
		color:var(--primary-color);
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav a:hover {
		background-color: var(--secondary-color);
	}

  .intro {
      height: auto;
    }
  #container{
    padding: 0 15px;
  }

  #galeria {
     max-width: 768px;
     margin: auto;
  }
  #columnas {
     column-width: 250px ;
     column-gap: 10px;
     column-fill: auto;
  }

  .imagen {
    display:block;
    -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* Firefox */
    break-inside: avoid; /* IE 10+ */
  }

  .footer_col1 {
    padding-right: 0;
  }


/*  CSS tabla flexbox para movil */

    table thead {
        left: -9999px;
        position: absolute;
        visibility: hidden;
    }
    table tr {
        border-bottom: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }
    table td {
        border: 1px solid;
        margin: 0 -1px -1px 0;
        padding-top: 30px;
        padding-bottom: 20px;
        position: relative;
        width: 40%;
        text-align: center;
    }


  table td::before {
    content: attr(data-label);
    float: left;
    background: var(--secondary-color);
    color: dimgrey;
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
    position: absolute;
    text-transform: uppercase;
    top: 0;
    left: 0;
  }
  .sin-label::before {
    visibility: hidden;
  }
  td.tablaImagen{
    text-align: center;
  }

  tr:nth-child(even) {
      background-color:var(--primary-color);
  }

  .bloqueCodigo {

    margin-left: 0px;
}

  pre{
    margin-left: -2em;
  }

}


@media screen and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}
