/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #53565A;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

h3 {
    display: block;
    font-size: 1.17em!important;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

p{
	color: #53565a;
}



/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body{
	font-family: 'Lato', sans-serif;
	font-size:14px;
}

header{
	width:100%;
	text-align: right;
}

.bolder{
	font-weight:bolder;
}

ul.navbar.active{
	background-color: #0085AD;
}

ul.navbar{
	width: 100%;
    position: fixed;
    z-index: 999;
    padding: 25px 5% 15px;
    list-style: none;
    box-sizing: border-box;
    margin: 0;
    display: block;
}
ul.navbar li{	
	text-transform: uppercase;
    padding: 10px;
    display: inline-block;
    text-align: left;
}
ul.navbar li a{
	text-decoration:none;
	color: #fff;
}
ul.navbar li:first-child{
	float: left;
	padding:0;
}
.slideshow-container ul{
	margin:0;
}
.cont-text-slide{
	width: 56%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 50%;
}
.cont-text-slide h1{
	color:#fff;
	margin:0;
	font-size: 30px;
	text-transform: uppercase;
    line-height: 38px;
    text-align: center;
}
.cont-quehacemos{
	background-color:#f6f9fa;
	padding:85px 5%;
}
.txt-quehacemos, .txt-loquehacemos, .txt-servicios, .txt-equipo, .txt-contacto{
	text-align:center;
}

.txt-quehacemos h1, .txt-loquehacemos h1, .txt-servicios h1, .txt-equipo h1, .txt-contacto h1{
	color:#0085AD;
	margin:0;
}

.txt-servicios h3{
	color:#0085AD;
	margin:15px 0;
}

.dest-azul{
	color: #0085ad;
}
.cont-loquehacemos{
	padding:85px 5%;
}
.cont-servicios{
	padding:85px 5%;
	background-color:#f6f5f6;
}
.servicios-info{
	display:inline-block;
	vertical-align:top;
    margin-left: 70px;
    margin-bottom: 45px;
}
.servicios-info:first-child{
	display:inline-block;
	vertical-align:top;
    margin-left: 0;
}
.servicios-info:nth-child(4){
	display:inline-block;
	vertical-align:top;
    margin-left: 0;
}
.cont-info-servicios{
	padding:60px 0 0 0;
	width: 870px;
    margin: 0 auto;
}
.cont-metodologia{
	/*background-image:url(../img/back_metodologia.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	padding:85px 5%;*/
	background-color: #f6f9fa;
}
.txt-metodologia{
	text-align:center;
}

.txt-metodologia h1{
	color:#0085AD;
	margin:0;
}

.info-metodologia{
	width: 768px;
    margin: 50px auto;
    color: #fff;
    text-align: center;
}

.cont-info-metodologia{
	display: inline-block;
    vertical-align: top;
    margin: 0 75px;
    text-align: left;
    font-size: 17px;
}

.cont-equipo{
	padding:85px 5%;
}
.cont-info-equipo{
	width: 1000px;
    margin: 25px auto 0 auto;
}

.cont-info-equipo-persona{
	display:inline-block;
	vertical-align:top;
	margin: 0 30px;	
	cursor:pointer;
	position: relative;
}

.cont-info-equipo-persona img{
	cursor:pointer;
	transition: 0.3s;
	-webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  	filter: grayscale(100%);
}

.cont-info-equipo-persona img:hover{
	cursor:pointer;
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  	filter: grayscale(0%);
}

.info-equipo-persona-2{
	position: absolute;
    top: 120px;
    left: 63px;
    color: #fff;
}

.info-equipo-persona-2 p{
	margin:0;
	color: #fff;
}

.info-equipo-persona-3{
	position: absolute;
    top: 120px;
    left: 63px;
    color: #fff;
}

.info-equipo-persona-3 p{
	margin:0;
	color: #fff;
}

.info-equipo-persona{
    position: absolute;
    top: 120px;
    left: 88px;
    color: #fff;
}

.info-equipo-persona h3{
	margin:0;
}

.info-equipo-persona p{
	margin:0;
	color: #fff;
}

.info-equipo-persona hr{
	margin:10px 0;
}

.img-info-persona{
	margin: 0 5px;
}
.cont-contacto{
	padding:85px 5%;
	background-color:#e8f2f6;
}
.cont-mapa-contacto{
	padding: 20px 0 0 0;
    text-align: justify;
    width: 980px;
    margin: 0 auto;
}
.cont-mapa-contacto h3{
	 color: #00729E;
}
.cont-mapa-contacto p{
	display: inline-block;
	vertical-align: top;
	margin: 0 25px;
	width: 320px;
	text-align: left;
}
footer{
	background-color:#434448;
	padding:25px 0;
	width:100%;
}

.contenedor-timeline {
    width: 40%;
    margin: 50px auto 0 auto;
    overflow: hidden;
    height: 300px;
}

.txt-quehacemos p{
	 margin: 50px auto;
}

iframe{
	width:600px;
}

/* EQUIPO */

.our-team{
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.our-team:before,
.our-team:after{
    content: "";
    width: 130px;
    height: 150px;
    position: absolute;
    z-index: -1;
}
.our-team:before{
    bottom: -20px;
    left: 0;
}
.our-team:after{
    top: -20px;
    right: 0;
}
.our-team .pic{
    margin: 0;
    position: relative;
    border: 3px solid #0085ad;
    transition: all 0.5s ease 0s;
}
.our-team:hover .pic{
    border-color: #33343e;
}
.our-team .pic:after{
    content: "";
    width: 100%;
    height: 0;
    background: #33343e;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform-origin: 0 0 0;
    transition: all 0.5s ease 0s;
}
.our-team:hover .pic:after{
    height: 100%;
    opacity: 0.85;
}
.our-team img{
    width: 100%;
    height: auto;
}
.our-team .team-content{
    width: 100%;
    position: absolute;
    top: -50%;
    left: 0;
    transition: all 0.5s ease 0.2s;
}
.our-team:hover .team-content{
    top: 38%;
}
.our-team .title{
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    text-align: center;
}
.our-team .post{
    font-size: 14px;
    color: #fff;
    line-height: 26px;
}
.btn-primary {
    color: #fff;
    background-color: transparent;
    border-color: transparent; 
    padding: 0;
}

.btn-primary:hover {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}
.our-team .social{
    padding: 0;
    margin: 0;
    list-style: none;
    width: 253px;
}

.our-team .social li{
    display: inline-block;
}
.our-team .social li a{
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 18px;
    color: #fff;
    margin: 0 7px;
    transition: all 0.5s ease 0s;
}
/*.our-team .social li a:hover{
    background: #fff;
}*/
.btn-primary {
    color: #fff;
    background-color: transparent!important;
    border-color:  transparent!important;
}

.close-modal {
    color: #0085ad;
    font-size: 32px;
    position: absolute;
    top: 15px;
    z-index: 9999999;
    right: 20px;
}

.btn {
    display: initial;
    font-weight: initial;
    text-align: initial;
    white-space: initial;
    vertical-align: initial;
    -webkit-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
    border: transparent;
    padding: initial;
    font-size: initial;
    line-height: initial;
    border-radius: initial;
    transition: initial;

}

.menu_mobile{
	display:none;
}

.cont_menu_mobile{
	display:none;
}


/* MEDIA QUERIES */

@media only screen and (min-width: 1400px) {
    .cont-text-slide {
		width: 43%;
	    left: 0;
	    right: 0;
	    margin-left: auto;
	    margin-right: auto;
	    position: absolute;
	}
}

@media only screen and (max-width: 1053px) {
	ul.navbar {
	    padding: 25px 2% 15px;
	}
	
	ul.navbar li {
	    padding: 10px 5px;
	}
	
	.cont-info-equipo {
	    width: 100%;
	}
	
	.cont-info-equipo-persona {
	    margin: 15px 0 0 0;
	}
	
	.cont-info-equipo-persona {
	    width: 257px;
    	margin: 0 auto 20px auto;
    	display: block;
	}
	
	.cont-mapa-contacto p {
	    display: block;
	    margin: 20px 0;
	    width: 100%;
	}
	
	.cont-mapa-contacto {
	    padding: 20px 0 0 0;
	    text-align: center;
	    width: 100%;
	    margin: 0 auto;
	}
	
	.cont-text-slide h1 {
	    font-size: 20px;
	}
	
	.contenedor-timeline {
	    width: 100%;
	}
	
	.our-team .team-content {
	    top: 71px;
	}
	
	.our-team .social {
	    width: 227px;
	}
	
	.cont-text-slide {
	    width: 56%;
	    left: 0;
	    right: 0;
	    margin-left: auto;
	    margin-right: auto;
	    position: absolute;
	}
}

@media only screen and (max-width: 990px){
    .our-team{ 
    	margin-bottom: 30px; 
    }
}

@media only screen and (max-width: 950px) {
		ul.navbar li {
	    display: none;
	}
	
	.menu_mobile{
		display: block;
	    position: fixed;
	    z-index: 99999;
	    padding: 10px 20px;
	    width: 100%;
	    background-color: #0085AD;
	}
	
	.logo_mobile{
		max-width: 160px;
		float: left;
	}
	
	.hamburger{
		float: right;
		position: relative;
    	top: 10px;
	}
	
	.hamburger i{
		color:#fff;
		font-size: 30px;
		cursor: pointer;
	}
	
	.logo_mobile a img{
		width: 100%;
	}
	
	.slideshow-container{
		padding-top: 74px;
	}
	
	.cont-text-slide {
		top: 34%;
	    width: 56%;
	    left: 0;
	    right: 0;
	    margin-left: auto;
	    margin-right: auto;
	    position: absolute;
        text-align: center;
	}
	
	.cont-text-slide h1 {
	    width: 386px;
	}	
    .cont-info-servicios {
	    width: 100%;
	}
	
	.servicios-info:first-child {
	    display: block;
	}
	
	.info-equipo-persona:nth-child(2) {
	    left: 86px;
	}
	
	.servicios-info {
	    display: block;
	    margin: 0 0 65px 0;
	}
	
	.cont-info-equipo {
	    width: 258px;
	}
	
	.cont-info-equipo-persona {
	    display: block;
	    margin: 0 0 50px 0;
	}
	
	.info-metodologia {
	    width: 100%;
	}
	
	.cont-info-metodologia {
	    display: block;
	    width: 200px;
	    margin: 0px auto;
	}
	
	.cont-mapa-contacto p {
	    display: block;
	    margin: 30px 0;
	    width: inherit;
	}
	
	.cont-mapa-contacto {
		text-align: center;
	    width: 100%;
	    margin: 0 auto;
	}
	
	.cont-servicios {
	    padding: 30px 5%;
	}
	
	.cont-quehacemos {
	    padding: 30px 5%;
	}
	
	.cont-metodologia {
	    padding: 30px 5%;
	}
	
	.cont-equipo {
	    padding: 30px 5%;
	}
		
	.cont-contacto {
	    padding: 30px 5%;
	}
	
	iframe{
		width:100%;
	}
	
	.contenedor-timeline {
	    width: 100%;
	}
	
	.col-sm-6 {
	    -webkit-box-flex: initial;
	    -ms-flex: 0 0 50%;
	    flex: initial;
	    max-width: initial;
	}
	
	.our-team .social {
	    width: 176px;
	}
	
	.cont_menu_mobile{
		background-color: #0085ad;
		position: absolute;
		width: 92%;
		padding: 10px;
		text-align: center;
		top: 74px;
	}
	
	.cont_menu_mobile a{
		display: block;
		color: #fff;
		padding: 10px;
    	text-transform: uppercase;
    	border-bottom: 1px solid #fff;
	}
	
	
}



@media only screen and (max-width: 480px){
	.logo_mobile{
		max-width: 100px;
	}
	
	.slideshow-container {
	    padding-top: 53px;
	}
	
	.cont-text-slide {
	    width: 53%;
    	font-size: 12px;
    	top: 26%;
	}
	
	.cont-text-slide h1 {
	    width: 220px;
	}
	
	.slideshow-container ul {
	    width: 100%;
	}
	
	/*header {
	    display: none;
	}*/
	
	.cont-text-slide h1 {
	    font-size: 12px;
	}
	
	.cycle-prev {
		display:none;
	}
	
	.cycle-next {
	    display:none;
	}
	
	#timeline div .text p {
	    margin: 57px 20px 0!important;
	}
	
	#timeline div.active .date h2 {
	    font-size: 12px!important;
	}
	
	#timeline div .date h2 {
	    font-size: 12px!important;
	}
	
	.cont_menu_mobile {
	    top: 53px;
	}
}

@media only screen and (max-width: 480px){
	
	#timeline div .text p {
	    margin: 61px 20px 0!important;
	    font-size: 12px;
	}
	
	#timeline div.active .date h2 {
	    font-size: 10px!important;
	}
	
	#timeline div .date h2 {
	    font-size: 10px!important;
	}
	
	.hamburger {
	    float: right;
	    position: relative;
	    top: 2px;
	}
}

@media only screen and (max-width: 375px){
	.cont-text-slide {
	    width: 56%;
	}
	
	.cont-text-slide {
	    top: 23%;
	}
}

@media only screen and (max-width: 320px){
		
	.cont-text-slide h1 {
	    width: 199px;
	}
	
	.cont-text-slide {
	    width: 63%;
	}
	
	.cont-text-slide {
	    top: 26%;
	}
}










/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
