@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
@import "navigation.css";
@import "dropdown-theme.css";
@import "jwindow.css";
@import "interface_332015.css";
@import "validation.css";
@import "quoting.css";
@import "grid.css";
@import "jmodal.css";
@import "onoff.css";
@import "awesome.css";
@import "bootstrapoverride.css";

* { padding:0; margin:0; }

html {
	font-size: 12px;             /* or font-size: 75%; for 0.75 × 16px = 12px */
}
	
body 
{
	font-family: Roboto, Trebuchet MS, Arial, Helvetica;
	font-size: 12px;            /* = 12px */
	font-weight: 400;
	color: #666;
	background-color: #F5F5F5;
	line-height: 20px;
	margin: 0 !important;
	-webkit-text-size-adjust: none;
	overflow-x: hidden; 
}
 
:focus { -moz-outline-style: none; }
	
p { padding-bottom: 15px; }
img, a img { border: 0; }
ul li { list-style: none; }
.clear { clear: both; }

a {
	color: rgb(0, 136, 68);;
	text-decoration: none;
	outline: none;
}
	
a:hover {
	color: #ec8526;
	text-decoration: none;
	}	
	
#hld 
{
	min-height: 402px;
}
	
#container 
{
	width:100%;
	margin:0 auto;
}

/* Header */
#headertop
{
    min-height: 40px;
    padding: 10px 15px;
    text-align: left;
	background: #FFFFFF;	
	border-top: 2px solid rgb(204, 204, 204);
	position: relative;
}

#headertop > #showdate
{
	position: absolute;
	bottom: 2px;
	right: 15px;
}

#headertop > #headerinfo
{
	position: absolute;
	top: 0px;
	right: 15px;
	background-color: rgb(229, 229, 229);
	border-radius: 0px 0px 3px 3px;
	-moz-border-radius: 0px 0px 2px 2px;	
}

#headerinfo > ul li
{
	list-style-type: none;
	float: left;
	display: inline;
	height: 16px;
	line-height: 16px;
	padding: 0 6px;	
	margin: 6px 0;
	background-color: rgb(229, 229, 229);
	border-left: 1px solid #333333;
	vertical-align: middle;
}

#headerinfo > ul li:first-child
{
	border: 0px;
}

span.icon-off
{
	display: inline-block;
	width: 14px;
	height: 14px;
	background-image: url("../images/img/glyphicons-halflings.png");
	background-position: -384px 0;
	background-repeat: no-repeat;
	padding-right: 3px;
    margin-top: 2px;	
}

span.icon-user
{
	display: inline-block;
	width: 14px;
	height: 14px;
	background-image: url("../images/img/glyphicons-halflings.png");
	background-position: -168px 0;
	background-repeat: no-repeat;
	padding-right: 3px;
    margin-top: 2px;	
}


#headerinfo  a
{
	color: #333333;	
	text-decoration: none;
}

#headerinfo  a:hover
{
	color: #333333;
    text-decoration: underline;
}


/* Blocks */
.block 
{
	padding-bottom: 5px;
	margin-bottom: 10px;
	clear: both;
}
	
/* Block head */
.block .block_head
 {
	height: 28px;
	line-height: 28px;
	padding: 0px 30px;
	overflow: hidden;
	background: #fff;
	vertical-align: middle;	
}

.block .head_login
 {
	height: 35px;
	line-height: 35px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-top: 1px solid #ccc;
	padding: 0px 10px;
	overflow: hidden;
	background-color: rgb(245,245,245);
	border-bottom: 1px solid rgb(229,229,229);
	border-top-left-radius: 2px 2px;
    border-top-right-radius: 2px 2px;
	vertical-align: middle;	
}


.block .block_head h2 
{
	line-height: 28px !important;
	font-size: 16px;
	font-weight: normal;
	color: #000;
	text-shadow: 1px 1px 0 #fff;
	float: left;
}
	
.block .block_head ul {
	float: right;
	font-size: 11px;
	font-weight: bold;
	text-shadow: 1px 1px 0 #fff;
	}
	
