* {
	border: 0;
	margin: 0;
	padding: 0;
}

html {
	padding: 0 0 45px;
}

body {
	background: #000;
	font-family: Arial, sans-serif;
	font-size: 16px;
	padding: 0 0 65px;
}

header {
	width: 100%;
}

header nav {
	width: 90%;
	margin: 20px auto;
	max-width: 1000px;
	background: #024959;
	text-align: center;
}

header nav ul {
	overflow: hidden;
	list-style: none;
	
}

header nav ul li {
	float: left;
}

header nav ul li a {
	color: #FFF;
	padding: 20px;
	display: inline-block;
	text-decoration: none;
}

header nav ul li a:hover {
	background: #037E8C;
}

header nav ul li span {
	margin-right: 10px; 
}

p {
	color: #FFF;
	font-size: 1.25em;
	font-family: sans-serif;
	font-weight: 600;
	padding: 2em;
}
/*
nav {
	background: #1E6381;
}

nav a {
	color: #FFF;
	text-decoration: none;
}

nav a:hover {
	background: #FFF;
	color: #1E6381;
	font-weight: bold;
}

nav ul {
	list-style: none;
	text-align: right;
}

nav li {
	display: inline-block;
	padding: 0.5em;
}
*/

section ul {
	text-align: center;
}

section ul li {
	display: inline-block;
	list-style: none;
	padding: 0.5em;
}

section ul li img {
	width: 350px;
	height: 250px;
}

article {
	color: #FFF;
	font-size: 1em;
	font-family: sans-serif;
	font-weight: 600;
	padding: 1em;
	margin: 1em;
	max-width: 75%;
	text-shadow: 5px 5px 10px rgba(0,0,0,1.5);
	text-align: left;
}

footer {
	background: red;
	color: #FFF;
	font-family: sans-serif;
	font-size: .5em;
	width: 100%;
	bottom: 0;
	position: fixed;
	height: 45px;
	text-shadow: 5px 5px 10px rgba(0,0,0,1.5);
}

section#Contacto {
	background-color:rgba(26,76,110,0.5);
}

section#services {
	background: #024959;
	border-radius: 0.25em;
	max-width: 1000px;
	margin: 2em auto;
}

section#services article {
	font-family: sans-serif;
	font-weight: normal;
	font-size: 1em;
	text-align: center;
	margin: 1em auto;
}

section#services img {
	max-width: 65%;
	border-radius: 0.25em;
}

article#DatosContacto {
	color: #000;
	text-shadow: none;
}

div#logo {
	text-align: center;
}

/*******     class    *******/
.menu_bar {
	display: none;
}

.pd-left {
	max-width: 90%;
	padding: 2em;
}

.fade {
	text-decoration:none;
}

.redonda {
	border-radius: 3.125em;
	box-shadow: 5px 5px 10px rgba(255,255,255, 0.7);
}

div.portafolio {
	margin: 2em auto;
	text-align:center;
}

div.portafolio article {
	display: inline;
	padding: 1em;
}

/******* medi@ Querys *******/

/* Nota: 716px hacer cambio de estilo de menu */
@media screen and (max-width: 928px) {
	header nav {
		width: 80%;
		height: 65%; /* mover el porcentaje de acuerdo a los elementos del menu para móviles*/
		left: -100%;
		margin: 0;
		position: fixed;
	}
	
	header nav ul {
		text-align: left;
	}
	
	header nav ul li {
		display: block;
		float: none;
		border-bottom:1px solid rgba(255,255,255, 0.3);
	}
	
	.menu_bar {
		display: block;
		width: 100%;
		background: #024959;
	}
	
	.menu_bar .bt-menu {
		display: block;
		padding: 20px;
		background: #024959;
		color: #FFF;
		text-decoration: none;
		font-weight: bold;
		font-size: 20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	.menu_bar span {
		float: right;
		font-size: 40px;
	}
	
	.all-animation.tab-panel label, .all-animation.tab-slide-panel label {
  		font-size: 18px;
  		font-weight:bold;
  		color: #FFF;
 	}
 	
 	section#services {
 		max-width: 95%;
 	}
 	
 	section#services img {
		max-width: 100%;	
	}
	
	div.portafolio {
		text-align: left;
	}
	
	div.portafolio article {
		margin-bottom: 2em;
	}
	
	article#formulario input[type="email"], article#formulario input[type="text"], article#formulario textarea {
		width: 95%;
	}
}

/******* img services *******/

.demo-3 {
    position:relative;
    width: 350px;
    height:250px;
    overflow:hidden;
    float:left;
    margin-right:20px
}
.demo-3 figure {
    margin:1em;
    padding:0;
    position:relative;
    cursor:pointer;
    margin-left:-50px
}
.demo-3 figure img {
    display:block;
    position:relative;
    z-index:10;
    margin:-15px 0
}
.demo-3 figure figcaption {
    display:block;
    position:absolute;
    z-index:5;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box
}
.demo-3 figure h2 {
    font-family: Verdana;
    color:#fff;
    font-size:20px;
    text-align:right;
}
.demo-3 figure p {
    display:block;
    font-family: Tahoma;
    font-size:12px;
    line-height:18px;
    margin:0;
    color:#fff;
    text-align:left
}
.demo-3 figure figcaption {
    top:0;
    left:0;
    width:100%;
    height:100%;
    padding:29px 44px;
    background-color:rgba(26,76,110,0.5);
    text-align:center;
    backface-visibility:hidden;
    -webkit-transform:rotateY(-180deg);
    -moz-transform:rotateY(-180deg);
    transform:rotateY(-180deg);
    -webkit-transition:all .5s;
    -moz-transition:all .5s;
    transition:all .5s
}
.demo-3 figure img {
    backface-visibility:hidden;
    -webkit-transition:all .5s;
    -moz-transition:all .5s;
    transition:all .5s
}
.demo-3 figure:hover img,figure.hover img {
    -webkit-transform:rotateY(180deg);
    -moz-transform:rotateY(180deg);
    transform:rotateY(180deg)
}
.demo-3 figure:hover figcaption,figure.hover figcaption {
    -webkit-transform:rotateY(0);
    -moz-transform:rotateY(0);
    transform:rotateY(0)
}

/******* css Form *******/
input[type="email"], input[type="text"], textarea {
	background: #EEE;
	border-radius: 0.25em;
	color: #000;
	font-size: 1em;
	padding: 0.25em;
	width: 65%;
}

input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
	background: #C6ECF9;
}

input[type="submit"] {
	background: #F90;
	border-radius: 0 0.25em;
	color: #500;
	font-family: Verdana;
	font-size: 1.25em;
	padding: 0.25em;
}

input[type="submit"]:hover {
	background: #7BBFD5;
	border-radius: 0.25em 0;
	color: #000;
	cursor: pointer;
}

label {
	cursor: pointer;
}

legend {
	color: #F90;
	font-size: 1.2em;
	font-weight: bold;
}

textarea {
	resize: none;
}

article#contactMap {
	background: #011E30;
	border-radius: 0.5em;
	margin: 0 auto;
	padding: 0.5em;
	text-align: justify;
	vertical-align: top;
}

fieldset {
	border: 0.1em solid #F60;
	border-radius: 0.5em;
	padding: 1em;
	
}