/*-------------------------------------------------------
Theme Name: RIPRC 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 ------------------*/

body {
    background-color: #e2edfc !important;
}

a:hover {
	text-decoration:underline;
}

.menu li > a {
    padding-bottom: 5px;
    word-wrap: break-word;
}

.menu li {
	display:block !important;
}

#main-content,
.entry-content,
.et_pb_section {
	background-color: transparent !important;
}


#et-top-navigation {
	background: #10305f !important;
	padding: 10px 0 5px 0;
}

.logo_container {
	margin-top: 40px;
}

.et_pb_section_first {
	margin-top: -40px;
}

#logo {
	float: left !important;
}

#page-container {
	background: none;
	box-shadow:none !important;
	background-image: url(/wp-content/uploads/2018/03/header_bg.jpg) !important;
	background-repeat: no-repeat;
	background-size:contain;
}


ul.sub-menu li {
	text-decoration: none!important;
}

#main-header {
	background: rgba(34,34,34,0.25) !important;
}

.et_pb_widget li a:hover {
	/*background-color: #10305f;*/
}

#main-footer ul.menu {
	font-weight: 600;
	font-size: 16px;
}

#main-footer .footer-widget h4 {
	color: #fff !important;
}
 
#footer-widgets .footer-widget li a:hover {
	text-decoration: underline;
}

/* hide bullets in the footer menus */
.footer-widget li:before { display: none; }


/*REMOVE ANIMATION FROM AND STYLE ARROWS*/
#main-slider .et-pb-arrow-prev,
#main-slider .et-pb-arrow-next,
#provider-slider .et-pb-arrow-prev,
#provider-slider .et-pb-arrow-next {
    -webkit-transition: all 0 ease-in-out;
    -moz-transition: all 0 ease-in-out;
    -o-transition: all 0 ease-in-out;
    transition: all 0 ease-in-out;
}

#main-slider:hover .et-pb-arrow-prev {
    left: 0px;
    opacity: 1;
}

#main-slider:hover .et-pb-arrow-next {
    right: 0px;
    opacity: 1;
}

#main-slider .et-pb-arrow-next,
#provider-slider .et-pb-arrow-next {
	opacity: 1;
	right: 0px;
	background: #e9ab21;
	color: #fff !important;
}

#main-slider .et-pb-arrow-prev,
#provider-slider .et-pb-arrow-prev {
	opacity: 1;
	left: 0px;
	background: #e9ab21;
	color: #fff !important;
}

#searchform { 
	display: inline-block;
}

.screen-reader-text { 
	display: none; 
}

.search_form_image_button {
	display: inline-block;
}

input#s {
    background-color: transparent;
    border:0px solid #BBB59A;
	border-bottom: 2px solid #fff;
    font-size:16px;
    margin:0 20px 0 6px;
    padding:5px;
    width:200px;
	color: #e9ab21;
	font-weight:600;
}

#searchsubmit.my-search-image {
    background: url("images/glass.png") no-repeat 50% 50%;
    border:0 none;
    cursor:pointer;
    height:30px;
	width: 30px;
    text-indent:-9999px;
}

.portal-login {
	display:inline-block;
	position:relative;
	overflow:hidden;
	width: 250px;
	color: #fff;
	margin-top: 20px;
	float:right;
}

.portal-login a {
	color: #fff;
}

.et_transparent_nav #page-container {
    padding-top: 1px !important;
}

.et_pb_section.et_pb_section_first {
    padding-top: 202px !important; 
}

.portal-login .lock {
	float: left;
	margin-right: 5px;
}

.portal-login .sign-in {
	float: left;
	text-align: left;
	font-size: 14px;
	line-height: 14px;
	font-weight:600;
}

.portal-login .sign-in span {
	color: #e9ab21;
}

#resource_list .et_pb_post {
	margin-bottom: 0 !important;
}

#resource_filter h4 {
	color: #fff !important;
}

