/*
Theme Name: Martinos Lab Theme
Theme URI: https://www.nmr.mgh.harvard.edu
Author: Martinos Center
Author URI: https://www.nmr.mgh.harvard.edu/
GitHub Theme URI: https://www.nmr.mgh.harvard.edu/
Description: Lab Theme for Martinos Center
Version: 3.4 2024
License: UnderStrap WordPress Theme
UnderStrap is distributed under the terms of the GNU GPL version 2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/*
 Header
*/

*{
    font-family: 'Verdana', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.lab-name {
    background: black;
    color: #fff;
    padding-top: .5rem;
    padding-bottom: 2rem;
}

.lab-name .text-logo {
    font-size: 3.2rem;
    font-weight: 700;
}

.lab-name .text-logo a {
    color: #fff;
    text-decoration: none;
    background-color: transparent;
    padding-left: 1rem;
    display: inline-block;
}

.lab-name .text-logo a:hover {
    opacity:.9;
}

.bg-primary {
    background-color: #000!important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}

/*
 Footer
*/

.footer {
    background: #000;
}

.footer-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 auto;
}

.copyright a {
    color: #fff;
    font-size: .9rem;
}

.copyright a :hover{
    opacity: .9;
}

.affiliate {
    -ms-flex-preferred-size: 60%;
    flex-basis: 60%;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.affiliate ul.logos {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.affiliate ul.logos li {
    width: 120px;
    margin: 0 .5rem;
    margin-top: .5rem;
}

@media (max-width: 768px){
    .footer-container {
        display: block;
    }

    a.navbar-brand img {
        width: 225px;
    }

    .lab-name {
        background: black;
        color: #fff;
        padding: 1rem 0;
    }

    .lab-name .text-logo {
        font-size: 2rem;
    }

    .affiliate {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding-top: 1rem;
        border-top: 1px solid #777;
        width: 100%;
    }

    .affiliate img{
        width: 100px;
    }

    .copyright{
        text-align: center;
        display:block;
    }

    .copyright a {
        color: #fff;
        font-size: .8rem;
    }

}

@media (max-width: 430px){
    .affiliate ul.logos {
        width: 100%;
    }
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
    display: block;
    height: auto;
    max-width: 100%;
    line-height: 1;
    width: 100%;
}

.carousel-inner {
    max-height: 500px;
}

.hero-slider {
    margin-bottom: 1rem;
}

img.owl-lazy {
    width: 100%;
    height: 100%;
}

.widget {
    padding: 1rem 0;
}

.search-form .search-submit {
    background-color: inherit;
    border: none;
    color: #000;
    outline: 0;
    padding: 0;
    margin: 0;
    font-size: 1.4rem;
    float: right;
    line-height: 1;
}

form.search-form {
    border-bottom: 2px solid #000;
    height: 2rem;
    font-size: 1.1rem;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #000;
    text-transform: capitalize;
    font-weight: 600;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #000;
    text-transform: capitalize;
    font-weight: 600;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #000;
    text-transform: capitalize;
    font-weight: 600;
}
:-moz-placeholder { /* Firefox 18- */
    color: #000;
    text-transform: capitalize;
    font-weight: 600;
}

form input[type="search"] {
    border: 0;
    background: transparent;
    outline: 0;
    border-radius: 0;
    width: 191px;
}

#content {
    padding: 0 2rem;
}

#right-sidebar {
    padding-left: 3rem;
}

#left-sidebar {
    padding-right: 3rem;
}

@media (max-width: 900px){
    #content {
        padding: 1rem;
    }

    #right-sidebar {
        padding-left: 0rem;
        padding:1rem;
    }

    #left-sidebar {
        padding-right: 0rem;
        padding:1rem;
    }

}

