@font-face {
    font-family: 'calibri';
    src: url('calibri.eot');
    src: url('calibri.eot?#iefix') format('embedded-opentype'),
         url('calibri.woff') format('woff'),
         url('calibri.ttf') format('truetype'),
         url('calibri.svg#calibri') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*	Less Framework 4 with 18/24 type presets
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/



/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0px;
	padding: 0px;
	border: 0px;
	font-family: 'calibri', arial;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

p {margin-bottom:15px;}

.container {
		width:100%;
		margin:0px auto;
		font-size:1em;
		margin:0px;
		padding: 0%;
	}
	section {
		/*float: left;*/
		width: 100%;
		background:url('imagenes/centro.jpg') no-repeat center top;
		background-size:cover;
		min-height:406px;
		margin-bottom:50px;
	}
	nav {
		/*display:inline-block;*/
		text-decoration:none;
		list-style:none;
		/*margin-top: 10px;*/
		font-family: arial;
		color:white;
		font-size:13px;
		position:absolute;
		bottom:0;
		right:0;
		}
	nav li {
		display: inline-block;
	}
	nav  a{
			color:white;
			text-decoration:none;
			padding:8px;
			display:block;			
	}
	nav a:hover {
		background:#fff;
		color:black;
	}
		
	ul{
		float: right;
		list-style: none;
		/*margin-left: 30%;*/
		display: -webkit-inline-box;
		vertical-align: baseline;
		/*margin-bottom: -1%;*/
	}
	
	hr { border-top:3px dotted #000; margin:15px 0 30px; }
	
	footer {
		margin: 0 auto;
		text-align: center;
		/*clear: both;*/
		/*margin-top: 37%;*/
		/*position: absolute;*/
		text-align: center;
		width: 1024px;
		background:url('imagenes/foot.png') no-repeat center top;
		background-size:contain;
		padding-top:25px;
	}
#containerfoot{
	width: 100%;
	text-align: center;
	margin:auto;
	position:relative;
}

#headerm{
	background: #3f4142;
   background: -webkit-gradient(linear, left top, left bottom, from(#141617), to(#3f4142));
   background: -webkit-linear-gradient(top, #141617, #3f4142);
   background: -moz-linear-gradient(top, #141617, #3f4142);
   background: -ms-linear-gradient(top, #141617, #3f4142);
   background: -o-linear-gradient(top, #141617, #3f4142);
}
#header-container {
	width:1024px; 
	margin:0px auto 40px; 
	display:table; 
	position:relative;	
}
#section-container {
	width:1024px; 
	margin:0 auto; 
	display:table; 
	position:relative;	
}
nav{
	font-size: 16px;
}
.active { background:#fff; color:black; }
#logopequeno{	
	float: left;
	/*position: absolute;
	width: 7%;
	margin-top: -4.6%;
	margin-left: 5.2%;*/
}
#logopequeno img { height:140px; width:197px;}

#centrar{
	position:relative;
	width: 100%;	
}
#logo{
	/*width: 50%;
	margin-top: -35%;
	margin-left: 50%;
	position: relative;*/
	float:right;
	margin:100px 40px 0 0;
}

#columnas{
	list-style: none;
	width:100%;
	text-align: center;
	margin: auto;
	position: relative;
	display: flex;
	margin: 30px 0;
}
#col1{
	text-align: right;
	font-size:14px;
	list-style: none;
	float: right;
	flex: 2;
	margin-right: 8px;
}
#col2{
	text-align: left;
	font-size:14px;
	list-style: none;
	float: left;
	flex: 2;
	margin-left: 8px;
}
#logo div{
	/*margin-top:14%;
	position: absolute;
	margin-left: 10%;*/
	color: white;
	margin:0 0 45px 20px;
}
#contain{
	text-align: center;
	width: 80%;
	margin-left: 10%;
}
#descrip{
	text-align: justify;
	padding:20px 30px;
}
#titulo{
	text-align:left; margin:0 0 10px 20px; color:red; font-size:28px;
}
#contain1 ul{
	display: block;
	margin-left: 10%;

}
#contain1{
	width: 70%;
	margin-left: 10%;
}
.formulario {
	width: 70%;
	margin: 0 auto;
}
.formulario input { width:90%; max-width:350px; }
.formulario input[type="submit"] { 
	width:auto;
	background:#333;
    border: 0 none;
    color: #fff;
    cursor: pointer;
    margin-top: 15px;
    padding: 5px 10px;
}
.formulario textarea { width:100%; }

#nombre{
	/*width: 70%;*/
}
#email{
	/*width: 81%;*/
}
#mensaje{
	/*width: 90%;*/
	height:200px;
}

.servicios-content ul { 
	float:left;
	margin-left:50px; 
	line-height: 2em;
	list-style:initial;
	display:block;
}
.servicios-content ul li {
	color:red;
}
.servicios-content ul  li p {
	color:black;
} 
.servicios-content img { margin-bottom:50px; }


.news { display:table; }
.news img { float:left; margin:0 30px 15px 0; }
.news-title { color:red; font-size:20px; float:none !important; }

 

/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body {
	width: 100%;	
	background: white;	
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
}


@media only screen and (max-width: 1024px)
{
	#header-container { width:100%; }
	#section-container { width:100%; }
	section { min-height:340px; }
	#logo { margin-top: 75px; }
	footer { width:100%; }
	.servicios-content { text-align:center; } 
	.servicios-content img { margin-bottom:30px; }
	.servicios-content p { text-align:left; }
	.servicios-content div { margin-bottom:30px; }
	.news { padding:0 15px; }
}

@media only screen and (max-width: 900px)
{
	section { min-height:290px; }
	#header-container { text-align:center; }
	#logopequeno { display:block; float:none; }
	#logo { margin-top: 55px; }
	nav { position:relative; display:inline-flex; }

}

@media only screen and (max-width: 600px)
{
	.news div { float:left; }
}

@media only screen and (max-width: 480px)
{
	nav a { font-size:12px !important; padding:3px !important; }
	#section-container table img { width:170px; }
}