#resource_filter li.cat-item {
	display: block;
}

#resource_filter input[value='Submit'] {
	margin-top: 30px;
}

ul.latest-resources { 
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.latest-resources li {
	margin-bottom: 5px;
	border-bottom: 1px #e3e3e3 solid;
	padding-bottom: 10px;
}

ul.latest-resources li a {
	color: #1F709C;
}

.home-heading h2,
.hope-cta h2 {
	font-size:32px;
	line-height:32px;
	font-weight:600;
}

.yellow-accent {
	color: #e9ab21;
}

span.wpcf7-list-item {
    display: block;
}

/*** EVENTS ***/

p.tribe-events-widget-link {
	display: none;
}

a.tribe-events-ical {
	display: none !important;
}

.breadcrumbs-top {
	font-size: 12px !important;
}

.tribe-events-month #tribe-events-header .tribe-events-sub-nav .tribe-events-nav-next a, .tribe-events-month #tribe-events-header .tribe-events-sub-nav li {
   display: block;
}

.datepicker.dropdown-menu {
    z-index: 100000 !important;
}

#sl_menu-3 li.current_page_item a {
	color: #10305f !important;
	font-weight: 600;
}

body.buddypress #left-area,
body.bbpress #left-area,
body.post-type-archive-privateresources #left-area {
	background: #fff !important;
    padding: 30px !important;
    margin-top: -60px !important;
	margin-bottom: 30px;
}

ul#menu-provider-portal-menu {
	position: relative;
	bottom: 0;
	width: 100%;
	background: #10305f !important;
	padding: 10px 0 10px 0 !important;
	border-top: 1px #e9ab21 solid;
	text-align:center;
}

ul#menu-provider-portal-menu li {
	display:inline-block;
	padding-right: 22px;
	font-size: 14px;
}

ul#menu-provider-portal-menu li a {
	color: #e9ab21;
	font-weight: normal;
	font-style: normal;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 2px;
}

/*** Take out the divider line between content and sidebar ***/
.post-type-archive-privateresources #main-content .container:before {
	background: none;
}

/*** Hide Sidebar ***/
.post-type-archive-privateresources #sidebar {
	display:none;
}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
	.post-type-archive-privateresources #left-area {
		width: 100% !important;
		padding: 23px 0px 0px !important;
		float: none !important;
	}
}

/*** Calendar ***/

.tribe-events-organizer-8127 a:after {
	content: "\ARIPRC TRAINING";
	white-space: pre;
	color: #e9ab21;
	font-size: 14px;
	text-transform:uppercase;
	background: #10305f;
}

td.tribe-events-has-events a:after {
	font-size: 10px;
}

.tribe-venues-organizers-shortcode.list {
	list-style: none;
	margin: 0;
	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: 32%;
	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: 110%;
}

#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;
}

#hope_recovery_cta .et_pb_column_1_2 .et_pb_text_inner {
	line-height: 1.3em;
}

/*** provider resources ***/

.searchandfilter li {
	display:block !important;
}

	
#footer-widgets .footer-widget li {
	display:block;
}

select#ofprivateresourcecategory,
select#ofresource-topic,
select#provider-type {
	width: 100%;
}

.searchandfilter select {
	width: 100%;
}

#ui-datepicker-div {
	background: #fff;
}


#main-content .container:before {background: none;}

.single-tribe_events  #left-area,
.post-type-archive-tribe_events #left-area  {
    width: 100% !important;
    padding: 23px 0px 0px !important;
    float: none !important;
}


.single-tribe_events #sidebar, .post-type-archive-tribe_events #siderbar {display:none;}

.events-archive .entry-content, .events-archive .entry-header {
    width: 100% !important;
}


/* Large screens (1405px upwards) */
@media only screen and ( min-width: 1405px ) { 
    
}

/* Laptops and desktops (1100-1405px) */
@media only screen and ( min-width: 1100px ) and ( max-width: 1405px) { 
    
}

