/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}


/*****************
*	TablePress
*****************/
/*.c-chart */

.tablepress.learn-online tr td {
    padding: 5px 10px;
}

.tablepress.learn-online tr:first-child td {
    border-bottom: solid 1px #aa196d;
}

@media screen and (min-width: 600px) {
    .learn-online .column-3{
        min-width: 220px;
    }
}


.tablepress.facts-and-figures {
    /*display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;*/
    margin-bottom: 50px;
    font-weight: 700;
    border-collapse: separate;
    border-spacing: 0 5px;
}

table.facts-and-figures {
    border-collapse: separate;
}

/*td { border: solid 1px #000; }*/
tr th:first-child,
tr td:first-child {
}

tr th:last-child,
tr td:last-child {
}

table td,
table th {
}

table td {
}

.tablepress.facts-and-figures td.column-1, .tablepress.facts-and-figures td.column-2 {
    width: 50%;
    padding-top: 10px;
    padding-bottom: 10px;
}
.tablepress.facts-and-figures tr.row-1 td.column-1, .tablepress.facts-and-figures tr.row-1 td.column-2{
    padding-top: 0;
}

.tablepress.facts-and-figures tr {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(170, 25, 109, 0.1);
}

.tablepress.facts-and-figures td.column-1 {
    text-transform: uppercase;
    font-weight: normal;
}

.tablepress.facts-and-figures td.column-2 {
    padding-left: 20px;
    color: #000;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: normal;
}

/* =Custom CSS
-------------------------------------------------------------- */
body {
    overflow-x: hidden;
}

.c-search__icon {
    display: inline-block;
}

.c-search__input-field input {
    display: block;
    width: 100%;
    background: none;
    border: none;
    outline: none;
}

.c-meta-menu-overlay--is-search button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    outline: none;
}

img.img-responsive {
    max-width: 100% !important;
    height: auto !important;
}

.m-video iframe {
    border: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;;
    height: 100% !important;
    pointer-events: auto;
}

.c-tile__text p {
    font-size: 1rem;
}

.c-tile__text ul > li a {
    padding-left: 20px;
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_chevron-right_purple.svg');
    background-position: 0 4px;
    background-size: 15px 15px;
    background-repeat: no-repeat;
}

.c-tile__text ul > li a:hover {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_chevron-right_green.svg');
}

.c-text-content a {
    display: inline-block;
}
.c-text-content ol{
    list-style-position: inside;
    padding-left: 0;
}
.c-text-content ol li {
    font-size: 1.2rem;
    line-height: 2rem;
}

.c-dropdown-toggle.w-dropdown-toggle.w--open .c-dropdown-toggle__icon {
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(45deg) skew(0deg);
    transform-style: preserve-3d;
}
#pagination ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
#pagination ul li{
    display: inline-block;
    list-style: none;
    background: none;
    margin: 0;
    padding: 10px 20px 10px 0;
}
#pagination ul li a {
    display: inline-block;
}
#pagination ul li.active a{
    color:#0aa;
}

body.no-cookies {
    overflow: hidden;
}

body.no-cookies #cookie-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
}

