*{margin:0;padding:0;}
ul {
    padding: 0;
    margin-left: 20px;
   }
A, A:link, A:visited, A:active {outline: none; color: rgb(0, 0, 120); text-decoration: none; /*text-transform: uppercase;*/}
A:hover { color: red; text-decoration: none; }
.blue { color: blue; }
.SelRef {
        COLOR:#B03060!important; TEXT-DECORATION: none;
        FONT-WEIGHT: bold; FONT-FAMILY: Tahoma
}

.BoldBlue {
        COLOR:black; TEXT-DECORATION: none;
        FONT-WEIGHT: bold; FONT-FAMILY: Tahoma
}
.Reg0  {
        COLOR: #B03060; TEXT-DECORATION: none;
        FONT-WEIGHT: bold; FONT-SIZE: 18px; FONT-FAMILY: Tahoma
}

.Reg1  {
        COLOR: #000080; TEXT-DECORATION: none;
        FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Tahoma
}

/*.anc{   /*представительства
        FONT-SIZE: 11px; COLOR:blue; TEXT-ALIGN: left; FONT-WEIGHT: normal;
}*/

.send {
        FONT-WEIGHT: normal; FONT-SIZE: 11px; CURSOR: hand; COLOR: #ffffff; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif, Chicago; BACKGROUND-COLOR: #143675
}

/*.filter{COLOR: #000000; TEXT-DECORATION: none;
        FONT-WEIGHT: bold;FONT-SIZE: 10px; FONT-FAMILY: Tahoma
}*/

.itogo{	COLOR: #000080;
	TEXT-DECORATION: none;
	background:lightyellow!important;
    FONT-WEIGHT: bold;
    FONT-SIZE: 12px;
    FONT-FAMILY: Tahoma;
    text-align:center;
}

.tabhead{COLOR: #000080; TEXT-DECORATION: none; background-color: #C0C0C0;
        FONT-WEIGHT: bold;FONT-SIZE: 11px; FONT-FAMILY: Tahoma
}
.unenabled {
  pointer-events: none;
  color: grey!important;
}
.enabled {
  pointer-events: auto;
  color: blue;
}


body {
  scrollbar-face-color: #f9f4e9;
  scrollbar-track-color: #e8e4d8;
  scrollbar-arrow-color: indigo;
  scrollbar-highlight-color: silver;
  scrollbar-shadow-color: black;
  scrollbar-3dlight-color: #ece6d9;
  scrollbar-darkshadow-color: #ece6d9;
  FONT-SIZE: 12px;
  COLOR:blue;
  TEXT-ALIGN: left;
  FONT-WEIGHT: normal;
  background: #E0FFFF;
  margin: 0 auto;
  width: 99%;
}
img {vertical-align:middle;}
/*  .bborder {
    background-color: #FFFFFF;
    border: 1px lavender solid;
    }*/
  .submit{ border:1px red solid; width:250; height:20; font-size:14; font-weight:normal; font-family:sans-serif; color:red}
  .but{ border:1px dimgray solid; font-size:12; font-weight:normal; font-family:verdana; color:dimgray; background-color: white;}
  .panel {-moz-border-radius: .3em .3em .3em .3em; border: 1px dotted silver; background-color: #F7F6F4; color: navy; }
body,td,tr,p,td,ul,li,dd,dt,pre,blockquote,.logino,.td,.forms {font-family:arial; color:#000; font-size:11; font-weight:normal;}
.hide { position: absolute; left:0; top:0; z-index:1; visibility:hidden; }
p { text-indent: 0em; margin-top: 2; margin-bottom: 2; }
ol,ul,pre { margin-top: 5; margin-bottom: 5; }
ol,ul,p,li { text-align: justify; margin-right: 10; margin-left: 10;}
.logino {background-color:#39494a; color:<?=$line_color?>; border: 1px <?=$line_color?> solid; height=18; }
.forms {background-color:#F7F6F4; color:slateblue; border: 1px <?=$line_color?> solid; height=18; }
.td { border-top:<?=$line_color?> 1px solid; border-bottom:<?=$line_color?> 1px solid; }
.tdbottom { border-bottom:#ffffff 1px solid;}
.tabletree { border-right: 1px solid <?=$line_color?>}

/************************ Home ******************/
#nav {
  width: 100%;
  height: 35px;
  border-top: 1px solid #fdfdff;
border-bottom: 1px solid rgba(0,0,2,0.1);
background: url(../system/toolbar.png) 0 0 repeat-x;
box-shadow: 0 1px 0 rgba(253,253,255,0.5);
  }
#toolbar{
  display: block;
  margin: 0 auto;
  width: 80%;
  position: relative;
  line-height: 35px;
  color: #282274;
}
.contact {
  float: right;}
.contact img {
  margin-top:1px;
  height:33px;
  }
#top, #admtop {
  display: block;
  margin: 10px auto;
  width: 80%;
  }
#top{
  display:block;
  text-align: center;
}
#top .logo {
  width: 35%;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 0 1%;
  margin-right: 40%;
  }
