body {
	background: #FFF;
	font-size:12px;
	font-family: "Arian AMU", Arial, Helvetica, sans-serif;
	padding: 10px;
	margin: 0;
}
.clr { clear:both; }
#top-button {
    display: none;
    width: 30px;
    height: 30px;
    position: fixed;
    bottom: 5px;
    right: 5px;
}

/*-------------------     PREDEFINED     -------------------*/

div.clear {
	clear: both;
}

/*-------------------     POSTPONES NOTIFICATIONS     -------------------*/

#postpones-notification {
	background: none repeat scroll 0 0 #ED1B24;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    display: block;
    padding: 10px;
    margin: 0 0 10px 0;
}
	#postpones-notification a {
		color: #f8f8f8;
		border-bottom: 1px #FFF dashed;
		text-decoration: none;
	}
/*-------------------     LOGIN FORM     -------------------*/

#login-form {
	border: 1px solid #CCCCCC;
    display: block;
    margin: 100px auto;
    padding: 20px 20px 0 20px;
    width: 300px;
}

	#login-form h2.title {
		color: #146295;
	    display: block;
	    font-size: 28px;
	    font-weight: bold;
	    margin: 0 0 15px 0;
	    padding: 0;
	}

	#login-form label {
		display: block;
		font-size: 12px;
		color:#434343;
		margin: 0 0 5px 0;
	}

	#login-form input[type="text"],
	#login-form input[type="password"] {
		border: 1px solid #CCCCCC;
	    display: block;
	    margin: 0 0 15px;
	    padding: 5px;
	    width: 285px;
	}

	#login-form input[type="submit"] {
		border: 1px solid #CCCCCC;
	    border-radius: 5px 5px 5px 5px;
	    display: block;
	    font-size: 16px;
	    padding: 5px 20px;
	    cursor: pointer;
	    margin: 0 0 10px 0;
	}

/*-------------------     TIMEPICKER     -------------------*/

.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

/*-------------------     USER BAR     -------------------*/

#user-bar {
	float: right;
    padding: 15px;
}

	#user-bar a.logout {
		background: url("../images/icons/buttons/sign-out.png") no-repeat scroll right center transparent;
	    color: #146295;
	    display: block;
	    font-size: 12px;
	    height: 14px;
	    padding: 3px 23px 0 0;
	    text-decoration: none;
	}

	#user-bar a.logout:hover {
		text-decoration: underline;
	}

/*-------------------     WRAPPER     -------------------*/

#wrapper {
	width:1180px;
	margin: 0 auto;
	position: relative;
}

/*-------------------     HEADER     -------------------*/

#header {
	background: #eee;
	height: 70px;
	border:1px #CCC solid;
	border-bottom:none;
	margin: 0;
	width: 100%;
	border-radius: 10px 10px 0 0;
}

	#header a.site-name {
		display:block;
		float:left;
		color: #146295;
		font-size: 32px;
		font-weight: bold;
		padding: 19px;
		text-decoration: none;
	}

/*-------------------     CONTAINER     -------------------*/

#container {
	border: 1px solid #DDDDDD;
    margin: 10px 0 0;
    padding: 1%;
    width: 98%;
    border-radius: 10px;
}

/*-------------------     CONTENT     -------------------*/

#content {
	width: 100%;
	position: relative;
}

/*-------------------     FIELDSET     -------------------*/

fieldset {
	border:1px #CCC solid;
	padding: 10px 20px;
}

	fieldset legend {
		font-weight: bold;
		padding: 0 10px;
		font-size: 18px;
	}

/*-------------------     MESSAGES     -------------------*/

#messages {
	clear: both;
    font-size: 12px;
    padding: 0;
    white-space: nowrap;
    border:1px dashed #CCCCCC;
    width: 100%;
}

#messages .message {
	display: block;
    float: left;
    height: 13px;
    margin: 10px;
    padding: 3px 0 0 25px;
    width: 100%;
}