.block .block_head ul li {
	display: inline;
	padding: 3px 0;
	padding-left: 20px;
	background: url(../images/phs.gif) 7px center no-repeat;
	}
	
.block .block_head ul li.nobg { background: none; }
	
.block .block_head ul li a {
	text-decoration: none;
	color: #666;
	outline: none;
	}

.block .block_head ul li.active a { color: #888; }
.block .block_head ul li a:hover { color: #499510; }

.block .block_head form {
	float: right;
	padding: 15px 0;
	height: 34px;
	line-height: 24px;
	}

.block .block_head select {
	text-transform: none;
	}

.block .block_head form .text:focus {
    color: rgb(102, 102, 102);
    background: url("../images/srch_.gif") no-repeat scroll left center transparent;
}
.block .block_head form .text {
    width: 129px;
    height: 15px;
    padding: 5px 10px 5px 25px;
    border: 0px none;
    font-size: 11px;
    color: rgb(153, 153, 153);
    margin: 0px;
    margin-top: -10px;
    background: url("../images/srch.gif") no-repeat scroll left center transparent;
}
	
/************* Block content ******************/
.block .block_content 
{
	overflow: visible;
	background: #fff;
	border-bottom: 1px solid #ccc;	
	padding: 10px 20px;
}

.block .block_content h1,
.block .block_content h2 {
	font-size: 18px;
	font-weight: normal;
	color: #444444;
	margin-bottom: 10px;
}

.block .block_content h3, #covers_table h3 {
	font-size: 14px;
	font-weight: bold;
	color: #666;
	margin-bottom: 5px;
}

.block .block_content h4 {
	font-size: 13px;
	font-weight: bold;
	color: #666;
	margin-bottom: 5px;
}
	
.block table tr td.delete {
	text-align: right;
	font-size: 11px;
	}
	
.block table tr td.delete a { color: #666; }
.block table tr td.delete a:hover { color: #dd0000; }


.block .paggination 
{
	font-size: 11px;
	font-weight: bold;
	padding-bottom: 15px;
	padding-top: 15px;
	border: 0px solid #eee;
}

.block .paggination.steps {
	padding-top: 0;
	border: 0;
	float: right;
	}
	
.block .paggination.right {
	float: right;
	text-align: right;
	padding-top: 0;
	border: 0px;
	width: 500px;
	overflow: hidden;
	}


.block .paggination a 
{
	border: 1px solid #ccc;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	padding: 5px 8px;
	margin: 0 1px;
}

.block .paggination a.active {
	background: rgb(0, 136, 68);
	border: 1px solid #3a7a0a;
	color: #fff;
	}

.block .paggination a:hover {
	color: #fff;
	background: #ec8526;
	border: 1px solid #d77011;
	}

.block hr {
	height: 1px;
	border: 0;
	background: no-repeat;
	border-bottom: 1px solid #ddd;
	margin-bottom: 15px;
	}
	
	
/************ Messages *****************/
#messages_container
{
	display: block;
	position: absolute;
	top: 50px;
	right: 80px;
	width: 400px;
	z-index: 300;
}
	
.block .message, .wmodal .message {
	padding: 6px 6px 6px 40px;
	margin-bottom:10px;
	font-weight: bold;
	overflow: hidden;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	
	}

.block .message p, .wmodal .message p {
	padding: 0;
	width: 93%;
	float: left;
	}
	
.block .message.errormsg, .wmodal .message.errormsg {
	border: 1px solid #ebcccc;
	background: #f2dede url(../images/error.gif) 12px center no-repeat;
	color: #a94442;
	}
	
.block .message.success, .wmodal .message.success {
	border: 1px solid #dff0d8;
	background: #d0e9c6 url(../images/success.gif) 12px center no-repeat;
	color: ##3c763d;;
	}
		
.block .message.info, .wmodal .message.info  {
	border: 1px solid #bcdff1;
	background: #d9edf7 url(../images/info.gif) 12px center no-repeat;
	color: #31708f;
	}
	
.block .message.warning, .wmodal .message.warning  {
	border: 1px solid #faf2cc;
	background: #fcf8e3 url(../images/warning.gif) 12px center no-repeat;
	color: #8a6d3b;
	}
	
.block .message .close {
	width: 16px;
	height: 16px;
	background: url(../images/close.png) 0 center no-repeat;
	margin-top: 2px;
	cursor: pointer;
	-moz-opacity: 0.7;
	opacity: 0.7;
	display: block-inline;
	float:right;
	}
	
.block .message .close.hover {
	-moz-opacity: 1;
	opacity: 1;
	}

/*************** Forms ****************/
div.formstyle
{
	font-size: 12px;
	
}

.block div.formstyle > table:not(.picker__table)
{
	text-align: left;
	margin-bottom: 15px;
	padding: 2px;
	color: #444444;
	width: auto;
}

.formstyle  table:not(.picker__table) > tbody > tr > td
{
	padding: 1px 3px !important;
}

.block div.formstyle  table > tbody > tr > th
{
	line-height: normal;	
	text-align: right;
	font-size: inherit;
	width: auto;
	vertical-align:middle;
	white-space: nowrap;
	padding: 3px 5px;
}

.block form p 
{
	overflow: hidden;
	clear: both;
}

.block form label 
{
	font-weight: bold;
	color: #555;
	margin-right: 10px;
	vertical-align: middle;
	margin-bottom: 0px;
}

.block form input,
.block form  select, 
.block form  textarea
{
	margin-right: 0.2em;
	margin-bottom: 0.2em;
	padding: 4px;
	font-size: inherit;
	border: 1px solid #BBB;
	width: 150px;
	line-height: 18px;
	vertical-align: middle;
}	
	
.block form  select, 
.block form  textarea
{
	width: 158px;
}

.block form input:hover,
.block form  select:hover, 
.block form  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);		
} 

.block form input:focus,
.block form  select:focus, 
.block form  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);	
} 


