* {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    outline: none !important;
}

body {
    overflow-x: hidden;
}

body.custom-background {
    background: -webkit-linear-gradient(#ffffff, #dde9f6); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#ffffff, #dde9f6); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#ffffff, #dde9f6); /* For Firefox 3.6 to 15 */
    background-image: linear-gradient(#ffffff, #dde9f6) !important; /* Standard syntax */
    background-repeat: no-repeat !important;
}

a {
    text-decoration: none !important;
}
a:visited {
    color: #666666;
}
a:hover, a:hover * {
    color: #00396c !important;
}
p {
    margin: 0 0 1em 0;
}
article .header-meta, article .entry-meta {
    display: none !important;
}

.responsive-menu li form, #responsive-menu #responsiveSearch {
    display: none !important;
}

#tophead, #tophead > div {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 50px;
    background: #00396c;
}
#tophead > div {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
#tophead li #searchform {
    display: none;
}
#tophead #searchform, #tophead nav {
    display: inline;
    float: right;
    margin: 0;
}
#tophead #searchform * {
    display: inline;
    width: 32px;
}
#tophead #searchform input {
    display: none;
    width: 300px;
    margin-top: 8px;
}
#tophead a {
    line-height: 50px;
    color: #ffffff;
}
#tophead a:hover {
    color: #93b3ff !important;
}
#tophead img {
    margin-top: 13px;
    cursor: pointer;
}
#tophead .langs {
    float: left;
}

#masthead .site-title {
    margin-bottom: -2px;
}
#masthead form img {
    display: none;
}
#masthead .main-navigation ul ul {
    background: #00396c;
    color: #ffffff;
}
#masthead .main-navigation ul li {
    border-right: 1px solid #8daeff;
    line-height: 40px;
    margin: 0;
    padding: 0 10px;
}
#masthead .main-navigation ul li ul li {
    padding: 0;
}
#masthead .main-navigation ul li a {
    color: #5d5d5d;
}
#masthead .main-navigation ul li a:hover,
#masthead .main-navigation ul li ul li a:hover {
    color: #93b3ff;
}
#masthead .main-navigation ul li.menu-item-270 {
    border-right: none;
}
#masthead .main-navigation ul li ul li {
    border: none;
    padding-right: inherit;
}
#masthead .main-navigation ul li ul li a {
    color: #ffffff;
}
#menu-item-100 a, #menu-item-671 a {
  line-height: 1.5;
}
#masthead .main-navigation li.menu-parent-item > a:after {
    content: " \25bc";
    font-size: 0.75em;
    color: #93b3ff;
}

.metaslider .flexslider .flex-direction-nav li a,
.metaslider .flexslider .flex-direction-nav li a:focus
{
    width: 29px;
    height: 47px !important;
    opacity: 1 !important;
}

/*///////////*/

article .entry-content h1.entry-title {
    margin: 0 0 0.5em 0;
    letter-spacing: -1px;
}
.single article .entry-content h1.entry-title {
    line-height: 0.75;
}
.single-professional article .entry-content h1.entry-title {
    line-height: 0;
}
article .entry-content h1.entry-title a {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #00396c !important;
}

article .entry-header a img {
    float: left;
    margin: 0 3em 0 0;
}

article .entry-content h4 span {
    font-size: 18px;
    font-weight: 700;
}

.header-row-1, .header-row-1 .col, .header-row-2, .header-row-2 .col {
    height: 80px;
}
.header-row-1 .col .entry-header, .header-row-2 .col .entry-header {
    position: relative;
    height: 100%;
    margin: 0;
}
.header-row-1 .col .entry-header .entry-title, .header-row-2 .col .entry-header .entry-title {
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    line-height: 80px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}
.header-row-1 .col {
    background: #00396c url(/wp-content/themes/quark/images/fondo_encabezado_asociacion.jpg) top right no-repeat;
}
.header-row-2 .col {
    background: #00396c url(/wp-content/themes/quark/images/fondo_encabezado_educacion.jpg) top right no-repeat;
}

.publicaciones .grid_8_of_12 h2 a,
.premios .grid_8_of_12 h1 a,
.profesionales .grid_8_of_12 h1 a,
.empresas .grid_8_of_12 h1 a {
    font-size: 18px;
    font-weight: 700;
    color: #00396c !important;
}
.publicaciones ul {
    margin: 0;
    padding: 1em 0 0;
    border-top: 1px solid #00396c;
}
.publicaciones ul:first-of-type {
    border: none;
}
.publicaciones ul li {
    display: inline-block;
}
.publicaciones ul li a,
article.category-noticias .entry-header span,
.event_taxonomy_categories a {
    padding: 0.5em;
    background: #00396c;
    font-weight: 700;
    color: #ffffff;
}
article.category-noticias .entry-header span {
    position: relative;
    top: 7px;
}
.event_taxonomy_categories a:hover {
    background-color: #ffffff;
    color: #00396c;
}
.publicaciones ul li h2 a {
}

