/**** global *********************************************************/

body {
	behavior: url(csshover.htc);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
}

.spacer {
	clear: both;
}

p {
	margin-bottom: 1em;
}

a {
	color: #002f7d;
}

a:visited {
	color: #002f7d;
}

a:hover {
	color: #666666;
}

/**** header *********************************************************/

#header {
	background-image: url(../img/header.png);
	background-repeat: repeat-x;
}

#logo a {
	background-image: url(../img/logo.png);
	background-repeat: no-repeat;
	position: absolute;
	top: 10px;
	left: 17px;
	padding-top: 50px;
	overflow: hidden;
	height: 0;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 0;
	width: 168px;
}

#infos {
	position: absolute;
	top: 5px;
	right: 12px;
	font-size: 1em;
	border: 1px solid #D9ECFF;
	padding: 2px;
}

#infos table {
	margin: 0;
}

#infos th, #infos td {
	border: 0;
	padding: 0;
	color: #fff;
	font-size: 0.8em;
	text-align: left;
	background-color: transparent;
}

/**** main ***********************************************************/

#main {
	background-color: #d9ecff;
	margin-left: 1em;
	margin-bottom: 1em;
	margin-right: 15em;
	z-index: 100;
	border: 1px solid #82a4c6;
}

/**** help ***********************************************************/

#help {
	position: absolute;
	top: 8em;
	right: 0;
	width: 14em;
}

#help h1 {
	position: relative;
	padding: 15px 40px 3px 100px;
	color: #fff;
	font-size: 0.8em;
	font-weight: bold;
	background-image: url(../img/background_help_top.png);
	background-repeat: no-repeat;
	background-position: 1em top;
	height: 22px;
}

#help h1 img {
	padding-left: 4px;
}

#help p {
        padding: 1em;
	font-size: 0.85em;
	text-align: right;
}


/**** tables *********************************************************/

table {
        margin: 0.5em 0em 0.5em 0;
}

tr {
        font-size: 0.8em;
}

th {
	padding: 6px 10px 6px 10px;
	background-color: #A6CAF0;
	border: 1px solid #fff;
	color: #002f7d;
	font-weight: bold;
}

th.hat {
	background-color: #82a4c6;
	text-align: center;
}

td {
	padding: 6px 10px 6px 10px;
	border: 1px solid #fff;
	background-color: #d9ecff;
}

td.desactivated {
	color: #888a85;
	font-style: italic;
	background-color: #F5F5F5;
}

td.col_number, th.col_number {
        width: 15px;
        text-align: right;
}

td.col_action, th.col_action {
        padding: 6px 6px 6px 10px;   
        width: 16px;
        background: #fff;
        text-align: center;
}

/**** buttons ********************************************************/

.button_submit {
	background: transparent url(../img/button_submit_left.png) no-repeat left top;
	display: -moz-inline-box;
        display: inline-block;
	height: 28px;
}

.button_submit button {
        border: 0px;
        cursor: pointer;
        font-weight: bold;
        background: transparent url(../img/button_submit_right.png) no-repeat right top;
        overflow: visible;
        height: 28px;
        padding: 6px 16px 6px 6px;
        color: #ffffff;
        text-transform: uppercase;
        font-size: 0.7em;
        margin-left: 9px;
}

.button_submit_disabled {
        background: transparent url(../img/button_submit_left_disabled.png) no-repeat left top;
        display: -moz-inline-box;
        display: inline-block;
        height: 28px;
}

.button_submit_disabled button {
        border: 0px;
	cursor: pointer;
	font-weight: bold;
	background: transparent url(../img/button_submit_right_disabled.png) no-repeat right top;
	overflow: visible;
	height: 28px;
	padding: 6px 16px 6px 6px;
	color: #ffffff;
	font-size: 0.7em;
	text-transform: uppercase;
        margin-left: 9px;
}

.button_submit button:hover {
        color: #ffffff;
}

.button_add {
	background: transparent url(../img/button_add.png) no-repeat left top;
	height: 20px;
	width: 20px;
	cursor: pointer;
}

.button_add:hover {
        background: transparent url(../img/button_add_hover.png) no-repeat left top;
}

.button_generate {
	background: transparent url(../img/button_generate.png) no-repeat left top;
	height: 20px;
	width: 20px;
	cursor: pointer;
}

.button_generate:hover { 
        background: transparent url(../img/button_generate_hover.png) no-repeat left top;
}

.button_network {
	background: transparent url(../img/button_network.png) no-repeat left top;
	height: 20px;
	width: 20px;
	cursor: pointer;
}

.button_network:hover { 
        background: transparent url(../img/button_network_hover.png) no-repeat left top;
}

