/*
Theme Name: Vaccine Impact - Avada Child
Description: Child theme for Avada
Author: Sophia Media
Template: Avada
*/




/*jkw 12-3-2014
style added below to make VI look like HIN

*/

.post-content blockquote {
font-style: normal !important;
}
.home-featured-content{font-size: 17px !important;font-family: arial, sans-serif !important;}
.home_title_link {
	font-family: arial !important;
	font-size: 26px !important;
	line-height: 18px !important;
	}



.current-date{width:200px !important;font-size: 17px !important;height:38px !important;}

.ga-top-posts a{font-size: 14px !important;}

body p {
font: 13px/18px arial,sans-serif !important;
}

.entry-date{
font-family: arial, sans-serif !important;
font-size: 13px !important;}
/*************************************************************************/

.more-news {
    background: #E1EED6;
    padding: 19px 7px 1px 7px;
    height: auto;
    width: 200px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

p.no-comments {
display: none;
}

.single-avada_portfolio .single-navigation.clearfix {
display: none;
}
/***************/

/*logo*/

.avada-row {max-width:1170px !important;}

#header-sticky .avada-row, #header .avada-row, #main .avada-row, .footer-area .avada-row, #slidingbar-area .avada-row, #footer .avada-row {
max-width: 1170px !important;
}

@media screen and (min-width:801px) {
    .logo {
        height: 124px;
        background: url("/wp-content/uploads/sites/5/2014/12/vaccine_impact_banner3.png") no-repeat;
        width: 1170px;
    }

    .logo img {
        visibility: hidden;
    }
    
    .sticky-shadow div.logo {
        width: 560px !important;
        background-size: contain;
    }
}

@media screen and (max-width:800px) {
    .logo {
        background: none;
        width: auto;
    }

    .logo img {
        visibility: visible;
        max-height: 124px;
    }
    
    .header-v5 #header {
        padding: 0px;
    }

    .sticky-shadow div.logo {
        width: auto !important;
        background-size: auto;
    }
	.avada-row .alignleft {
		/* display: none !important; */
	}
			
	.avada-row .alignright {
		display: none !important;
	}
    
    .fusion-sharing-box.share-box {
        display: none;
    }

}


/*****/

.entry-date {
    border-top: 1px solid #F0F0F0;
    margin-bottom: 15px;
    margin-top: -9px;
    text-align: right;
    padding-top: 3px;
}

    .current-date {display:block;}
}

.single-post h2.entry-title {
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 39px;
    padding-bottom: 7px !important;
}

.current-date {
    margin: -35px 0px 20px 10px;
    padding: 10px;
    font-weight: bold;
    font-family: arial;
    color: #fff;
    text-shadow: 1px 1px 2px #222;
    background: #6F94B3;
    width: 230px;
    text-align: center;
    font-size: 1.3em;
}

a.custom.fusion-social-network-icon.fusion-tooltip.fusion-feed.icon-feed {
height: 34px;
width: 32px;
overflow: hidden;
margin-bottom: -10px;
}

/*Typography Overrides*/
.post-content p, .post-content ul, .post-content ol {
    font-size: 16px !important;
    line-height: 1.35em !important;
}

.post a, .page .post-content a{
    color: #54a2e5 !important;
    border-bottom: 1px dotted #A0C5E5 !important;
    font-weight: normal;
}

.fusion-posts-container.posts-container-infinite a, .archive #posts-container a {
    color: #333 !important;
    font-weight: bold;
    border: 0px;
}

h2.post-title.entry-title a, .home h2.entry-title a  {
    border: none !important;
}

input#s, input#s .placeholder, #comment-input input, #comment-textarea textarea, #comment-input .placeholder, #comment-textarea .placeholder, .comment-form-comment textarea, .input-text, .post-password-form .password, .wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-quiz, .wpcf7-form .wpcf7-number, .wpcf7-form textarea, .wpcf7-form .wpcf7-select, .wpcf7-select-parent .select-arrow, .wpcf7-captchar, .wpcf7-form .wpcf7-date, .gform_wrapper .gfield input[type=text], .gform_wrapper .gfield input[type=email], .gform_wrapper .gfield textarea, .gform_wrapper .gfield select, #bbpress-forums .bbp-search-form #bbp_search, .bbp-reply-form input#bbp_topic_tags, .bbp-topic-form input#bbp_topic_title, .bbp-topic-form input#bbp_topic_tags, .bbp-topic-form select#bbp_stick_topic_select, .bbp-topic-form select#bbp_topic_status_select, #bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content, .main-nav-search-form input, .search-page-search-form input, .chzn-container-single .chzn-single, .chzn-container .chzn-drop, .avada-select-parent select, #wrapper .search-table .search-field input {
    color: #333333 !important;
}


