/*
Theme Name: Therapeutics Initiative
Description: Therapeutics Initiative custom theme, child theme of Bridge theme
Author: Pixel Salad Studio
Author URI: https://pixelsaladstudio.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

.content_top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 10px 0;
}

.content_top > div {
    margin-left: 10px;
}

.content_top select,
.content_top input {
    min-height: 44px;
}

.has_fixed_background {
	object-fit: cover;
    max-width: 1920px;
    width: 100%;
}
.view-listing .qodef-blog-item .qodef-e-inner {
    display: flex;
    gap: 25px;
}

.view-listing .qodef-blog-item .qodef-e-content {
    flex: 4 0 calc(80% - 25px);
}
.view-listing .qodef-blog-item .qodef-e-media {
    flex: 1 0 20%;
}
/* [profile_list] */
.profile-list {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    gap: 25px;
}
.profile {
    flex: 0 0 calc(25% - 25px);
}
.profile.profile-open {
    height: 750px;
}
.profile-intro {
    position: relative;
    min-height: 220px;
    text-align: center;
    padding-bottom: 10px;
    cursor: pointer;
}
.profile-intro:hover,
.profile.profile-open .profile-intro {
    background: #38586E;
    color: #fff;
}
.profile.profile-open .profile-intro:after {
    bottom: -28px;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #f2f2f2;
    border-width: 15px;
    left: 50%;
    margin: -9px 0 0 -15px;
}
.profile-detail {
    display: none;
    position: relative;
}
.profile-close {
    font-size: 50px;
    color: #666;
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0;
    top: 15px;
    cursor: pointer;
}
.profile-close:hover {
    color: #333;
}

.profile.profile-open .profile-detail {
    display: block;
    max-height: 400px;
    width: 100%;
    background: #f2f2f2;
    margin-top: 28px;
    position: absolute;
    left: 0;
}
.profile.profile-open .profile-content {
    max-height: 340px; /* parent height - padding */
    overflow-y: scroll;
    padding: 30px;
}

.qodef-e-excerpt:after {
    content: '\2026';
}

/* Remove post byline */
.blog_single article .post_info {
    display: none;
}

/* Buttons & links */

#qodef-back-to-top.qodef--on {
    display: none;
}

.qbutton {letter-spacing: 0}

.latest_post_inner .post_infos a:hover {
	color: #7289A0 !important;
}

h4 a {
	text-decoration: none;
}

.latest_post_inner .post_infos a {
	color: #38586E;
}

.blog_holder article .post_info a {
    color: #38586e;
}

.blog_holder article .post_info a:hover {
    color: #7289A0;
}

.qodef-shortcode .qodef-m-pagination.qodef--standard .nav-links {
	margin-top: 25px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	margin-top: 18px;
}

