/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   Brad Dalton http://wpsites.net
Template: Divi
*/

@import url("../Divi/style.css");


@font-face {
    font-family: 'acherus_grotesqueregular';
    src: url('https://www.cesj.org/wp-content/themes/divi-master/fonts/acherusgrotesque-regular-webfont.woff2') format('woff2'),
         url('https://www.cesj.org/wp-content/themes/divi-master/fonts/acherusgrotesque-regular-webfont.woff') format('woff'),
         url('https://www.cesj.org/wp-content/themes/divi-master/fonts/acherusgrotesque-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

.entry-content h2 {padding-top:20px !important;}
body.page-id-18 .entry-content h2 {padding-top:0px !important;}

.grecaptcha-badge {display:none !important;}



/*----------Custom Divi Gallery----------*/


 
.et_overlay {
    display: none;
}
 
.mfp-title {
    display: none;
}

.et_pb_gallery_grid .et_pb_gallery_item img {
    transform: scale(1.03);
    transition: transform 0.5s, opacity 0.5s;
}
 
.et_pb_gallery_grid .et_pb_gallery_item img:hover {
    transform: scale(1.15);
    opacity: 1;
}
 
.et_pb_gallery_grid .et_pb_gallery_item {
    padding: 2px;
    width: 20%!important;
    clear: right!important;
}
 
@media only screen and (max-width: 479px) {
     
.et_pb_column .et_pb_grid_item:nth-child(n) {width: 33%!important;}
}


/*     fixes space above page titles on different types of pages/templates      */
#main-content .container {padding-top: 0px !important;}

#et-main-area #main-content {padding-top: 60px !important;}
body.page-id-18 #et-main-area #main-content {padding-top: 0px !important;}

h1, h2, h3, h4, h5, h6 {font-family: 'acherus_grotesqueregular' !important;}
h1, h2, h3, h4, h5, h6 {color:#234e77 !important}
.page-id-595 h3 {font-size: 16px !important;}

#content-area a, ul.rss-aggregator a, p a {color:#234e77 !important;font-weight:bold;}
#content-area a:hover, ul.rss-aggregator a:hover, p a:hover {text-decoration:underline;}

/* center top bar */
#et-info {float: none;}
#et-info {padding-bottom: 0em;}


/*        MENU & HEADER STUFF        */

nav#top-menu-nav, #top-menu-nav  {float: right !important; margin-top: 20px !important;margin-right: -160px !important;}


.et_header_style_left .mobile_menu_bar {padding-left: 20px !important;}


.nav li ul {position: absolute; padding: 20px 0 !important;}

#top-menu li li a {width: 200px; padding: 1px 0 !important;}

.nav li li a {font-size: 13px !important;}

.nav li li { position: relative; line-height: 1.75em !important;}

#et-top-navigation {float: right !important;}


#et_top_search {position: absolute !important;float: right;right: -25px;top: -40px !important; z-index: 99999999 !important;}
header.et-fixed-header #et_search_icon:before, #et_search_icon:before  {color: #fff !important;}

.et_fixed_nav #top-header {z-index: 999 !important;}


#main-header, #main-header .container {width: 100% !important;padding: 10px 0 !important;}

#logo {max-height: 80% !important;    vertical-align: unset !important;float:none;}

.et_pb_svg_logo #logo {height: 80% !important;max-height: 80% !important;    margin-left: -40px !important;}

nav#top-menu-nav ul#top-menu li#menu-item-6953 ul.sub-menu li, nav#top-menu-nav ul#top-menu li#menu-item-6955 ul.sub-menu li, nav#top-menu-nav ul#top-menu li#menu-item-6956 ul.sub-menu li, 
nav#top-menu-nav ul#top-menu li#menu-item-6954 ul.sub-menu li, nav#top-menu-nav ul#top-menu li#menu-item-6958 ul.sub-menu li, nav#top-menu-nav ul#top-menu li#menu-item-6957 ul.sub-menu li  
{line-height: 1.15em !important;margin-bottom:8px !important;}

#et-secondary-menu {display:none !important;}


/* quotes page search */
#searchinside {top: 20px !important; left: 20px !important;}
#quotesearch {padding-top:25px !important;}

#top-header .container {padding-top: 0em;}

.cesjtop {width: 200px !important;padding-top:11px;float:left;padding-left: 100px;}
.cesjtop h4 {color:#fff !important;font-size:1.5em !important;font-weight:bold !important;}
.cesjtop h4 span {color: rgb(204,204,204,0.6) !important; font-size:.75em !important;font-weight:bold;}

.toprightside {float:right;}

.translatebox {float:right !important;margin-top: -15px !important;}

.page-id-18 .et_pb_column_1_2 a.et_pb_button {color:#fff !important;}

/* top bar buttons */
.contactus, .join, .participate, .donate, .subscribe {width:auto;background-color:#234e77;border:none;padding: 10px;text-transform: uppercase;font-weight: bold;}
.contactus a, .join a, .participate a, .donate a, .subscribe a {color:#fff !important;}
.contactus a:hover, .join a:hover, .participate a:hover, .donate a:hover, .subscribe a:hover {text-decoration:underline;}

.contactus {}
.join {}
.participate {}
.donate {}
.subscribe {}


/* slider stuff */

.metaslider .flex-control-nav {bottom: 20px !important;}

.metaslider .flexslider {margin: 0 !important;}

.metaslider .caption-wrap {background: #2e6e9b !important; bottom: 0% !important;width: auto !important;left: 5% !important;    opacity: 1 !important;}

div.caption a, div#metaslider_container_7356 div.caption a {color: #fff !important;}
div.caption a:hover {text-decoration: underline !important;}

.page-id-18 .et_pb_column_8 {background-color: #234e77 !important;}


/*       READ MORE - TEXT NEXT TO VIDEO    */
.read-more-state {
  display: block;
}

.read-more-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: .25s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  font-size: inherit;
  max-height: 999em;
}

.read-more-state ~ .read-more-trigger:before {
  content: 'Show more';
}

.read-more-state:checked ~ .read-more-trigger:before {
  content: 'Show less';
}

.read-more-trigger {
  cursor: pointer;
  display: inline-block;
  color: #2ea3f2;
   
}


/*   home page top text section with read more     */
.page-id-18 .yrm-content {color: #fff !important;padding-top: 20px;}
.page-id-18 .yrm-btn-wrapper span {color: #2ea3f2 !important;}


/*           INTERIOR PAGE READ MORE STUFF         */
.collapseomatic_content {margin-left: 0px !important;margin-bottom: 15px;}
.collapseomatic {background-image: none !important; padding: 0 0 15px 0px !important;color: #2e6e9b; font-weight: bold;}



/*      home page NEWS & MEDIA section    */

.page-id-18 ul.display-posts-listing li, .page-id-18 ul.rss-aggregator li {line-height:1.25em;padding-bottom:15px;}
.page-id-18 ul.display-posts-listing, .page-id-18 ul.rss-aggregator {margin:0;padding:0 0 0 20px;}

.page-id-18 div.et_pb_section.et_pb_section_12 {
background-image: url(/wp-content/uploads/2018/10/statue-of-liberty.jpg)!important;
 background-color: rgba(255, 255, 255, 0.5);
 background-blend-mode: lighten;
 background-size: auto;
 background-repeat: no-repeat;
 background-size: cover !important; 
}

.page-id-18 .et_pb_column_29, .page-id-18 .et_pb_column_30, .page-id-18 .et_pb_column_31,
.page-id-18 .et_pb_column_26, .page-id-18 .et_pb_column_27, .page-id-18 .et_pb_column_28 {background-color: rgba(255,255,255,0.5) !important;padding-top: 20px !important; padding-left: 0px !important;}

.page-id-18 .et_pb_column_13 {background-color: unset !important;}

.page-id-18 ul.rss-aggregator .wprss-feed-meta, .page-id-18 .nav-links {display:none !important;}

.page-id-18 ul.rss-aggregator li {text-transform: uppercase !important;} 

.page-id-18 .et_pb_text_13 ul.rss-aggregator li {padding-bottom: 10px !important;}

.page-id-18 .et_pb_text_11 {margin-top: 10px!important;}

.page-id-18 .et_pb_column_7, .page-id-18 .et_pb_column_8 {background-color: unset !important;}

.page-id-18 .et_pb_text_22, .page-id-18 .et_pb_text_24, .page-id-18 .et_pb_text_26 {padding-left:40px !important;}


.feedzy-rss .rss_item {line-height:1.25em !important;padding-bottom:15px !important;border:none !important;padding-bottom: 0px !important; margin-left: 9px !important;}
.feedzy-rss .rss_item a {color: #19366e !important;}
.feedzy-rss li {list-style-type: disc !important;}






/* home page blog posts */
ul.display-posts-listing a, ul.display-posts-listing li {color:#19366e !important;text-decoration:none;}
ul.display-posts-listing a:hover {text-decoration:underline;}


/*        home page video            */
body.page-id-18 p a {color:#1ea9ea !important;}




/*      blockquotes    */
blockquote span {font-size:1.25rem !important;font-family: "Open Sans",Arial,sans-serif !important;}
blockquote {margin: 0px 50px 20px !important; padding-left: 20px; border-left: 5px solid #2ea3f2 !important;}

/*       LIST      */

#left-area ul {line-height: 20px !important;}
#left-area ul li {margin-bottom: 10px !important;}


/* photo gallery page */
.et_pb_gallery_title {display:none;}
div.ngg-imagebrowser-desc p {text-align: left !important;}


/*     audio and podcasts pages    */
.wp-playlist {margin: 15px 0 !important;padding:0 !important;}

.wp-playlist-current-item {display: none !important;}

body.page-id-597 div.wp-playlist-tracks {display:none !important;}

body.page-id-597 div.et_pb_text_inner p strong {margin-bottom: -10px !important;}

.playlist-layout {padding-left: 20px !important; margin-top: -20px !important; margin-bottom:30px !important;}

.playlist-title {font-weight: bold; margin-bottom: -20px !important;}

/*        PHOTO GALLERY PAGE             */

.sl-wrapper .sl-image .sl-caption {width: 100% !important;position: inherit !important;bottom: 0 !important;left: 0 !important;right: 0 !important;}
.page-id-599 .ngg-imagebrowser h3 {display:none !important;}
.ngg-imagebrowser.default-view .ngg-imagebrowser-nav {margin: -20px 20px 5px !important;}



/*      VIDEO PAGES      */
.page-id-595 .et_pb_row_2.et_pb_row, .page-id-595 .et_pb_row_4.et_pb_row, .page-id-595 .et_pb_row_6.et_pb_row, .page-id-595 .et_pb_row_8.et_pb_row, .page-id-595 .et_pb_row_10.et_pb_row, 
.page-id-595 .et_pb_row_12.et_pb_row, .page-id-595 .et_pb_row_14.et_pb_row, .page-id-595 .et_pb_row_16.et_pb_row, .page-id-595 .et_pb_row_18.et_pb_row, .page-id-595 .et_pb_row_20.et_pb_row, 
.page-id-595 .et_pb_row_22.et_pb_row, .page-id-595 .et_pb_row_24.et_pb_row, .page-id-595 .et_pb_row_26.et_pb_row, .page-id-595 .et_pb_row_28.et_pb_row, .page-id-595 .et_pb_row_30.et_pb_row, 
.page-id-595 .et_pb_row_32.et_pb_row, .page-id-595 .et_pb_row_34.et_pb_row, .page-id-595 .et_pb_row_36.et_pb_row, .page-id-595 .et_pb_row_38.et_pb_row, .page-id-595 .et_pb_row_40.et_pb_row, 
.page-id-595 .et_pb_row_42.et_pb_row  {border-bottom: 2px solid #ccc !important;    padding-bottom: 40px !important; }

.page-id-595 .et_pb_row_3.et_pb_row, .page-id-595 .et_pb_row_5.et_pb_row, .page-id-595 .et_pb_row_7.et_pb_row, .page-id-595 .et_pb_row_9.et_pb_row, .page-id-595 .et_pb_row_11.et_pb_row, 
.page-id-595 .et_pb_row_13.et_pb_row, .page-id-595 .et_pb_row_15.et_pb_row, .page-id-595 .et_pb_row_17.et_pb_row, .page-id-595 .et_pb_row_19.et_pb_row, .page-id-595 .et_pb_row_21.et_pb_row, 
.page-id-595 .et_pb_row_23.et_pb_row, .page-id-595 .et_pb_row_25.et_pb_row, .page-id-595 .et_pb_row_27.et_pb_row, .page-id-595 .et_pb_row_29.et_pb_row, .page-id-595 .et_pb_row_31.et_pb_row, 
.page-id-595 .et_pb_row_33.et_pb_row, .page-id-595 .et_pb_row_35.et_pb_row, .page-id-595 .et_pb_row_37.et_pb_row, .page-id-595 .et_pb_row_39.et_pb_row, .page-id-595 .et_pb_row_41.et_pb_row, 
.page-id-595 .et_pb_row_43.et_pb_row {margin-top: 30px!important;}



/*           SIDEBAR             */
.et_pb_widget ul li {margin-bottom: 1em !important; line-height: 1.25em !important;}

.entry-content ol {line-height: 20px !important;}
.entry-content ol li {margin-bottom:1em !important;}

#sidebar-additional-resources ul li{line-height:1.35em !important;padding-bottom:15px !important;}


/*       INTERIOR PAGES            */
.et_pb_section {padding: 0 !important;}
div.et_pb_section .et_pb_row {padding: 0 !important;    width: 100% !important;}


/*      welcome center pg     */


/*           BOOKSTORE PAGE                   */
.page-id-3359 iframe, .page-id-3359 .amzn-ad-container {width: auto !important;}



/* footer */
.footer-widget h2, .footer-widget h3, .footer-widget h4 {color:#fff !important;font-weight:bold;}

/* hide top footer bar */
#et-footer-nav {display:none;}

/* footer widgets */
#footer-widgets .footer-widget a {text-decoration:none;}
#footer-widgets .footer-widget a:hover {text-decoration:underline;}



body.page-id-1014 .metaslider {margin-top: -30px !important;}


.et_pb_tabs_controls li a {padding: 4px 25px 4px !important;}

footer ul#menu-footer-menu, footer ul.footermenu2 {float:left !important;margin-right: 70px;}
footer ul.footermenu3 {float:left !important}

/* Style Footer Social Icons - Lines 1185 to 1198 */

#footer-bottom .et-social-facebook a {
	color: #3b5998;
}
#footer-bottom .et-social-twitter a {
	color: #55acee;
}
#footer-bottom .et-social-google-plus a {
	color: #dc4e41;
}
#footer-bottom .et-social-rss a {
	color: orange;
}

/* Hover Colors*/
#footer-bottom .et-social-facebook a:hover {
	color: #fff;
}
#footer-bottom .et-social-twitter a:hover {
	color: #fff;
}
#footer-bottom .et-social-google-plus a:hover {
	color: #fff;
}
#footer-bottom .et-social-rss a:hover {
	color: #fff;
}

#footer-bottom i.fa-youtube {color:#be0909 !important;}

@media (min-width:980px) and (max-width:1289px) {

}


@media (max-width: 1200px){

.cesjtop {display:none !important;}
.toprightside {float:none;text-align:center;margin:0 auto;}
#top-menu {margin-top: 0px !important;padding-right: 0px !important;}
#et_top_search {top: -37px !important;    right: 40px !important;}
.et_pb_svg_logo #logo {height: 70% !important;max-height: 70% !important; margin-left: 20px !important;margin-right:20px !important;}

}


@media (max-width: 1176px){

footer ul#menu-footer-menu, footer ul.footermenu2 {margin-right: 40px !important;}

}

@media (max-width: 1100px){
.et_pb_svg_logo #logo {margin-left: 40px !important;}
nav#top-menu-nav, #top-menu-nav {width: 90% !important;}
.page-id-18 .et_pb_pagebuilder_layout .entry-content {padding-top: 30px !important;}
}

@media (max-width: 980px){

#et_mobile_nav_menu {float: right !important;padding-top: 0px !important;}
.mobile_menu_bar:before {font-size: 48px !important;} 
.metaslider .flex-control-nav {bottom: 10px !important;}

img#logo {max-height:76% !important;}
.et_pb_column {margin-bottom: 0px;}

#et_top_search {right: 30px !important;top: -40px !important;}	


.et_pb_fullwidth_section {margin-top: -25px !important; margin-bottom: 0px !important;}

	
.printfriendly{margin-top: 6px !important;}

.page-id-18 .et_pb_row_6 {width: 98% !important;}

.feedzy-rss .rss_item {margin-left: 20px !important;}

}


@media (min-width: 981px){
.et_pb_gutters3 .et_pb_column_1_2 {width: 50% !important;}
.et_pb_gutters3 .et_pb_column {margin-right: auto !important;}

div.printfriendly {margin: 3px 0px 0px 15px !important;}

.et_header_style_left #et-top-navigation {padding: 20px 0 0 0 !important;}

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

.et_pb_column_1_2 {width: 50% !important;}

.et_pb_column {margin-right: 0% !important;}
	
/* home page news section */
.et_pb_gutters3.et_pb_row .et_pb_column_1_4 {width: 25% !important;}
body.attachment .logo_container a {float: left !important;}

}

@media (max-width: 850px){
#et_top_search {right: 10px !important;}	
}


@media screen and (max-width: 767px){

#et_top_search {display:none !important;}

}


@media screen and (max-width: 636px){

.contactus, .join, .participate, .donate, .subscribe {padding: 8px;}
.printfriendly {display:none;}
.et_pb_svg_logo #logo {margin-left: 20px !important;}
.et_pb_svg_logo #logo {height: 80% !important; max-height: 80% !important;}
.et_header_style_left #logo {max-width: 70% !important;}
}	

@media screen and (max-width: 536px){

.contactus, .join, .participate, .donate, .subscribe {padding: 6px;}

.et_header_style_left .mobile_menu_bar {padding-bottom: 34px !important;}

#top-header .container {width:96% !important;}

.metaslider .flex-control-nav {bottom: 5px !important;}
.metaslider .caption-wrap {bottom: -7% !important;left: 3% !important;}
.metaslider .caption {padding: 4px 8px !important;}
/*        BOOKSTORE - Amazon       */
body.page-id-3359 iframe, body.page-id-3359 iframe .amzn-ad-container  {width: 100% !important;}
body.page-id-3359 .amazon .amzn-ad-prod-detail #title a {font: normal 18px/20px Arial,Helvetica,sans-serif !important;}


blockquote span {font-size:1rem !important;}
blockquote {margin: 20px !important; }
blockquote p {line-height: 1.5em !important;}
}	

.js .tmce-active .wp-editor-area {
    background-color: #222!important;
}