	/*
 Theme Name:   CERF+
 Theme URI:    http://divi.space/
 Description:  A Child Theme built for Divi on Divi Space
 Author:       Ennis Carter
 Author URI:   http://socialimpactstaging.website
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*-----------Typography---------*/


a:visited {
	color: #7F3F92 ;
} 

ul.dashed {
    list-style: none;
    padding-left: 0;
}

ul.dashed > li {
    margin-left: 15px;  
}

/* Prevent nested li's from getting messed up */
ul.dashed > li:before {
    content: "-";
    margin-left: -15px;
}


/*-----------Navigation Bars/Menus---------*/

#main-content, #page-container {
	padding-top: 88px!important;
}

.login #login h1 a {
	background-size: contain!important;
	border: 1px solid red;
}

#main-header {
	width: 100%;
	background-color: #fff;
	top: 0px!important;
	height: 120px;
  -webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	-webkit-transform: translate3d(0, 0, 0);
}

/*     Shrinking header    */
#main-header.et-fixed-header {
	height: 60px;
}

.logged-in #main-header {
	
	top: 30px!important;
}


#right-header .container {
	width: 100%;
}

#nav-links {
	width: 176px;
		display:inline-block;
	margin-top: 25px;
}

ul.et-social-icons {
	width: 120px;
	display:inline-block;
	margin-top: 25px;
}

#et-secondary-menu {
	width: 310px;
}
.et-social-instagram a:before { 
	content: '\e09a';
	font-size: 16px;
}

.et-social-youtube a:before { 
	content: '\e0a3';
	font-size: 16px;
}



ul.et-social-icons a.icon:before {
	font-size: 16px;

}

#et-secondary-menu ul.et-social-icons {
	margin-right: 0px;
	margin-top: 20px;
}

li.et-social-icon {
	margin-left:5px;
}

#logo {
  left: 30px;
  position: absolute;
  top: 10px;
  max-width: 500px;
}

#et-top-navigation {
	padding-left: 30px!important;
	padding-top: 10px!important;
  position: relative;
  z-index: 10000;
  width: 100%;
}

#top-menu-nav {
	margin: 80px 15px 0px 0px;
  max-height: 60px;
  -webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	-webkit-transform: translate3d(0, 0, 0);
}

#top-menu-nav li a {
	text-transform: capitalize;
}

#nav-search input {
	width: 160px;
	max-width: 100%;
	padding: 5px 10px;
}


#nav-search {
	margin-top: 20px;
}

#fixed-second-nav {

    text-align: right;
    z-index: 9998;
    width: 100%;
}


#fixed-second-nav .et_pb_row {
	width: 100%;
	max-width: 100%;
}


#fixed-second-nav .current-menu-parent>a {
	color: #eed792!important;
}

#menu-cerf-main-menu > li {
	padding-right: 4%;
  padding-top: 15px;
}

#menu-cerf-main-menu > li > a {
  padding-bottom: 15px;
}

#fixed-second-nav #menu-cerf-main-menu {
	padding: 0px!important;
	height: 45px;
}

#menu-item-92, #menu-item-5710 {
	background-color: #EE2E22;
	padding-left: 2%;
	padding-right: 2%!important;
	padding-bottom: 1px;
	
}

#menu-item-5710.current-menu-item a {
	color: #fff!important;
} 

 #menu-item-5213 {
	padding-right: 0!important;
}

.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav > ul > li > a {
padding-bottom: 30px;
}

#menu-cerf-main-menu .sub-menu li,
#top-menu .sub-menu li {
  display: block;
	padding-top: 0px;
}

#menu-cerf-main-menu .sub-menu li a,
#top-menu .sub-menu li a {
  display: block;
  max-width: 100%;
}


.nav li ul {
	width: auto;
	padding: 0;
	top: 43px;
}

.fullwidth-menu li li a {
	padding: 6px 9px;
	width: 170px;
}
.et_pb_fullwidth_menu .fullwidth-menu-nav > ul ul {
	padding: 0px;
}

#menu-cerf-main-menu li .sub-menu li.current-menu-item a {
    color: #ee3124 !important;
}

#top-menu .sub-menu li.current-menu-item > a {
	    color: #ee3124!important;
}

.nav li li,
.sub-menu li,
#top-menu li li 
 {
	padding: 0 0px;
	line-height: 1.2;
}

#top-menu .sub-menu {
	padding: 0px 0;
	top: 20px;
}

#top-menu .sub-menu a {
	font: normal bold 14px/1.2em Arial, Verdana, Helvetica;
	color: #8e8e8e !important;
}

