html, body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, 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, h4, h5, h6 { background:transparent; border:0; font-size:100%; margin:0; outline:0; padding:0; vertical-align:baseline; }
ul, ol { margin: 0; padding: 0; }
ul li, ol li { margin: 0; padding: 0; }
:focus { outline: 0; }
table { border-collapse: collapse; border-spacing: 0; }
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix {
  display: inline-block;
}
/* start commented backslash hack \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* close commented backslash hack */
html, body {
  color: #333333;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #333333 url('/resources/img/bg.jpg') repeat 0 0;
}
body.fluid #container {
  width: 95%;
  min-width: 960px;
}
body.fixed-adminbar #adminbar-outer {
  position: fixed;
  top: 0;
  width: 960px;
  /*
  margin: 0 0 0 -1px !important;
  */
  z-index: 100000;
}
body.fixed-adminbar #panel-outer {
  margin-top: 64px;
}
body.fluid-fixed-adminbar #container {
  width: 95%;
  min-width: 960px;
}
body.fluid-fixed-adminbar #adminbar-outer {
  position: fixed;
  top: 0;
  width: 95%;
  /*
  margin: 0 0 0 -1px !important;
  */
  margin: 0 !important;
  min-width: 960px;
  z-index: 100000;
}
body.fluid-fixed-adminbar #panel-outer {
  margin-top: 64px;
}
#login-container-outer {
  margin: 100px auto 0;
  width: 500px;
}
#login-container {
  border: 1px solid #222222;
}
#login-header {
  background: url('/resources/img/alter-bg.jpg') top left repeat;
  border-bottom: 1px solid #000000;
  padding: 0 10px;
}
#login-content {
  padding: 10px 50px;
  background-color: #FFFFFF;
}
#login-extra {
  height: 30px;
  line-height: 30px;
  border-top: 1px solid #CCCCCC;
  text-align: center;
  text-shadow: 0 1px 1px #EEEEEE;
}
#container {
  width: 960px;
  margin: 0 auto;
}
#container #adminbar-outer {
  border-top: none;
  margin: 0 0 10px;
  background: #403F44;
}
#container #adminbar {
  height: 50px;
  background: url('/resources/img/alter-bg.jpg') top left repeat;
  border-top: none;
}
#container #adminbar a#logo {
  float: left;
  display: block;
  height: 50px;
  width: 230px;
