 /* The side navigation menu */
html {
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
}
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, .order-table th, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
    color: #5e5e5e;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    margin: 0 auto;
    padding-top: 73px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
}
a {
    color: #252a2b;
    transition: opacity 150ms linear, color 150ms linear, background 150ms linear;
    text-decoration: none;
}
a:hover {
    color: Red;
    text-decoration: none;
}

ol, ul {
    list-style: none;
}
input, textarea {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
    font-family: Arial;
    color: #272727;
    font-size: 15px;
    outline: none;
    overflow: auto;
}
TEXTAREA {
    outline: none;
    overflow: auto;
    font-family: arial;
}
RED {
    color: red;
}
WHITE {
    color: white;
}
A.red, P.red, DIV.red {
    color: red;
}
A.red:hover {
    color: Silver;
}
RED A {
    color: red;
}
RED A:hover {
    color: Silver;
}
.hidden {
    display: none;
}
.vhidden {
    visibility: hidden;
}

.block-flow {
    margin-bottom: 30px;
}
.block-flow-top {
    margin-top: 30px;
}
.block-flow-small {
    margin-bottom: 10px;
}
.block-stars-top {
    position: relative;
}
.block-stars-top::before {
    content: '★★★';
    display: block;
    text-align: center;
}
.block-head {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.block-head .link {
    background-color: gray;
    line-height: 26px;
    display: block;
    padding: 0;
    text-align: center;
    border-radius: 5px;
    color: #FFF;
    font-size: 14px;
    white-space: nowrap;
    text-transform: none;
    padding: 0 7px;
}
.bold, strong {
    font-weight: bold;
}


blockquote:before, blockquote:after {
    content: "";
}
blockquote{
    font-size: 15px;
    line-height: 22px;
    text-align:left;
    quotes: "" "";
    border-left: 3px solid #737e7e;
    padding-left: 10px;
    margin: 1em 2em;
}

em {
    font-style: italic; 
}

/********************************************* CONTENT ****************************************************/

content {
    font-size: 18px;
    position: relative;
    overflow: hidden;
    zoom: 1;
    margin: 20px 0 0 0;
    display: block;
    font-family: Arial;
}
content P {
    margin: 1em 10px 1em 10px;
    font-size: 16px;
    line-height: 1.5em;
    text-align: left;
    justify-content: space-around;
}


.center-content {
    max-width: 670px; 
}

content h1 {
    margin: 0 10px 0 10px;
    font-size: 22px;
    line-height: 1.5em;
}
content h2 {
    margin: 1em 10px 1em 10px;
    font-size: 20px;
    line-height: 1.5em;
}

.text-content UL {
    margin-bottom: 1em;
    line-height: 26px;
    color: Gray;
    margin-left: 1.5em;
    font-size: 16px;
    list-style: circle;
}
.text-content OL {
    margin-bottom: 1em;
    line-height: 26px;
    color: Gray;
    margin-left: 1.5em;
    font-size: 16px;
    list-style: decimal;
}
.text-content ol>li, .text-content ul>li {
    margin-left: 1.5em;
}

content IMG {
    max-width: 100%;
    height: auto;
    width: auto;
    margin: 1em auto;
    display: block;
}
content iframe {
    width: 100%;
    margin: 1em auto;
    display: block;
}
    
.mine-block {
    transition: 0.5s;
    padding: 0;
    z-index: 100;
    width: 100%;
    position: relative;
}

.comments-count {
    background-image: url('/templates/4.0/img/comment.png');
    background-repeat: no-repeat;
    background-position: left 4px;
    margin-left: 10px;
    padding-left: 13px;
}
.photos-count {
    background-image: url('/templates/4.0/img/gallery.png');
    background-repeat: no-repeat;
    background-position: left 50%;
    margin-left: 10px;
    padding-left: 13px;
}

.mine-overlay, .auth-overlay, .plus-overlay, .more-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 899;
    display: none;
    background-color: #1f1f1f;
    transition: 0.5s;
    opacity: 0;
}
.more-overlay {
    background-color: silver;
    z-index: 100;
}

.ad-block-index {
    width: 100%;
    text-align: center;
    z-index: 202;
    position: relative;
}
.ad-block-index IMG {
    max-width: 100%;
    height: auto;
    width: auto;
    margin: 0 auto;
    display: block;
}
@media screen and (max-width:960px)
{
    .index-mine-content .block-right-one {
        display: none;
    }
    .ad-block-index {
        box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
    }
}

.button-center {
    width: 190px;
    margin: 10px auto;
    position: relative;
    width: 100%;
    flex-basis: 100%;
    display: flex;
    justify-content: center;
}
.button-center A {
    background-color: #eeeeee;
    color: gray;
    line-height: 32px;
    display: block;
    padding: 0;
    text-align: center;
    border-radius: 5px;
    font-size: 15px;
    width: 190px;
    margin: 0 5px;
}
.button-center.double A:first-child {
    margin: 0 2px 0 10px;
    border-radius: 5px 0 0 5px;
}
.button-center.double A:last-child {
    margin: 0 10px 0 2px;
    border-radius: 0 5px 5px 0;
}

.button-center A.dis {
    color: white;
}
    
/********************************************* HEADER ****************************************************/
    
.nav-buttons {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}