.et_pb_widget ul li {
	margin-bottom: 0;
}

.page-header-title h3 {
	color: white;
	font-size: 18px;
	padding: 2px!important;
}

#divi_pb_widget-3 {
  height: 45px;
	width: 100%;
}

#divi_pb_widget-3 .et_pb_fullwidth_menu .fullwidth-menu-nav > ul {
	padding:0!important;
}

#divi_pb_widget-3 .et_pb_row {
	padding: 0;
}

#menu-item-5213 ul, #menu-item-5213 a:after  {
	display: none;
}

/* Shrinking header for mid-sized screen. Large screen in media queries*/
.et-fixed-header #logo {
	max-width: 300px;
	width: 100%;

}
.et-fixed-header #top-menu-nav {
	margin-top: 60px;
	margin-left: 30px;
}

.et-fixed-header #et-top-navigation nav>ul>li>a {
	padding-bottom: 20px!important;
}

.et-fixed-header #nav-links, .et-fixed-header #et-secondary-menu ul.et-social-icons {
	margin-top: 0px;
}

.area-nav  {
	float:left;
	 
}

.area-nav .fullwidth-menu-nav ul {
	 padding: 6px 0 0 !important;
}

.area-nav .fullwidth-menu-nav ul{
width: 210px;
}

.fourth-nav {
    position: absolute;
    top: 180px;
    z-index: 99;
    width: 100%;
}

.logged-in .fourth-nav {
    top: 210px;
}

.fourth-nav .sub-menu {
    margin-top: -10px;
}

  .fourth-nav .et_pb_fullwidth_code{ 
   	max-width: 70%;
       margin: auto;
}

.page-header-title {
	text-align: center;
}
.page-header-title h1 {
	color: white;
	font-size: 18px;
	padding: 8px;
}



.et_pb_fullwidth_code h1 {
	padding:8px;
	margin:0px;
	line-height:1;
}

.nav-page-title .et_pb_title_container {
	width:70%;
}

.fullwidth-menu li > a {
	padding-bottom:10px;
}

.breadcrumbs{ float: left; width: 75%; margin-bottom: 1em; position:relative; z-index:1; 
    z-index: 1;
    top: 95px;
    left: -70px;
     }

 .breadcrumbs a,  .breadcrumbs {
 	color: #df9f0f
 }

@media screen and (max-width: 980px){
 .breadcrumbs{ width: 100%;
 left: 0px; 
     }
}


/*.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container  {
	padding-top:43px;
}*/


/*-------------4th Nav bar----------------*/

.fourth-nav .et_mobile_nav_menu { 
	display:block!important;
	position: absolute!important;
	top: 10px;
	left: 0px; 
	z-index: 9999;
}

.fourth-nav .fullwidth-menu-nav { 
	display:none; }
} 

.fourth-nav .mobile_menu_bar:before {
 content: "\61";
 font-size: 32px;
 cursor: pointer;
 }

#mobile_menu2 {
	list-style-type: none;
	width:200px;
	padding: 5px 20px;

}

.fourth-nav .nav-page-title {
	padding: 10px;
}

.fourth-nav .mobile_menu_bar::before {
	color: #fff;
}



#main-content, {
	padding-top: 60px;
}

/*----------Home Page----------------*/

 #home-slider,
 #home-slider .et_pb_slider,
 #home-slider .et_pb_slide,
 #home-slider .et_pb_fullwidth_slider_0
 {
 	max-height: 340px!important;

 }

.home-blog-sidebar .et_pb_post {
	margin-bottom: 0;
}

.home .home-blog-sidebar .et_pb_post img {
    width: 100%!important;
}

.home .home-blog-sidebar .et_pb_post h2 {
	line-height: 1.0;
}

#home-blog-featured  .et_pb_post img {
	    max-width: 240px!important;
	    float: right;
	    padding-right: 0!important;
	    margin-bottom: 15px;
	    display: block;
}



 #featured-post article {
 	 display: table; 
 }

 article .entry-title {
 	 display: table-header-group; 
 }

 .home-blog-sidebar  article .entry-title {
 	 display: inline; 
 }

 #home-blog-featured  .entry-title,
 #home-blog-featured  .entry-title a,
.home-blog-sidebar  article .entry-title a  { 
	font-size: 19px!important; 
}


  #featured-post .entry-featured-image-url {
  	display: inline-block;
  	float: left;
  }

 /*----------------Blog -------*/
.main-blog .entry-featured-image-url img {
 	width:150px;
 	position: absolute;
}

