/*
Theme Name: GreenChilli
Author: MyThemeShop
Author URI
Description: GreenChilli is a free premium responsive WordPress theem by MyThemeShop
Version: 1.0

*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    -webkit-appearance: none;
}

html {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button,
input,
select,
textarea {
    margin: 0
}

:focus {
    outline: 0;
}

img,
video,
object,
embed {
    height: auto
}

iframe {
    max-width: 100%
}

blockquote {
    font-style: italic;
    font-weight: normal;
    font-family: Georgia, Serif;
    font-size: 15px;
    color: #555444;
    text-shadow: 0 1px 0 #fff, 0px 0px 0 #000;
    padding: 0 10px 0px 27px;
    position: relative;
    margin-top: 25px;
    border-left: 5px solid #852a2a;
    background: #DBDBDB;
}

blockquote:after {
    position: absolute;
    content: '"';
    font-size: 40px;
    color: #737679;
    width: 50px;
    top: 2px;
    left: 2px;
    font-family: arial;
}

blockquote p {
    margin-bottom: 10px
}

strong,
b {
    font-weight: bold
}

em,
i,
cite {
    font-style: italic;
    font-family: georgia;
}

small {
    font-size: 100%
}

figure {
    margin: 10px 0
}

code,
pre {
    font-family: monospace, consolas, sans-serif;
    font-weight: normal;
    font-style: normal;
}

pre {
    margin: 5px 0 20px 0;
    line-height: 1.3em;
    padding: 8px 10px;
    overflow: auto;
}

code {
    padding: 0 8px;
    line-height: 1.5;
}

mark {
    padding: 1px 6px;
    margin: 0 2px;
    color: black;
    background: #FFD700;
}

address {
    margin: 10px 0
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.sticky {
}

.gallery-caption {
}
.d-close {
	display:none;
}

.bypostauthor {
}

.wp-caption-text {
}

/*-[ Framework ]--------------------*/
body {
    line-height: 1;
    font: 14px/22px Arial, Helvetica, sans-serif;
    color: #686868;
    background-color: #EBEBEB;
    background: url('/wp-content/uploads/2017/02/FON-min.jpg') no-repeat center top;
    background-attachment: fixed;
}

::-moz-selection {
    background: #222;
    color: white;
    text-shadow: none;
}

::selection {
    background: #222;
    color: white;
    text-shadow: none;
}

#page,
.container {
    position: relative;
    margin-right: auto;
    margin-left: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    margin-bottom: 12px;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    color: #222;
}

h1 {
    font-size: 28px;
    line-height: 44px;
}

h2 {
    font-size: 24px;
    line-height: 40px;
}

h3 {
    font-size: 22px;
    line-height: 38px;
}

h4 {
    font-size: 20px;
    line-height: 24px;
}

h5 {
    font-size: 18px;
    line-height: 34px;
}

h6 {
    font-size: 16px;
    line-height: 24px;
}

.sub-title {
    font-size: 12px
}

p {
    margin-bottom: 20px
}

.post-single-content p {
    margin-bottom: 12px;
}

a {
    text-decoration: none;
    -webkit-transition: background-color, color 0.2s linear;
    -moz-transition: background-color, color 0.2s linear;
    transition: background-color, color 0.2s linear;
}

/*-[ Main container ]---------------*/
.main-container {
    width: 960px;
    margin: 0 auto;
    max-width: 100%;
}

#page,
.container {
    background: url(images/bg-fon.png) #efefef;
    max-width: 960px;
    min-width: 240px;
    overflow: visible;
}

.main-header .container {
    background: #F9F9F9;
    border-left: 1px solid #7D7D7D;
    border-right: 1px solid #7D7D7D;
}

#page {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;/*    width: 100%;  */
    padding-top: 25px;
    min-height: 100px;
    float: left;
    clear: both;
    border-top: 0;/*    overflow: hidden; */

    /* todo fix adsense */
}

/*-[ Header ]-----------------------*/
body > header {
    float: left;
    width: 100%;
    position: relative;
}

.main-header {
    position: relative;
    float: left;
    width: 100%;
    z-index: 99;
}

#header {
    position: relative;
    width: 100%;
    max-width: 960px;/*    height: 228px; */
    margin: 0 auto;
    background: ulr() #F9F9F9;
    padding: 0 0 0 0%;
    overflow: hidden;
}

#header h1,
#header h2 {
    font-size: 38px;
    display: block;
    float: left;
    display: inline-block;
    line-height: 50px;
    margin: 0;
}

#logo a {
    color: #2DB2EB;
    text-transform: uppercase;
}

#logo a:hover {
    color: #2DB2EB;
    text-transform: uppercase;
}

#header #searchform {
    display: inline-block;
    transition: 1.7s;
    max-width: 240px;
    float: right;
    clear: none;
    margin-top: -214px;
    margin-right: 445px;
}

#header #searchform fieldset {
    width: 100%;
}

#header #searchform label {
    display: none
}

#searchform #s {
    background: url(images/search2.png) 7px 7px no-repeat #efefef;
    text-indent: 20%;
    font-size: 14px;
    max-width: 270px;
}

#header #searchform #s {
    border: 1px solid #852A2A;
    width: 73.6%;
}

input:focus {
    color: #852A2A;
    width: 320px !important;
    transition: 1.7s;
}

#searchform input {
    padding: 10px 3% 10px 0;
}

.widget-header {
    float: right;
    max-width: 76%;
    margin-bottom: 12px;
}

/*-[ Navigation ]-----------------*/
.main-navigation {
    display: block;
    float: left;
    width: 100%;
    margin-top: -1px;
}

.main-navigation #navigation ul ul {
    border-bottom: 1px solid #eee
}

.main-navigation #navigation ul ul::after {
    border-color: transparent transparent rgba(238, 238, 238, 0.92)
}

.main-navigation #navigation {
    border: 1px solid #EEE;
    width: 958px;
    max-width: 100%;
    border-top: 0;
}

