/*****
Theme Name: MH Magazine Child Theme (mh_magazine-2.1.0)
Theme URI: http://www.mhthemes.com/themes/mh/magazine/
Description: This is a child theme for MH Magazine WordPress theme to make customizations much easier for you. By using this child theme you make sure, that you keep your changes after an update of the parent theme.
Author: MH Themes
Author URI: http://www.mhthemes.com/
Template: mh_magazine-2.1.0
Version: 1.0.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*****/

@import url("../mh_magazine-2.1.0/style.css");

#header {
  background: #f2f2f2 !important;
}

@media screen and (max-width: 420px) {
	.mh-container { -webkit-box-shadow: 0 0 0px 0px #a8a8a8; -moz-box-shadow: 0 0 0px 0px #a8a8a8; box-shadow: 0 0 0px 0px #a8a8a8; }

}

/* Navigation mods */

.header-nav { font-size: .875em; font-size: 0.75rem; text-transform: uppercase; position: relative; background: #f6f6f6; border-left: 1px solid #ebebeb; border-right: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; z-index: 999; }
/* original header-nav css 
.header-nav { font-size: 12px; font-size: 0.75rem; position: absolute; right: 20px; background: #f6f6f6; border-left: 1px solid #ebebeb; border-right: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; z-index: 999; }
.header-nav li { float: left; position: relative; -webkit-transition: background 0.6s ease-out; -moz-transition: background 0.6s ease-out; transition: background 0.6s ease-out; }
.header-nav li a { display: block; line-height: 1.3; color: #666; padding: 0.3125em 0.625em; text-decoration: none; }
.header-nav li:hover { background: #e64946; }
.header-nav li:hover a { color: #fff; }
.header-nav ul li:hover > ul { display: block; background: #2a2a2a; z-index: 9999; }
.header-nav ul ul { display: none; position: absolute; }
.header-nav ul ul li { width: 10em; }
.header-nav ul ul ul { left: 100%; top: 0; }
*/

/* nav menu mods */
.header-wrap {
	background: #F6F6F6;
}

.main-nav {
	background: #F6F6F6 !important;
	text-transform: none;
	border: none;
	color: #666;
	display: table;
	margin: 0 auto;
}

.main-nav li {
	border: none;
}

.main-nav li:hover {
	background: #f6f6f6 !important;
	border: none;
}

.main-nav ul li:hover > ul {
	display: block;
	background: #f6f6f6 !important;
	z-index: 9999;
}

.main-nav li a {
/* padding: 1rem .6rem;*/
	padding: 1rem .6rem 0;
	text-decoration: none;
}

.main-nav ul ul li a {
	padding: 5px 10px;
}

.main-nav li a:hover {
	color: #005cb7;
}

/* original main-nav css
.main-nav { background: #2a2a2a; text-transform: uppercase; }
.main-nav li { float: left; position: relative; border-left: 1px solid #000; -webkit-transition: background 0.6s ease-out; -moz-transition: background 0.6s ease-out; transition: background 0.6s ease-out; }
.main-nav li:first-child { border: none; }
.main-nav li:hover { background: #e64946; }
.main-nav li a { display: block; color: #fff; padding: 5px 14px; padding: 0.3125rem 0.875rem; text-decoration: none; }
.main-nav ul li:hover > ul { display: block; background: #2a2a2a; z-index: 9999; }
.main-nav ul ul { display: none; position: absolute; }
.main-nav ul ul li { width: 13em; border: none; }
.main-nav ul ul ul { left: 100%; top: 0; }
*/

.info-nav {
	background: #f6f6f6;
	text-transform: none;
	border: none;
	color: #000;
}

.info-nav li {
	border: none;
}

.info-nav li:hover {
	background: #f6f6f6 !important;
	border: none;
}

.info-nav ul li:hover > ul {
	display: block;
	background: #f6f6f6 !important;
	z-index: 9999;
}

.info-nav li a {
	padding: 10px 9px 10px 8px;
/* padding: 1rem .6rem; */
	text-decoration: none;
	color: #005cb7;
	font-size: 14px;
	font-weight: 900;
}

.info-nav ul ul li a {
	padding: 5px 10px;
	font-size: 13px;
	font-weight: normal;
}

.info-nav li a:hover {
	color: #005cb7;
	background: #e0e0e0;
}

/* ==========================
Dropcaps - pido ayala
============================= */

.pido_dropcap1 {
display: block;
float: left;
font-size: 38px;
line-height: 25px;
margin: 4px 8px 0 0;
color: #4682b4;
}

.pido_dropcap2{
display:block;
float:left;
font-size:18px;
line-height:25px;
width:35px;
text-align: center;
color: #fff !important;
background-color: #5892d2;
margin:4px 8px 0 0;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
border-radius: 100px;
font-weight: bold;
}

.cd_dropcap {
	float: left;
	color: #903;
	font-size: 40px;
	line-height: 30px;
	padding-top: 0;
	padding-right: 8px;
	padding-left: 3px;
	font-family: Georgia;
}

/* miscellaneous mods */
#wpstats {
	display: none;
}

body .hentry {
	font-family: sans-serif;
}

.home-wide .cp-thumb-xl {
	margin-right: .625rem;
}

.widget_ad_rotator {
	float: none;
	margin: auto;
	padding: 0;
	text-align: center;
}

.wp-caption-text {
	text-align: center;
}


.uw-text > p {
	display: none;
}

.widget-title {
	color: #444444;
}


/* Abhijit Ad Block Alert */

#message_bar {
    cursor: pointer;
    display: none;
    width: 100%;
    text-align:center;
    background: #99312c;
    color: white;
    margin:0;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size:13px;
    font-weight:bold;
}