p .intro {
	font-family: Titillium Web, sans-serif;
	font-size: 25px;
	line-height: 35px;
	color: #C33B30;}

p .intro-secondary {
	font-family: Titillium Web, sans-serif;
	font-size: 25px;
	line-height: 35px;
	color: #212121;}

aside.sidebar .widget:not(.qode_latest_posts_widget) a, .wpb_widgetised_column .widget:not(.qode_latest_posts_widget) a, .elementor-widget.elementor-widget-sidebar .widget:not(.qode_latest_posts_widget) a {
	letter-spacing: 0;
}

ul {
    list-style-position: outside;
		margin-left: 15px;}

ol {
	margin-left: 15px;
}

.latest_post_holder.image_on_the_left_boxed .date_hour_holder {
	color: #ffffff;}

/* Layout elements */
.footer_top_holder {
	margin-top: 40px;}

.footer_top p {
	font-size: 14px;
	line-height: 24px;
}

/* Ninja Forms */
.field-wrap > div input[type="checkbox"], .field-wrap button, .field-wrap input[type="button"], .field-wrap input[type="submit"] {
    padding: 15px 30px 15px;
    background-color: #C33B30;
    border: 0;
    color: #fff;
}

.nf-field-element input, .nf-field-element select, .nf-field-element textarea {
    padding: 10px 0 10px 0;
}

/* Header search widget */
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	padding: 0;}

.wp-block-search .wp-block-search__button {
	color: #C33B30;
  min-height: 37px;
	margin-top: 4px;
}

/* Twitter feed */
.SandboxRoot.env-bp-430 .timeline-Header-title, .SandboxRoot.env-bp-550 .timeline-Header-title {
    font-size: 21px;
    line-height: 30px;
}


.SandboxRoot.env-bp-430 .timeline-Tweet-text {
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
}

/* Search and lang switcher */
.wp-block-search .wp-block-search__input {
    border: 1px solid #C33B30;
}

.content_top select, .content_top input {
border: 1px solid #C33B30;
}

/* Profiles */
.profile-list {
	margin-top: 25px;}

/* Blog */
.blog_holder article .post_image, .blog_holder article .post_image img, .blog_holder article .post_image>a, .qodef-blog-shortcode .qodef-blog-item .qodef-e-read-more-link .qodef-theme-button-icon {
    display: none;
}

.qodef-blog-shortcode .qodef-blog-item .qodef-e-read-more-link {	
	color: #38586e;
  text-decoration: underline;}

.qodef-blog-shortcode .qodef-blog-item .qodef-e-title {
    margin: 0.75em 0 0.5em;
}

.qodef-blog-shortcode .qodef-blog-item {
    margin: 0 0 2px;
}

.highlight {
    background-color: #f6f6f6;
    color: #212121;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0 10px 0;
}

.qodef-blog-shortcode .qodef-blog-item .qodef-e-info .qodef-e-info-item a {
	text-transform: capitalize;
	text-decoration: none;
	font-size: 85%;
}

.qodef-blog-shortcode .qodef-blog-item .qodef-e-media-image img {
	width: 80%;
}

.qodef-blog-shortcode .qodef-blog-item .qodef-e-info .qodef-e-info-item-icon {
	display: none;
}

.view-listing .qodef-blog-item .qodef-e-media {
    margin-top: 30px;
}

.time {display: none;}

.ti-media {
	padding: 15px 0 15px 0;
    border-bottom: 1px solid #ccc;
    margin: 8px 0 8px 0;
}

.ti-media a {
   text-transform: none;
   width: 100px !important;}

/* Table */

table {
		border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #ccc;
    line-height: 2;
    margin-bottom: 40px;
    width: 100%;
		text-align: left;
}

/* Pagination */
.pagination ul li {margin-bottom: 10px;}

/* Media queries */

@media only screen and (max-width: 1000px) {
.q_logo a {
    left: -47%;
}
	p .intro {
	font-size: 20px;
	line-height: 30px;
}

p .intro-secondary {
	font-size: 20px;
	line-height: 30px;
}
	
.content_top {
    padding-bottom: 10px;
	  margin: 2px 0;
}
	
	nav.mobile_menu ul li a, nav.mobile_menu ul li h3 {
		text-decoration: none;
	}
}

/* ## TI Media - Download, Listen, Share
--------------------------------------------- */
.single .ti-media {
    margin-bottom: 2em;
    margin-left: 0;
}
.ti-media a {
	display: block; 
	float: left;
	width: 130px;
	height: 35px; 
	margin-right: 10px;
	margin-bottom: 10px;
	background: #C33B30;
	color: #fff; 
	text-align: center; 
	text-decoration: none;
	vertical-align: middle;
	line-height: 2.2;
}
.ti-home .ti-media {
	margin-left: 175px;
}
.ti-media a {
    text-transform: uppercase;
}
.ti-media a:hover {
    color: #fff;
    background: #F15B49 !important;
}

.addtoany_list a, .widget .addtoany_list a {
	font-size: 15px;
}

@media (min-width: 2180px) {
	.has_fixed_background {
		background-size: cover !important;
	}
}

@media (max-width: 1000px) {
    .content_top {
        justify-content: space-evenly;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .profile {
        flex: 0 0 calc(50% - 25px);
    }

    .view-listing .qodef-blog-item .qodef-e-inner {
        display: block;
    }
}