.logo img, .logo_t img {
  width: 100%;
}
#top .logo_t {
  width: 40%;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 0 1%;
  }
#login{
width:17%;
font-family:Arial;
padding: 2% 1%;
position: relative;
display: inline-block;
vertical-align: middle;
}

#login img{
  vertical-align: middle;
  width: 18%;
  margin-bottom: 2%;
  }

#login input[type=text], input[type=password]{
width:70%;
padding: 3%;
font-size: 140%;
font-family:Arial;
background-color: fff;
border: 1px solid #DDD;
color: #666;
outline: none;
height: 20%;
margin-bottom: 5%;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
#login input[type=submit]{
width: 100%;
height: 30%!important;
margin: 0!important;
color: white;
padding: 5px;
font-size: 20px;
cursor:pointer;
}

#homecont {
  display: block;
  margin: 30px auto;
  width: 80%;
  padding-bottom: 5px;
}
#homecont h3 {
  text-align: justify;
  font-size: 13pt;
  font-weight: normal;
  color: #282274;
  text-indent: 50px;
  padding: 10px 20px 0;
}
.center {
  text-align: center!important;}
#topmenu {
    width:100%;
    margin: 10px 0 15px;
}
#topmenu h4 {
  text-align:center;
  line-height:35px;
  font-style: bold;
  font-size: 17px;
}
#topmenu th {
  text-align: center;
}
#homecont table {
  width: 98%!important;
}
/******************** end homepage ******************/
/******************** vitsupervisor ******************/


#vitsv {
  width: 98%;
  margin: 10px  auto;
  padding: 5px;
}
#vitsv li {
  margin: 3px 0!important;
}
#vitsv table {
  width: 100%;
}

.servicemenu, .graphmenu, .buhmenu, .vitrinamenu, .discountmenu {
  width: 20%;
  display: inline-block;
  vertical-align: top;
}
.servicemenu u, .graphmenu u, .buhmenu u, .vitrinamenu u, .discountmenu u {
    text-align: center;
    margin-left: 50px;
}

.vitrinamenu input {
  margin-right: 8px;
}


#content {
  width: 100%;
  /*  white-space:nowrap;*/
}

#left {
  width: 18%;
  float: left;
  /*padding: 10px;*/
  overflow: hidden;
  margin-right: 20px;
  padding-bottom: 5000px;
}
#left u {
  text-align: center;
  display: block;
  margin: 15px 0px 5px 0px;
  font-weight: 900;
}
#left a {
  display: block;
  }
#left table {
	width: 100%!important;
	margin: 0!important;
	border: none!important;
	}
#left td {
	border:none!important;
}

#left td {
  padding: 3px!important;
  border: none;
}
#data {
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  padding: 5px;
  padding-bottom: 5000px;
}
#pages table{
color: black;
}

#data table, #homecont table, .adm_cont table, #left table, check, #newwin table {
  margin: 5px auto;
  width: auto;
  white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
  border-collapse: collapse;
  /*background: rgb(194, 237, 255);*/
  background: #D9ECFF;
  border: 1px solid skyblue;
  padding: 5px;
  /*overflow-x: hidden;
    border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;*/
}
#data table img {margin:0 5px;}

#homecont tr:nth-child(odd), #data tr:nth-child(odd), #left tr:nth-child(odd) {background: #BDDFFF;}
.oddrows {/*background: lightblue;*/ background: #BDDFFF;}

#data td, #homecont td, #left td, .check td, #newwin td {
  border: 1px solid deepskyblue;
  padding:3px 5px;
  border-collapse: collapse;
  vertical-align: middle;
}