input[type=checkbox]
{
	vertical-align: middle;
}

input.s0 { width: 35px  !important; }
input.s1 { width: 70px  !important; }
input.s2 { width: 100px !important; }
input.s3 { width: 150px !important; }
input.s4 { width: 210px !important; }
input.s5 { width: 250px !important; }
input.s6 { width: 300px !important; }	

select.s0 { width: 28px  !important; }
select.s1 { width: 60px  !important; }
select.s1_1 { width: 68px  !important; }
select.s1_2 { width: 78px  !important; }
select.s1_3 { width: 88px  !important; }
select.s1_4 { width: 98px  !important; }
select.s2 { width: 118px !important; }
select.s3 { width: 158px !important; }
select.s4 { width: 209px !important; }
select.s5 { width: 258px !important; }
select.s6 { width: 308px !important; }	

textarea.s1 { width: 100px !important; height: 60px; }
textarea.s2 { width: 200px	 !important; height: 70px; }
textarea.s3 { width: 300px !important; height: 80px; }
textarea.s4 { width: 500px !important; height: 120px; }
textarea.s4_1{ width: 500px !important; height: 60px; }
textarea.s4_2{ width: 500px !important; height: 80px; }
textarea.s4_3{ width: 500px !important; height: 100px; }
textarea.s5 { width: 600px !important; height: 120px; }
textarea.s5_1{ width: 600px !important; height: 60px; }
textarea.s5_2{ width: 600px !important; height: 80px; }
textarea.s5_3{ width: 600px !important; height: 100px; }

/* Custom form select element */
.block form select.styled {
	width: 245px;
	height: 18px;
	margin-right: 20px;
	}
	
.block form .cmf-skinned-select {
	padding: 3px;
	display: block;
	margin-right: 20px;
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: url('../images/sdd.jpg') center right no-repeat;
	}

.block form .cmf-skinned-select:hover {
	background: url('../images/sdd_.jpg') center right no-repeat;
	}

.block form div.cmf-skinned-text {
	padding: 5px 7px;
	font-family: "Lucida Grande", Verdana, sans-serif;
	font-size: 14px;
	color: #333;
	}
	
	
/* Custom file input */

.block form input.file.file_upload{
	width: 0px !important;
	border: 0px !important;
	padding-bottom: 15px !important;
	}

