
div.wmodal
{
	min-width: 500px;
	margin-bottom: 15px;
}

div.wmodal .mheader 
{
	padding: 10px;
	line-height: 30px;
	border-bottom: 1px solid rgb(229,229,229);
	margin-bottom: 15px;
	background-color: #f5f5f5;
	border-color: #ddd;
	cursor: move;
	vertical-align: middle;
	white-space: nowrap;
}

div.wmodal .mmain
{
	min-width:720px;
	min-height:360px;
}

div.wmodal .mmain_large
{
	min-width: 1000px;
	min-height:460px;
}

div.wmodal .mmain_small
{
	min-width: 350px;
	min-height: 300px;
}

div.wmodal .mmain_portrait
{
	min-width: 500px;
	min-height: 400px;
	margin-bottom: 15px;
}

div.wmodal div.s2
{
	min-width: 500px !important;
	min-height: 150px !important;
}

div.wmodal .mfooter
{
	padding: 10px;
	min-height: 50px;
}

.mheader h2
{
	font-size: 16px;
	font-weight: normal;
	color: #444444;
	line-height: 45px;
	text-shadow: 1px 1px 0 #fff;
}

.mheader h1
{
	font-size: 16px;
	font-weight: normal;
	color: #444444;
	text-shadow: 1px 1px 0 #fff;
	margin: 0px;
	line-height: 28px;		
}

/*_____________________________________________________*/
div.wmodal div.formstyle
{
	display: block;	
	width: auto;
    height:100%;
	font-size: normal;
	margin: 0;
}

div.LRMargin 
{
    margin-left:10px !important;
	margin-right:10px !important;
}

div.formstyle h3
{
	font-size: 14px;
	line-height: 22px;
	color: #444444;
	padding-left:5px;
	text-shadow: 1px 1px 0 #fff;
	background-color: rgb(245,245,245);
	border-bottom: 1px solid  #c7c7c7;
	margin-top:15px;
}

div.formstyle h4
{
	font-size: 12px;
	line-height: 22px;
	color: #444444;
	padding-left:5px;
	text-shadow: 1px 1px 0 #fff;
	margin:5px 0px;
	border-bottom: 1px dotted  #c7c7c7;
}

h4.header-h4
{
	font-size: 12px;
	line-height: 22px;
    text-shadow: 1px 1px 0 #fff !important;
	width: 100% !important;
	border-bottom: 1px solid #E5E5E5 !important;
	line-height: 0.1em !important; 
	margin: 20px 0px 15px 0px !important;
	padding: 0px !important;
	background-color: #fff !important;
	font-weight: bold;
}

h4.header-h4 > span
{
	background:#fff; 
	padding:0 10px;
}

div.wmodal div.formstyle table
{
	width: 100%;
	margin: 0 auto;
	line-height: 20px;
}

div.wmodal div.formstyle > table > tbody > tr > th
{
	text-align: right;
	font-size: 12px !important;
	color: #505050;
	vertical-align: middle;
	padding: 3px 5px;
	white-space: nowrap;
}

div.wmodal div.formstyle table td
{
	line-height: 15px;
	vertical-align: middle;
}

td  span.section_break 
{
	border-bottom: 1px dotted #c7c7c7;
	margin-bottom: 10px !important;
	margin-top: 10px !important;
	width: auto;
	display: block;
}

div.wmodal .formstyle input
{
	font-family: inherit;
	margin-right: 0.2em;
	margin-bottom: 0.2em;
	padding: 4px;
	font-size: 12px;
	border: 1px solid #BBB;
	border-top: 1px solid rgb(192,192,192);
	color: #333;
	width: 200px;
	border-radius: 1px 1px 1px 1px;
	-moz-border-radius: 1px 1px 1px 1px;
	line-height: 18px;
	vertical-align: middle;
}

div.wmodal .formstyle input[type='checkbox']
{
	width: 5px;
}