#messages .success {
	background: url("../images/icons/buttons/success.png") no-repeat scroll 0 center transparent;
    color: #009000;
}

#messages .warning {
	background: url("../images/icons/buttons/warning.png") no-repeat scroll 0 center transparent;
    color: orange;
}

#messages .error {
	background: url("../images/icons/buttons/error.png") no-repeat scroll 0 center transparent;
    color: #900000;
}

/*-------------------     MENU     -------------------*/

#menu {
	background: none repeat scroll 0 0 #F0F0F0;
    border: 1px solid #CCCCCC;
    clear: both;
    margin: 0 0 70px;
    width: 100%;
}

	#menu ul {
		display: block;
		clear: both;
		width: 100%;
		margin: 0;
	}

		#menu ul li {
			border-left: 1px solid #FFFFFF;
    		border-right: 1px solid #D8D8D8;
    		display: inline;
		    float: left;
		    list-style: none outside none;
		    position: relative;
		}

			#menu ul li a {
				display: block;
    			white-space: nowrap;
    			background-position: left 50%;
			    background-repeat: no-repeat;
			    color: #333333;
			    font-size: 1em;
			    font-weight: bold;
			    line-height: 20px;
			    margin: 0 1px;
			    padding: 0.35em 1em;
			    text-decoration: none;
			}

			#menu ul li a:hover {
				color: #025A8D;
			}

		#menu ul li ul.sub {
		    background: none repeat scroll 0 0 #EEEEEE;
		    border: 1px solid #DDDDDD;
		    left: -2px;
		    position: absolute;
		    top: 28px;
		    width: 150px;
		    display: none;
		    z-index: 10;
		}

			#menu ul li ul.sub li {
				border-bottom:1px #DDD solid;
			    clear: both;
			    width: 150px;
			}

				#menu ul li ul.sub li a {
					cursor: pointer;
				}

/*-------------------     DATAGRID TABLE     -------------------*/

#datagrid-container {
	background: none repeat scroll 0 0 #F4F4F4;
    border: 1px solid #DDD;
    padding: 0;
    margin: 0 0 20px 0;
	position:relative;
}

	#datagrid-container table.datagrid {
		background: #F3F3F3;
	    border-spacing: 1px;
	    color: #666666;
	    width: 100%;
	    border:1px #f3f3f3 solid;
	    border-radius: 10px;
	    clear: both;
	    border-collapse: separate;
	    font-size: 12px;
	}
		#datagrid-container table.datagrid td {
			background: none repeat scroll 0 0 #F0F0F0;
	    	border: 1px solid #FFFFFF;
	    	padding: 5px;
	    	border-spacing: 1px;
	    	border: 1px solid #FFFFFF;
		}

		#datagrid-container table.datagrid tr.odd td {
			background: #FFF;
			border: 1px solid #FFFFFF;
		}

		#datagrid-container table.datagrid tr.active td {
			background: #E8F6FE;
		}

		#datagrid-container table.datagrid td:last-child {
			border-left: none;
		}

		#datagrid-container table.datagrid tr.unregioned td {
			background: rgb(209, 165, 165);
			color: #FFF;
		}

		#datagrid-container table.datagrid tr.unregioned td a {
			color: #FFF;
		}

		#datagrid-container table.datagrid tr.no-inspector td {
			background: rgb(249, 165, 165);
			color: #FFF;
		}
		
		#datagrid-container table.datagrid tr.cancel_stoppage_date td,
		#datagrid-container table.datagrid tr.closing_contract_date td {
			background: rgb(0, 204, 204) !important;
			color: #FFF;
		}

		#datagrid-container table.datagrid tr.problem_unsolved td {
			background: rgba(255, 28, 28, 0.61) !important;
		}
		#datagrid-container table.datagrid tr.problem_solved td {
			background: rgba(206, 206, 206, 0.76) !important;
			color:#000;
		}
		#datagrid-container table.datagrid tr.problem_solved td a { 
			color:#000;
		}

		#datagrid-container table.datagrid tr.no-inspector td a {
			color: #FFF;
		}

			#datagrid-container table.datagrid td a {
				color: #025A8D;
				text-decoration: none;
				font-weight: bold;
			}

			#datagrid-container table.datagrid tr td a:hover {
				text-decoration: underline;
			}

			#datagrid-container table.datagrid td a.state {
				text-decoration: none;
				cursor: pointer;
			}

			#datagrid-container table.datagrid td a.state.published {
				color:green;
			}

			#datagrid-container table.datagrid td a.state.unpublished {
				color:red;
			}

		#datagrid-container table.datagrid th {
			padding: 10px;
			background: none repeat scroll 0 0 #F7F7F7;
		    border-bottom: 1px solid #CCCCCC;
		    border-left: 1px solid #FFFFFF;
		    color: #025A8D;
		    font-weight:bold;
		    text-align: center;
		}