.home-featued-post .home-featured-content {float:left;width:74%;padding-right: 2%;}

.home-featued-post img {float:right;margin-bottom: 20px;width:26%;}
/*.home-featued-post a {float:left;} */

.more-articles {
    width: 160px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 5px 8px -6px #0F0F0F;
    border-bottom: 2px solid #D8D8D8;
    border-radius: 0px 0px 3px 3px;
}

.more-articles a {
    font-size: 1.2em !important;
}

a.home_title_link {
    font-size: 1.8em !important;
    color: #333;
    font-weight: bold !important;
    font-family: arial !important;
    text-shadow: 1px 1px 1px #ddd;
}

.home-feature-wrapper {
    margin: 0px 10px 15px 10px;
}

.home-featured-content {
    font-size: 1.15em;
    line-height: 1.3em;
    text-align: justify;
    padding-top: 10px;
}

a.home_read_more {
    clear: both;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background: #eee;
    float: left;
    margin-top: 5px !important;
}

@media screen and (max-width:580px) {
    .home-featued-post img {
        margin-bottom: 20px;
        width: 50%;
        background: #333;
        clear: both;
        display: block;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    
    a.home_title_link {
        font-size: 1.5em !important;
        color: #333;
        font-weight: bold !important;
        font-family: arial !important;
        text-shadow: 1px 1px 1px #ddd;
        clear: both;
        display: block;
        line-height: 1em;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .home-featued-post .home-featured-content {
        float: left;
        width: 100%;
    }
    
    .current-date {display:none;}
}

.single-post h2.entry-title {
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 39px;
    padding-bottom: 7px !important;
}

.current-date {
    margin: -35px 0px 20px 10px;
    padding: 10px;
    font-weight: bold;
    font-family: arial;
    color: #fff;
    text-shadow: 1px 1px 2px #222;
    background: #8E9CBB;
    width: 230px;
    text-align: center;
    font-size: 1.3em;
}

/* Caption Styles */
p.wp-caption-text {
    text-align: center;
    padding: 0.3em !important;
    width: auto;
    margin-right: 10px;
    border: 1px solid #DFDFDF;
    border-top: none;
    border-radius: 0px 0px 10px 10px;
    background: #F9F9F9;
    box-shadow: 0px 10px 5px -8px #bbb;
    text-shadow: 1px 1px #E4E4E4;
    color: #696969;
}

/***** GA Top Stories *****/

.ga-top-posts-wrapper {
    width: 225px;
    margin-left: auto;
    margin-right: auto;
}

.ga-top-posts {
    border: 1px solid #ECECEC;
    padding: 1em;
    background: #FDFDFD;
    box-shadow: 0px 10px 4px -8px #bbb;
    margin: 1em;
    text-align: right;
    width: 200px;
}

.ga-top-posts .gtc-link{
	text-align: center;
}

.ga-top-posts img {
    margin-right: auto;
    margin-left: auto;
    /* border-radius: 100%; //ENABLE FOR CIRCLE IMAGES */
    /* border: 2px solid #9C9C9C; */
    width: 150px;
    height: auto;
    display: block;
}

.ga-top-posts a {
    text-decoration: none;
    font-size: 1.1em;
    display: block;
    padding: 0px 10px 0px 23px;
    text-shadow: 1px 1px 3px #eee;
    width: 150px;
    font-weight: normal;
    border-bottom: none;
}

span.ga-top-posts-views {
	display: block;
	clear: both;
	font-size: 1.27em;
	color: #ADADAD;
	margin-top: 10px;
	text-align: left;
}

#sidebar .heading h3 {
    font-size: 1.3em;
    text-align: center;
    font-weight: bold;
}


a.fusion-social-network-icon {
    /* color: #797979 !important; */
    border: none;
}

.avada-row {max-width:1170px !important;}

/*** ShareThis! ***/

.mv_include .sharethis-block {
display: none;
}

.stButton .stFb, .stButton .stTwbutton, .stButton .stMainServices {
    height: 22px !important;
}


/** Remove any additional Share-this! occurences **/
.sharethis-block:nth-of-type(2), .sharethis-block:nth-of-type(3), .sharethis-block:nth-of-type(4), .sharethis-block:nth-of-type(5) {
display: none;
}


@media screen and (min-width:450px) {
    .sharethis-block {
    margin: -30px 0px 27px 0px;
    }
}

@media screen and (max-width:449px) {
    .sharethis-block {
    margin: -14px 0px 27px 0px;
    }
}

.sidebar-articles {
    display: table;
    text-align: center;
    width: 250px;
    margin-left: auto;
    clear: right;
    margin-right: auto;
}

.sidebar-articles img {
padding-bottom: 19px;
}


/* Ad formatting */

.square-ad-mobile-sales {display:none;}

.square-ad-top {
    padding-bottom: 10px;
}

.ad-middle {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    display: block;
    max-width: 600px;
}

@media screen and (max-width:800px) and (min-width:641px) {
    .sidebar-ad-block {
        width: 550px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        clear: both;
    }
    .square-ad-top, .square-ad-bottom {
        float: left;
        padding: 1%;
    }
    
}

@media screen and (max-width:640px) and (min-width:1px) {
    .square-ad-mobile-sales {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 250px;
        margin-bottom: 20px;
        margin-top: -30px;
    }
    
    .square-ad-top {display:none;}
    
    .header-v5 .header-social {
        display: none;
    }
    
    #wrapper #header .logo {
    margin-bottom: 0px !important;
    }
    
    div#af-form-1079196568 {display: none;}
    
}

