
div.clear{
	clear:both;
	font-size:1px;
}

/*верхняя админская панелька*/

#adm{
	/*position:fixed; */
	*position:absolute;
  
  left: -20%;
  margin-left: 50%;
  width: 40%;
  
	/*left: 50%;
  margin-left: -250px;
  width: 500px;*/
  
	text-align: center;
	color: white;
	padding: 1px 3px 3px;
	background-color: #316AC5;
  opacity: 0.7;
  font:13px tahoma;
	cursor: pointer;
	-webkit-border-bottom-right-radius:4px;
	-webkit-border-bottom-left-radius:4px;
	-moz-border-radius-bottomright:4px;
	-moz-border-radius-bottomleft:4px;
	border-bottom-right-radius:4px;
	border-bottom-left-radius:4px;	
	filter: alpha(opacity=70);
  z-index: 10000;
}
#adm .adm-mid, #adm .adm-mic{
  display: none;
}


/*окна*/
#wait {
  display: none;
  position: fixed;
  left: 48.6%;
  top: 48.6%;
  z-index: 2000;
  border: 0;
  *position:absolute;
}
.winParent{
  /* нужен для устранения бага IE6 с ненажимаемыми кнопками при установке альфа-фильтра в .winHold */
	display:none;
  top:0;
  left:0;
  width:100%;
  height:100%;
	position:absolute; 
	z-index:100;
}
.winHold {
	left:0px; 
	width:100%; 
	height:100%;
  /*
  background: url(../img/bridge_winBg.png) repeat scroll 0 0 transparent;
	*background: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bridge_winBg.png', sizingMethod='scale');
  */
}
.win {
	position: relative;
	background-color: white;
	border: 4px solid #6666FF;
	padding: 4px 10px 10px;
	text-align: left;
	width: 50%;
	font: 14px arial;
 	-moz-border-radius: 3px;
 	-webkit-border-radius: 3px;
 	-khtml-border-radius:3px;
 	border-radius: 3px;
}
.win .wcl {
	width: 20px;
	height: 20px;
	text-align: center;
	vertical-align: middle;
	float: right;
	font: 22px Tahoma;
	cursor: pointer;
	position: relative;
	right: -5px;
	top: -4px;
	color: #6666FF;			
}
.win .wbk {
	float: left;
	font: 16px Tahoma;
	cursor: pointer;
	position: relative;
	right: -3px;
	top: 1px;
	color: #6666FF;			
}
.win h1 {
	border-bottom: 1px solid #6666FF;
	font: 16px Arial;
	margin: 0 0 8px;
	padding: 2px 0 5px 20px;
	text-align: center; 
}
.win h2 {
	font: 15px Arial;
	margin: 10px 0 0 0;
	padding: 0;
}
.win h3 {
	font: 13px arial;
	margin: 0;
	padding: 0;
	color: gray;
}

.win a, .win input, .win select, .win textarea, .win button{
  position: relative; /* нужен для устранения бага IE с ненажимаемыми кнопками при установке альфа-фильтра в .winHold */
 	-moz-border-radius: 3px;
 	-webkit-border-radius: 3px;
 	-khtml-border-radius:3px;
 	border-radius: 3px;
}
.win input{
	padding: 1px 2px;
}
.win button{
  background: none repeat scroll 0 0 #6666FF;
  border: medium none;
  color: #FFFFFF;
  font: 14px Arial,sans-serif;
  padding: 2px 8px;
  text-align: center;
  cursor: pointer;
}
.win button.cls{
	width:200px;
}
.win .res{
	margin: 10px 0;
}

/*button{
  background: none repeat scroll 0 0 #6666FF;
  border: medium none;
  color: #FFFFFF;
  font: 14px Arial,sans-serif;
  padding: 1px 8px 2px;
  text-align: center;
  cursor: pointer;
}*/


.w{
  width: 100%;
}

table td{
  font: 14px arial;
}
table th{
	font: bold 13px verdana;
}
table.hide{
  border-collapse: collapse;
}
table.hide th{
  border: 0;
  vertical-align: top;
  padding: 0 3px 2px 3px;
}
table.hide td{
  border: 0;
  vertical-align: top;
  padding: 0 3px;
}
table.hide th{
	font-weight: bold;
}
table.b th{
  border: 1px solid #DDDDDD;
  border-bottom: 2px solid #DDDDDD;
  border-top: 2px solid #DDDDDD;
}
table.b td{
  border: 1px solid #DDDDDD;
}
table tr.g td{
	background-color: #FAFAFA;
}
table tr.sh td{
	background-color: #FFFF55;
}

