html {
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
}

#wrapper {
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

#footer {
    margin-top: -100px !important;
    height: 100px;
    position: relative;
    clear: both;
}

#header, #content, #footer {
    width: 923px;
    margin: 0 auto;
}

#header {
    padding: 20px 0 30px;
    position: relative;
    z-index: 4;
}

#logo-wrapper {
    margin-left: -2em;
}

#logo-wrapper .logo {
    width: 150px;
}

#topMenu {
    float: right;
    line-height: 107px;
    vertical-align: middle;
}

#topMenu ul {
    margin: 0;
}

#topMenu li {
    display: inline-block;
    list-style: none;
    margin-left: 45px;
    line-height: 1;
}

#topMenu li.child-0 {
    font-size: 1.83em;
    margin-left: 0;
}

#topMenu li.child-1 {
    font-size: 1.63em;
}

#content {
    padding-bottom: 130px;
    position: relative;
}

#sidebar {
    float: left;
    width: 260px;
}

#leftMenu {
    font-size: 1.5em;
}

#leftMenu ul {
    margin: 0;
    position: relative;
    overflow: hidden;
}

#leftMenu li {
    display: block;
    list-style: none;
}

#leftMenu li a {
    position: relative;
    display: block;
    padding-left: 1em;
}

#leftMenu li a>.css-before {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -3px;
    left: 0;
    width: 9px;
    height: 6px;
    background: url(i/menu.png) no-repeat 0 0;
}

#leftMenu li li {
    margin: 0 0 0.5em;
}

#leftMenu li li a>.css-before {
    background-position: 0 -12px;
    margin-top: -1px;
}

#leftMenu li a.openedTrigger>.css-before {
    background-position: 0 -6px;
}

#leftMenu ul ul {
    font-size: 0.77em;
    margin: 0.5em 0 0.5em 1em;
}

#container {
    float: right;
    width: 630px;
}

#footer {
    background: url(i/foot.jpg) no-repeat center top;
    padding: 25px 0;
    height: 50px;
}

#footer p {
    margin-bottom: 0.4em;
}

/* planeta */
body.main_page {
    /* background: url(i/main_back.jpg) repeat-x left top; */
    background: url(i/main_back2.png) repeat-x left top;
    background-size: cover;
}

body.main_page #wrapper {
    /* background: url(i/grad.jpg) no-repeat center top; */
    background: url(i/grad2.png) no-repeat center top;
}

.planeta {
    width: 642px;
    height: 672px;
    /* background: url(i/planeta.jpg) no-repeat center top; */
    background: url(i/planeta2.png) no-repeat left -108px top -30px;
    background-size: 810px;
    margin: -91px 0 0 90px;
    position: relative;
    font-size: 1.16em;
}

.planeta ul {
    margin: 0;
}

.planeta li {
    margin: 0.2em 0 0.7em;
    list-style: none;
    white-space: nowrap;
}

.planeta a {
    display: block;
}

.planeta .root-item {
    color: inherit;
    text-decoration: none !important;
    font-size: 0.71em;
    font-family: Verdana, "Geneva CY", "DejaVu Sans", sans-serif;
}

.planeta-youth {
    position: absolute;
    z-index: 4;
    top: 95px;
    right: 580px;
    text-align: right;
}

.planeta-youth a {
    color: #0095c6;
}

.planeta-youth li.nth-child-1 a {
    margin-right: 30px;
    font-size: 1.28em;
}

.planeta-youth li.nth-child-2 a {
    margin-right: 50px;
    font-size: 1.28em;
}

.planeta-youth li.nth-child-3 a {
    margin-right: 63px;
    font-size: 1.28em;
}

.planeta-youth li.nth-child-4 a {
    margin-right: 70px;
    font-size: 1.28em;
}

.planeta-youth li.nth-child-5 a {
    margin-right: 75px;
    font-size: 1.28em;
}

.planeta-parents {
    position: absolute;
    z-index: 4;
    top: 570px;
    right: 420px;
    text-align: right;
}

.planeta-parents a {
    color: #e00000;
}

.planeta-parents li.nth-child-1 a {
    font-size: 1.28em;
}

.planeta-parents li.nth-child-2 a {
    font-size: 1.28em;
}

.planeta-parents li.nth-child-3 a {
    /*margin-right: 50px;*/
    font-size: 1.28em;
}

.planeta-specialist {
    position: absolute;
    z-index: 4;
    top: 100px;
    left: 606px;
}

.planeta-specialist a {
    color: #767676;
}