/* Css to Hide multiple SHARETHIS blocks */
.no-break {
	display: none;
}

/* .no-break:nth-of-type(1) {
	display: block;
}*/
.post-content > .no-break:first-child {
    display:block;
}
.no-break-bot{
	display: none;
}
.post-content > .no-break-bot:first-child {
    display:block;
}
/* Css to Hide multiple SHARETHIS blocks */
.post-content p, .post-content ul, .post-content ol, .product-content p,.comment-text,#comment-status,.star-ratings-container,.comment-author, #reply-title,.likebtn-label, #comment,.home-featured-content{
	color:black !important;
}


@media all and (min-width: 641px) and  (max-width: 1024px) {
    .square-ad-mobile-sales {
        display : block;
        margin-left: 35%;
        padding-bottom: 50px;
    }
	
	.header-v5 .header-social .avada-row .alignleft {
		text-align: left;
	}
	
	.logo {
		height: 86px;
		width: 100%;
		background: url("/wp-content/uploads/sites/5/2014/12/vaccine_impact_banner3.png") no-repeat;
		background-size: contain;
		background-position-x: center;
	}
	
	.logo img {
		visibility: hidden;
	}
	
}

@media screen and (max-width: 640px) {
	.avada-row .alignleft {
		display: none;
	}
}


/********* START GOOGLE CUSTOM SEARCH ENGINE related CSS overrides ***********/
#nav .gsc-input .gsc-input-box a.gsst_a , #sticky-nav .gsc-input-box a.gsst_a {
	line-height: 16px;
	height: auto;
}

#nav .gsc-search-button-v2, .gsc-search-box  .gsc-search-button-v2{
	height: 29px;
	width: auto;
}

.gsc-input .gsc-input-box {
 	height: 29px;
}

.gsc-option-menu-container  .gsc-selected-option-container {
	width: 100px !important;
}

.gsc-control-wrapper-cse form.gsc-search-box {
	width: 50%;
}

.gsc-input .gsst_a {
	margin-top: 5px;
}

/* NEW GOOGLE SEARCH CSS */
.ssgs-search-box {
  padding-bottom: 0em;
  border-bottom: none;
  margin-bottom: 2em;
}

.ssgs-result-list {
	padding-left: 0em;
	padding-top: 0em;
	margin-top: 0em;
}

.ssgs-numbers {
	width: auto;
	padding-left: 0px;
	margin: 0em;
}

.ssgs-numbers > li {
  width: 2em;
}

.ssgs-prev, .ssgs-next {
  width: 2em;
  text-align: center;
}

.ssgs-result-facet .ssgs-facet-filter {
margin: 0em;
}
/********* END GOOGLE CUSTOM SEARCH ENGINE related CSS overrides ***********/

.fb-like.fb_iframe_widget > span{
	height: 63px !important;
}