.main-blog .has-post-thumbnail .entry-title a, 
.main-blog .has-post-thumbnail .post-meta, 
.main-blog .has-post-thumbnail .post-content {
	margin-left: 165px;
	display: inline-block;
}

.main-blog .et_pb_post {
	margin-bottom: 40px;
}

.main-blog .post-content {
	min-height: 100px;
}


#text-12 a:hover {
	color: #DF9F0F;
}

h1.entry-title.main_title {
	line-height: 1em;
	margin-bottom: 0px;
	display: block;
}



/*-------Captions---------*/
.wp-caption {
	background-color: #fff;
	border:none;
}

.wp-caption p.wp-caption-text  {
	font-weight: 700;
	font-size: 11px;
	font-style: italic;
	line-height: 11px;
	margin-top: -5px;
}

/*--------Sidebars-----------*/

.et_pb_widget_area ul, .textwidget ul {
	list-style: disc!important;
}

.et_pb_widget_area ul a {
	color: #3a9bc1!important;
}

.et_pb_widget_area ul a:visited{
	color: #7F3F92!important ;
} 

/*----------------Footer------------------------*/
#footer-widgets .footer-widget li::before {
	display:none;
}

#footer-widgets .footer-widget li a:hover {
color: #0fcbe0;
}

.wForm input {
	padding: 5px 2px!important;
}

#execphp-2, #text-10
 {
	float:none;
}

#main-footer .container {
	width: 95%;
}

/*   Form Assembly fix*/

.ta-override .wFormContainer, .ta-override .wFormTitle {
	background-color:white;
	color: #333!important;
}

#tfa_9745874459265-L {
	color: #666;
}

.page-id-4770 .wFormContainer {
	width: 100%!important;
}

/*----------------Share Your Story-----------*/

#gform_submit_button_1, .wp-video-capture-record-button-desktop, .wp-video-capture-record-button-mobile, .wp-video-capture-upload-button-desktop{
	    font-size: 23px!important;
    border-radius: 0px;
    font-weight: 700!important;
    font-family: "Open Sans", Arial, sans-serif;
    color: #fff !important;
    padding: 0em 1em;
        position: relative;
    padding: 0em 1em;
    border: 2px solid white;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 0px;
    background: transparent!important;
    line-height: 1.7em !important;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

#gform_submit_button_1:hover, .wp-video-capture-record-button-desktop:hover {
	background: rgba(255, 255, 255, 0.2)!important;

    border: 2px solid transparent;
    cursor: pointer;

}
  
   #gform_submit_button_1:after, .wp-video-capture-record-button-desktop:after {
        font-family: 'ETmodules';
            font-size: 32px;
            opacity: 0;
            speak: none;
            font-style: normal;
    
            font-variant: normal;
            text-transform: none;
            line-height: 1;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            font-size: 32px;
            line-height: 1em;
            content: "\35";
            position: absolute;
            margin-left: -1em;
            -moz-transition: all 0.2s;
            -webkit-transition: all 0.2s;
            transition: all 0.2s;}



    #gform_fields_1 input, #gform_fields_1 textarea {
    	font-size: 100%;
	    padding: 10px 12px;
	    background-image: none;
	    background-color: white;
	    color: #666;
	    font-family: 'Open Sans';
	    margin-bottom: 10px;
	    width:100%;
	}

	#gform_fields_1 label {
		display: none;
	}

	#gform_fields_1 #input_1_4 {
		background: transparent;
	}


	#gform_fields_1 ::-webkit-input-placeholder {
	   color: #999;
	}

	#gform_fields_1 :-moz-placeholder { /* Firefox 18- */
	   color: #999;  
	}

	#gform_fields_1 ::-moz-placeholder {  /* Firefox 19+ */
	   color: #999;  
	}

	#gform_fields_1 :-ms-input-placeholder {  
	   color: #999;  
	}

/*--------------Resources - Craft a Career-----------*/

.resource_block {
		border-bottom: 1px solid #bbb;
		margin: 20px;
}

.resource_block:last-of-type {
	border-bottom: none;
}

.resource_block p>a {
	margin-top: 15px;
	margin-bottom: 15px;
	display: block;
}

p .re_source {
	font-weight: bold;
	color: #666;
}

.resource_block h3 a{
	color: #3a9bc1;
}

/*---------------Search--------------*/

.search-results .et_pb_post img,
.archive .et_pb_post img {
	float: right;
	margin-left: 15px;
}

.archive .et_pb_post {
	clear:right;
	margin-bottom: 130px;
	
}