.planeta-specialist li.nth-child-1 a {
    margin-left: 10px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-2 a {
    margin-left: 30px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-3 a {
    margin-left: 45px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-4 a {
    margin-left: 80px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-5 a {
    margin-left: 90px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-6 a {
    margin-left: 95px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-8 a {
    margin-left: 95px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-9 a {
    margin-left: 95px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-10 a {
    margin-left: 95px;
    font-size: 1.28em;
    white-space: normal;
}

.planeta-specialist li.nth-child-7 a {
    margin-left: 95px;
    font-size: 1.28em;
}

.planeta-specialist li.nth-child-9,
.planeta-specialist li.nth-child-10 {
    display: none;
}

#planeta-note {
    position: absolute;
    z-index: 4;
    /* top: 450px; */
    top: 535px;
    left: 706px;
    width: 230px;
}

#planeta-share {
    position: absolute;
    z-index: 4;
    /* top: 385px; */
    top: 470px;
    left: 706px;
    width: 230px;
}

#planeta-share a {
    float: left;
    margin: 0px 10px 0px 0px;
}

#planeta-banner {
    position: absolute;
    right: 0;
    bottom: 130px;
    width: 250px;
    text-align: right;
}

/* 404 */
#error404, #error404 table, #error404 td {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    background: #fff;
    border: none;
}

#error404 .logo {
    margin: 1em 0;
    text-align: left;
    text-indent: -5000px;
}

/* news */
.news-item {
    margin-bottom: 2.5em;
}

.news-date-time {
    display: block;
    font-size: 0.83em;
    margin-bottom: .2em;
}

.news-item-title, .news-detail-title {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.preview_picture, .detail_picture {
    float: left;
    margin: 0.2em 0.5em 0.5em 0;
    border: 1px solid #999999;
    padding: 2px;
}

.concurs-item {
    background: #f6f6f6;
    border-radius: 10px;
    padding: 10px;
}

/* terr */
.map-target {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0 0 1em;
    height: 800px;
}

.map-target #leftMenu {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}

.map-detail, .map-note {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 2em;
    behavior: url(/bitrix/templates/narkostop/PIE/PIE.php);
}

.map-note {
    position: absolute;
    border-radius: 5px;
    padding: 1em;
    z-index: 2;
    width: 300px;
    behavior: url(/bitrix/templates/narkostop/PIE/PIE.php);
}

.note-inner {
    background: #f0f0f0;
    border-radius: 5px;
    padding: 1em;
    behavior: url(/bitrix/templates/narkostop/PIE/PIE.php);
}

#map-note-1 {
    right: 0;
    top: 0;
    background: none;
    text-align: center;
}

#map-note-1 .note-inner {
    text-align: left;
}

#map-note-2 {
    right: 0;
    bottom: 80px;
}

#map-note-3 {
    right: 0;
    bottom: 0;
    height: 30px;
}

#map-note-3 .h4 {
    padding: 0;
    margin: 0;
}

.map-note .news-item {
    margin-bottom: 0.5em;
}

.map-note .news-item:last-child {
    margin-bottom: 0;
}

.mapTooltip {
    position: absolute;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    min-width: 150px;
    height: 14px;
    margin-top: -31px;
    margin-left: -15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.38);
    z-index: 3;
    behavior: url(/bitrix/templates/narkostop/PIE/PIE.php);
}

.mapTooltip:after, .mapTooltip .css-after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    background: url(i/tooltip_arrow.png) no-repeat 15px top;
    width: 100%;
    height: 7px;
}

/* form */

form {
    margin-bottom: 2.5em;
}

form div.field {
    margin-bottom: 1em;
    position: relative;
}

form label {
    display: block;
    margin-bottom: 0.2em;
    margin-top: 0.5em;
}

form .field-input label {
    display: inline-block;
    margin-bottom: 0em;
    margin-left: 0.5em;
}

form input[type=checkbox], form input[type=radio] {
    cursor: pointer;
}

form input[type=text], form input[type=password], form textarea, form select {
    display: inline-block;
    width: 260px;
    margin: 0;
    padding: 0.5em;
    font-size: 1em;
    line-height: 1em;
    height: 1em;
}

form select, form input[type=file] {
    height: 2em;
    line-height: 2em;
    width: 274px;
}

form textarea {
    height: auto;
}

form input.mini-input, form textarea.mini-input, form select.mini-input {
    width: 140px;
}

form .input-large, form input.large, form textarea.large, form select.large {
    width: 596px;
}

label.error, label.errortext, label.success, label.notetext {
    color: #a40000;
    padding-top: 0;
    padding-left: 18px;
    margin: 0 0 1em;
    display: block;
    position: relative;
    font-size: 0.83em;
}

label.success, label.notetext {
    color: #21a549;
}

form .captchaCode input {
    font-size: 19px;
    width: 158px;
    margin: 0;
}

