#sub{
	position:fixed;
	left:-282px;
	top:50%;
	width: 280px;
	height: 300px;
	margin-top: -105px;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	background: #FAEDB1;
	-webkit-border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}
#sub-btn{
	width: 27px;
	height: 142px;
	float: right;
	margin-right: -27px;
	margin-top: 84px;
	background: url(images/bg-btn.png) no-repeat;
}
#sub form{
	background: none;
	width: 260px;
	float: left;
	background: #FAEDB1;
	margin-left: 10px;
	text-align: center;
}
#sub form ul li{
	background: none;
	height: 54px;
}
#sub form h3{
	font-size: 22px;
	font-weight: normal;
	padding-bottom: 8px;
    padding-top: 24px;
	margin-bottom: 0;
}
#sub form span{
	display: block;
	margin-bottom: 25px;
	color: #444;
    line-height: 21px;
}
#sub form input[type=submit]{
	height: 32px;
	line-height: 30px;
	text-align: center;
	padding: 0;
	width: 130px;
	background: #059907;
	color: #fff;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 15px;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}
#sub form input[type=submit]:hover{
	background: #15B924;
}
@media (min-width: 0px) {
    body {
        background: #C1AB97;
        font-family: Arial, Helvetica, FreeSans, Liberation Sans, Nimbus Sans L, sans-serif;
        font-size: 13px;
        color: #353535;
    }
    #infscr-loading {
        width: 100%;
        text-align: left;
        clear: both;
        margin: 10px 0 20px;
    }
    #searchform {
        text-align: center;
        margin-bottom: 12px;
        margin-right: 8px;
    }
    #searchform input[type=text]{
        width: 200px;
        height: 22px;
        line-height: 22px;
        padding: 0 0 0 7px;
        background: transparent;
        color: #000000;
        border: 1px solid #5D3106;
        font-style: italic;
    }
    #searchform input[type=submit]{
        background: url("images/search.png") no-repeat 0 2px;
        text-indent: -9999px;
        width: 18px;
        height: 20px;
        border: none;
        cursor: pointer;
        margin: 0 0 -2px -24px;
    }
    #menu-item-203 > div > a {
        cursor: inherit;
    }
    #social {
        position: absolute;
        top: 600px;
        right: 163px;
    }
    /*СЛОГАН НА ГЛАВНОЙ*/
    h2.slogan a {
        margin-top: 10px;
        color: #5d3106;
        font-size: 14px;
        display: block;
        text-align: center;
        font-family: Georgia, Bitstream Charter, Century Schoolbook L, Liberation Serif, Times, serif;
        text-decoration: underline;
    }
    h2.slogan a:hover {
        text-decoration: none;
        color: #231100;
    }
    #new-rand-posts {
        margin-top: 130px;
        padding: 0 50px;
        position: relative;
    }
    #new-rand-posts h4.new-rand-posts {
        text-align: center;
        font-size: 24px;
        color: #5d3106;
        margin-bottom: 50px;
    }
    #new-rand-posts h3 a.title-proiz {
        font-size: 13px;
    }
    #new-rand-posts p {
        text-indent: 0;
    }
    #rand-posts {
        float: right;
        width: 47%;
    }
    #new-posts {
        float: left;
        width: 47%;
    }
    #new-rand-posts img#n-r-sep {
        position: absolute;
        top: 46px;
        left: 50%;
    }
    #new-rand-posts #sep-footer {
        width: 190px;
        position: absolute;
        top: 8px;
        left: 50%;
        margin-left: -95px;
    }
    #new-rand-posts #sep-footer img {
        max-width: 100%;
    }
    #navi {
        bottom: 0;
        clear: both;
    }
    #next-post,
    #prev-post {
        margin-top: 18px;
        width: 48%;
    }
    #next-post {
        float: right;
        text-align: right;
        padding-right: 15px;
    }
    #prev-post {
        float: left;
    }
    #next-post a,
    #prev-post a {
        color: #452302;
        font-size: 11px;
        text-decoration: underline;
    }
    #next-post a:hover,
    #prev-post a:hover {
        color: #3F3E3E;
        text-decoration: none;
    }
    #breadcrumbs {
        width: 41%;
        float: left;
        margin-left: 70px;
        margin-top: 1px;
        font-size: 11px;
    }
    #number_page {
        width: 40%;
        float: right;
        margin-right: 70px;
        margin-top: 8px;
        font-size: 12px;
        color: #5d3106;
        font-weight: bold;
        text-align: right;
        padding: 0 6px 3px 0;
    }
    #breadcrumbs a {
        color: #5d3106;
        font-weight: bold;
    }
    #breadcrumbs a:hover {
        color: #231100;
        text-decoration: underline;
    }
    #breadcrumbs .current {
        font-weight: bold;
        font-style: italic;
    }
    #breadcrumbs hr {
        height: 1px;
        width: 100px;
        margin: 0 0 6px 0;
        border: none;
        background: #666;
    }
    article.post.single p {
        text-indent: 10px !important;
    }
    p {
        line-height: 18px;
        text-indent: 10px;
    }
    #wrapper {
        padding-top: 10px;
         width: 98%;
         max-width: 1280px;
         min-width: 1000px;
         margin: 20px auto 0;
         position: relative;
     }
    #wrapper img.bg {
        position: absolute;
        top: 10px;
        left: 0;
        max-width: 100%;
        height: auto;
        z-index: -1;
    }
    #header {
        padding: 35px 70px 0;
    }
    .left {
        width: 50%;
        float: left;
    }
    .right {
        width: 50%;
        float: right;
    }
    #nav {
        display: block;
        z-index: 8888;
    }
    #menu {
        margin: 15px 0 0 25px;
        display: block;
    }
    #menu > li {
        display: block;
        position: relative;
        float: left;
        padding: 0 8px;
        color: #5d3106;
        border-right: 1px solid #5d3106;
        z-index: 8888;
    }
    #menu > li:last-child {
        border-right: none;
    }
    #menu > li > a {
        float: left;
        color: #5d3106;
        text-transform: uppercase;
        font-size: 11px;
        font-style: normal;
        font-weight: bold;
    }
    #menu ul.sub-menu {
        display: none;
        position: absolute;
        top: 20px;
        left: 50%;
        background: #E5E5E5;
        z-index: 10;
        width: 150px;
        padding: 7px 10px;
        margin-left: -75px;
        box-shadow: 0 0 3px rgba(0,0,0, 0.30);
        -moz-box-shadow: 0 0 3px rgba(0,0,0, 0.30);
        -webkit-box-shadow: 0 0 3px rgba(0,0,0, 0.30);
    }
    #menu ul.sub-menu li a {
        text-align: center;
        color: #5d3106;
        font-size: 13px;
        display: block;
        line-height: 19px;
        margin: 5px 0 0;
        font-style: normal;
    }
    #home-nav {
        margin-left: 70px;
    }
    #home-menu > li {
        margin-bottom: 5px;
        overflow: hidden;
        position: relative;
    }
    #home-menu li .sub-menu a:hover {
        color: #5d3106;
    }
    #home-menu > li > div  a {
        color: #231100;
        font-size: 24px;
        float: left;
        font-style: normal;
    }
    #home-menu .sub-menu {
        padding: 10px 0 0;
        clear: both;
    }
    #home-menu .sub-menu li {
        margin-bottom: 8px;
        position: relative;
    }
    #home-menu .sub-menu li a {
        margin-left: 40px;
        font-size: 18px;
        font-style: italic;
        color: #353535;
        float: left;
    }
    #home-menu li div .sub {
        margin-right: 18px;
        overflow: hidden;
        display: block;
        font-size: 16px;
        text-indent: 0;
    }
    #home-menu > li > div .sub {
        padding-top: 4px;
    }
    #home-menu li div .count {
        position: absolute;
        top: 6px;
        right: 0;
        font-size: 16px;
    }
    #home-menu .sub-menu li div .count {
        top: 1px;
    }
    #wrapper h1.title-home a,
    #wrapper h1.title-home {
        font-size: 32px;
        color: #5d3106;
        text-align: center;
    }
    .scroll_author,
    .scroll {
        position: relative;
        height: 405px;
        padding: 0 16px;
    }
    .scroll_cat {
        height: 380px !important;
    }
    .content {
        padding: 0 20px;
    }
    #content {
        position: relative;
        margin: 70px 55px 0;
        height: 390px;
    }
    #content .left p {
        padding-right: 20px;
        text-align: justify;
    }
    article.post {
        margin-top: 8px;
        width: 47%;
        float: right;
    }
    article.author {
        height: 132px;
        width: 47%;
        float: right;
    }
    article.odd {
        float: left;
    }
    article.post p {
        text-indent: 0;
        text-align: justify;
    }
    article.post a.button {
        background: url("images/button-bg.png") repeat-x bottom;
        border-radius: 7px;
        border-top: 1px solid #202A30;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        color: #FFFFFF;
        font-size: 13px;
        padding: 8px 15px;
        text-decoration: none;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
        vertical-align: middle;
        margin-top: 20px;
    }
    article.post a.button:hover {
        background: url("images/button-bg.png") repeat-x top;
        color: #FFFFFF;
    }
    #footer {
        margin: 70px 0 0;
    }
    #footer p.copy {
        text-align: center;
        font-size: 11px;
    }
}/*/mediaquery*/