/* Tablets in landscape mode (981-1100px) */
@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) { 
 
 .et_header_style_centered #main-header div#et-top-navigation {
	 margin-top: 50px;
 }
	
	.searchandfilter ul {
	  display: grid;
	  grid-template-columns: repeat(3, 1fr) !important;

	}
	
    
}

/* Tablets in portrait mode (768-980px) */
@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {
	
	#hope_recovery_cta img {
		width: 50px;
		height:auto;
		margin: 10px 20px 20px 0 !important;
		display: none;
	}
.et_header_style_centered header#main-header .logo_container {
	margin: 0;
}

	.search_form_image_button,
	.portal-login {
	display: none;
}

	.et_header_style_centered #main-header div#et-top-navigation {
		top: 53px;
	}

	.wpcf7 input,
	.wpcf7-form textarea {
		width: 100%;
	}
	
	.searchandfilter ul {
	  display: grid;
	  grid-template-columns: repeat(3, 1fr) !important;

	}
	  
   
}

/* Smartphones in landscape mode (480-768px) */
@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
	
	#buddypress #members-list li {
		list-style: none;
		width: 45%;
		margin: 0 1% 10px 0;
	}
	
	#hope_recovery_cta img {
		width: 50px;
		height:auto;
		margin: 10px 20px 20px 0 !important;
		display: none;
	}
	
	.search_form_image_button,
	.portal-login {
		display: none;
	}
		
	.et_header_style_centered #main-header div#et-top-navigation {
		top: 53px;
	}
	
	.logo_container {
		margin-top: 0px !important;
	}
	
	.wpcf7-form input,
	.wpcf7-form textarea {
		width: 100%;
	}
	.searchandfilter ul {
	  display: grid;
	  grid-template-columns: repeat(2, 1fr) !important;

	}
	
}

/* Smartphones in portrait mode (0-479px) */
@media only screen and ( max-width: 479px ) {
	
	#buddypress #members-list li {
		list-style: none;
		width: 90%;
		margin: 0 1% 10px 0;
	}
	
	#hope_recovery_cta img {
		width: 50px;
		height:auto;
		margin: 10px 20px 20px 0;
		display: none;
	}
	
	.search_form_image_button,
	.portal-login {
		display: none;
	}
	.et_header_style_centered #main-header div#et-top-navigation {
		top: 53px;
	}
	
	.logo_container {
		margin-top: 0px !important;
	}
	
	.wpcf7-form input,
	.wpcf7-form textarea {
		width: 100%;
	}
	
	
	.searchandfilter ul {
	  display: grid;
	  grid-template-columns: repeat(2, 1fr) !important;

	}
	
    
}

/*** FIXES ***/

.et_pb_post .entry-title a,
.et_pb_post h2 a {
	line-height:1.25 !important;
}

ul#menu-provider-portal-menu li.current-menu-item a {
	color: #fff;
}

span.month,
span.week,
a.month,
a.week {
	padding-right: 20px;
}

/* searchfilters */

.searchandfilter ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 !important;
  align-items: center;
	column-count: 5;
}

.searchandfilter ul li {
    padding: 10px 5px !important;
}
.searchandfilter ul li {
    list-style: none;
    display: block;
    padding: 10px 0;
    margin: 0;
}

.searchandfilter label {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.resource_row {
	padding: 20px 0 20px 0;
	margin: 20px 0 30px 0;
	border-bottom: 1px solid #e3e3e3;
}

.resource_topic,
.project_topic {
	color: #990033;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 5px;
}

.resource_pagination {
	margin: 20px 0 30px 0 !important;
}

.resource_pagination .wp-pagenavi a, .wp-pagenavi span {
    border: none !important;
}

ul.tax-list {
	list-style: none;
}

ul.tax-list li a {
	font-size: 14px;
}

.archive-list  .et_pb_post {
	margin-bottom: 20px !important;
}
