/* Style for search in menu*/
#header #access div {
	width: 97%;
}
#header #access div#search-item-wrapper {
	position: relative;
	width: auto;
}
#header #access div#search-item-wrapper div{
	position: absolute;
    right: 0;
    width: auto;
}
#header #access div#search-item-wrapper form {
	margin: 0px;
	padding: 10px 0 0;
	float: none;
}
#header #access div#search-item-wrapper input#s {
	background-color: transparent;
	background-image: url(../images/search.png);
	background-position: right center;
	background-repeat: no-repeat;

    box-shadow: none;
    text-indent: 16px;
    width: 0px;
    padding-bottom: 2;
    padding-top: 2;
    z-index: 9999;
}

/* Right sidebar widgets */
#sidebar .widget {
    margin: 1.24% 4.87%;
}
#sidebar .widget:first-child {
    margin-top: 0;
}

/***********************************/

/*Style for youtube social buttons*/

/* Article social share buttons */
.article-soc-but-icons {list-style: none; padding: 10px 0 0 0; font-size: 9px; margin-bottom:20px;}
.article-soc-but-icons:after {content: ''; display: block; clear: both; visibility: hidden; height: 0; line-height: 0; font-size: 0;}
.article-soc-but-icons li {float: left; line-height:10px; overflow: hidden;}
.article-soc-but-icons li a {display:block; padding:10px 10px;}

.youtube-iframe-block {
    position: relative;
}

.youtube-social-buttons {
    background: #fff;
    border-radius: 10px;
    display: block;
    left: 46%;
    margin: -15% 0 0 -30%;
    padding: 20px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 60%;
    font-size: 16px;
    line-height: 26px;
    z-index: 1;
}


.d-close {
	position: absolute; 
	width: 22px; 
	height: 22px; 
	padding: 10px; 
	background: url(../images/close.png) no-repeat 10px; 
	right: 18px; 
	top: 21px; 
	cursor: pointer;
}


.youtube-social-buttons .d-close {
    top: 8px;
    right: 12px;
}

.youtube-social-buttons ul {
    margin: 0;
    padding: 0;
}

.youtube-social-buttons ul li:before {
    background: none;
}

.youtube-social-buttons li {
    margin: 10px 0;
    padding: 0;
    width: 100%;
}

.youtube-social-buttons li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    width: auto;
}

.entry-content .youtube-social-buttons li img
{
	background: none;
    border: 0 none;
    box-shadow: none;
    max-width: none;
    padding: 0;
}

.youtube-social-buttons li img {
    margin-top: -2px;
    vertical-align: middle;
}

.youtube-social-buttons .youtube-social-fb {
    background: #3c5899;
}

.youtube-social-buttons .youtube-social-vk {
    background: #4a76a4;
}

.youtube-social-buttons .youtube-social-gplus {
    background: #cc3b29;
}

/***********************************/
/*****Style for subsribe popup form*/
.dialog {
    background: none repeat scroll 0 0 #fff;
    border-radius: 15px;
    display: none;
    left: 50%;
    padding: 30px 50px 0;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    z-index: 500;
    max-width: 800px;
}

.dialog-bg {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 450;
}

.d-title {
    font-size: 26px;
    font-weight: normal;
    line-height: 1;
    padding: 0 0 30px;
    text-align: center;
}
.d-social-widjets {
    overflow: hidden;
    padding: 0 3px 38px 0;
}
.getresponce {
    float: left;
    width: 50%;
    max-width: 370px;
}
.fb-like-form iframe{
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #3b5998 #aaa #aaa;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    overflow:hidden;
    height:240.5px;
}

.fb-like-form {
    float: right;
    width: 50%;
    text-align: center;
}
.btn-6d {
    border: 2px dashed #226fbe;
}
.btn-6d:hover {
    background: transparent;
    color: #226fbe;
}
/*getresponse form*/
.dialog #WFItem4714101 {
    width: 100% !important;
}

.dialog #WFItem4714101 .wf-body{
    background-color: #fff !important;
}
.dialog #WFItem4714101 .wf-label{
    padding-bottom: 10px !important;
}
.dialog .wf-inputpos input{
    max-width: 370px;
}

/**share button on bottom posts*/
.custom_share_wrap{
    display: inline-block;
}
.custom_share_wrap.allign-right {
    width: 100%;
}
.custom_share_wrap.allign-right ul li {
    float: right !important;
}
.custom_share_wrap ul{
    list-style: outside none none;
    margin: 0 !important;
    overflow: hidden;
    padding: 10px 0 !important;
}
.custom_share_wrap ul li{
    cursor: pointer;
    float: left !important;
    margin: 0 !important;
    padding: 5px !important;
    width: auto;
    height: 22px;
}

.custom_share_wrap .fb_iframe_widget{
    height: 22px;
    overflow: hidden;
}
.custom_share_wrap .fb_iframe_widget span{
    vertical-align: baseline !important;
}

.custom_share_wrap .twitter-share-button { /*width: 85px !important;*/ }