.nav-buttons .ya {
    background-color: #FFF;
    border-radius: 5px;
    line-height: 40px;
    font-size: 0.8em;
    background-image: url(/templates//4.0/img/yanav.png);
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 40px;
    flex-grow: 1;
    display: flex;
    width: 50%;
    margin-right: 5px;
    border: 1px solid silver;
}
.nav-buttons .gg {
    background-color: #FFF;
    border-radius: 5px;
    line-height: 40px;
    font-size: 0.8em;
    background-image: url(/templates/4.0/img/ggmaps.png);
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 40px;
    flex-grow: 1;
    display: flex;
    width: 50%;
    margin-left: 5px;
    border: 1px solid silver;
}

@media screen and (max-width:630px)
{
    .nav-buttons {
        display: block;
        margin: 0 10px;
    }
    .nav-buttons .gg, .nav-buttons .ya {
        margin: 5px 0;
        width: auto;
    }
}
/********************************************* HEADER ****************************************************/
    

header {
    border-bottom: 0;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
    background: #1f1f1f;
    font-family: Arial;
    right: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color:#252a2b;
    z-index: 900;
    min-height: 72px;
    transition: 0.5s;
    top: 0;
    align-items: center;
    width: 100%;
    height: 73px;
    position: relative;
}

.menu-button-auth, .menu-button-mine, .menu-button-plus, .menu-button-lm {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid Silver;
    border-radius: 10px;
    line-height: 40px;
    height: 40px;
    position: absolute;
    margin: 0;
    width: 40px;
    cursor: pointer;
    color: Silver;
}
.menu-button-auth.plus {
    font-size: 20px;
    border: 2px solid #FFF;
	font-weight: bold;
	color: #FF0000;
	text-shadow: 
		-0   -1px 3px #FFFFFF,
		 0   -1px 3px #FFFFFF,
		-0    1px 3px #FFFFFF,
		 0    1px 3px #FFFFFF,
		-1px -0   3px #FFFFFF,
		 1px -0   3px #FFFFFF,
		-1px  0   3px #FFFFFF,
		 1px  0   3px #FFFFFF,
		-1px -1px 3px #FFFFFF,
		 1px -1px 3px #FFFFFF,
		-1px  1px 3px #FFFFFF,
		 1px  1px 3px #FFFFFF,
		-1px -1px 3px #FFFFFF,
		 1px -1px 3px #FFFFFF,
		-1px  1px 3px #FFFFFF,
		 1px  1px 3px #FFFFFF;
}
.menu-button-auth.minus, .menu-button-auth.ava {
    font-size: 20px;
    border: 2px solid silver;
	font-weight: bold;
	color: Silver;
    text-transform: uppercase;
    font-weight: normal;
	text-shadow: 
		-0   -1px 3px #000,
		 0   -1px 3px #000,
		-0    1px 3px #000,
		 0    1px 3px #000,
		-1px -0   3px #000,
		 1px -0   3px #000,
		-1px  0   3px #000,
		 1px  0   3px #000,
		-1px -1px 3px #000,
		 1px -1px 3px #000,
		-1px  1px 3px #000,
		 1px  1px 3px #000,
		-1px -1px 3px #000,
		 1px -1px 3px #000,
		-1px  1px 3px #000,
		 1px  1px 3px #000;
}
.menu-button-auth.ava {
    border: 0;
    width: 44px;
    height: 44px;
    line-height: 44px;
}

.menu-button-auth:hover, .menu-button-mine:hover, .menu-button-plus:hover {
    border-color: Gray;
    color: Gray;
}
.menu-button-auth.plus:hover {
    color: black;
    border-color: white;
}

.menu-button-mine {
    display: block;
    left: 20px;
}
.menu-button-auth {
    display: block;
    right: 20px;
    font-size: 30px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
}
.menu-button-plus {
    display: block;
    right: 70px;
}
.menu-button-lm {
    display: block;
    left: 70px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
    background-image: url(/templates/4.0/img/lm.jpg);
    border: 0;
    display: none;
    width: 44px;
    height: 44px;
}

@media screen and (min-width:630px)
{
    .menu-button-plus {
        display: block;
        right: 80px;
    }
}
@media screen and (min-width:630px) and (max-width:960px)
{
    .menu-button-lm {
        display: block;
        left: 80px;
    }
}
@media screen and (min-width:961px)
{
    .menu-button-lm {
        display: block;
        right: 140px;
        left: auto;
    }
}
.head-logo {
    position: absolute;
    left: calc(50% - 50px);
    margin: 0;
    vertical-align: middle;
}

.menu-button-mine span { 
    position: absolute;
    left: calc(50% - 15px);
    height: 3px;
    background: Silver;
    transition: all .25s ease;
    width: 30px;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: 50% 50%;
}
.menu-button-mine span::before {  
    content: '';  
    position: absolute;
    left: 0;
    height: 3px;
    background: Silver;
    transition: all .25s ease;
    width: 30px;
    top: 0;
    transform: translateY(-10px);
}  
.menu-button-mine span::after {  
    content: '';  
    position: absolute;
    left: 0;
    height: 3px;
    background: Silver;
    transition: all .25s ease;
    width: 30px;
    top: 50%;
    transform: translateY(8px);
}  

.menu-button-plus span::before {  
    content: '';  
    position: absolute;
    left: calc(50% - 10px);
    height: 3px;
    background: Silver;
    transition: all .25s ease;
    width: 21px;
    top: 50%;
    transform: translateY(-2px);
}  
.menu-button-plus span::after {  
    content: '';  
    position: absolute;
    left: calc(50% - 10px);
    height: 3px;
    background: Silver;
    transition: all .25s ease;
    width: 21px;
    top: 50%;
    transform: translateY(-2px) translateX(0px) rotate(90deg);
}  

@media screen and (max-width:360px)
{
    .menu-button-auth, .menu-button-mine, .menu-button-plus {
        line-height: 34px;
        height: 34px;
        width: 34px;
    }

    .menu-button-auth.ava {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }

    .menu-button-mine span { 
        left: calc(50% - 12px);
        width: 24px;
    }
    .menu-button-mine span::before {  
        width: 24px;
        transform: translateY(-8px);
    }
    .menu-button-mine span::after {  
        width: 24px;
        transform: translateY(6px);
    }
}

@media screen and (max-width:320px)
{
    .menu-button-mine {
        left: 10px;
    }
    .menu-button-auth {
        right: 10px;
    }
    .menu-button-plus {
        right: 60px;
    }
}
    

/*********** Навигация ***************/
.mobile-navigation {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 902;
    top: 0;
    background-color: #1f1f1f;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 0;
    transition: 0.5s;
}
    
.mobile-navigation .inner {
    overflow-y: visible;
    position: relative;
}

.mobile-navigation UL {
    padding: 0;
    margin: 0;
    list-style: none;
}
.mobile-navigation LI {
    line-height: 40px;
}

.have-parent {

}

.mobile-navigation a {
    padding-left: 20px; 
    line-height: 40px;
    border-bottom: 1px solid #111111;
    text-decoration: none;
    font-size: 16px;
    color: #818181;
    display: block;
    transition: 0.5s;
    position: relative;
}

.mobile-navigation UL LI > UL {
    overflow: hidden;
    max-height:0;
    -webkit-transition: max-height 1s ease;
    -moz-transition: max-height 1s ease;
    -o-transition: max-height 1s ease;
    transition: max-height 1s ease;
}
.mobile-navigation UL LI > UL LI A {
    transition: 0.5s;
    padding-left: 40px;
    transition: none;
}
.mobile-navigation a:hover {
    color: #f1f1f1;
}


.navigation-more {
    height: 100%;
    width: 280px;
    right: -280px;
    position: fixed;
    z-index: 101;
    background-color: silver;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 0;
    transition: 0.5s;
}
.navigation-more .inner {
    overflow-y: visible;
    position: relative;
}
.navigation-more UL {
    background-color: silver;
    z-index: 99;
}
.navigation-more UL LI {
    flex-grow: 1;
    text-align: center;
    letter-spacing: 1px;
}
.navigation-more UL LI A {
    display: block;
    line-height: 50px;
    text-transform: uppercase;
    font-size: 14px;
}

.navigation-more UL LI A:hover {
    color: white;
}

.navigation-more-opened UL.mine-links LI A SPAN::before {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
    margin-top: 0;
}

/*
@media screen and (max-width:960px)
{
    .navigation-more-opened .navigation-more {
        right: 0;
    }
    .navigation-more-opened .more-moving-block {
        margin-left: -280px;
        position: fixed;
    }
    .navigation-more-opened .more-overlay {
        display: block;
    }
    .navigation-more-opened .more-overlay {
        display: block;
    }
}
*/

.navigation-more-opened .navigation-more {
    right: 0;
}
.navigation-more-opened .more-moving-block {
    margin-left: -280px;
    position: fixed;
}
.navigation-more-opened .more-overlay {
    display: block;
}
.navigation-more-opened .more-overlay {
    display: block;
}

.navigation-auth {
    right: -280px;
}
.navigation-auth .head {
    line-height: 73px;
}
.navigation-auth .head SPAN {
    margin-left: 20px;
}
.navigation-auth .head SPAN, .navigation-auth .head A {
    line-height: 73px;
    font-size: 24px;
}
.navigation-auth INPUT {
    width: calc(100% - 40px);
    margin: 0 20px;
    font-size: 16px;
    line-height: 40px;
    border: 2px solid #525252;
    border-radius: 5px;
    background-color: #414141;
    padding: 0 10px;
    color: white;
}
.navigation-auth .enter {
    display: flex;
    justify-content: center;
    margin: 10px 20px;
    width: calc(100% - 40px);
}
.navigation-auth .enter INPUT {
    margin: 0;
    border-radius: 5px 0 0 5px;
}
.navigation-auth .enter BUTTON {
    flex-grow: 1;
    margin-right: 0;
    line-height: 28px;
    width: 30%;
    font-size: 16px;
    background-color: #525252;
    color: white;
    border-radius: 0 5px 5px 0;
    padding: 0 10px;
}
.navigation-auth .remind {
    margin: 10px 20px;
    width: calc(100% - 40px);
}
.navigation-auth .remind BUTTON {
    flex-grow: 1;
    margin-right: 0;
    font-size: 16px;
    background-color: #525252;
    color: white;
    width: 100%;
    border-radius: 5px;
    padding: 0 10px;
    height: 44px;
}
.navigation-auth .errors DIV {
    margin: 0 20px;
    color: white;
    background-color: red;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 14px;
    text-align: center;
}
.navigation-auth .links {
    border-bottom: 1px solid #111111;
    display: flex;
    justify-content: space-between;
    padding-right: 20px;
}
.navigation-auth .links A {
    display: block;
    border-bottom: 0;
}

.navigation-auth-opened .navigation-auth {
    right: 0;
}
.navigation-auth-opened .mine-block {
    margin-left: -280px;
    position: fixed;
}
.navigation-auth-opened .auth-overlay {
    display: block;
}

.navigation-plus {
    right: -280px;
}

.navigation-plus .head {
    height: 73px;
    line-height: 73px;
    font-size: 24px;
}

.navigation-plus .head A {
    height: 73px;
    line-height: 73px;
    font-size: 24px;
}
.navigation-plus .head SPAN {
    margin-left: 20px;
    height: 73px;
    line-height: 73px;
    font-size: 24px;
}

.navigation-plus-opened .navigation-plus {
    right: 0;
}
.navigation-plus-opened .mine-block {
    margin-left: -280px;
    position: fixed;
}
.navigation-plus-opened .plus-overlay {
    display: block;
}

.auth-vk A {
    background-color: #547aa8;
    line-height: 32px;
    display: block;
    padding: 0;
    text-align: center;
    border-radius: 5px;
    color: #FFF;
    margin: 10px 20px;
    font-size: 14px;
}
.auth-vk A:hover {
    background-color: #335885;
    color: #FFF;
}
.auth-fb A {
    background-color: #4064b3;
    line-height: 32px;
    display: block;
    padding: 0;
    margin-bottom: 5px;
    text-align: center;
    border-radius: 5px;
    color: #FFF;
    margin: 10px 20px;
    font-size: 14px;
}
.auth-fb A:hover {
    background-color: #2b4c94;
    color: #FFF;
}
.auth-tw A {
    background-color: #00aced;
    line-height: 32px;
    display: block;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 5px;
    color: #FFF;
    margin: 10px 20px;
    font-size: 14px;
}
.auth-tw A:hover {
    background-color: #0694ca;
    color: #FFF;
}
.auth-vk A SPAN, .auth-fb A SPAN, .auth-tw A SPAN {
    float: left;
    line-height: 32px;
    border-right: 1px solid #1f1f1f;
    width: 25px;
    text-align: center;
    font-size: 20px;
}

.page-loading {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-loading IMG {
    display: block;
}
.small {
    font-size: 12px;
}

/********************************************* head_message_id ****************************************************/
#head_message_id {
    width: 100%;
    position: fixed;
    z-index: 999;
    display: none;
}
#head_message_id .inner {
    top: 85px;
    left: calc(50% - 150px);
    width: 300px;
    margin: 0 auto;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: none repeat scroll 0 0 #F6BC5D;
    text-align: center;
    font-size: 18px;
    padding: 5px 0;
    margin: 0 auto;
    z-index: 99;
    color: #222222;
    position: absolute;
    border: 1px solid #1f1f1f;
}