#data table th, #data table tr:first-child td, #homecont table th,
#homecont table tr:first-child td, .check tr:first-child td{
  border: 1px solid deepskyblue;
  padding:1px 0;
  text-align: center;
  border-collapse: collapse;
  background-color: skyblue;
  height: 22px;
  font-weight: 900;
}

#data input[type="button"], #data input[type="submit"], #data input[type="reset"], #vitsv input[type="button"], #vitsv input[type="submit"],
#vitsv input[type="reset"], #vitrina input[type="button"], #vitrina input[type="submit"], #vitrina input[type="reset"], #top input[type="submit"] {
  display: inline-block;
  height: 30px;
  line-height: 20px;
  padding-right: 5px;
  padding-left: 5px;
  position: relative;
  background-color:rgb(73, 182, 255);
  color:rgb(255,255,255);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 5px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#newwin input[type="button"] {
  display: inline-block;
  height: 30px;
  line-height: 20px;
  padding-right: 5px;
  padding-left: 5px;
  position: relative;
  background-color:rgb(73, 182, 255);
  color:rgb(255,255,255);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 5px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
input[disabled='disabled']::-ms-value {
   background: grey!important;
}
input[type="button"]:disabled {	background: grey!important;}
#left, #data, #topmenu, #homecont, #top, #admtop, #vitrina{
  /*background: skyblue;*/
  background: rgb(194, 237, 255);
  box-shadow: 0 0 15px #cccccc;
   -webkit-box-shadow: 0 0 15px #cccccc;
   -moz-box-shadow: 0 0 15px #cccccc;
  border-radius: 10px;
   -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}
#agentmenu {
	background: skyblue;
}
#agentmenu span {
	display: block;
	/*margin: 0 10px;*/
	font-weight: bold;
	/*background: skyblue;*/
	text-align: left;
	border-bottom: 1px solid grey;
	line-height: 25px;
	text-transform:uppercase;
}

.wellcome img {
  margin: 0 auto;
  display: block;
  width: 50%;
}

#left h4, #data h4, #right h4 {
  text-align: center;
  line-height: 30px;
  font-size: 15px;
  text-transform: uppercase;
}
.scrolltable {
  width: 100%;
  overflow: auto;
}
/**************** tabs **************************/
ul#Tabs {
    font-weight: 900;
    list-style-type: none;
    margin-left: 0;
}

#Tabs li.Tab {
    width: auto;
    float: left;
    height: 35px;
    margin: 2px 0px 0px 1.5px;
    border: 1px solid skyblue;
    text-align: center;
    border-bottom: none;
}

#Tabs li.Tab a {
    display: block;
    color: darkblue;
    text-decoration: none;
    padding: 0 5px;
    text-align: center;
    font-size: 12px;
    font-family: arial;
    line-height: 35px;
    outline: none;
}

#Tabs li.Tab a:hover {
    background-color: #bfe0fe;
    border-bottom: 1px solid #bfe0fe;
}

/* Состояние: активная */
#Tabs li.SelectedTab {
    width: auto;
    float: left;
    height: 35px;
    margin: 2px 0px 0px 1.5px;
    border-top: 1px solid skyblue;
    border-right: 1px solid skyblue;
    border-left: 1px solid skyblue;
    border-bottom: none;
    font-weight: 900;
}

#Tabs li.SelectedTab a {
    display: block;
    color: darkblue;
    text-decoration: none;
    padding: 0 5px;
    cursor: default;
    text-align: center;
    background-color: rgb(217, 236, 255);
    font-size: 12px;
    font-family: Arial;
    line-height: 35px;
}
#Tabs li.SelectedTab a, #Tabs li.SelectedTab, #Tabs li.Tab {
  border-top-left-radius: 10px;
  -moz-border-top-left-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -khtml-border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  -moz-border-top-right-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -khtml-border-top-right-radius: 10px;
}
#One td, #Two td {border: none;}

#TwoTab {
  margin-right: 1%!important;
  }
/**************** end tabs**************************/

