/* Responsive CSS */

/* HACK FOR IE 10/11 */
@media all and (-ms-high-contrast:none) {
	
	/* CORRECCION SVG */	
					/*.menu-open .main-nav-ct {overflow: hidden;}
	*::-ms-backdrop .menu-open .main-nav-ct {overflow: hidden;}*/

}

/* HACK FOR EDGE 12+ */
/*@supports (-ms-ime-align:auto) {
	.menu-open .main-nav-ct {overflow: hidden;}
}*/

/* Media queries
-------------------------------------------------------------- */

@media only screen and (max-width: 1366px) {
	.container.full-width.agenda-container {width: 90%;}
}


/* iPAD PRO LANDSCAPE*/
@media only screen and (max-device-width: 1500px) and (orientation: landscape) {

	/*.nav-trigger{background: orange !important;}*/

	/* CONOCIMIENTO */
	body.page-template-conocimiento-areas {height: 100%;}

}


@media only screen and (max-device-width: 1500px) and (orientation: portrait) {

	/*.nav-trigger{background: blue !important;}*/

	/* CONOCIMIENTO */
	body.page-template-conocimiento-areas {height: 100%;}

}


@media only screen and (max-width: 1200px) {
	
	/*.nav-trigger{background: red !important;}*/

	.sec-proyectos .card-item .card-container {min-height: 18em;}

}

@media only screen and (max-width: 1024px) {
	
	/*.nav-trigger{background: green !important;}*/

	/* GENERAL */
	.header-logo,
	.header .logo,
	.sec-acceso .header-access {width: 19em; height: 6em;}
	.header-number {width: 80%; margin-left: 14%;}
	.header-number-ct {margin-left: 5.6em;}
	.sec-default .entry-header-block {margin-left: 10%; margin-right: 10%;}
	.container.small-width,
	.container.medium-width,
	.container.full-width:not(.agenda-container),
	.area-buttons, 
	.member-cv {width: 80%;}
	.portada-container, 
	.conocimiento-container,
	.cooperacion-container {margin-left: 0}
	.portada-top, .somos-top, .conocimiento-top, .cooperacion-top {padding-right: 7%; padding-bottom: 0}
	.video-container {margin-top: 3em;}
	.play-button {margin-top: -25px; margin-left: -25px;}

	[class^="icon-"]:before, [class*=" icon-"]:before,
	[class^="icon-"].big-icon:before, [class*=" icon-"].big-icon:before {font-size: 24px; line-height: 24px;}
	[class^="icon-"].xxbig-icon:before, [class*=" icon-"].xxbig-icon:before {font-size: 50px;}
	.nbr {width: 50px; height: 50px; line-height: 50px; font-size: 36px;}
	.nbr-item:hover .item-ct .nbr {width: 56px; height: 56px; line-height: 56px; font-size: 42px;}

	form .row {margin-right: -2%; margin-left: 0}

	/* Columnas */
	.col-3.card-item,
	.col-3.noticia-item,
	.empresa-show .empresa-members .col-3 {width: 50%;}
	.team-ct .col-4 {width: 33.33333%}
	.col-3.noticia-item:nth-child(3n+1),
	.col-3.card-item:nth-child(3n+1),
	.empresa-show .empresa-members .col-3:nth-child(3n+1),
	.team-ct .col-4:nth-child(4n+1) {clear: none;}
	.team-ct .col-4:nth-child(3n+1) {clear: left}

	/* MENU */
	.main-nav-ct {width: 43%;}	
	.menu-open .main-nav-ct, .menu-fixed .main-nav-ct {left: 57%}

	/* HOME */
	.data-item {width: 10em; height: 10em;}
	.data-item .data-item-number {font-size: 1.6em;}

	/* CONOCIMIENTO */
	.conocimiento-top {padding-bottom: 4em;}

	/* FOOTER */
	.footer .nav-social {width: auto; margin-right: 3%;}
	.footer a.bottom-logo {float: left; position: static;
		-webkit-transform: translateX(0);
	     transform: translateX(0);		
	}

	/* HOME */
	.home-top {padding-top: 4em;}
	.home-top .home-ct {margin-top: 3em;}

	/* SOMOS */
	.somos-top .entry-summary blockquote {padding-right: 0; padding-left: 9%;}

	/* COOPERACIÓN - EMPRESAS */
	.empresa-card {padding-top: 0}
	.empresa-card > .col-5 {width: 100%; float: none;}
	.empresa-card > .col-5 > img {width: 26%; float: left; margin-right: 3%;}
	.empresa-card .empresa-contact {float: left; width: 40%; margin-top: 3em; margin-bottom: 2em;}
	.empresa-card .empresa-contact.contact-personal {width: 23%; padding-top: 0}
	.empresa-card > .col-2 {width: 60%; clear: both}
	.empresa-card > .col-4 {width: 40%;}

	/* COOPERACIÓN - RETOS */
	.reto-card .image-container {max-width: 100%;}

	/* COMPETITIVIDAD - TALENTO */
	.sec-talento .card-item .card-container,
	.sec-proyectos .card-item .card-container {min-height: 21em;}
	.talento-card .container.full-width {width: 100%}

	/* NOTICIA */
	.noti-list-ct .noticia-item.col-3:nth-child(3n)::after,
	.noti-list-ct .noticia-item.col-3:nth-child(3n+1)::before {display: block;}
	.noti-list-ct .noticia-item:first-of-type::before,
	.noti-list-ct .noticia-item.col-3:nth-child(even)::after,
	.noti-list-ct .noticia-item.col-3:nth-child(odd)::before {display: none;}

	/* AGENDA */
	.container.full-width.agenda-container {width: 100%;}

	/* CONTACTO */
	.sec-contacto .col-2-3 > .container {margin-top: 5em; margin-left: 0}

}