.main-navigation #navigation ul li li {
    background: #fff;
    border: 1px solid #eee;
    border-bottom: 0;
}

.main-navigation #navigation ul li li a {
    color: #5a5a5a;
    text-shadow: 0 0;
}

.main-navigation li a {
    font-size: 14px;
    line-height: 1.2em;
    padding: 13px;
    color: #5a5a5a;
    text-decoration: none;
    text-transform: uppercase;
    border-right: 1px solid #eee;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
}

.main-navigation li ul li a {
    margin-left: 0
}

.main-navigation .children {
    width: 100%
}

.main-navigation .children li .sf-sub-indicator,
.secondary-navigation .children li .sf-sub-indicator {
    display: none
}

.secondary-navigation {
    display: block;
    margin: 0 auto;
    max-width: 960px;
    width: 100%;
}

.secondary-navigation ul li {
}

.secondary-navigation  a {
    font-size: 13px;
    color: #666;
    text-align: left;
    text-decoration: none;
    margin: 0 12px 0 11px;
    display: block;
    width: 100%;
    padding: 10px 0px 9px 0px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.secondary-navigation a:hover {
    color: #fff !important
}

.secondary-navigation a .sub {
    font-size: 11px;
    font-weight: normal;
    font-family: arial;
    color: #9B9B9B;
}

.sf-js-enabled li a.sf-with-ul {
    padding-right: 10px
}

.sf-js-enabled li  ul.sf-with-ul {
    padding-right: 20px
}

#navigation .sf-sub-indicator {
    display: block;
    width: 11px;
    overflow: hidden;
    position: absolute;
    right: -13px;
    top: 10px;
}

#navigation {
    background: url(images/fon-text.png);
    margin: 0px auto 0px auto;
    font-size: 13px;
    float: left;
    width: 959px;
    z-index: 100;
    border: 1px solid #852A2A;
    box-shadow: 0px 3px 5px #989898;
    -moz-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    -webkit-transition: all 0.7s ease-out;
}

.Fix-menu {
    box-shadow: 0px 3px 9px #852A2B !important;
    position: fixed;
    top: 0;
    z-index: 100;
    border-top: 0;
    margin-top: 0;
    -moz-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    -webkit-transition: all 0.7s ease-out;
}

#navigation select {
    display: none
}

#navigation ul {
    width: 960px;
    margin: 0 auto;
}

#navigation .menu-new {
    width: auto;
}

#navigation .menu-new a {
    font-weight: bold;
    color: #333;
}

#navigation .menu {
}

#navigation ul li {
    clear: none;
    float: left;
    position: relative;
}

#navigation ul .header-search {
    float: right
}

#navigation > ul > li:last-child {
    border-right: none
}

#navigation ul li a,
#navigation ul li a:link,
#navigation ul li a:visited {
    overflow: hidden;
    display: block;
}

#navigation > ul > .current a {
    background: transparent;
    color: #5a5a5a !important;
}

#navigation ul li li {
    background: #222222;
    border: 1px solid #ccc;
    border-bottom: 0;
}

#navigation ul ul {
    position: absolute;
    width: 190px;
    padding-top: 0;
    z-index: 400;
    font-size: 12px;
    color: #798189;
    border-bottom: 1px solid #eee;
    left: 15px !important;
}

#navigation ul ul li {
    padding: 0
}

#navigation ul ul a,
#navigation ul ul a:link,
#navigation ul ul a:visited {
    text-align: left;
    padding: 9px 20px;
    position: relative;
    width: 150px;
    border-left: 0;
    background: transparent;
    border-right: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border-bottom: 1px solid   rgba(255, 255, 255, 0.05);
    margin: 0;
}

#navigation ul ul a:hover {
    color: #fff
}

#navigation ul ul li:first-child a {
}

#navigation ul ul li:last-child a {
    border-bottom: none
}

#navigation ul ul {
    opacity: 0;
    left: -999em;
}

#navigation ul li:hover ul {
    left: auto;
    opacity: 1;
}

#navigation ul ul ul {
    top: -10px
}

#navigation li:hover ul ul,
#navigation li:hover ul ul ul,
#navigation li:hover ul ul ul ul {
    left: -999em;
    opacity: 0;
}

#navigation li:hover ul,
#navigation li li:hover ul,
#navigation li li li:hover ul,
#navigation li li li li:hover ul {
    opacity: 1;
    left: 195px;
}

#page-header:after,
#navigation ul ul:after {
    border-color: transparent transparent #D8D8D8;
    border-color: transparent transparent rgba(218, 218, 218, 0.92);
    border-style: solid;
    border-width: 0px;
    content: "";
    display: block;
    height: 0;
    position: absolute;
    width: 0;
}

#navigation ul ul:after {
    left: 10px;
    top: -5px;
}

#navigation ul ul ul:after {
    border-color: transparent #282E33 transparent transparent;
    border-color: transparent rgba(14, 19, 22, 0.92) transparent transparent;
    left: -12px;
    top: 3px;
}

/*-[ Content ]--------------------*/
.article {
    width: 63%;
    padding-left: 20px;
    float: left;
    margin-bottom: 10px;
}
/*-[ Category Vova ]--------------------*/
.article-cat {
    width: 96%;
    margin: 0 auto;
    margin-bottom: 10px;
}

.post-cat {
    float: left;
    margin-bottom: 15px;
    margin-left: 9px;
    overflow: hidden;
    background-color: #eee;
    padding: 5px;
    width: 31%;
    height: 300px;
}

.post-cat:hover {
   background-color: #e1e1e1;
}
.featured-thumbnail-cat {
    overflow: hidden;
    max-height: 165px;
}
.featured-thumbnail-cat img {
   float: none!important;
   width:100%!important;
}
.title-cat {
    margin: 5px 0;
    font-size: 18px;
    line-height: 20px;
    clear: both;
}
.title-cat a {
    color: #000;
}
.cat-post-date {
    background: rgba(0, 0, 0, 0.55);
    position: absolute;
    right: 5px;
    top: 5px;
    color: #fff;
    padding: 0 5px;
}
.cat-post-views .newswidget viewer {
   text-shadow:none;
   position:absolute;
   top:5px;
   left:10px;
}
.cat-post-shared {
    position: absolute;
    left: 10px;
    top: 145px;
    color: #fff;
}