h2.widgets-title {
    font-size: .9rem;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

.entry-content p {
    line-height: 1.7;
}

p {
    margin-bottom: 1.5em;
    font-family: 'Verdana', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.popular-post {
    margin-bottom: 2rem;
}

.post-meta {
    display: block;
    margin-top: .5rem;
}


span.post_date {
    padding-right: 1rem;
    position: relative;
    display: inline;
    top: 2px;
    font-size: .75rem;
    font-weight: 600;
}

span.category.color-type {
    padding: 0 12px;
    font-size: .8rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: .3rem;
    display: inline-block;
    margin-bottom: .5rem;
    padding-top: 3px;
    padding-bottom: 1px;
}

.popular-post h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

a {
    font-family: 'Verdana', sans-serif;
    color: #000;
    text-decoration: none;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.popular-post h3 {
    margin-top: .3rem;
}

.widget_recent_entries h3.widget-title {
    border-bottom: 2px solid #000;
    height: 1.7rem;
    font-size: 1.1rem;
    margin-bottom: 1.7rem;
    font-weight: 600;
}

.widget_recent_entries h3.widget-title:after {
    content: '\f105';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration:none;
    font-size: 1.7rem;
    float: right;
    line-height: 1rem;
    color: #000;
}

.widget {
    margin: 0 0 20px 0;
    font-size: 0.933em;
    color: #555;
    padding: .8rem;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    word-wrap: break-word;
    background: #f9f9f9;
}

.widget > ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.widget > ul li {
    padding: 0;
    margin: 10px 0;
}

.widget_nav_menu .menu > li:first-child {
    margin-top: 0;
}
.widget_nav_menu ul li {
    padding: 0;
    margin: 10px 0;
}

.widget_nav_menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.widget-title {
    border-bottom: 2px solid #000;
    height: 1.7rem;
    font-size: 1.1rem;
    margin-bottom: 1.7rem;
    font-weight: 600;
    color: #000;
}

.widget_search, .widget_recent_entries{
    background: none;
}

.widget_pages > ul > li > a:before, .widget_meta > ul > li > a:before, .widget_recent_entries > ul > li > a:before, .widget_nav_menu ul li a:before, .widget_categories > ul > li > a:before {
    font-size: 1rem;
    content: '\f105';
}
.widget_pages > ul > li > a:before, .widget_categories > ul > li > a:before, .widget_meta > ul > li > a:before, .widget_recent_entries > ul > li > a:before, .widget_recent_comments ul li a.url:before, .widget_nav_menu ul li a:before {
    font-family: FontAwesome;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    padding-right: 0.5em;
    margin-left: 10px;
}

.h1, h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.entry-meta {
    margin: 1rem 0;
    font-weight: 100;
}

.entry-content p {
    margin: 1rem 0;
}


@media (max-width: 1100px) {
    .container {
        max-width: 100%;
    }

    .hero-slider{
        padding: 0 !important;
        margin: 0 !important;
        position: relative;
        display: block;
    }
}

@media (max-width:1040px){

    form input[type="search"] {
        width: 100% !important;
    }
}

.search article {
    margin: 2rem 0;
}

.navbar-dark .navbar-toggler {
    color: rgba(255,255,255,1);
    border-color: #000;
    outline: 0;
}

.home #page-wrapper {
    padding: 0;
}


@media (min-width: 850px) and (max-width: 992px){

    ul.navbar-nav li{
        font-size: .9rem;
    }

}


@media (min-width: 768px) and (max-width: 849px){

    ul.navbar-nav li{
    font-size: .7rem;
    }

}

@media (min-width: 1px) and (max-width: 767px) {

     ul#main-menu {
        padding: 0 1.5rem;
    }

    .lab-name .text-logo a {
        padding-left: 0rem;
        display: inline-block;
    }

}

.entry-content a{
    color: #dc1111;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #dc2e2e;
    text-decoration: underline;
}

a:hover{
    color: #dc2e2e;
}

.btn {
    color: #fff !important;
    text-decoration: none !important;
}

.nav-links.justify-content-between {
    background: #f1f1f1;
    padding: 1rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.view-link a {
    text-decoration: none;
}

.view-link a:hover {
    text-decoration: none;
}

/* Archive Blog  */

.list-post img {
    float: left;
    max-width: 30%;
    margin: 0 20px 0 0;
}

.list-post {
    margin-bottom: 1rem;
    display: block;
    position: relative;
    min-height: 137px;
}

.list-post .entry-summary {
    display: block;
}

.list-post .entry-summary {
    display: block;
    font-size: .9rem;
}

.list-post p {
    margin: 0 0 20px 0;
}

.list-post h2.entry-title {
    font-size: 1.1rem;
    text-decoration: none;
    color: #222;
}

.entry-summary {
    color: #555;
    margin: 0;
    -webkit-transition: color 0.3s ease-in-out 0s;
    transition: color 0.3s ease-in-out 0s;
    margin-bottom: 2rem;
}

.entry-meta {
    font-weight: 100;
    font-size: .9rem;
    padding: 0;
    margin: .5rem 0;
}

article a {
    font-family: 'Verdana', sans-serif;
    color: #dc2e2e;
}

header.page-header h1 {
    font-size: 2rem;
    padding-bottom: 1rem;
}

h2.entry-title a {
    color: #222 !important;
}

h2.entry-title a:hover {
    color: #dc2e2e !important;
    text-decoration: none;
}

.h1, h1 {
    font-size: 2rem;
    font-weight: 700;
}

@media (min-width: 1px) and (max-width: 767px) {
    .list-post img {
        float: left;
        max-width: 25%;
        margin: 0 20px 0 0;
    }

    .blog .wrapper{
        padding:0;
    }

    .entry-summary {
        margin-bottom: 1rem;
    }

    .list-post h2.entry-title {
        font-size: 1.1rem;
        text-decoration: none;
        color: #222;
    }


}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #5f5f5f;
    border-color: #4c4c4c;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #151515;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #2b2b2b;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link  a {
    color: #424242;
    text-decoration: none;
    background-color: transparent;
}

.page-link:hover {
    z-index: 2;
    color: #900617;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.dropdown-menu {
    font-size: .8rem;
}

.entry-content a,
.investigator-contact-box a{
    color: #f74216;
}

.entry-content a:visited,
.investigator-contact-box a:visited {
    color: #3d3dea;
    text-decoration: underline;
}

img.fp_image {
    margin: 1.2rem 0;
}

.list-post {
    margin-bottom: 1rem;
    display: block;
    position: relative;
    min-height: 150px;
}

.list-post img:hover {
    opacity: .9;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem 0;
}

.separator::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #000000;
}