.block form .fileupload #uploadmsg {
	display: block;
	position: absolute;
	top: 20px;
	left: 350px;
	height: 30px;
	line-height: 30px;
	margin-left: 5px;
	font-size: 11px;
	}

.block form .fileupload #uploadmsg.loading {
	background: url(../images/ajax-loader.gif) center left no-repeat;
	width: 30px;
	padding-left: 20px;
	}
	
.block form input.file {
	width: 250px;
	height: 20px;
	background: #fefefe;
	border: 1px solid #bbb;
	border-right: 0;
	font-family: "Lucida Grande", Verdana, sans-serif;
	font-size: 12px;
	color: #333;
	padding: 4px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
	outline: none;
	}

.block form .note {
	padding-left: 5px;
	font-size: 9px;
	font-weight: bold;
	color: #757575;
	vertical-align: middle;
	}

.block form .note.error { color: #e3302c; }
			


/* Small blocks */
.block.small {
	width: 49%;
	padding-bottom: 0;
	}

.block.small.left { float: left; clear: none; }
.block.small.right { float: right; clear: none; }

.block.small .block_head { }
.block.small .block_content { background: #fff; border-left: 1px solid #ccc; border-right: 1px solid #ccc; }

.block.small .block_content input.text,
.block.small .block_content textarea { width: 96%; padding: 7px; }

.block.small.center {
	float: none;
	margin: 0 auto;
	}


/* Login block */

.block.small.center.login 
{
	width: 330px;
	margin-top: 100px;
	margin-bottom: 15px;
	padding-bottom: 5px;
}
	
.block.small.center.login  form input[type=text],
.block.small.center.login  form input[type=password]
{ 
	width: 100% !important;
	font-size: 18px;
	font-weight: bord;
	line-height: 20px;
	padding: 5px;
	box-sizing: border-box;
}

.block.small.center.login  form input[type=text]
{
	/* background: url(../images/files/glyphicons_003_user.png) no-repeat 5px center; */
	padding-left: 30px;
}

.block.small.center.login  form input[type=password]
{
	/* background: url(../images/files/glyphicons_203_lock.png) no-repeat 5px center; */
	padding-left: 30px;
}

/* login form */

.usericon, .passicon{
	position: absolute;
    left: 10px;
    bottom: 0;
    top: 32px;
    margin: auto;
}
.viewpasswordstyle{
	position: absolute;
	bottom: 0;
	top: 28px;
	margin: auto;
	right: 10px;
	cursor: pointer;
}

.control_form {
    position: relative;
}

/* Block sidebar */

.block.withsidebar .bendl {
	width: 191px;
	background: url(../images/bendsb.gif) bottom left no-repeat;
	}

.block.withsidebar .block_content {
	overflow: hidden;
	padding: 0;
	background: url(../images/sidebar.gif) 0 0 repeat-y;
	}

.block.withsidebar .block_content .sidebar {
	width: 190px;
	float: left;
	font-size: 11px;
	}

.block.withsidebar .block_content .sidebar p {
	padding: 0 13px 15px;
	line-height: 18px;
	}

.block.withsidebar .block_content .sidebar ul.sidemenu {
	padding: 0;
	margin-bottom: 10px;
	}

.block.withsidebar .block_content .sidebar ul.sidemenu li {
	padding: 0;
	margin: 0;
	background: 0;
	border-bottom: 1px solid #ccc;
	}

.block.withsidebar .block_content .sidebar ul.sidemenu li a {
	display: block;
	padding: 10px 13px;
	font-weight: bold;
	}

.block.withsidebar .block_content .sidebar ul.sidemenu li a:hover {
	background: #fdfdfd;
	border-right: 1px solid #ccc;
	}
	
.block.withsidebar .block_content .sidebar ul.sidemenu li.active a,
.block.withsidebar .block_content .sidebar ul.sidemenu li.active a:hover {
	background: #fff;
	border: 0;
	}

.block.withsidebar .block_content .sidebar_content {
	padding: 15px 20px 15px 210px;
	}

/* Image list */

.block .block_content .imglist {
	overflow: hidden;
	margin: 0;
	padding: 0;
	padding-bottom: 10px;
	}

.block .block_content .imglist ul {
	padding: 0;
	}

.block .block_content .imglist li {
	padding: 0;
	margin: 0;
	background: 0;
	width: 75px;
	height: 75px;
	display: block;
	float: left;
	position: relative;
	margin: 13px 17px 10px 10px;
	border: 1px solid #ccc;
	padding: 1px;
	box-shadow: 0 0 3px #ccc;
	-moz-box-shadow: 0 0 3px #ccc;
	-webkit-box-shadow: 0 0 3px #ccc;
	}
	
.block .block_content .imglist li img {
	position: absolute;
	z-index: 1;
	left:15px;
	top:15px;
	
	
	}

.block .block_content .imglist li ul {
	position: absolute;
	z-index: 10;
	background: url(../images/imgo.gif) center no-repeat;
	width: 62px;
	height: 58px;
	left: 19px;
	top: 21px;
	display: none;
	}
	
.block .block_content .imglist li:hover ul { display: block; }

.block .block_content .imglist li ul li {
	display: block;
	width: 62px;
	height: 29px;
	text-align: center;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	}

.block .block_content .imglist li ul li a {
	display: block;
	color: #fff;
	/* text-transform: uppercase; */
	font-size: 10px;
	font-weight: bold;
	height: 29px;
	line-height: 29px;
	text-shadow: 0 0 2px #000;
	outline: none;
	}
	
.block .block_content .imglist li ul li.view a:hover { background: url(../images/imgt.gif) bottom center no-repeat; }
.block .block_content .imglist li ul li.delete a:hover { background: url(../images/imgb.gif) top center no-repeat; }


/************ Footer ************/
#footer {
	margin-top: -15px;
	padding: 0px 15px;
	font-size: 10px;
	color: #757575;
	clear: both;
	overflow: hidden;
	}
	
#footer a {
	color: #757575;
	text-decoration: underline;
	}