div.wmodal .formstyle select, 
div.wmodal .formstyle textarea
{
	font-family: inherit;
	font-size: 12px;
	margin-right: 0.2em;
	margin-bottom: 0.2em;
	padding: 4px;
	color: #333;
	width: 100px;
	border-radius: 1px 1px 1px 1px;
	-moz-border-radius: 1px 1px 1px 1px;
	border: 1px solid #BBB;
	border-top: 1px solid rgb(192,192,192);
	line-height: 18px;
	vertical-align: middle;	
}



div.wmodal .formstyle input:hover 
div.wmodal .formstyle select:hover, 
div.wmodal .formstyle textarea:hover
{ 
	border: 1px solid rgb(160,160,160);
	border-top: 1px solid rgb(130,130,130);
	/*box-shadow: 0px 0px 3px #FFF inset, 0px 1px 1px rgba(0, 0, 0, 0.1);*/
} 

div.wmodal .formstyle input:focus,
div.wmodal .formstyle  select:focus, 
div.wmodal .formstyle textarea:focus
{
	border:1px solid rgb(77,144,254);
	/*box-shadow: 0px 0px 3px #FFF inset, 0px 1px 1px rgba(0, 0, 0, 0.1);*/	
} 

div.wmodal .formstyle input.s0 { width: 35px;  }
div.wmodal .formstyle input.s1 { width: 70px;  }
div.wmodal .formstyle input.s2 { width: 120px; }
div.wmodal .formstyle input.s3 { width: 150px; }
div.wmodal .formstyle input.s4 { width: 200px; }
div.wmodal .formstyle input.s5 { width: 250px; }
div.wmodal .formstyle input.s6 { width: 300px; }
div.wmodal .formstyle input.s7 { width: 350px; }
div.wmodal .formstyle input.s8 { width: 400px; }
div.wmodal .formstyle input.s9 { width: 450px; }

div.wmodal .formstyle select.s1 { width: 60px;  }
div.wmodal .formstyle select.s2 { width: 120px; }
div.wmodal .formstyle select.s3 { width: 150px; }
div.wmodal .formstyle select.s4 { width: 200px; }
div.wmodal .formstyle select.s5 { width: 250px; }
div.wmodal .formstyle select.s6 { width: 300px; }
div.wmodal .formstyle select.s7 { width: 350px; }
div.wmodal .formstyle select.s8 { width: 400px; }
div.wmodal .formstyle select.s9 { width: 450px; }


div.wmodal .formstyle textarea.s1 { width: 100px; height: 60px; }
div.wmodal .formstyle textarea.s2 { width: 200px; height: 80px; }
div.wmodal .formstyle textarea.s3 { width: 300px; height: 100px; }
div.wmodal .formstyle textarea.s3_1{ width: 300px; height: 60px; }
div.wmodal .formstyle textarea.s3_2{ width: 300px; height: 80px; }
div.wmodal .formstyle textarea.s3_3{ width: 300px; height: 100px; }
div.wmodal .formstyle textarea.s3_4{ width: 300px; height: 150px; }
div.wmodal .formstyle textarea.s3_5{ width: 300px; height: 200px; }
div.wmodal .formstyle textarea.s4 { width: 500px; height: 120px; }
div.wmodal .formstyle textarea.s4_1{ width: 500px; height: 60px; }
div.wmodal .formstyle textarea.s4_2{ width: 500px; height: 80px; }
div.wmodal .formstyle textarea.s4_3{ width: 500px; height: 100px; }
div.wmodal .formstyle textarea.s5{ width: 600px; height: 120px; }
div.wmodal .formstyle textarea.s5_1{ width: 600px; height: 60px; }
div.wmodal .formstyle textarea.s5_2{ width: 600px; height: 80px; }
div.wmodal .formstyle textarea.s5_3{ width: 600px; height: 100px; }
div.wmodal .formstyle textarea.s6 { width: 500px; height: 160px; }
div.wmodal .formstyle textarea.s7 { width: 500px; height: 200px; }




