html,body {
	margin: 0;
	padding: 0;
}

body {
	background: url(/images/bg_header.gif) repeat-x left top;
	background-color: #c7dbf1;
	font-family: Arial;
	font-size: 13px;
	color: #000;
}

form {
	margin:0;
	padding:0;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.clearer {
	clear: both;
}

.red,
.error {
	color: #f00;
}

.green {
	color: #00a400;
}

.bold {	
	font-weight: bold;
}

input[type="text"],
select {
	border: 1px solid #004080;
}

#wrapper {
	width: 1000px;
	height: auto;
	margin: 0 auto;
}

.watermarkField,
.watermarkFieldPassword,
.watermarkSelect {
	color: #aaa;
}

#loginStatus {
	display: none;
	font-size: 14px;
	margin: 0 0 20px 0;
}

#homeIcons {
	width: 654px;
	height: 302px;
	margin: 120px auto 0 auto;
}

#vodomeriIcon,
#toplomeriIcon {
	width: 300px;
	height: 300px;
	border-radius: 20px;
	border: 1px solid #000;
	float: left;
	display: block;
}

#vodomeriIcon {
	background: #fff url(/images/vodomeri.jpg) no-repeat;
	margin: 0 50px 0 0;
}

#toplomeriIcon {
	background: #fff url(/images/toplomeri.jpg) no-repeat;
	opacity: 0.2;
	 filter:alpha(opacity=20);
}

#topMenuWatermeters {
	width: 100%;
	height: 25px;
	background: #000;
	color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}

#topMenuWatermeters .btn {
	float: left;
	margin: 6px 20px; 
	cursor: pointer;
}

.boxHeader {
	width: 100%;
	padding: 3px 0 3px 10px;
	color: #fff;
	background: #004080;
}

.close {
	position: absolute;
	top: 5px;
	right: 8px;
	width: 9px;
	height: 9px;
	background: url(/images/icon-close.png) no-repeat;
	cursor: pointer;
}

#ordersBox,
#protocolsBox,
#watermetersBox {
	width: auto;
	height: auto;
	background: #f4faff;
	border: 1px solid #004080;
	border-radius: 15px;
	margin: 50px 20px 0;
	overflow: hidden;	
	padding: 0 0 10px 0;
	position: relative;
}

#ordersList,
#ordersBox,
#ordersPreForm,
#ordersForm,
#protocolsBox,
#watermetersBox,
#watermetersSearch {
	display: none;
}

#ordersPreForm {
	width: 460px;
}

#ordersForm {
	padding: 20px;
}

#ordersForm .field {
	margin: 10px 0;
	position: relative;
}

#ordersForm .fieldCaption {
	width: 180px;
	display: inline-block;
}

#ordersForm input[type="text"]{
	width: 200px;
}

#ordersForm select {
	width: 204px;
}

#ordersForm #newOrdersSubmit,
#ordersPreForm .formTypeBtn {
	height: 33px;
	padding: 15px 0 0 0;
	color: #fff;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	background: #004080;
	border-radius: 10px;
	cursor: pointer;
}

#ordersForm #newOrdersSubmit {
	width: 100%;
	margin: 20px 0;
}

#ordersPreForm .formTypeBtn {
	width: 190px;
	float: left;
	margin: 20px 20px;
}

#ordersForm #ordersCancel {
	width: 100%;
	height: 19px;
	padding: 6px 0 0 0;
	color: #fff;
	text-align: center;
	background: #790000;
	border-radius: 10px;
	margin: 10px 0;
	cursor: pointer;
}

#ordersListTable {
	 margin: 0 2%; 
	 border-top: 1px solid #000;
	 border-left: 1px solid #000;
}
#ordersListTable td {
	 border-bottom: 1px solid #000;
	 border-right: 1px solid #000;
}

#Q3Relatives {
	display: none;
}

#producers {
	position:absolute;
}

/*
#ordersFunctions {
	height: 30px;
	width: 600px;
	margin: 15px 0 15px 0;
	background: url(/images/icon-with-selected.png) no-repeat 8px 5px;
	padding: 0 35px; 0 0
}
*/

#ordersFunctions {
	height: 30px;
	width: 600px;
	margin: 5px 0 5px 0;
	background: url(/images/icon-with-selected-top.png) no-repeat 36px 20px;
	padding: 0 0 10px 63px;
}

#watermetersFunctions {
	height: 30px;
	width: 600px;
	margin: 5px 0 5px 0;
	background: url(/images/icon-with-selected-top.png) no-repeat 23px 20px;
	padding: 0 0 10px 50px;
}