#footer a:hover {
	color: #666;
	text-decoration: none;
	}
	
#footer .left {
	float: left;
	}
	
#footer .right {
	float: right;
	text-align: right;
	}
	
/*_____________________________

/********** FORM VALIDATION **********/
form label.error
{ 
    padding-left: 5px;
	margin-top: -2px;
	margin-bottom: 0px;
	font-size: 9px;
	color: red;
	vertical-align: middle;
	display: block; 
	line-height: 12px !important;
}

form input.required, select.required, textarea.required:not(:read-only)
{
	background-color: #FAEFCA !important;
}

form input:read-only:not(:is(.pickadate, .pickadatenomax))
{ 
	background-color: #fafafa !important;
}




/********** SELECT2 OVERWRITE **********/

.select2.required + label.error + .select2-container--default .select2-selection--single{ background-color:#FAEFCA !important; }

.select2-container .select2-selection--single
{
	height: 28px !important; 
}

.select2-container .select2-selection--multiple 
{
   min-height: 28px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered
{
	line-height: 28px !important; 
	font-size:12px;
}


.popover
{
	font-size: 11px !important;
}


/********** AUTO COMPLETE **********/
.block form input.text.ac_loading {
	background :  url('../images/ajax-loader1.gif') right center no-repeat;
}

/********** MODAL BLOCK **********/

h3 {
	font-size: 18px;
	font-weight: normal;
	color: #555;
	text-shadow: 1px 1px 0 #fff;
	margin-bottom:15px;
}
	
.modalblock form input.submit {
	width: 85px;
	height: 30px;
	line-height: 30px;
	background: url(../images/btns.gif) top center no-repeat;
	border: 0;
	font-size: 12px;
	font-weight: bold;
	/* text-transform: uppercase; */
	color: #fff;
	text-shadow: 1px 1px 0 #0a5482;
	cursor: pointer;
	margin-right: 10px;
	vertical-align: middle;
	}
	
.modalblock form input.submit:hover {
	background: url(../images/btns_.gif) top center no-repeat;
	text-shadow: 1px 1px 0 #b55f10;
	}
	
.modalblock form label {
	font-family: "Lucida Grande", Verdana, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #555;
	margin-right: 10px;
	vertical-align: middle;
	}

.modalblock input.text {
	width: 280px;
	background: #fefefe;
	border: 1px solid #bbb;
	font-family: "Lucida Grande", Verdana, sans-serif;
	font-size: 11px;
	color: #333;
	padding: 4px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: none;
	vertical-align: middle;
	}
	
/********** LOADER **********/	
	
div.loadcontainer 
{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgb(255,255,126);
  filter: alpha(opacity=70); /* internet explorer */
  -khtml-opacity: 0.70;      /* khtml, old safari */
  -moz-opacity: 0.70;       /* mozilla, netscape */
  opacity: 0.70; 
  height: expression(document.documentElement.scrollHeight+'px');
  width: expression(document.documentElement.scrollWidth+'px');
  z-index: 10000;
  display: none;
}

div.loadingimg
 {
    /*make visible*/
    display:block;
    position:absolute;
    width:100%;
	height: 100%;
    text-align:center;
    border-top:1px solid #ddd;
    border-bottom:1px solid #ddd;
    background: url(../images/ajax-loader2.gif) no-repeat center center;
}

//
span.small_red
 {
	color: #F00 !important;
	font-size: 8px !important;
	font-weight: bold !important;
}


/*OVERWRITE */

.tooltip
{
	font-size: 11px !important;
}

.displaynone {	
	display: none;
}

/* Image Upload Agent */
.imageView{
	position: absolute;
	right: 50px;
}
.imageview {
	height: 100px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	border-style: dashed;
	border-width: 2px;
	border-color: #ccc;
	padding: 0 10px;
}
.imageview img{
	width: 100px;
	cursor: pointer;
}
.imageinput{
	display:none;
}
.deleteimage{
	position: absolute;
	right: -15px;
	top: -10px;
	cursor: pointer;
}
.deleteimage i{
	color: #666;
}
.fab_ticket {
   width: 50px;
   height: 50px;
   background-color: red;
   border-radius: 50%;
   box-shadow: 0 6px 10px 0 #666;
   font-size: 30px;
   line-height: 50px;
   color: white;
   text-align: center;
   position: fixed;
   right: 5px;
   bottom: 130px;
   transition: all 0.1s ease-in-out;
   z-index: 100000;
}
.fab_ticket:hover {
   box-shadow: 0 6px 14px 0 #666;
   transform: scale(1.05);
   cursor: pointer;
}
#createModalGlobal{
	z-index: 100000 !important;
}
@media all and (max-width: 1024px) { /* Change Width Here */
  div.fab_ticket {
     display: none;
  }
}
#notestextarea.required{
	background-color: #FAEFCA !important;
}