.cancel_button 
{
	height: 30px;
	width : 80px;
	color: #fff; 
	border: 1px solid rgb(134,170,138); 
	font-size: 11px;
	font-weight: bold;
	cursor: pointer;
	background-color: rgb(158,201,127); 
	margin-left: 10px;
	border-radius: 1px 1px 1px 1px;
	-moz-border-radius: 1px 1px 1px 1px;
	padding-left: 5px;
	padding-right: 5px;
}

.cancel_button:hover 
{
	border: 1px solid #a7a9a9;
	background-color: rgb(144,191,124); 
}

/*********/
input[type=text].date_picker 
{
	width: 90px !important;
	cursor: pointer;
	background: url(../images/calendar.png) no-repeat;
	background-position: right 4px center;
}

input[type=text].pickadate , input[type=text].datefield , input[type=text].pickadatenomax
{
	min-width: 100px;
	min-width: 90px !important;
	cursor: pointer;
	background: url(../images/calendar.png) no-repeat;
	background-position: right 4px center;
}

/*************DISPLAY FORM***********************************/


div.fdisplay table
{
	width: 100%;
	border-spacing: 0px;
	padding: 0px;
	margin: 0 0 10px 0;	
}

div.fdisplay table  tr
{
	margin-top:0px;
}


div.fdisplay table th
{
	max-width: 180px;
	min-width: 120px;
	text-align: right;
	font-size: 12px;
	font-weight:bold;
	padding: 3px 6px;
	background-color: rgb(245,245,245);
	border-bottom: 1px dotted #c7c7c7;
	white-space: normal;
	color: #505050;
}

div.fdisplay table tr:hover
{
	background-color: #F4F5F8;
}

div.fdisplay table td
{
	/*min-width: 140px;*/
	text-align: left;
	padding: 1px 6px;
	border-bottom: 1px dotted #c7c7c7;
	font-size: 12px;
	white-space: normal;
}

div.fdisplay table td input {
    line-height: 16px;
    padding: 3px;
}

div.fdisplay table  tr:last-child   th
{
	border-bottom: 0px;
}

div.fdisplay table  tr:last-child   td
{
	border-bottom: 0px;
}



/*************NEW CHECKBOX STYLE***********************************/
input[type=checkbox].newstyle {
	display:none;
}

input[type=checkbox].newstyle + label
{
   background: url('../images/tristate-unchecked.png') no-repeat;
   height: 15px;
   width: 15px;
   display:inline-block;
   padding: 0px;
   vertical-align: middle;
}
   
input[type=checkbox].newstyle:checked  + label
{
	background: url('../images/tristate-checked.png') no-repeat;
}

/*************NEW CHECKBOX STYLE GL***********************************/
img.chk_GL 
{
    background: url("../images/checkbox_GL/tick.png") no-repeat;
    vertical-align: middle;
    height: 16px;
    width: 16px;
}

input[type=checkbox].chk_GL {
	display:none;
}

input[type=checkbox].chk_GL + label
{
   background: url('../images/checkbox_GL/unchecked.png') no-repeat;
   height: 15px;
   width: 15px;
   display:inline-block;
   padding: 0px;
   cursor: pointer;
   margin-top: 2px;
} 

input[type=checkbox].chk_GL:checked  + label
{
	background: url('../images/checkbox_GL/checked.png') no-repeat;
}

input[type=checkbox].chk_GL.small  + label 
{
   background: url('../images/checkbox_GL/unchecked_small.png') no-repeat !important;
} 

input[type=checkbox].chk_GL.small:checked + label 
{
	background: url('../images/checkbox_GL/checked_small.png') no-repeat !important;
}

/*************GMAIL BUTTONS AREA**********************************/
div.g-button-area
{
	margin-top: 5px 0 5px 0;
	width: 100%;
}

img.envelope, span.envelope
{
    background: url("../images/files/sprite_black2.png") no-repeat scroll -63px -84px transparent;
    vertical-align: middle;
    height: 17px;
    opacity: 0.70;
    width: 21px;
	margin-top: -3px;
	display: inline-block;
}

img.printer, span.printer
{
    background: url("../images/files/sprite_black2.png") no-repeat scroll -84px -63px transparent;
    vertical-align: middle;
    height: 17px;
    opacity: 0.60;
    width: 20px;
	margin-top: -3px;
	display: inline-block;	
}