.grid_8_of_12 h4,
.equipo-docente .grid_8_of_12 h4,
.publicaciones .grid_8_of_12 h4,
.premios .grid_8_of_12 h4,
.noticias .grid_8_of_12 h4,
.empresas .grid_8_of_12 h4,
.profesionales .grid_8_of_12 h4 {
    font-size: 18px;
    font-weight: 700;
    color: #003b71;
}
.equipo-docente .grid_8_of_12 article,
.premios .grid_8_of_12 article,
.noticias .grid_8_of_12 article,
.empresas .grid_8_of_12 article,
.profesionales .grid_8_of_12 article {
    margin: 25px 0;
    border-bottom: 1px solid #00396c;
}
.premios .grid_8_of_12 article:last-of-type,
.noticias .grid_8_of_12 article:last-of-type {
    border: none;
}
.equipo-docente .grid_8_of_12 article {
    border-bottom: 1px solid #00396c !important;
}
.equipo-docente .grid_8_of_12 article .entry-header,
.premios .grid_8_of_12 article .entry-header,
.noticias .grid_8_of_12 article .entry-header,
.empresas .grid_8_of_12 article .entry-header,
.profesionales .grid_8_of_12 article .entry-header {
    display: inline-block;
    float: left;
    width: 30%;
    margin-right: 2%;
}
.premios .grid_8_of_12 article .entry-header img,
.noticias .grid_8_of_12 article .entry-header img,
.empresas .grid_8_of_12 article .entry-header img {
    width: 100%;
    max-width: 220px;
    height: auto;
    max-height: 100px;
    margin-right: 2%;
}
.noticias .grid_8_of_12 article .entry-header img {
    max-height: none;
}
.noticias .grid_8_of_12 .center-cropped-home-news {
    width: 230px;
/*    background-position: -50px -40px;*/
}
.equipo-docente .grid_8_of_12 article .entry-header img,
.profesionales .grid_8_of_12 article .entry-header img {
    width: 100%;
    height: auto;
    margin-right: 2%;
}
.premios .grid_8_of_12 article .entry-header img {
    margin-bottom: 5%;
}
.profesionales .grid_8_of_12 article .entry-title {
    margin-top: -20px;
}

#bannercontainer {
    display: none;
}

#maincontentcontainer {
    position: relative;
    margin-bottom: 1em;
}

#primary {
    background: none;
}

#primary > div {
    padding: 1%;
    background: #ffffff;
}

.shadowed {
    -moz-box-shadow: 0 0 10px #e2ebf2;
    -webkit-box-shadow: 0 0 10px #e2ebf2;
    box-shadow: 0 0 10px #e2ebf2;
}
.center-cropped-home-news {
    width: 277px;
    height: 132px;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
    background-size: cover;
    background-position: center center;
}

.site-content {
    padding: 0;
}
.site-title h1 {
    margin-top: 0;
}
.site-title h2, .page-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #be7c0e;
}
.page-title {
    font-size: 16px !important;
}
.page-title span {
    font-size: 20px;
    color: #00396c;
}

