/*  Login  */

        #agent_login div.warn {padding:10px; background:#FDD; border: 1px solid red; border-radius: 10px 10px; width:100%;}
        #agent_login label { display:inline-block; width:80px;}
        #agent_login button { font-size: 10px;}
        #agent_login input.text { font-size: 15px;}
        #agent_login #error {font-weight:bold; color: red;}


/*  Booking  */
/*
    div.warn {padding:5px; background:#FFFAFA; border: 1px solid red; border-radius: 10px 10px; display: table; -display: block; -width: 1px; margin-bottom:10px; float:left;}
*/
    div.message {padding:5px; background:#FFFFFA; border: 1px solid yellow; border-radius: 10px 10px; display: table; -display: block; -width: 1px; margin-bottom:10px; float:left; margin-left:20px;}

    #feedback { font-size: 12px; }
    #selectable .ui-selecting { background: #FECA40; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;}
    #selectable .ui-selected { 
        background: #F39814; color: white; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border: 1px solid white; 
    }
    #selectable { list-style-type: none; margin: 0; padding: 0; }
    #selectable li {
        margin: 5px; padding: 3px; float: left; width: 100px; min-height: 55px; 
        font-size: 12px; text-align: center; border: 1px solid #C5DBEC; 
        -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; 
    }
    #selectable li div {
    	 margin: 30% auto;
    }
    .ui-accordion .ui-accordion-header a {font-size: 18px;font-family: Tahoma;color: #003D60;font-weight: normal;}

    #new_order {padding-bottom:30px;}
    #new_order div {
    	padding-bottom:5px;
    }
    
    #new_order input,#booksubmit {
    	width: 20px;
    	padding: 2px;
    	border: 1px solid #b0b0b0;
    	border-radius: 2px;
    	text-align: center;
    }
    #new_order input#ts_dss, #new_order input#ts_dse {
    	width: 70px;
    }
    #new_order input#tsb, #booksubmit {
		padding: 5px;
		background-color: #d5e4eb;
		text-transform: uppercase;
		text-align: center;
		font-weight: bold;
		width: 150px;
	}
	#new_order input#tsb:hover {
		background-color: #bcd5e1;
		cursor:pointer;
	}
	#search_result, #book_details {
		width: 100%;
		min-height: 10px;
		font: 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	}
	.remicon {
		margin-top: 5px;
		cursor:pointer;
	}
	input.editor-text {
		width: 100%;
		height: 100%;
		border: 0;
		margin: 0;
		background: transparent;
		outline: 0;
		padding: 0;
	}
	.slick-cell.editable {
		-webkit-box-shadow: 0px 0px 3px 0px rgba(255, 3, 107, 1);
		-moz-box-shadow:    0px 0px 3px 0px rgba(255, 3, 107, 1);
		box-shadow:         0px 0px 3px 0px rgba(255, 3, 107, 1);
		border-color: rgba(255, 3, 107, 1);
	}
	#search_result table td {
		border: 1px solid #ababab;
		padding:3px;
	}
    
    #new_order button {font-size:14px;}
    #new_order h5 {width:100%;}
    #new_order td {text-align:right;}
    #new_order td a {padding:15px; margin:5px;}
    #new_order td a.sel {background: #F39814;  -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; color:#FFF; font-size:15px;}
    #new_order #tourists td {padding:5px;}
    #new_order #tourists td input {
        border: 1px solid #C5DBEC; background: #FAFFFE; color: #2E6E9E;
        -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
        width:100%; height:25px; font-size: 12px;
    }
    #new_order #tourists td input.sam {color:#DDD;}
    .err {
        border: 1px solid #CD0A0A !important; 
        background: #FEF1EC url(/im/j-ui/images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x !important; 
        color: #CD0A0A !important;
    }
    
    #addmessage {
		border: 1px solid #C5DBEC; background: #FAFFFE; color: #2E6E9E;
		-moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px;
		width:500px; height:25px; font-size: 12px;
    }
    
    #zayavka {text-align:left;}
    #zayavka table {
        background: #F5F5FF;
        -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; 
        width: 95%;
        margin: 20px;
        border: 1px solid #F5F5FF;
    }
    #zayavka table td {
        -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; 
        border: 1px solid #F5F5FF;
        text-align:left;
        padding: 5px;
    }
    td.lnb {width: 15px !important; background: #FFF;}
    td.lnm {width: 120px !important; background: #FFF;}
    td.lbd {width: 60px !important; background: #FFF;}
    td.lpn {width: 70px !important; background: #FFF;}
    td.lvs {width: 30px !important; background: #FFF;}

    td.lbl {text-align: center !important; padding-top: 20px;}
    td.tv {background: #FBFEF5;}
    td.total {background: #F7FEF7 !important; text-align: center !important; font-size:20px; font-weight: bold;}
    td.subtotal {background: #F7FEF7 !important; text-align: center !important; font-size:15px; }
    th small {font-weight:normal; font-size:9px;}
    
    
    
    
    
    
        		.cell {
        			 padding:5px 7px;  display:table-cell;
        			 text-align: center; font-family: Sans-Serif; font-size:11px;
        			vertical-align:middle;
        			color:#777;
        		}
        		.cell.client {
    				width: 120px;
    				display: block;
    				float:right;
        		}
        		.row.booking {
        			position:absolute; height:auto; width:100%; position:relative; margin-top:15px;  background:#ededef;
        		}
        		.row.booking:hover {
        			background: #d6d7d9;
        			cursor: pointer;
        		}
        		.active .booking.row {
        			background: #e6e9d8;    			
        		}
        		.row.H {
        			margin: 0px; cursor:default;
        			background: #c6d0db;
        		}
        		
        		.row.H .cell {
        			font-weight: normal;
        			color:  #333; 
        			font-size:10px;
        			padding:5px 7px;  display:table-cell;
        			text-align: center;background: #c6d0db;
        		}
        		.icon.tip {
        			float:left;
        			margin-left:15px;
        		} 
        		.icon.tip img {
	        		opacity: 0.5;
        			 border:1px solid gray; padding:1px; float: left;
        			 margin: -3px 7px;
        		}
        		
        		#list {	height: 250px; overflow:scroll; padding: 3px; border: 1px solid #eef;
        			position: relative;	}
        		
        		.fulls {display: none; padding:20px; background:#f7f7ea;}
        		.active .fulls { display: block; }
        		.fulls .row, .fulls .row:hover { background:none; margin: 0px; }
        		
        		#icons_help {margin:20px 10px; display:none; background:#f7f7ea; padding:20px; border-radius:10px; font-size:10px;}
        		
        		#full {
        			background: #fbfbf9;
        		}
        		#full .row {
        			background: none; cursor: default;
        		}
        		.tourists .row .cell img {
    				opacity: 0.05;margin: 5px; cursor: none;
        		}
        		.tourists .row .cell img.act {
        			opacity: 0.7; cursor: crosshair; 
        		}
        		.docs h5 {
        			margin: 0; font-size: 12px; font-weight: bold; display:none;
        		}
        		.docs {	margin: 0; font-size: 12px; display:none; }
        		.docs div {	margin: 5px;}
    
        		.iconf {
        			background: none; border: none;
        			background-image: url(/im/agent/icons.png); 
        			width:20px; height:16px; float: left;
        			margin-right:2px;
        		}   
        		.iconr {
        			background: none;
    	    		border: none; float:left;
        			background-image: url(/im/agent/icons.png); 
        			width:20px; height:20px; 
        		}    		
    
    
    			.iconf.avia {background-position: 0px 37px;}
    			.iconf.wrld {background-position: -20px 37px;}
    			.iconf.alen {background-position: -39px 37px;}
    			.iconf.time {background-position: -59px 37px;}
    			.iconf.dwld {background-position: -79px 37px;}
    			.iconf.disk {background-position: -99px 37px;}
    			.iconf.keys {background-position: -118px 37px;}
    			.iconf.list {background-position: -138px 37px;}
    			
    			.iconf.plnt {background-position: 0px -101px;}
    			.iconf.pdff {background-position: -20px -101px;}
    			.iconf.allf {background-position: -39px -101px;}
    			.iconf.zipf {background-position: -59px -101px;}
    			.iconf.bill {background-position: -79px -101px;}
    			.iconf.emty {background-position: -99px -100px;}
    			.iconf.fldr {background-position: -118px -101px;}
    			.iconf.pple {background-position: -138px -101px;}
    			.iconf.bact {background-position: -118px 37px;}
    			
    			.iconr.conf {background-position: -20px 0px;}
    			.iconr.warn {background-position: -0px 0px;}
    			.iconr.mess {background-position: -220px 0px;}
    			.iconr.alrt {background-position: -70px 0px;}
    			.iconr.wait {background-position: -100px 0px;}
    			.iconr.rfsd {background-position: -120px 0px;}
    			.iconr.work {background-position: -140px 0px;}
    			
    			.row:hover .iconr.conf:hover {background-position: -20px 58px;}
    			.row:hover .iconr.warn:hover {background-position: -0px 58px;}
    			.row:hover .iconr.mess:hover {background-position: -220px 58px;}
    			.row:hover .iconr.alrt:hover {background-position: -20px 58px;}
    			.row:hover .iconr.wait:hover {background-position: -100px 58px;}
    			.row:hover .iconr.rfsd:hover {background-position: -120px 58px;}
    			.row:hover .iconr.work:hover {background-position: -140px 58px;}
    			
    			.row:hover .iconr.conf {background-position: -20px -40px;}
    			.row:hover .iconr.warn {background-position: -0px -40px;}
    			.row:hover .iconr.mess {background-position: -220px -40px;}
    			.row:hover .iconr.alrt {background-position: -20px -40px;}
    			.row:hover .iconr.wait {background-position: -100px -40px;}
    			.row:hover .iconr.rfsd {background-position: -120px -40px;}
    			.row:hover .iconr.work {background-position: -140px -40px;}
    			
    			
    			.active .iconr.conf, .active .row:hover .iconr.conf {background-position: -20px -20px;}
    			.active .iconr.warn, .active .row:hover .iconr.warn {background-position: -0px -20px;}
    			.active .iconr.mess, .active .row:hover .iconr.mess {background-position: -220px -20px;}
    			.active .iconr.alrt, .active .row:hover .iconr.alrt {background-position: -20px -20px;}
    			.active .iconr.wait, .active .row:hover .iconr.wait {background-position: -100px -20px;}
    			.active .iconr.rfsd, .active .row:hover .iconr.rfsd {background-position: -120px -20px;}
    			.active .iconr.work, .active .row:hover .iconr.work {background-position: -140px -20px;}
    			
    
    
    		.cell.w_id {width:30px;}
    		.cell.w_ds {width:55px;}
    		.cell.w_im {width:30px;}
    		.cell.w_rg {width:85px;}
    		.cell.w_dt {width:55px;}
    		.cell.w_cr {width:55px;}
    		.cell.w_ts {width:120px;}
    		.cell.w_st {width:50px; padding-left:20px;}
    		.cell.w_pr {width:50px;}
    		.cell.w_cm {width:50px;}
    		.cell.w_tr {width:50px;}
			.cell.w_dc, .row.H .cell.w_dc {width:90px; text-align:left;}

    		.cell a {color:#557;}
    		



			#more {
				padding:5px 7px; 
				text-align: center; font-family: Sans-Serif; font-size:11px; font-weight: bold;
				color:#777;
				background:#efefe0; clear: both; margin: 10px auto; width: 300px;
				cursor: pointer;
			}

			    
    
    		#bfilter {
    			background:#f7f7f7; margin-top:35px; padding:10px; font-size:10px; color:#aab;
    		}
    		
    		#agent_menu {position:absolute; top:50px; right:0px; background: #f0f5ff; margin-top:10px; border-radius:5px 0px 0px 5px; padding:0px 10px; border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-left:1px solid #ddd;}
    		
    		#agent_menu #des_login {float: left; padding:12px; font-size:12px; font-weight:bold; color:#09e; text-align:center; }
    		#agent_menu .agent_menu .new {font-weight:bold; text-decoration:none; font-size:10px; margin:-3px -12px; position:absolute; top:3px; right:12px; color:#f50; background:; PADDING:1PX;width:13px; height:13px; text-align:center;}
    		
    		#agent_menu .agent_menu {float:left; background:#fff; margin-right:10px; padding:7px 12px; border-radius:5px; font-size:11px; border:1px solid #ddd;position:relative; }
    		
    		#agent_menu #des_menu {float:left; margin:5px; color:#889;}
    		
    		#agent_menu .agent_menu div {float:left;}
    		
    		#agent_menu .agent_menu a {color:#37a;}
    		
    		#agent_menu #credit {
    			color:#999; margin:5px; font-size:11px;
    			float: left; margin-bottom:0px; 
    		}
    		#agent_menu #credit span {color:#e80; text-align: right;	}
    		
    		#agent_menu #logout {
    			background: url(/im/logout.png) 0 50% no-repeat; width: 20px; height:40px;
    			float:right;  border-radius:5px; opacity: 0.3;
    		}
    		#agent_menu #settings {
    			background: url(/im/settings.png) 0 50% no-repeat; width: 25px; height:40px;
    			float:right;  border-radius:5px; opacity: 0.3;
    		}
    		#agent_menu #logout:hover, #agent_menu #settings:hover {
    			opacity: 1;
    		}
    		
    		
    		.iconm {
    			border:1px solid #ddd; opacity: 0.5;
    		}
    		
    		#reg-form div {padding:10px;}
    		#reg-form label {width:250px; display:inline-block; padding:5px;}
    		#reg-form input {margin:5px; padding:5px; width:500px; border: 1px solid #A6C9E2;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;}
    		#s2,#s3,#s4,#s5,#sx {display:none;}
    		#reg-form input.sam {color:#AAA;}            
    		#reg-form input.err {border-color:red; color:#FAA; background:#FDD;}            
    		#reg-form input.rad {color:#050; background:#FFF;}  
    		
    		.cell.w_cr b {
    			color: #f75; font-weight:normal;
    		}
    		
    		#filter h5 {margin-top: none;}
    		.body h5 {margin-top:30px;}
    		
    		.error {font-weight: bold; color: #a00; margin-bottom:20px;}
    		.warng {color: #b90; margin-bottom:20px;}
    		#messages {width:730px; border-collapse:collapse;}
    		#messages th {padding:5px 15px; text-align:left; color:#777; background:#eee; border-bottom:2px solid #aaa; font-weight:normal;}
    		#messages td {padding:7px 15px; cursor:pointer; border-bottom:1px solid #ddd; }
    			#messages tr {background:#fafbff;color:#777;}
    		#messages tr.cur {background:#ffe;}
    		#messages tr.new {color:#333;}
    		#message .body {padding:15px; background:#ffe; width:700px; font-size:13px; border:1px solid #eee;}
    		#write div {margin-bottom: 10px; color:#aaa;}
    		#write input,textarea {margin-top: 5px; width:200px; border: 1px solid #aab; padding:5px; background:#fafaff;}
    		#write input {width:200px;}
    		#write textarea {width:500px; height: 100px;}
    		
    		
    		            #orders .bds {display:none;}
    		            #orders .body {
    		                padding:10px; margin:10px;
    		            }
    		    .hidden {display:none;}
    		    #orders_table {border:0px; border-radius:5px 5px;}
    		    #orders_table td {padding:5px;}
    		td.rdl {-moz-border-radius-top-left:10px; -webkit-border-top-left-radius:10px; border-top-left-radius:10px}
    		td.rdr {-moz-border-radius-top-right:10px; -webkit-border-top-right-radius:10px; border-top-right-radius:10px}
    		td.rdb {
    		    -moz-border-radius-bottom-left:10px; -webkit-border-bottom-left-radius:10px; border-bottom-left-radius:10px; 
    		    -moz-border-radius-bottom-right:10px; -webkit-border-bottom-right:10px; border-bottom-right-radius:10px
    		}