img.printer:hover
{
    opacity: 1;
}

img.basket, span.basket
{
    background: url("../images/img/glyphicons-halflings.png") no-repeat scroll -360px -120px transparent;
    vertical-align: middle;
    height: 17px;
    opacity: 0.70;
    width: 13px;
	display: inline-block;	
}

img.basket:hover, span.basket:hover
{
    opacity: 1;
}

img.newwindow, span.newwindow
{
    background: url("../images/files/sprite_black2.png") no-repeat scroll -63px -63px transparent;
    vertical-align: middle;
	opacity: 0.70;
    height: 17px;
    width: 21px;
	margin-top: -3px;
	display: inline-block;
}

img.download, span.download 
{
    background: url("../images/files/sprite_black2.png") no-repeat scroll -84px -23px transparent;
    vertical-align: middle;
	opacity: 0.60;
    height: 18px;
    width: 21px;
	display: inline-block;	
}

img.download:hover , span.download:hover  
{
    opacity: 1;
}

img.reply, span.reply
{
    background: url("../images/files/sprite_black2.png") no-repeat scroll -0px -66px transparent;
    vertical-align: middle;
	opacity: 0.60;
    height: 18px;
    width: 21px;
	margin-top: -3px;
	display: inline-block;	
}

img.reply:hover
{
    opacity: 1;
}


img.noncollapsed, span.noncollapsed 
{
    background: url("../images/files/icons.png") no-repeat scroll -442px -2746px transparent;
    vertical-align: middle;
    height: 15px;
    width: 17px;
	margin-top: -3px;
	display: inline-block;	
}

img.collapsed, span.collapsed 
{
    background: url("../images/files/icons.png") no-repeat scroll -326px -2746px transparent;
    vertical-align: middle;
    height: 15px;
    width: 17px;
	margin-top: -3px;
	display: inline-block;	
}

img.car, span.car 
{
    background: url("../images/files/glyphicons_005_car.png") no-repeat scroll  transparent;
    vertical-align: middle;
    height: 18px;
    width: 21px;
	text-align: absmiddle;
	margin: 2px;
	display: inline-block;	
}


img.boat, span.boat 
{
    background: url("../images/files/glyphicons_boat.png") no-repeat scroll  transparent;
    vertical-align: middle;
    height: 18px;
    width: 21px;
	text-align: absmiddle;
	margin: 2px;
	display: inline-block;	
}

img.status, span.status 
{
    background: url("../images/img/glyphicons-halflings.png")  no-repeat scroll -334px -120px transparent;
    vertical-align: middle;
	text-align: absmiddle;
    height: 16px;
    width: 17px;
	margin: 0px;
	display: inline-block;
}

img.gridstatus, span.gridstatus 
{
    background: url("../images/img/glyphicons-halflings.png")  no-repeat scroll -334px -120px transparent;
    vertical-align: middle;
	text-align: absmiddle;
    height: 16px;
    width: 17px;
	margin: 0px;
	display: inline-block;
}


img.checked, span.checked_
{
    background: url("../images/tristate-checked.png")  no-repeat scroll transparent;
    vertical-align: middle;
	text-align: absmiddle;
    height: 16px;
    width: 17px;
	margin: 0px;
	display: inline-block;	
}

img.unchecked, span.unchecked_ 
{
    background: url("../images/tristate-unchecked.png")  no-repeat scroll transparent;
    vertical-align: middle;
	text-align: absmiddle;
    height: 16px;
    width: 17px;
	margin: 0px;
	display: inline-block;	
}

img.reload, span.reload 
{
    vertical-align: middle;
	text-align: absmiddle;
    height: 15px;
    width: 18px;
	margin: 0px;
	display: inline-block;	
}

a.grid_delete_row
{
	width: 15px;
	height: 12px;
	background: url("../images/btn-delete.gif") no-repeat scroll 0% 0% transparent;
	display: block;
	overflow: hidden;
	text-indent: -9999px;
	line-height: 1.4em;
	vertical-alignment: middle;
}