#message_bar a {
    color: white;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size:13px;
}

.fixed {position:fixed; top:0; left:0; z-index:1001;}

/* Abhijit header widget */

#header-widgets-wrap
{
    float:right; 
    margin: 20px 19px 20px 0;
}

.header-right-widget
{
    /* put styling for header widget area here. */
}

.header-right-widget-title
{
    /* put styling for header widget's title here. */
}

.header-right-widget .mh-social-widget{
    margin: 0 0 15px 0;
}

.header-right-widget .mh-social-widget ul {
    margin: 0;
}

.header-right-widget .mh-social-widget li
{
    margin-bottom: 0px;
}

.header-right-widget .mh-social-widget li:last-child {
    margin-right: 0;
}

.header-right-widget .mh-social-widget li img {
    width: 35px;
    height: 35px;
}

@media screen and (max-width: 767px) {	
#header-widgets-wrap
{
    float:none; 
    clear: both;
    display: block;
    margin: 0 15px 15px 15px;
    padding-top: 15px;
}

.header-right-widget
{
    /* put styling for header widget area here. */
    display:block;
}

.header-right-widget .mh-social-widget li img {
    width: 32px;
    height: 32px;
}
}

/* Bug Fix. Scales down logo in mobile mode in IE and Mozilla */
@media screen and (max-width: 620px) {

.logo-wrap { width:95%; overflow: hidden; }

.header-right-widget .mh-social-widget li img {
    width: 30px !important;
    height: 30px !important;
}
}
	
/* End Abhijit header widget */

/* logo mods */
.logodiv {
	width: 100%;
	height: 115px;
	background-color: #0069AA;
	padding: 10px;
	font: "Open Sans";
	font-size: 17px;
	color: #FFF;
	text-align: center;
}

.logoimg {
	float: auto;
	margin: auto;
	padding: 0;
}

/* News Ticker mods Section */
.news-ticker {
	margin-top: 8px;
}

/******News Ticker changes ******/
.news-ticker{
	border:solid;
	border-width:1px;
	border-color:#f2f2f2;
	margin-top: 0;
}