/*-------------------     MAP     -------------------*/

#map-container {
	width: 100%;
}
	#map-container #big-map {
		width: 100%;
		height: 500px;
	}

	table.application-info {
		width: 100%;
		font-family: "Arian AMU", Arial, Helvetica, sans-serif;
	}
		table.application-info th {
			font-weight: bold;
			text-align: left;
			width: 300px;
			padding: 10px 10px 10px 0;
			line-height: 18px;
			border-bottom: 1px #CCC solid;
		}

		table.application-info td {
			text-align: left;
			width: 300px;
			padding: 10px;
			line-height: 18px;
			border-bottom: 1px #CCC solid;
		}

/*-------------------     STATUSES     -------------------*/

#status-change-close,
#problems-change-close {
	position: absolute;
	top: 10px;
	right: 10px;
	color:
	#146295;
}

.status-change,
.problems-change {
	width: 50%;
	display:none;
	background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
	top: 7px;
	padding:30px;
  	position: fixed;
	z-index: 2;
}

.status-change-fixed,
.problems-change-fixed {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    display: none;
    top: 60px;
    padding: 30px;
    position: fixed;
    z-index: 2;
}

.status-change span,
.problems-change span {
	display: block;
	margin: 0 0 10px 0;
	padding: 10px 10px 0 10px;
	cursor: pointer;
}
/*-------------------     POSTPONE     -------------------*/

#postpone-change-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: 	#146295;
}

.postpone-change {
    display:none;
    border: 1px 	#DDD solid;
    width: 1093px;
    background: #FFF;
    z-index: 2;
    padding:30px;
}

.postpone-change-fixed {
	background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    display: none;
    left: 50%;
    margin-left: -590px;
    padding: 30px;
    position: fixed;
    top: 56px;
    width: 1119px;
    z-index: 2;
}
.postpone-change span {		display: block;		margin: 0 0 10px 0;		padding: 10px 10px 0 10px;		cursor: pointer;	}
.postponed-to {		display:block; 		margin-top:10px;	}
/*-------------------     VALIDATION     -------------------*/

.validation {
	display: block;
	margin:0 0 20px 0;
}
	.validation p {
		color: #880000;
	    display: block;
	    padding: 5px 0;
	}

/*-------------------     INPUT FORM     -------------------*/

#input-form {

}

	#input-form table.input-list {
		display: block;
		margin: 0;
		padding: 0;
		width: 100%;
	}

		#input-form table.input-list td {
			vertical-align: middle;
			display: table-cell;
			padding: 10px 20px 10px 0;
		}

		#input-form table.input-list label {
			display: block;
			margin: 0;
			max-width: 300px;
			line-height: 16px;
		}

		#input-form table.input-list input[type="text"],
		#input-form table.input-list input[type="password"] {
			border: 1px solid #BBBBBB;
		    display: block;
		    padding: 5px 8px;
		    width: 400px;
		    margin: 0;
		}

		#input-form table.input-list select {
			border: 1px solid #BBBBBB;
		    display: block;
		    padding: 5px 8px;
		    width: 317px;
		    margin: 0;
		}

		#map-canvas {
			width: 600px;
			height: 400px;
		}