/*  background: url('/resources/img/logos/logo_crismas_tree.png') left top no-repeat; */
  background: url('/resources/img/logos/logo.png') left top no-repeat;
}
#container #adminbar a#logo:hover {
/*  background: url('/resources/img/logos/logo_crismas_tree.png') left bottom no-repeat; */
  background: url('/resources/img/logos/logo.png') left bottom no-repeat;
}
#container #adminbar #widgets {
  /* margin: 0 200px; */
  height: 50px;
  padding: 0 10px;
  /* background: url('/resources/img/seperator.png') top right no-repeat; */
}
#container #adminbar #details {
  float: right;
  height: 34px;
  width: 184px;
  padding: 8px;
  line-height: 18px;
  color: #FFFFFF;
}
#container #adminbar #details a.avatar {
  display: block;
  height: 36px;
  width: 36px;
  padding: 2px;
  float: right;
  margin: -3px 0 0 7px;
  background-color: #EEEEEE;
  border: 1px solid #000000;
  -moz-box-shadow: 0px 0px 4px #000000;
  -webkit-box-shadow: 0px 0px 4px #000000;
  box-shadow: 0px 0px 4px #000000;
}
#container #panel {
  background-color: #FFFFFF;
}
#container #content {
  padding: 10px;
}
#container #content #main-content-left {
  margin: 0 310px 0 0;
}
#container #content #side-content-right {
  float: right;
  width: 300px;
}
#container #content #main-content-right {
  margin: 0 0 0 310px;
}
#container #content #side-content-left {
  float: left;
  width: 300px;
}
#container #content #main-content-center {
  float: right;
  margin-right: 10px;
  width: 318px;
}
#container #footer {
  border-top: 1px solid #CCCCCC;
  margin: 0;
  padding: 5px;
  text-align: center;
  color: #333333;
  text-shadow: 0 1px 1px #EEEEEE;
}
.push {
  height: 20px;
}
#login-container-outer, #container #adminbar-outer, #container #panel-outer {
  /*
  border: 1px solid #444444;
  */
  -moz-box-shadow: 0px 0px 10px #000000;
  -webkit-box-shadow: 0px 0px 10px #000000;
  box-shadow: 0px 0px 10px #000000;
}
#login-container, #container #adminbar, #container #panel {
  border: 1px solid #222222;
}
#container #panel ul#main-menu, #container #panel #footer, #login-extra {
  background-color: #D5D5D5;
  background-image: -moz-linear-gradient(#E0DFDB, #A6A6A6);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #E0DFDB),color-stop(1, #A6A6A6));
  background-image: -webkit-linear-gradient(#E0DFDB, #A6A6A6);
  background-image: -o-linear-gradient(#E0DFDB, #A6A6A6);
  background-image: linear-gradient(top, #E0DFDB, #A6A6A6);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#E0DFDB', EndColorStr='#A6A6A6');
}
ul, ol {
  margin: 8px 0;
  padding: 0 0 0 30px;
}
ul li, ol li {
  margin: 4px 0;
  padding :0;
}
dl {
  margin: 8px 0;
  padding: 0 0 0 15px;
}
dl dt {
  font-weight: bold;
  margin: 4px 0;
}
dl dd {
  font-size: 12px;
  margin: 0 0 0 15px;
}
p {
  padding: 5px 0;
}
.widget p {
  padding: 2px 0;
}

.tcenter {
  text-align: center;
}
.tleft {
  text-align: left;
}
.tright {
  text-align: right;
}
.tbold {
  font-weight: bold;
}
.fleft {
  float: left;
}
.fright {
  float: right;
}
.pos-rel {
  position: relative;
}
.pos-abs {
  position: absolute;
}
.dis-block {
  display: block;
}
.dis-inline {
  display: inline;
}
.dis-none {
  display: none;
}
.pad-none {
  padding: 0 !important;
}
.mar-none {
  margin: 0 !important;
}
a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer {
  cursor: pointer;
}
.radius {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.radius-top {
  -moz-border-radius-topright: 5px;
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
.radius-bottom {
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
h1, h2, h3 {
  padding: 8px;
  margin: 0 0 8px;
  border: 1px solid #DDDDDD;
  border-bottom: 1px solid #CCCCCC;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 1px 1px #FFFFFF;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(top, #F6F6F6, #EEEEEE);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#EEEEEE));
  background-image: -webkit-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: -o-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: linear-gradient(top, #F6F6F6, #EEEEEE);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F6F6F6', endColorstr='#EEEEEE');
}
h2 {
  font-size: 15px;
}
h3 {
  font-size: 12px;
}
h4, h5, h6 {
  padding: 3px 5px 0 0;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: bold;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 12px;
}

/* Widget */
.widget h2 {
  text-align: center;
  margin: 0 -9px 5px;
  padding: 8px 0 2px;
  border: none;
  border-bottom: 1px solid #DDDDDD;
  font-size: 13px;
  font-weight: bold;
  background-color: #FFFFFF;
  background-image: -moz-linear-gradient(top, #FFFFFF, #F6F6F6);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#F6F6F6));
  background-image: -webkit-linear-gradient(#FFFFFF, #F6F6F6);
  background-image: -o-linear-gradient(#FFFFFF, #F6F6F6);
  background-image: linear-gradient(top, #FFFFFF, #F6F6F6);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#F6F6F6');
}
a {
  color: #0098EA;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:active {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a.agreen {
  color: #738E05;
}
a.agreen:hover {
  text-decoration: underline;
}
a.ared {
  color: #D81313;
}
a.ared:hover {
  text-decoration: underline;
}
a.alight {
  color: #9FD2FF;
}
a.alight:hover {
  color: #CFE9FF;
}
a.alightred {
  color: #FF8181;
}
a.alightred:hover {
  color: #FF9F9F;
}
a.afooter-link {
  color: #333333;
  text-shadow: 0 1px 1px #FFFFFF;
}
a.afooter-link:hover {
  color: #FFFFFF;
  text-shadow: 0 1px 1px #333333;
  text-decoration: none;
}
.msg-error, .msg-alert, .msg-ok, .msg-info, .msg-loading {
  padding: 5px 10px;
  margin: 0 0 5px;
  border: 2px solid #DDDDDD;
}
.msg-error {
  background: #FBE3E4;
  color: #8A1F11;
  border-color: #FBC2C4;
}
.msg-alert {
  background: #FFF6BF;
  color: #514721;
  border-color: #FFD324;
}
.msg-ok {
  background: #E6EFC2;
  color: #264409;
  border-color: #C6D880;
}
.msg-info {
  background: #D5EDF8;
  color: #205791;
  border-color: #92CAE4;
}
.msg-loading {
  background: #FFFFFF url('/resources/img/ajax-loader.gif') 5px 50% no-repeat;
  padding: 5px 10px 5px 31px;
  color: #333333;
  border-color: #EEEEEE;
}
.msg-error a {
  color: #8A1F11;
  font-weight: bold;
}
.msg-alert a {
  color: #514721;
  font-weight: bold;
}
.msg-ok a {
  color: #264409;
  font-weight: bold;
}
.msg-info a {
  color: #205791;
  font-weight: bold;
}
.msg-form-error {
  color: #8A1F11;
  font-weight: bold;
  padding: 0 0 0 10px;
}
.msg-form-ok {
  color: #579433;
  font-weight: bold;
  padding: 0 0 0 10px;
}
.msg-form-info {
  color: #777777;
  font-weight: normal;
  padding: 0 0 0 10px;
}
form fieldset {
  border: 1px solid #DDDDDD;
  margin: 10px 0;
  padding: 10px;
  background-color: #F9F9F9;
}

/** вот тут **/

form legend {
  border: 1px solid #CCCCCC;
  text-shadow: 0 1px 1px #FFFFFF;
  min-width: 300px;
  font-weight: bold;
  font-size: 14px;
  padding: 4px;
  margin: 0 0 0 0;
  text-align: left;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(top, #F6F6F6, #EEEEEE);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#EEEEEE));
  background-image: -webkit-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: -o-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: linear-gradient(top, #F6F6F6, #EEEEEE);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F6F6F6', endColorstr='#EEEEEE');
}
form input[type=text]:focus, form input[type=password]:focus, form textarea:focus {
  background-color: #FFFFFF;
  background-image: -moz-linear-gradient(top, #FFFFFF, #F6F6F6);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#F6F6F6));
  background-image: -webkit-linear-gradient(#FFFFFF, #F6F6F6);
  background-image: -o-linear-gradient(#FFFFFF, #F6F6F6);
  background-image: linear-gradient(top, #FFFFFF, #F6F6F6);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#F6F6F6');
}
form label {
  text-align: right;
  padding: 5px 10px 5px 5px;
  margin: 5px 0;
  color: #333333;
  font-size: 12px;
  width: 120px;
  display: inline-block;
  font-weight: bold;
}
fieldset label {
  text-align: left;
  padding: 5px;
  width: auto;
  font-weight: normal;
}

fieldset.modal label.name {
  text-align: right;
  width: 130px;
  color: #9D9D9D;
}
fieldset.modal label.text {
  font-size: 11px;
}
fieldset.modal label.access {
  float: right;
  text-align: center;
  color: #FFFFFF;
  text-shadow: none;
  background: rgba(43, 176, 34, 0.78);
  width: 90px;
}
fieldset.modal label.deny {
  float: right;
  text-align: center;
  color: #FFFFFF;
  text-shadow: none;
  background: rgba(240, 34, 26, 0.78);
  width: 90px;
}
fieldset.modal label.unknown {
  float: right;
  text-align: center;
  color: #FFFFFF;
  text-shadow: none;
  background: #CCCCCC;
  width: 90px;
}
fieldset.modal label.action {
  padding: 0;
  float: right;
  margin: 0;
}
form input[type=text], form input[type=password], form textarea, form select {
  color: #555555;
  font-size: 14px;
  margin: 5px 0;
  text-shadow: 0 1px 1px #FFFFFF;
  border-top: 1px solid #CCCCCC;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #DDDDDD;
  border-bottom: 1px solid #DDDDDD;
  font-family: Arial, Helvetica, sans-serif;
}
form input[type=text]:focus, form input[type=password]:focus, form textarea:focus  {
  border: 1px solid #999999;
}
form select {
  display: inline;
  padding: 0;
  text-shadow: none;
}
form option {
  padding: 0px;
  background: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
}
form textarea {
  vertical-align: top;
}
form input[type=text].inactive, form input[type=password].inactive, form textarea.inactive {
  border: 1px solid #EEEEEE;
  background: #F6F6F6;
  color: #999999;
}
form input[type=text].input-ok, form input[type=password].input-ok, form textarea.input-ok {
  border: 1px solid #C6D880;
}
form input[type=text].input-error, form input[type=password].input-error, form textarea.input-error {
  border: 1px solid #FBC2C4;
}
/** sdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd **/
form label.label-auto, .labels-auto label {
  width: auto !important;
}
form label.label-large, .labels-large label {
  width: 200px !important;
}
form label.label-xlarge, .labels-xlarge label {
  width: 300px !important;
}
form input.box-auto, form select.box-auto, form textarea.box-auto, .boxes-auto input[type=text], .boxes-auto input[type=password], .boxes-auto select, .boxes-auto textarea {
  width: auto !important;
}
form input.box-small, form select.box-small, form textarea.box-small, .boxes-small input[type=text], .boxes-small input[type=password], .boxes-small select, .boxes-small textarea {
  width: 120px !important;
}
form input.box-large, form select.box-large, form textarea.box-large, .boxes-large input[type=text], .boxes-large input[type=password], .boxes-large select, .boxes-large textarea {
  width: 500px !important;
}
form input.box-xlarge, form select.box-xlarge, form textarea.box-xlarge, .boxes-xlarge input[type=text], .boxes-xlarge input[type=password], .boxes-xlarge select, .boxes-xlarge textarea {
  width: 700px !important;
}
form ul.align-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
form label span {
  color: #FC3737;
}
form label.inside {
  font-weight: normal;
}

form.modal_form input {
  padding: 2px;
}

form.modal_form select {
  padding: 1px;
  width: auto;
}

input[type=text].search-con {
  padding: 0 50px 0 8px;
  margin: 0;
  height: 27px;
  border: 1px solid #CCCCCC;
}
input[type=text].search-con:hover, input[type=text].search-con:focus {
  border: 1px solid #CCCCCC;
}
input[type=checkbox] {
  vertical-align: sub;
}
input[type=submit].search-con {
  position: absolute;
  top: 1px;
  right: 1px;
  padding: 0 10px;
  margin: 0;
  height: 27px;
  line-height: 27px;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-left: 1px solid #CCCCCC;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}


.search_input_history_open {
  background-image: url(/resources/img/icon_down.png);
  display: none;
  z-index: 2;
  right: 82px;
  width: 16px;
  top: 25px;
  height: 16px;
  position: absolute;
  cursor: pointer;
}
.search_input_history_close {
  background-image: url(/resources/img/icon_up.png);
  display: none;
  z-index: 2;
  right: 82px;
  width: 16px;
  top: 25px;
  height: 16px;
  position: absolute;
  cursor: pointer;
}
.search_block_history {
  position: absolute;
  margin-top: -1px;
  margin-left: 1px;
  background: #FFF;
  width: 453px;
  border-top: 1px solid #d9d9d9;
  box-shadow: 0 1px 0 0 rgba(0,0,0,.15),0 8px 25px -5px rgba(0,0,0,.25);
  z-index: 1;
  color: #555555;
  font-size: 14px;
}
.search_history_list {
  padding: 0;
  margin: 0;
}
.search_history_item {
  margin: 0;
  line-height: 28px;
  list-style: none;
  padding-left: 8px;
  cursor: pointer;
}
.search_history_item:hover {
  background: #DADADA;
}

/*
Static form new vlan
*/
.new_static_vlan_block {
  width: auto;
  display: none;
  position: absolute;
  margin-top: -11px;
  width: auto;
  background: #FFF;
  border-top: 1px solid #d9d9d9;
  box-shadow: 0 1px 0 0 rgba(0,0,0,.15),0 8px 25px -5px rgba(0,0,0,.25);
  z-index: 1;
  color: #555555;
  font-size: 14px;
}
.new_static_vlan_list {
  width: 76px;
  padding: 0;
  margin: 0;
}
.new_static_vlan_item {
  margin: 0;
  line-height: 22px;
  list-style: none;
  padding-left: 2px;
  cursor: pointer;
}
.new_static_vlan_item:hover {
  background: #DADADA;
}
/** **/

#login-content label {
  display: inline-block;
  width: 114px;
  text-align: left;
}
#login-content input[type=text], #login-content input[type=password] {
  font-size: 14px;
  padding: 5px;
  width: 253px;
}
.widget label {
  display: block;
  padding: 3px 0 0;
  margin: 0;
  width: auto;
  text-align: left;
}
.widget label.label-auto {
  display: inline-block;
}
.widget input[type=text], .widget input[type=password], .widget textarea, .widget select {
  width: 258px;
  max-width: 258px;
  margin: 3px 0;
  padding: 5px;
  display: block;
}
.widget select {
  padding: 0;
  margin: 0;
}
#side-content-left label, #side-content-right label {
  display: block;
  padding: 3px 0 0;
  margin: 0;
  width: auto;
  text-align: left;
}
#side-content-left label, #side-content-right label.label-auto {
  display: inline-block;
}
#side-content-left input[type=text], #side-content-left input[type=password], #side-content-left textarea, #side-content-left select,
#side-content-right input[type=text], #side-content-right input[type=password], #side-content-right textarea, #side-content-right select {
  width: 170px;
  /*max-width: 170px; */
  margin: 3px 0;
  padding: 5px;
  display: block;
}
#side-content-left select, #side-content-right select {
  padding: 0;
  margin: 0;
}
#side-content-left div.selector, #side-content-right div.selector { /* Fixes in sidebar for Uniform plugin */
  width: 170px !important;
}
#side-content-left div.selector span, #side-content-right div.selector span { /* Fixes in sidebar for Uniform plugin */
  width: 138px !important;
}
#side-content-left div.uploader, #side-content-right div.uploader { /* Fixes in sidebar for Uniform plugin */
  width: 175px !important;
}
#side-content-left div.uploader span.filename, #side-content-right div.uploader span.filename { /* Fixes in sidebar for Uniform plugin */
  width: 67px !important;
}
#side-content-left input[type=text].search, #side-content-right input[type=text].search {
  width: 128px;
  padding: 0 47px 0 5px !important;
  height: 27px;
  line-height: 27px;
  border: 1px solid #CCCCCC;
}
#side-content-left input[type=text].search:hover, #side-content-right input[type=text].search:hover {
  border: 1px solid #CCCCCC;
}
#side-content-left input[type=submit].search, #side-content-right input[type=submit].search {
  position: absolute;
  top: 1px;
  right: 1px;
  padding: 0 8px !important;
  margin: 0;
  height: 27px;
  line-height: 27px;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-left: 1px solid #CCCCCC;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
#side-content-left input[type=text].search, #side-content-left input[type=submit].search, #side-content-right input[type=text].search, #side-content-right input[type=submit].search {
  display: inline-block;
  padding: 0 5px;
  margin: 0;
}

/*
Кнопки
*/
button, form input[type=submit] {
  padding: 5px 10px;
  margin: 2px;
  font-size: 12px;
  text-align: center;
  -webkit-box-shadow: 0 0 3px #CCCCCC;
  -moz-box-shadow: 0 0 3px #CCCCCC;
  box-shadow: 0 0 3px #CCCCCC;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: inline;
  color: #666666;
  border: 1px solid #CCCCCC;
  background-color: #FFFFFF;
  background-image: -moz-linear-gradient(top, #FFFFFF, #EEEEEE);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#EEEEEE));
  background-image: -webkit-linear-gradient(#FFFFFF, #EEEEEE);
  background-image: -o-linear-gradient(#FFFFFF, #EEEEEE);
  background-image: linear-gradient(top, #FFFFFF, #EEEEEE);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#EEEEEE');
}
button:hover, form input[type=submit]:hover {
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(top, #EEEEEE, #CCCCCC);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#EEEEEE), to(#CCCCCC));
  background-image: -webkit-linear-gradient(#EEEEEE, #CCCCCC);
  background-image: -o-linear-gradient(#EEEEEE, #CCCCCC);
  background-image: linear-gradient(top, #EEEEEE, #CCCCCC);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EEEEEE', endColorstr='#CCCCCC');
}
button:active, form input[type=submit]:active {
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(top, #EEEEEE, #FFFFFF);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#EEEEEE), to(#FFFFFF));
  background-image: -webkit-linear-gradient(#EEEEEE, #FFFFFF);
  background-image: -o-linear-gradient(#EEEEEE, #FFFFFF);
  background-image: linear-gradient(top, #EEEEEE, #FFFFFF);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EEEEEE', endColorstr='#FFFFFF');
}
button.blue, form input[type=submit].blue {
  color: #FFFFFF;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  border: 1px solid #009AEF;
  background-color: #59C8EF;
  background-image: -moz-linear-gradient(top, #59C8EF, #00A5DF);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#59C8EF), to(#00A5DF));
  background-image: -webkit-linear-gradient(#59C8EF, #00A5DF);
  background-image: -o-linear-gradient(#59C8EF, #00A5DF);
  background-image: linear-gradient(top, #59C8EF, #00A5DF);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#59C8EF', endColorstr='#00A5DF');
}
button.blue:hover, form input[type=submit].blue:hover {
  background-color: #53ADDF;
  background-image: -moz-linear-gradient(top, #53ADDF, #2388BF);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#53ADDF), to(#2388BF));
  background-image: -webkit-linear-gradient(#53ADDF, #2388BF);
  background-image: -o-linear-gradient(#53ADDF, #2388BF);
  background-image: linear-gradient(top, #53ADDF, #2388BF);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#53ADDF', endColorstr='#2388BF');
}
button.blue:active, form input[type=submit].blue:active {
  background-image: -moz-linear-gradient(top, #00A5DF, #59C8EF);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#00A5DF), to(#59C8EF));
  background-image: -webkit-linear-gradient(#00A5DF, #59C8EF);
  background-image: -o-linear-gradient(#00A5DF, #59C8EF);
  background-image: linear-gradient(top, #00A5DF, #59C8EF);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00A5DF', endColorstr='#59C8EF');
}
button.green, form input[type=submit].green {
  color: #FFFFFF;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  border: 1px solid #95AF2B;
  background-color: #C9DF6F;
  background-image: -moz-linear-gradient(top, #C0E03A, #92B403);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#C0E03A), to(#92B403));
  background-image: -webkit-linear-gradient(#C0E03A, #92B403);
  background-image: -o-linear-gradient(#C0E03A, #92B403);
  background-image: linear-gradient(top, #C0E03A, #92B403);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#C0E03A', endColorstr='#92B403');
}
button.green:hover, form input[type=submit].green:hover {
  background-color: #B3CF40;
  background-image: -moz-linear-gradient(top, #ADC93F, #93AF20);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ADC93F), to(#93AF20));
  background-image: -webkit-linear-gradient(#ADC93F, #93AF20);
  background-image: -o-linear-gradient(#ADC93F, #93AF20);
  background-image: linear-gradient(top, #ADC93F, #93AF20);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ADC93F', endColorstr='#93AF20');
}
button.green:active, form input[type=submit].green:active {
  background-image: -moz-linear-gradient(top, #92B403, #C0E03A);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#92B403), to(#C0E03A));
  background-image: -webkit-linear-gradient(#92B403, #C0E03A);
  background-image: -o-linear-gradient(#92B403, #C0E03A);
  background-image: linear-gradient(top, #92B403, #C0E03A);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#92B403', endColorstr='#C0E03A');
}
button.orange, form input[type=submit].orange {
  color: #FFFFFF;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  border: 1px solid #DA7C0C;
  background-color: #F78D1D;
  background-image: -moz-linear-gradient(top, #FAA51A, #F47A20);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FAA51A), to(#F47A20));
  background-image: -webkit-linear-gradient(#FAA51A, #F47A20);
  background-image: -o-linear-gradient(#FAA51A, #F47A20);
  background-image: linear-gradient(top, #FAA51A, #F47A20);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAA51A', endColorstr='#F47A20');
}
button.orange:hover, form input[type=submit].orange:hover {
  background-color: #F47C20;
  background-image: -moz-linear-gradient(top, #F88E11, #F06015);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F88E11), to(#F06015));
  background-image: -webkit-linear-gradient(#F88E11, #F06015);
  background-image: -o-linear-gradient(#F88E11, #F06015);
  background-image: linear-gradient(top, #F88E11, #F06015);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F88E11', endColorstr='#F06015');
}
button.orange:active, form input[type=submit].orange:active {
  background-image: -moz-linear-gradient(top, #F47A20, #FAA51A);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F47A20), to(#FAA51A));
  background-image: -webkit-linear-gradient(#F47A20, #FAA51A);
  background-image: -o-linear-gradient(#F47A20, #FAA51A);
  background-image: linear-gradient(top, #F47A20, #FAA51A);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F47A20', endColorstr='#FAA51A');
}
button.red, form input[type=submit].red {
  color: #FFFFFF;
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  border: 1px solid #BF3B3B;
  background-color: #FF8F8F;
  background-image: -moz-linear-gradient(top, #FF8F8F, #DF5353);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FF8F8F), to(#DF5353));
  background-image: -webkit-linear-gradient(#FF8F8F, #DF5353);
  background-image: -o-linear-gradient(#FF8F8F, #DF5353);
  background-image: linear-gradient(top, #FF8F8F, #DF5353);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF8F8F', endColorstr='#DF5353');
}
button.red:hover, form input[type=submit].red:hover {
  background-color: #DF5353;
  background-image: -moz-linear-gradient(top, #DF5353, #BF3B3B);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#DF5353), to(#BF3B3B));
  background-image: -webkit-linear-gradient(#DF5353, #BF3B3B);
  background-image: -o-linear-gradient(#DF5353, #BF3B3B);
  background-image: linear-gradient(top, #DF5353, #BF3B3B);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DF5353', endColorstr='#BF3B3B');
}
button.red:active, form input[type=submit].red:active {
  background-image: -moz-linear-gradient(top, #DF5353, #FF8F8F);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#DF5353), to(#FF8F8F));
  background-image: -webkit-linear-gradient(#DF5353, #FF8F8F);
  background-image: -o-linear-gradient(#DF5353, #FF8F8F);
  background-image: linear-gradient(top, #DF5353, #FF8F8F);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DF5353', endColorstr='#FF8F8F');
}
/*
Конец кнопок
*/

table {
  width: 100%;
  background-color: #FFFFFF;
  margin: 0 0 8px;
}
table th {
  font-weight: bold;
  text-align: center;
  padding: 10px 5px 8px;
  font-size: 12px;
  color: #000000;
  border: 1px solid #CCCCCC;
  text-shadow: 0 1px 1px #FFFFFF;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(top, #F6F6F6, #EEEEEE);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#EEEEEE));
  background-image: -webkit-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: -o-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: linear-gradient(top, #F6F6F6, #EEEEEE);
}
table td {
  text-align: center;
  border: 1px solid #CCCCCC;
  padding: 1px 5px;
  vertical-align: middle !important;
}
table td img {
  vertical-align: middle;
}
table td.backcolor {
  background-color: #F9F9F9;
}
table.big_row td {
  padding: 3px 5px !important;
}
table.border-none th, table.border-none td {
  border: none;
}
table.backcolor-none th, table.backcolor-none td {
  background-color: none;
}
.widget table {
  width: 270px;
}
ul#widget-menu {
  list-style: none;
  margin: 0;
}
ul#widget-menu li {
  float: right;
  margin: 0 5px;
  position: relative;
}

ul#widget-menu li a#widget_buttom {
  display: block;
  width: 32px;
  height: 32px;
  padding: 9px;
}
ul#widget-menu li.seperator {
  padding-left: 17px;
  background: url('/resources/img/seperator.png') top left no-repeat;
}
ul#widget-menu li a#widget_buttom:hover {
  -webkit-box-shadow: inset 0 12px 66px rgba(20,20,20,0.6);
  -moz-box-shadow: inset 0 12px 66px rgba(20,20,20,0.6);
  box-shadow: inset 0 12px 66px rgba(20,20,20,0.6);
  text-decoration: none;
}

ul#widget-menu li a#widget_buttom.active {
  /* Красивый белый */
  /*
  -webkit-box-shadow: inset 0 12px 66px rgba(20,20,20,0.6);
  -moz-box-shadow: inset 0 12px 66px rgba(20,20,20,0.6);
  box-shadow: inset 0 12px 66px rgba(20,20,20,0.6);
  background: #FFFFFF;
  */
  -webkit-box-shadow: inset 0 1px 6px rgba(20,-28,20,1);
  -moz-box-shadow: inset 0 1px 6px rgba(20,-28,20,1);
  box-shadow: inset 0 1px 6px rgba(20,-28,20,1);
  text-decoration: none;
}

ul#widget-menu li a#widget_buttom img {
  width: 32px;
  height: 32px;
}
ul#widget-menu li a#widget_buttom span {
  position: absolute;
  right: 2px;
  top: 2px;
  display: block;
  position: absolute;
  padding: 0 5px;
  background-color: #88c763;
  color: #FFFFFF;
  font-weight: bold;
  font-size: 12px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: 2px solid #579433;
}

.widget {
  display: none;
  position: absolute;
  left: 50%;
  top: 50px;
  width: 310px;
  margin: 0 0 0 -155px;
  z-index: 100000;
}
.widget .w-top {
  height: 30px;
  background: url('/resources/img/w-bg-top.png') top left no-repeat;
}
.widget .w-content {
  padding: 0 20px;
  background: url('/resources/img/w-bg-content.png') top left repeat-y;
}
.widget .w-bottom {
  height: 20px;
  background: url('/resources/img/w-bg-bottom.png') top left no-repeat;
}
ul#widget-menu li ul.widget-sub-nav {
  border-bottom: 1px solid #CCCCCC;
  list-style: none;
  height: 28px;
  margin: 0 -9px 10px;
  padding: 0;
}
ul#widget-menu li ul.widget-sub-nav li {
  float: left;
  margin: 0 0 0 5px;
}
ul#widget-menu li ul.widget-sub-nav li a {
  width: auto;
  font-weight: bold;
  height: 27px;
  line-height: 27px;
  padding: 0 7px;
  text-align: center;
  display: block;
  color: #333;
  border-top: 1px solid #DDDDDD;
  border-left: 1px solid #DDDDDD;
  border-right: 1px solid #DDDDDD;
  background-color: #EEEEEE;
  text-shadow: 1px 1px 1px #FFFFFF;
  position: relative;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(#F2F2F2, #DDDDDD);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #F2F2F2),color-stop(1, #DDDDDD));
  background-image: -webkit-linear-gradient(#F2F2F2, #DDDDDD);
  background-image: -o-linear-gradient(#F2F2F2, #DDDDDD);
  background-image: linear-gradient(top, #F2F2F2, #DDDDDD);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#F2F2F2', EndColorStr='#DDDDDD');
}
ul#widget-menu li ul.widget-sub-nav li a:hover {
  background: #F6F6F6;
  border-top: 1px solid #CCCCCC;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
  text-decoration: none;
}
ul#widget-menu li ul.widget-sub-nav li.active a {
  background: #FFFFFF;
  border-top: 1px solid #CCCCCC;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
  text-shadow: 1px 1px 1px #EEEEEE;
  text-decoration: none;
  height: 28px;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#FFFFFF', EndColorStr='#FFFFFF');
 }
ul#widget-menu li ul.widget-sub-nav li a.nav2 {
  width: 120px;
}
ul#widget-menu li ul.widget-sub-nav li a.nav3 {
  width: 73px;
}
ul#widget-menu li ul.widget-sub-nav li a.nav4 {
  width: 49px;
}
#t-twitter-limit {
  font-size: 22px;
  color: #DDDDDD;
}
.t-tweet, .pm-message {
  margin: 5px 0 0;
  border-bottom: 1px solid #F6F6F6;
}
.t-tweet:hover {
  background-color: #D5EDF8;
  border-bottom: 1px solid #D5EDF8;
  cursor: pointer;
}
.pm-message:hover {
  background-color: #F6F6F6;
  cursor: pointer;
}
.t-tweet img, .pm-message img {
  float: left;
  margin: 5px;
}
.t-tweet .t-info, .pm-message .pm-info {
  margin: 0 0 2px 60px;
  padding: 0 5px 0 0;
  color: #999999;
}
.t-tweet .t-status, .pm-message .pm-msg {
  margin: 0 0 5px 60px;
  padding: 0 5px 0 0;
  font-weight: bold;
  color: #555555;
}
.pm-new {
  background-color: #E6EFC2;
}
.pm-deleted {
  background-color: #FBE3E4;
}
ul#main-menu {
  list-style: none;
  border-bottom: 1px solid #888888;
  padding: 0 10px;
  margin: 0;
}
ul#main-menu li {
  float: left;
  margin: 5px 4px 5px 0;
}
ul#main-menu li a {
  position: relative;
  display: block;
  width: 100px;
  height: 80px;
  background: #DDDDDD;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  line-height: 1px;
  text-align: center;
  font-weight: bold;
  color: #333333;
  text-shadow: 0 1px 1px #EEEEEE;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(#EEEEEE, #CCCCCC);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #EEEEEE),color-stop(1, #CCCCCC));
  background-image: -webkit-linear-gradient(#EEEEEE, #CCCCCC);
  background-image: -o-linear-gradient(#EEEEEE, #CCCCCC);
  background-image: linear-gradient(top, #EEEEEE, #CCCCCC);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#EEEEEE', EndColorStr='#CCCCCC');
}
ul#main-menu li a:hover {
  background: #F6F6F6;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#FFFFFF', EndColorStr='#FFFFFF');
  text-decoration: none;
  text-shadow: 0 1px 1px #F6F6F6;
}
ul#main-menu li a.active {
  background: #FFFFFF;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#FFFFFF', EndColorStr='#FFFFFF');
  text-shadow: none;
  text-shadow: 0 1px 1px #FFFFFF;
  /* Менюшные тени
  -webkit-box-shadow: inset 0 6px 10px rgba(20,20,20,0.2);
  -moz-box-shadow: inset 0 6px 10px rgba(20,20,20,0.2);
  box-shadow: inset 0 6px 10px rgba(20,20,20,0.2);
  */
}
ul#main-menu li a img {
  width: 40px;
  height: 40px;
  padding: 10px 15px 5px;
}
ul#main-menu li a span {
  display: block;
  padding: 0 0 5px;
  line-height: 20px;
}
ul#main-menu li a span.submenu-arrow {
  display: none;
}
ul#main-menu li a.submenu-active span.submenu-arrow {
  position: absolute;
  padding: 0;
  display: block;
  height: 5px;
  width: 10px;
  background: url('/resources/img/submenu-arrow.png');
  bottom: -6px;
  left: 45px;
}
ul#sub-menu {
  list-style: none;
  border-bottom: 1px solid #CCCCCC;
  background: #EEEEEE;
  padding: 0 10px;
  text-align: left;
  margin: 0;
}
ul#sub-menu li {
  float: left;
  margin: 0 4px 0 0;
}
ul#sub-menu li a {
  display: block;
  padding: 0 5px;
  min-width: 88px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  color: #555555;
  background-color: #F6F6F6;
  border-left: 1px solid #EEEEEE;
  border-right: 1px solid #EEEEEE;
}
ul#sub-menu li a:hover {
  background: #FFFFFF;
  border-left: 1px solid #DDDDDD;
  border-right: 1px solid #DDDDDD;
  color: #333333;
  text-decoration: none;
  text-shadow: none;
}
ul#sub-menu li a.active {
  background: #FFFFFF;
  border-left: 1px solid #DDDDDD;
  border-right: 1px solid #DDDDDD;
  color: #333333;
  text-shadow: none;
}
ul#sub-menu li a img {
  width: 40px;
  height: 40px;
  padding: 10px 15px 5px;
}
ul#sub-menu li a span {
  display: block;
  padding: 0 0 5px;
  line-height: 20px;
}
ul#sub-menu li.separator {
  line-height: 24px;
}
ul.pagination {
  margin: 10px 0;
  padding: 0;
  list-style: none;
}
ul.pagination li {
  display: inline-block;
}
ul.pagination li a.page {
  display: block;
  border: 1px solid #CCCCCC;
  color: #333333;
  text-shadow: 0 1px 1px #FFFFFF;
  font-weight: bold;
  margin: 0 2px;
  padding: 4px 8px;
  background-color: #F6F6F6;
  background-image: -moz-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #F6F6F6),color-stop(1, #EEEEEE));
  background-image: -webkit-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: -o-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: linear-gradient(top, #F6F6F6, #EEEEEE);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#F6F6F6', EndColorStr='#EEEEEE');
}
ul.pagination li a.page:hover, ul.pagination li span.page-active {
  display: block;
  border: 1px solid #0CA1D3;
  background-color: #EEEEEE;
  text-decoration: none;
  font-weight: bold;
  color: #FFFFFF;
  margin: 0 2px;
  padding: 4px 8px;
  text-shadow: 0 1px 1px #000000;
  background-color: #95D7EF;
  background-image: -moz-linear-gradient(#95D7EF, #59C8EF);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #95D7EF),color-stop(1, #59C8EF));
  background-image: -webkit-linear-gradient(#95D7EF, #59C8EF);
  background-image: -o-linear-gradient(#95D7EF, #59C8EF);
  background-image: linear-gradient(top, #95D7EF, #59C8EF);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#95D7EF', EndColorStr='#59C8EF');
  cursor: pointer;
}
ul.pagination li span.page-inactive {
  display: block;
  background-color: #F9F9F9;
  border: 1px solid #CCCCCC;
  margin: 0 2px;
  padding: 4px 8px;
}
.body-con {
  padding: 8px;
  margin: -8px 0 8px;
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-top: none;
}
.simple-con {
  padding: 8px;
  margin: 0 0 8px;
  border: 1px solid #DDDDDD;
  color: #555555;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(top, #F6F6F6, #EEEEEE);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#EEEEEE));
  background-image: -webkit-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: -o-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: linear-gradient(top, #F6F6F6, #EEEEEE);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F6F6F6', endColorstr='#EEEEEE');
}
.flot-con {
  height: 500px;
}
.flot-con table {
  width: auto;
}
.flot-con table th, .flot-con table td {
  border: none;
  padding: 3px;
  vertical-align: middle;
}
#main-content-left .flot-con, #main-content-right .flot-con {
  height: 400px;
}
ul.content-tabs {
  overflow: auto;
  list-style: none;
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 1px solid #DDDDDD;
  border-bottom: 1px solid #CCCCCC;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(top, #F6F6F6, #EEEEEE);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#EEEEEE));
  background-image: -webkit-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: -o-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: linear-gradient(top, #F6F6F6, #EEEEEE);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F6F6F6', endColorstr='#EEEEEE');
}
ul.content-tabs li {
  float: left;
  margin: 0;
  padding: 0;
}
ul.content-tabs li a {
  display: block;
  padding: 8px;
  color: #333333;
  font-weight: bold;
  text-shadow: 0 1px 1px #FFFFFF;
  border-right: 1px solid #DDDDDD;
}
ul.content-tabs li a:hover {
  background: #FFFFFF;
  text-decoration: none;
}
ul.content-tabs li.active a {
  background: #FFFFFF;
}
ul.image-gallery, ul.file-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.image-gallery li, ul.file-gallery li {
  margin: 4px 9px 4px 9px;
  float: left;
  position: relative;
}
ul.image-gallery li div, ul.file-gallery li div {
  display: none;
  position: absolute;
  bottom: 16px;
  left: 30px;
}
ul.file-gallery li div {
  left: 15px;
  top: 30px;
  bottom: auto;
}
ul.file-gallery li span {
  width: 100px;
  display: block;
  text-align: center;
  font-weight: bold;
}
#main-content ul.image-gallery li, #main-content ul.file-gallery li  {
  margin: 4px 7px 4px 7px;
  float: left;
}
#side-content-left ul.image-gallery li, #side-content-right ul.image-gallery li {
  margin: 2px 4px 2px 3px;
  float: left;
}
#side-content-left ul.image-gallery li div, #side-content-right ul.image-gallery li div{
  left: 22px;
  bottom: 8px;
}
div.image-gallery-con, div.file-gallery-con {
  overflow: auto;
  height: 1%;
}
.move_item {
  background-image: url('/resources/img/move_icon.png');
}
.move_item th {
  background-image: none !important;
  background-color: inherit !important;
}

.search_item {
  background-image: url('/resources/img/search_icon.png');
}
.search_item th {
  background-image: none !important;
  background-color: inherit !important;
}

/*
Plitki menu
*/
div#setting-menu {
  padding-bottom: 10px;
  border: 1px solid #DDDDDD;
  border-bottom: 1px solid #CCCCCC;
  text-shadow: 0 1px 1px #FFFFFF;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(top, #F6F6F6, #EEEEEE);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#F6F6F6), to(#EEEEEE));
  background-image: -webkit-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: -o-linear-gradient(#F6F6F6, #EEEEEE);
  background-image: linear-gradient(top, #F6F6F6, #EEEEEE);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F6F6F6', endColorstr='#EEEEEE');
}
ul#tiles-list {
  list-style: none;
  padding-left: 5px;

}
ul#tiles-list li {
  float: left;
  margin: 11px;
}
ul#tiles-list li a {
  position: relative;
  display: block;
  width: 130px;
  height: 110px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  line-height: 1px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #333333;
  text-shadow: 0 1px 1px #EEEEEE;
  border: 1px solid #d5d5d5;
  box-shadow: inset 0 0 0 1px #fff;
  -webkit-box-shadow: inset 0 0 0 1px #fff;
  -moz-box-shadow: inset 0 0 0 1px #fff;
  background: #fafafc;
  background: -moz-linear-gradient(top,  #fafafc 0%, #efefef 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafc), color-stop(100%,#efefef));
  background: -webkit-linear-gradient(top,  #fafafc 0%,#efefef 100%);
  background: -o-linear-gradient(top,  #fafafc 0%,#efefef 100%);
  background: -ms-linear-gradient(top,  #fafafc 0%,#efefef 100%);
  background: linear-gradient(to bottom,  #fafafc 0%,#efefef 100%);
}
ul#tiles-list li a span {
  display: block;
  padding: 0 0 5px;
  line-height: 20px;
}
ul#tiles-list li a:hover, ul#tiles-list li a.active {
  background: #efefef;
  background: -moz-linear-gradient(top,  #efefef 0%, #E1E3E3 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#E1E3E3));
  background: -webkit-linear-gradient(top, #efefef 0%, #E1E3E3 100%);
  background: -o-linear-gradient(top, #efefef 0%, #E1E3E3 100%);
  background: -ms-linear-gradient(top, #efefef 0%, #E1E3E3 100%);
  background: linear-gradient(to bottom, #efefef 0%, #E1E3E3 100%);
  text-decoration: none;
  text-shadow: 0 1px 1px #FFFFFF;
}
ul#tiles-list li a img {
  width: 64px;
  height: 64px;
  padding: 15px 15px 5px;
}

/*
 Admin panel ul
*/
ul.list_big, ul.list_small {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
ul.list_big li, ul.list_small li {
  margin: 0 5px 5px 5px;
  padding: 3px;
  height: 18px;
}
ul.list_big li h, ul.list_small li h {
  vertical-align: middle;
}
ul.list_big li span, ul.list_small li span {
  position: absolute;
}
ul.list_big li input[type=text], ul.list_small li input[type=text] {
  position: absolute;
  margin: -2px !important;
  padding: 0px !important;
  font-size: 11px;
  height: 18px;
}
ul.list_big li input[type=checkbox] {
  position: absolute;
  margin: 0px !important;
  padding: 0px !important;
  font-size: 11px;
  height: 18px;
}
ul.list_small li {
  width: 265px;
}
div#main-content-center ul.list_small li {
  width: 282px;
}
ul.list_small li span {
  margin-left: -1.3em;
}

.ui-state-highlight {
  height: 1.5em;
  line-height: 1.2em;
}
ul.user-sub-nav, ul.modal-sub-nav {
  border-bottom: 1px solid #CCCCCC;
  list-style: none;
  height: 28px;
  padding: 0;
}
ul.user-sub-nav li,  ul.modal-sub-nav li{
  float: left;
  margin: 0 0 0 4px;
}
ul.user-sub-nav li a, ul.modal-sub-nav li a {
  width: auto;
  font-weight: bold;
  height: 27px;
  line-height: 27px;
  padding: 0 7px;
  text-align: center;
  display: block;
  color: #333;
  border-top: 1px solid #DDDDDD;
  border-left: 1px solid #DDDDDD;
  border-right: 1px solid #DDDDDD;
  background-color: #EEEEEE;
  text-shadow: 1px 1px 1px #FFFFFF;
  position: relative;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: #EEEEEE;
  background-image: -moz-linear-gradient(#F2F2F2, #DDDDDD);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #F2F2F2),color-stop(1, #DDDDDD));
  background-image: -webkit-linear-gradient(#F2F2F2, #DDDDDD);
  background-image: -o-linear-gradient(#F2F2F2, #DDDDDD);
  background-image: linear-gradient(top, #F2F2F2, #DDDDDD);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#F2F2F2', EndColorStr='#DDDDDD');
}
ul.user-sub-nav li a.addit, ul.modal-sub-nav a.addit {
  background-color: #B2BEC7;
  background-image: -moz-linear-gradient(#F2F2F2, #B2BEC7);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #F2F2F2),color-stop(1, #B2BEC7));
  background-image: -webkit-linear-gradient(#F2F2F2, #B2BEC7);
  background-image: -o-linear-gradient(#F2F2F2, #B2BEC7);
  background-image: linear-gradient(top, #F2F2F2, #B2BEC7);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#F2F2F2', EndColorStr='#B2BEC7');
}
ul.user-sub-nav li a:hover, ul.modal-sub-nav li a:hover {
  background: #F6F6F6;
  border-top: 1px solid #CCCCCC;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
  text-decoration: none;
}
ul.user-sub-nav li.active a, ul.modal-sub-nav li.active a {
  background: #FFFFFF;
  border-top: 1px solid #CCCCCC;
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
  text-shadow: 1px 1px 1px #EEEEEE;
  text-decoration: none;
  /* height: 28px;*/
  height: auto;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#FFFFFF', EndColorStr='#FFFFFF');
}
ul.user-sub-nav li.active a.addit ul.modal-sub-nav li.active a.addit {
  color: #333;
}


ul.modal-sub-nav {
  border-bottom: none;
}

ul.modal-sub-nav  li a {
  /*
  border-top: 1px solid #969696 !important;
  border-left: 1px solid #969696 !important;
  border-right: 1px solid #969696 !important;
*/
  border-top: 1px solid #A2A2A2 !important;
  border-left: 1px solid #A2A2A2 !important;
  border-right: 1px solid #A2A2A2 !important;

}

ul.modal-sub-nav li a:hover {
  background-color: #F6F6F6 !important;
  border-top: 1px solid #888888 !important;
  border-left: 1px solid #888888 !important;
  border-right: 1px solid #888888 !important;
  background-image: -moz-linear-gradient(#DDDDDD, #F2F2F2);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #DDDDDD),color-stop(1, #F2F2F2));
  background-image: -webkit-linear-gradient(#DDDDDD, #F2F2F2);
  background-image: -o-linear-gradient(#DDDDDD, #F2F2F2);
  background-image: linear-gradient(top, #DDDDDD, #F2F2F2);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#DDDDDD', EndColorStr='#F2F2F2');
}
ul.modal-sub-nav li.active a {
  background-color: #F6F6F6 !important;
  border-top: 1px solid #888888 !important;
  border-left: 1px solid #888888 !important;
  border-right: 1px solid #888888 !important;
  background-image: -moz-linear-gradient(#F6F6F6, #F6F6F6);
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #F6F6F6),color-stop(1, #F6F6F6));
  background-image: -webkit-linear-gradient(#F6F6F6, #F6F6F6);
  background-image: -o-linear-gradient(#F6F6F6, #F6F6F6);
  background-image: linear-gradient(top, #F6F6F6, #F6F6F6);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#F6F6F6', EndColorStr='#F6F6F6');
}
div.search_menu ul.user-sub-nav li.active a {
  height: 28px !important;
}
div.search_menu div#search-tabl {
  padding: 4px;
  background-color: #FFFFFF;
  margin: -8px 0px 0px;
  border-bottom: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-right: 1px solid #DDD;
}
div#search-tabl li.search_ansver_name {
  height: 14px;
  list-style: none;
  background: #EEE;
  text-align: center;
  text-shadow: 1px 1px 1px #EEE;
  text-decoration: none;
  border: 1px solid #CCC;
  font-weight: bold;
  height: 27px;
  line-height: 27px;
}
div#search-tabl li.search_ansver_item {
  list-style: none;
  padding-left: 5px;
  margin: 4px 0;
}
div#search-tabl li.search_ansver_item:hover {
  background: #EEE;
}
li.search_ansver_item a:hover {
  text-decoration: none;
}
#search_resizer_wrap {
  padding: 10px 3px 3px 3px;
  cursor: s-resize;
  display: none;
  margin-bottom: -15px;

}
.search_resizer {
  width: 40px;
  border-top: 1px solid #DAE1E8;
  border-bottom: 1px solid #FFF;
  margin: 0 auto 1px;
}

a#move_up {
  position: fixed;
  bottom: 20px;
  display: none;
  width: 32px;
  height: 25px;
  margin-left: 1px;
  padding-top: 3px;
  opacity:0.9;
  filter: alpha(opacity=90);
}

.nowrap {
  white-space: nowrap;
}
.pre {
  white-space: pre;
}

a.action_button {
  margin-right: 3px;
}
mark {
  background: none repeat scroll 0% 0% rgb(255, 255, 153);
  font-style: normal;
  font-weight: normal;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 0px 1px;
  color: inherit;
}

.group-slide-data {
  display: none;
  border-bottom: 1px solid #CCCCCC;
  text-align: center;
}
.group-slide {
  border-bottom: 1px solid #CCCCCC;
  background: #F6F6F6;
  text-align: center;
  padding: 3px;
}
.blockupdate {
  opacity: 0.5;
}
.ui-state-default:hover {
  border: 1px solid #999;
  background: #dadada;
  font-weight: normal;
  color: #212121;
}


/*
 CSS Логов
*/
.log {
  margin-left: 174px;
  margin-top: 6px;
  position: relative;
  border-bottom: 1px solid #EEEEEE;
}
.log .date-container {
  left: -170px;
  position: absolute;
  width: 170px;
}
.date-container .since {
  color: #666;
  float: left;
}
.date-container .date {
  color: #666;
  margin-left: 60px;
}
.title-area .name {
  padding-right: 16px;
  display: none;
  max-width: 450px;
  word-break: break-all;
}
.title-area .status {
  color: #999;
  white-space: nowrap;
}
.log .title-area a {
  font-weight: normal;
}
.log .log-container {
  font-size: 10px;
  padding-left: 20px;
  display: none;
}
.log .log-descrip {
  margin: 2px 0 8px;
}
.log .log-descrip td {
  vertical-align: middle;
  padding: 0 5px 0 5px;
}

/*
 CSS Логов конец
*/

/*
 CSS Навигации модального окна
 */
 .modal_menu {
  margin-top: -59px;
  position: absolute;
 }

 /*
 CSS Навигации модального окна конец
 */

 /* CSS Свитчер */
 div.switcher {
  display: table-cell;
  vertical-align: middle;
}

div.profile_interface_row .row_title {
  display: table-cell;
  vertical-align: middle;
  width: 324px;
}

div.profile_interface_row .row_title .row_name {
  width: auto;
  color: #585A5A;
  float: left;"
}
div.profile_interface_row .row_title .row_answer {
  width: auto;
  float: right;
  color: #999;
  font-weight: normal;
}
input.switcher-checkbox  {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
input.switcher-checkbox + label {
  padding: 2px;
  width: 45px;
  height: 20px;
  background-color: #dddddd;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
  -webkit-transition: background 0.4s;
  -moz-transition: background 0.4s;
  -o-transition: background 0.4s;
  transition: background 0.4s;
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input.switcher-checkbox + label:before, input.switcher-checkbox + label:after {
  display: block;
  position: absolute;
  content: "";
}
input.switcher-checkbox + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #fff;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  border-radius: 30px;
  -webkit-transition: background 0.4s;
  -moz-transition: background 0.4s;
  -o-transition: background 0.4s;
  transition: background 0.4s;
}
input.switcher-checkbox + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 16px;
  background-color: #dddddd;
  -webkit-border-radius: 26px;
  -moz-border-radius: 26px;
  -ms-border-radius: 26px;
  -o-border-radius: 26px;
  border-radius: 26px;
  -webkit-transition: margin 0.4s, background 0.4s;
  -moz-transition: margin 0.4s, background 0.4s;
  -o-transition: margin 0.4s, background 0.4s;
  transition: margin 0.4s, background 0.4s;
}
input.switcher-checkbox:checked + label {
  background-color: #8ce196;
}
input.switcher-checkbox:checked + label:after {
  margin-left: 25px;
  background-color: #8ce196;
}
/* Конец CSS свитчера */

/* Меню диагностики */
.modal_min_menu {
    height: 20px;
}
.modal_min_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    float: right;
}
.modal_min_menu ul li {
    float: left;
    margin: 0 5px 0 0;
}
.modal_min_menu ul li a {
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #d5d5d5;
}
.modal_min_menu ul li a:hover {
    background: #DADADA;
}
.modal_min_menu ul li.active a {
    background: #FFFFFF;
}
.modal_min_menu ul li img {
    width: 20px;
    height: 20px;
    padding: 2px;
}
/* Конец меню диагностики */

/* div - text */
div.text_plant_modal {
  background: #FFFFFF;
  border: 2px solid #E7E7E7;
  font-size: 11px;
  padding: 10px 5px;
}

div.text_plant_modal .pre {
  position: absolute;
}
/* FIX Sortabl */
.connectedgroups {
  padding: 5px 0 5px 0 !important;
}
/* END FIX Sortabl */

/* Search span buttom */
div#search-tabl li.search_ansver_item:hover a.very-small span {
  opacity: 1;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
a.very-small span {
  opacity: 0;
  float: right;
  padding-left: 3px;
  padding-right: 3px;
  margin-left: 2px;
  color: #FFFFFF;
  text-shadow: none;
}
a.very-small.blue span {
  background: #59C8EF;
}
a.very-small.green span {
  background: #C0E03A;
}
a.very-small.orange span {
  background: #FAA51A;
}
a.very-small.red span {
  background: #FF8F8F;
}
/* End search span buttom */