.ticker-title {background: #0069aa;}

#ticker .meta{
	color:#e13037;
}

#ticker .meta a:hover{
	color:#fff;
}

@media screen and (max-width: 720px) {
	.news-ticker, .ticker-title, .ticker-content, #ticker {display: none !important;}
	
}

/* end news ticker changes */

/* Gravity Forms CSS Section */
/* general CSS */
body .gform_wrapper {
	display: block;
	border-radius: 5px;
	border-color: transparent;
	border-color: #c1c1c1 !important;
	border-width: 1px;
	border-style: solid;
	background: #c5e8ff;
/*#d0e3ed !important;*/
	color: #000000 !important;
	text-align: left;
	padding: 20px 20px 50px;
	margin: auto;
	float: none;
	font-size: 11px;
}

/* mod attributes for field labels */
.gform_wrapper .top_label .gfield_label {
	display: none;
}

/* mod  attributes for form notices */
.gdform_wrapper small {
	font-size: 9px;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
	width: 100%;
	border-color: #898989 !important;
	border-width: 1px;
	border-style: solid;
}

/* submit buttons */
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] {
	font-size: 14px;
	height: 33px;
	float: right;
	padding: 6px 12px;
	margin: 5px 0 20px 20px;
	margin: .3125rem 0 1.25rem 1.25rem;
	border-radius: 2px;
}

.gform_wrapper .top_label .gfield_label {
	margin: 10px 0 0;
	font-weight: normal;
	display: -moz-inline-stack;
	display: inline-block;
	line-height: 1em;
	clear: both;
}

.gform_wrapper .gform_footer {
	padding: 5px;
	margin: 5px 0 0;
}

/* form ID 3
 form name: Subscribe form for Join Costco Diabetes Club
 form url: http://cdiabetes.com/sample-kirkland-signature-optifiber/
*/
#g_form_wrapper_3 {
	max-width: 300px;
}

#gform_wrapper_3 .top_label .gfield_label {
	display: inline;
}

/* form ID 1
 form name: Subscribe form for Join Costco Diabetes Club
 form url: http://cdiabetes.com/sample-kirkland-signature-optifiber/
*/
#g_form_wrapper_1 {
	max-width: 280px;
}

#input_1_3, #input_1_4, #input_1_2, .gdform_wrapper_1 input[type=text],  .gdform_wrapper_1 input[type=email],  .gdform_wrapper_1 input[type=url], .gdform_wrapper_1 input[type=tel],  .gdform_wrapper_1 input[type=number],  .gdform_wrapper_1 input[type=date],  .gdform_wrapper_1 select,  .gdform_wrapper_1 textarea,
#input_3_3, #input_3_4, #input_3_2 #input_3_9, .gdform_wrapper_3 input[type=text],  .gdform_wrapper_3 input[type=email],  .gdform_wrapper_3 input[type=url], .gdform_wrapper_3 input[type=tel],  .gdform_wrapper_3 input[type=number],  .gdform_wrapper_3 input[type=date],  .gdform_wrapper_3 select,  .gdform_wrapper_3 textarea {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 6px 12px;
	margin-bottom: 6px;
	width: 100% !important;
	border-color: #898989 !important;
	border-width: 1px;
	border-style: solid;
	display: inline-block;
}

/*mod attributes for checkbox display (in ul/li ) only */
.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li {
	margin: 0;
}

.gform_wrapper ul.gfield_radio li input[type="radio"]:checked+label, .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked+label {
	font-weight: normal;
}

.gform_wrapper .gfield_checkbox li, .gform_wrapper .gfield_radio li {
	margin: 0 !important;
}

/* form ID 2
 form name: Optin for Sample of KIRKLAND SIGNATURE™ OPTIFIBER
 form url: http://cdiabetes.com/sample-kirkland-signature-optifiber/
*/
#gform_wrapper_2 {
	max-width: 308px;
}

