body {
	text-align: center;
	font-family: 'Roboto', sans-serif;
}

a, span, ::before, ::after, li, input, a, nav, img, header, .videoContainer, video, .videoControls, .imagen {
	-webkit-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.wrapper {
	max-width: 1180px;
	margin: 0 auto;
	text-align: left;
	padding: 0 20px;
}

header {
	padding: 25px 0 15px;
	box-shadow: rgba(0,0,0,.1) 0 5px 5px;
	background: #fff;
	position: relative;
	z-index: 99;
}

.logo {
	float: left;
}

h1, h4, nav a {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

nav {
	float: right;
	margin-top: 66px;
	margin-right: -40px;
}

nav li {
	float: left;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

nav a {
	color: #5c83a2;
	display: block;
	padding: 5px 0 3px;
	margin: 0 30px;
	font-size: 16px;
	border-top: 2px #fff solid;
}

nav a:hover {
	border-color: #5c83a2;
	color: #5c83a2;
}

.fixedMenu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 90;
	background: #fff;
	border-bottom: 1px solid #ddd;
}

.fixedMenu nav {
	margin: 5px 0;
}

.current a {
	color: #5c83a2;
	border-color: #5c83a2;
}

.slideshow {
	position: relative;
	box-shadow: rgba(0,0,0,.1) 0 3px 3px;
}

.slideshow a.pop {
	display: block;
}

.slideshow h1 {
	font-size: 36px;
	color: #fff;
	font-weight: normal;
	padding: 0;
	margin: 0;
	text-align: right;	
}

.slideshow h2 {
	font-size: 16px;
	color: #fff;
	font-weight: normal;
	padding: 0;
	margin: 0;
	text-align: right;
}

.slideshow h1 span {
	color: #CBD8E3;
	font-size: 28px;
}

.slideshow h2 span {
	color: #CBD8E3;
}

.slideshow_text {
	background: rgba(0, 0, 0, 0.36);
	padding: 30px 0 40px;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 20;
}

.col20, .col25, .col33, .col40, .col50, .col66, .col75, .col100 {
	text-align: left;
	float: left;
}

.col20 {width: 20%;}
.col25 {width: 25%;}
.col33 {width: 33.33%;}
.col40 {width: 40%;}
.col50 {width: 50%;}
.col66 {width: 66.66%;}
.col75 {width: 75%;}
.col100{width: 100%;}

.modulo {
	position: relative;
	margin: 10px;
	text-align: left;
}

.espacio {
	margin-bottom: 30px;
}

.content_home {
	background: #5c83a2;
	padding: 20px 0;
}

.content_home h1, .content h1, .content h4 {
	font-weight: normal;
	padding: 0 0 5px;
	margin: 0;
	border-bottom: 1px solid;
}

.content h1 {
	color: #507091;
	font-size: 32px;
	border-color: #cccccc;
}

.content_home h1 {
	color: #fff;
	font-size: 24px;
}

.content_home p, .content p {
	font-size: 14px;
	line-height: 1.5em;
	margin: 0.5em 0 1.2em;
}

.content_home p {
	color: #fff;
}

.content p {
	color: #333;
}

.content p span {
	color: #5c83a2;
}

.content_home a {
	color: #A9C3DB;
}

.content {
	padding: 30px 0;
}

.content h2 {
	font-size: 20px;
	font-weight: normal;
	padding: 0px 0 5px;
	margin: 15px 0;
	border-bottom: 1px solid;
	text-align: center;
	line-height: 1em;
	height: 1.3em;
}

.content a {
	color: #507091;	
}

.content img {
	width: 100%;
}

ul.directors {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
}

ul.directors li {
	width: 25%;
	float: left;
}

ul.directors .imagen {
	position: relative;
}

ul.directors .imagen:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/dot.png');
    border-radius: 50%;
    pointer-events: none;
}

.directors img {
	border-radius: 50%;
}

.directors .modulo {
	margin: 15px;
}

.content a:hover, .content_home a:hover {
	color: #769CC3;
}

.directors a:hover .imagen {
	opacity: .6;
}

.bullets {
	padding: 0 0 0 15px;
	font-size: 14px;
	line-height: 1em;
}

.bullets li {
	color: #5c83a2;
	list-style: disc;
	margin: 0 0 10px;
}

.content h3 {
	padding: 0;
	margin: 0;
	color: #5c83a2;
	font-size: 20px; 
	font-weight: normal;
}

.content h4 {
	color: #5c83a2;
	border-color: #cccccc;
	font-size: 24px;
}

.content h5 {
	margin: 10px 0 -5px;
	padding: 0;
	color: #5c83a2;
	font-size: 16px;
	font-weight: normal;
}

.content iframe {
	margin: 15px 0 0 0;
}

.adress {
	background: #618AB6;
	padding: 10px 20px;
	margin-top: -10px;
	height: 291px;
}

.adress h4, .adress p {
	color: #fff;
}

.img_director {
	display: block;
	background-position: center center;
	background-size: cover;
	padding: 300px 0 0;
	position: relative;
	background-color: #2D2D2D;
}

a.volver {
	float: right;
	position: relative;
	top: -30px;
	display: block;
	font-size: 16px;
	font-family: 'Oswald';
	text-transform: uppercase;
	background: url('../img/back.png') left center no-repeat;
	background-size: 20px;
	padding-left: 25px;
}

a.volver:hover {
	padding-left: 30px;
}

.contacto_form input, .contacto_form label, .contacto_form textarea {
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: none;
	resize: none;
	font-size: 14px;
}

input:focus, textarea:focus {
	outline: none !important;
	box-shadow: inset 0 0 0 1px #bbb;
}

.contacto_form label {
	font-weight: normal;
	margin: 10px 0 5px;
}

.contacto_form p {
	margin-top: 15px;
}

.contacto_form p span {
	font-weight: 700; 
	color: #5c83a2;
}

.contacto_form input, .contacto_form textarea {
	background-color: #dfe5f5;
	font-size: 14px;
	color: #333;
	padding: 5px 7px;
	height: 30px;
}

.contacto_form textarea {
	margin-bottom: 20px;
	height: 100px;
}

.contacto_form input[type=submit] {
	display: block;		
	text-decoration: none;
	position: relative;
	background: #507091;
	font-size: 14px;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 15px;
	width: 200px;
}

.contacto_form input[type=submit]:hover {
    background: #74818a;
    border-color: #74818a;
    color: #fff;
}

.contactError, .contactThanks {
	display: none;
	background: #DFE5F5;
	padding: 10px 20px 5px;
    position: relative;
}

.contactError .close, .contactThanks .close {
	background: #5C83A2;
	position: absolute;
	right: 0;
	top: 0;
	padding: 10px;
	border: 0;
	z-index: 99;
}

span.inputError {
	text-align: right;
	position: relative;
	top: -10px;
	font-size: 12px;
	color: red;
	float: right;
	margin: -10px 0;
}

footer {
	padding: 30px 0;
	background: #dfe5f5;
	font-size: 11px;
}

.left {
	text-align: right;
}

footer a {
	font-weight: 700;
	color: #000;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

.projects {
	list-style: none;
}

.projects li {
	width: 33.33%;
	float: left;
}

.projects li a {
	margin: 10px;
	display: block;
	position: relative;
}

.projects li a:hover img {
	opacity: .6;
}

.projects li a.active img {
	opacity: 1 !important;
}

.projects li a:not(.active):hover::before {
	content: '';
	width: 100%;
	height: 100%;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	background: url('../img/v_playbig.png') center 35% no-repeat;
	z-index: 10;
}


.projects li a.active {
	background: #507091;
}
.projects li a.active h5, .projects li a.active p {
	color: #fff;
}

.projects li a h5, .projects li a p {
	padding-left: 10px;
	height: 1.5em;
	overflow: hidden;
}
.projects li a p {
	padding-bottom: 10px;
	margin: 0;
}

.clients {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
}

.clients li {
	width: 10%;
	float: left;
	padding: 10px;
	box-sizing: border-box;
}

.clients img {
	-webkit-filter: grayscale(1);
	-o-filter: grayscale(1);
	filter: grayscale(1);
	opacity: .5;
}

.clients img:hover {
	-webkit-filter: none;
	-o-filter: none;
	filter: none;
	opacity: 1;
}

/*========================================================================================
VIDEO POPUP
========================================================================================*/

.videoPop {
    position: fixed;
    z-index: 110;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.8);
    display: flex;
    justify-content: center;
    align-items: center;

    display: none;
}

.videoPop .wrapper {
	width: 100%;
}

/*========================================================================================
VIDEO
========================================================================================*/
#video2 {
	display: none;
}