.equipo-docente .grid_8_of_12 article,
.profesionales .grid_8_of_12 article,
.empresas .grid_8_of_12 article {
    display: inline-block;
    float: left;
    width: 48%;
    max-width: 48%;
    height: 100px;
    max-height: 100px;
    margin: 25px 1%;
    padding-bottom: 1em;
}
.equipo-docente .grid_8_of_12 article,
.profesionales .grid_8_of_12 article {
    height: 250px;
    max-height: 250px;
}
.profesionales .grid_8_of_12 article {
    height: 300px;
    max-height: 300px;
    margin: 1%;
}
.equipo-docente .grid_8_of_12 article .entry-header, .equipo-docente .grid_8_of_12 article .entry-content,
.premios .grid_8_of_12 article .entry-header, .premios .grid_8_of_12 article .entry-content,
.empresas .grid_8_of_12 article .entry-header, .empresas .grid_8_of_12 article .entry-content,
.profesionales .grid_8_of_12 article .entry-header, .profesionales .grid_8_of_12 article .entry-content,
.noticias .grid_8_of_12 article .entry-header, .noticias .grid_8_of_12 article .entry-content {
    /*margin-bottom: 0;*/
}
.empresas .grid_8_of_12 article img,
.profesionales .grid_8_of_12 article img {
    max-width: 100px;
    max-height: 100px;
    height: auto;
}
body.blog #primary .grid_8_of_12 article {
    margin-bottom: -1em;
}
body.blog #primary .grid_8_of_12 article .entry-header {
    display: inline-block;
    float: left;
    width: 40%;
}
body.blog #primary .grid_8_of_12 article .entry-header img {
    width: 90%;
}
body.blog #primary .grid_8_of_12 article .entry-content h1, body.blog #primary .grid_8_of_12 article .entry-content p,
.equipo-docente .grid_8_of_12 article .entry-content h1, .equipo-docente .grid_8_of_12 article .entry-content p,
.premios .grid_8_of_12 article .entry-content h1, .premios .grid_8_of_12 article .entry-content p,
.noticias .grid_8_of_12 article .entry-content h1, .noticias .grid_8_of_12 article .entry-content p,
.empresas .grid_8_of_12 article .entry-content h1, .empresas .grid_8_of_12 article .entry-content p {
    display: inline-block;
    float: right;
    width: 60%;
}
.equipo-docente .grid_8_of_12 article .entry-content h1, .equipo-docente .grid_8_of_12 article .entry-content p,
.premios .grid_8_of_12 article .entry-content h1, .premios .grid_8_of_12 article .entry-content p,
.noticias .grid_8_of_12 article .entry-content h1, .noticias .grid_8_of_12 article .entry-content p,
.empresas .grid_8_of_12 article .entry-content h1, .empresas .grid_8_of_12 article .entry-content p {
    width: 68%;
}
.equipo-docente .grid_8_of_12 article {
    margin: 1%;
}
.equipo-docente .grid_8_of_12 article header {
    width: 0;
}
.equipo-docente .grid_8_of_12 article .entry-content h1, .equipo-docente .grid_8_of_12 article .entry-content p {
    float: left;
    width: 100%;
}
.equipo-docente .grid_8_of_12 article .entry-content h1, .equipo-docente .grid_8_of_12 article .entry-content p,
.profesionales .grid_8_of_12 article .entry-content h1, .profesionales .grid_8_of_12 article .entry-content p {
    margin-bottom: 0;
}
.profesionales .grid_8_of_12 article {
    height: 150px;
}
.profesionales .grid_8_of_12 article .entry-content p, .profesionales .grid_8_of_12 article .entry-content ul {
    display: none;
}
.profesionales .grid_8_of_12 article .entry-content p:first-of-type {
    display: inline;
}
body.blog #primary .grid_8_of_12 article .entry-content h1,
.equipo-docente .grid_8_of_12 article .entry-content h1,
.premios .grid_8_of_12 article .entry-content h1,
.noticias .grid_8_of_12 article .entry-content h1,
.empresas .grid_8_of_12 article .entry-content h1 {
    margin-bottom: 1em;
    font-weight: 300;
    font-size: 14px;
    color: #000000;
}
body.blog #primary .grid_8_of_12 article .entry-content h1 a,
.equipo-docente .grid_8_of_12 article .entry-content h1 a,
.noticias .grid_8_of_12 article .entry-content h1 a,
.empresas .grid_8_of_12 article .entry-content h1 a {
    font-size: 16px;
    color: #000000;
}
body.blog #primary .grid_8_of_12 article .entry-content p, body.blog #primary .grid_8_of_12 article .entry-content p a,
.equipo-docente .grid_8_of_12 article .entry-content p, .equipo-docente .grid_8_of_12 article .entry-content p a,
.noticias .grid_8_of_12 article .entry-content p, .noticias .grid_8_of_12 article .entry-content p a,
.empresas .grid_8_of_12 article .entry-content p, .empresas .grid_8_of_12 article .entry-content p a {
    font-size: 12px;
    font-weight: 300;
}
body.blog #primary .grid_8_of_12 article .entry-content .more-link,
.publicaciones .grid_8_of_12 .more-link,
.equipo-docente .grid_8_of_12 article .entry-content .more-link,
.premios .grid_8_of_12 article .entry-content .more-link,
.noticias .grid_8_of_12 article .entry-content .more-link,
.empresas .grid_8_of_12 article .entry-content .more-link,
.profesionales .grid_8_of_12 article .entry-content .more-link {
    display: block;
    margin-top: 0.5em;
    text-transform: uppercase;
    font-weight: 700;
    color: #003d6c;
}
body.blog #primary .grid_8_of_12 article .entry-content .more-link .meta-nav,
.publicaciones .grid_8_of_12 .more-link .meta-nav,
.equipo-docente .grid_8_of_12 article .entry-content .more-link .meta-nav,
.premios .grid_8_of_12 article .entry-content .more-link .meta-nav,
.noticias .grid_8_of_12 article .entry-content .more-link .meta-nav,
.empresas .grid_8_of_12 article .entry-content .more-link .meta-nav {
    display: none;
}
body.blog #primary .grid_8_of_12 article .entry-header span,
.noticias .grid_8_of_12 article .entry-header span {
    position: relative;
    top: -24px;
    padding: 5px 10px;
    background: #00396c;
    font-weight: 700;
    color: #ffffff;
}

