/*
Theme Name:   CT News Junkie Directory
Theme URI:
Description:  Custom theme for directory.ctnewsjunkie.com based on Divi
Author:       Rockel Design
Author URI:   http://www.rockeldesign.com
Template:     Divi
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* fixes for crappy divi styling */
body.et_divi_theme { color: #333; font-size: 16px; line-height: 1.5em; }
.et_divi_theme p { padding-bottom: 30px; }
.et_divi_theme p:empty { display: none; }
.et_divi_theme h1 { line-height: 1.1em; }
.et_divi_theme h2 { line-height: 1.2em; }
.et_divi_theme h3 { line-height: 1.3em; }
.et_divi_theme h4 { line-height: 1.4em; }
.et_divi_theme h5, .et_divi_theme h6 { line-height: 1.5em; }

.et_divi_theme a:hover { text-decoration: underline; }
.et_divi_theme a:active, .et_divi_theme a:focus { outline: 0; }

.et_divi_theme img.alignright { margin: 5px 0 10px 20px; }
.et_divi_theme img.alignleft { margin: 5px 20px 10px 0; }
.et_divi_theme img.aligncenter { margin: 10px auto; }

.et_divi_theme .wp-caption { border: none; padding: 10px; background-color: #ddd; }
.et_divi_theme .wp-caption .wp-caption-text { font-size: 12px; line-height: 1.5; text-align: center; padding: 2px 0 0; }
.et_divi_theme .wp-caption.alignright { margin: 5px 0 10px 10px; }
.et_divi_theme .wp-caption.alignleft { margin: 5px 10px 10px 0; }

.et_divi_theme hr { background-color: #ddd; border: 0; clear: both; height: 1px; margin: 0 0 30px; }

/*overall spacing*/
.container { width: auto; }
/*set header height*/
  header#main-header { height: 125px; }
  #page-container { padding-top: 125px!important; }
    @media all and (max-width: 980px) { .et_divi_theme header#main-header { position: relative; height: auto; } #page-container { padding-top: 0!important; } }
/*set padding below header*/
  .et_pb_section_0.et_pb_section { padding: 0!important; }
  #main-content { padding: 30px 10px 0; }
    @media all and (max-width: 1124px) { #main-content { padding: 30px 30px 0; } }
    @media all and (max-width: 980px) { #main-content { padding: 30px 90px 0; } }
    @media all and (max-width: 768px) { #main-content { padding: 30px 30px 0; } }
    @media all and (max-width: 479px) { #main-content { padding: 10px 10px 0; } }
  #main-content .container { padding-top: 0; }
  .et_pb_row.et_pb_row_0 { padding-top: 0; }
/*content width*/
  .et_divi_theme .et_pb_row { width: 100%; }
/*column width*/
  .et_divi_theme .et_pb_column_2_3, body.et_divi_theme #page-container #left-area { margin: 0 0 10px; width: 68%; padding-right: 0; }
  .et_divi_theme .et_pb_column_1_3, body.et_divi_theme #page-container #sidebar { width: 32%; padding-left: 30px; }
    @media all and (max-width: 980px) { .et_divi_theme .et_pb_column_1_3, body.et_divi_theme #page-container #sidebar { padding-left: 0; } }
  .et_pb_widget_area_left { padding-right: 0; border-right: none; }
  .et_pb_widget_area_right { padding-left: 0; border-left: none; }
  .et_right_sidebar #main-content .container::before { display: none; }

.et_header_style_left .logo_container a { margin-left: 15px; }
#et_mobile_nav_menu { margin-right: 10px; }

/*navigation*/
.et_divi_theme #top-menu > li:last-child { padding-right: 15px; }
.make-button a { background-color: rgba(255,255,255,0)!important; color: #fff!important; padding: 10px 15px!important; text-transform: uppercase; border: 1px solid #fff!important; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; text-align: center; }
.make-button a:hover { background-color: #fff!important; color: #2E3092!important; opacity: 1!important; }
.et_divi_theme #top-menu li.current-menu-item > a, .et_divi_theme #top-menu li.current-menu-ancestor > a { color: #fff; }
.et_divi_theme #top-menu li li a { line-height: 1.2; }
  @media all and (min-width: 980px) { #top-menu .for-mobile.make-button a { display: none; } }
  @media all and (max-width: 978px) { .et_mobile_menu li.for-desktop.make-button a { display: none; } }

.mobile_menu_bar::before { color: #fff!important; }
.et_mobile_menu .menu-item-has-children > a { background-color: rgba(0, 0, 0, 0); }
.nav ul li a:hover, .et_mobile_menu li a:hover { opacity: 1; background-color: rgba(0, 0, 0, 0.3); text-decoration: none; }

/*directory bar*/
.et_pb_section_0.et_pb_section.site-name-bar { background-color: #F7921C!important; padding-top: 0; }
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content { text-align: center;}
.et_pb_fullwidth_header {padding: 10px;}
.et_pb_fullwidth_header .header-content {padding: 0;}
.et_pb_fullwidth_section .header-content h1 {display: inline-block;font-weight: bold;text-transform: uppercase;font-size: 1.5em;padding-bottom: 0;text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);}
.et_pb_fullwidth_header_subhead {display: inline-block; font-size: 1.2em; font-style: italic;text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);font-weight: 600;}
  @media all and (max-width: 767px) { .et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content, .et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content { margin: 0; } }
  @media all and (max-width: 479px) {
  .et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content, .et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content { line-height: 1.2em; } .et_pb_fullwidth_section .header-content h1, .et_pb_fullwidth_header_subhead { font-size: 1em; } }

/*home*/
.home .et_pb_column.et_pb_column_2_3 p { padding-bottom: 0; }

/*widgets*/
.widgettitle { text-transform: uppercase; background-color: #F7921C; padding: 10px; margin-bottom: 10px; color: #fff; font-size: 16px; text-align:center; /*text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);*/ font-weight: 600;}
.homecenterwidget {padding:0 10px;text-align:center;}
.homecenterwidget .widgettitle {background-color: #2E3092;font-size: 21px;margin: 0 -10px 10px;text-transform:inherit;padding: 10px 10px 15px;}

/*slider*/
.et_pb_section .et_pb_column .et_pb_module { margin-bottom: 10px!important; }
.home .soliloquy-container .soliloquy-caption.soliloquy-caption-top { width: 50%; top: 0; }
.home .soliloquy-container .soliloquy-caption .soliloquy-caption-inside { background: none; text-align: left; padding: 50px 30px; }
.home .soliloquy-container .soliloquy-caption .soliloquy-caption-inside h3 { color: #fff; font-size: 32px; font-weight: 600; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); margin-bottom: 10px; line-height: 1.1em; }
.home .soliloquy-container .soliloquy-caption .soliloquy-caption-inside p { color: #fff; font-size: 18px; font-weight: 600; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); line-height: 1.3em; }
  @media all and (max-width: 767px) { .home .soliloquy-container .soliloquy-caption.soliloquy-caption-top { width: 100%; } }
  @media all and (max-width: 479px) { .home .soliloquy-container .soliloquy-caption .soliloquy-caption-inside { padding: 20px 20px; } .home .soliloquy-container .soliloquy-caption .soliloquy-caption-inside p { font-size: 14px; } .home .soliloquy-container .soliloquy-caption .soliloquy-caption-inside h3 { font-size: 22px; } }

/*home listings facets*/
.featuredlistingswrapper { border: 1px solid #d8d6ea; background-color: #f0eff7; padding: 10px; }
.featuredlistings { padding: 0 0 30px; }
.facetwp-template .featuredlistings:last-of-type { padding: 0 0 10px; }
.featuredlistingswrapper a { color:#2E3092; margin-top: 5px; line-height: 1.2; }
.featuredlistingswrapper a:hover { color:#000; text-decoration: none;}
.featuredlistingswrapper h3 { text-transform: uppercase; background-color: #F7921C; padding: 10px; margin-bottom: 10px; color: #fff; font-weight: bold; font-size: 16px; text-align:center; text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3); font-weight: 600; background-color: #2E3092; font-size: 21px; margin: 0 -10px 10px; text-transform:inherit; padding: 10px 10px 15px; }
.featuredlistings h4 { color: black; font-size: 14px; line-height: 1.2em; padding: 10px; background-color: #F7921C; text-align:center; font-weight:bold; }
.short-desc { margin:5px 15px; line-height: 1.5em; }
.short-desc p { margin-bottom: 10px; }
.featuredlistingswrapper ul { padding-left: 0; }
.featuredlistingswrapper ul li { list-style: none; }
.featuredlistingswrapper ul li a { display: block; margin: 0; padding: 0 10px; }
.featuredlistingswrapper ul li a:hover { background-color: rgba(255,255,255,.5); }
.categorywrapper { text-align: left; border: 1px solid #d8d6ea; background-color: #f0eff7; padding: 10px; margin-bottom: 10px!important; }
.categorywrapper a { display: inline-block; color: #fff; background-color: #2E3092; padding: 2px 8px; margin: 0 2px 5px 0; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
.categorywrapper a:hover { background-color: #000; text-decoration: none; }
.home .facetwp-facet { margin-bottom: 10px; }
.facetwp-selections { text-align: center; font-weight: bold; }
.home .facetwp-btn::before, .home .facetwp-btn.f-reset::before { width: 15px; height: 15px; background-size: 15px 15px; margin-top: 4px; }
.home .facetwp-selection-label { display: none; }
  @media all and (max-width: 479px) {.home .categorywrapper a { display: block; padding: 1px 6px; margin: 0 1px 5px 0; font-size: 14px; line-height: 1.7em; } .home .et_pb_fullwidth_header .et_pb_fullwidth_header_container { width: 100%; } .widgettitle { font-size: 14px; } .et_pb_section_1.et_pb_section { padding-top: 10px; } }

/*search facets*/
input[type="text"], input[type="password"], input[type="tel"], input[type="email"], input.text, input.title, textarea, select { width: 100%; }
.widget_wpbdp_searchwidget .zipcode-search-zip {width: 100%;}
.wpbdp-search-field-label {line-height:1;margin-top: 5px;}

/*sidebars*/
.et_pb_column_1_3 .et_pb_module, #sidebar .et_pb_widget { margin-bottom: 10px!important; background-color: #f0eff7; padding: 10px; }
.et_pb_column_1_3 .widgettitle, #sidebar .widgettitle { margin: -10px -10px 10px; }
.et_pb_gutters3 .et_pb_column_1_3 .et_pb_widget { margin-bottom: 30px; }
/*goal thermometer centering fix*/
.dxc-goal-thermometer .therm-wrapper { margin: 0 auto; width: 170px; }
.dxc-goal-thermometer .therm-number { width: 50px; }
.dxc-goal-thermometer .therm-graphics { left: 50px!important; }
a.therm-button { display: none; }

/*single directory*/
.directory_listing .post-meta { display: none; }
.directory_listing p:empty { display: none; }
/*.directory_listing h1.entry-title { padding-top: 25px; }*/
.directory_listing .entry-content { padding-top: 0; }
.directory_listing .calloutarea { background-color: #efefef; padding: 10px 15px; }
.directory_listing .calloutarea a { color: #2e3092; }
.directory_listing .calloutarea a:hover { text-decoration: underline; }
.directory_listing .calloutarea i { margin-right: 5px; }
.single-directory_listing h1.entry-title { background-color: #F7921C; padding: 10px; margin-bottom: 20px; color: #000; font-weight: bold; font-size: 18px; text-align:center; font-weight: 600; line-height: 1.2em; }
.directory_listing h1.entry-title { margin-bottom: 0; }

/*fix for mobile horizontal scrolling issue*/
.et_pb_fullwidth_header .et_pb_fullwidth_header_scroll { width: inherit; }







/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {

}

/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {

}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {

}

/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {

}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {

}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {

}