.videoContainer {
	display: none;
	overflow: hidden;
	-webkit-transform: scale3d(1,1,1);
	-ms-transform: scale3d(1,1,1);
	-o-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.videoContainer.open {
	display: block;
}

.videoContainer.closeLoad {
	-webkit-transform: scale3d(1,0,1);
	-ms-transform: scale3d(1,0,1);
	-o-transform: scale3d(1,0,1);
	transform: scale3d(1,0,1);
}


video {
	width: 100%;
	cursor: pointer;
	max-height: 60vh;
	background: #000 url('../img/loading.gif') center center no-repeat;
}

.videoControls {
	background: #5c83a2;
	padding: 5px 10px;
	width: 100%;
	box-sizing: border-box;
	height: 45px;
	position: relative;
	z-index: 3147483647;
	z-index: 999999999999;
}

.videoControls button {
	background: none;
	border: none;
	color: #fff;
	width: 45px;
	height: 45px;
	cursor: pointer;
	padding: 0;
	z-index: 2;
}

.videoControls img {
	width: 25px;
}

.videoControls input[type=range] {
	background: none;
	-webkit-appearance: none;
	display: inline-block;
	position: relative;
	top: 4px;
}
.videoControls input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
}
.videoControls #playPause {
	position: absolute;
	left: 0;
	top: 0;
}
.videoControls .time {
	/*position: relative;
    padding-left: 95px;
    padding-right: 255px;
    height: 45px;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;*/
}
.videoControls #timing {
	width: 100%;
	padding-left: 85px;
	padding-right: 245px;
	box-sizing: border-box;
}
.videoControls #timing:focus {
	box-shadow: none;
}
.videoControls #fullScreen {
	position: absolute;
	right: 0;
	top: 0;
}
.videoControls #mute {
	position: absolute;
	right: 150px;
	top: 0;
}
.videoControls #volume {
	width: 100px;
	position: absolute !important;
	right: 45px;
	top: 20px !important;
}