.button_remove {
	background: transparent url(../img/button_remove.png) no-repeat left top;
	height: 20px;
	width: 20px;
	cursor: pointer;
}

.button_remove:hover {
  background: transparent url(../img/button_remove_hover.png) no-repeat left top;
}

.button_edit {
	background: transparent url(http://192.168.1.1/img/button_edit.png) no-repeat left top;
	height: 20px;
	width: 20px;
	cursor: pointer;
}

.button_edit:hover {
        background: transparent url(http://192.168.1.1/img/button_edit_hover.png) no-repeat left top;
}

/**** forms **********************************************************/

input.text {
	border: 1px solid #8d8d8d;
	padding: 1px 5px;
}

input.readonly {
	background: #eee;
	border: 1px solid #8d8d8d;
	padding: 1px 5px;
}

textarea {
	border: 1px solid #8d8d8d;
}

select {
	border: 1px solid #8d8d8d;
}

select.error {
	border: 1px solid #8d8d8d;
}

input.error {
	border: 1px solid #da0000;
	padding: 1px 5px;
}

div.error, p.error {
	color: #000000;
	font-weight: 600;
}

div.error_notice {
	width: 500px;
	margin: 0.8em auto;
	padding: 1em;
	padding-left: 4em;
	color: #da0000;
	background: #fff url(../img/icon_error.png) no-repeat 15px 10px;
	font-weight: normal;
	border: 1px solid #002f7d;
}

div.success_notice {
	width: 500px;
	margin: 0.8em auto;
	padding: 1em;
	padding-left: 4em;
	color: #002f7d;
	background: #fff url(../img/icon_info.png) no-repeat 15px 10px;
	font-weight: normal;
	border: 1px solid #002f7d;
}

div.warning_notice {
	width: 500px;
	margin: 0.8em auto;
	padding: 1em;
	padding-left: 4em;
	color: #da0000;
	background: #fff url(../img/icon_warning.png) no-repeat 15px 10px;
	font-weight: normal;
	border: 1px solid #002f7d;
}

div.info_notice {
	width: 300px;
	margin: 0.8em auto;
	padding: 1em;
	color: #da0000;
	font-weight: normal;
	border: 1px solid #002f7d;
	background-color: #fff;
}

input[type=text]:focus, textarea:focus {
	border: 1px solid #505050;
}

input[type=password]:focus, textarea:focus {
	border: 1px solid #505050;
}

input.error[type=text]:focus, textarea.error:focus {
	border: 1px solid #c50000;
}

.enabled {
	color: #009933;
	padding: 0 1em 0 2em;
	height: 36px;
	background-image: url(../img/icon_enabled.png);
	background-repeat: no-repeat;
	background-position: 10px 5px;
	background-color: #d9ecff;
}

.disabled {
	color: #F90000;
	padding: 0 1em 0 2em;
	height: 36px;
	background-color: #d9ecff;
	background-image: url(../img/icon_disabled.png);
	background-repeat: no-repeat;
	background-position: 10px 5px;
}

.unused {
	padding: 0 1em 0 2em;
	height: 36px;
	background-image: url(../img/icon_unused.png);
	background-repeat: no-repeat;
	background-position: 10px 5px;
	background-color: #d9ecff;
}

/**** main ***********************************************************/

.title {
	margin: 15px 0 10px;
	padding: 0px;
}

.title h1 {
	padding: 12px 10px 0px;
	font-size: 1.1em;
	color: #002f7d;
	line-height: 1px;
}

.content {
	margin: 0.3em;
	padding: 0.5em;
	background-color: #ffffff;
	border: 1px inset #808080;
}

/**** menu ***********************************************************/

#menu {
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.88em;
	font-weight: bold;
	clear: both;
	padding-top: 69px;
	padding-right: 1em;
	padding-bottom: 0;
	padding-left: 1em;
	font-variant: small-caps;
}

#menu .tab_off {
	float: left;
	padding-top: 6px;
	padding-right: 3px;
	padding-bottom: 6px;
	padding-left: 3px;
}

#menu .tab_off a:link, #menu .tab_off a:visited {
	color: #002f7d;
	text-decoration: none;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #82a4c6;
	border-left-color: #82a4c6;
	padding-top: 5px;
	padding-right: 6px;
	padding-bottom: 4px;
	padding-left: 6px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #82a4c6;
	background-color: #c0c0c0;
}

#menu .tab_off a:hover, #menu .tab_off a:active {
	color: #002f7d;
	background-color: #fff;
	padding-top: 5px;
	padding-right: 6px;
	padding-bottom: 4px;
	padding-left: 6px;
}