/*
.win th{
  border: 1px solid #DDDDDD;
  text-align: center;
  font: bold 13px arial;
}
.win td{
  border: 1px solid #DDDDDD;
  font: 13px arial;
}
.win th.w, .win td.w{
  border: 1px solid white;
}
.win table.w td, .win table.w td{
  border: 1px solid white;
}*/
.win td.e{
  color: olive;
  text-align: center;
  cursor: pointer;
}
.win td.d{
  color: red;
  text-align: center;
  cursor: pointer;
}
.win input, .win textarea{
  font: 14px arial;
}
.win input.cb{
  width: 14px;
}
.win ul{
	list-style-type: none;
}
.clLnk{
	color: #6666FF;
}


#clr{
  color:red;
  font: bold 14px tahoma;
  cursor: pointer;
	float: right;
	position:relative;
	left:3px;
	top:-2px;
}
#hlp{
  color:#6666FF;
  font: bold 14px tahoma;
  cursor: pointer;
	float: right;
	position:relative;
	top:-2px;
	left:3px;
}
#sett{
	color:#6666FF;
	font:bold 18px tahoma; 
	cursor:pointer; 
	position:relative;
	left:7px;
	top:-1px;
}

.lnk{
  color: #3333ff;
  cursor: pointer;
  font: 14px arial;
  text-decoration: underline;
}
.lnkn{
  color: #3333ff;
  cursor: pointer;
  font: 14px arial;
  text-decoration: none;
}
.lnkd{
  color: #3333ff;
  cursor: pointer;
  font: 14px arial;
  text-decoration: none;
  border-bottom:1px dashed #3333ff;
}
.s10{
  font: 10px arial;
}
.s11{
  font: 11px arial;
}
.s12{
  font: 12px arial;
}
.s13{
  font: 13px arial;
}
.s14{
  font: 14px arial;
}
.gray{
	color: gray;
  border-color: gray;
}
.hlp{
	cursor: help;
}
.red{
	color: #ff5555!important;
  border-color: #ff5555!important;
  stroke: #ff5555!important;
  fill: #ff5555!important;
}
.red svg g,
.red svg path,
.red svg polygon,
{
  color: #ff5555!important;
  border-color: #ff5555!important;
  stroke: #ff5555!important;
  fill: #ff5555!important;
}
.green{
	color: green;
  border-color: green;
}
.ac{ /*after create*/
	background-color: #88FFB6;
}
.ae{ /*after edit*/
	background-color: #FFFFAA;
}
.ad{ /*after delete*/
	background-color: #FFA9CA;
}


.p{
  cursor: pointer;
}
.l{
  text-align: left;
}
.r{
  text-align: right;
}
.c{
  text-align: center;
}
.b{
  font-weight: bold;
}
.fr{
  float: right;
}



#boss.has-windows {
  filter: blur(5px);
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
}
.modal-holder {
  position: absolute;
  /*display: table;*/
  width: 100%;
  height: 100%;
}
.modal-blocker {
  position: fixed;
  width: 100%;
  height: 100%;
}
.modal-dialog {
  width: 350px;
  max-width: unset;
}
.modal-dialog.dialog-middle-width {
  width: 600px;
}
/*.modal-dialog {
  max-width: 100% !important;
  height: 100%;
  display: table-cell;
}*/
.modal-content {
  text-align: justify;
  /*max-width: 500px;*/
  top: 17px;
}


    
@media (max-width: 1024px)
{
  div.modal-holder div.modal-dialog {
    width: 100% !important;
    max-width: 100%;
    margin: 0;
  }
  
  .modal-content {
    top: 0px;
  }

}

@media (max-width: 852px) 
{
  #adm .adm-big, #adm .adm-mic{
    display: none;
  }
  #adm .adm-mid{
    display: block;
  }
}

@media (max-width: 768px) 
{
  .win{
    width: 90% !important;
    margin: 0;
    border-width: 1px !important;
  }
  .winHold{
    padding:0;
  }
  
  #adm .adm-big, #adm .adm-mid{
    display: none;
  }
  #adm .adm-mic{
    display: block;
  }
}