/********************************************* ВЕРСТКА ****************************************************/
/************************** Слайдаун менюха ***********/

@media screen and (min-width:361px)
{ 
    content P {
        font-size: 18px;
    }
    content h1 {
        font-size: 26px;
    }
}

UL.mine-head-way LI {
    text-align: center;
    font-size: 14px;
    line-height: 50px;
    flex-grow: 2;
}
UL.mine-head-way LI A {
    display: block;
}
UL.mine-head-way LI A:hover {
    color: #5e5e5e;
}
UL.mine-head-way LI:first-child {
    margin-left: 15px;
}
UL.mine-head-way LI:first-child INPUT {
    width: 100%;
    line-height: 50px;
    color: #dfdfdf;
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
    font-size: 16px;
}
UL.mine-head-way LI:last-child {
    flex-grow: 0;
    width: 50px;
    margin-right: 15px;
}
UL.mine-head-way LI:last-child A {
    width: 50px;
    height: 50px;
    display: block;
    background-image: url(/templates/4.0/img/options.png);
    background-position: center;
    background-repeat: no-repeat;
}


.mobile-navigation .navigation-tree {
    width: 45px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease;
}
.mobile-navigation .navigation-tree::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -2px;
    box-sizing: border-box;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    -webkit-transform-origin: center;
    transform-origin: center;
    margin-top: -2px;
    -webkit-transform: translate(-50%, -50%) rotate(-135deg);
    transform: translate(-50%, -50%) rotate(-135deg);
    transition: 0.5s;
}
.mobile-navigation .navigation-tree-opened SPAN::before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
    margin-top: 0;
}
.mobile-navigation .navigation-tree-opened UL {
    max-height: 700px;
}