/*-------------------     STATS     -------------------*/

#stats .stats-table {
	background: #F3F3F3;
	border-spacing: 1px;
	color: #666666;
	width: 100%;
	border:1px #f3f3f3 solid;
	border-radius: 10px;
	clear: both;
	border-collapse: separate;
}
	#stats .stats-table td {
		background: none repeat scroll 0 0 #F0F0F0;
		border: 1px solid #FFFFFF;
		padding: 10px;
		border-spacing: 1px;
		border: 1px solid #FFFFFF;
	}

	#stats .stats-table tr.odd td {
		background: #FFF;
		border: 1px solid #FFFFFF;
	}

	#stats .stats-table tr.active td {
		background: #E8F6FE;
	}

	#stats .stats-table td:last-child {
		border-left: none;
	}

	#stats .stats-table th {
			padding: 10px;
			background: none repeat scroll 0 0 #F7F7F7;
		    border-bottom: 1px solid #CCCCCC;
		    border-left: 1px solid #FFFFFF;
		    color: #025A8D;
		    font-weight:bold;
		    text-align: left;
		}

#stats h2.count {
	display:block;
	margin:10px 0;
	font-size:22px;
	color:#025A8D;
}

#stats .left {
    width: 415px;
    float: left;
    margin: 0 10px 0 0;
}

#stats .right {
    width: 715px;
    float: right;
}

.filter-box {
    position: relative;
    width: 100%;
}

.filter-box input[type="submit"] {
    float: left;
}

.filter-box-cnt {
    float: left;
    margin: 0 30px 0 0;
}

.filter-box .map-holder {
    background: url("../images/map.png") no-repeat scroll top left white;
    width: 497px;
    height: 467px;
    position: absolute;
    z-index: 5;
    border: 1px #CCC solid;
    top: 0;
    right: -1px;
    padding: 30px;
    display: none;
}

.filter-box .map-holder .region-button {
    color: #000;
    text-decoration: none;
    font-size: 13px;
}

.filter-box .map-holder .region-button:hover {
    text-decoration: underline;
}

.filter-box .map-closer {
    display: block;
    position: absolute;
    top: 15px;
    right: 11px;
    text-decoration: none;
    color: #434343;
}

.filter-box .map-cleaner {
    display: block;
    position: absolute;
    top: 15px;
    right: 60px;
    text-decoration: none;
    color: #434343;
}

a.map-opener {
    display: block;
    float: right;
    color: #434343;
    text-decoration: none;
    margin: 5px 0 0 0;
}

#inspectors_table table {
    width: 100%;
}

#inspectors_table table td {
    padding: 10px;
    width: 100px;
}

#statuses_table table {
    width: 100%;
}

#statuses_table table td {
    padding: 10px;
    width: 100px;
    text-align: center;
}

/*-------------------     TOOLBAR     -------------------*/