form .captchaCode input, form .captchaCode img {
    display: inline-block;
    vertical-align: top;
}

input[type="submit"], button {
    padding: 0.5em 1em;
    font-size: 1.2em;
}

/* partners */
#partners {}

#partners table {
    margin: 0px;
}

#partners table tr:nth-child(odd) {
    background-color: transparent;
}

#partners table tr td {
    height: 75px;
    padding: 0px;
    1text-align: center;
    vertical-align: middle;
    border: none;
}

#partners .without-border {
    width: 25%;
    padding: 15px 20px 0px 20px;
    float: left;
}

#partners .temp-border {
    width: 10%;
    padding: 15px 0px 0px 0px;
    float: left;
}

#partners .temp-border a {
    color: #333;
    font-weight: bold;
}

#partners .with-border {
    width: 50%;
    border: 1px solid #bcbcbc;
    border-radius: 15px;
    padding: 15px 20px 0px 20px;
    background: -o-linear-gradient(top, #fafbf4, #fff);
    background: -moz-linear-gradient(top, #fafbf4, #fff);
    background: -webkit-linear-gradient(top, #fafbf4, #fff);
    background: linear-gradient(top, #fafbf4, #fff);
    -pie-background: linear-gradient(top, #fafbf4, #fff);
    ;
    float: right;
    behavior: url(/bitrix/templates/narkostop/PIE/PIE.php);
}

#partners .with-border a {
    display: inline-block;
    color: #333;
    font-weight: bold;
    zoom: 1;
    *display: inline;
}

#partners .with-border a.spec {
    width: 100px;
    height: 47px;
    padding: 12px 0px 0px 69px;
    background: url('/images/partners/spec.png') top left no-repeat;
}

#partners .with-border a.sm-irk {
    1font-size: 0.8em;
    width: 138px;
    height: 49px;
    padding: 10px 0px 0px 69px;
    background: url('/images/partners/sm-irk-new.png') 8px 50% no-repeat;
}

#partners .with-border a.main-projects-dobrovol {
    width: 95px;
    height: 49px;
    padding: 10px 0px 0px 74px;
    background: url('/images/partners/logo_st.png') center left no-repeat;
}

#partners .with-border a.main-projects-gosuslugi {
    width: 95px;
    height: 49px;
    padding: 10px 0px 0px 74px;
    background: url('/images/partners/logo_gosusl.png') center left no-repeat;
}

#partners .clear {
    clear: both;
}

#counsel {
    margin: 0px 0px 20px 0px;
}

#footer .uplogo {
    float: right;
}

.banner-main-page {
    position: relative;
}

.banner-img {
    vertical-align: middle;
}

.banner-img-abs {
    position: absolute;
    right: 0;
    top: 1px;
}

/* end partners */
/* staff */
.staff-group-list {
    margin: 30px 0px;
}

.staff-group-item {
    margin: 50px 0px 0px 0px;
}

.staff-group-item:first-child {
    margin-top: 0;
}

.staff-group-title {
    font-size: 18px;
    margin: 0px 0px 30px 0px;
}

.staff-group-row {
    margin: 25px 0px 0px 0px;
}

.staff-group-row:first-child {
    margin-top: 0;
}

div#planeta-note img {
    width: 80px;
}