.videoControls input[type=range]:focus, .videoControls button:focus {
	outline: none;
	box-shadow: none;
}
.videoControls input[type=range]::-ms-track {
	width: 100%;
	cursor: pointer;
	background: transparent; /* Hides the slider so custom styles can be added */
	border-color: transparent;
	color: transparent;
}
.videoControls input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	height: 14px;
	width: 14px;
	border-radius: 50%;
	background: #ffffff;
	cursor: pointer;
	position: relative;
	top: -5px;
	box-shadow: 0 0 0 2px #5c83a2;
}

.videoControls input[type=range]::-moz-range-thumb, .videoControls input[type=range]::-ms-thumb {
	-webkit-appearance: none;
	height: 10px;
	width: 10px;
	border-radius: 50%;
	background: #ffffff;
	cursor: pointer;
	box-shadow: 0 0 0 1px #5c83a2;
}
.videoControls input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 5px;
	cursor: pointer;
	background: #5c83a2;
	border-radius: 1.3px;
	border: 1px solid #fff;
}

.videoControls.full {
	position: fixed;
	left: 0;
	bottom: 0;
}

video#video1::-webkit-media-controls {
	display: none !important;
}

.videoControls #currentTime {
	position: absolute;
	left: 45px;
	top: 12px;
	color: #fff;
}

.videoControls #totalTime {
	position: absolute;
	right: 200px;
	top: 12px;
	color: #fff;
}

.videoContainer .data h1 {
	margin: 0;
	border: 0;
	padding: 0;
	color: #5C83A2;
	font-size: 24px;
	margin-top: 10px;
}