@media (min-width: 1050px) {
    .scroll_author,
    .scroll {
        height: 415px;
    }
    #breadcrumbs {
        width: 41%;
        margin-left: 80px;
        margin-top: 10px;
        font-size: 12px;
    }
    #content {
        margin: 55px 60px 0;
        height: 425px;
    }
}/*/mediaquery*/

/*SOCIAL BUTTON*/
@media (min-width: 1090px) {
    #social {
        position: absolute;
        top: 640px;
        right: 173px;
    }
}/*/mediaquery*/

@media (min-width: 1120px) {
    body {
        font-size: 14px;
    }
    article.author {
        height: 165px;
    }
    /*СЛОГАН НА ГЛАВНОЙ*/
    h2.slogan a {
        font-size: 16px;
    }
    #new-rand-posts {
        padding: 0 80px;
    }
    #new-rand-posts #sep-footer {
        width: 260px;
        top: 5px;
        margin-left: -130px;
    }
    #number_page {
        width: 40%;
    }
    #header {
        padding: 45px 70px 0;
    }
    .scroll_author,
    .scroll {
        height: 435px;
    }
    #content {
        margin: 70px 70px 0;
        height: 430px;
    }
    #breadcrumbs {
        width: 41%;
        margin-left: 80px;
        margin-top: 10px;
        font-size: 12px;
    }
    #menu {
        margin-top: 10px;
    }
    #menu li a {
        font-size: 12px;
    }
}/*/mediaquery*/