UL.mine-links {
    background-color: silver;
    display: flex;
    justify-content: center;
    z-index: 99;
    position: relative;
}
UL.mine-links LI {
    flex-grow: 1;
    text-align: center;
    letter-spacing: 1px;
}
UL.mine-links LI H1 {
    font-size: 14px;
    padding: 15px 0;
    text-transform: uppercase;
}
UL.mine-links LI A {
    display: block;
    padding: 15px 0;
    text-transform: uppercase;
    font-size: 14px;
}
UL.mine-links LI A.link-more {
    padding-right: 20px;
}
UL.mine-links LI A SPAN {
    width: 45px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease;
}
UL.mine-links LI A SPAN::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    box-sizing: border-box;
    border-top: 2px solid #252a2b;;
    border-left: 2px solid #252a2b;;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: translate(-50%, -50%) rotate(135deg);
    transform: translate(-50%, -50%) rotate(135deg);
    transition: 0.5s;
}

UL.mine-links LI A:hover {
    color: #5e5e5e;
}
UL.mine-links LI:not(:last-child)
{
    border-right: 1px solid #dadada;
}
UL.mine-links LI.current {
    background-color: #FFF;
}
UL.mine-links LI.current A {
    color: #5e5e5e;
}
UL.mine-links LI > UL {
    position: absolute;
    background-color: silver;
}

UL.mine-links LI:hover > UL {
    display: block;
}

@media screen and (max-width:960px)
{
    .mobile-navigation UL LI.only-top {
        display: none;
    }
    
    /* Мобильник, все меню закрыты */
    .navigation-mine {
        left: -280px;
    }
    
    /*
    .mobile-navigation UL:first-child {
        margin-top: 35px;
    }
    */

    .navigation-mine-opened .navigation-mine {
        left: 0;
    }
    .navigation-mine-opened .mine-block {
        margin-left: 280px;
        position: fixed;
    }
    .navigation-mine-opened .mine-overlay {
        display: block;
        transition: 0.5s;
    }

    content.index-mine-content {
        margin: 0 auto;
    }
    header {
        position: relative;
    }
    UL.mine-head-way {
        background-color: #444444;
        display: flex;
        justify-content: center;
        z-index: 200;
        position: relative;
        box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
    }
}
@media screen and (max-width:500px)
{
    UL.mine-links LI > UL {
        right: 0;
        width: 200px;
    }
}
@media screen and (max-width:320px)
{
    UL.mine-links LI {
        letter-spacing: 0.2px;
    }
    UL.mine-links LI A {
        font-size: 13px;
    }
}
@media screen and (min-width:631px) and (max-width:960px) {
    content {
        width: 630px;
        margin: 20px auto 0 auto;
    }
}
@media screen and (min-width:961px)
{
    /* Компьютер, меню сверху, фиксированная ширина и другая раскидка блоков */
    UL.mine-links:not(.inner) {
        display: none;
    }
    .menu-button-mine {
        display: none;
    }
    /*
    .navigation-auth UL:first-child {
        margin-top: 35px;
    }
    */
    .navigation-mine {
        align-items: center;
        left: auto;
        margin: 0 auto;
        position: initial;
        width: auto;
    }
    .navigation-mine .inner {
        position: inherit;
        height: 100%;
    }
    .navigation-mine UL {
        display: flex;
        flex-flow: wrap;
        height: 100%;
        white-space: nowrap;
    }
    .navigation-mine UL LI {
        height: 100%;
        align-items: center;
        display: flex;
        text-transform: uppercase;
        color: #fff;
        font-family: Arial;
        font-weight: 300;
    }
    .navigation-mine UL LI.first-lavel:nth-child(10) {
        order: 1;
    }
    .navigation-mine UL LI.first-lavel:nth-child(11) {
        order: 2;
    }
    .navigation-mine UL LI.first-lavel:nth-child(12) {
        order: 4;
    }
    .navigation-mine UL LI.first-lavel:nth-child(13) {
        order: 5;
    }
    .navigation-mine UL LI.first-lavel:nth-child(8) {
        order: 3;
    }
    .navigation-mine UL LI A {
        color: #FFF;
        border: 0;
    }
    .navigation-mine UL LI.clear {
        flex-basis: 100%;
        height: 0;
        padding: 0;
    }
    .navigation-mine UL LI A:hover {
        color: #818181;
    }
    .navigation-mine UL .navigation-tree {
        display: none;
    }
    .navigation-mine UL LI.only-left {
        display: none;
    }
    .navigation-mine ul li > ul {
        max-height: none;
        overflow: auto;
        visibility: hidden;
        display: flex;
        height: auto;
        justify-content: center;
        position: absolute;
        width: 70%;
        padding: 0 15%;
        left: 0;
        background-color: #ededed;
        top: 73px;
        opacity: 0;
        transition: opacity 0.3s ease-in;
        z-index: 999;
        box-shadow: 0px 3px 10px rgba(0,0,0,0.15);
    }
    .navigation-mine UL LI.navigation-father:hover > UL {
        visibility: visible;
        opacity: 1;
    }
    .navigation-mine ul li > ul li {
        order: 0;
    }
    .navigation-mine ul li > ul li A {
        color: Gray;
        padding: 0 20px;
    }
    .navigation-mine ul li > ul li A.red {
        color: red;
        font-size: 14px;
    }
    .navigation-mine ul li > ul li A:hover, .navigation-mine ul li > ul li A.red:hover {
        color: black;
    }
    .head-logo {
        position: absolute;
        left: 20px;
        margin: 0;
        vertical-align: middle;
    }
    content {
        width: 960px;
        margin: 20px auto 0 auto;
    }

    content P {
        margin: 1em 0;
    }

    content h1, content h2 {
        margin: 0 0 0 0;
    }

    UL.mine-head-way {
        background-color: #444444;
        display: flex;
        justify-content: center;
        position: relative;
        width: 960px;
        margin: 20px auto 0 auto;
    }
}