#covers_table.interasco-front div:first-child {
    float: none !important;
    max-width: 100% !important;
}

#covers_table.interasco-front div:nth-child(2) {
    float: none !important;
    max-width: 100% !important;
	padding-top: 25px;
}

select{
	max-width:100%;
}
.select2-container--default .select2-results__option[aria-disabled="true"] {
  color: #c1c1c1;
}



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: 950px;
	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;
}

/* Place this AFTER you load facebox.css (or in a custom.css that comes later) */

/* make the interim “loading” pane taller & vertically center the spinner */
#facebox .loading{
  /* pick whichever you prefer ── */
  /* Option A: padding                                                  */
  /* padding: 70px 40px;             /* ~140 px tall           */

  /* Option B: min-height + flex to centre exactly in middle            */
  min-height: 50px;                 /* forced tall box       */
  display: flex;
  align-items: center;               /* vertical centering    */
  justify-content: center;           /* horizontal centering  */
}

#facebox .close_image{            /* <img src="…close-x.png"> */
  display:none !important;
}

/* 2.  Make the <a class="close"> look like BS4’s close button */
#facebox a.close{
  position:absolute; top:.5rem; right:.5rem;   /* adjust to taste          */
  padding:.25rem .25rem;
  font-size:1.5rem;            /* 24 px  (match Bootstrap 4) */
  font-weight:700;
  line-height:1;
  color:#000;
  text-shadow:0 0 0 #fff;
  background:none;             /* ensure no leftover bg      */
  border:0;
  opacity:.5;
  cursor:pointer;

}