#gform_wrapper_2 .top_label .gfield_label {
	display: inline;
}

.gdform_wrapper .gform_footer .gform_button button, .gform_footer input[type="submit"]:hover,  .gform_footer button:hover,  .gform_footer input[type="button"]:hover,  .gform_footer input[type="reset"]:hover {
	background: none;
	filter: none;
	background: #fcbb0a !important;
	color: #0a0a0a !important;
	text-shadow: none;
	border-radius: 2px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 6px 12px;
	cursor: pointer;
	text-align: center;
	display: inline-block;
	height: 33px;
	float: right;
	margin: 5px 0 20px 20px;
	margin: .3125rem 0 1.25rem 1.25rem;
}

/* input fields */
.gdform_wrapper input[type=text],  .gdform_wrapper input[type=email],  .gdform_wrapper input[type=url], 
 .gdform_wrapper input[type=tel],  .gdform_wrapper input[type=number],  .gdform_wrapper input[type=date],  .gdform_wrapper select,  .gdform_wrapper textarea {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 6px 12px;
	margin-bottom: 6px;
	width: 100%;
	border-color: #898989 !important;
	border-width: 1px;
	border-style: solid;
	display: inline-block;
}

#field_1_2 > label {
	display: inline-block;
}

/* slider mods */
/* original css
.slide-title { color: #fff; margin-bottom: 10px; margin-bottom: 0.625rem; }
.slide-title:hover { color: #e64946; }
.slide-data { padding: 10px; padding: 0.625rem; }
.slide-caption { width: 22rem; max-width: 100%; position: absolute; background: #2a2a2a; color: #000; top: 0; right: 0; border-bottom: 3px solid #e64946; opacity: 0.6; filter: alpha(opacity=60); box-shadow: 0 0 15px -2px #000; }
*/
.slide-caption{
	opacity:1;
	background: #fff !important;
	border-bottom: none;
}

.slide-caption {
	width: 100%;
	height: 110px;
	bottom: 0;
	top: auto;
	right: 0;
	box-shadow: none;
	border-color: transparent;
}

h2.slide-title{
	font-size:1.75rem;
	color: #000;
}

.flexslider .slides img{
	/*width:50%;*/ /*45%;*/
	margin-left:auto;
	margin-right:auto;
	padding-bottom:120px;
}

/* searchform mods */
#searchform {
	/* padding: 4px 10px 1px 10px !important; */
	background: transparent;
	overflow: visible;
	border: none;
	float: none;
	margin-left: -5px;
}
#searchfield {
	width: 100%;
	border-radius: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
	background: url(./images/search.png) no-repeat scroll right center white !important;
}

#searchfield:focus { outline: none; }


#searchform fieldset {
    border: none;
    margin: 0;
    padding: 0;
}


/* fix for Content View plugin bootstrap-based layout not 
fitting in homepage widget width -- pido feb 15 2015 */
[class*='col-'] {
margin-left: 0%;
}


.main-nav{
	background-color:#f7f7f7 !important;
}

.main-nav li a{
	color:#000;
	padding: 1rem .6rem;
}

.main-nav li a:hover;{
	background-color:#f1f1f1 !important;
}

.header-nav{
	right:0;
}

/****signup form****/
.sign-up-form-free{
	font-size:1.45rem;
	line-height:1.9rem;
}

.sign-up-form-free strong{
	font-size:1.6rem
}

.sign-up-form-free{
	margin-bottom:.5em;
}

#gform_wrapper_6 .gfield_html{
	margin-top:0;
}

#gform_wrapper_6{
	padding-left:36px;
	background-image: url("/wp-content/uploads/2015/02/sign-up-form-arrow.png");
    	background-repeat: no-repeat;
}

.sign-up-form-first-paragraph{
	font-size:1.15em;
	padding-bottom:5px;
}

.sign-up-form-email{
        margin-bottom: 10px;
        font-size: 1.1em;
}