.single #content_box {
    background: #f8f8f8;
    float: left;
    width: 100%;
    overflow-x: hidden;
}

.post {
    float: left;
    width: 100%;
    overflow-x: hidden;
}

.single_post_ad_block {
    width: 635px;
    overflow: hidden;
    display: block;
    min-height: 10px;/*    overflow: overlay; */
}

.single_post_ad_news_block {
    float: right;/*    margin-right: -35px; */
    margin-right: -50px;
}

.post-sourse {
    opacity: 0.65;
}

@media screen and (max-width:720px) {
    .single_post_ad_block.ad1 {
        display: none;
        width: 100%;
        overflow: hidden;  /*      overflow: overlay;  */
    }

    .single_post_ad_block.ad2 {
        width: 100%;
    }

    .single_post_ad_news_block {
        float: left;
        width: 100%;
        margin: auto;
    }

}

.single_post {
    padding: 3%;
    padding-bottom: 0px;
    float: left;
    width: 94%;
    overflow-x: hidden;
}

.single_page {
    padding: 22px;
    padding-top: 0;
}

.post-content {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 22px;
    padding-top: 5px;
    padding-bottom: 15px;
    margin-bottom: 0;
    color: #555444;
    text-shadow: 0 1px 0 #fff, 0px 0px 0 #000;
}

.post-single-content {
    font-size: 16px;
    line-height: 22px;
    padding: 0 3%;
}

.header-links {
    display: inline-block;
    max-width: 250px;
    float: right;
    margin-right: 193px;
    clear: none;
    margin-top: -206px;
}

.header-links a {
    background: #efefef;
    border: 1px solid #852A2A;
    color: #852A2A;
    padding: 10px;
    text-shadow: 0 1px 0 #fff, 0px 0px 0 #000;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.header-links a:hover {
    border-color: #000;
    background: #fff;
    color: #7B7A79;
    border-radius: 8px;
    text-shadow: 0 1px 0 #fff, 0px 0px 0 #000;
    -webkit-box-shadow: 0px 0px 33px -5px #000000 inset;
    -moz-box-shadow: 0px 0px 33px -5px #000000 inset;
    box-shadow: 0px 0px 33px -5px #000000 inset;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.ss-full-width {

    /*    background: white; */
    padding: 20px;
    margin-bottom: 30px;/*    overflow: hidden; */
    padding-top: 0;
}

.ss-full-width #content_box {
    padding-right: 0;
    padding-left: 0;
}

.post.excerpt {
    clear: both;
    margin-bottom: 20px;
    overflow: hidden;
    padding-bottom: 10px;
    background-color: #eee;
    background: url(images/fon-text.png);
    padding: 3%;
    width: 94%;
    border: 1px solid #a0a0a0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.post.excerpt:hover {
    box-shadow: 1px 1px 5px #777, -1px -1px 5px #777;
    transition: 0.2s;
}

.homepageimg {
    max-width: 175px;
    max-height: 205px;
}

.forblogs {
    display: inline-block;
    width: 560px;
}

.forblogs img {
    -webkit-box-shadow: 0px 0px 15px 3px rgba(87, 22, 22, 1);
    -moz-box-shadow: 0px 0px 15px 3px rgba(87, 22, 22, 1);
    box-shadow: 0px 0px 15px 3px rgba(87, 22, 22, 1);
}

.forblogs img:hover {
    -webkit-box-shadow: 0px 0px 15px 5px rgba(87, 22, 22, 1);
    -moz-box-shadow: 0px 0px 15px 5px rgba(87, 22, 22, 1);
    box-shadow: 0px 0px 15px 5px rgba(87, 22, 22, 1);
}

.linkBloger {
    background-color: rgba(255, 255, 255, .9);
    display: inline-block;
    font-size: 18px;
    vertical-align: 150px;
    width: 385px;
    float: right;
    border: 1px solid #000;
    text-align: center;
    padding: 3px;
}