.h3_news {
    padding-left: 35px;
    background: url(/wp-content/themes/quark/images/icon_noticias.png) top left no-repeat;
    background-position: 0.5%;
    font-weight: 700;
    color: #f49500;
}
.h3_professionals {
    padding-left: 45px;
    background: url(/wp-content/themes/quark/images/icon_profesionales.png) top left no-repeat;
    background-position: 0.5%;
    font-weight: 700;
    color: #00396c;
}

.h4_instituciones, .h4_empresas {
    margin: 20px 0;
    padding-left: 30px;
    background: url(/wp-content/themes/quark/images/icon_instituciones.png) top left no-repeat;
    background-position: 0.5%;
    font-weight: 700;
    color: #00396c;
}
.h4_empresas {
    background: url(/wp-content/themes/quark/images/icon_empresas.png) top left no-repeat;
}

.events-archive header.entry-header, .single-tribe_events header.entry-header {
    display: block;
}

.tribe-events-widget-link, .publicaciones p.more, .premios p.more, .noticias p.more {
    width: 100%;
    margin: 25px 0;
    border: 1px solid #00396c;
    padding: 2px;
    text-align: center;
}
.premios p.more {
    position: relative;
    display: block;
    clear: both;
    top: 50px;
}
.tribe-events-widget-link a, .publicaciones p.more a, .premios p.more a, .noticias p.more a {
    font-weight: 700;
    color: #00396c;
}
.tribe-events-widget-link a:hover, .publicaciones p.more a:hover, .premios p.more a:hover, .noticias p.more a:hover {
    color: #93b3ff !important;
}

#primary #aside-eventos-title,
.widget-area .tribe-events-list-widget h3.widget-title, .tribe-events-single.widget-area h3.widget-title {
    padding-left: 35px;
    background: url(/wp-content/themes/aatri/images/icon_educacion.png) top left no-repeat;
    background-position: 0.5%;
    font-weight: 700;
    color: #00396c;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}
.tribe-events-single.widget-area div, .tribe-events-single.widget-area div ul li, .tribe-events-single.widget-area div ul li span {
    margin: 0.2em 0 !important;
}
.widget-area .tribe-events-list-widget .tribe-events-widget-subtitle {
    border: 1px solid #00396c;
    background: #00396c;
    padding: 2px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
}
.widget-area .tribe-events-list-widget ol {
    padding: 0;
}
.widget-area .tribe-events-list-widget ol li {
    margin-bottom: 1em;
}
.widget-area .tribe-events-list-widget ol li .entry-start-date {
    display: inline;
    float: left;
    width: 60px;
    height: 65px;
    margin: 0 !important;
    background: #00396c;
    padding-top: 7px;
    text-align: center;
}





.tribe-events-list-widget ol li.tribe-events-category-cursos .entry-start-date,
#cursos_events ul.ecs-event-list li span,
.cat_cursos .tribe-events-schedule h3,
ul.ecs-event-list li.cursos_ecs_category span {
    background: #00396c;
}

.tribe-events-list-widget ol li.tribe-events-category-jornadas .entry-start-date,
#jornadas_events ul.ecs-event-list li span,
.cat_jornadas .tribe-events-schedule h3,
ul.ecs-event-list li.jornadas_ecs_category span {
    background: #2d4b5e;
}

.tribe-events-list-widget ol li.tribe-events-category-congresos .entry-start-date,
#congresos_events ul.ecs-event-list li span,
.cat_congresos .tribe-events-schedule h3,
ul.ecs-event-list li.congresos_ecs_category span {
    background: #746543;
}

.tribe-events-list-widget ol li.tribe-events-category-workshops .entry-start-date,
#workshops_events ul.ecs-event-list li span,
.cat_workshops .tribe-events-schedule h3,
ul.ecs-event-list li.workshop_ecs_category span {
    background: #bf8126;
}

.tribe-events-list-widget ol li.tribe-events-category-seminarios .entry-start-date,
#seminarios_events ul.ecs-event-list li span,
.cat_seminarios .tribe-events-schedule h3,
ul.ecs-event-list li.seminarios_ecs_category span {
    background: #ea9200;
}





.tribe-events-list-widget ol li .entry-start-date *,
div ul.ecs-event-list li span, div ul.ecs-event-list li h3 {
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff !important;
}
.tribe-events-list-widget ol li .entry-title {
    display: inline;
    float: left;
    margin-left: 1em;
}
.tribe-events-list-widget-events h4.entry-title a {
    text-decoration: none;
}
.tribe-events-list-widget-events .duration,
div ul.ecs-event-list li span .value-title {
    display: none;
}

.tribe-events-list-widget .tribe-events-widget-link {
    border: 1px solid #00396c;
    padding: 2px;
    background: url(/wp-content/themes/quark/images/icon_agenda.png) top left no-repeat;
    background-position: 2%;
    text-align: center;
}

.tribe-events-list-widget .tribe-events-widget-link a {
    color: #00396c;
}

.tribe-events-list-widget .tribe-events-widget-link a:hover {
    color: #93b3ff !important;
}


#secondary .bwg_container,
#secondary #aside-video-block {
    margin:2rem 0;
    padding: 1em;
    background: -webkit-linear-gradient(#eed7aa, #ffffff); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#eed7aa, #ffffff); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#eed7aa, #ffffff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#eed7aa, #ffffff); /* Standard syntax */
}

#secondary .bwg_container h3.widget-title,
#secondary  #aside-video-title {
    padding-left: 35px;
    background: url(/wp-content/themes/quark/images/icon_videos.png) top left no-repeat;
    background-position: 0.5%;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

#secondary #aside-video-block .bwg_gal_title_0 {
    display:none !important;
}