.staff-item {
    width: 33.333%;
    padding-right: 3.333%;
    float: left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.staff-item-title {
    font-size: 18px;
    margin: 0;
}

.staff-item-img-wrap {
    margin-bottom: 20px;
}

.staff-item-img {
    border-radius: 50%;
}

.staff-item-job {}

.staff-item-props {
    margin-top: 20px;
}

.staff-item-phone {
    font-size: 18px;
}

.staff-item-mail {}

/* end staff */
/* center */
.parent-help-text {
    font-size: 14px;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.filter-row:first-child {
    margin-bottom: 25px;
}

div[class^="filter-col"] {
    float: left;
}

.filter-col-12 {
    width: 100%;
}

.filter-col-6 {
    width: 50%;
}

.custom-select-wrapper {
    display: inline-block;
    position: relative;
}

.filter-select {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 7px 25px 7px 10px;
    top: 0;
    left: 0;
    line-height: 1;
    filter: alpha(Opacity=0);
    opacity: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.custom-select {
    height: 12px;
    padding: 7px 25px 7px 10px;
    line-height: 1;
    border: 1px solid #000;
    border-radius: 3px;
}

.custom-select:after {
    display: inline-block;
    content: "";
    width: 0px;
    height: 0px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #3b578d;
    position: absolute;
    top: 10px;
    right: 5px;
}

input[type=checkbox].filter-checkbox {
    display: none;
}

label.checkbox-label {
    display: inline-block;
    position: relative;
    padding-left: 21px;
    line-height: 16px;
}

label.checkbox-label:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 0;
}

label.checkbox-label:before {
    background: url('/images/checkbox.png') 0px 0px no-repeat;
}

input[type=checkbox].filter-checkbox:checked+label.checkbox-label:before {
    background-position: -16px 0px;
}

.center-balloon-wrapper {
    min-width: 255px;
    min-height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}

.center-balloon-content-wrapper {
    padding: 20px;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#eef4fc, endColorstr=#ffffff)";
    background-image: -webkit-linear-gradient(#eef4fc 0, #fff 100%);
    background-image: linear-gradient(#eef4fc 0, #fff 100%);
}

.center-balloon-tale-wrapper {
    text-align: center;
}

.center-balloon-tale {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
}

.center-balloon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
}

.center-logo {
    width: 25%;
    float: left;
    min-height: 54px;
}

.center-logo img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.center-desc {
    width: 68%;
    float: left;
}

.center-name {
    font-size: 14px;
}

.center-sub-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.center-sub-block {
    margin-top: 15px;
    font-size: 12px;
}

.center-sman-wrapper {
    text-align: center;
    margin-top: 20px;
}

.center-sman-img {
    min-height: 65px;
}

.center-sman-img img {
    border-radius: 50%;
    vertical-align: middle;
}

.center-sman-name-wrapper {
    margin-top: 5px;
}

.center-sman-name {
    font-weight: bold;
}

.center-list {}

.center-list-header {
    font-weight: bold;
    margin-bottom: 5px;
    padding: 0px 20px;
}

.center-item {
    padding: 20px;
}

.center-item:nth-child(odd) {
    background: #efefef;
}

.center-item:nth-child(even) {
    background: #f9f9f9;
}

div[class^="center-item-col"] {
    float: left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-left: 5%;
}

div[class^="center-item-col"]:first-child {
    padding-left: 0;
}

.center-item-col-1 {
    width: 35%;
}

.center-item-col-2 {
    width: 35%;
}

.center-item-col-3 {
    width: 30%;
}

.center-item-sman-img {
    width: 40%;
    float: left;
}

.center-item-sman-img img {
    border-radius: 55%;
    max-width: 100%;
    vertical-align: middle;
}

.center-item-sman {
    width: 50%;
    float: right;
}

.tab-control {
    margin-bottom: 20px;
}

.tab-control-list {
    list-style-type: none;
    text-align: right;
    margin: 0;
    padding: 0;
}

.tab-control-item {
    display: inline-block;
    padding: 8px;
    margin-left: 8px;
    border: 1px solid #000;
    border-radius: 3px;
    cursor: pointer;
}

.tab-control-item.active {
    background: #d5f3ff;
}

.tab-control-item:before {
    display: inline-block;
    content: "";
    width: 15px;
    margin-right: 5px;
    vertical-align: top;
}

.tab-control-item.map-item:before {
    height: 15px;
    background: url('/images/map-icon.png') top left no-repeat;
}

.tab-control-item.list-item:before {
    height: 12px;
    background: url('/images/list-icon.png') top left no-repeat;
}

.tab-item {
    display: none;
}

.tab-item.open {
    display: block;
}

/* end center */
#narkostop-vk {
    margin-top: 25px;
}

.banner-center {
    text-align: center;
    margin: 10px auto 0;
    width: 280px;
    display: block;
}

.map-footer-note {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 1em 2em;
    margin-bottom: 20px;
}

.terr-list-wrapper {
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 430px;
}

.terr-list {
    margin: -5px 0px 0px -3.333%;
}

.terr-item {
    display: inline-block;
    vertical-align: middle;
    width: 33.333%;
    pagging-left: 3.333%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin-top: 5px;
    font-size: 11px;
}

.rss-show {
    margin-top: 50px;
}

.rss-show-items {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    margin: 0 -15px 50px;
}

.rss-show__item {
    width: calc(50% - 30px);
    margin: 15px;
    line-height: 1.5;
}

.rss-show__item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.rss-show__item-date {
    margin: 10px 0;
}

.rss-show__item-link {
    display: inline-block;
    margin-bottom: 15px;
}

.rss-show__item-description {}



.images-items {
    display: flex;
    flex-wrap: wrap;
    margin: 30px -15px;
}

.images__item {
    width: calc(100% / 3 - 30px);
    margin: 15px;
}

.images__item a {
    display: block;
    line-height: 0;
    width: 100%;
    height: 100%;
}

.images__item img {
    /* width: 100%; */
    height: 90px;
    /* object-fit: cover; */
}