.nameBloger {
    text-shadow: 0 -1px 0 #000, 0px 0px 0 #000;
    display: inline-block;
    position: absolute;
    width: 140px;
    height: 45px;    /* Фон */
    background-color: rgba(0, 0, 0, .4);
    padding: 5px 10px;
    margin-top: 100px; /* Оформление текста */
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.featured-thumbnail {
}

.home_post_container {
}

.wp-post-image {
    float: left;
    width: 175px;
}

.date_con_handler .featured-thumbnail {
    border: 0.4em solid #ccc;
    overflow: hidden;
    max-width: 175px;
    max-height: 205px;
}

/*
.date_con_handler .featured-thumbnail img {
-moz-transition: all 1s ease-out;
-o-transition: all 1s ease-out;
-webkit-transition: all 1s ease-out;
}

.date_con_handler .featured-thumbnail:hover img {
 -moz-transition: all 1s ease-out;
-o-transition: all 1s ease-out;
-webkit-transition: all 1s ease-out;
 -webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-o-transform: scale(1.1);
}
*/
@media screen and (max-width:720px) {
    .date_con_handler .featured-thumbnail {
        border: 0.4em solid #ccc;
        overflow: hidden;
        max-width: 350px;
        max-height: 410px;
    }

    .wp-post-image {
        width: 100%;
    }

    .widget {
        display: inline-block;
        width: 100%;
    }

    .sidebar.c-4-12 {
        max-width: 90% !important;
    }

    .title {
        font-size: 20px;
    }

}

.home_post_container {
    overflow: hidden
}

.title {
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 23px;
    line-height: 26px;
    clear: both;
}

.single-title {
    float: left;
    padding: 0 0 0 0;       /* width: 100%; */

    /*   margin-right: 50px; */
}

.title.single-title {
    width: 100%;
}

.title a {
    color: #000
}

.page h1.title {
    margin-bottom: 0
}

.post-info {
    border-top: 1px dashed #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0.5em 0;
    display: block;
    font-size: 13px;
    color: #888888;
}

.single-postmeta {
    clear: both;
    float: left;
    margin-bottom: 10px;
}

.home article header,
.archive article header {
/* временно убрать */
/*    margin-bottom: 10px; */
    float: left;
    margin-right: 3%;
    min-height: 160px;
}

article header {

    /*margin-bottom: 25px;
    overflow: hidden;*/
/* временно убрать */
/*    margin-bottom: 10px; */
    float: left;
    margin-right: 3%;
}

.post-info a {
    text-transform: capitalize
}

.single .post-info {
    border: 0;
    float: left;
    padding-top: 0;
    width: 100%;
}

.date_con_handler {
    position: relative;   /* overflow: visible !important;*/
}

.date_container {
    position: absolute;
    top: 1em;
    width: 61px;
    height: 61px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 17px;
    line-height: 29px;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    margin-left: -79px;
}

/*.single article header { margin-bottom: 10px } */
.article img.left,
.article img.alignleft,
.wp-caption.alignleft {
    margin: 0.3em 1.571em 0.5em 0;
    display: block;
    float: left;
}

.article img.right,
.article img.alignright,
.wp-caption.alignright {
    margin: 0.3em 0 0.5em 1.571em;
    display: block;
    float: right;
}

.article img.center,
.article img.aligncenter,
.wp-caption.aligncenter {
    margin: 0.3em auto 0.5em auto;
    display: block;
}

.article img.aligncenter,
.article img.alignnone {
    margin-top: 1em;
    margin-bottom: 1em;
    display: block;
}

.article img.alignnone {
    clear: both
}

.article ul {
    margin: 1.5em 0 1.571em 1.571em;
    list-style-type: circle;
}

.article ol {
    margin: 1.5em 0 1.571em 1.571em;
    list-style-type: decimal;
}

/*-[ Tweets Widget ]---------------------------*/
.tweets li {
    margin-bottom: 15px !important
}

.twitter-follow {
    background: url(images/small_twitter.png) no-repeat center left;
    padding: 5px 0 5px 20px;
    float: right;
}

/*-[ Form Input ]------------------*/
input,
textarea,
select {
    padding: 8px 12px;
    font-size: 12px;
    color: #5E656D;
}

textarea {
    overflow: auto;
    resize: vertical;
}

select {
    padding: 12px 20px
}

input:focus,
textarea:focus {
}

::-webkit-input-placeholder {
    color: #585F65;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

::-moz-input-placeholder {
    color: #585F65;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

::-ie-input-placeholder {
    color: #585F65;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

::-o-input-placeholder {
    color: #585F65;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

::input-placeholder {
    color: #585F65;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

/*-[ Tables ]--------------------*/
table {
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
    border: 2px solid #F1F4F6;
}

thead {
    background: #F7F8F9;
    font-size: 14px;
    color: #585F65;
}

table th,
table td {
    padding: 2px 5px;
    text-align: left;
}

thead th {
    padding: 14px
}

tbody th {
    font-weight: normal;
    border-bottom: 1px solid #F5F7F9;
}

/*-[ Line ]---------------------*/
hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 10px 0;
    width: 100%;
    clear: both;
    position: relative;
}

hr#h {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0px 0;
    width: 100%;
    padding: 0px 0;
}

/*-[ Search Form ]------------------*/
#searchform {
    float: left;
    clear: both;
    width: 100%;
}

nav #searchform {
    float: right
}

nav #searchform fieldset {
    padding: 5px 0 5px 15px;
    border: 0;
    border-left: 1px solid #eee;
}

#searchform fieldset {
    float: left
}

.sbutton {
    padding: 8px 12px 10px 12px;
    border: 1px solid #e8e5de !important;
}

.sidebar #searchform label {
    color: #444;
    padding-top: 10px;
    float: left;
    font-weight: bold;
}

.sidebar #s {
    width: 95.8%;
    background-color: #fff;
    border: 1px solid #CCC;
    float: left;
    padding: 12px 3% 12px 0;
    border: 1px solid #a0a0a0;
    box-shadow: 1px 1px 5px #989898;
}

.footer-widgets fieldset,
#sidebars fieldset {
    width: 100%;
}

.footer-widgets #s {
    width: 95.6%;
    border: 1px solid #CCC;
    background-color: #fff !important;
}

.footer-widgets label {
    display: none
}

.footer-widgets #searchform {
    padding-left: 0 !important
}

.footer-widgets .sbutton,
#sidebars .sbutton {
    float: right;
    background-color: #222222;
    text-align: center;
}

.sidebar .sbutton {
    padding-top: 10px
}

/*-[ Read More ]-------------------*/
.read-more {
    margin: 0 0 0 10px;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    line-height: 1.4em;
    background: none;
    padding: 0;
    font-size: 16px;
}

/*-[ Top Ad in Post ]-------------------------------------*/
.topad {
    margin-bottom: 10px;
    clear: both;
}

/*-[ Bottom Ad in post ]-----------*/
.bottomad {
    float: left;
    clear: both;
}

/*-[ Sidebar ]---------------------*/
#sidebars p {
    line-height: 20px
}

.sidebar.c-4-12 {
    float: right;
    width: 33.4%;
    max-width: 300px;
    padding-right: 16px;
    overflow: hidden;
}

.widget {
    margin-bottom: 20px;
    overflow: hidden;
}

.newswidget {
    color: #888888;
    font-size: 13px;
}

.newswidget span {
    background: #E2E2E2;
    width: 36px;
    zoom: 1;
    color: #000;
    font-size: 13px;
    border: #e5e5e5 1px solid;
}