#secondary .bwg_container .textwidget a > span > span {
    position: relative !important;
    display: inline !important;
    float: left !important;
    width: 50% !important;
}

#secondary .bwg_container .textwidget a > span > span:last-of-type {
    width: 45% !important;
    padding: 2% 4% !important;
}

#secondary .bwg_container .textwidget a > span > span:last-of-type span {
    text-align: left !important;
    font-family: 'Montserrat' !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #00182b !important;
}

#secondary .bwg_container .textwidget a:first-of-type > span > span:first-of-type {
    display: block !important;
    width: 95% !important;
    height: 200px !important;
}

#secondary .bwg_container .textwidget a:first-of-type > span > span:first-of-type * {
    width: 100% !important;
    height: 200px !important;
}

#secondary .bwg_container .textwidget a:first-of-type > span > span:last-of-type {
    width: 90% !important;
}

#cursos_title, #jornadas_title, #congresos_title, #workshops_title, #seminarios_title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

#cursos_title {
    color: #00396c;
}
#jornadas_title {
    color: #2d4b5e;
}
#congresos_title {
    color: #746543;
}
#workshops_title {
    color: #bf8126;
}
#seminarios_title {
    color: #ea9200;
}

#cursos_events, #jornadas_events, #congresos_events, #workshops_events, #seminarios_events {
    display: inline-block;
    position: relative;
    width: 90%;
    margin: 0.25em 0;
}

div ul.ecs-event-list {
    padding: 0;
    list-style-type: none;
}

div ul.ecs-event-list li {
    margin-bottom: 1em;
    display:inline-block;
}

div ul.ecs-event-list li h3, div ul.ecs-event-list li h4, div ul.ecs-event-list li span {
    position: relative;
    display: inline-block;
    /*float: left;*/
}
div ul.ecs-event-list li h3, div ul.ecs-event-list li h4,
.tribe-events-list-widget li h3.event-category {
    width: 80%;
    margin-left: 1em;
    height: 15px;
}

div ul.ecs-event-list li h4 {
    height: 65px;
}

ul.ecs-event-list li span, .single-tribe_events .tribe-events-schedule h3 {
    float: left;
    clear: both;
    width: 64px;
    height: 69px;
    margin-bottom: 1em;
    padding-top: 7px;
    text-align: center;
}

ul.ecs-event-list li span *, .tribe-events-schedule h3 * {
    font-weight: 700;
    color: #ffffff;
}

div ul.ecs-event-list li h2 {
    font-size: 2.1rem;
    line-height: 1.1em;
    margin-bottom: 2px;
}

div ul.ecs-event-list li h6 {
    font-size: .75rem;
    line-height: 1.2142;
    margin-bottom: 0;
    letter-spacing: 0.1em;
}

.tribe-events-schedule h5 {
    font-weight: 700;
}
div ul.ecs-event-list li h3,
.tribe-events-list-widget li h3.event-category {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
}
.tribe-events-list-widget li h3.event-category {
    width: 70%;
    margin: 0 0 0 80px;
    font-size: 14px;
}
ul.ecs-event-list *, .tribe-events-list-widget ol * {
    cursor: pointer;
}


ul.ecs-event-list li h3,
.tribe-events-list-widget li.tribe-events-category-cursos h3.event-category {
    color: #00396c !important;
}

ul.ecs-event-list li h3,
li.tribe-events-category-jornadas h3.event-category {
    color: #2d4b5e !important;
}

ul.ecs-event-list li h3,
li.tribe-events-category-congresos h3.event-category {
    color: #746543 !important;
}

ul.ecs-event-list li h3,
li.tribe-events-category-workshops h3.event-category {
    color: #bf8126 !important;
}

ul.ecs-event-list li h3,
li.tribe-events-category-seminarios h3.event-category {
    color: #ea9200 !important;
}

#cursos_events>p, #jornadas_events>p, #congresos_events>p, #workshops_events>p, #seminarios_events>p {
    margin-bottom: 20px;
}

