/*
Theme Name: TheGem Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/
/*Menu*/
#primary-menu.no-responsive > li > a {
    text-transform: uppercase!important;
}
#primary-menu.no-responsive > li.menu-item-active > a,
#primary-menu.no-responsive > li.menu-item-current > a,
#primary-menu.no-responsive li li.menu-item-active > a,
#primary-menu.no-responsive li li:hover > a {
    border: none!important;
}
#primary-menu.no-responsive > li.menu-item-current > a,
#primary-menu.no-responsive > li.menu-item-active > a {
    font-weight: 600;
}
/*Home*/
.text_gradient {
	background: -webkit-linear-gradient(left, #027bd4 0%, #01a6f0 50%, #04eeed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    margin: 0 auto;
}
.text_gradient.gradient-right {
    float: right;
}
.home .text_gradient/*, .title_page_gradient*/ {
    font-size: 22px;
    line-height: 36px;
    font-weight: 500;
}
.quickfinder {
    padding: 30px 0 0px !important;
}
.quickfinder-item-image {
    display: none;
}
.quickfinder-item-box {
    min-height: 290px;
    display: flex;
    align-items: center;
}
.link_underlined, .link_underlined_about, .link_underlined_active, .link_underlined_not_active {
	position: relative;
    color: #0b1553;
    font-size: 18px;
    font-family: "Poppins";
}
.link_underlined span:after, .link_underlined_active span:after {
    content: '';
    width: 100%;
    height: 2px;
    background-image: linear-gradient(90deg, #faaf30, #f46203);
    position: absolute;
    bottom: -10px;
    left: 0;
}
.margin-left-60 {
    margin-left: 60px;
    margin-bottom: 0px !important;
}
.gem-gmaps iframe {
    margin-top: 0px !important;
}
/*About*/
.link_underlined_about span:after {
    content: '';
    width: 300px;
    height: 2px;
    background-image: linear-gradient(90deg, #faaf30, #f46203);
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
}
.team-person-info .team-person-name.title-h4 span {
    text-transform: uppercase!important;
    font-size: 18px!important;
    font-weight: 400;
}
.team-person-description {
    color: #5f727f;
}
.team-person-position.date-color {
    margin-bottom: 5px;
}
.gem-team-style-2 .team-person {
    padding: 0;
    border: none;
}
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab.vc_active > a span,
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-title > a span {
    background: -webkit-linear-gradient(left, #027bd4, #01a6f0, #04eeed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab > a {
    border-color: transparent;
    background-color: transparent;
    color: #ababac;
}
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab > a span {
    font-weight: 500;
}
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab.vc_active > a,
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-heading {
    border-color: transparent;
    background-color: transparent;
}
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab > a:hover, .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab > a:focus {
    background-color: transparent;
}
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab > a:hover span, .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab > a:focus span {
    background: -webkit-linear-gradient(left, #027bd4, #01a6f0, #04eeed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/*Science*/
.smaller_menu {
    width: 205px;
}
.ref {
    color: #0b1553;
    font-size: 21px;
}
.ref_points {
    padding-left: 30px;
}
/*Pipeline*/
.text_gradient .no_gradient {
    background: #5f727f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.programs h2 {
    line-height: 40px;
}
.page-our-pipeline .text_gradient,
.page-neuroprotection .text_gradient {
    margin: 0;
}
.page-our-pipeline .text_gradient h2,
.page-neuroprotection .text_gradient h2,
.page-immune-modulation .text_gradient h2 {
    font-size: 26px;
}
.text_gradient.programs {
    padding-bottom: 20px;
}
.text_gradient.programs span {
    font-size: 24px;
    line-height: 36px;
}
.page-our-pipeline .styled-subtitle {
    font-size: 19px;
}
/*Partners*/
#partners, 
#institutions, 
#investors, 
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-panel#partners .vc_tta-panel-body,
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-panel#institutions .vc_tta-panel-body,
.wpb-js-composer .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-panel#investors .vc_tta-panel-body,
#rdprograms,
#future-conference-attendance,
#attended-conferences {
    background-color: #F5F7F8;
}
#partners_section .vc_tta-tabs-container {
    background: #fff;
    padding: 20px 0;
}
#partners_section .vc_tta-panels-container {
    max-width: 1200px;
    margin: 0 auto;
}
.wpb-js-composer #partners_section .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab > a span,
.wpb-js-composer #partners_section .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-title > a span,
.wpb-js-composer #partners_section .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-title > a,
.wpb-js-composer #partners_section .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab.vc_active > a span {
    color: #0b1553;
    font-size: 20px;
    font-family: "Poppins";
	background: #0b1553;
	-webkit-background-clip: text;
/*	-webkit-text-fill-color: transparent;*/
	font-weight: 400;
    position: relative;
    text-transform: initial;
}
.wpb-js-composer #partners_section .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-tab.vc_active > a span:after,
.wpb-js-composer #partners_section .vc_tta.vc_tta-color-thegem.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-title > a span:after {
    content: '';
    width: 100%;
    height: 2px;
    background-image: linear-gradient(90deg, #faaf30, #f46203);
    position: absolute;
    bottom: -10px;
    left: 0;
}
.wpb-js-composer #partners_section .vc_tta.vc_tta-tabs .vc_tta-panel.vc_active .vc_tta-panel-title {
    background: #fff;
}
.wpb-js-composer #partners_section .vc_tta.vc_general .vc_tta-title-text {
    display: block;
}
.wpb-js-composer #partners_section .vc_tta.vc_general .vc_active .vc_tta-title-text {
    display: inline-block;
}
.block_partners {
    margin: 0 auto;
    max-width: 250px;
    min-height: 150px;
}
.icon_partners {
    display: flex;
    justify-content: center;
    min-height: 150px;
    align-items: center;
}
.icon_partners img {
    height: 100%;
    margin-bottom: 0!important;
}
.block_partners p {
    color: #99a9b5;
}
/*Newsroom*/
/*#rdprograms article[data-article='doble'] {
    width: 66.66666667%!important;
}
#rdprograms article[data-article='uno'] {
    width: 33.33333333%!important;
}*/
.portfilio-top-panel {
    display: none!important;
}
#rdprograms .blog {
    display: none;
}
#rdprograms .version-default.news-grid .portfolio-item .image .links .caption .slide-content {
    font-size: 14px;
    line-height: 22px;
    padding: 23px 23px 23px 30px !important;
}
#rdprograms .version-default.news-grid.hover-default-default .portfolio-item .image .links .caption .description {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
#rdprograms .image.post.type-post.status-publish.format-standard.category-rd-programs {
    background: white;
}
#rdprograms .version-default.news-grid .portfolio-item .overlay .caption a {
    pointer-events: none;
}
#rdprograms .version-default.news-grid .portfolio-item .overlay .caption .wp-block-file a {
    pointer-events: auto;
}
#rdprograms .version-default.news-grid .portfolio-item .overlay .links-wrapper {
    cursor: auto;
}
#rdprograms .version-default.news-grid.hover-default-default .portfolio-item .image .links .caption .slide-content {
    justify-content: flex-start;
}
#rdprograms .hover-default-default .portfolio-item:hover .image .overlay:before,
#rdprograms .version-default.news-grid.hover-default-default.title-on-hover .portfolio-item .image .links .caption:before {
    opacity: 0;
}
#rdprograms .title .title-h5 {
    font-size: 24px;
    text-transform: initial !important;
}
#rdprograms .portfolio.hover-title .portfolio-item .caption .subtitle {
    color: #99a9b5!important;
}
#rdprograms .blog.blog-style-masonry .entry-title a span,
#attended-conferences .blog.blog-style-masonry .entry-title a span,
#rdprograms .version-default.news-grid.hover-default-default .portfolio-item .image .links .caption .title {

    background: -webkit-linear-gradient(left, #027bd4, #01a6f0, #04eeed);
    background:    -moz-linear-gradient(left, #027bd4, #01a6f0, #04eeed);
    background:     -ms-linear-gradient(left, #027bd4, #01a6f0, #04eeed);
    background:      -o-linear-gradient(left, #027bd4, #01a6f0, #04eeed);
    background:         linear-gradient(left, #027bd4, #01a6f0, #04eeed);
    display: inline-block;
    display: -webkit-inline-box;


    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
#future-conference-attendance .blog.blog-style-masonry .entry-title a span {
    color: #fff;
    font-size: 28px;
}
#rdprograms .post-date,
#attended-conferences .post-date {
    color: #5f727f;
    font-size: 14px;
}
#future-conference-attendance .post-date {
    color: #fff;
    font-size: 14px;
}

#rdprograms .post-date,
#future-conference-attendance .post-date,
#attended-conferences .post-date {
    margin-bottom: 12px !important;
}

#rdprograms .entry-title.title-h4,
#future-conference-attendance .entry-title.title-h4,
#attended-conferences .entry-title.title-h4 {
    margin-top: 0px !important;
}