.newswidget viewer {
    background: url(images/prosmotr.png) no-repeat left center;
    margin-left: 2px;
    padding-left: 15px;
    font-size: 11px;
    color: #777777;
    text-shadow: 0 1px 0 #fff, 0px 0px 0 #000;
}

#sidebars .widget {
    background: url(images/fon-text.png);
    border: 1px solid #a0a0a0;
    padding: 10px 10px;
}

#sidebars .widget:first-child {
    padding-top: 0
}

#sidebars .widget:nth-child(2),
#sidebars .widget:nth-child(5) {
    border: 1px dashed;
}

.widget .title {
    font-weight: bold;
    text-transform: uppercase;
    color: #545E68;
    font-size: 12px;
}

.widget li {
    display: block;
    overflow: hidden;
    list-style-type: none;
    padding-left: 18px;
    background: url(images/arrow.png) 0 5px no-repeat;
    margin-bottom: 5px;
}

.widget h3 {
    font-size: 16px;
    line-height: 18px;
    margin: 5px 0 10px 0;
    text-transform: uppercase;
}

.widget .post-date {
    color: #000;
}

/*-[ Footer ]-------------------*/
body > footer {
    overflow: hidden;
    width: 100%;
}

body > footer .footeText {
    width: 960px;
    margin: 22px auto;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

body > footer .footeText a {
    color: #fff;
    border-bottom: 2px solid #ee3f02;
}

body > footer .widget {
    padding: 10px 0 0 0
}

body > footer .sidebar .widget .title {
    font-size: 135%;
    color: #D4D8DB;
}

footer .widget {
    margin-bottom: 20px;
}

footer .widget li a {
    color: #666
}

footer .widget li a:hover {
    color: #222
}

footer {
    position: relative;
    overflow: hidden;
    display: block;
    clear: both;
}

footer .container {
    background-color: #eee;
    border: 1px solid #ccc;
}

footer p {
    color: #8D8D8D
}

.footer-widgets {
    overflow: hidden;
    width: 100%;
    padding-top: 1em;
    margin: 0;
}

.footer-widgets h3 {
    font-size: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    text-transform: uppercase;
}

.f-widget {
    width: 31%;
    float: left;
    position: relative;
    margin-bottom: 0;
    margin-right: 3%;
}

.copyrights {
    float: left;
    width: 100%;
    clear: both;
    border-top: 1px solid #ccc;
    padding: 20px 10px;
    color: #333;
}

.footer-w-container,
#copyright-note {
    width: 920px;
    margin: 0 auto;
    clear: both;
    max-width: 100%;
}

#copyright-note a {
}

#sidebars .wp-post-image,
footer .wp-post-image {
    margin-bottom: 0;
    margin-top: 5px;
    margin-right: 10px;
}

.postsby {
    background: #EAEAEA;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-bottom: 5px;
    font-size: 25px;
    color: #852a2a;
    text-shadow: 0px 1px 1px #fff;
}

.textwidget a:hover {
    color: #222 !important
}

/*-[ Related Posts ]---------------------------*/
.related-posts {
    clear: both;
    float: left;
    padding: 20px 3% 0;
    width: 94%;
}

.postauthor p {
    padding-top: 0px
}

.related-posts ul {
    margin-left: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    margin-top: 0;
}

.related-posts h5 {
    line-height: 20px;
    padding-left: 80px;
    color: #919191;
    text-transform: uppercase;
    font-size: 13px;
}

.related-posts h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin: 0;
    color: #222;
    margin-top: 10px;
}

.relatedthumb {
    text-overflow: ellipsis;
    height: 70px;
    display: block;
    overflow: hidden;
}

.relatedthumb img {
    width: 50px;
    height: 50px;
    margin-top: 3px;
    margin-bottom: 0;
}

.postauthor-top {
    border-top: 1px solid #E7E7E7;
    margin-bottom: 15px;
}

.related-posts li {
    width: 46%;
    float: left;
    list-style: none;
    margin-right: 4%;
    margin-bottom: 15px;
}

.related-posts a {
    color: #868686
}

.rthumb {
    float: left;
    margin-right: 10px;
}

.related-posts .last {
    margin-right: 0
}

.tags {
    margin: 15px 0 15px 0;
}

.tagsfornews {
    border: none;
    border-bottom: 1px dashed #a0a0a0;
    margin: 20px 0 0px 0;
    float: left;
    max-width: 360px;
    min-width: 135px;
}

.tagtext {
    margin-right: 5px;
}

.postauthor {
    margin: 0px 0 0px 0;
    padding: 0 3% 3% 3%;
    min-height: 125px;
    float: left;
    clear: both;
    width: 94%;
}

.postauthor h4 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    border-top: 1px solid #E7E7E7;
    padding-top: 20px;
    margin-top: 20px;
}

.postauthor h5 {
    text-transform: capitalize;
    font-size: 14px;
    padding: 0;
    margin: 0;
    line-height: 24px;
    font-family: Arial, sans-serif;
}

.postauthor img {
    float: left;
    margin: 5px 25px 15px 0;
}

.postauthor h4 a {
    color: #473636
}

.clear {
    clear: both
}

.left {
    float: left
}

.right {
    float: right
}

.last {
    margin-right: 0
}

/*-[ Tag widget ]------------------------------*/
.tagcloud a {
    font-size: 14px !important;
    padding: 2px 10px;
    border-top: 1px solid #CACACA !important;
    border-left: 3px solid #00A8FF;
    margin-bottom: 10px;
    float: left;
    margin-right: 7px;
    background: #F7F7F7;
    color: #615F5F;
    border-right: 1px solid #CACACA !important;
    border-bottom: 1px solid #CACACA !important;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.tagcloud a:hover {
    background: #fff
}

/*-[ Social Profile Widget ]--------------------------*/
.social-profile-icons {
    overflow: hidden
}

.social-profile-icons ul li {
    background: none;
    border: none;
    float: left;
    list-style-type: none;
    margin: 0 5px 10px;
    padding: 0;
    text-indent: -999em;
}