.tribe-events-single h2.entry-title {
    margin-bottom: 1em;
    font-size: 24px;
    font-weight: 700;
    color: #00396c;
}
.single-tribe_events .tribe-events-event-meta {
    background: none;
    border: none;
}

#tribe-events-content .tribe-events-single-event-description p {
    line-height: 1.5;
    font-family: 'Lato' !important;
    font-size: 15px;
    font-weight: 400;
}

.tribe-events-event-meta .tribe-events-meta-group {
    padding: 0;
}

#reservation {
    width: 100%;
    height: auto;
    min-height: 320px;
    margin: 1em 0;
    background: #acbce0;
}

#reservation > div.right,
#reservation > div.left {
    min-height: 320px;
    background: #acbce0;
}

#reservation .left, #reservation .right {
    position: relative;
    display: inline-block;
    float: left;
    width: 48%;
    padding: 10px;
}

#reservation .left h5 {
    margin: 1em 0;
    font-weight: 300;
    color: #003163 !important;
}

#reservation .right form p {
    margin: 0 0 0.1em 0;
    color: #ffffff;
}

#reservation .right .wpcf7-text, #reservation .right textarea {
    width: 100%;
    border: 1px solid #00396c;
    border-radius: 0;
    background: #e8f1f8;
    color: #000000;
}

#reservation .right textarea {
    height: 50px;
}

.cntctfrm_one_column.cntctfrm_width_default,
.cntctfrm_contact_form {
    width: 100vw;
    max-width: 100%;
}

.cntctfrm_ltr .cntctfrm_column {
    width:100%;
}

#reservation .right .wpcf7-submit,
.yks-mailchimpFormDivSubmit p input,
.cntctfrm_input_submit input[type="submit"] {
    border-radius: 0;
    border: 1px solid #043c6b;
    background: #043c6b;
    text-transform: uppercase;
    text-shadow: none;
    font-size: 16px;
    color: #ffffff;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.cntctfrm_contact_form.cntctfrm_width_default input[type="text"], .cntctfrm_contact_form.cntctfrm_width_default input[type="file"], .cntctfrm_contact_form.cntctfrm_width_default input[type="email"], .cntctfrm_contact_form.cntctfrm_width_default select, .cntctfrm_contact_form.cntctfrm_width_default textarea, .widget .cntctfrm_contact_form.cntctfrm_width_default input[type="text"], .widget .cntctfrm_contact_form.cntctfrm_width_default input[type="file"], .widget .cntctfrm_contact_form.cntctfrm_width_default input[type="email"], .widget .cntctfrm_contact_form.cntctfrm_width_default select, .widget .cntctfrm_contact_form.cntctfrm_width_default textarea,
.cntctfrm_label, .cntctfrm_input, .cntctfrm_select, .cntctfrm_checkbox {
    width: 100%;
    max-width:100%;
}

#reservation .wpcf7-response-output {
    /* display: none !important; */
}

div#secondary div {
    margin: 0.5em 0 1em 0;
}
div#secondary a h3 {
    font-size: 16px;
}
div#secondary a:hover h3 {
    color: #000000 !important;
}
div#secondary div ul li span, div#secondary ul.ecs-event-list li h3 {
    display: none;
}

div#secondary ul.ecs-event-list li h4 {
    width: 70%;
    height: auto;
    font-size: 14px;
    font-weight: 700;
}

div#secondary ul.ecs-event-list li h4 a {
    color: #000000 !important;
}
div#secondary ul.ecs-event-list li h4 a:hover {
    color: #00396c !important;
}
div#secondary ul.ecs-event-list li p {
    display: block;
    width: 90%;
    clear: both;
    margin: 0 0 20px 0;
    font-size: 12px;
    font-weight: 300;
    color: #666666;
}

.media .album-fotos .falbum, .media .album-videos .valbum {
    position: relative;
    display: inline-block;
    float: left;
    width: 45%;
    height: 150px;
    margin: 25px 4% 25px 0;
}
.media .album-fotos .falbum a.title, .media .album-videos .valbum a.title {
    font-weight: bold;
    color: #00396c;
}
.media .album-fotos .falbum p.excerpt, .media .album-videos .valbum p.excerpt {
    font-size: 12px;
    color: #666;
}
.media .album-fotos .falbum a img, .media .album-videos .valbum a img {
    position: relative;
    display: inline-block;
    float: left;
    width: 50%;
    height: auto;
    max-height: 150px;
    margin: 0 20px 0 0;
}
.media .album-videos .valbum {
    width: 29%;
    height: 300px;
}
.media .album-videos .valbum a {
    float: left;
    width: 100%;
    margin-top: 10px;
}
.media .album-videos .valbum a img {
    width: 100%;
}