#rdprograms .entry-title.title-h4,
#attended-conferences .entry-title.title-h4 {
    margin-bottom: 9px !important;
}
.post-meta-conteiner {
    display: none;
}
.post-read-more, .post-footer-sharing {
    visibility: hidden;
}
.blog.blog-style-masonry article .description {
    padding: 15px 17px 30px 18px;
}
#future-conference-attendance .blog.blog-style-masonry article .description {
    background: -webkit-linear-gradient(left, #027bd4, #01a6f0, #04eeed);
}
#future-conference-attendance .blog.blog-style-4x.clearfix.blog-style-masonry article .description {
    min-height: 330px;
    height: 100%;
}
.blog.blog-style-masonry article .description .summary {
    font-weight: 100!important;
}
span.post-city {
    padding-left: 5px;
    font-weight: 600;
}
.blog-load-more button, .blog-load-more button:hover {
    background: transparent!important;
    text-transform: inherit;
    height: 35px;
}
.blog-load-more .gem-button:after {
    content: '';
    width: 100%;
    height: 2px;
    background-image: linear-gradient(90deg, #faaf30, #f46203);
    position: absolute;
    bottom: -10px;
    left: 0;
}
.blog.blog-style-masonry .entry-title a {
    pointer-events: none;
}
/*Contact*/
/* Contact Form 7 >= 5.6 marks the field wrapper with data-name instead of a class. */
span.wpcf7-form-control-wrap.your-name,
span.wpcf7-form-control-wrap.your-email,
span.wpcf7-form-control-wrap.your-subject,
span.wpcf7-form-control-wrap.your-message,
span.wpcf7-form-control-wrap[data-name="your-name"],
span.wpcf7-form-control-wrap[data-name="your-email"],
span.wpcf7-form-control-wrap[data-name="your-subject"],
span.wpcf7-form-control-wrap[data-name="your-message"] {
    padding-bottom: 20px;
}
.wpcf7-form input[type='submit']:not(.gem-button-wpcf-custom) {
    font-size: 16px;
}
span.wpcf7-form-control-wrap.your-name:after,
span.wpcf7-form-control-wrap[data-name="your-name"]:after {
    content: url(/wp-content/uploads/material-icons/perm_identity-24px.svg);
    position: absolute;
    font-size: 25px;
    top: 14px;
    right: 14px;
    z-index: 0;
    color: #B5C6C8;
}
span.wpcf7-form-control-wrap.your-email:after,
span.wpcf7-form-control-wrap[data-name="your-email"]:after {
    content: url(/wp-content/uploads/material-icons/email-24px.svg);
    position: absolute;
    font-size: 25px;
    top: 14px;
    right: 14px;
    z-index: 0;
}
span.wpcf7-form-control-wrap.your-subject:after,
span.wpcf7-form-control-wrap[data-name="your-subject"]:after {
    content: url(/wp-content/uploads/material-icons/language-24px.svg);
    position: absolute;
    font-size: 25px;
    top: 14px;
    right: 14px;
    z-index: 0;
}
input::placeholder, textarea::placeholder {
    color: #B5C6C8;
    font-size: 18px;
}
.wpcf7-acceptance {
    font-size: 18px;
}
.gem-icon-with-text {
    margin-bottom: 8px;
}
.gem-icon.gem-simple-icon {
    height: 30px;
    line-height: 30px;
}
/*Legal notice*/
.legal-text p, .legal-text li {
    font-size: 14px;
    line-height: 24px;
    padding-bottom: 15px !important;
    margin-bottom: 0;
}
.cookies_table {
    font-size: 14px;
    line-height: 24px;
    margin: 20px 0 30px!important;
}
.wpb_text_column ol li:before {
    color: #0285dc;
}
.wpb_text_column ol {
    padding-inline-start: 20px;
    margin-top: 0;
}
.wpb_text_column ul li:before {
    background-color: #0285dc!important;
}
table.cookies_table tbody tr td {
    border: 1px solid #000 !important;
    text-align: center;
}
table.cookies_table tbody tr td strong {
    color: #000;
}
/*Footer*/
#footer-nav {
    border-top: none;
    font-family: 'Open Sans';
}
#footer-nav .row {
    display: flex;
    align-items: flex-end;
}
.footer-site-info, #footer-menu li a {
    font-size: 12px;
}
#footer-navigation {
    text-align: right;
}
#footer-menu li {
    padding: 0 15px;
}
#footer-menu .current_page_item a {
    font-weight: bold;
    color: #000;
}
/*Cookies*/
#cn-notice-text {
    max-width: 750px;
    text-align: left;
    font-size: 12px;
}
span#cn-notice-buttons {
    position: relative;
}
/* Cookie Notice 3.x sets the button colour inline and renders the buttons as
   <button> elements: keep the original transparent, outlined look. */