.social-profile-icons ul li a {
    display: block;
    width: 32px;
    height: 32px;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

.social-profile-icons ul li a:hover {
    opacity: 0.7
}

.social-dribbble a {
    background: url(images/social-dribbble.png) no-repeat
}

.social-email a {
    background: url(images/social-mail.png) no-repeat
}

.social-facebook a {
    background: url(images/social-facebook.png) no-repeat
}

.social-gplus a {
    background: url(images/social-googleplus.png) no-repeat
}

.social-linkedin a {
    background: url(images/social-linkedin.png) no-repeat
}

.social-pinterest a {
    background: url(images/social-pinterest.png) no-repeat
}

.social-rss a {
    background: url(images/social-rss.png) no-repeat
}

.social-stumbleupon a {
    background: url(images/social-stumbleupon.png) no-repeat
}

.social-twitter a {
    background: url(images/social-twitter.png) no-repeat
}

.social-youtube a {
    background: url(images/social-youtube.png) no-repeat
}

.social-vkontakte a {
    background: url(images/social-vkontakte.png) no-repeat
}

.social-flickr a {
    background: url(images/social-flickr.png) no-repeat
}

.social-lastfm a {
    background: url(images/social-lastfm.png) no-repeat
}

.social-tumblr a {
    background: url(images/social-tumblr.png) no-repeat
}

.social-vimeo a {
    background: url(images/social-vimeo.png) no-repeat
}

/*-[ Subscribe Widget ]------------------------*/
.mts-subscribe {
    max-width: 300px;
    float: left;
    width: 100%;
}

.mts-subscribe input[type="text"] {
    color: #888;
    border: 1px solid #CCC;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    transition: all 0.25s linear;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 70%;
    float: left;
    padding: 11px 3%;
    border-right: 0;
    text-indent: 5%;
}

.mts-subscribe input[type="submit"] {
    background: #2DB2EB;
    cursor: pointer;
    color: white !important;
    padding: 12px 0;
    border: 0;
    -webkit-transition: all 0.25s linear;
    -moz-transition: all 0.25s linear;
    transition: all 0.25s linear;
    float: left;
    text-align: center;
    width: 30%;
    height: 39px;
}

.mts-subscribe input[type="submit"]:hover {
    background: #222
}

/*-[ Ad Widgets ]------------------------------*/
.ad-125 ul {
    float: left;
    width: 100%;
    margin: 0;
    list-style: none;
    max-width: 100%;
}

.ad-125 li {
    float: left;
    border: none;
    list-style: none !important;
    padding-left: 0;
    background: none;
    margin-bottom: 15px;
}

.ad-300 img {
    background: #FAFAFA
}

.ad-125 .evenad {
    float: right !important
}

footer .ad-300 img,
footer .ad-125 img {
    padding: 0;
    background: #FAFAFA;
    border: 0;
}

/*-[ Calender Widget ]-------------------------*/
#wp-calendar {
    width: 300px
}

#wp-calendar td {
    text-align: center
}

#wp-calendar caption {
    font-size: 16px;
    padding-bottom: 10px;
    font-weight: bold;
}

#wp-calendar #prev {
    text-align: left;
    padding-left: 12px;
}

/*-[Comments]--------------*/
.post_meta_custom .readMore {
    display: block;
    right: 0;
    overflow: hidden;
    float: right;
}

.dsq-postid {
    padding: 8px;
}

.comment_cont span {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 7px 14px;
    border-radius: 4px;
    vertical-align: sub;
    padding-right: -100px;
    width: 100%;
}

.comment_cont span:hover {
    z-index: 1;
    border-color: #000;
    background: #fff;
    color: #7B7A79;
    text-shadow: 0 1px 0 #fff, 0px 0px 0 #000;
    -webkit-box-shadow: 0px 0px 33px -4px #000000 inset;
    -moz-box-shadow: 0px 0px 33px -4px #000000 inset;
    box-shadow: 0px 0px 33px -4px #000000 inset;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.comment_cont {
    margin-bottom: 5px;
    height: 25px;
}

.comment_cont a:hover .comment_cont span,
.comment_cont span:hover:after {
    border-right-color: #555 !important
}

.comment_cont span:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.comment_cont span:after {
    border-color: rgba(255, 195, 0, 0);
    border-width: 10px;
    top: 50%;
    margin-top: -10px;
}

.readNewsBtn span:after {
    border: none;
}

.total-comments {
    font-size: 18px;
    color: #473636;
    font-weight: bold;
    text-transform: uppercase;
}

.cnumber {
    color: #2DB2EB
}

#comments {
    padding: 3%;
    margin-top: 30px;
    float: left;
    clear: both;
    width: 94%;
}

#commentsAdd {
    padding: 10px 3%;
    width: 94%;
    float: left;
    clear: both;
    margin-bottom: 20px;
}

#comments .avatar {
    margin: 11%;
    width: 78%;
    float: none;
    clear: both;
    display: block;
}

.comment time {
    padding-left: 10px
}

ul.children .commentImageLeft {
    width: 60px;
    height: 90px;
    border-left: 1px solid #c1bbb6;
    border-bottom: 1px solid #c1bbb6;
    position: absolute;
    top: -50px;
    left: -70px;
}

input.text-input,
#commentform input {
    padding: 11px
}

input#author,
input#email,
input#url {
    width: 300px;
    border: 1px solid #F4F4F4;
    background: #fff;
    font-size: 14px;
    float: right;
    max-width: 85%;
}

input#author:hover,
input#email:hover,
input#url:hover,
#comment:hover {
    border-color: #8E8E8E
}

input#author,
input#email,
input#url,
#comment {
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    border-color: #BEBEBE;
    float: left;
}

.contactform input[type="text"] {
    width: 380px
}

#cancel-comment-reply-link {
    float: right;
    line-height: 24px;
    margin-top: 0;
}