/********************** Размер меню в зависимости разрешения монитора *************/
.mine-head-search {
    border-bottom: 1px solid #d7d7d7;
    position: relative;
}
.mine-head-search INPUT {
    background-image: url(/templates/4.0/img/search.png);
    background-position: 10px center;
    background-repeat: no-repeat;
    line-height: 40px;
    border: 0;
    padding-left: 35px;
    color: gray;
    font-size: 15px;
    width: calc(100% - 40px - 30px);
}
@media screen and (max-width:681px) {
    .mine-head-search INPUT {
        background-position: 15px center;
        padding-left: 40px;
    }
}
INPUT::-webkit-input-placeholder {color:silver;}
INPUT::-moz-placeholder          {color:silver;}/* Firefox 19+ */
INPUT:-moz-placeholder           {color:silver;}/* Firefox 18- */
INPUT:-ms-input-placeholder      {color:silver;}

/********************** incident *************/
.incident-notification {
    position: absolute;
    right: 10px;
    top: calc(50% - 13px);
    background-image: url(/templates/4.0/img/notice.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 26px;
    height: 26px;
    background-color: gray;
    border-radius: 50%;
}
.incident-notification.light {
    background-color: silver;
}
.incident-plus {
    position: absolute;
    right: 41px;
    top: calc(50% - 13px);
    width: 26px;
    height: 26px;
    background-color: red;
    border-radius: 50%;
}

.incident-plus::before {
    content: '';
    position: absolute;
    left: calc(50% - 7px);
    height: 2px;
    background-color: white;
    transition: all .25s ease;
    width: 14px;
    top: 50%;
    transform: translateY(-1px);
}
.incident-plus::after {
    content: '';
    position: absolute;
    left: calc(50% - 7px);
    height: 2px;
    background-color: white;
    transition: all .25s ease;
    width: 14px;
    top: 50%;
    transform: translateY(-1px) translateX(0px) rotate(90deg);
}

/********************** Размер меню в зависимости разрешения монитора *************/
@media screen and (min-width:961px) and (max-width:1120px)
{
    .head-logo IMG {
        width: 80px;
        height: auto;
    }

    .navigation-mine UL LI {
        letter-spacing: 0px;
    }
    .navigation-mine UL LI A {
        font-size: 16px;
        padding: 0 8px;
    }
}
@media screen and (min-width:1121px) and (max-width:1250px)
{
    .navigation-mine UL LI {
        letter-spacing: 1px;
    }
    .navigation-mine UL LI A {
        font-size: 17px;
        padding: 0 12px;
    }
}
@media screen and (min-width:1251px)
{
    .navigation-mine UL LI {
        letter-spacing: 2px;
    }
    .navigation-mine UL LI A {
        font-size: 18px;
        padding: 0 15px;
    }
}

/************************************* side-flow AND margins ********************************/
.side-flow {
    margin-left: 10px;
    margin-right: 10px;
}

@media screen and (min-width:500px)
{
    .object-item .image {
        max-height: 200px;
        overflow: hidden;
    }
    .object-item .image IMG {
        
    }
}
@media screen and (min-width:651px) {
    .side-flow, CONTENT P, CONTENT H1, CONTENT H2 {
        margin-left: 0;
        margin-right: 0;
    }
}

/************************************* objects-item ********************************/
.object-item {
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #d7d7d7;
}
.object-list.line-top .object-item, .object-item.line-top {
    padding-bottom: 0;
    padding-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 0;
    border-top: 1px solid #d7d7d7;
}
.object-item .desc {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5em;
    color: #5e5e5e;
}
.object-item .title {
    margin-bottom: 10px;
    line-height: 1.5em;
}
.object-item .title.gallery {
    background-image: url(/templates/4.0/img/gallerytitle.png);
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 32px;
}
.object-item .image {
    margin-bottom: 10px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
    height: 200px;
}
.object-item .more {
    font-size: 14px;
    color: Gray;
}
.object-item .photos, .blogs-item .photos {
    margin-bottom: 4px;
}
.object-item .photos A, .blogs-item .photos A {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
    margin-bottom: 6px;
    display: block;
}
.object-item .photos.one, .blogs-item .photos.one {
    
}
.object-item .photos.one A, .blogs-item .photos.one A {
    height: 300px;
}
.object-item .photos.two, .blogs-item .photos.two {
   justify-content: space-between;
    display: flex;
}
.object-item .photos.two A, .blogs-item .photos.two A {
    height: 200px;
    flex-basis: calc(50% - 5px);
}
.object-item .photos.more, .blogs-item .photos.more {
   justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
}
.object-item .photos.more A:first-child, .blogs-item .photos.more A:first-child {
    height: 200px;
    width: 100%;
}
.object-item .photos.more A:not(:first-child), .blogs-item .photos.more A:not(:first-child) {
    height: 100px;
}



/************************************* read-block ********************************/
.read-block {
    
}
.read-block .text-content {
    height: 286px;
    position: relative;
    overflow: hidden;
    zoom: 1;
}
.read-block .block-right-one .more-news {
    display: none;
}
.read-block .text-content::after {
    content: 'Показать полностью \2B07';
    font-family: sans-serif;
    cursor: pointer;
    padding-top: 100px;
    color: black;
    letter-spacing: 1px;
    font-size: 15px;
    text-align: center;
    background: -moz-linear-gradient(bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 );
    background-position: 20px;
    bottom: 0;
    width: 100%;
    line-height: 20px;
    position: absolute;
}

/************************************* event-item ********************************/
.event-item {
    padding-bottom: 20px;
    padding-top: 20px;
    width: 100%;
    border-bottom: 1px solid #d7d7d7;
}
.event-item-small {
    padding-bottom: 15px;
    padding-top: 15px;
    width: 100%;
}
.event-item IMG {
    margin: 0;
}
.event-item.highlight {
	background-color: #5b5b5b;
    margin-top: 2px;
}
.event-item .side-flow, .event-item-small .side-flow {
    display: flex;
    align-items: stretch;
    margin-right: 10px;
    justify-content: flex-end;
}
.event-item .desc {
    display: block;
    overflow: hidden;
    zoom: 1;
    width: calc(70% - 10px);
}
.event-item-small .desc {
    display: block;
    overflow: hidden;
    zoom: 1;
    width: 80%;
}
.event-item .image {
    width: 30%;
    margin-right: 10px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
}
.event-item-small .image {
    width: 20%;
    margin-right: 10px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
}

.event-item .image A, .event-item-small .image A {
    display: block;
    width: 100%;
    height: 100%;
}
.event-item .title, .event-item-small .title {
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.event-item-small .title {
    font-size: 17px;
}
.event-item .title A, .event-item-small .title A {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
}
.event-item.highlight .title {
    color: white;
}

.event-item .signers, .object-item .signers, .user-item .signers {
    overflow: hidden;
    zoom: 1;
    height: 36px;
    margin-bottom: 5px;
    position: relative;
}
.event-item .signers DIV, .object-item .signers DIV, .user-item .signers DIV {
    float: left;
    border-radius: 50%;
    border: 2px solid #FFF;
    margin: 0;
    width: 32px;
    height: 32px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
    overflow: hidden;
    -webkit-box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.25);
    box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.25);
    background-image: url(https://img.spb.systems/new/users/32X32/0.gif);
}

.event-item.highlight .signers DIV {
    border: 2px solid #5b5b5b;
}

.event-item .signers DIV:not(:first-child), .object-item .signers DIV:not(:first-child), .user-item .signers DIV:not(:first-child) {
    margin: 0;
    margin-left: -10px;
}
.event-item .signers IMG, .object-item .signers IMG, .user-item .signers IMG {
    margin: 0;
}

.event-item .signers DIV:nth-child(n+4), .object-item .signers DIV:nth-child(n+4), .user-item .signers DIV:nth-child(n+4) {
    display: none;
}
.event-item .signers SPAN, .object-item .signers SPAN, .user-item .signers SPAN {
    line-height: 36px;
    font-size: 13px;
    margin-left: 10px;
    color: Gray;
    width: calc(100% + 200px);
}
.event-item .more, .event-item-small .more, .event-item .photos-count  {
    font-size: 14px;
    color: Gray;
    white-space: nowrap;
    position: relative;
}
.event-item .photos-count, .event-item-small .photos-count {
    margin-left: 2px;
    font-size: 12px;
}
.event-item.highlight .more, .event-item.highlight .photos-count {
    color: #a8a8a8;
}
.event-item .more:after, .event-item .title:after, .event-item-small .more:after, .event-item-small .title:after, .event-item .signers:after {
    content: '';
    background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5b5b5b', endColorstr='#5b5b5b',GradientType=1 );
    position: absolute;
    right: 0;
    top: 0;
    width: 47px;
    height: 30px;
}
.event-item.highlight .more:after, .event-item.highlight .title:after, .event-item.highlight .signers:after {
    background: -moz-linear-gradient(left,  rgba(91,91,91,0) 0%, rgba(91,91,91,1) 100%);
    background: -webkit-linear-gradient(left,  rgba(91,91,91,0) 0%,rgba(91,91,91,1) 100%);
    background: linear-gradient(to right,  rgba(91,91,91,0) 0%,rgba(91,91,91,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5b5b5b', endColorstr='#5b5b5b',GradientType=1 );
}
.event-item .signer-block {
    margin-top: 10px;
    font-size: 12px;
}
.event-item .signer-block .one {
    display: inline-block;
}
.event-item .flow {
    margin-bottom: 10px;
}
.event-item-small .flow {
    margin-bottom: 5px;
}

.event-item-small .photos-string {
    display: flex;
    justify-content: flex-start;
    font-size: 14px;
    line-height: 24px;
}
.event-item-small .photos {
    background-color: transparent;
    border: 0;
    font-size: 12px;
    margin-right: 5px;
}
.event-item-small .photos::after {
    content: 'Загрузить фото';
    border: 1px solid silver;
    color: gray;
    padding: 0 10px;
    line-height: 24px;
    height: 24px;
    height: 24px;
    display: inline-block;
    border-radius: 15px;
}
.event-item-small .photos-count SPAN {
    display: none;
}
@media screen and (min-width:500px)
{
    .event-item-small .photos::after {
        content: 'Загрузить фотографии';
    }
    .event-item-small .photos-count SPAN {
        display: inline;
    }
}


/**************************************************** motoalert-block **************************************/
.motoalert-block {
	overflow: hidden;
	zoom: 1;
    border: 1px solid Black;
    background-color: #f42e23;
    color: #FFF;
}
.motoalert-block A {
	color: #FFF;
}
.motoalert-block A:hover {
    color: #e0b8b6;
}
.motoalert-block .operator {
	margin-bottom: 1px;
	font-size: 1.1em;
	text-align: justify;
	-moz-text-align-last: justify;
	-webkit-text-align-last: justify;
	text-align-last: justify;
    font-size: 13px;
}
.motoalert-block .details {
	overflow: hidden;
	zoom: 1;
    margin: 5px 10px;
}
.motoalert-block .details .report {
	line-height: 1.5em;
	font-size: 1.55em;
	white-space: nowrap;
	text-align: justify;
	-moz-text-align-last: justify;
	-webkit-text-align-last: justify;
	text-align-last: justify;
    font-size: 17px;
}
.motoalert-block .details .report A {
	text-transform: uppercase;
}
.motoalert-block .details .hisotry {
	float: right;
    font-size: 13px;
}
.motoalert-block .details .actions {
	float: left;
    font-size: 13px;
}

/**************************************************** users-block **************************************/
.users-block {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
}
.users-block .block-head {
    flex-basis: 100%;
    padding: 0;
}
.users-block IMG {
    width: auto;
    max-width: 100%;
    margin: 0 0 4px 0;
}

.photos-block {
    padding-top: 15px;
    padding-bottom: 30px;
}
.photos-block .head {
    display: flex;
    justify-content: space-between;
    color: gray;
    margin-bottom: 10px;
    font-size: 18px;
}
.photos-block .head DIV:first-child {
    text-transform: uppercase;
    font-size: 18px;
}
.photos-block .head DIV A {
    color: gray;
}
.photos-block .head DIV A:hover {
    color: black;
}
.photos-block .images {

}
.photos-block .images A {
    display: block;
    height: 100px;
    width: 100px;
    margin-right: 6px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
}


/********************************** .comments-form */
.comments-form:not(.fixed) {
    position: fixed;
    display: none;
    bottom: 0;
    width: 100%;
    background-color: white;
    z-index: 980;
    box-shadow: 0px -3px 10px rgba(0,0,0,0.15);
    margin: 0 auto;
}
.comments-form.fixed {
    z-index: 980;
    border-top: 1px solid #e0e0e0;
    margin: 10px auto 0 auto;
    position: relative;
}
.comments-form .answer {
    background-color: #f3f3f3;
    padding: 7px 10px;
    font-size: 13px;
}
.comments-form .answer .close {
    position: absolute;
    margin-top: 3px;
    margin-left: 5px;
    width: 9px;
    height: 9px;
    cursor: pointer;
    background-color: white;
    border: 1px solid gray;
    border-radius: 3px;
    opacity: 0.5;
}
.comments-form .answer .close:hover {
    opacity: 1;
}
.comments-form .answer .close:before, .comments-form .answer .close:after {
    position: absolute;
    left: 4px;
    content: ' ';
    height: 9px;
    width: 1px;
    background-color: #333;
}
.comments-form .answer .close:before {
    transform: rotate(45deg);
}
.comments-form .answer .close:after {
    transform: rotate(-45deg);
}


.comments-form .inner {
    display: flex;
    align-items: flex-end;
}
.comments-form textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 44px;
    max-height: 120px;
    margin: 0;
    padding: 12px 0 14px 7px;
    font-size: 15px;
    line-height: 18px;
    border: none;
    outline: none;
    resize: none;
    -webkit-appearance: none;
    height: 44px;
    background-color: white;
}

.comments-form .attach-objects, .modal .attach-objects, .form-content .attach-objects {
    overflow: hidden;
    zoom: 1;
    text-align: center;
}
.comments-form .attach-objects PROGRESS, .modal .attach-objects PROGRESS {
    margin: 5px auto 0 auto;
    padding: 0;
    position: relative;
    width: 160px;
}
.comments-form .attach-objects DIV, .modal .attach-objects DIV, .form-content .attach-objects DIV {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-position: 50%;
    width: 64px;
    height: 64px;
    float: left;
    margin: 10px 0 0 10px; 
    position: relative;
}
.modal .attach-objects DIV {
    margin: 0 10px 10px 0; 
}
.form-content .attach-objects DIV {
    border: 2px solid #FFF;
    margin: 0 10px 10px 0; 
    cursor: pointer;
    
}
.form-content .attach-objects DIV.top {
    border: 2px solid black;
}

.comments-form .attach-objects DIV A, .modal .attach-objects DIV A, .form-content .attach-objects DIV A {
    position: absolute;
    right: 3px;
    top: 3px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    background-color: black;
    border: 1px solid black;
    border-radius: 5px;
}
.comments-form .attach-objects DIV A:hover, .modal .attach-objects DIV A:hover, .form-content .attach-objects DIV A:hover {
    opacity: 1;
}
.comments-form .attach-objects DIV A:before, .comments-form .attach-objects DIV A:after, .modal .attach-objects DIV A:before, .modal .attach-objects DIV A:after, .form-content .attach-objects DIV A:before, .form-content .attach-objects DIV A:after {
    position: absolute;
    left: 6px;
    top: 1px;
    content: ' ';
    height: 11px;
    width: 2px;
    background-color: white;
}
.comments-form .attach-objects DIV A:before, .modal .attach-objects DIV A:before, .form-content .attach-objects DIV A:before {
    transform: rotate(45deg);
}
.comments-form .attach-objects DIV A:after, .modal .attach-objects DIV A:after, .form-content .attach-objects DIV A:after {
    transform: rotate(-45deg);
} 


.comments-form .attach {
    display: block;
    background-image: url(/templates/4.0/img/arrow.png);
    background-position: 6px;
    background-repeat: no-repeat;
    width: 33px;
    height: 44px;
    cursor: pointer;
}
.comments-form .attach-block {
    position: absolute;
    background-color: #e0e0e0;
    border-radius: 5px;
    border: 1px solid #c6c6c6;
    bottom: 43px;
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.15);
    box-shadow: 0px 3px 5px rgba(0,0,0,0.15);
    padding-top: 10px;
    display: none;
    cursor: default;
}
.comments-form .attach.hover .attach-block {
    display: block;
}
@media screen and (max-width:630px) {
    .comments-form .attach-block {
        border-radius: 0 5px 5px 0;
    }
}

.comments-form .attach-block::after, .comments-form .attach-block::before {
    position: absolute;
    pointer-events: none;
    border: solid transparent;
        border-top-color: transparent;
        border-top-width: medium;
        border-right-width: medium;
        border-bottom-width: medium;
        border-left-width: medium;
    content: '';
    height: 0;
    width: 0;
    top: 100%;
    left: 5px;
}
.comments-form .attach-block::before {
    border-width: 12px;
    margin: 0 0;
    border-top-color: #c6c6c6;
}
.comments-form .attach-block::after {
    border-width: 10px;
    margin: 0 2px;
    border-top-color: #e0e0e0;
}
.comments-form .attach-block DIV, .form-content .attach-block DIV {
    margin-bottom: 10px;
    line-height: 30px;
    font-size: 14px;
	position: relative;
}
.comments-form .attach-block DIV::before, .form-content .attach-block DIV::before {
    display: block;
    position: absolute;
    float: left;
    content: '';
    width: 32px;
    height: 32px;
    left: 5px;
    white-space: nowrap;
}
.comments-form .attach-block .image, .form-content .attach-block .image {
    cursor: pointer;
    padding-left: 45px;
    margin-right: 10px;
}
.comments-form .attach-block .image::before, .form-content .attach-block .image::before {
    background-image: url(/templates/4.0/img/file_extension_jpg.png);
}
.comments-form .attach-block .youtube, .form-content .attach-block .youtube {
    padding-left: 42px;
}
.comments-form .attach-block .youtube INPUT, .form-content .attach-block .youtube INPUT {
    width: 200px;
    line-height: 32px;
    height: 32px;
    border: 1px solid silver;
    border-radius: 5px;
    padding: 0 3px;
    margin-right: 10px;
}
.comments-form .attach-block .youtube::before, .form-content .attach-block .youtube::before {
    background-image: url(/templates/4.0/img/youtube.png);
}

.comments-form .post {
    display: block;
    background-image: url(/templates/4.0/img/post.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 44px;
    cursor: pointer;
}
.comments-form .loading {
    display: none;
    width: 40px;
    height: 44px;
    text-align: center;
}
.comments-form .loading IMG {
    position: relative;
    top: 14px;
    width: 16px;
    height: 16px;
    margin: 0;
    display: inline;
}

@media screen and (min-width:631px) and (max-width:960px) {
    .comments-form:not(.fixed) {
        width: 630px;
        left: calc(50% - 315px);
    }
    comments .comments-form .inner {
        margin: 0;
    }
}
@media screen and (min-width:961px) {
    .comments-form:not(.fixed) {
        width: 960px;
        left: calc(50% - 480px);
    }
    .comments-form.left {
        width: 630px;
    }
    .comments-form.right {
        width: 630px;
        right: 0;
        left: 330px;
    }
    .comments-form.center {
        width: 670px;
        left: auto;
    }
    .comments-form .inner {
        margin: 0;
    }
}

/**************************************************** подвел **************************************/
footer {
    margin-top: 30px;
    display: none;
    padding-bottom: 30px;
    
    
    border-bottom: 0;
    box-shadow: 0px -5px 10px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0px -5px 10px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px -5px 10px rgba(0,0,0,0.25);
    background: #1f1f1f;
}
footer .cr {
    position: relative;
    overflow: hidden;
    zoom: 1;
    margin: 10px auto 0 auto;
    width: 700px;
    font-size: 13px;
}

footer .cr {
    line-height: 44px;
}
footer .cr IMG {
    float: left;
    margin-right: 10px;
}
footer .inner {
    position: relative;
    overflow: hidden;
    zoom: 1;
    margin: 0 auto;
    width: 960px;
    font-size: 13px;
}
footer .inner DIV {
    margin: 10px 0;
    float: left;
}
footer .inner DIV:not(:last-child) {
    margin-right: 30px;
}
footer .inner DIV A {
    display: block;
    margin: 5px 0;
}
footer .inner STRONG {
    font-weight: bold;
}
footer A {
    color: Silver;
}
footer A:HOVER {
    color: white;
}
footer .inner .flow {
    margin-top: 3em;
}

@media screen and (min-width:961px) {
    footer {
        display: block;
    }
    .navigation-mine-opened footer , .navigation-plus-opened footer, .navigation-auth-opened footer, .navigation-more-opened footer {
        display: none;
    }
}


/**************************************************** объем **************************************/
.object-item .poll, .blogs-item .poll {
    background-image: url(/templates/4.0/img/poll.png);
    background-position: left;
    background-repeat: no-repeat;
    padding: 2px 0 2px 31px;
    font-size: 18px;
    font-weight: lighter;
    margin-bottom: 10px;
    margin-top: 5px;
    line-height: 24px;
}
.object-item .poll {
    margin-bottom: 10px;
    margin-top: 5px;
}
.blogs-item .poll {
    margin-bottom: 10px;
    margin-top: 10px;
}

/**************************************************** объем **************************************/
@media screen and (max-width:590px)
{
    /*
    content {
         background-color: #d7d7d7;
    }
    .object-item {
        background-color: white;
        box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
        border: 0;
    }
    .object-item:not(:first-child) {
        margin-top: 10px;
    }
    
    
    .event-item {
        background-color: white;
        box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
    }
    .event-item:not(:first-child) {
        margin-top: 10px;
    }

    content .objects-ad-1-block {
        position: static;
        margin: 0;
        padding-bottom: 0;
        background-color: transparent;
    }
    
    .mine-head-search {
        box-shadow: 0px 5px 10px rgba(0,0,0,0.25);
    }
    */
}