.tag .et_pb_post {
	margin-bottom: 50px;
	
}

.search-results .published 
{
font-size: 14px;
color: #666;
padding-bottom: 0px;
display: inline;
}

.search-results article a {
	color: #3a9bc1;
}



/*----------------General Tweaks-----------*/

.no-visited-color a:visited {
	color: #fff;
}

#menu-board-portal a {
    padding: 12px;
    font-size: 16px;
}

#menu-board-portal a:visited {
	color: rgba(0, 0, 0, 0.6);
}

#menu-board-portal .current-menu-item a {
	    background-color: #fff;
    padding: 12px;
}
#menu-board-portal a:hover {
	background-color: #fafafa;
}

.checkbox ul, li.checkbox {
  list-style: none;
}

.checkbox ul > li, li.checkbox {
    background: url(https://i.stack.imgur.com/TqZyS.jpg) no-repeat left top;
    height: 24px;
    padding-left: 44px;
    margin-left: 15px;
    padding-top: 0px;
    background-size: contain;
    margin-top: 20px;
}




/*--------------Tribe Events Calendar-----------*/

.post-type-archive-tribe_events #main-content .container {
padding-top: 78px;
}

.post-type-archive-tribe_events #sidebar, #main-content .container:before {
	display: none;

}

.post-type-archive-tribe_events #left-area {
	width: 100%;
	padding-right: 0;
}

.tribe-events-loop .tribe-events-event-meta {
	clear: none;
}

.tribe-events-loop .tribe-events-content {
	float: none;
}

.tribe-events-list .tribe-events-event-image img {
	width: 150px;
}

.single-tribe_events .tribe-events-event-image img {
	max-width: 150px;
	float:left;
	margin-right: 10px;
}

.single-tribe_events #tribe-events-content {
	max-width: 650px;
    margin: auto;
}

/*Hides Next/Prev links on events*/
#tribe-events .tribe-events-sub-nav {
	display: none;

}

/*.tribe-events-loop .map-cal-box{
	position: absolute;
    top: 20px;
    right: 0px;
    padding: 5px 10px;
    font-size: 17px;
    font-weight: bold;
  	color: white;
  	font-style: normal;
  	border-radius: 4px;
}

.tribe-events-gmap, .ical-button {
	
    padding: 5px 10px;
    margin:10px;
    font-size: 17px;
    font-weight: bold;
  	color: white;
  	font-style: normal;
  	border-radius: 4px;
  	display: block;
  	
}

.tribe-events-gmap
	{background-color: #EE2E24;
		text-align: center;
		}

.ical-button {
	background-color: #D5A00F;
}*/

.tribe-events-list-separator-month,
.tribe-events-page-title,
.tribe-events-user-recurrence-toggle {
	display: none;
}
.tribe-events-loop .tribe-events-event-meta span, .tribe-events-loop .tribe-events-venue-details    {
	color: #666;
background-color: #fff;
font-family: "Open Sans", Arial, sans-serif;
font-size: 14px;
font-weight: 500;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.7em;
font-style: normal;

}

/*----------------_Tooltips-------------*/

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}



/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 99999;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
}

#craft-tooltip {
 display: inline;
    border-bottom: 1px dotted black; 
}

#craft-tooltip .tooltiptext {
	width: 400px;
	max-width: 80vw;
	bottom: auto;
	left: auto;
	right: 50%;
	padding: 15px;
	top:0px;

}



#craft-tooltip .tooltiptext::after {
	display: none;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext, .tooltip-lg:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.spanish-tooltip.tooltip .tooltiptext {
	top: 0px;
	right: -300px;
	bottom: auto;
	left: auto;
}


/*-----------------------------------------------------*/
/*----------------Media Queries------------------------*/
@media only screen and (min-width: 981px)
{
  #main-header {
  	height: 170px;
  }
  
  /*     Shrinking header    */
  #main-header.et-fixed-header {
  	height: 90px;
  }

	#footer-widgets .footer-widget:nth-child(3) {
		width:34%;
		float:right;
		margin:0;
	}

	#text-9 {
		width: 100%;
	}
	#footer-widgets .footer-widget{
	margin: 0 1% 2.5% 0;
	}

	#nav_menu-8 {
		width: 80%;
    	float: none;
    	margin: auto;
	}

	.fourth-nav .et_mobile_nav_menu {
		top:5px;
	}
}

.et-fixed-header #top-menu-nav {
	margin-top: 45px;
	
	margin-left: 0;
}