.contact-submit,
#cancel-comment-reply-link {
    padding: 7px 20px;
    color: white;
    cursor: pointer;
    background: #222;
}

#commentform input#submit {
    font-size: 16px;
    line-height: 25px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    float: left;
    cursor: pointer;
    display: inline-block;
    border: none;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    padding: 5px 10px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

#commentform input#submit:hover {
    background: #222;
    color: #fff;
}

ol.commentlist {
    margin-left: 0
}

.commentlist li {
    list-style: none;
    margin: 0 0 10px 0;
    padding-left: 0;
    float: left;
    width: 100%;
}

.comment-author {
    background: #DDD;
    float: left;
    min-height: 130px;
    width: 19%;
    text-align: center;
}

.commentlist p {
    margin-bottom: 1em;
    line-height: 21px;
}

.fn {
    font-size: 14px;
    line-height: 1.375em;
    font-weight: bold;
    font-family: arial;
}

.fn a {
    color: #473636 !important;
    text-transform: uppercase;
    font-weight: bold;
}

.comment-meta {
    font-size: 12px;
    float: left;
    width: 75%;
    padding: 3%;
}

.comment-meta a:hover {
    color: #222
}

.reply {
    margin-top: 10px;
    padding-bottom: 15px;
    overflow: hidden;
    width: 100%;
    float: right;
}

.reply a {
    float: right;
    padding: 0 14px;
    color: #BDBDBD;
    font-size: 12px;
}

.commentContainer {
    border: 1px solid #CCC;
    background: #eee;
    overflow: hidden;
}

.commentContainer:last-child {
    padding-top: 0 !important
}

.commentlist .children {
    margin-left: 5%;
    margin-bottom: 0;
    margin-top: 0;
    float: left;
    width: 95%;
}

.commentlist .children li {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 10px;
}

.avatar {
    float: left
}

#reply-title {
    text-transform: uppercase
}

#respond h3 {
    margin-top: 18px;
    font-size: 18px;
    margin: 0;
    padding: 0 0 20px 0;
    border-top: 1px solid #E7E7E7;
    padding-top: 10px;
}

.cancel-comment-reply a {
    float: right;
    margin-top: -8px;
    font-size: 14px;
}

.comment-awaiting-moderation {
    font-style: italic;
    font-weight: bold;
}

/*-[ Comment Form ]----------------------------*/
#commentform textarea {
    width: 96.4%;
    font-family: inherit;
    border: 1px solid #BEBEBE;
    background: #fff;
    font-size: 14px;
    padding: 5px 10px 10px 10px;
    line-height: 25px;
    font-family: georgia;
    font-style: italic;
}

.form-allowed-tags {
    display: none
}

#commentform p {
    margin-bottom: 15px;
    float: left;
    width: 100%;
    clear: both;
}

#commentform p label {
    float: left;
    padding-bottom: 5px;
    padding-top: 5px;
    width: 100%;
    display: block;
    clear: both;
}

.required {
    display: none;
    color: red;
    float: left;
    font-size: 18px;
    padding: 5px;
    padding-top: 9px;
}

.comment-notes .required {
    padding-left: 0;
    padding-top: 3px;
}

.comment-notes {
    display: none
}

/*-[ pagination ]------------------*/
.pagination {
    clear: both;
    overflow: hidden;
    margin-bottom: 20px;
    float: left;
    width: 98%;
    font-family: arial;
    background-color: #FFF;
    padding: 0.8%;
}

.pagination ul {
    list-style: none;
    margin: 0;
}

.pagination ul li {
    float: left
}

.currenttext,
.pagination a:hover {
    color: #fff;
    margin: 0 5px 0 0;
    display: inline-block;
    float: left;
    line-height: 1.2em;
    text-decoration: none;
    padding: 8px 12px;
}

.pagination a,
.pagination2 {
    margin: 0 5px 0 0;
    display: inline-block;
    float: left;
    line-height: 1.2em;
    text-decoration: none;
    color: #333;
    background: #ccc;
    padding: 8px 12px;
}

.pagination2 {
    clear: both
}

.top {
    float: right;
    margin-right: 20px;
}

.toplink {
    color: #333 !important
}

.pnavigation2 {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    float: left;
    margin-bottom: 10px;
}

.nav-previous {
    float: left
}

.nav-next {
    float: right
}

.nav-previous a,
.nav-next a {
    color: #fff;
    padding: 5px 10px;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #222;
    color: #fff;
}

.hreview-aggregate .fn {
    font-weight: normal;
}

.hreview-aggregate .best,
.hreview-aggregate .average {
    font-weight: bold;
}

.hreview-aggregate .photo {
    width: 25px;
    margin: 3px;
    vertical-align: middle;
}

.scrollup {
    width: 40px;
    height: 40px;
    opacity: 0.3;
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
    text-indent: -9999px;
    z-index: 999;
    background: url('http://webmastermix.ru/files/demo/creation-site/raznoe/knopka-vverh/icon_top.png') no-repeat;
}

/*
---.post-single-content img {
---box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
---padding:6px;
---margin-left:3px;
---}
-*/

/*-[ Notifications ]--------------------------

.message_box { margin: 15px 0 }
pre {
overflow: auto;
background: #F7F7F7 url('images/code.png') 10px 2px no-repeat;
padding: 2em 1em 1em 1em;
border: 1px solid #DDD;
margin: 15px 0;
}
#page .content {
 background: url(images/bg-fon.png) #F7F7F7;
float: left;
width: 100%;
}
/*-----------------------------------------------

/* Responsive
/*---------------------------------------------*/
@media screen and (max-width:945px) {
    #header #searchform {
        margin-right: 2%;
        display: none;
    }

    .header-links {
        display: none;
    }

}

