body {
	font: normal .8em/1.5em Arial, Helvetica, sans-serif;
	
	width: auto;
	margin: 10px auto;
	color: #666;
    /*background: url(img/fondo.jpg);*/
    background-repeat: no-repeat;
    background-size: cover;
    /*background-color: #4e7aca;*/
    /*background-image: url(img/fondo.jpg);*/
}

a {
	color: #333;
  font-size: 120%;

}
#nav {
	margin: 0px;
	padding: 7px 6px 0;
	background: #7d7d7d url(img/gradient.png) repeat-x 0 -110px;
	line-height: 100%;

	border-radius: 2em;
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;

	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
}
#imagen
{
    float: left;
    width: 7%;
    position: absolute;    
    left:0%;
    top:2%;

}

#nav li {
	margin: 0 0px;
	padding: 0 0px 8px;
	float: left;
	position: relative;
	list-style: none;
    
}


/* main level link */
#nav a {
	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	padding:  8px 7px;
	margin: 0;

   	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	
	text-shadow: 0 1px 1px rgba(0,0,0, .3);

}
#nav a:hover {
	background: #fff;
	color: #fff;

}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: #666 url(img/gradient.png) repeat-x 0 -40px;
	color: #444;
	border-top: solid 1px #f8f8f8;

	-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	box-shadow: 0 1px 1px rgba(0,0,0, .2);




	text-shadow: 0 1px 0 rgba(255,255,255, 1);
}

/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {

	background: none;
	border: none;
	color: #666;
    padding: 5px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
    

}
#nav ul a:hover {
	background: #0078ff url(img/gradient.png) repeat-x 0 -100px !important;
	color: #fff !important;

	-webkit-border-radius: 0;
	-moz-border-radius: 0;

	text-shadow: 0 1px 1px rgba(0,0,0, .1);
}

/* dropdown */
#nav li:hover > ul {
	display: block;
    

}

/* level 2 list */
#nav ul {
	display: none;
    backface-visibility: visible;
	margin: 0;
	padding: 0;
	width: 185px;
	position: absolute;
	top: 35px;
	left: 0;
	background: #ddd url(img/gradient.png) repeat-x 0 0;
	border: solid 1px #b4b4b4;
    backface-visibility: visible;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);
    z-index : 1;
    
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
    
}

#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;
 
}

/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;
    z-index : 1;
}

/* rounded corners of first and last link */
#nav ul li:first-child > a {
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;

	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
   
    z-index : 1;
}
#nav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;

	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
    
    z-index : 1;
}

/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;

}
#nav {
	display: inline-block;
    backface-visibility: visible;
} 
html[xmlns] #nav {
	display: block;
    
}
 
* html #nav {
	height: 1%;
    
}


@font-face {
    font-family: sans-serif;
    font-style: normal;
    font-weight: 1000;
    
    
}
@font-face {
    font-family: sans-serif;
    font-style: normal;
    font-weight: 500;
    
}
@font-face {
    font-family: sans-serif;
    font-style: normal;
    font-weight: 700;
    
}
@font-face {
    font-family: sans-serif;
    font-style: italic;
    font-weight: 400;
}

/*tools*/
.centext {text-align: center;}
.cenblock {margin: 0 auto;}
.none {display:none;}
.prel {position: relative;}
.pabs {position: absolute;}
.pfix {position: fixed;}

/*Botones*/
.button {
    padding: 1.2rem 1.6rem;
    color: #fff;
    transition: background .3s;
    background-color: rgba(0,0,0,0.4);
    border-radius: 2px;
}

.button:hover {
    background: rgba(0,0,0,0.6);
    color: #fff;
}