.category-mediafotos .entry-header, .category-mediavideos .entry-header {
    display: none;
}
.category-mediafotos .entry-content .really_simple_share, .category-mediavideos .entry-content .really_simple_share {
    margin-top: 100px;
}
.category-mediafotos .entry-content p:last-of-type, .category-mediavideos .entry-content p:last-of-type {
    /*min-height: 400px;*/
}
.category-mediafotos .entry-content p img, .category-mediavideos .entry-content p img {
    position: relative;
    display: inline-block;
    float: left;
    width: 150px;
    height: 100px;
    margin: 0 20px 0 0;
}
.category-mediavideos  iframe {
    width: 100%;
    max-height: 500px;
}

.media .album-fotos .col form > div, .media .album-videos .col form > div {
    margin-top: 25px;
}
.media .album-fotos .col form > div > a, .media .album-videos .col form > div > a {
    display: none !important;
}
.media .album-fotos form div div div div {
    border: none !important;
}


/* TEST */
#footercontainer, #footercontainer .sede, #footercontainer .redes {
    background: #385667;
    color: #ffffff;
}

#footercontainer h3, #footercontainer h6 {
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}
#footercontainer h6 {
    margin-top: 1.25em;
    font-size: 12px;
}
#footercontainer div.dir, #footercontainer div.dir_, #footercontainer span.tel, #footercontainer span.mail,
#footercontainer span.f, #footercontainer span.y, #footercontainer span.t {
    padding-left: 2.5em;
    line-height: 1.5;
    color: #ffffff;
}
#footercontainer div.dir {
    background: url(/wp-content/themes/quark/images/icon_direccion.png) top left no-repeat;
}
#footercontainer div.dir_ {
    background: none;
}
#footercontainer span.tel {
    background: url(/wp-content/themes/quark/images/icon_tel.png) top left no-repeat;
}
#footercontainer span.mail {
    background: url(/wp-content/themes/quark/images/icon_mail.png) 0% 50% no-repeat;
}
#footercontainer span.f {
    background: url(/wp-content/themes/quark/images/icon_facebook.png) top left no-repeat;
}
#footercontainer span.y {
    background: url(/wp-content/themes/quark/images/icon_youtube.png) top left no-repeat;
}
#footercontainer span.t {
    background: url(/wp-content/themes/quark/images/icon_twitter.png) top left no-repeat;
}
#footercontainer #mc4wp_name, #footercontainer #mc4wp_email {
    border: 1px solid #88aefb;
    border-radius: 0;
    background: #223d4d;
    color: #ffffff;
}
#footercontainer #mc4wp_button {
    border: 1px solid #ffffff;
    border-radius: 0;
    background: transparent;
    text-shadow: none;
    color: #ffffff;
}

#footerbottom {
    position: absolute;
    width: 100%;
    padding: 1em 0;
    background: #2d4b5e;
    color: #6582c9;
}
#footerbottom a {
    font-size: 12px;
    color: #6582c9;
}
#footerbottom .left, #footerbottom .right {
    width: 30%;
    margin: 0 10%;
    font-size: 12px;
}
#footerbottom .left {
    float: left;
}
#footerbottom .right {
    float: right;
    text-align: right;
}

.tweet .e-entry-title[dir="ltr"], .rfbp-text p, .rfbp-text p a {
    font-size: 11px;
    color: #fff;
}

.ecs-event-list {
    display:none;
}

#nqv-menu-trigger {
    display:inline-block;
    line-height:3rem;
    height:50px;
    width:50px;
    cursor:pointer;
}

#nqv-menu-trigger span {
    font-size:3rem;
    line-height:3rem;
    width:100%;
    height:100%;
    cursor:pointer;
}

#nqv-responsive-menu {
    display:none;
    width:0;
    position:fixed;
    top:0;
    left:-287px;
    width:287px;
    height: 100vh;
    overflow-y:auto;
    overflow-x: hidden;
    background-color: #43494C;
    color: white;
    z-index:999999;
    padding:5px;
}

#nqv-responsive-menu a {
    color: white;
    box-sizing: border-box;  
    border-bottom: 1px solid #222;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 10px 5px;
}

#nqv-responsive-menu a:hover {
    color: white !important;
}

#nqv-responsive-menu li.menu-item {
    padding:1px;
    padding-left: 0;
    width:100%;
    box-sizing: border-box;
}

#nqv-responsive-menu li.menu-item.menu-item-has-children:hover {
    background:transparent !important;
}

#nqv-responsive-menu .sub-menu {
    margin-left:20px;
}

#nqv-responsive-menu a:hover {
    background:rgb(60, 60, 60) !important;
}

#nqv-responsive-menu .dashicons-no {
    height:65px;
    width: 100%;
    text-align:right;
    font-size: 3rem;
    padding: 1rem;
    line-height:3rem;
    cursor:pointer;
}

/* Responsiveness */

