/*
Theme Name:     Divi-child
Description:    Divi Child theme for radiocafe.media
Author:         radiocafe
Template:       Divi

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/*#singlecustomheader { width: 100%; background: #eccf51 url('https://radiocafe.media/wp-content/uploads/2017/02/radioactivism-200x28.png') center center; height: 200px; margin: 0 0 20px 0; }*/

/* REMOVE TOO MUCH SPACE BELOW IMAGES ON BLOG GRID HOME AND LANDING PAGES */

/*
#singlecustomheaderinner { width: 80%; max-width: 1080px; margin: 0 auto; }
#singlecustomheaderinner img { width: 90%; max-width: 500px; margin: 115px 0 0 -20px; }
*/


/* TO REMOVE BLANK WHITE SPACE BELOW FOOTER - DID NOT WORK 
.archive #main-footer {
position: absolute;
bottom: 0;
width: 100%;
}
*/
.et_pb_text_inner a,
.entry-content a {color:#2ea3f2;}
.et_pb_text_inner a:hover,
.et_pb_text_inner a:active,
.entry-content a:hover,
.entry-content a:active,
.et_pb_text_inner .et-social-icons a {color:#184968;}

/* CHANGE COLOR OF PAGINATION LINKS WITHIN BLOG GRID  */
/*.et_pb_blog_grid_wrapper .pagination a { color: #FFF; padding: 5px; }*/
.et-social-podcast a.icon:before{content:"\e07f"}

#ASU .et_pb_blog_grid_wrapper iframe,
#ASU.custom_blog .et_pb_post iframe { display:none; } /*see line 114 for grid height*/


/* FIXES COLUMN WIDTH ON HOME PAGE */
.et_pb_blog_grid .column { width: 100%; }

/*img.size-medium { margin-bottom: 15px; }
img.size-thumbnail { margin-bottom: 15px; }*/

.et_pb_scroll_top.et-pb-icon { bottom: 65px; }

.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container {padding-top:158px;}

.et_pb_blog_grid .et_audio_content, 
.et_pb_blog_grid .et_main_video_container, 
.et_pb_blog_grid .et_pb_post .et_pb_slider, 
.et_pb_image_container { margin: -20px -19px 0; }
.et_pb_post .entry-featured-image-url { margin-bottom:20px; }

.et_pb_blog_grid .et_pb_post { padding: 19px 19px 22px 19px; }

/*.et_pb_blog_grid .et_pb_image_container a:after { content: "Learn more"; position:absolute; color:rgba(255,255,255,.7); bottom:10px; left:16px; font-size:13px; line-height:1; font-weight:700; padding:.4em .8em .4em; background:rgba(0,0,0,.5); border-radius:14px; }
.et_pb_blog_grid .et_pb_image_container a:hover:after { color:rgba(255,255,255,1.0); }*/

/**homepage latest posts***/

.home-latest article { padding: 0 3% 18px 5%; overflow:hidden; }
.home-latest article img { margin-left:-5.5%; height:auto; min-width: 109%; max-width: 109%; }
/*.home-latest article.category-newmexican { background: #af6f5c; }*/

/**EXPLORE BUTTONS*****/
/*css added in customizer****/

@media only screen and (min-width: 981px) {
.et-fixed-header #logo { max-height: 125%; }
.home .et_pb_blog_0 .et_pb_blog_grid .et_pb_post { /*background-color: #184968; min-height: 530px;*/ margin-bottom: 0!important; }
}

#footer-widgets {display:none;}

.nopadding { padding-bottom:0!important; }

/* FIXES EXPLORE TOPICS LEFT PADDING ON NARROW SCREENS */
@media (max-width: 980px) {
	#footer-widgets {display:block;padding: 15px 0 0 0; }
	.footer-widget:nth-child(n) { width: 100%!important; margin: 0!important; }
	#is_widget-2,
	#is_widget-2 form {width:100%; padding-bottom:20px;}
	#is_widget-2 form input[type=text] { width:78%; padding:6px; border-radius:3px; }
	#is_widget-2 form input[type=submit ] { width:20%; padding:6px; border-radius:3px; background-color:#EC7900; color:#fff; text-transform:uppercase; border-color: #EC7900; }
	
	.et_pb_widget_area_right { padding-left: 30px; }
	
	
	.et_pb_blog_grid .column { width: 100%; }
	
	.et_header_style_left #logo, .et_header_style_split #logo { max-width: 80%;max-height: 80%; }
	
	/*.et_pb_column .et_pb_blog_grid .column.size-1of2, .et_pb_column .et_pb_widget:nth-child(n) { width: 100% !important; } */
	
}

/***ADD FONTS FOR HOMEPAGE QUOTES*******/
/* pt-serif-regular - latin */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/pt-serif-v16-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/pt-serif-v16-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* pt-serif-italic - latin */
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('fonts/pt-serif-v16-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/pt-serif-v16-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/******HOMEPAGE QUOTES STYLES*********/
#random-quote { padding:0 15px; }
p.homequote { font-family:'PT Serif', Georgia, Times; font-style:italic; font-size:24px; line-height:1.8; color:#5d0103; text-align:center; }
p.homequote-auth { font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif; text-align:center; font-size:16px; line-height:1.4; font-weight:600; color:#222; }
.homequote-loc { font-size:14px; font-weight:400; }
.slideshow-controls { position: absolute; top:25%; width: 100%; height: 50px; }
.slideshow-controls .slideshow-prev { position: absolute; left: -60px; width: 50px; height: 50px; background: url(images/wideslide-prev.png) 0 0 no-repeat; opacity: 0.5; cursor:pointer; }
.slideshow-controls .slideshow-next { position: absolute; right: -60px; width: 50px; height: 50px; background: url(images/wideslide-next.png) 0 0 no-repeat; opacity: 0.5; cursor:pointer; }
.slideshow-controls .slideshow-prev:hover, 
.slideshow-controls .slideshow-prev:active, 
.slideshow-controls .slideshow-next:hover, 
.slideshow-controls .slideshow-next:active { opacity: 1.0; }
@media (max-width: 767px) {

	.et_pb_widget_area_right { padding-left: 30px; }
	
	.et_pb_blog_grid .column { width: 100%; }
	
	.et_pb_column .et_pb_blog_grid .column.size-1of2 { width:100%; }
	
	.et_pb_column .et_pb_blog_grid .column.size-1of1, .et_pb_column .et_pb_widget:nth-child(n), .et_pb_gutters1 .et_pb_column .et_pb_blog_grid .column.size-1of1, .et_pb_gutters1 .et_pb_column .et_pb_widget:nth-child(n) { width:100%; }
	
	.et_pb_column .et_pb_blog_grid .column.size-1of2, .et_pb_column .et_pb_widget:nth-child(n) { width:100%; }
	#footer-widgets {display:block;padding: 15px 0 0 0; }
	.footer-widget:nth-child(n) { width: 100%!important; margin: 0!important; }
	
}

@media only screen and (min-width: 768px) {
/*make grid panels equal heights */
	.et_pb_salvattore_content .et_pb_post { min-height:496px; max-height:496px; position:relative; overflow:hidden; }
    #ASU .et_pb_salvattore_content .et_pb_post { min-height:435px; max-height:435px; position:relative; overflow:hidden; }
    .et_pb_salvattore_content .et_pb_post.category-teresa { min-height:175px; max-height:175px; }
    
	/*if mini-player on grid and more info on image
	.page-template-page-listing .custom_blog .et_pb_post { 
	min-height:500px;
	max-height:500px;
	position:relative;
	} */
	/*.et_pb_salvattore_content { display:flex; flex-direction:column; } does not work because no rows, just columns on divi grid listing*/
	
	
}
   /* @media only screen and (max-width: 1280px) {
        .et_pb_salvattore_content .et_pb_post.category-teresa { min-height:190px; max-height:190px; }
    }
    @media only screen and (max-width: 1070px) {
        .et_pb_salvattore_content .et_pb_post.category-teresa { min-height:180px; max-height:180px; }
    }
     @media only screen and (max-width: 980px) {
        .et_pb_salvattore_content .et_pb_post.category-teresa { min-height:210px; max-height:210px; }
    } */
.custom_blog .et_pb_post iframe { position:absolute; bottom:15px; max-width:95%; }
    @media only screen and (max-width: 767px) {
        #footer-widgets {display:block;padding: 15px 0 0 0; }
        .footer-widget:nth-child(n),
        #footer-widgets .footer-widget .fwidget, 
        #footer-widgets .footer-widget:nth-child(n) { width: 100%!important; margin: 0!important; }
    }
    @media only screen and (max-width: 767px) {
    .et_pb_salvattore_content .et_pb_post.category-teresa { min-height:175px; max-height:175px; }
    } 
    @media only screen and (max-width: 420px) {
        #is_widget-2 form input[type=text] { width:65%; }
        #is_widget-2 form input[type=submit ] { width:32%;}
    }

small {font-size:86%!important;}
.pagehead h2 small { font-size:60%!important; }
p.intro {font-size:115%;line-height:1.75;}

h3 {margin-top:1.2em;}
h3.subscribe {margin-top:.5em;padding-bottom:3px;}

.entry-content ul.gform_fields { padding-left:0!important; }

/*make headers less deep */
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content { padding:0; margin:15px auto; }
.et_pb_fullwidth_header { padding: 0; }
.et_pb_fullwidth_header.et_pb_fullwidth_header_0,
.et_pb_section.et_pb_fullwidth_section.et_pb_section_0.et_section_regular,
.et_pb_fullwidth_header_container.center,
.header-content-container.center {min-height:160px!important;}

/*TERESA HEADER*******/
#diary.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content { padding: 0; margin: 0 auto; }
#diary.et_pb_fullwidth_header { overflow:hidden; }

@media only screen and (min-width: 806px) {
    #diary img { padding: 0; margin: 0 auto -12px!important; width:auto!important; }
}

@media only screen and (max-width: 805px) {
    #diary.et_pb_fullwidth_header.et_pb_fullwidth_header_0,
    #diary.et_pb_fullwidth_header_container.center,
    #diary .header-content-container.center { min-height:160px!important; height:160px; }
    #diary img { padding: 0; margin: 0 autoimportant; height:172px; width:auto!important; }
    #diary.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content-container.center { margin-top:-25px; }
    #diary.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content,
    .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content { width: 100%; }
}

@media only screen and (max-width: 550px) {
    #diary.et_pb_fullwidth_header.et_pb_fullwidth_header_0,
    #diary.et_pb_fullwidth_header_container.center,
    #diary .header-content-container.center { min-height:105px!important; height:105px; }
    #diary img { padding: 0; margin: 0 autoimportant; height:105px; width:auto!important; }
    #diary.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content-container.center { margin-top:-64px; }
}

/***TERESA GRID and POST*******/
.et_pb_salvattore_content .et_pb_post.category-teresa h2 span { display:block; font-size:65%; font-family:"Helvetica Neue",Helvetica,Arial,"sans-serif" !important; margin-top:-2px; }
.et_pb_salvattore_content .et_pb_post.category-teresa h2 { padding-bottom:0; padding: 15px 18px 18px 18px; margin: -18px -18px 4px -18px; background: rgb(24, 73, 104); }
.category-teresa h1 { font-family: Georgia, serif; font-weight:400; }
.category-teresa h1 span { display:block; font-size:60%; font-family:"Helvetica Neue",Helvetica,Arial,"sans-serif" !important; }
.et_pb_salvattore_content .et_pb_post.category-teresa .et_pb_image_container { display:none; }
.teresadiary article { position: relative; }
.teresadiary .et_pb_post iframe { padding-right:18px; position:absolute; bottom:17px; max-width:94%; }

/*change nav colors*/
#top-menu li a { font-size: 17px!important; }
p .science,
#top-menu li.scienceradiocafe a,
.et-fixed-header #top-menu li.scienceradiocafe.current-menu-ancestor>a,
.et-fixed-header #top-menu li.scienceradiocafe.current-menu-item>a {color:#117f12!important;font-size:17px!important;}
p .activism,
#top-menu li.radioactivism a,
.et-fixed-header #top-menu li.radioactivism.current-menu-ancestor>a,
.et-fixed-header #top-menu li.radioactivism.current-menu-item>a {color:#a0250e!important;font-size:17px!important;}
p .downtoearth,
#top-menu li.downtoearth a,
.et-fixed-header #top-menu li.downtoearth.current-menu-ancestor>a,
.et-fixed-header #top-menu li.downtoearth.current-menu-item>a {color:#006c9e!important;font-size:17px!important;}
p .sfnm,
#top-menu li.sfnm a,
.et-fixed-header #top-menu li.sfnm.current-menu-ancestor>a,
.et-fixed-header #top-menu li.sfnm.current-menu-item>a {color:#AF6F5C!important;font-size:17px!important; }
p .arizona,
#top-menu li.arizona a,
.et-fixed-header #top-menu li.sfnm.current-menu-ancestor>a,
.et-fixed-header #top-menu li.sfnm.current-menu-item>a {color:#8c1d40!important;font-size:17px!important; }
p .diary,
#top-menu li.diary a,
.et-fixed-header #top-menu li.diary.current-menu-ancestor>a,
.et-fixed-header #top-menu li.diary.current-menu-item>a {color:#418c8a!important;font-size:17px!important; }

#top-menu li.slnm a {color:#e6a800!important;font-size:17px!important; } /*????*/

#top-menu li {padding-right:15px!important;}

.et_header_style_centered .mobile_nav .select_page, .et_header_style_split .mobile_nav .select_page, .et_nav_text_color_light #top-menu > li > a, 
.et_nav_text_color_dark #top-menu > li > a, 
#top-menu a, .et_mobile_menu li a, 
.et_nav_text_color_light .et_mobile_menu li a, 
.et_nav_text_color_dark .et_mobile_menu li a,  
.et_search_form_container input, 
span.et_close_search_field:after, 
#et-top-navigation .et-cart-info { color: #454647!important;}

@media (max-width: 980px) {
.container.clearfix.et_menu_container { max-width:100%; width:100%; padding:0 1.5em;}
}

/****Top menu dropdown*****/
#top-menu li .sub-menu li a { text-transform:none; }
#top-menu li .sub-menu li.current-menu-item  a { color:#666!important; }
#top-menu li .sub-menu li.current-menu-item  a:hover,
#top-menu li .sub-menu li.current-menu-item  a:active { color:#000!important; }
#top-menu li .sub-menu li { line-height:1.3; }
#top-menu li .sub-menu { right:0; top:15px; border:none; }

/***secondary Nav ****/
#top-header .container { padding-top: 0; }
#et-info, #et-secondary-menu>ul>li a { display: block; padding:0; }
#et-secondary-nav li { margin-right: 0; padding:0 8px; line-height:29px; }
#et-secondary-nav li.donate { background: #b13508; }
#et_top_search { margin: 12px 0 0 15px; }

#et_search_icon:before {color:#fff!important;top:-6px;} /*search button moved to secondary nav**/
#et-secondary-menu {width:100%;text-align:right;}
#top-header .et-social-icons {  /*display: none;*/ float:left; }
#top-header .container { position:relative;}
#et-secondary-nav li {text-transform:uppercase;}

/***Mobile Menu****/
.et_mobile_menu {border:none; padding:1% 5% 5%; }
.et_mobile_menu li a {font-size: 18px;}

#et-footer-nav .container {text-align:center;background:#184968;padding:.5em 0 1em 0;}
#et-footer-nav {text-align:center;background:#184968;}
#footer-bottom .container {text-align:center;}
.sponsor-logo { width:100%; text-align:center; }
.sponsor-logo img { max-width:200px; padding:15px 0; }
#footer-info {margin:0 auto 1.5em auto;float:none;text-align:center;}

/***Footer Menu (widget, deleted)**/
#footer-widgets ul#menu-footer-menu li {padding-left:0;}
#footer-widgets ul#menu-footer-menu li:before {display:none;}


/***SUBSCRIBE BUTTON**/
img.brandimg { }
p.button {float:right; line-height:1;font-size:12px;text-transform:uppercase;margin:.5em 0 0 1.5em;letter-spacing:.025em;}
p.button a {padding:6px 20px 4px; color:#fff!important; background:#b13508;border-radius:25px; -moz-transition: background 0.5s ease-in-out; -webkit-transition: background 0.5s ease-in-out; -o-transition: background 0.5s ease-in-out; transition: background 0.5s ease-in-out;}
p.button a:hover,p.button a:active {background:#D53800;}
p.button.science a {background:#4f7a27;}
p.button.science a:hover,
p.button.science a:active {background:#4e920e;}
p.button.earth a {background:#298cc9;}
p.button.earth a:hover,
p.button.earth a:active {background:#009af9;}
p.button.sfnm a {background:#AF6F5C;}
p.button.sfnm a:hover,
p.button.sfnm a:active {background:#823c28;}
p.button.asu a {background:#8c1d40;}
p.button.asu a:hover,
p.button.asu a:active {background:#4c031a;}
p.button.teresa a { background:#418c8a; }
p.button.teresa a:hover,
p.button.teresa a:active {background:#1d6c6a;}

/**Button Footer (widget, deleted)***/
.footer-widget p.button {float:none; line-height:1;font-size:12px;text-transform:uppercase;margin:.5em 0 0 0;letter-spacing:.025em;}
.footer-widget p.button a {padding:5px 20px; color:#fff; background:#4887ae;border-radius:25px; -moz-transition: background 0.5s ease-in-out; -webkit-transition: background 0.5s ease-in-out; -o-transition: background 0.5s ease-in-out; transition: background 0.5s ease-in-out;}
.footer-widget p.button a:hover,.footer-widget p.button a:active {background:#60a8d5;}

/***SOCIAL next to SUBSCRIBE***/
.et-social-icon a { font-size: 19px; }
.et-social-icon a:hover {color:#111!important;}
.et-social-icons li { display: inline-block; margin-left: 10px; }
.et-social-icons li img { max-height:19px!important; width:auto; }

/*@media (max-width: 980px) {*/
	ul.et-social-icons { float: right; text-align: right; margin-top:2px; }
/*}*/
@media (max-width: 700px) {
.pagehead { clear:both;}
ul.et-social-icons { float: left; padding-left:0; }
ul.et-social-icons li:first-child { margin-left:0; }
}
@media (max-width: 500px) {
p.button { float: none; text-align:center; margin-left:0; }
ul.et-social-icons { float: none; text-align:center; padding-top:18px; }
}

/*****Gravity Forms******/
.gform_wrapper #gform_1 .top_label .gfield_label,
.gform_wrapper #gform_2 .top_label .gfield_label,
.gform_wrapper #gform_3 .top_label .gfield_label {display:none!important;}

.gform_wrapper {margin: 6px 0!important;}
body .gform_wrapper ul li.gfield { margin-top: 6px!important; }
.gform_wrapper #gform_1 ul li.gfield,
.gform_wrapper #gform_2 ul li.gfield,
.gform_wrapper #gform_3 ul li.gfield { margin-bottom: 9px!important; margin-top:0!important; }
.gform_wrapper #gform_1 .gform_footer,
.gform_wrapper #gform_2 .gform_footer,
.gform_wrapper #gform_3 .gform_footer {margin:0!important;padding-top:0!important;}
body .gform_wrapper .top_label div.ginput_container { margin-top: 1px!important; }
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label, 
.gform_wrapper .field_sublabel_below div[class*=gfield_time_].ginput_container label { margin: 1px 0 2px 1px!important; }
.gform_wrapper .gform_footer { padding: 4px 0!important; margin: 10px 0 0!important; }
.gform_wrapper .gform_footer input.button, 
.gform_wrapper .gform_footer input[type=submit] { padding:6px 15px; background:#fff; border:1px solid #aaa; border-radius:6px; font-size:.9em; text-transform:uppercase; color:#666;}
.gform_wrapper .gform_footer input.button:hover, 
.gform_wrapper .gform_footer input[type=submit]:hover {color:#333; border-color:#666;}

.gform_wrapper div.validation_error {display:none;}
.gform_wrapper li.gfield.gfield_error { padding:0 10px!important; border:none!important;border-radius: 4px!important;}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper textarea { border-radius:4px; }

.gform_wrapper .description_above .gfield_description { padding: 0!important;font-size: .92em!important;font-style:italic; }

.gform_wrapper .gfield_checkbox li input, 
.gform_wrapper .gfield_checkbox li input[type=checkbox], 
.gform_wrapper .gfield_radio li input[type=radio] { vertical-align: top!important;}
.gform_wrapper .gf_list_inline .gfield_checkbox li {margin: 0 15px 10px 0!important;}
.gform_wrapper .gfield_checkbox li label, 
.gform_wrapper .gfield_radio li label { white-space:nowrap!important;}

.gform_confirmation_message {padding:28px 0; font-style:italic;font-size:16px;}

/***REMOVE SUBLABEL***/
.gfield.no-sublabel span.name_first label,
.gfield.no-sublabel span.name_last label { display:none!important;}

/**Down to Earth***/
.page-id-1332 .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content { padding: 12px 0 0 0; margin: 15px auto; }
.page-id-1332 .et_pb_fullwidth_header.et_pb_fullwidth_header_0 { background-position: 0 100%!important; }
h6.qv {margin-left:60px; color:#999;}
h6.qv a {color:#4d8db5;}
h6.qv a:hover,
h6.qv a:active {color:#006f7b;}
.et_post_meta_wrapper .qv-logo {padding:20px 0 0 0;}

@media only screen and (max-width: 768px) {
.page-id-1332 .et_pb_fullwidth_header.et_pb_fullwidth_header_0 { /*background-size: 200%;*/ background-position: 20% 100%!important;}
.page-id-1332 .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content { width: 100%; }	
}

@media only screen and (max-width: 428px) {
.page-id-1332 .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content { padding: 24px 0 0 0; }	
}

/**Home page
.home .et_pb_section.et_pb_section_1.et_section_regular{padding-bottom:0;}***/
.home .et_pb_section.et_pb_section_2.et_section_regular {padding-top:1.5em; padding-bottom:2em;}

/**POPUP MAKER****/
.pum-content.popmake-content .gform_wrapper .gform_footer input.button, 
.pum-content.popmake-content .gform_wrapper .gform_footer input[type="submit"] { background: #b74f27; border: 1px solid #b74f27; color: #fff; }

.pum-content.popmake-content .gform_wrapper .gform_footer input.button:hover, 
.pum-content.popmake-content .gform_wrapper .gform_footer input[type="submit"]:hover,
.pum-content.popmake-content .gform_wrapper .gform_footer input.button:active, 
.pum-content.popmake-content .gform_wrapper .gform_footer input[type="submit"]:active { background: #e06738; }

/**Style EXPLORE on listing pages***/
.et_pb_widget.widget_categories.explore {margin:-15px; }
.et_pb_widget.widget_categories.explore h4.widgettitle { margin-top:-3px; }
.entry-content ul.listing-categories,
.entry-content ul.listing-categories ul.subcat { list-style-type:none!important; margin-left:0; padding-left:0; padding-bottom:0; }
.page-template-page-listing .et_pb_text_1 { padding:15px!important; }
.et_pb_widget.widget_categories ul li { margin-bottom: .5em; margin-top: .5em; line-height:1.2; }
.et_pb_widget.widget_categories li a,
#categories-2 h4 { color: #111; }

@media (max-width: 980px) {
	.entry-content ul.listing-categories,
	.entry-content ul.listing-categories ul.subcat { text-align:center; }
	.page-template-page-listing .et_pb_with_border.et_pb_module.et_pb_text.et_pb_text_1.et_pb_bg_layout_light.et_pb_text_align_left { margin: 10px; text-align: center; }
	.page-template-page-listing .et_pb_widget.widget_categories.explore { width:100%!important; margin:0 auto; }
}

/**WP Pagenavi********/
.wp-pagenavi { text-align: center; border:none; margin-bottom:0; padding-top:20px; }
.wp-pagenavi a, 
.wp-pagenavi span { margin: 0 5px; border: none!important; color: #888; font-size: 15px!important; font-weight: 400!important; text-decoration: none; white-space:normal; display: inline-block; }
.wp-pagenavi span.extend { margin: 0; padding:0; }
.wp-pagenavi span.pages { white-space:nowrap; }
.wp-pagenavi .nextpostslink, 
.wp-pagenavi .previouspostslink { color: #888!important; font-size:18px!important; }
.wp-pagenavi a:hover, 
.wp-pagenavi span.current { color: #000!important; }
.wp-pagenavi span.current { font-weight:700!important; }

@media (max-width: 767px) {
	.wp-pagenavi { padding-bottom:20px; }
	.wp-pagenavi span.pages { display:none; }
}