#toolbar {
	background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    left: 0;
    position: absolute;
    top: 105px;
    width: 1180px;
    z-index: 1;
}
.popup #toolbar, #toolbar.inlineToolbar{
    width: 99%;
    position: relative;
    top: auto;
    left: auto;
}

	#toolbar.toolbar-fixed {
		background: none repeat scroll 0 0 #FFFFFF;
		border: 1px solid #CCCCCC;
		left: 50%;
		margin-left: -590px;
		position: fixed;
		top: 0;
		width: 1180px;
		z-index: 1;
	}

	#toolbar .inner {
		padding:10px;
		width: 98%;
	}

	#toolbar h2.page-title,
	.sectionTItle {
		color: #146295;
	    display: block;
	    float: left;
	    font-size: 28px;
	    font-weight: bold;
	    margin: 0;
	    padding: 2px 0 0 5px;
	}
		
	.sectionTItle {
		font-size: 20px;
	}
	
	#toolbar .buttons,
 	#contractActions .buttons{
		float: right;
	}

	#toolbar .buttons a.button,
	#contractActions .buttons a.button {
	    border: 1px solid #CCC;
	    color: #434343;
	    display: block;
	    float: left;
	    margin: 0 0 0 10px;
	    padding: 10px 10px 10px 35px;
	    text-decoration: none;
	    border-radius: 5px;
	}

	#toolbar .buttons a.button.add {
	    background: url("../images/icons/buttons/add.png") no-repeat scroll 10px center transparent;
	}

	#toolbar .buttons a.button.save {
	    background: url("../images/icons/buttons/save.png") no-repeat scroll 10px center transparent;
	}

	#toolbar .buttons a.button.delete {
	    background: url("../images/icons/buttons/delete.png") no-repeat scroll 10px center transparent;
	}

	#toolbar .buttons a.button.close,
 	#contractActions .buttons a.button.close{
	    background: url("../images/icons/buttons/close.png") no-repeat scroll 10px center transparent;
	}

	#toolbar .buttons a.button.print,
	#contractActions .buttons a.button.print {
	    background: url("../images/icons/buttons/print.png") no-repeat scroll 10px center transparent;
	}
	
	#contractActions .buttons a.button.back {
	    background: url("../images/icons/buttons/back.png") no-repeat scroll 10px center transparent;
	}
	
	#toolbar .buttons a.button.email,
	#contractActions .buttons a.button.email {
	    background: url("../images/icons/buttons/email.png") no-repeat scroll 10px center transparent;
	}
	
	#toolbar .buttons a.button.edit {
	    background: url("../images/icons/buttons/edit.png") no-repeat scroll 10px center transparent;
	}
	#toolbar .buttons a.button.list {
	    background: url("../images/icons/buttons/database.png") no-repeat scroll 10px center transparent;
	}
	#toolbar .buttons a.button.success {
		background: url("../images/icons/buttons/success.png") no-repeat scroll 10px center transparent;
	}
	
	#toolbar .buttons a.button.contract {
		background: url("../images/icons/buttons/attibutes.png") no-repeat scroll 10px center transparent;
	}

/*-------------------     PAGINATION     -------------------*/

#pagination {
	display: block;
	text-align: center;
	margin:0;
	width: 100%;
}

#pagination .inner {
	margin: 0 auto;
	display: inline-block;
}

#pagination a,
#pagination strong {

	padding: 4px 7px;
	text-decoration: none;
	border: 1px solid #cac9c9;
	color: #292929;
	font-size: 13px;
	float: left;
	margin: 0 5px 0 0;
}

#pagination strong, #pagination a:hover {
	font-weight: normal;
	background: #EEE;
}

/*-------------------     FOOTER     -------------------*/

#footer {

	padding: 10px 0;
	text-align: center;
	margin: 10px 0 0 0;
	width: 100%;
}

/*----------------    CLEARFIX   --------------*/

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

.add_new_filed { 
    width: 120px;
    color: #146295;
    border: 1px dotted;
    padding: 5px;
    margin-top: 10px;
    display: inline-block;
	cursor: pointer;
}
.user_fileds .files_name {
	width: 80% !important;
    display: inline-block !important;
    margin-left: 10px !important;
}
.user_fileds .removeFileFiled {
    display: inline-block;
	cursor:pointer; color: #960707;
}

.filesForm th {
	width: 225px;
    font-weight: bold;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
    padding-right: 10px;
}

.status-dialog-link{
    font-size: 10px;
}
.ui-tabs .ui-tabs-panel {
    padding: 1em 0.5em;
}