/***************** vitrina *************************/
#vitrina {
  width: 98%;
  margin: 5px auto;
  padding: 5px 10px;
  padding-bottom: 5000px;
}
#vitrina h2 {
  color: darkblue;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 10px;
}
#vitrina h3 {
  vertical-align: middle;
}
#vitrina table {
  width: 100%;
  margin: 0 auto;
}

.check td{
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  vertical-align: middle;
}
.check th, .check tr:first-child td {
  font-size: 14px;
}

#findlist {float: right;}
#vitrina input[type="text"], #vitrina select {
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  vertical-align: middle;
  padding: 0 5px;
  margin: 10px 0;
}
#vitrina select {
  padding: 5px 10px;
  border:1px solid skyblue;
}
#beznal {
  text-align: center;
  width: 20px;
  height: 20px;
  margin: 5px 2px 0 5px;
}
.beznal {
  width: 100%;
  text-align: center;
}
.beznal label {
  font-size: 18px;
  line-height: 22px;
}
#vitrina img {
  vertical-align: middle;
}


.disctext {
text-align: center;
background: #fff!important;
border: 1px solid skyblue!important;
margin: 3px!important;
width: 29px;
vertical-align: baseline!important;
}


input[type="checkbox"] {
width: 13px;
    height: 13px;
    padding: 0;
    margin:0;
    vertical-align: bottom;
    position: relative;
    top: 0.3px;
    overflow: hidden;
    margin-right:2px;
}
.check input[type="checkbox"] {
    vertical-align: middle;
    top:-2px;
}
/*label {
    display: block;
    padding-left: 15px;
    text-indent: -15px;
}*/
/******************* end vitrina **************/
/******************* vitrina ditta **************/
.ditta {}

.small td {
/*	color: grey;*/
	background: lightcyan;
padding:0 1px;
FONT-SIZE:10px;}
#ditta {
	text-align: left;
}
#ditta tr {
	background: #BDDFFF;
}

#ditta table {
	/*width: 100%!important;*/
border-bottom: 1px solid grey;
  padding:3px 5px;
}
.dittatop {
	width: 80%;
	margin: 5px auto;
	}
.dittatop img, .dittatop input{
	vertical-align: middle;
	text-align: left;
	margin: 0 2%;
}
.break {
	width: 100%;
	border-bottom: 1px solid grey;
}
.boxdet {
	background:url(../system/star.png) no-repeat;
	width:20px;
	text-align:center;
	display: inline-block;
}

.move {
	background:url(../system/move.ico) no-repeat;
	width:20px;
	text-align:center;
	display: inline-block;
}


.ditta td {	padding:3px 5px!important;
}

#newwin input[type="button"]{/*	position: absolute;*/
/*	top:0;*/
/*	right:0;*/
/*	margin:0; */}
/******************* end ditta **********************/
/******************* ie8 **********************/

body.ie8 #left, body.ie8 #right, body.ie8 #data, body.ie8 #topmenu, body.ie8 #homecont, #top,
#vitadm, #vitrina, #vitrina table{
  zoom: 1;
  border-radius: 10px;
  behavior: url(../css/pie.htc);
  }
body.ie8 #vitrina input[type="text"], #login input[type="text"], #login input[type="password"],
#login input[type="submit"], #vitrina select, body.ie8 .disctext {
  zoom: 1;
  border-radius: 5px!important;
  behavior: url(../css/pie.htc);
}
body.ie8 #vitrina input[type="text"], body.ie8 .disctext {
  border: 1px solid darkblue;
}
#data tr, #homecont tr, #vitadm tr, #left tr {
  /*behavior: url(css/stripy.htc);*/
  }
body.ie8 #agentmenu {
  zoom: 1;
  border-radius: 5px 5px 0 0;
  behavior: url(../css/pie.htc);
}
body.ie8 {
    width: 98%;
    margin: 0 auto;
}

body.ie8 #data{
    padding: 5px;
    padding-bottom: 5000px;
}
body.ie8 #left {
  overflow: hidden;
}
#dittamenu {	margin: 10px 0;}
#dittamenu a {	margin: 5px;	padding: 5px 10px;
/*	background: grey;
	color: #fff;      */}
#dittamenu a:hover {	color: darkred;}
/****************** end ie8 ***********************/