#ordersPages,
#watermetersPages {
	margin: 15px 13px 0 0;
	text-align: center;
	float: right;
}

#watermetersPages {
	display: none;
}

#ordersPages .ordersPage,
#watermetersPages .watermetersPage {
	height: 19px;
	width: 22px;
	background: #004080;
	padding: 3px 0 0 0;
	margin: 0 5px 5px;
	text-align: center;
	color: #fff;
	font-size: 12px;
	font-weight: normal;
	border: 1px solid #004080;
	border-radius: 3px;
	cursor: pointer;
	display: inline-block;
}

#ordersPages .ordersPageSelected,
#watermetersPages .watermetersPageSelected {
	height: 19px;
	width: 22px;
	background: #fff;
	padding: 3px 0 0 0;
	margin: 0 5px;
	text-align: center;
	color: #004080;
	font-size: 12px;
	font-weight: bold;
	border: 1px solid #004080;
	border-radius: 3px;
	display: inline-block;
}

#iconSelectAll,
#iconMakeProtocol,
#iconVisualCheckFail {
	padding: 12px 0 3px 10px;
	float:left;
	color: #005bb7;
	cursor: pointer;
}

#iconVisualCheckFail {
	margin: 0 0 0 20px;
}

#iconPrintOrders {
	width: 200px;
	height: 15px;
	margin: 9px 0 0 15px;
	padding: 3px 0 0 30px;
	background: url(/images/icon-print.png) no-repeat;
	float: left;
	cursor: pointer;
}

.iconPrintOrder {
	width: 13px;
	height: 12px;
	background: url(/images/icon-print.png) no-repeat;
	background-size: 13px 12px;
	display: inline-block;
	margin: 0 0 0 10px;
	cursor: pointer;
}

.iconPrintCertificate {
	width: 13px;
	height: 12px;
	background: url(/images/icon-print-green.png) no-repeat;
	background-size: 13px 12px;
	display: inline-block;
	margin: 0 0 0 20px;
	cursor: pointer;
}

#watermetersSearch .watermetersFilter {
	width: 70px;
}

#watermetersListTable {
	 width: 98%;
	 margin: 0 1%; 
}

#watermetersListTable td {
	 border-bottom: 1px solid #000;
	 border-right: 1px solid #000;
}

.watermeterTitleTdBorder {
	 border-top: none !important;
	 border-right: none !important;
	 border-bottom: 1px solid #000;
	 border-left: none !important;
}

#watermetersListTableBody td {
	padding: 2px 2px 2px 7px;
}

#protocolsForm .fieldInitialReadings,
#protocolsForm .fieldReadings1,
#protocolsForm .fieldReadings2,
#protocolsForm .fieldReadings3,
#protocolsForm .fieldPressureDrop,
#protocolsForm .fieldTightness,
#protocolsForm .fieldConclusion {
	width: 85px;
}


#protocolsForm .fieldEtalon1,
#protocolsForm .fieldEtalon2 {
	width: 45px;
}

#protocolsForm .fieldEtalon3 {
	width: 50px;
}

#protocolsForm .QnElement,
#protocolsForm .Q3Element {
	display: none;
}

#test div {
	text-align: left;
	padding: 0 0 0 15mm;
}

#protocolSaveButton {
	width: auto;
	height: 24px;
	float: right;
	margin: 20px 10px 0 0;
	padding: 7px 20px 0 20px;
	color: #fff;
	text-align: center;
	font-size: 13px;
	font-weight: bold;
	background: #004080;
	border-radius: 10px;
	cursor: pointer;
}

#protocolLoading {
	background: #fff url(/images/loading.gif) no-repeat 75px 2px;
	width: 178px;
	height: 31px;
	margin: 20px 20px 0 0;
	border-radius: 10px;
	float: right;
	display: none;
}

.protocolNumber {
	cursor: pointer;
}

#protocolNumberWrapper {
	display:none;
	margin: 10px 0 20px 0;
}

#protocolNumber {
	font-size: 20px;
}

.visualCheckFail {
	cursor: pointer;
	color: #00f;
}

#noteBox {
	padding: 10px;
	background: #e4eaff;
	border: 1px solid #004080;
	border-radius: 15px;
	width: 265px;
	height: 150px;
	position: absolute;
	top: 150px;
	left: 700px;
	display: none;
}

#noteSave {
	cursor: pointer;
	text-align: right;
	margin: 5px;
	color: #00f;
}