.statuses_table_xpand{
    text-align: right;
}
.statuses_table_xpand a{
    text-decoration: none;
}
.statuses_table_xpand:after{
    clear: both;
}

.right{
    float: right;
}
.hidden{
    display: none;
}
.pointer{
    cursor: pointer;
}
.service, .support {
    height: 16px !important;
    width: 16px !important;
}
.service img{
    opacity: 0;
}
.service.yes img, .support.yes img, .support img{
    opacity: 1;
}
.service.no img, .support.no img{
    opacity: 0.1;
}
/*
  Task's  styles
*/

.open, .open  td, .open td a{
	background-color: #E8E1E3 !important;
}
.reopened, .reopened td, .reopened td a{
    background-color: #B35676 !important;
	color: white !important;
}
.closed, .closed td, .closed td a{
	background-color: #4EB012 !important;
	color: white !important;
}
.expired, .expired td,.expired td a {
	background-color: #F50C5A !important;
	color: white !important;

}
.inner_view{
    width: 300px;
    min-width: 300px;
    height: 250px;
    min-height: 250px;
    padding: 10px;margin: 5px;

}

/* Services styles */
.serviceDetails{
    width: 600px;
}
#serviceTotals {
	float:right;
	margin-right: 8px;
}
#serviceTotals td {
	text-align: right;
}
.serviceDetails th{
    text-align: right;
    font-weight: bold;
    padding: 2px 5px;
    min-width: 200px;
}
.serviceDetails .header{
    text-align: center;
    min-width: 20px;
}
.number{
    text-align: right;

}

#contractActions {
	width: 435px;
	margin: 12px auto 0;
	display: block;
}

span.requiredField {
	color: red;
	font-size: 16px;
	margin-right: 4px;
	font-weight: bold;
}
.ainContractButton {
    text-align: center;
    line-height: 24px;
}

#datagrid-container table.datagrid td a.covers {
    margin: 0 auto;
    position: relative;
    width: 16px;
    display: block;
}

.tooltip {
    border: solid grey 1px;
    height: 15px;
    padding: 5px;
    width: 80px;
    position: absolute;
    -webkit-border-radius: 3px;
    -moz-border-radius: 2px;
    border-radius: 3px;
    font-size: 11px;
    color: #FFF;
    display: none;
    margin-left: -35px;
    display: none;
}

.tooltip_error {
	background:red;
}

.tooltip_success {
	background:grey;
}

#input-form table.input-list tr.divided>td>input,
#input-form table.input-list tr.divided>td {
    width: 150px;
}
#new-tabs {
	margin: 0;
	padding: .2em .2em 0;
}
#new-tabs li {
	list-style: none;
	display:inline-block;
	position: relative;
	top: 1px;
	margin: 0 .2em 5px 0;
	border-bottom: 0 !important;
	padding: 0px;
	white-space: nowrap;
	background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;

	border: 1px solid #aaaaaa;
    border-bottom-color: rgb(170, 170, 170);
    border-bottom-style: solid;
    border-bottom-width: 1px;
	-moz-border-radius-topleft: 4px;
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
	font-weight: normal;
	color: #212121;
}
#new-tabs li a {
	display: block;
	padding: .5em 1em;
	text-decoration: none;
	border-bottom: 3px solid #000;
	color: #555555 !important;
}
#new-tabs li a.currentyerevan,
#new-tabs li a.currentregionals { 
	border-bottom:3px solid #09BD00;
}
#new-tabs li a.rejectedcity,
#new-tabs li a.rejectedregion {
	border-bottom:3px solid #FF1C1C;
}
#new-tabs li a.acceptedcity,
#new-tabs li a.acceptedregion,
#new-tabs li a.termcontracts {
	border-bottom:3px solid #0010BD;
}
#new-tabs li a.problematics {
	border-bottom:3px solid #FFB817;
}
#new-tabs li a.active,
#new-tabs li a:hover {
	background: #d2d2d2;
}