.et-fixed-header button#responsive-menu-button {
  top: 4px;
}

.et-fixed-header  #responsive-menu-container #responsive-menu {
  margin-top: 90px!important;
}

@media only screen and (min-width: 1200px){
 #home-slider,
 #home-slider .et_pb_slider,
 #home-slider .et_pb_slide,
 #home-slider .et_pb_fullwidth_slider_0
 {
 	max-height: 380px!important;
 	height: 380px!important;

 }
}

@media only screen and (min-width: 1310px)
{

.et-fixed-header #logo {
	min-width: 240px;
  top: 5px;
	width: 25%;
}

.logged-in .shrink {
    top: 115px!important;
}
#fixed-second-nav.shrink {
	top:90px;
}

 #home-slider,
 #home-slider .et_pb_slider,
 #home-slider .et_pb_slide,
 #home-slider .et_pb_fullwidth_slider_0
 {
 	max-height: 410px!important;
 	height: 410px!important;

 }

}

@media only screen and (min-width: 1380px){
 #home-slider,
 #home-slider .et_pb_slider,
 #home-slider .et_pb_slide,
 #home-slider .et_pb_fullwidth_slider_0
 {
 	max-height: 450px!important;
 	height: 450px!important;

 }
}

@media only screen and (min-width: 1480px){
 #home-slider,
 #home-slider .et_pb_slider,
 #home-slider .et_pb_slide,
 #home-slider .et_pb_fullwidth_slider_0
 {
 	max-height: 480px!important;
 	height: 480px!important;

 }
}


@media only screen and (max-width: 1080px)
{
	 #home-slider,
 #home-slider .et_pb_slider,
 #home-slider .et_pb_slide,
 #home-slider .et_pb_fullwidth_slider_0
 {
 	max-height: 280px!important;

 }


@media only screen and (max-width: 980px)
{
	#main-header {
		height: 70px;
	}

	#main-content, #page-container {
	padding-top: 35px!important;
	}

	.grey-bar .et_pb_row, .grey-bar{
		padding: 0px;
	}

	#responsive-menu-search-box {
		margin-top: 70px!important;
	}

	.logged-in #responsive-menu-search-box{
		margin-top: 105px!important;
	}

	#fixed-second-nav {
		display:none;
	}
	#home-slider {
		margin-top: 0px;
	}
	header {
    	position: fixed!important;
    }
    
  

	button#responsive-menu-button {
		position: fixed!important;
		top: 0!important;
	}

	.logged-in button#responsive-menu-button {
		top: 33px!important;
	}
	
	#responsive-menu-container {
    	bottom:auto!important;
    	height:auto!important;
    }
   
   .responsive-menu-submenu a{
   	color: #262361!important;
   	font-size: 15px!important;
   }

   .responsive-menu-submenu .responsive-menu-submenu a {
   	color: #999!important;
   	font-size: 15px!important;
   }
   
   .responsive-menu-subarrow {
   	right: 20%!important;
   	left:auto!important;
   }

   .et_header_style_left #logo {

   	min-width: 230px;
   }
   .breadcrumbs {
   	display: none;
   }


.custom-slider,
 .custom-slider .et_pb_slider,
 .custom-slider .et_pb_slide,
 .custom-slider .et_pb_fullwidth_slider_0
{
	max-height: 350px!important

}

.et-fixed-header #logo {
	width: auto;
}

#footer-widgets {
	padding-left: 10%;
	padding-right: 10%;
}

#text-10 {
	padding-left: 14px;
}

#divi_pb_widget-3 {
	display: none;
}
 
 #responsive-menu-pro-button {
display: none!important; }


}
@media only screen and (max-width: 890px)
{
	 #home-slider,
 #home-slider .et_pb_slider,
 #home-slider .et_pb_slide,
 #home-slider .et_pb_fullwidth_slider_0
 {
 	max-height: 250px!important;

 }
}


@media only screen and (max-width: 540px)
{
 #home-slider,
 #home-slider .et_pb_slider,
 #home-slider .et_pb_slide,
 #home-slider .et_pb_fullwidth_slider_0
 {
 	max-height: 200px!important;

 }



.custom-slider,
 .custom-slider .et_pb_slider,
 .custom-slider .et_pb_slide,
 .custom-slider .et_pb_fullwidth_slider_0
{
	max-height: 200px!important

}
}

.footer-widget .wFormContainer {
	background: #dd281e;
	color: #fff;
}

.mfp-bg {
  z-index: 100000!important;
}

.mfp-wrap {
  z-index: 100001!important;
}