#menu .tab_on {
	float: left;
	padding-right: 3px;
	padding-bottom: 9px;
	padding-left: 3px;
	padding-top: 6px;
}

#menu .tab_on a:link, #menu .tab_on a:visited, #menu .tab_on a:hover, #menu .tab_on a:active {
	color: #002f7d;
	text-decoration: none;
	background-color: #fff;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #5a89d6;
	border-left-color: #5a89d6;
	padding-top: 5px;
	padding-right: 6px;
	padding-bottom: 6px;
	padding-left: 6px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #5a89d6;
}
#menu .tab_signoff {
	float: right;
	padding-top: 6px;
	padding-right: 3px;
	padding-bottom: 6px;
	padding-left: 3px;
}

#menu .tab_signoff a:link, #menu .tab_signoff a:visited {
	color: #002f7d;
	text-decoration: none;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #82a4c6;
	border-right-color: #82a4c6;
	border-left-color: #82a4c6;
	background-color: #c0c0c0;
	padding-top: 3px;
	padding-right: 12px;
	padding-bottom: 4px;
	padding-left: 12px;
}

#menu .tab_signoff a:hover, #menu .tab_signoff a:active {
	color: #002f7d;
	text-decoration: none;
	background-color: #fff;
	padding-top: 3px;
	padding-right: 12px;
	padding-bottom: 4px;
	padding-left: 12px;
}

/*#menu .tab_signoff button:hover {
*  background: transparent url(/img/button_quit_hover.png) no-repeat right top;
*}*/

/**** submenu ********************************************************/

#submenu {
        position: relative;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	margin-left: 0em;
	margin-top: 8px;
        margin-bottom: -4px;
        height: 31px;
        z-index: 150;
}

#submenu_tabs {
	margin-left: 1em;
	margin-top: 2px;
}

#submenu .tab_off {
	float: left;
	padding: 5px 3px 4px 3px;
}

#submenu .tab_off a:link, #submenu .tab_off a:visited {
	padding: 4px 5px 6px 5px;
	color: #666666;
	text-decoration: none;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #82a4c6;
	border-right-color: #82a4c6;
	border-left-color: #82a4c6;
	font-weight: bold;
	background-color: #FFFFFF;
}

#submenu .tab_off a:hover, #submenu .tab_off a:active {
	padding: 4px 5px 6,5px 5px;
	color: #002f7d;
	background-color: #d9ecff;
	text-decoration: none;
}

#submenu .tab_on {
	float: left;
	padding: 5px 3px 4px 3px;
}

#submenu .tab_on a:link, #submenu .tab_on a:visited, #submenu .tab_on a:hover, #submenu .tab_on a:active {
	padding: 4px 5px 8px 5px;
	color: #002f7d;
	text-decoration: none;
	background-color: #d9ecff;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #82a4c6;
	border-right-color: #82a4c6;
	border-left-color: #82a4c6;
	font-weight: bold;
}

#submenu_corner {
	float: left;
}

/**** popup ********************************************/

.jqmOverlay { background-color: #000000; }

div.popup {
  display: none;
  position: fixed;
  top: 17%;
  width: 100%;
}

* html div.popup {
  position: absolute;
  top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

div.popup_window {
	overflow-y: auto;
	height: 400px;
	width: 650px;
	margin: auto;
	max-width: 500px;
	background-color: #ffffff;
	border:1px solid #002F7D;
}

div.popup .jqmClose em{ display: none; }
div.popup .jqmClose {
  width: 20px;
  height: 20px;
  margin: 2px;
  display:block;
  float:right;
  clear:right;
  background:transparent url(../img/icon_close_double.png) 0 0 no-repeat;
}

div.popup a.jqmClose:hover, div.popup a.jqmCloseHover {
  font-size: 1em;
  background-position: 0 -20px;
}

div.popup_content{
  width: 100%;
  padding:0px;
  background:#fff;
}

.clearfix:after {
  content: "."; 
  display: block; 
  height: 0;
  clear: both; 
  visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/**** blocklist ********************************************/

div.blocklist p {
  float: left;
  text-align: center;
  margin: 0.4em;
  padding: 1em;
  width: 150px;
}

div.blocklist p img { 
  border: 1px #000000 solid;
}

div.blocklist p span {
  display: block;
}

div.blocklist p span strong {
  font-weight: bold;
}

div.blocklist p.selected {
	border: 1px solid #002f7d;
	background-color: #ced7e6;
}

div.blocklist p.unselectable {
  border: 1px #d67585 dashed;
  background: #ffc4c4;
}

div.blocklist:after { 
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

div.blocklist { 
    display: inline-block;
}