.cyan {background-color: #00BCD4;}
.teal {background-color: #009688;}
.blue {background-color: #2196F3;}

/*info*/
.info {
    background-color: rgba(0,0,0,0.05);
    color: rgba(0,0,0,0.5);
    display: block;
    margin: 0 0 1rem;
    padding: 2rem;
    text-align: center;
    font-size: 1rem;
}

/*Global*/
/*Responsive box*/
.box {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.box > h2 {
    color: #fff;
    position: relative;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    text-align: center;
}

.box > h2:not(:first-child) {
    padding-top: 3rem;
}

.box > p {
    color: rgba(255,255,255,0.6);
    display: block;
    font-weight: 400;
    font-size: 1.3rem;
}
.box > p > a {
    color: #00BCD4;
    font-weight: 500;
    text-decoration: none;
}
.box > p > strong {
    color: #fff;
}
.box > p > a:hover {
    text-decoration: none;
}

/**/


/*code*/
code {
    padding: .3em .4em;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.8);
    font-size: .9em;
}
pre {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/*header*/
header {
    
    text-align: center;
    
}


header > span {
    text-transform: capitalize;
    font-size: 1rem;
}
.main {
    padding: 2rem 0;
    
}

/*footer
@keyframes love {
    to {transform: scale(1.1);}
    from {transform: scale(1.6);}
}
footer{
  padding:20px;
  margin-top:20px;
  color:#ffffff;
  /*background-color:#1293d4;
  text-align: center;
}*/


/*demo image load*/
.items {
    text-align: center;
}
.items > div {
    margin: 0.4em;
}

.demo img {
    display: block;
    max-width: 100%;
    box-shadow: 0 3px 3px -1px rgba(0, 0, 0, 0.3), 0 1px 0px 0px rgba(0, 0, 0, 0.05);
}

/*nav demo*/
.navdemo {
    padding-bottom: 2rem;
    text-align: center;
}
.navdemo > a {
    display: inline-block;
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.3);
    border: 3px solid;
    padding: 0.6rem 1rem;
    font-weight: 400;
}
.navdemo > a:hover {
    color: rgba(255, 255, 255, 0.6);
}
.navdemo > a.here {
    color: rgba(255, 255, 255, 0.9);
}

.oscuro{
  padding:15px;
  background:#187E15;
  color:#ffffff;
  
 
}

/* Estilos globales */
.contenedor{
  width:80%;
  margin:auto;
  overflow: hidden;
  font-size: 130%;
  
}

ul{
  margin:0;
  padding:0;
}

.boton1{
  height:38px;
  background:#e8491d;
  border:0;
  padding-left: 20px;
  padding-right:20px;
  color:#ffffff;
}

.oscuro{
  padding:15px;
  background:#1c4179;
  color:#ffffff;
  margin-top:10px;
  margin-bottom:10px;
}

/* Encabezado **/
header{
  background:#24282b;
  color:#ffffff;
  padding-top:30px;
  min-height:70px;
  border-bottom:#1293d4 5px solid;
}



header #marca{
  float:left;
}

header #marca h1{
  margin:0;
}

header nav{
  float:right;
  margin-top:100px;
}

header .resaltado, header .actual a{
  color:#1293d4;
  font-weight:bold;
}

header a:hover{
  color:#cccccc;
  font-weight:bold;
}

/* Cabecera con imagen */
#cabecera{
  min-height:300px;
  background:url('../img/cabecera.jpg') no-repeat 0 -400px;
  text-align:center;
  color:#ffffff;
}

#cabecera h1{
  margin-top:100px;
  font-size:55px;
  margin-bottom:10px;
}

#cabecera p{
  font-size:20px;
}

/* Formulario */
#boletin{
  padding:15px;
  color:#ffffff;
  background:#24282b;
}

#boletin h1{
  float:left;
}

#boletin form {
  float:right;
  margin-top:15px;
}

#boletin input[type="email"]{
  padding:4px;
  height:25px;
  width:250px;
}

/* Cajas */
#cajas{
  margin-top:20px;
}

#cajas .caja{
  float:left;
  text-align: center;
  width:30%;
  padding:10px;
}

#cajas .caja img{
  width:90px;
}

/* Lateral */
aside#lateral{
  float:right;
  width:30%;
  margin-top:10px;
}

/* Main-col */
article#main-col{
  float:left;
  width:65%;
}

/* Servicios */
ul#servicios li{
  list-style: none;
  padding:20px;
  border: #cccccc solid 1px;
  margin-bottom:5px;
  background:#e6e6e6;
}

/*footer{
  padding:20px;
  margin-top:20px;
  color:#ffffff;
  background-color:#1293d4;
  text-align: center;
}*/

footer {
    

    margin: 0px;
    padding: 7px 6px 0;
    background: #7d7d7d url(img/gradient.png) repeat-x 0 -230px !important;
    height: auto;
    line-height: 10%;
    text-align: center;
    border-radius: 2em;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;

    -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
}

footer  {

    margin: 0 5px;
    padding: 0 0px 8px;
    float: center;
    position: relative;
    list-style: none;

    
}


/* main level link */
footer {
    font-weight: bold;
    color: #e7e5e5;
    text-decoration: none;
    display: block;
    padding:  8px 7px;
    margin: 0;

    -webkit-border-radius: 1.6em;
    -moz-border-radius: 1.6em;
    
    text-shadow: 0 1px 1px rgba(0,0,0, .3);

}


/* Estilos para el formulario de contacto */

input, textarea{
  width: 100%;
  height: 35px;
  border: 1px solid gray; 
  margin-bottom: 5px;
  background-color: #f5f5f5;
}

textarea{
  height: 120px;
}

#contact-form
{
  
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);

}

/* Media Queries */
@media(max-width: 768px){
  header #marca,
  header nav,
  header nav li,
  #boletin h1,
  #boletin form,
  #cajas .caja,
  article#main-col,
  aside#lateral{
    float:none;
    text-align:center;
    width:100%;
  }

  header{
    padding-bottom:20px;
  }

  #boletin h1{
    margin-top:40px;
  }

  #boletin button{
    display:block;
    width:100%;
  }

  #boletin form input[type="email"]{
    width:100%;
    margin-bottom:5px;
  }

  input, textarea{
    width: 98%; 
  }
}





