@media only screen and (min-width: 320px) and (max-width: 1030px) {
    body { min-width: 320px; }
    header {height: auto !important; text-align: center; padding: 15px 0 !important;}
    header .logo {float: none !important;}
    header .logo p {padding: 0 !important;}
    .head-menu {float: none !important;}
    .head-menu li {float: none !important; padding: 0 !important; border-bottom: 1px solid #662276;}
    .head-menu ul ul {display: none !important; position: relative !important; right: 0 !important;}
    .head-menu ul {display: none}
    .head-menu ul ul li {border: 0 !important;}
    .head-menu ul ul li a {width: auto !important}
    .sidebar .block {text-align: center !important; padding: 20px !important;}
    .head-menu .menu-item-has-children {background: none !important}
    .head-menu .menu-item-has-children > a{display:inline-block;background: url('images/drop.png') no-repeat 100% 12px;}
    .head-menu ul ul:before {display: none !important;}
    .sidebar .add, .sidebar .enter, .sidebar .reg {display: inline-block !important;}
    .text-box img {float: none !important;}
    #wrap {padding: 0 0 220px 0 !important;}
    .slide-item {height: auto !important; padding: 0 0 10px 0 !important;}
    .postbox .post {padding: 17px 20px !important;}
    .slide-item p {padding: 13px 50px 5px 60px !important;}
    .slide-item span {padding: 0 60px !important;}
    .job-image {float: none !important; margin: 0 !important;}
    .job-info {overflow: inherit !important; display: block; padding: 10px 0 0 0; }
    .title-menu {display: block !important;}
    .content {float: none !important; width: auto !important; margin-bottom: 30px !important;}
    .sidebar {float: none !important; width: auto !important;}
    #wpuf-login-form{width:190px;margin:0 auto;}
    ul.wpuf-form {width:500px;margin:0 auto !important;}
}

@media only screen and (min-width: 320px) and (max-width: 800px) {
    .sidebar {display: block; float: none !important; width: auto !important; margin: 0 0 30px 0 !important;}
    footer {text-align: center !important; height: auto !important; padding: 15px 0 !important;}
    footer .logo {float: none !important;}
    .nav-footer {overflow: inherit !important; display: block;}
    .statistic {float: none !important;}
    .post-subscribe td {display: block !important;}
    .post-subscribe input[type="text"] {margin: 0 0 10px 0 !important;}
}

@media only screen and (min-width: 320px) and (max-width: 450px) {
    .postbox .more {float: none !important; display: inline-block; margin: 15px 0 10px 0;}
    .user-box .user {float: none !important; overflow: hidden !important;}
    .share {float: none !important; margin: 0 0 25px 0;}
    .last-list li {width: 100% !important; margin: 3px 0 3px 0px !important;}
    .last-list li a {display: block !important;}
    .last-list {margin: 0 !important;}
    .jcarousel-skin-tango .jcarousel-clip-horizontal {margin: 0 !important}
    #slider .overview li {margin: 0 15px 0 5px !important;}
}

@font-face {
    font-family: 'nautilus_pompiliusregular';
    src: url('fonts/nautilus-webfont.eot');
    src: url('fonts/nautilus-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/nautilus-webfont.woff2') format('woff2'),
    url('fonts/nautilus-webfont.woff') format('woff'),
    url('fonts/nautilus-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'pt_sansregular';
    src: url('fonts/pt_sans-webfont.eot');
    src: url('fonts/pt_sans-webfont.eot?#iefix') format('embedded-opentype'),
    url('fonts/pt_sans-webfont.woff2') format('woff2'),
    url('fonts/pt_sans-webfont.woff') format('woff'),
    url('fonts/pt_sans-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'PTSansBold';
    src: url('fonts/pt_sans_bold.eot');
    src: url('fonts/pt_sans_bold.eot') format('embedded-opentype'),
    url('fonts/pt_sans_bold.woff2') format('woff2'),
    url('fonts/pt_sans_bold.woff') format('woff'),
    url('fonts/pt_sans_bold.ttf') format('truetype'),
    url('fonts/pt_sans_bold.svg#PTSansBold') format('svg');
}


/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
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;
}
a{color:#65446a;}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* styles */
html, body { height: 100% }

body {font-family: 'pt_sansregular'; font-size: 18px; color: #545454;}

#main {
    position: relative;
    min-height: 100%;
}

#wrap {
    max-width: 1080px;
    min-width: 320px;
    margin: 0 auto;
    padding: 0 0 130px 0;
}

/* header */
header {
    width: 100%;
    height: 76px;
    background:url(images/header-bg.jpg) no-repeat 50% 0 #491954;
}
.header-wrapper { max-width: 1020px;
    min-width: 320px;
    margin: 0 auto; }

.logo {float: left; font-size: 30px; color: #fffbbd; text-decoration: none; font-family: 'nautilus_pompiliusregular'; margin: 23px 0 0 0;}
.logo a {color: #fffbbd; text-decoration: none;}
.logo p {font-size: 11px; font-family: 'pt_sansregular'; padding: 0 0 0 27px;}
.head-menu {float: right; margin: 20px 0 0 0;}
.head-menu li {float: left; position: relative; padding: 0;}
.head-menu li a {display: block; color: #dee2e7; padding: 10px 10px 6px 10px; text-decoration: none;}
.head-menu li a:hover {color: #fffbbd;}
.head-menu .current-menu-item {border-radius: 5px; border: 1px solid #fffbbd;}
.head-menu .current-menu-item a {color: #fffbbd;}
.head-menu .menu-item-has-children  {background: url(images/drop.png) no-repeat 85% 12px; padding: 0px 15px 0px 0px;}
.head-menu li:hover ul {display: block !important;}
.head-menu ul ul {position: absolute; z-index: 10; display: none; right: -10px; margin: 0; background: #992666; padding: 4px; border-radius: 5px; padding-top:2px;}
.head-menu ul ul:before {content: ""; position: absolute; top: -8px; right: 15px; background: url(images/ul-before.png) no-repeat; width: 15px; height: 8px;}
.head-menu ul ul li {float: none;}
.head-menu ul ul li a {width: 212px; font-size: 13px; border-radius: 2px;}
.head-menu ul ul li a:hover {background: #fffbbd; color: #34495e;}

.slide-item {position: absolute;bottom: 0; left: 0; z-index: 100; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; width: 100%; height: 85px; background: url(images/slide-item.png); color: #fff; font-size: 12px;}
.slide-item p {color: #fffbbd; font-size: 22px; font-family: 'nautilus_pompiliusregular'; padding: 23px 30px 5px 30px;}
.slide-item span {padding: 0 30px; display: block;}

.container {overflow: hidden; margin-top: 10px;}

.sidebar {float: right; width: 336px;}
.sidebar .box {border: 1px solid #e4dde4; border-radius: 5px; margin: 0 0 10px 0;}
.sidebar .title {font-size: 20px; color: #421546; border-bottom: 1px solid #e4dde4; font-family: 'nautilus_pompiliusregular'; padding: 15px 25px;}
.sidebar .block {padding: 25px 0 25px 25px;}
.sidebar .add {width: 227px; height: 40px; display: block; text-align: center; text-decoration: none; color: #fff; font-size: 15px; background: #992666; border-radius: 5px; font-family: 'PTSansBold'; line-height: 40px;}
.sidebar .add:hover, .subscribe input[type="submit"]:hover, .post-subscribe input[type="submit"]:hover {opacity: 0.9;}
.sidebar .enter:hover, .sidebar .reg:hover {background: #992666; color: #fff; border: 1px solid #992666;}
.sidebar .enter {width: 225px; height: 40px; display: block; text-align: center; text-decoration: none; color: #65446a; border: 1px solid #65446a; margin-bottom: 10px; font-size: 15px; border-radius: 5px; font-family: 'PTSansBold'; line-height: 40px}
.sidebar .reg {width: 225px; height: 40px; display: block; text-align: center; text-decoration: none; color: #65446a; border: 1px solid #65446a; font-size: 15px; border-radius: 5px; font-family: 'PTSansBold'; line-height: 40px}
.subscribe p {line-height: 150%; padding: 0 0 15px 0;}
.subscribe input[type="text"] {width: 205px; height: 37px; border-radius: 5px; margin: 0 0 15px 0; border: 1px solid #bdc3c7; color: #5A5A5A; font-size: 14px; font-family: 'PTSansBold'; padding: 0 10px;}
.subscribe input[type="submit"] {width: 227px; height: 40px; border-radius: 5px; font-family: 'PTSansBold'; border: 0; color: #fff; background: #65446a; cursor: pointer; font-size: 15px;}
.sidebar-category {}
.sidebar-category li {border-bottom: 1px solid #e2dbe2;}
.sidebar-category li:last-child {border: 0;}
.sidebar-category li a {display: block; padding: 13px 0 13px 68px; font-family: 'PTSansBold'; font-size: 15px; color: #65446a; text-decoration: none;}
.sidebar-category .c1 {background: url(images/c1.png) no-repeat 30px 12px;}
.sidebar-category .c1:hover {background: url(images/c1.png) no-repeat 30px -72px #65446a !important; color: #fff;}
.sidebar-category li {position: relative;overflow: hidden;}
.sidebar-category li:hover {background:#65446a;color:#fff;cursor:pointer;}
.sidebar-category li:hover a{color:#fff;}
.sidebar-category img{display:block; position:absolute; left:30px; top:10px;}
.sidebar-category li:hover img{top:-66px;}
.sidebar-category li:nth-child(5) img{left:35px;}
.sidebar-category li:nth-child(8) img{left:33px;}

.content {float: left; width: 68%;}
.postbox {border-radius: 5px; border: 1px solid #e4dde4; margin: 0 0 30px 0;}
.postbox .post {overflow: hidden; padding: 15px 30px; border-top: 1px solid #e4dde4;}
.postbox .post:first-child {border: 0;}
.postbox .title-top {overflow: hidden; padding: 0 0 20px 0;}
.postbox .title-top span {display: inline-block; vertical-align: top; font-size: 12px; color: #a6a6a6;  }
.postbox .date {background: url(images/date-icon.png) no-repeat 0 0%; padding: 4px 0 0 25px !important;  }
.postbox .category {padding: 3px 0 0px 25px;}
.postbox span a {color: #a6a6a6; text-decoration: none;}
.postbox .more {float: right; padding: 0 18px; height: 33px; line-height: 35px; font-family: 'PTSansBold'; color: #997490; text-decoration: none; border: 1px solid #997490; border-radius: 20px;}
.postbox .more:hover {background: #65446a; border: 1px solid #65446a; color: #fcfcfc;}
.postbox .post h2 {font-family: 'nautilus_pompiliusregular'; font-size: 30px; padding: 5px 0 14px 0;}
.postbox .post h2 a {color: #421546; text-decoration: none;}
.postbox .box {padding: 25px 10px 0 10px;}
.postbox .list {margin: -5px 0;}
.job-text ul li, .postbox .list li {line-height: 140%;  text-align:justify; margin-bottom:10px; list-style-position: inside !important;}
.job-text ul li, .postbox ul.list  li {list-style:disc}
.text-box img {float: left; margin: 0 15px 0 0;}
.text-box p {overflow: hidden; line-height: 150%;}
.banner img {width: 100%;}
.pagination  {display: table; width: 99.7%; border: 1px solid #e4dde4; border-radius: 5px;}
.pagination a,.pagination span {font-size: 13px; display: table-cell; vertical-align: middle; height: 30px; padding: 2px 0 0 0; text-align: center; width: 30px; border-left: 1px solid #e4dde4; font-family: 'PTSansBold'; text-decoration: none; color: #65446a;}
.pagination a:first-child {border: 0;}
.pagination a:hover,.pagination span {background: #65446a; color: #fff;}
.pagination .prev {background: url(images/prev.png) no-repeat 50% 50%; }
.pagination .prev:hover {background: url(images/prev.png) no-repeat 50% 50%; }
.pagination .next {background: url(images/next.png) no-repeat 50% 50%; }
.pagination .next:hover {background: url(images/next.png) no-repeat 50% 50%; }

.statistic {float: right; margin: 20px 0 0 0;}
.statistic span {display: inline-block; vertical-align: top; margin-left: 8px;}

.nav-footer {overflow: hidden; text-align: center; font-family: 'PTSansBold';}
.nav-footer ul {text-align: center; padding: 18px 0 8px 0;}
.nav-footer li {display: inline-block; vertical-align: top; font-size: 16px; padding: 0 7px;}
.nav-footer li a {color: #fff; text-decoration: none;}
.nav-footer li a:hover {color: #fffbbd;}
.nav-footer p {color: #997490; font-size: 12px;}
.nav-footer p a {color: #997490; text-decoration: none;}
.title-h2-first {
    margin-top: 0px !important;
}
.title-h2 {background: url(images/title-h2.jpg) repeat-x 0 50%; margin: 25px 0 0 0;}
.title-h2 h2 {display: inline-block; border-radius: 20px; background: #fff; margin: 0 30px; border: 1px solid #af89a6; width: 120px; height: 33px; line-height: 35px; font-family: 'PTSansBold'; color: #997490; text-align: center;}
.title-h2 .sp {width: auto !important; padding: 0 22px;}

.job-box {}
.job-image {float: left; border-radius: 2px; margin: 0 30px 0 0;width: 265px;}
.job-image img {width: 265px;}
#post .job-image {margin: 0 30px 10px 0;}
.job-info {overflow: hidden;}
#post .job-info {overflow: visible;}

.job-info h2 {font-size: 30px; color: #421546; font-family: 'nautilus_pompiliusregular'; margin: 15px 0 15px 0;clear:both}

strong,b {
    font-weight: bold;
}
.single img.alignleft {
    min-width:298px;
}
img.alignleft {
    float:left;
    margin: 0 5px 5px 0;

}

.job-info h3 {font-size: 20px; color: #421546; font-family: 'nautilus_pompiliusregular'; padding: 3px 0 17px 0;clear:both;}
.postbox h1, .job-info h1 {font-size: 40px; color: #421546; font-family: 'nautilus_pompiliusregular';
    margin: 20px auto 0px auto;
    text-align: center;
}
.post-text h3 {
    font-size: 18px; color: #421546; font-family: 'nautilus_pompiliusregular';
    margin: 10px 0;
}
.post-text ol, .post-text ul {
    margin-left: 20px;
}
.post-text ol li, .job-text ol li {
    list-style:decimal;
    line-height: 150%;
    list-style-position: inside !important;
}
.user-box {overflow: hidden;}
#post .user-info .dat {display:inline-block;width:49%;font-size:13px; }
#post .cat{width:49%;vertical-align:top;text-align:right;font-size:13px;}
.user-box .user {float: left; padding: 0 0 25px 0;}
.user-box .user img {float: left; margin-right: 10px;}
.user-info {float: left; padding: 5px 0;}

.single-content .user-info {float:none;}
.single-content .user-box .user {float:none; padding: 0}

#post .user-info {font-size:14px;}

.user-info strong {font-family: 'PTSansBold';}
.user-info p {padding: 5px 0;}
.user-info span, .user-info div {font-size: 12px; color: #545454;}
.user-info a {color: #421546; text-decoration: none;}
.share {float: right; border-radius: 3px; padding: 5px; border: 1px dotted #421546;}
.job-text {margin: 0 0 0 0;}
.job-text p {line-height: 140%; text-indent:25px; text-align:justify; margin-bottom:10px;}
.job-text span {font-family: 'PTSansBold';}

.post-text {}
.post-text p {line-height: 150%; padding: 7px 0; text-indent: 25px;text-align:justify}

.last-list { width: 369px; float: left;}
.last-list li {display: inline-block;vertical-align: top; width: 343px; margin: 3px 0 3px 0px;  border: 1px solid #e5dee5; padding: 0 10px;}
.last-list li a {color: #65446a; text-decoration: none; display: inline-block; background: url(images/last-bg.png) no-repeat 0 17px; padding: 15px 0 10px 10px;}
.last-list li a:hover {text-decoration: underline;}

.last-list-right {
    float: right;
    width: 336px;
}

.post-subscribe {}
.post-subscribe table {width: 100%;}
.post-subscribe input[type="text"] {width: 85%; height: 37px; font-size: 14px; font-family: 'PTSansBold'; color: #5A5A5A; border-radius: 5px; border: 1px solid #bdc3c7; padding: 0 20px; margin-right: 20px;}
.post-subscribe input[type="submit"] {width: 227px; height: 40px; font-size: 15px; font-family: 'PTSansBold'; color: #fff; background: #65446a; border: 0; border-radius: 5px; cursor: pointer;}

.comment {padding: 0 0 10px 0;}
.comment img {width: 100%;}

.title-menu {display: none; padding: 8px 13px 5px 13px; background: #fffbbd; border-radius: 3px; text-decoration: none; color: #545454; font-size: 16px;}


.wpuf-form-add #wpuf-insert-image-container{display:none}




/* footer */
footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 70px;
    background: #37113d;
}
.footer-wrapper { max-width: 1020px;
    min-width: 320px;
    margin: 0 auto; }
footer .logo {color: #fffbbd; text-decoration: none;}
input:focus {outline: none;}

#slider { height: 1%; overflow:hidden; padding: 0 0 10px; position: relative;  }
#slider .viewport { float: left; width: 90%; height: 165px; overflow: hidden; position: relative; margin: 0 40px; }
#slider .buttons { display: block; margin: 0; text-indent: -999em; width: 35px; height: 165px; overflow: hidden; position: absolute; z-index: 10; }
#slider .next { background:url(images/next-cr.jpg) no-repeat; right: 0px; }
#slider .prev {background:url(images/prev-cr.jpg) no-repeat; left: 0px;}
#slider .disable {display:none; }
#slider .overview { list-style: none; position: absolute; padding: 0; margin: 0; width: 240px; left: 0; top: 0; }
#slider .overview li{ float: left; margin: 0 10px 0 0; padding: 1px; height: 165px; width: 165px;}

#float_block {
    width: 336px !important;
}

#direct_article_desktop_top {
    border: 2px dashed #421546;
    margin: 10px 0 0 0;
    background: #FFFFED;
}

.content p img {
    margin: auto;
    display: block;
    float: none;
}

.ads_center_336 {
    width: 336px;
    margin: auto;
}

#yandex_big {
    margin-bottom: 10px;
}

#yandex_big iframe {
    margin: auto;
    display: block;
}

#menu-verxnee-menyu {
    font-size: 14px;
}

span.b {
    font-weight: bold;
}

#yandex_after_text.desktop {
    width: 728px;
    margin-left: -10px;
}

.ads728 {
    width: 728px;
    margin: 10px 0 10px -10px;
    display: block;
}

.ads336 {
    width: 336px;
}
.ads300 {
    width: 300px;
}
.ads240 {
    width: 240px;
}

.fl {
    float: left;
    margin: 10px 10px 10px 0;
}

.flm {
    margin-left: -10px;
}

#yandex_before_text {
    margin: 10px 0;
}

.w320 { width: 320px; }

#fixed_bottom {
    position:fixed;
    bottom: 0;
    width: 100%;
    z-index:100;
}

.fixed_bottom_inner {
    margin: auto;
    background: white;
    border-top: 2px solid red;
}

#yandex_before_s.desktop {
    margin-left: -10px;
}

img {
    max-width: 100% !important;
    height: auto;
    vertical-align: middle;
}

#toc_container {
    font-size: 120%;
    line-height: 35px;
    padding:0;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

#toc_container ul {
    padding: 10px;
}

#toc_container ul li {
    width: 48%;
    float: left;
    margin-right: 10px;
}

     #toc_container ul li ul li {
         width: auto !important;
         float: none !important;
     }
#toc_container ul li a {
    border-bottom: 1px dashed #65446a;
}

#toc_container ul li a:hover {
    text-decoration: none;
    border-bottom: none;
}

#toc_container ul:after {
    clear: both;
    content: '';
    display: block;
}

.single-content h3 {
    margin-top: 10px;
    text-align: center;
    padding: 0;
}

#tgroup_41 li, #tgroup_42 li {
    list-style: none !important;
}

sjdiv .adsbygoogle {
    padding: 15px 0;
    margin: 10px 0;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}

#float_block .adsbygoogle {
    width: 100%;
    height: 100%;
}

/*
@media (min-height:768px) and (max-height:1023px) {#float_block .adsbygoogle {height:728px;}}
@media (min-height:1024px) and (max-height:1079px) {#float_block .adsbygoogle {height:984px;}}
@media (min-height:1080px) and (max-height:1119px) {#float_block .adsbygoogle {height:1040px;}}
@media (min-height:1200px) {#float_block .adsbygoogle {height:1160px;}}*/

.ads_adaptive_links {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}
@media (max-width:425px) {
    .ads_adaptive_links {
        height: 200px;
    }
}

@media (max-width:425px) {
    #toc_container ul li {
        float: none;
        width: 100%;
    }
}

.block_img {
    text-align: center;
    margin-bottom:10px;
}