.videoContainer .data h2 {
	text-align: left;
	border: 0;
	margin: 0;
	font-size: 16px;
	color: #666;
	height: auto;
	padding: 3px 0;
}

.videoContainer .data h3 {
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 600;
	padding: 0;
	color: #6C6C6C;
}

.videoContainer .data strong {
	text-transform: uppercase;
	color: #7B7B7B;
}

.videoContainer .data {
	padding: 20px 20px 15px;
	box-sizing: border-box;
	background: #eee;
}

.videoContainer #closeVideo {
	background: #5C83A2;
	position: absolute;
	right: 0;
	top: 0;
	padding: 10px;
	border: 0;
	z-index: 99;
}

.videoControls.hidding {
	opacity: 0;
	pointer-events: none;
}

.videoControls.not(.hidding) {
	opacity: 1;
	pointer-events: auto;
}

@media (max-width: 1100px) {
	ul.directors li {
		width: 25%;
	}
	.content h2 {
		font-size: 18px;
	}
}

@media (max-width: 800px) {
	.col33, .col66, .col25, .col75 {
		width: 50%;
	}
	.contactInfo {
		width: 100%;
	}
	.contactInfo p {
		border-top: 1px solid #486E8C;
		padding-top: 10px;
	}
	ul.directors li {
		width: 33.33%;
	}
	header .wrapper {
		text-align: center;
	}
	.logo {
		float: none;
		display: block;
		text-align: center;
	}
	nav {
		width: 100%;
		margin: 40px 0 -10px;
	}
	nav li {
		width: 25%;
		text-align: center;
	}
	nav li a {
		display: inline-block;
		font-size: 14px;
	}
	header .modulo {
		margin: 20px 0 0 0;
	}
	.img_director {
		background-position: 60% center;
		background-position: right -670px center;
	}
	a.volver {
		margin-bottom: 20px;
		color: rgba(0,0,0,0);
		width: 0;
		height: 1em;
		overflow: hidden;
		left: 0;
		top: 15px;
		right: auto;
		position: absolute;
	}
	.content h1.dirName {
		padding-left: 30px;
	}
	.clients li {
		width: 16.66%;
	}
	.projects li {
		width: 33.33%;
	}
	.fixedMenu {
		display: block;
	}
}

@media (max-width: 640px) {
	ul.directors li {
		width: 50%;
	}
	.col50, .col66, .col33 {
		width: 100%;
	}
	nav li a {
		margin: 0;
	}
	.contacto_form input[type=submit] {
		width: 100%;
	}
	header {
		padding: 0 0 15px;
	}
	nav {
		margin-top: 20px;
	}
	.logo img {
		width: 150px;
	}
	iframe {
		pointer-events: none;
	}
	.clients li {
		width: 25%;
	}
	.projects li {
		width: 50%;
	}
	.videoControls #volume, .videoControls #mute, .videoControls #totalTime, .videoControls #currentTime {
		display: none;
	}
	.videoContainer #closeVideo {
		padding: 5px;
	}
	.videoControls {
		height: 35px;
		padding: 1px 5px;
	}
	.videoControls #timing {
		padding-left: 35px;
		padding-right: 35px;
	}
	.videoControls button {
		width: 35px;
		height: 35px;
	}
	video#video1::-webkit-media-controls {
		display: auto !important;
	}
	.videoControls.hidding {
		opacity: 1;
		pointer-events: auto;
	}
	#video1, .videoControls {
		display: none;
	}
	#video2 {
		display: block;
	}
	.videoContainer .data h1 {
		font-size: 20px;
	}
	.videoContainer .data h2 {
		font-size: 16px;
	}
	.videoContainer .data {
		padding: 10px;
	}
	.adress {
		height: auto;
	}
	.wrapper {
		padding: 0 5px;
	}
	.projects li a {
		margin: 5px;
	}
	.projects {
		padding: 0 5px;
	}
}

@media (max-width: 420px) {
	ul.directors li {
		width: 100%;
	}
	.col25 {
		width: 100%;
	}
	.clients li {
		width: 33.33%;
	}
	.projects li {
		width: 100%;
	}
	h1.dirName {
		font-size: 28px;
	}
	a.volver {
		top: 12px;
	}
}