body.no-cookies .site-inner {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.c-profile-category ul > li {
    padding-left: 25px;
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_chevron-right_purple.svg');
    background-position: 0 3px;
    background-size: 15px 15px;
    background-repeat: no-repeat;
}

.g-bullet-list-item.g-bullet-list-item--has-icon-download {
    padding-bottom: 10px;
    padding-left: 30px;
    border-bottom: 1px solid rgba(240, 150, 60, 0.4);
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_download-purple.svg');
    background-position: 0 5px;
    background-size: 20px 20px;
}

.c-text-content a {
    display: inline-block;
}

.c-text-content img {
    border-radius: 5px;
}

a.c-blog-feed__link h3 {
    color: #333;
}

.c-visual-container.c-visual-container--is-aside img {
    height: auto;
}

.wp-block-embed {
    margin: 0;
    padding: 0;
}

.c-text-content ul > li {
    padding-left: 20px;
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_chevron-right_purple.svg');
    background-position: 0 center;
    background-size: 15px 15px;
    background-repeat: no-repeat;
    font-size: 1.2rem;
    line-height: 2rem;
}

.c-text-content img {
    height: auto !important;
    max-width: 100% !important;
}

.c-text-content .wp-post-image {
    margin-bottom: 20px;
}

.c-text-content.no-top-padding {
    padding-top: 0;
}

.c-text-content a {
    word-wrap: break-spaces;
    overflow-wrap: break-spaces;
    word-break: break-word;
}
a.contact-button{
    word-wrap: break-spaces;
    overflow-wrap: break-spaces;
    word-break: normal;
}

.c-section-heading.first-section a {
    color: #fff;
}

.first-section a.g-cta-btn {
    display: inline-block;
    width: auto;
}


.wp-block-embed__wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.wp-block-embed__wrapper::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.g-list.w-list-unstyled {
    padding-left: 0;
}

ul.g-list.w-list-unstyled > li {
    list-style: none;
    padding-left: 0;
    background: none;
}

.g-accordion-header__icon.g-accordion-header__icon--is-work-package {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/qs_icon_work-packages_white.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center center;
}

.g-accordion-header.g-accordion-header--has-icon {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    text-transform: none;
}

.g-accordion-header {
    position: relative;
    width: 100%;
    padding: 20px 40px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.g-accordion__subheading {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.g-accordion-header__toggle-text {
    display: inline-block;
    float: right;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    text-align: right;
}

.m-visual.m-visual--is-map {
    height: auto;
}

.image-center img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.article-image img {
    width: 50%;
}

.g-list-item .g-accordion .g-accordion-content ul > li {
    padding-left: 25px;
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_chevron-right_purple.svg');
    background-position: 0 3px;
    background-size: 15px 15px;
    background-repeat: no-repeat;
}


.member_pagination {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 50px;
}

.member_pagination .g-btn_container {
    width: 200px;
    /*height: 20px;*/
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

.member_pagination .g-btn {
    width: 200px;
    padding: 10px 5px;
    text-align: center;
    font-size: 16px;
    border-radius: 5px;
    background-color: rgba(213, 127, 182, 0.2);
    -webkit-transition: background-color 400ms ease, opacity 400ms ease, color 400ms ease;
    transition: background-color 400ms ease, opacity 400ms ease, color 400ms ease;
    color: #aa196d;
    text-decoration: none;
    text-transform: uppercase;

}

.member_pagination .g-btn:hover {
    background-color: #aa196d;
    color: #fff;
}

.member_pagination .g-btn .c-icon_image {
    background-position: 50% 2px;
    background-size: 15px;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    display: inline-block;
}

.member_pagination .g-btn.is__previous_link .c-icon_image {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/mp_bullet_arrow_white.svg');
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    margin-right: 10px;
}
.member_pagination .g-btn_container:nth-child(2){
    margin-left: 27px;
}
.member_pagination .g-btn.is__next_link .c-icon_image {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/mp_bullet_arrow_white.svg');
    margin-left: 10px;
}

.member_pagination .g-btn_container:nth-child(1) .g-btn{
}
.member_pagination .g-btn_container:nth-child(2) .g-btn{}

.c-subpage-header__heading{
    padding-left:20px;
    padding-right: 20px;
}
.c-subpage-header__heading.tiny {
    font-size: 2.5rem;
    line-height: normal;
}

.c-subpage-header__heading.smaller {
    font-size: 4rem;
    line-height: normal;
}

.c-subpage-header__heading.small {
    font-size: 5rem;
    line-height: normal;
}

.c-visual-content iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .c-text-content ol li, .c-text-content ul li {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .c-subpage-header__heading.tiny {
        font-size: 2rem;
        line-height: normal;
        margin-bottom: 40px;
    }

    .c-subpage-header__heading.smaller {
        font-size: 3rem;
        line-height: normal;
        margin-bottom: 50px;

    }

    .c-subpage-header__heading.small {
        font-size: 4rem;
        line-height: normal;
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 575px) {
    .c-subpage-header__heading.tiny {
        font-size: 1.5rem;
        line-height: normal;
    }

    .c-subpage-header__heading.smaller {
        font-size: 2rem;
        line-height: normal;
    }

    .c-subpage-header__heading.small {
        font-size: 3rem;
        line-height: normal;
    }
}

.nav-links {
    margin-top: 20px;
}

.nav-links .page-numbers {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(213, 127, 182, 0.2);
    color: #aa196d;
}

.nav-links a.page-numbers:hover, .nav-links .page-numbers.current {
    background-color: #fff;
    color: #0aa;
}

.nav-links .dots {
    background: none;
    color: #333;
}

.article-row{
    margin-bottom: 20px;
}
.article-image-holder{
    padding-top:7px;
}
.article-image-holder img{
    border-radius: 5px;
}
.c-sidebar-info__title{
    font-size: 1.8rem;
    line-height: normal;
}

img.m-logo-concentris{
    width:275px;
    height: auto;
}
.c-section-heading{
    padding-top: 1px;
}

@media screen and (max-width: 1400px) {
    .l-col.l-col--is-small h2.c-section-heading, .l-col.l-col--is-small .c-sidebar-info__title {
        font-size: 1.3rem;
        line-height: normal;
    }
}

@media screen and (max-width: 1300px) {
    .l-col.l-col--is-small h2.c-section-heading, .l-col.l-col--is-small .c-sidebar-info__title {
        font-size: 1.2rem;
        line-height: normal;
    }
}

@media screen and (max-width: 1200px) {
    .l-col.l-col--is-small h2.c-section-heading, .l-col.l-col--is-small .c-sidebar-info__title {
        font-size: 1.1rem;
        line-height: normal;
    }
}

@media screen and (max-width: 1100px) {
    .l-col.l-col--is-small h2.c-section-heading, .l-col.l-col--is-small .c-sidebar-info__title {
        font-size: 1rem;
        line-height: normal;
    }
}

@media screen and (max-width: 767px) {
    .l-col.l-col--is-small h2.c-section-heading, .l-col.l-col--is-small .c-sidebar-info__title {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .c-visual-container.c-visual-container--is-aside .article-image-holder{
        text-align: center;
        width: 100%;
    }
    .c-visual-container.c-visual-container--is-aside .article-image-holder img{
        margin: 0 auto;

    }
    .c-text-content .image-center.article-image img, .c-text-content .author-image img{
        width:90%;
        margin-left: auto;
        margin-right: auto;
    }

    small.article-date{
        margin-bottom: 20px;
        margin-top:-20px;
        display: block;
    }
    small.article-author{
        text-align: center;
        display: block;
    }

}

#autocomleteInput, #autocomleteInput2{
    background: url("//newbrainnutrition.com/wp-content/themes/eattobenice/images/qs_icon_search_black.svg") right 20px center no-repeat;
    background-size: 15px 15px;
}

.ui-menu .ui-menu-item a{
    background:red;
    font-size:8px;
}
.ui-menu{
    border: solid 1px #dedede;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.19);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.19);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.19);
    max-height: 400px;
    overflow-x: auto;
}
.ui-menu .ui-menu-item{
    color: #aa196d;
    background: #fff;
    margin: 0;
    display: block;
    border-radius: 0;
    border-bottom: solid 1px #dedede;
    cursor: pointer;
    padding: 5px 10px;
}
.ui-menu .ui-menu-item:hover{
    color: #0aa;

}
.ui-menu .ui-menu-item:last-child{
    border-bottom: none;
}
.authorContainer{
    margin-bottom: 40px;
}
.authorContainer:last-child{
    margin-bottom: 0;
}
span.wpcf7-list-item{
    margin-left: 0;
}

.c-top-btn {
    position: fixed;
    left: auto;
    top: auto;
    right: 0%;
    z-index: 100;
    width: 40px;
    height: 40px;
    background-color: #aa196d;
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/qs_icon_chevron-top_white.svg');
    background-position: 50% 50%;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    bottom: 80px;
}
.c-top-btn:hover {
    background-color: #0aa;
}
.c-text-insert__caption{
    padding: 20px 0;
}

i{
    font-style: italic;
    font-weight: 400;
}



#eventList {
    margin-bottom: 80px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

#eventList.table th, #eventList thead td, .table > tbody > tr > td {
    border: 0;
}

#eventList thead {
    color: #004696;
    font-weight: 700;
    border: none;
}

#eventList thead th {
    background-color: #aa196d;
    color:#fff;
    min-width: 100px;
    padding: 10px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 20%;
    -ms-flex: 0 20%;
    flex: 0 20%;
    cursor: pointer;

}
#eventList thead th:first-child{
    border-top-left-radius: 5px;
}
#eventList thead th:last-child{
    border-top-right-radius: 5px;
}

