@import url('https://fonts.googleapis.com/css?family=Comfortaa:300,400,700');

body{ 
	padding: 0px;
	font-family: 'Comfortaa', cursive;  
}

footer{
	background: #2c3e50;
	padding: 12px;
	color: #fff;
	font-weight: 300;
	height: auto;
}

footer img{
	max-width: 100px;
	height: auto;
	display: inline-block;
	opacity: 0.5;
	float: right;
}

header{
	background: transparent url("../imagenes/fondo.jpg") repeat scroll 50% 0;
	text-align: center;
	min-height: 550px;
	display: block;
	position: relative;
	top: 0px;
	left: 0;
	width: 100%;
	color: #fff;
	padding: 30px 40px 0 40px;
	overflow:  hidden;
}

header h1{
	font-weight: 300;
	font-size: 22px;
	max-width: 68%;
	display: inline-block;
	margin: 0;
}

header img.logo{
	display: inline-block;
	max-width: 310px;
	height: auto;
	width: 100%;
}

header .tablet{
	max-width: 750px;
	display: inline-block;
	text-align: center;
	padding: 10px;
	position: relative;
}

header .tablet img{
	transition: all 0.4s;
	overflow:  hidden;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	width: 100%;
	height: auto;
	bottom: -200px;
	z-index: 1
}

header .tablet:hover img {
	transition: all 0.4s;
	bottom: 10px;
}

header .tablet:hover .embed-responsive{
	transition: all 0.4s;
	bottom: 76px;
}

header .tablet .embed-responsive{
	transition: all 0.4s;
	overflow:  hidden;
	left: 9%;
	position: absolute;
	width: 82%;
	height: auto;
	bottom: -130px;
	z-index: 2
}

#cargarMas{
	transition: all 0.2s;
	display: inline-block;
	border: 1px solid #ccc;
	font-size: 17px;
	padding: 6px 12px;
	border-radius: 2px;
	opacity: 0.7;
}

#cargarMas:hover{
	transition: all 0.2s;
	background: #DEDEDE;
	opacity: 1;
}

.formulario{
	background: transparent url("../imagenes/fondo-formulario.jpg") repeat scroll 50% 0;
	padding: 50px 0; 
	width: 100%;
	margin-top: 30px;
}

.formulario .container{
	background: rgba(255,255,255,0.6);
	padding-top: 20px;
}

.formulario button{
	padding: 8px 14px;
	color: #fff;
	background: #4DAF7C;
	border-radius: 6px;
	font-weight: 700;
	border: none;
	font-size: 16px;
	float: right;
	margin-bottom: 30px;
	box-shadow: 0px 2px 2px rgba(0,0,0,.3);
}

.formulario button:hover{
	background: #03A678;
}

.formulario img.correo{
	width: 45px;
	height: auto;
	margin-right: 5px;
	position: relative;
	top: -4px;
}

img.patylogo{
	max-width: 250px;
	height: auto;
	margin-bottom: 8px;
	display: inline-block;
	width: 100%;
}

.formulario input, .formulario textarea{
	width: 100%;
	border: 1px solid #ccc;
	padding: 8px;
	font-size: 16px;
	border-radius: 4px;
	margin-bottom: 8px;
	resize: none;
	box-shadow: 0px 2px 2px rgba(0,0,0,.1);
}

.social a{
	height: 40px;
	display: inline-block;
	margin: 4px;
	text-decoration: none;
	
}


.social a img{
	width: auto;
	height: 100%;
}

.social span{
	font-size: 15px;
	font-weight: 400;
	margin-top: 8px;
	display: inline-block;
}

.trabajos{
	margin-top: 50px;
	transition: all 0.5s;
}

.trabajos div a{
	transition: all 0.4s;
	position: relative;
	margin-bottom: 20px;
	text-align: center;
	display: inline-block;
	top: 0;
	position: relative;

}

.trabajos div a:hover{
	transition: all 0.4s;
	position: relative;
	top: -20px;
}

.trabajos div a h2{
	margin: 5px 0 0px 0;
	font-size: 16px;
}

.trabajos div a h3{
	margin: 0px 0 20px 0;
	font-size: 15px;
	color: #2C3E50;
}

.trabajos .play{
	transition: all 0.4s;
	position: absolute;
	width: 100%;
	height: 100%;
	display: block;
	top: 0;
	left: 0;
	color: #fff;
	font-weight: 700;
	text-shadow: 0 0 1px rgba(0,0,0,.8);
	text-align: center;
}

.trabajos .play:hover{
	transition: all 0.4s;
	background: rgba(0,0,0,.3);
}

.trabajos .play img{
	opacity: 0.5;
	display: inline-block;
	margin-top: 25%;
}

.whatsaap{
	position: fixed;
	right: 10px;
	bottom: 20px;
	display: inline-block;
}

.whatsaap a{
	background: #00A859;
	color: #fff;
	display: inline-block;
	border-radius: 5px;
	overflow: hidden;
}

.whatsaap a img{
	max-width: 150px;
}

@media (max-width: 768px){

	header{
		min-height: 500px;
	}

	header h1{
		font-weight: 300;
		font-size: 20px;
		max-width: 90%;
		display: inline-block;
	}

	header .tablet img{
		bottom: 0;
		padding: 0px;
		border-radius: 10px;
	}

	header .tablet img{
		bottom: 0;
		padding: 0px;
		z-index: 1;
	}
	
	header .tablet .embed-responsive{
		display: none;
		z-index: -1;
	}

	header .tablet .videotablet{
		position: absolute;
		z-index: 2;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
	}


	.formulario img.correo{
		width: 30px;
		margin-right: 0px;
	}

	.formulario .titulo{
		font-size: 20px;
	}

	.formulario .social{
		padding-bottom: 15px;
		border-bottom: 1px solid #ccc;
		margin-bottom: 15px;
	}

	.social a{
	width: 60px;
	display: inline-block;
	margin: 4px;
	text-decoration: none;
	
}
}