/*share and subscribe button in top posts*/
#header_soc_buttons{
    margin: 0;
    padding: 0;
    overflow: auto;
}
#header_soc_buttons span:before{
    background: none;
}
#header_soc_buttons span {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
    width: 48%;
}
#header_soc_buttons span a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    width: auto;
    display: block;
    padding: 10px;
    text-align: center;
    min-height: 38px;
}
#header_soc_buttons span img
{
    background: none;
    border: 0 none;
    box-shadow: none;
    max-width: none;
    padding: 0;
    vertical-align: middle;
}
#header_soc_buttons span .empty-img {
    display: inline-block;
    height: 38px;
    margin: 0 0 0 -38px;
    vertical-align: middle;
    width: 38px;
}
.show_subscribe_form_header{
    background: #137fa3;
    float:left;
    margin-left: 0px;
    margin-right: 2%;
}
.share_fb_button_before{
    background: #3c5899;
    float:right;
    margin-right: 0px;
    margin-left: 2%;
}

@media screen and (max-width: 1152px) {
    .fb-like-form{width: 60%;} 
    .getresponce{width: 40%;}
}
@media screen and (max-width : 960px) {
    .fb-like-form, .getresponce{float:none; width: 100%;}
    .dialog{width: auto; overflow: auto; height: 80%;}
}
@media screen and (max-width: 760px) {
    #header #access div {
        width: auto;
    }
    #header #access div#search-item-wrapper {
        display: none;
    }
    
    #subscribe_form, .dialog-bg, #subscribe_form_wrap, #header_soc_buttons {display: none;}

    .entry-content .googlepublisherpluginad {overflow: hidden;}
}

/*Comments buttons*/
.fb_comments_button{
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    text-shadow:0 -1px 0 #354c8c;
    white-space:nowrap;
    height: 20px;
    display: inline-block;
    /* For WebKit (Safari, Google Chrome etc) */
    background: -webkit-gradient(linear, left top, left bottom, from(#4c69ba), to(#3b55a0));
    /* For Mozilla/Gecko (Firefox etc) */
    background: -moz-linear-gradient(top, #4c69ba, #3b55a0);
    /* For Internet Explorer 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c69ba, endColorstr=#3b55a0);
    /* For Internet Explorer 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c69ba, endColorstr=#3b55a0)"
    background-repeat: no-repeat;
    border: medium none;
    border-radius:2px;
    line-height:20px;
    color: #fff !important;
    vertical-align:top;
    font-size: 10px;
}

.fb_comments_button:hover {
    background: linear-gradient(#5b7bd5, #4864b1) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-color: #5874c3 #4961a8 #41599f;
    box-shadow: 0 0 1px #607fd6 inset;
    color: #fff !important;
    vertical-align:top;
}

.fb_comments_button a{
    line-height: 20px;
    font-weight:bold;
    margin-left:3px;
    margin-right:3px;
    padding: 0 5px;
    color:#fff !important;
    outline: none;
}
.fb_comments_button img{
    background: none repeat scroll 0% 0% transparent ! important; 
    border: 0px none ! important; 
    box-shadow: none ! important;
    margin-top: 3px;
    padding: 0 !important;
    width: 13px;
}
.fb_comments_button span{
    vertical-align: top;
}

.fb_comments_button_wrap {
    /*padding-top: 2px;*/
}
.fb_comments_button_wrap div.pluginCountButton{
    display: inline-block;
    height: 20px;
}

.fb_comments_button_wrap div.comments-count {
    vertical-align: top;
    background: none repeat scroll 0 0 white;
    border: 1px solid #9197a3;
    border-radius: 2px;
    color: #4e5665;
    display: inline-block;
    font-size: 11px;
    line-height: 18px;
    min-width: 15px;
    padding: 0 3px;
    text-align: center;
    white-space: nowrap;
    height: 18px;
    /*right: 6px;
    position: relative;*/
}
.fb_comments_button_wrap div.pluginCountButtonNub {
    position: relative;
    width: 6px;
    z-index: 2;
    display: inline-block;
}
.pluginCountButtonNub s, .pluginCountButtonNub i {
    border-color: transparent #9197a3;
    border-style: solid;
    border-width: 4px 5px 4px 0;
    display: block;
    position: relative;
    top: 1px;
}
.pluginCountButtonNub i {
    border-right-color: #fff;
    left: 2px;
    top: -7px;
}
/*fb comment form*/

/*Style for header logo width 280px*/
#header #site-title a img{
    width: 280px;
}

@media screen and (max-width: 1152px) {
    #sidebar-header{
        width:570px !important;
        height: auto !important;
        max-height: 100px;
    }
}

@media screen and (max-width : 960px) {
    #sidebar-header{
        width:395px !important;
    }

    #sidebar div.onecol{
        width: 50%;
    }
}

@media screen and (max-width: 760px) {
    #sidebar-header{
        width:auto !important;
        margin: 0 !important;
    }
}

.soc_but_side_wrap div.fb-like.fb_iframe_widget {
    height: auto !important;
    display: block !important;
}

.soc_but_side_wrap .soc_wrap_fb {
    margin-bottom: 8px;
}

.soc_but_side_wrap {
    left: -100%;
    position: fixed;
    text-align: center;
    top: 35%;
}