#eventList tbody tr td {
    background-color: #fff;
    border-bottom: 1px solid #aa196d;
    word-wrap: normal;
    overflow-wrap: normal;
    -ms-word-break: normal;
    word-break: normal;
    padding: 5px 5px 10px;
}
#eventList tbody tr td button {
    word-wrap: break-spaces;
    overflow-wrap: break-spaces;
    -ms-word-break: break-spaces;
    word-break: keep-all;
}

#eventList tbody {
    font-size: 1rem;
    line-height: 1.2rem;
}

#eventList tbody tr td:last-of-type {
    border-right-width: 1px;
}

#eventList tbody tr td:nth-of-type(2) {
    font-weight: 500;
}

#eventList tbody tr td:first-of-type {
    border-left-width: 1px;
}

#eventList tbody tr td:first-of-type span {
    /*#eventList .sorting_1 span{*/
    display: inline-block;
    padding-left: 15px;
    font-weight: 600;
}

#eventList .reg_closed {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_circle-plus_purple.svg');
    background-position: left center;
    background-size: 10px 10px;
    background-repeat: no-repeat;
    color: #7da1b3;
}

#eventList .reg_start {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_circle-plus_purple.svg');
    background-position: left center;
    background-size: 10px 10px;
    background-repeat: no-repeat;
    color: #aa196d;
}