.separator::after {
    margin-left: 1rem;
}

.right form.search-form {
    height: 35px;
    font-size: 1rem;
    background: #fff;
    padding: .3rem .5rem;
    border: none;
}

a.button {
    background: #000000;
    color: #fff;
    padding: .5rem 1rem;
}

a.button:hover {
    background: #000000;
}

main#news {
    margin: 2rem 0;
    margin-bottom: 5rem;
}

.news-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 3rem;
}

.article h3 a {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1rem 0;
    color: #000000;
    display: block;
}

main#main {
    margin-top: 2rem;
}

.home article a {
    font-family: 'Verdana', sans-serif;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
}

#banner-id {
    width: 100%;
    height: 425px;
    background-position: center;
    background-size: cover;
    margin-bottom: 1rem;
}

.article img:hover {
    opacity: .8;
}

.search-wrapper {
    background: #eaeaea;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.right form.search-form {
    height: 35px;
    font-size: 1rem;
    background: #fff;
    padding: .3rem .5rem;
    border: none;
}

.search-wrapper .right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.right form.search-form {
    width: 400px;
}

.footer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
	flex-wrap: wrap;
}

.footer-menu ul li a {
    color: #fff;
    padding: 6px 9px 6px 0;
    font-size: 13px;
}

.copyright {
    display: block;
    flex-basis: 40%;
}

.copyright span {
    margin-left: 0.3rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none; 
    width: inherit;
    height: inherit;
    overflow: hidden;
    outline: 0;
}

@media (max-width: 767px) {
	
	.footer-menu ul {
		display: flex;
		justify-content: center;
		align-content: center;
		margin-bottom: 1rem;
	}
	
    .news-section {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 1rem;
    }

    .news-section .article {
        margin: 1rem 0;
    }

    #banner-id {
        height: 50vh;
    }

    main#main {
        margin-top: 0rem;
    }

    .right form.search-form {
        width: 100%;
    }
}

.page-template-home-page-2
.hero-slider {
    margin: 0 auto;
    padding: 0 2rem;
    max-width: 1140px;
}

.wp-block-search__input {
    border-radius: 4px !important;
    border: 1px solid #8c8f94 !important;
}

.pt-cv-content-item {
	box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
	border-radius: 8px;
	margin-bottom: 2em;
}

.pt-cv-title {
	text-align: center;
}
.pt-cv-wrapper {
	margin: 20px;
}