#cookie-notice .cn-button {
    background: transparent !important;
    border: 1px solid #fff !important;
    border-radius: 3px !important;
    padding: 0 10px !important;
    min-height: 30px;
    line-height: 2.15384615 !important;
    min-width: 180px;
    width: 100%;
    margin-left: 30px !important;
}
#cookie-notice {
    background: -webkit-linear-gradient(left, #027bd4, #01a6f0, #04eeed);
}
#cookie-notice .cookie-notice-container {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 27px 30px !important;
}
#cn-notice-text a {
    color: #fff;
    text-decoration: underline;
}
#cn-close-notice {
    background: rgba(255, 255, 255, 1);
    border: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    top: 45%;
    border-radius: 4px;
    opacity: 0.9!important;
}
.cn-close-icon:after, .cn-close-icon:before {
    height: 20px!important;
    top: 5px!important;
    background-color: #03D2EF!important;
}
.cookie-notice-hidden {
	display: none;
}
/*MEDIA QUERY*/
@media (max-width: 1200px) {
    #cookie-notice .cookie-notice-container {
        flex-direction: column;
    }
    #cookie-notice .cookie-notice-container {
        padding: 15px 30px !important;
    }
    #cn-notice-text {
        max-width: 600px;
        margin-bottom: 10px;
        padding: 0 15px;
        margin-left: 15px;
        margin-right: 15px;
        line-height: 16px;
    }
    #cookie-notice .cn-button {
        margin-left: 0 !important;
    }
    a#cn-close-notice {
        top: 10%;
    }
    #future-conference-attendance article {
        width: 50%;
    }
}
@media (max-width: 1120px) {
    #rdprograms .portfolio-set {
        display: none;
    }
    #rdprograms .blog {
        display: block;
    }
    #rdprograms article[data-article='doble'],
    #rdprograms article[data-article='uno'] {
        width: 100%!important;
    }
}
@media (max-width: 992px) {
    .center_in_mv h2 {
        text-align: center!important;
    }
    .text_gradient.gradient-right {
        float: none;
    }
}
@media (max-width: 768px) {
    .page-cookies-policy .table-responsive {
        overflow-x: auto;
    }
    .margin-left-60 {
        margin-left: 0px;
        margin-bottom: 10px !important;
    }
    #home_second_text {
        text-align: center;
    }
    .text_contact_info p {
        text-align: center;
    }
    .link_underlined_about span:after {
        width: 100%;
    }
    .text_contact_info {
        padding-top: 30px;
    }
    .team-person-box {
        max-width: 400px;
        margin: 0 auto;
    }
    .team-person-box .team-person-box-left {
        text-align: center;
    }
    .smaller_menu {
        width: auto;
    }
    #footer-nav .row {
        display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;      /* TWEENER - IE 10 */
        display: -webkit-flex;     /* NEW - Chrome */
        display:flex;
        align-items: flex-end;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        margin: 0 auto;
    }
    #footer-nav .col-12 {
        width: 100%;
    }
    #footer-navigation {
        text-align: center;
    }
    body .vc_tta.vc_tta-tabs .vc_tta-tabs-container { display: block !important; }
	body .vc_tta.vc_general .vc_tta-panel-heading { display: none !important; }
    .home .text_gradient {
        margin: 0 auto;
    }
    #future-conference-attendance article {
        width: 100%;
    }
}
@media (max-width: 576px) {
    #rdprograms .title-h4 {
        font-size: 20px;
        line-height: 30px;
    }
    #rdprograms .vc_tta-panel-body {
        padding-left: 10px;
        padding-right: 10px;
        margin-top: 20px;
    }
    #rdprograms article {
        margin-bottom: 20px !important;
    }
    #rdprograms article .description .info.clearfix {
        display: none;
    }
    #rdprograms article .description {
        padding-bottom: 30px!important;
    }
}
@media (max-width: 528px) {
    .link_underlined_active.science:after {
        content: '';
        width: 100%;
        height: 2px;
        background-image: linear-gradient(90deg, #faaf30, #f46203);
        position: absolute;
        bottom: -10px;
        left: -14px;
    }
}
.gem-pagination:not(.portfolio-navigator) {
  /*background-color: green;*/
  display: block;
}
.portfolio-navigator.gem-pagination {
  /*background-color: red;*/
  display: none!important;
}