/* 3.  Insert the glyph (×) so no markup change is needed */
#facebox a.close::before{
  content:'\00d7';             /* Unicode MULTIPLICATION SIGN */
}

/* 4.  Same hover / focus fade as Bootstrap */
#facebox a.close:hover,
#facebox a.close:focus{
  opacity:.75;
  text-decoration:none;
  outline:0;
}


#facebox a.close{
  /* size / layout */
  width: 30px;              /* tweak to your taste */
  aspect-ratio: 1;          /* makes it a square */
  display: grid;
  place-items: center;
}


#facebox a.close:hover,
#facebox a.close:focus-visible{
  background: #d1d1d6;
   border-radius: 8px;      /* rounded corners */
  /* ⬅️  becomes a circle     */
  opacity: 1;
}

.ui-state-active .badge-number, .ui-state-hover .badge-number{
	background-color: #eee;
	color: #505050;
}
.last_update_chart
{
	font-size: 11px;
	padding-left: 30px;
	font-style: italic;
}


/* Full header container */
.app-header {
  width: 100%;
  padding: 10px 20px;
  background-color: #ffffff;
  border-top: 2px solid rgb(204, 204, 204);
  overflow: hidden;
  box-sizing: border-box;
  min-height: 40px;
  /* Flex replacement */
  display: table;
  table-layout: fixed;
  position:relative;
}

/* Right side: buttons + avatar */
.header-right {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  white-space: nowrap;
}

/* Header buttons */
.header-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  color: #212529;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-right: 10px;
  cursor: pointer;
}

/* Avatar button */
.avatar-button {
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #ced4da;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-weight: bold;
  padding: 0;
  line-height: 40px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

.avatar 
{
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
  margin-right: 10px;
  background-color: #278189;
  font-size: 16px;
  border: 0px solid #278189;
  color: white;
}

/* Base dropdown menu style */
.dropdown-menu {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 6px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  min-width: 240px !important;
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 13px;
  color: #212529;
  background-color: transparent;
  border: none;
  border-radius: 6px;
  transition: background-color 0.2s;
  margin-left: 5px !important;
  margin-right: 5px !important;
}

/* Hover effect */
.dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0;
  color: #000 !important;
  margin-left: 5px !important;
  margin-right: 5px !important;
}

.dropdown-menu .dropdown-item i {
  font-size: 16px;          /* Slightly bigger than default (14px) */
  margin-right: 10px;       /* Adds spacing between icon and label */
  width: 20px;              /* Reserves width so labels align neatly */
  text-align: center;
}

/* Section titles or muted info (like email) */
.dropdown-item-text {
  font-size: 13px;
  color: #6c757d;
  padding: 8px 16px;
  display: block;
}
#userEmail{
	font-size: 12px;
}

/* Divider line between sections */
.dropdown-divider {
  margin: 6px 0;
  border-top: 1px solid #e9ecef;
}

/* Hover effect: subtle ring + slight lift */
.avatar:hover {
  box-shadow: 0 0 0 4px rgba(96, 168, 69, 0.25);
}

.avatar-wrapper:hover .avatar-tooltip {
  display: block;
}

.avatar-tooltip {
  display: none;
  position: absolute;
  top: 120%;                /* Place it below the avatar */
  left: 50%;
  transform: translateX(-50%);
  background-color: #3c4043;
  color: white;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 13px;
  z-index: 9999;
  width: max-content;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
}

.avatar-wrapper:hover .avatar-tooltip {
  display: none;
  left: auto;
  right: 0;
  transform: none;
  top:10px;
}

.tooltip-title {
  font-weight: bold;
  margin-bottom: 2px;
}

.tooltip-name {
  color: #e8eaed;
}

.tooltip-email {
  color: #9aa0a6;
  font-size: 12px;
}

/* Triangle pointing up (optional) */
.avatar-tooltip::before {
  display: none; /* Add this or remove the whole block */
}