@media (min-width: 1180px) {
    .scroll_author,
    .scroll {
        height: 440px;
    }
    #social {
        position: absolute;
        top: 685px;
        right: 186px;
    }
    #content {
        margin: 70px 70px 0;
        height: 455px;
    }
    #breadcrumbs {
        width: 41%;
        margin-left: 90px;
        margin-top: 5px;
        font-size: 13px;
    }
}/*/mediaquery*/

@media (min-width: 1220px) {
    p {
        line-height: 21px;
        text-indent: 15px;
    }
    a.title-proiz-categorii {
        font-size: 14px;
    }
    #number_page {
        padding-right: 20px;
    }
    #social {
        position: absolute;
        top: 737px;
        right: 200px;
    }
    /*СЛОГАН НА ГЛАВНОЙ*/
    h2.slogan a {
        font-size: 17px;
    }
    #number_page {
        width: 41%;
    }
    #header {
        padding: 50px 70px 0;
    }
    .scroll_author,
    .scroll {
        height: 475px;
    }
    #content {
        margin: 100px 75px 0;
        height: 480px;
    }
    #breadcrumbs {
        width: 41%;
        margin-left: 90px;
        margin-top: 0;
        font-size: 13px;
    }
    #menu {
        margin-left: 30px;
        margin-top: 12px;
    }
    #menu li a {
        font-size: 13px;
    }
    article.author {
        margin-top: 0;
        margin-bottom: 5px;
    }
    article.author img.ava_author {
        height: 120px;
    }
    #new-rand-posts {
        padding: 0 60px;
    }
}/*/mediaquery*/

@media (min-width: 1280px) {
    .scroll_author,
    .scroll {
        height: 497px;
    }
    .scroll_cat {
        height: 472px !important;
    }
    #new-rand-posts #sep-footer {
        width: 320px;
        top: 2px;
        margin-left: -160px;
    }
    #number_page {
        width: 42%;
    }
    #content {
        height: 500px;
    }
    #social {
        position: absolute;
        top: 747px;
        right: 203px;
    }
}/*/mediaquery*/

@media (min-width: 1300px) {
    .scroll_author,
    .scroll {
        height: 490px;
    }
    #content {
        height: 500px;
    }
    #social {
        position: absolute;
        top: 770px;
        right: 209px;
    }
}/*/mediaquery*/

a.button15 {
  display: inline-block;
  font-family: Arial, Helvetica, FreeSans, Liberation Sans, Nimbus Sans L, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: rgb(102,102,102);
  text-decoration: none;
  user-select: none;
  padding: .2em 1.2em;
  outline: none;
  border: 1px solid rgba(0,0,0,.5);
  border-radius: 6px;
  background: rgb(245,245,245) linear-gradient(#f1f1f1, #e6e1e1);
  transition: all .218s ease 0s;
}
a.button15:hover {
  color: rgb(63,63,63);
  border: 1px solid rgb(198,198,198);
  background: #f7f7f7 linear-gradient(#f7f7f7, #f1f1f1);
  box-shadow: 0 1px 2px rgba(0,0,0,.5);
}
a.button15:active {
  color: rgb(51,51,51);
  border: 1px solid rgb(204,204,204);
  background: rgb(238,238,238) linear-gradient(rgb(238,238,238), rgb(224,224,224));
  box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
}