@media screen and (max-width:960px) {

    /*  #header h1, #header h2 { margin-left: 2% } */
    #header #searchform {
        margin-right: 2%;
        display: none;
    }

    .f-widget {
        width: 28%;
        padding-left: 2%;
    }

    #copyright-note span {
        margin-left: 2%;
        display: inline-block;
        float: left;
    }

    #copyright-note .top {
        margin-right: 2%
    }

    #page,
    .container {
        max-width: 96%;
        margin: 0 auto;
        float: none;
        overflow: hidden;
    }

    .article {
        width: 60%
    }

    .sidebar.c-4-12 {
    }

    .related-posts li {
        margin-right: 10px
    }

    img,
    embed {
        max-width: 100%;
        height: auto !important;
    }

    .ad-300 img {
        max-width: 100%
    }

    .ad-125 li {
        max-width: 40%
    }

    .ad-125 img {
        padding: 0;
        background: #FAFAFA;
        border: 0;
    }

    .mts-subscribe input[type="text"] {
        width: 70%
    }

    .date_container {
        display: none
    }

}

@media screen and (max-width:900px) {
    .home_post_container .title a {
        font-size: 88%
    }

    .article {
    }

    .js #navigation select {
        border: 0 !important;
        margin-right: 0 !important;    /*    font-size: 18px;  */

        /*      height: 30px;  */
    }

    .widget-header {
        max-width: 70%
    }

    nav #searchform {
        display: none
    }

}

@media screen and (max-width:865px) {
    .sidebar.c-4-12 {
    }

    #page,
    .container {
        max-width: 100%
    }

    .date_container {
        display: none
    }

    .js #navigation > ul {
        display: none
    }

    .secondary-navigation {
    }

    .js #navigation select {
        display: inline-block !important;
        max-width: 100%;
        border: none;
        width: 100%;
        color: #fff;
        background: #222;
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);    /*    font-size: 12px;  */

        /*    font-size: 18px;  */

        /*    height: 30px;  */
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset, 0 1px 1px rgba(255, 255, 255, 0.9);
        -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset, 0 1px 1px rgba(255, 255, 255, 0.9);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset, 0 1px 1px rgba(255, 255, 255, 0.9);
        float: left;
    }

    #navigation {
        margin: 0 !important
    }

    .secondary-navigation {
        width: 100%
    }

    .main-navigation #navigation {
        text-align: center;
        border: none;
    }

    #navigation ul {
        float: none;
        display: inline-block;
    }
    .post-cat {
    	width: 47%;
    	margin-left: 10px;
    }
}

@media screen and (max-width:760px) {
    #header {
        margin: 0
    }
       .post-cat {
    	width: 47%;
    	margin-left: 10px;
    }
}

@media screen and (max-width:720px) {
    .ss-full-width,
    .article {
        padding-left: 0 !important
    }

    .home article header,
    .archive article header {
        width: 28.7%
    }

    .home_post_container {
    }

    .ss-full-width,
    .article {
        width: 99.8%
    }

    #content_box {
        padding-right: 0px;
        padding-left: 0px !important;
    }

    .sidebar.c-4-12 {
        float: left;
        width: 94%;
        margin-left: 3%;
        margin-right: 3%;
    }

    .f-widget {
        width: 44%
    }

    .f-widget-2 {
        margin-right: 0
    }

    .ad-125 li {
        max-width: 45%
    }

    .footer-widgets #s {
        width: 70%
    }

    #comments {
        margin-right: 0
    }
    .post-cat {
    	width: 47%;
    	margin-left: 10px;
    }
}

@media screen and (max-width:600px) {
    #logo {
        width: 100%
    }

    #logo a {
        text-align: center;
        margin: 0 auto !important;
        background-position: center !important;
    }

    #header #searchform {
        display: block;
        clear: both;
        margin: 0 auto;
        float: none;
        overflow: hidden;
    }

    .secondary-navigation {
        width: 100%
    }

    .widget-header {
        max-width: 96%;
        float: left;
    }
}

@media screen and (max-width:550px) {
    .main-navigation {
        width: 100%
    }

    .main-header #s {
        width: 85%
    }

    .sbutton {
        float: right
    }

    read-more {
        font-size: 16px
    }

    .f-widget {
        width: 95%
    }

    footer #s {
        width: 65%
    }
}

@media screen and (max-width:460px) {
    #page {
        padding-top: 0
    }

    .related-posts {
        padding-top: 0
    }

    .related-posts li {
        width: 100%
    }
    .post-cat {
    	width: 47%;
    	margin-left: 10px;
    }
}

@media screen and (max-width:415px) {
    #navigation {
        margin-top: 0;
        margin-bottom: 0;
    }

    .secondary-navigation {
        width: 102%;
        height: 35px;
    }

    .js #navigation select {
        width: 100%;
        margin: 0 auto;
    }

}

@media screen and (max-width:400px) {
    article header {
        overflow: hidden
    }

    .main-header #s {
        width: 78%
    }

    #tabber ul.tabs li a {
        width: 70px
    }

    #commentform textarea {
        width: 90%
    }

    .home_post_container {
        float: left
    }

    .home article header,
    .ss-full-width article header,
    .archive article header {
        width: 100%
    }

}

@media screen and (max-width:300px) {
    nav fieldset,
    .js #navigation select {
        width: 100%;
        float: left;
    }

    .main-header #s {
        width: 70%
    }

}

header .fb_iframe_widget {

    /*  overflow: hidden;  */
}

.block-share-buttons .fb_iframe_widget span,
header .fb_iframe_widget span {
    vertical-align: baseline !important;
}

.block-share-buttons table {
    display: inline-block;
}

.block-share-buttons table,
.block-share-buttons table td {
    padding: 0px;
    margin: 0px;
}

body > footer .f-widget.last .widget {
    margin-bottom: 0px;
}

/* helper */
.pull-center {
    margin: 0 auto;
    text-align: center;
}

.mobile-only {
    display: none;
}

.screen-only {
    display: block;
}

@media screen and (max-width:720px) {
    .mobile-only {
        display: block;
    }

    .screen-only {
        display: none;
    }

    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block;
    }
    .post-cat {
    float:none;
    width:98%;
    margin-left: 2px;
    }
}