/* Top Header */
#top-header .container { width: 100%; max-width: 100%; padding-right: 30px; padding-left: 30px; padding-top:0px;}
#et-info { padding-bottom: 5px; }
#et-info a { display: none; }
#et-info-phone { margin-right: 13px; color: #1b2232; font-size: 14px; }
#et-info-phone:before { content: none; }
#et-info, #et-secondary-menu > ul > li a { padding-bottom: 5px; padding-top: 5px; }
/* Main Menu */
.et_header_style_left #et-top-navigation nav > ul > li > a:hover { color: #CCC; }
#top-menu li li a:hover { color: #CCC; }
#top-menu li a { letter-spacing: 2px; }
/*Menu */
.mobile_menu_bar:before { color: #c79827; }
.et_mobile_menu { border-top: 3px solid #c79827; }
.menu-item-2799 { background: #c79827; padding: 0 10px; }
.menu-item-2799 a { color: white !important; font-weight: bold; }
.nav li ul { position: absolute; padding: 20px 0; left: -170px; }
/* Home */
#et-main-area { overflow: hidden;} /* Hides all the items that float over the right margin */
  
.diagonal-shadow::before, .diagonal-shadow::after { position: absolute; content: ''; pointer-events: none; }
.diagonal-shadow { z-index: 10; padding-top: 0px; padding-bottom: 0; background: #1b2232; }
.diagonal-shadow::before, .diagonal-shadow::after { top: 0px; left: -48%; z-index: -1; width: 150%; height: 75%; background: inherit; -webkit-transform: rotate(-3deg); transform: rotate(-3deg); -webkit-transform-origin: 0 0; transform-origin: 0 0; }
.diagonal-shadow::before { height: 50%; background: #1b2232; -webkit-transform: rotate(-3deg); transform: rotate(-3deg); -webkit-transform-origin: 3% 0; transform-origin: 3% 0; background-image: url(https://www.crossroads.edu/wp-content/uploads/2017/01/background-pattern-repeat.png); }

a.home-sec-2 { font-size: 55px; font-weight: 700; text-align: right; line-height: 50px; /*pointer-events: none; */ }
a.home-sec-2:hover { color: #b6d3d6; }

.entry-content table, body.et-pb-preview #main-content .container table { border: none; }
tr.event { border-bottom: 2px solid !important; }
td.amrcol1 { font-size: 13px; line-height: 17px; padding: 40px 0px !important; }
td.amrcol2 { padding: 40px 5px !important; font-size: 15px; line-height: 31px; width: 60%; }
td.amrcol3.lastcol { padding: 40px 0px !important; }

@media (min-width: 630px) {
     #home-sec-2 .et_pb_button_module_wrapper { float: right; }
     #whybtn { margin-right: 50px; }
}

@media (max-width: 629px) {
	#whybtn { width: 100%; text-align: center; }
	#applybtn  { width: 100%; text-align: center; } 
	a.home-sec-2 {
	    font-size: 38px;
	    line-height: 40px;
	}
}

.et_pb_number_counter .percent p { font-size: 34px; line-height: 113px; border: 1px solid  #c79827; max-width: 165px; font-weight: 300; }
span.percent-value { font-size: 82px; top: 9px; position: relative; }
.et_pb_number_counter h3 { padding: 68px 0 0 0; font-size: 15px; max-width: 155px; }

.home-sec-5-img img { border-radius: 100%; }

.bloghome a.entry-featured-image-url { float: left; width: 37%; margin-right: 10px; }
.bloghome .post-content { float: left; width: 55%; }
.et_pb_portfolio_image.landscape .meta { display: none; }
.home .et_pb_testimonial_0.et_pb_testimonial { background-color: #f5f5f5 !important; }

/* Search Results */
.search-results p.post-meta { display: none; }

/* Internals */
.et_pb_testimonial_0.et_pb_testimonial { background-color: transparent !important; }

.diagonal-shadow-int::before, 
.diagonal-shadow-int::after { 
position: absolute; 
content: ''; 
pointer-events: none; }

.diagonal-shadow-int { 
z-index: 1; 
padding-top: 0; 
padding-bottom: 0; 
background: #1b2232; }

.diagonal-shadow-int::before, .diagonal-shadow-int::after { 
top: 85px; 
left: -86%; 
z-index: -1; 
width: 250%; 
height: 75%; 
background: inherit; 
-webkit-transform: rotate(-4deg); 
transform: rotate(-4deg); 
-webkit-transform-origin: 0 0; 
transform-origin: 0 0; }
.diagonal-shadow-int::before { 
height: 50%; 
background: #1b2232; 
-webkit-transform: rotate(-3deg); 
transform:  rotate(-3deg); 
-webkit-transform-origin: 3% 0; transform-origin: 3% 0;
background-image: url(https://www.crossroads.edu/wp-content/uploads/2017/01/background-pattern-repeat.png); }
/* Footer */
#footer-widgets .footer-widget li:before { display: none; }
footer#main-footer { font-size: 12px; background-image: url(https://www.crossroads.edu/wp-content/uploads/2017/01/background-pattern-repeat.png); }
footer#main-footer > .container { background-image: url(https://www.crossroads.edu/wp-content/uploads/2017/01/background-pattern-repeat.png); }
.diagonal-footer::before, .diagonal-footer::after { position: absolute; content: ''; pointer-events: none; }
.diagonal-footer { z-index: 1; padding-top: 0; padding-bottom: 0; background: #1b2232; }
.diagonal-footer::before, .diagonal-footer::after { top: -90px; left: -42%; z-index: -1; width: 460%; height: 75%; background: inherit; -webkit-transform: rotate(3 deg); transform: rotate(3deg); -webkit-transform-origin: 0 0; transform-origin: 0 0; }
.diagonal-footer::before { height: 50%; background: #1b2232; -webkit-transform: rotate(3deg); transform: rotate(3deg); -webkit-transform-origin: 3% 0; transform-origin: 3% 0; background-image: url(https://www.crossroads.edu/wp-content/uploads/2017/01/background-pattern-repeat.png); }
/* Mobile */
@media (max-width: 479px) {
	.et-social-icons li { display: inline-block; margin-left: 15px; }
	.book-title { padding-top: 0px !important; }
	.et_pb_number_counter { margin-left: 25%; }
	.home .et_pb_section_2 .et_pb_text_1 p { font-size: 32px; line-height: 1em !important; }
        .footer-widget div { width: 100%; }
	div#footer-widgets { text-align: center; }
.et_pb_section_0.et_pb_section { padding: 100px 0px 0 !important; }    
div#advanced_sidebar_menu-2 { margin: 20px 0 0 0 !important; }
div#advanced_sidebar_menu-2 li li.page_item.current_page_item { font-weight: bold; }
        .diagonal-footer::before, .diagonal-footer::after { top: -30px; }
}
@media (min-width: 480px) and (max-width:730px) {
	.home .et_pb_section_2 .et_pb_text_1 p { font-size: 32px; line-height: 1em !important; }
}
/* Extra Wide Screen */
@media (min-width: 1310px) {
     .diagonal-shadow::before, .diagonal-shadow::after { top: 38px; }
}
@media (max-width: 1060px) and (min-width:981px) {
     div#et-info { width: 45%; line-height: 20px !important; }
}

/* CSS Document*/

/*Copied from the footer.php where it was sitting as stray CSS */
	.diagonal-shadow-int {
	background: #fff !important;
}
	.et_pb_bg_layout_dark {
	color: #c79827 !important;
}

/*Blog and Resource Section Mods ----------------------------------*/
.screen-reader-text {
	display:none !important; 
	/* The dropdowns for "Categories" and "Archives" kept duplicating the titles, I couldn't find where to shut it off in Divi, so I resorted to good ol' fasioned CSS */
}
#Blog_Sidebar {
    border-bottom: thin solid #D5D3D3;
	/*Stylistic choice, couldn't find it in Divi, was taking to long to seach for, used CSS instead.*/
}
.entry-content{
	border-bottom: thin solid #E7E6E6;
}
.author-bio{
	margin-top: 60px;
	/*margin-bottom: 60px;*/
}
.bio-name {
	font-weight:bold;
}
.et_post_meta_wrapper {
		border-top: thin solid #D5D3D3;

}

/*Sidebar adjustments for visual heierarchy and accomodating a white background*/

.comment-author-link {
	color: black !important;
	font-weight:bold;
	
}

.widget-title{
	font-size:1.2em !important;
}

.recentcomments a {
	color:#434343 !important;
}
.et_pb_widget a {
	color:black !important;
}

#footer-widgets a {
	color:white !important;
}


/*---End of blog mods---------------------------------------------*/



@media (min-width: 981px) {
	/* Hide the "Menu"  sidebar button on sub-pages unless we're in tablet or phone mode */
	#menuControls {
		display:none !important;
	}
/* Fix Home Page Counter Box h3 overlap and numbers wrapping to a second line at certain screen widths */
	.et_pb_number_counter h3{
		padding-top: 80px !important;
		
	}
	span.percent-value {
		font-size:75px !important;
	}
}
	#sidebar {
		position: absolute !important;
		right: 0px !important;
		height: 1300px !important;
		top: 0px !important;
		padding-top: 200px !important;	
}

/* Fix home page testimonial blurb misalignment */
.et_pb_testimonial {
	height: 350px;
}

/* Fix Top-level Navigation overlap with logo --------------------*/
/*Eventually find a way to make the pancake menu appear instead of a smaller nav

@media (max-width: 1132px ) {
	#top-menu li a {
		padding-right:10px !important;
	}
}
@media (max-width: 1111px ){
	#top-menu li a{
		font-size:12px !important;
		font-weight:bold !important;
	}
}
*/
/*Fix #main-footer overlapping #main-content */

div.et_pb_blog_grid_wrapper{
	margin-bottom:100px !important;
}

div.et_pb_column.et_pb_column_3_4.et_pb_column_2.et_pb_specialty_column{
	margin-bottom:100px !important;
}

/*.et_pb_text_5 p {
	line-height:40px !important;   <----Affected text modules in Divi
}*/

#content-area {
	margin-bottom:100px;
}

/*Make the Subscribe button viewable on mobile */
#es_txt_button {
	background-color: white !important;
	color: black;
}

/*Hide Shopping Cart - I'll choose individual pages to make it reappear */

/* a.et-cart-info span {
	display:none !important;
} */

/*Better spacing between the two sections of the top hat */
#et-info {
	margin-left: -20px !important;
}
#et-secondary-menu {
	margin-right: -50px !important;
}

/*Change footer link font color to white */
.textwidget a { 
	color: white !important; 
}

#menu-footer-1 li a {
	color:white !important;
}

#menu-footer-2 li a {
	color:white !important;
}

/*Fix the WooCommerce Checkout button */
.wp-proceed-to-checkout a {
	margin-right:-20px !important;
}
a.checkout-button.button.alt.wc-forward {
	margin-right: -20px !important;
}

.et_pb_bg_layout_dark {
	color: #c79827 !important;
}

@media (max-width: 980px){
	#sidebar{
		display:none !important;
	}
}

/*Sidebar Navigation ajustments for mobile*/
/* @media (max-width: 980px){
#advanced_sidebar_menu-2 {
	width:100% !important;
}

ul.child-sidebar-menu {
    display:none;
}
	
.parent-sidebar-menu {
	text-align:center;
}
	
.parent-sidebar-menu:hover ul.child-sidebar-menu {
	display:block; 
	margin-top:20px !important;
	color: #c79827 !important;
	font-weight:bold;
	font-size:1.2em;
}

#menuControls {
	font-size:1.5em;
    font-weight:bold;
    color: #c79827 !important;
	text-decoration:underline;	
}
} */

/*SubNav Adjustments */
#top-header {
	background-color: #c79827 !important;
}

/*SubNav Donate Button */

.menu-item-2799 {
	background-color: #e84c3d !important;
}

.menu-item-2799 a {
	background-color: #e84c3d !important;
}

#top-header ul li a {
	color: white !important;
}

#et-info-phone {
	color:white !important;
}

/*Re-size the icons on the E-pay page (Wordpress wouldn't let me open the page in the backend... YAY Wordpres)*/
img.attachment-shop_catalog {
	height:120px !important;
	width:120px !important;
}

/*Make the searchbar full-width (requires the javascript snippet in the footer referencing "proinput" to exist as well)*/
.proinput form {
	max-width:100% !important;
}