#eventList td a {
    display: inline-block;
}

#eventList tbody tr td:first-of-type a {
    /*#eventList .sorting_1 a{*/
    color: #fff;
}

#eventList tbody tr td:first-of-type a:hover {
    /*#eventList .sorting_1 a:hover{*/
    color: #aa196d;
}

#eventList .event-register-btn {
    background-color: #aa196d;
    color: #fff;
    border-style: solid;
    padding: 10px 10px;
    border-radius: 5px;
}

#eventList .event-register-btn:hover {
    background-color: black;
}

@media screen and (min-width: 600px) {
    #eventList thead th:last-child{
        min-width: 300px;
    }
}

button, a{
    cursor: pointer;
}

.m-subpage-header__img.m-subpage-header__img--is-contact {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_visual_header_contact.jpg');
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.m-subpage-header__img.m-subpage-header__img--is-for-scientists {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_visual_header_for-scientists.jpg');
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

.c-text-content--is-keyline, .c-text-content--is-keyline h2{
    font-weight: 700;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.1);
}

.l-content-container{
    padding-top: 0;
}
.c-main-menu-dropdown__toggle{
    font-size:1.3rem;
}
.c-meta-menu__link.c-meta-menu__link--is-emphasized{
    font-size: 1.2rem;
    line-height: normal;
}

@media screen and (max-height: 708px) and (min-width: 1200px){
    .c-header__heading{
        font-size: 6vh;
    }
}

.l-row.two-columns{
    flex-wrap: wrap;
}
.l-col.half{
    width: 50%;
    flex-grow: 1;
    margin-bottom: 20px;
}
.l-col.team-profile h6{
    align-self: flex-start;
    width: 100%;
}
.c-team-profile.small{
    width: 100%;
    align-self: flex-end;
    margin-top:auto;
}
.c-team-profile.small .c-team-profile__img{
    width: 100px;
    height: 100px;
    margin-right: 10px;
}
.c-team-profile.small .c-team-profile__heading{
    font-size: 1.1rem;
    font-weight: 600;
}
.c-team-profile.small .c-team-profile__text{
    margin-top: 5px;
    margin-bottom: 5px;
}
.g-accordion-header__icon.g-accordion-header__icon--is-gallery {
    background-image: url('//newbrainnutrition.com/wp-content/themes/eattobenice/images/eat_icon_members-light-purple.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center center;
}
.g-accordion-header.g-accordion-header--has-icon{
    width: calc(100% - 20px);
}