/* IPAD Landscape */
@media only screen and (max-device-width: 1024px) and (orientation: landscape) {
	/*.nav-trigger{background: yellow  !important;}*/
}




@media only screen and (max-width: 820px) {
	/*.nav-trigger{background: lightblue !important;} */
}



@media only screen and (max-device-width: 820px) and (orientation: landscape) {
	
	/*.nav-trigger{background: pink !important;}*/

	/* GENERAL */
	.animado {
	  -webkit-animation-name: none;
	  animation-name: none;
	  visibility: visible !important;
	}


}


/* IPAD Portrait */
@media only screen and (max-device-width: 768px) and (orientation: portrait) {}
/* Small Tablets Landscape */
@media only screen and (max-device-width: 768px) and (orientation: landscape) {}


@media only screen and (max-width: 781px) {

	/* GENERAL */
	h1, .entry-title, .main-title, h1.noticia-title {font-size: 200%;}
	.text-xxxbig {font-size: 180%;}

	.header .main-title {font-size: 230%;}
	.header-logo,
	.header .logo,
	.sec-acceso .header-access {width: 16em; height: 6em;}
	.video-container, .nav-access {margin-left: auto; margin-right: auto;}
	.video-container {border-width: 3px;}
	.nav-access ul li a:hover, 
	.home-top .home-ct .entry-content ul li a:hover {margin-left: 0}
	.no-video .nav-access {left: auto; right: 0;}
	.header-number {margin-left: 0; width: 100%;}
	.header-number::before {display: none;}
	.header-number-ct {margin-left: 0; padding-bottom: 2em;}
	.header-number .nbr-header {overflow: hidden; padding-bottom: 1em; border-bottom: 1px solid #999;}
	.header-number .nbr-header .nbr-title {margin-top: 0.3em;}

	.container {padding-top: 3em; padding-bottom: 3em;}

	/* Columnas */
	.agenda-calendar,
	.agenda-aside {width: 100%; float: none;}
	.col-6 {width: 25%;}
	.col-6:nth-child(6n+1) {clear: none;}
	.col-6:nth-child(4n+1) {clear: left;}

	.children-container [class^="col-"] .child-ct, 
	.children-container [class^="col-"] .child-ct,
	.children-container .col-2:nth-child(odd) .child-ct,
	.children-container .col-2:nth-child(even) .child-ct {margin-left: 10%; margin-right: 10%;}

	.children-container .push-content::after {top: 38%;}

	.portada-top, .somos-top,
	.conocimiento-top, .cooperacion-top, .competitividad-top {padding-top: 3em;}

	/* MENU */
	.main-nav-ct {width: 58%;}
	.menu-open .main-nav-ct, .menu-fixed .main-nav-ct {left: 42%;}

	/* HOME */
	.home-top .header-home {width: 19em;}
	.home-top {background-position: bottom center;}
	.data-item {width: 9em; height: 9em;}
	.data-item .data-item-number {font-size: 1.3em;}
	.home-bottom .col-2:nth-child(odd) .widget-area {margin-left: 10%; margin-right: 5%;}
	.home-bottom .col-2:nth-child(even) .widget-area {width: 80%; margin-right: 5%}
	.home-bottom h3 {font-size: 150%; padding-bottom: 0.5em}
	.home-agenda > .container {width: 90%}

	/* FILTROS */
	.filter-header .filter-searcher {width: 75%;}

	/* SOMOS */
	.somos-top .entry-summary blockquote {padding: 2em 0}

	/* CONOCIMIENTO */
	.conocimiento-container .entry-body {margin-top: 3em;}

	/* COOPERACIÓN */
	body.page-template-cooperacion .footer {margin-top: 15em;}

	/* COOPERACIÓN - EMPRESAS */
	a.empresa-item {height: 9.5em;}
	.empresa-card > .col-2 > .container {margin-left: 0}

	/* COMPETITIVIDAD - TALENTO */
	.sec-talento .card-item .card-container,
	.sec-proyectos .card-item .card-container {min-height: 25em;} 

	/* NOTICIAS */
	.post-navigation .previous {left: -50px;}
	.post-navigation .next {right: -50px;}

	/* AGENDA */
	.agenda-calendar .mec-calendar {overflow-x: auto}
	.mec-search-form .mec-dropdown-wrap .mec-dropdown-search {width: auto; float: none;}
	.noticia-show.event-show .event-data {width: 100%; float: none; border-top: 6px solid #999;}
	.noticia-show.event-show .event-data .container {width: 100%; overflow: hidden; padding-bottom: 1em}
	.noticia-show.event-show .event-data .event-cost,
	.noticia-show.event-show .event-data .event-date,
	.noticia-show.event-show .event-data .event-time,
	.noticia-show.event-show .event-data .event-location,
	.noticia-show.event-show .event-data .event-organizer {float: left}
	.noticia-show.event-show .event-data .event-cost,
	.noticia-show.event-show .event-data .event-date,
	.noticia-show.event-show .event-data .event-time,
	.noticia-show.event-show .event-data .event-location {width: 20%; margin: 0 2%}
	.noticia-show.event-show .event-data .event-cost {margin-left: 0}
	.noticia-show.event-show .event-data .event-inscription {padding-top: 2em;}
	.noticia-show.event-show .event-data .event-organizer,
	.noticia-show.event-show .event-body  {width: 100%}
}


/* MÓVIL
----------------------------------------------- */
@media only screen and (max-width: 666px) {
	
	/*.nav-trigger{background: #000 !important;}*/
	
	/*svg {height: 100% !important}*/
	
	.wrapper, .primary, .pusher, .pusher-content {height: auto;}

	body {font-size: 96%;}

	/* OCULTAMOS ALGUNOS ELEMENTOS */
	br,
	.no-mobile {display: none;}
	.entry-content br {display: inherit;}

	table br,
	.mobile {display: inherit;}

	/* GENERAL */
	.animado {-webkit-animation-name: none; animation-name: none; visibility: visible !important; }
	section {padding-left: 0;}
	.header {background-position: bottom right; padding-top: 9em; text-align: left; padding-left: 10%; padding-right: 10%;}
	.header .logo {display: none;}

	.header-logo, .header .logo, .sec-acceso .header-access,
	.sec-contacto .logo {width: 66%; height: 5em;}
	.header-logo path.claim,
	.sec-acceso .header-access path.claim,
	.sec-contacto .logo path.claim {display: none;}

	.header.has-parent.has-gparent .entry-title {display: inline}

	.header-number .nbr-header {padding-bottom: .4em; margin-bottom: 1em;}
	.header-number .nbr-header .nbr,
	.header-number .nbr-header .nbr-title {display: inline-block; vertical-align: middle;}
	.header-number .nbr-header .nbr {width: 50px!important}
	.header-number .nbr-header .nbr-title {width: 70% !important; margin-left: 3%}

	.sec-default .entry-header-block {margin-left: 0; margin-right: 0; padding: 0; border-left: 0;}
	.sec-default .entry-header-block h1 {font-size: 140%}

	.container .container {width: 100%;}

	[class^="col-"], [class*=" col-"],
	.noti-list, .noti-list .noticia-item,
	[class^="col-"] .push-content, [class*=" col-"] .push-content {float: none; width: 100% !important; height: auto; margin-left: 0; margin-right: 0;
		clear: both }

	table {display: block; overflow-x: auto; }
	.nav-buttons .btn { margin-left: 0; margin-right: 0}

	.member-cv, .area-buttons {top: 0;-webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); height: 100%; overflow: auto; 
		overflow-x: hidden;}

	.portada-container .entry-body {margin-right: 0}
	.portada-top, .somos-top, .conocimiento-top, .cooperacion-top, .competitividad-top {padding-top: 7em;padding-left: 10%; padding-right: 10%}
	.conocimiento-container .entry-body {margin-right: 0}

	.children-container::before, .children-container::after {display: none;}

	.children-container .col-2:nth-child(even), 
	.children-container .col-2:nth-child(even) .nbr-header,
	.children-container .col-2:nth-child(odd), 
	.children-container .col-2:nth-child(odd) .nbr-header,
	.children-container .col-2:nth-child(1), 
	.children-container .col-2:nth-child(2), 
	.children-container .col-3:nth-child(1), 
	.children-container .col-3:nth-child(2), 
	.children-container .col-3:nth-child(3) {text-align: center; border-top: 0;}

	.children-container .nav-buttons {float: none !important;}

	.children-container .col-2 .child-ct,
	.children-container .col-3 .child-ct,
	.children-container .col-4 .child-ct,
	.children-container .col-5 .child-ct { border-bottom: 1px dashed #FFF; padding-bottom: 2em;}

	.children-container .entry-summary,
	.children-container .col-2:last-of-type .child-ct,
	.children-container .col-3:last-of-type .child-ct,
	.children-container .col-4:last-of-type .child-ct,
	.children-container .col-5:last-of-type .child-ct {border-bottom: none;}
	
	body.page-template-enlaces, body.page-template-portada-seccion, body.page-template-competitividad {background-size: 230%}
	.children-container .col-2:nth-child(even) .push-content.active {left: 0; }
	[class^="col-"] .push-content, [class*=" col-"] .push-content {height: 100%;}

	.no-video,
	.no-video .nav-access {position: static;}

	.banner {padding-left: 3em; padding-right: 3em;}
	.banner::before {background-size: 90%; top: 26%; right: -27%;}

	.entry-content ul {margin-left: 1em;}

	.card-item .card-container {min-height: 0 !important}

	/* Forms */
	form .col-2 input[type="text"], 
	form .col-2 input[type="email"], 
	form .col-2 input[type="tel"], 
	form .col-2 input[type="password"], 
	form .col-2 select, form .col-2 textarea, 
	.wp-block-column input[type="text"], 
	.wp-block-column input[type="email"], 
	.wp-block-column input[type="tel"], 
	.wp-block-column input[type="password"], 
	.wp-block-column select, 
	.wp-block-column textarea {width: 101%}


	form.wpcf7-form .row [class^="col-"] span, 
	form.wpcf7-form .row [class^="col-"] .wpcf7-form-control-wrap, 
	form.wpcf7-form .row [class*=" col-"] span, 
	form.wpcf7-form .row [class*=" col-"] .wpcf7-form-control-wrap {margin-right: 0}

	/* Filters */
	.filter-header .filter-searcher {width: 100%; float: none;}
	.button-filter {float: none; display: block; text-align: center; margin: 1em }

	/* MENU */	
	.main-nav-ct {width: 100%;}
	.menu-open .main-nav-ct, .menu-fixed .main-nav-ct {left: 0}
	.site-navigation.navigation a:hover {margin-left: 0}
	.nav-trigger {right: 30px;}
	.nav-user {right: 90px; top: 27px; font-size: 85%;}
	.nav-user.user-logout {top: 33px;}

	/* HOME */
	.home-top .header-home {width: 83%;}
	.home-top {padding-top: 8em; background-position: bottom right;}
	.home-top .home-ct .entry-content .nav-buttons {padding-left: 0}
	.home-top .home-ct .entry-content .nav-buttons a.btn.bg-black {box-shadow: 0 0 1px rgb(255 255 255) }
	.home-top .home-ct {margin-top: 2em; font-size: 1.4em;}
	.home-datos {padding-top: 2em; padding-bottom: 2em;}
	.home-datos .datos-container {display: block; text-align: center}
	.data-item {display: inline-block; margin: 1em 2%;}
	.home-bottom .col-2:nth-child(odd) .widget-area {margin-right: 10%;}

	/* ACCESO */
	body.page-template-acceso .wrapper {background-size: 200%; background-position: top center;}
	.sec-acceso .header-access {position: static; margin-left: 10%; width: 52%; height: 3em;}
	.sec-acceso .wp-block-columns .wp-block-column {padding-top: 2em; padding-bottom: 2em;}

	/* SOMOS */
	body.page-template-somos .header-logo {width: 70%; height: 5em;}
	body.page-template-somos .header-logo .logo path.claim {display: initial}
	.empresa-members .item-ct {display: block; margin-left: 0; margin-right: 0}
	.team-ct .col-4 {width: 80% !important; margin-left: 10%;}
	.somos-bottom .empresa-members .item-ct .item-body br {display: initial}
	.member-cv.empresa-members .item-ct .item-image {width: 100%}
	.member-cv.empresa-members .item-ct .item-body {padding: 3em 14% 1em; width: 72%;}

	/* CONOCIMIENTO */
	.area-buttons {padding-left: 10%; padding-right: 10%;}
	.area-buttons .buttons-container {width: 100%}

	/* COOPERACIÓN - RETOS */
	.reto-card .image-container {float: left; width: 50%;}
	.reto-card .image-container:nth-child(odd) {clear: left;}
	.reto-card > .col-5 > a {display: block; margin-bottom: -3em;}
	.reto-card > .col-5 > a > img {max-width: 60%;}
	/*.reto-card > .col-80 {padding-top: 0}*/
	.reto-card > .col-80 .container {width: 100%; }
	.reto-data {margin-left: 0}

	/* COOPERACIÓN - EMPRESAS */
	.cooperacion-container .entry-body {margin-right: 0}
	a.empresa-item {width: 50% !important; float: left !important; height: 10em; clear: none !important}
	.empresa-card .empresa-data {padding-top: 0}
	.empresa-card > .col-5 > img {width: 42%; margin: 0 auto; float: none; }
	.empresa-card .empresa-contact {float: none; width: 100%; padding: 1em 0; border-left: 0; clear: both; 
		border-top: 2px dotted #999; border-bottom: 2px dotted #999; margin-top: 0}
	.empresa-show .title-border,
	.empresa-products.container {text-align: left; width: 100%}
	.empresa-card .video-container {margin-top: 0}

	/* COMPETITIVIDAD - TALENTO */
	.talento-card > .container {padding-top: 2em;}
	.talento-card [class^="col-"] > .container, .talento-card [class*=" col-"] > .container {padding-top: 0; padding-bottom: 0}
	.talento-card .header-talento .header-ct,
	.talento-card .header-talento .card-type {max-width: 100%;}
	.talento-card .header-talento .card-type { position: static; text-align: left; margin-top: 1em;}


	/* AGENDA */
	.mec-wrap .mec-totalcal-box {padding-bottom: 1.4em;}
	.mec-wrap .mec-search-form.mec-totalcal-box {display: block; }
	.noticia-show.event-show .event-data .event-cost, 
	.noticia-show.event-show .event-data .event-date, 
	.noticia-show.event-show .event-data .event-time, 
	.noticia-show.event-show .event-data .event-location {width: 46%; margin: 0 4% 0 0}

	.noticia-show.event-show .container.medium-width {padding-top: 6em;}
	.noticia-show.event-show .container .container {padding-top: 0}
	.event-show .mec-event-export-module ul > li {float: none !important;}
	.post-navigation .previous, .post-navigation .next {top: -4em;}
	.post-navigation .previous {left: 0;}
	.post-navigation .next {right: 0;}

	/* NOTICIAS */
	.noticia-item {border-bottom: 1px solid #CCC}
	.noti-list-ct .noticia-item .noticia-content {margin-left: 0; margin-right: 0}
	.noti-list-ct .noticia-item::before, .noti-list-ct .noticia-item::after {display: none !important;}
	.button-sidebar {margin: 1.5em 2em -2em 0; position: relative; z-index: 60}
	.widget-area {display: block;}
	.sidebar:not(.sidebar-home) .widget {margin-bottom: 1em;}
	.sidebar:not(.sidebar-home),
	.sidebar:not(.sidebar-home) .widget:not(:first-child) {border: 0;}
	.noticia-show .container.medium-width,
	.sec-contacto > .container {padding-top: 7em;}
	.noticia-show .container.video {padding-top: 0; padding-bottom: 0;}
	.noticia-show .container.video .video-container {margin-top: 1em}

	/* CONTACTO */
	body.page-template-contacto .wrapper {background-position: bottom center}
	.sec-contacto .col-2-3 > .container {margin-top: 0}
	.sec-contacto form .submit,
	.sec-contacto form .acceptance {float: none !important; text-align: center}

	/* FOOTER */
	.footer {text-align: center; padding-left: 7%; padding-right: 7%; width: 86%;}
	.footer a.bottom-logo {float: left;}
	.footer .nav-social {float: right; margin-right: 0}
	.footer .footer-navigation.navigation {float: none !important; text-align: center; clear: both; padding-top: 2em;}
	/*.footer .nav-social {float: none; width: auto; text-align: center; padding-bottom: 1em;}*/
	

}


/* MOVIL SMALL */
@media only screen and (max-width: 479px){

	/*.nav-trigger{background: red !important;}*/
	.mec-event-list-minimal .mec-event-article .btn-wrapper.col-md-3.col-sm-3 {display: none;}
	.mec-event-list-minimal .mec-event-date span {padding-right: 0}
	.mec-event-list-minimal .mec-event-detail {margin-bottom: 0}
	
	.mec-event-schedule-content dl {margin-left: 0}
	.mec-event-schedule-content dl .mec-schedule-time {position: static; width: auto; text-align: left;}
	.mec-event-schedule-content dl .mec-schedule-time,
	.mec-event-schedule-content dl dt.mec-schedule-title {display: inline;}
	.event-speakers .mec-hourly-schedule-speaker-job-title,
	.event-speakers .mec-hourly-schedule-speaker-description {font-size: 100%;}
	/* .mec-event-schedule-content dl .mec-schedule-time .mec-schedule-end-time::after {content: '. '}*/

	.mec-hourly-schedule-speaker-thumbnail {width: 40%; float: left;}
	.mec-hourly-schedule-speaker-details {width: 53%;}
	
}


/* iPHONE 4 */
@media only screen and (max-width: 320px) {
	
	/*.nav-trigger{background: gray !important;} */
	
	/* GENERAL */
	body {font-size: 90%}
	
}



/* PANTALLAS GRANDES */

@media only screen and (min-width: 1500px) {

	/*.nav-trigger{background: green !important;} */
	
	/* GENERAL */
	body {font-size: 105%}

}

@media only screen and (min-width: 1800px) {

	/*.nav-trigger{background: blue !important;} */
	
	/* GENERAL */
	body {font-size: 115%}

}

@media only screen and (min-width: 2300px) {
	
	/*.nav-trigger{background: yellow !important;}*/

	/* GENERAL */
	body {font-size: 130%}

	/* MENU */
	
}
