/*-------------------------------------------------------
Theme Name: TaraEcho Child Theme
Theme URI: 
Description: A child theme template for Divi
Author: JSI, Inc.
Author URI: https://jsi.com/
Template: Divi
Version: 1.0.0
----------------- ADDITIONAL CSS HERE ------------------*/

/** accordion styles **/

.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "\e04f";
}

.custom-accordion {
    border: 2px solid #293D56;
    border-radius: 10px;
    overflow: hidden;
}

.custom-accordion .et_pb_toggle {
    border: none;
    border-bottom: 2px solid #293D56;
    box-shadow: none;
    border-radius: 0;
    margin: 0!important;
    padding: 0;
}

.custom-accordion .et_pb_toggle h5.et_pb_toggle_title {
    display: block;
	color: #2c3138;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    border: none;
    border-radius: 0;
    position: relative;
    transition: all .3s ease 0s;
}

.custom-accordion .et_pb_toggle.et_pb_toggle_open h5.et_pb_toggle_title {
    background: #26418F;
    color: #fff;
}

.custom-accordion .et_pb_toggle.et_pb_toggle_close h5.et_pb_toggle_title:before {
    content: '\3b';
	color: #26418F;
}

.custom-accordion .et_pb_toggle.et_pb_toggle_open h5.et_pb_toggle_title:before {
    content: '\3a';
	color: #fff;
}

.custom-accordion .et_pb_toggle .et_pb_toggle_content {
    padding: 20px;
    border: none;
}

.custom-accordion .et_pb_toggle_close {
    background-color: #ffffff;
    padding: 20px;
}

.custom-accordion .et_pb_toggle h5.et_pb_toggle_title:before {
    font-size: 25px;
    display: block!important;
    position: absolute;
    top: 25px;
    right: 20px;
    color: #fff;
    transition: all .3s ease-in-out 0s;
}

.custom-accordion .et_pb_toggle {
    border: none;
    border-bottom: 2px solid #293D56;
    box-shadow: none;
    border-radius: 0;
    margin: 0!important;
    padding: 0;
}

/*** buddypress members ***/


#members-dir-list img.avatar {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%; 
	-webkit-box-shadow: 0 1px 0 #fff;
	-moz-box-shadow: 0 1px 0 #fff;
	box-shadow: 0 1px 0 #fff;
}

#members-dir-list a:hover img.avatar {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: -webkit-filter 0.2s ease-in-out;
	-moz-transition: -moz-filter 0.2s ease-in-out;
	transition: filter 0.2s ease-in-out;
}

#buddypress #members-list li {
	list-style: none;
	float: left;
	width: 17%;
	margin: 0 20px 28px 0;
	border: 0;
}

#buddypress  ul.item-list li div.item-title, 
#buddypress  ul.item-list li h4,
#buddypress  ul.item-list li div.item-meta {
	width: 100%;
	text-align:center;
}

#buddypress  ul.item-list li div.item-title {
	font-size: 100%;
}

#buddypress  ul.item-list li div.item-meta {
	text-transform: uppercase;
	font-size: 80%;
}

#buddypress  ul.item-list li img.avatar {
	margin: 0 0 10px 0;
	float: none !important;
}


#buddypress ul.item-list {
	width: 90% !important;
	margin: 20px auto !important;
	overflow: auto !important;
	text-align:center !important;
}

/** Resources Filter Start **/

.searchandfilter select.sf-input-select{
	border-radius:5px;
	border: 1px solid #e3e3e3;
	min-width: 250px;
	max-width: 250px;
	margin-right:10px;
	padding: 7px;
	font-size: 16px;
}

.searchandfilter ul {
    display:flex;
    flex-wrap:wrap;
    padding: 0;
    align-items:center;
}

.sf-field-submit input[type=submit]{
	background-color: #0071ba;
	color:white;
	padding: 7.5px;
	width: 84px;
	margin-right:10px;
    border:2px solid #0071ba;
    border-radius:5px;
    font-size:18px;
    font-weight:bold;
}