a.grid_delete_row:hover
{
	background: url("../images/btn-delete.gif") no-repeat scroll 0 -12px transparent;
}

/*************Green red statuses*************************/

.badge {
    display: inline-block;
    padding: 1px 4px;
    line-height: 14px;
    color: rgb(255, 255, 255);
    vertical-align: baseline;
    margin-left: 2px;
	white-space: nowrap;
    background-color: rgb(153, 153, 153);
	border-radius: 3px 3px 3px 3px;
	text-shadow:none !important;
}

.badge-success {
    background-color: rgb(70, 136, 71);
}

.badge-important {
    background-color: rgb(185, 74, 72);
}

.badge-warning {
	color: rgb(255, 255, 255);
	background-color: #FFA824;
}

.badge-info  {
    background-color: rgb(76, 129, 166);
}


/*************PP MODULE**********************************/

table#tbl_agentinfo
{
	border: 1px solid rgb(217,217,217);
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	border-collapse: collapse;
	margin-bottom:15px;
	margin-left: 5px;
}

table#tbl_agentinfo th
{
	padding:3px; 
	font-weight: normal;
	font-size: 12px;
}

table#tbl_agentinfo td
{
	border-right: 1px solid rgb(217,217,217);
	padding:3px; 
	font-weight: bold;
	font-size: 14px;
}


div#tabs { display: none; }


div.grid th.number-align , td.number-align 
{ 
	text-align: right; 
	padding-right: 5px !important;
}

span.toggle-collapse 
{
	background: url("../images/img/toggle-collapse.png") no-repeat;
	margin-left: -5px;
	padding-left: 20px;
}

span.toggle-expand
{
	background: url("../images/img/toggle-expand.png") no-repeat;
	margin-left: -5px;
	padding-left: 20px;
}


/****************** BUTTONS **************************************/

.SimpleBtn 
{
    border-radius: 3px 3px 3px 3px;
    margin-left: 6px;
    background: none repeat scroll 0% 0% rgb(76, 129, 166);
    color: rgb(255, 255, 255) !important;
    padding: 1px 4px;
    vertical-align: baseline;	
    padding: 1px 4px;	
	white-space: nowrap;
}

/*************QUOTATION MODULE**********************************/

select.select_loader
{
	background: url("../images/arrow-ajax-loader.gif") no-repeat scroll 5px center !important;
	padding-left: 20px !important;
}

select.sq
{
	font-size: 12px;
	line-height: 12px !important;
	margin: 0px !important;
	padding: 0px !important;
	width: 100px !important;
	border: 1px solid rgb(217,217,217);
	border-top: 1px solid rgb(192,192,192);
}


/*************HORIZONTAL PANEL**********************************/
.horizontal_panel
{
	height: 30px;
	background-color: rgb(245, 246, 245);
	border-radius: 2px 2px 2px 2px;
	-moz-border-radius: 1px 1px 1px 1px;
	margin: 0 10px 6px 10px;
}

.horizontal_panel > ul li
{
	list-style-type: none;
	float: left;
	display: inline;
	height: 16px;
	line-height: 16px;
	padding: 2px 6px;	
	margin: 5px 0;
	background-color: rgb(245, 246, 245);
	border-left: 1px solid #333333;
	font-size: 11px;
}

.horizontal_panel > ul li > span
{
	margin: 0 2px;
	font-size:14px;
	font-weight: bold;
}

.horizontal_panel > ul li:first-child
{
	border: 0px;
}

/**************TABLE******************/
.table-1 {
    font-size: 11px;
    width: 100%;
    border: 1px solid #d5d5d5;
    border-collapse: collapse;
    border-spacing: 0px;
}
tr.dotted-b td, tr.dotted-b th {
    border-bottom: 1px dotted #d9dbdd;
    border-left: 1px solid #d9dbdd;
    height: 30px;
    padding: 4px;
    text-align: center;
}
tr.dotted-c td, tr.dotted-c th {
    border-bottom: 0;
    border-left: 1px solid #d9dbdd;
    height: 20px;
    padding: 1px 8px;
    text-align: center;
}
tr.dotted-d td, tr.dotted-d th {
    border-bottom: 1px dotted #d9dbdd;
    border-left: 1px solid #d9dbdd;
    padding: 5px;
}