.sign-up-form-email input{
	border-color:#444;
	border-width:1px;
}

.sign-up-form-email select{
	border-color:#444;
	border-width:1px;
}
.sign-up-form-newsletters{
        margin-bottom: 15px;
        font-size: 1.1em;
}

/**end signup form**/


/*** Start Two Column Div for post and page content (Added By Abhijit) ***/

.TwoColumnWrapper {width:100%;}
.LeftColumn {float:left;}	
.RightColumn {float:right;}

@media screen and (max-width: 1000px) {
 .LeftColumn {float:left; width:100%}	
 .RightColumn {float:left; width:100%}
  .TwoColumnWrapper {width:100%; clear:both;}
}

/*** End Two Column Div ***/

/*** Ad widget code for new ads plugin (Added By Abhijit) ***/
.ad-widget {margin-bottom:20px;}
/*** End of Ad Widget Code ***/


/*** Daily Updates Page Styling (Added by Abhijit) ***/

.hungryfeed_item:first-child
{
   margin-top:45px; 
}

.hungryfeed_item:nth-child(even){
    padding-bottom: 50px;
    border-bottom: 1px solid #999;
    margin-bottom: 20px;
}
.hungryfeed_item_title { font-size: 1.3rem; margin-bottom: 5px; color: #333; line-height: 1.6rem;}
.updateDate { font-size: 0.7rem; margin-bottom: 10px; color: #444444; line-height: 0.9rem;}
.hungryfeed_item {margin-bottom: 50px !important;}
.hungryfeed_item_description{
  margin: 0  !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 14px !important;
  line-height: 20px;
  vertical-align: baseline !important;
 color: #444444;
}

/*** News Feed Page Styling (Added by Abhijit) ***/

.hungryfeed_template_item:first-child{ margin-top:25px; }
.hungryfeed_template_item {border-bottom: 1px solid #bbb; padding-bottom: 20px; margin-bottom: 35px !important;}
.hungryfeed_template_item_title { font-size: 1.4rem; margin:0; margin-bottom: 10px !important; line-height: 1.6rem;}
.hungryfeed_template_item_title a {text-decoration:none;  border:none !important;}
.hungryfeed_template_item_date { font-size: 0.8rem; margin-bottom: 10px; color: #444444; line-height: 0.9rem;}
.hungryfeed_template_item_desc{
  margin: 0  !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 14px !important;
  line-height: 20px;
  vertical-align: baseline !important;
 color: #444444;
}
.hungryfeed_template_item_desc div:first-child{ margin-bottom:10px; }
.hungryfeed_template_item_desc a {font-weight:normal;}


.reminderLink a{color: #1b591c;text-decoration:none; font-size:18px;}
.reminderLink a:hover {color: #1b591c;text-decoration:none; }

body #gform_wrapper_13 .gform_body .gform_fields .gfield .gfield_label {font-size:16px; width:25%;}

body #gform_wrapper_13 .gform_body .gform_fields .gfield input[type=text] {font-size:16px; width:71%;}

.sharedaddy {margin:20px;}


/* RSS AGGREGATOR PLUGIN FOR DIABETES EXPERT BLOGS FEED */
.rss-aggregator{list-style-type: none  !important; padding:0  !important; margin:0  !important;}

.feed-item{border-bottom:1px solid #ddd; margin-bottom:25px !important; padding-bottom:15px !important;}

.feed-item a{font-size: 22px; line-height: 26px;}

.wprss-feed-meta {font-size: 14px; margin-top:5px;}

.thumbnail-excerpt a, .thumbnail-excerpt {font-size: 14px !important;}

.wprss-feed-thumbnail {padding-top:5px;}

.page-numbers {border:none !important;}

.page-numbers.current { color:#FFF; }

.feed-item > a:first-child{text-decoration:none !important; border-bottom:none !important;}

.meta.post-meta { display:none; }