/********** AWS search CSS *********/
#acs_search_results_container .acs-image{
    /* width: 100px;*/
    float: left;
    vertical-align: top;
    /* margin: 0px 20px 20px 0px;*/
	/* min-height: 120px;*/
}
#acs_search_results_container .entry-header{
    display: table;
}
#acs_search_results_container h2.entry-title{
    margin-bottom: 10px;
}
#acs_search_results_container .entry-summary{
    /* display: table;
	margin-left: 14.5%;*/
}
#acs_search_results_container article{
	clear:both;
}
#acs_search_results_container .entry-permalink{
    /* margin-left: 14.5%;*/
    margin-top: 5px;
}
#acs_search_results_container .entry-permalink a{
	    font-weight: normal;
		color: #54a2e5;
}

.acs_search_results_filters .acs_filters_label{
    font-size: 15px;
    font-style: normal; 
	color: #333;
}
.site-content .acs_search_results_filters{
   margin: 10px 0 40px 0;
   float: right;
    width: 100%;
}
.acs_search_results_filters .acs_filter_type{
    display:none;
}
.acs_search_header h1{
    color: #333;
	line-height: 1;
	font-weight: normal;
}
#acs_filter_sort_field.acs_filters_smn,
#acs_filter_sort_order.acs_filters_smn{
    color: #333 !important;
    padding: 3px 0px 3px 5px !important;
	margin-bottom: 5px;
	min-width: 160px;
}
.acs_search_results_filters .acs_filters_box.acs_filter_sort{
	margin: 0;
	text-align: right;
	float: right;
	width:100%;
}
.acs_filters_box  .acs_page_subtitle{
	float: left;
    font-size: 15px;
    font-style: normal;
    color: #333;
    line-height: 1.7;
}
/********** AWS search CSS *********/

#stwrapper.stwrapper.stwrapper5x{
    height: 530px !important;
}
#stwrapper.stwrapper{
    top: 50px !important;
}
.email-close{
    /*background-image: url(http://healthimpactnews.com/wp-content/plugins/popupally-new/resource/frontend/img/fancy_close.png);*/
    background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAFtElEQVRIx51Xa0yTVxiGllLLxXJb0QJCsVycDeMyJhEhJCaCJYzBQohMFMQQZ2QmS4QlJkxwBuWiGAIEMwf7t5AMgtsff+gCGyMImZqNhBAJkMhi5iVRKC296J63eb/m60cr4pc8ab9z3vd9znlv53w+Pm9/fAEZIS8vzy8jI0Oxd+9ef71er2xrawvs7u4OoncCzZGMIM+6W35ISQ4ogG1JSUnBp06d0ly7di2upaVFX1dXt/vq1asf9/X17cvMzIyprq6OuXDhQjR+P8ATRDqsK9/KAkiQVq4kI4cOHdJcv37dcPfuXePTp0+vWK3WiTeSx2az3X/x4sWNO3fuFJWWlsZGR0eH8QKUbGtTchkLquLi4kLKysp23bx588DKysrPUrInT544FhcXHdLxly9f/gQP6dLS0rShoaFqssU2ZZvtNIBWfPToUf3IyMinDodjkQxip6/hWis8sAaZFTHgblNHR4fVbDa/ZtkH2P0RxH2XWq0OJZvedi6QqrZv3x6Wn5+vHxwcLIGNdTJ0+/Zte2xs7KqUUIrk5GTT9PS0Xdg99L7AWByTqzyRyzke6pSUFF1ra2uB3W5fIuX+/n6rXC5f2YxUAMleunRpXSDv7e0t0Wq1MWSbOVwJ58sZGBQREaE9ffr0ASTKr8JOt0IqRk9Pj5VsID/+xPuHwA7iYC6ZkFDbyMW5ubl7BgYGqknBZDI5EGs396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f5lM1shzJ1g2h3Vj2FbAZtdcmWjnao7Lbl45GTsMfA5UAJWMCh47zDKprLODbWx6vZV+RSi5zELZSCyQyDtJ5ZMmnf8beC6WZUNZV/k+XxO+Ig8o2IiK3RYoQQDPKVnWT/T99F7fUJ4Wsxne6fkftA8qZnEtbWkAAAAASUVORK5CYII=');
    background-size: cover;
    display: block;
    position: absolute;
    top: -11px;
    right: -12px;
    width: 30px;
    height: 30px;
    color: white;
    cursor: pointer;
    z-index: 9999999;
}
.st-send:disabled{
    background: #666666;
} 