.picker__table td, .picker__table th {
	border-bottom: none !important;
	border-left: none !important;
	padding: 0 !important;
}


tr.top-tr td, tr.top-tr th  {
	height: 20px;
    padding: 1px 8px;
    border-left: 1px solid #d9dbdd;
    border-bottom: 1px solid #d9dbdd;
}

.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
    background-color: #F9F9F9;
}

.bold2 {
    font-weight: bold;
}

/********************************/
.subnav-links  {
	position: relative;
	display: inline-block;
	padding: 0px;
	float: left;
	margin: 0px 10px 0px 0px;
}

.subnav-item:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.subnav-item:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.subnav-item {
	position: relative;
	float: left;
	padding: 3px 10px;
	font-weight: bold;
	color: #666;
	border: 1px solid #E5E5E5;
	outline: medium none;
	z-index: 1;
	min-width: 30px;
}

.subnav-item + .subnav-item {
    margin-left: -1px;
}

.subnav-item.selected {
	z-index: 2;
	color: #FFF;
	background-color: #4183C4;
	border-color: #4183C4;
	outline: medium none;
}

.subnav-links > a {
    text-decoration: none;
    background: none repeat scroll 0% 0% transparent;
}

.subnav-item:hover {
    text-decoration: none;
    background-color: #F5F5F5;
	color: #666;
	border-color: #4183C4;
	z-index:2
}

.subnav-item:focus {
    text-decoration: none;
	background-color: #4183C4;
	border-color: #4183C4;
	color: #FFF;
}

input:readonly {
    background: #F6F6F6;
} 

.disable {
	background: #F6F6F6;
}

label.frm_lbl
{
	font-family: inherit;
	font-weight: bold;
	color: #505050;
	margin-right: 3px !important;
	vertical-align: middle;
	text-align: right;
}


/*************DROPZONE UPLOAD AREA*******************/
div.dropzone
{
	background-image: url("../images/multi_documents.png");
	background-repeat: no-repeat;
	background-position: 50%;
}

.dropzone:hover {
    border: 2px dashed #AAA;
}

/*************INFO AREA*******************/
.info, .infostyle {
    padding: .75rem 1.25rem;
    margin-bottom: .75rem;
    border: 1px solid transparent;
    border-radius: .25rem;
	color: #666;
	background-color: #f7f7f9;
	border-color:  #eee;
	max-width: 900px;
}

.info-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.info-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.info  p {
	font-size: 12px !important;
}

.info-image {
	color: inherit;
	margin-right: 5px;
	margin-left:-5px;
}


.spb-0 {
    padding-bottom: 0 !important;
}

#loaderOverlay, .loaderOverlay{
    z-index: 100;
    width: 100%;
    height: 100%;
    background:rgba(255,255,255,.3);
    position: absolute;
    left: 0;
    top: 0;
}


input.plateNumStyle{
	background: url(../images/img/license_plate_gr.png) no-repeat left center !important;
	background-color: rgba(0, 0, 0, 0);
	background-size: auto auto;
	background-size: auto 100% !important;
	padding-left: 25px !important;
	font-weight: bold !important;
	font-size: 14px !important;
	background-color: #ffffff !important;
	--line-height: normal;	
}

div.wmodal div.formstyle table td.can_be_printed {
	line-height: 27px;
	padding: 1px 3px 4px 3px !important;
}

div.wmodal div.formstyle > table > tbody > tr > th.sm-line-height {
	line-height: 13px;
}

.text-grey {
    color: grey !important;
}
.text-muted {
    color: #9b9b9b !important;
}

.info_icon{
	cursor: pointer;
	color: #4994dd;
	font-size: 14px;
	margin: 6px;
	padding-top: 1px;
}

.tipsy-n .tipsy-arrow { display:none !important; }