.sf-field-submit input[type=submit]:hover{
	color: #0071ba;
	background-color:white;
    font-size:18px;
}

.search-filter-reset:hover{
    text-decoration: underline;
}

.resource-details h4{
    color:#0071ba;
    padding-bottom:0;
    padding: 5px;
}

.resource-details:hover{
    text-decoration: underline;
}

.resources-results{
    border: 1px #e3e3e3 solid;
    border-radius: 5px;
    padding:1%;
    margin-bottom:10px;
}

.wp-pagenavi a{
    border:none !important;
    color: #0071ba !important;
    font-weight:bold !important;
}

.wp-pagenavi span.current{
    border: 1px solid #0071ba !important;
    border-radius: 5px !important;
    color:#0071ba !important;
}

/** Resources Filter End **/

/** Events Calendar **/

.tribe-events-c-subscribe-dropdown__button, .tribe-common-c-btn, .tribe-events-c-search__button{
    border: 1px solid #0071ba!important;
    color: #0071ba!important;
    background-color: transparent!important;
}

.tribe-events-c-subscribe-dropdown__button:hover, .tribe-events-c-subscribe-dropdown__button:focus, .tribe-common-c-btn, .tribe-events-c-search__button{
    background-color: #0071ba!important;
    color:white!important;
}

td.active.day.current{
    background-color: #0071ba!important;
}



/** Events Calendar End **/

/** resource table styles **/

.resource_list {
    font-size: 14px;
    line-height: 18px;
    table-layout:fixed;
}

.resource_list_header {
    font-size: 13px;
}

.reference_resource_head {
    width: 70% !important;
}

.resource_head,
.resource_list_title {
    width: 30% !important;
}

.lang_head {
    width: 15% !important;
}

.type_head {
    width: 15% !important;
}

.pop_head {
    width: 13% !important;
}

.source_head {
    width: 25% !important;
}

.resource_topic,
.resource_area,
.resource_population,
.resource_type,
.resource_language {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 16px;
    margin-right: 3px;
    white-space: nowrap;
}

.mental-health-services {
    background: #ffe7b1;
}

.treatment-services {
    background: #b7e9fe;
}

.maine,
.massachusetts,
.article-publication,
.social-supports,
.reference {
    background: #c8defd;
}

.new-hampshire,
.men,
.book {
    background: #b7e9fe;
}

.online,
.video,
.hiv-aids-services,
.service {
    background: #ffe7b1;
}

.vermont,
.intimate-partner-violence-services {
    background: #b2f3ed;
}

.social-services,
.pregnant-person {
    background: #fdccfa;
}

.all-individuals {
    background: #c8defd;
}

.substance-use-disorder-services,
.more-than-one-language {
    background: #c4f3cc;
}

.other,
.translation-services,
.manual-toolkit-tool,
.spanish {
    background: #ffcedb;
}

.assessment-and-referral-services {
    background: #c8defd;
}

.recovery-support-services,
.women,
.presentation,
.connecticut,
.english {
    background: #b2f3ed;
}

.other-population {
    background: #e1e6ed;
}

.nationwide,
.training-webinar {
    background: #c4f3cc;
}

.veteran,
.pennsylvania {
    background: #dcd5fb;
}

.primary-care-services,
.website,
.holistic-supports,
.michigan {
    background: #ffdbc7;
}

#dh-tab .et_pb_tabs_controls {
    background: none;
    border: none;
}

#search-filter-form-2709 select,
#search-filter-form-2709 input
 {
    font-size: 14px !important;
}

#search-filter-form-2709 input,
 {
    padding: 5px 10px;
    margin-right: 10px;
 }

@media all and (max-width: 980px) {
    .resource_list {
        table-layout:auto;
    }

    .resource_head,
    .resource_list_title {
        width:auto;
    }    
}


/** resource table styels end **/