@media (max-width: 1366px) {
    #tophead > div {
        width: 93%;
    }
    #masthead .main-navigation ul li {
        margin-left: 0;
        padding: 0 10px;
    }
}

@media (max-width: 1280px) {
    #tophead > div {
        width: 100%;
    }
    #tophead .grid_12_of_12 {
        position: absolute;
        top: 0;
        right: 0;
        text-align: right;
    }
    #tophead .grid_12_of_12 .grid_10_of_12 {
        width: 100%;
    }
}

@media (min-width: 1025px) {
    .mobile:not(.desktop), .tablet:not(.desktop) {
        display:none !important;
    }
}

@media (max-width: 1024px) {
    .desktop:not(.tablet), .mobile:not(.tablet) {
        display:none !important;
    }

    header .site-title {
        width:100% !important
    }

    #menu-title {
        display:flex;
        justify-content: space-between;
        align-items: center;
    }

    #wrapper #maincontentcontainer {
        top: -25px !important;
    }
    .metaslider .caption-wrap a {
        display: none !important;
    }
    #masthead .grid_9_of_12 {
        display: none;
    }
    .flex-control-nav {
        bottom: 10px !important;
    }
    #primary > div {
        display: block;
        float: left;
    }
    .center-cropped-home-news {
        width: 227px;
    }
    #footerbottom .left, #footerbottom .right {
        width: 46%;
        margin: 2%;
    }
    .tribe-events-list-widget li h3.event-category {
        margin: 0 0 0 68px;
    }
    .widget-area .tribe-events-list-widget ol li .entry-title {
        margin-left: 0.4em;
    }
    #secondary .bwg_container .textwidget a > span > span:last-of-type {
        width: 80% !important;
    }
    .header-row-1 .col .entry-header .entry-title {
        margin: 0 6%;
    }
}

@media (max-width: 768px) {
    .desktop:not(.mobile), .tablet:not(.mobile) {
        display:none !important;
    }
    #primary > div {
        width: 100%;
    }
    .metaslider .caption-wrap {
        display: none !important;
    }
    .grid_8_of_12 article .entry-header, .grid_8_of_12 article .entry-content h1, .grid_8_of_12 article .entry-content p {
        float: left !important;
        width: 100% !important;
    }
    #shortcode-widget-3 {
        width: 55%;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    #wrapper #maincontentcontainer {
        top: 0px !important;
    }
    #left-top-site-navigation, #top-site-navigation {
        display: none !important;
    }
    .site-title h1 {
        text-align: left;
    }
    .flexslider .flex-control-nav {
        display: none !important;
    }
    #metaslider_182.flexslider .slides li {
        margin: 0 15px;
    }
    .h3_news {
        font-size: 22px;
    }
    .widget-area .tribe-events-list-widget ol li .entry-title {
        width: 75%;
    }
    .profesionales .grid_8_of_12 article {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    div ul.ecs-event-list li span {
        margin-bottom: 40px;
        vertical-align: top;
    }
    div ul.ecs-event-list li h3, div ul.ecs-event-list li h4 {
        width: 65%;
        vertical-align: top;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    div ul.ecs-event-list li {
        clear: both;
    }
    
    .media .album-fotos .falbum, .media .album-videos .valbum {
        width: 100%;
    }
    #secondary .bwg_container .textwidget a:first-of-type > span > span:first-of-type {
        width: 100% !important;
        margin: 0 auto;
    }
    #secondary .bwg_container .textwidget a:first-of-type > span > span:last-of-type {
        padding: 2% 0 !important;
    }
    #secondary .bwg_container .textwidget a > span > span {
        width: 50% !important;
    }
    #shortcode-widget-3 {
        width: 100%;
    }
    #footercontainer div.dir, #footercontainer div.dir_ {
        display: inline;
    }
    #footercontainer div.dir_ {
        padding-left: 0.5em;
    }
    #footercontainer div.dir_:before {
        padding-right: 0.5em;
        content: ' - ';
    }
    #footerbottom .left {
        width: 60%;
    }
    #footerbottom .right {
        width: 30%;
    }
}

.page-id-667 #primary {
    padding-top: 40px;
}

.page-id-667 #primary a h3 {
    margin-bottom: 15px;
}

#primary .bx-wrapper {
    box-shadow: none;
}

.fa {
    font-family: FontAwesome !important;
}

.bx-wrapper .bx-controls-direction a {
    text-indent: 0;
}

.bx-controls-direction {
    padding-top: 20px;
    text-align: center;
    position: absolute;
    width: 100%;
}

.bx-wrapper .bx-controls-direction a {
    margin-top: 0;
    font-size: 2em;
    top: 15%;
}

.bx-wrapper .bx-next {
    right: calc(50% - 50px);
}

.bx-wrapper .bx-prev {
    left: calc(50% - 50px);
}