/* override jquery ui default */
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
	color: #e17009;
	text-decoration: none;
}
/* trick to deal with dialog dragging issue in Firefox */
/* html, body { position: relative } */
/* Textes du header et du footer */
#actions, #shortlinks { color:#434343; }
#footer span { color:#434343; }
/* Liens du header et du footer */
#actions a, #actions a:active, #actions a:visited { color:#787878; }
#shortlinks a, #shortlinks a:active, #shortlinks a:visited, #shortlinks span { color:#787878; }
#shortlinks div { 
    height: 18px;
    border: 2px solid #F3F3F3;
    float: left;
    background-color: #F3F3F3;
    text-align: center;
}
#shortlinks div.gauche {  border-bottom-left-radius: 25px; border-top-left-radius: 25px; }
#shortlinks div.droite {  border-bottom-right-radius: 25px; border-top-right-radius: 25px; }
#shortlinks div:hover { border-bottom: 2px solid black; }
#footer a, #footer a:active, #footer a:visited { color:#787878; }
/* Couleur de fond du contenu et du footer */
#content, #footer span { background: #ffffff none; }

/**
 * TABLE
 */
/* Bordure de tableau */
/* Recherche */
div.tab-search { background:#ffffff none; }

/**
 * ONGLETS
 */
/* Survol des liens des onglets */
#content .ui-tabs-nav a:hover { text-decoration:none; }

/**
 * MENU
 */
/* Items au survol et separateurs */
#menu li.elem:hover { background-color:#787878; }
#menu li.hr { background-color:#787878; height:0px; }
/* IE Fix */
* html #menu li { height:17px; }
 /** Menu */

/**
 * DIVERS
 */
/* Liste */
div.choice { background:#ffffff none; }
/*.tableEditions {
	background-color: #B9D4FB;
	font-size:12pt; 
	font-family:Arial; 
	color:#365482;
	width: 200px;
}
.tableEditionsBC {
	background-color: #B9D4FB;
	font-size:12pt; 
	font-family:Arial; 
	color:#365482;
	width: 200px;
	text-align: center;
	font-weight:bold;
}
.tableEditionsC {
	background-color: #B9D4FB;
	font-size:12pt; 
	font-family:Arial; 
	color:#365482;
	width: 200px;
	text-align: center;
}*/
.loadingInput{
 background:url(../img/loading.gif) no-repeat top left;   
}
.overlay {
	position:fixed;
	z-index:20;
	border:0px double #999;
	opacity:0.95;
	filter:alpha(opacity=80); /* For IE8 and earlier */
	background:#f7f7f7;
	width:300px;
	height:200px;
	margin-top:-150px;
	margin-left:-150px;
	top:50% !important;
	left:50%;
	text-align:center;
	line-height:100px;
	font-family:"Trebuchet MS", verdana, arial,tahoma;
	font-size:18pt;
}
.scanThumbs {
    width:100px;
    height: 100px;
    position: relative;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border: 1px solid #A6C9E2;
    color: #222222;
}

div#div-accordeon[role="main"] ul#tiles-panel li {
    display: inline-block;
    list-style: none outside none;
    margin: 0 8px 8px 0;
    vertical-align: middle;
    width: 700px;
    z-index: 9999;
}
#menuaddvarpv { list-style: none outside none; }
#menuaddvarcke { list-style: none outside none; }
#addMenu { list-style: none outside none; z-index: 9999;}
.headMenuAddVar {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #F0F1F4;
    border-top: 1px solid #A6C9E2;
    border-right: 1px solid #A6C9E2;
    border-left: 1px solid #A6C9E2;
    border-bottom: 3px solid #A6C9E2;
    display: inline-block;
    height: 40px;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
    width: 100px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    float: left;
    overflow: hidden;
    background-image: url("../img/action_loopnone_s.png");
    background-repeat: no-repeat;
    background-position:center; 
    color: #2e6e9e;
    word-wrap: break-all;
    white-space: normal;
}
.tile {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #F0F1F4;
    border-top: 1px solid #A6C9E2; 
    border-right: 1px solid #A6C9E2; 
    border-left: 1px solid #A6C9E2;
    border-bottom: 3px solid #A6C9E2;
    display: inline-block;
    height: 40px;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
    width: 80px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    float: left;
    overflow: hidden;
    word-wrap: break-all;
    white-space:normal;
}
.tile:hover {  border-bottom: 3px solid #7B4F9D; border-top: 1px solid #7B4F9D; border-right: 1px solid #7B4F9D; border-left: 1px solid #7B4F9D; }
.tileSelected {  border-bottom: 3px solid #7B4F9D; border-top: 1px solid #7B4F9D; border-right: 1px solid #7B4F9D; border-left: 1px solid #7B4F9D; }
 
.tile a { display: inline-block; vertical-align: middle; word-wrap: break-word; }
 
.tile p {
    color: #6A747E;
    font-family: "Segoe UI",Segoe,"Trebuchet MS",Tahoma,Geneva,sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 148%;
    margin: 0;
    padding: 0 10px;
    text-align: center;
    vertical-align: middle;
    float: left;
}
.selRolesPV {
	color: #4991C5;
	background-color: #DFEFFC;
	font-weight: bold;
	cursor: pointer;
}
div.divimgckeditor {
    width: 250px;
    height: 250px;
    float: left;
    border: 1px solid #CCCCCC;
}
div.divimgckeditor:hover {
    border: 1px solid black;
}
.slidescontainer {
    width: 765px;	
}
.diffModelePV {  display: inline-block; float: left; }
.dataTables_filter {
   float: right;
   text-align: right;
}
.dataTables_length {
   float: left;
   text-align: left;
}
.dataTable {
	clear: both;
	width: 100%;
}
.ui-tooltip {
    display:none;
    background:transparent;
    font-size:12px;
    height:700px;
    width:1000px;
    padding:25px;
    color:#eee;
  }

#mydiv { width: 21cm; height: 29.7cm; }

#box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 12px;
    background: green;
    cursor: move;
}

.widebut { width: 100% !important; }

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);
}

.closediv {
	float: right;
	margin: -16px -20px 0 0;
	cursor: pointer;
}

/* css for scr/scanList.php */
div.scan-container {
	max-width: 100%;
	background-color: white;
}
div.scan-wrapper {
	width: 19.6%;
	position: relative;
	display: inline-block;
}
div.scan-wrapper div.scan-pdf img {
	border: 2px solid #D3D3D3;
	width: 100%;
	cursor: default;
}
div.scan-wrapper div.scan-pdf img.loading {
	width: 50px;
}
div.scan-wrapper:hover > .up-layer {
	opacity: 1;
	transition: opacity 1s; /* transition when the mouse over */
}
div.scan-dem-types, div.scan-dem-sup, div.scan-dem-see, div.scan-dem-regen, div.scan-dem-choose, div.scan-dem-flux, div.scan-dem-flag {
	width: 100%;
	height: 7%;
	position: absolute;
	border-left: 2px solid #D3D3D3;
	border-right: 2px solid #D3D3D3;
	opacity: 0;
	transition: opacity 0.5s; /* transition when the mouse leave */
}
div.scan-dem-choose {
	width: 20%;
	height: 14%;
	border: none;
}
div.scan-dem-types {
	top: 93%;
	left: 0;
	background-color: rgba(150, 150, 150, 0.5);
}
div.scan-dem-sup {
	top: 0%;
	left: 0%;
}
div.scan-dem-see {
	top: 10%;
	left: 0%;
}
div.scan-dem-flux {
	top: 20%;
	left: 0%;
}
div.scan-dem-regen {
	top: 50%;
	left: 0%;
}
div.scan-dem-flag {
	top: 30%;
	left: 0%;
}
div.scan-dem-choose {
	top: 40%;
	left: 40%;
}
div.scan-dem-sup img, div.scan-dem-see img, div.scan-dem-regen img, div.scan-dem-flux img, div.scan-dem-flag img {
	float: right;
	cursor: pointer;
}
div.scan-dem-see img, div.scan-dem-regen img, div.scan-dem-flux img, div.scan-dem-flag img {
	width: 32px;
}
div.scan-dem-choose img {
	width: 100%;
	cursor: pointer;
}
section header {
	text-align: center;
	margin-bottom: 10px;
}
section.scan-list h1 {
	display: inline;
}
section.scan-list img.control, span.open-racc {
	cursor: pointer;
}
span.open-racc {
	float: left;
	width: 50%;
}
span.open-racc:hover {
	background-color: #C8DFAF;
}
div.open-menu {
	width: 100%;
	overflow-y: auto;
	max-height: 92%;
	background-color: white;
	z-index: 10000;
	text-align: center;
	position: absolute;
	left: 0;
	bottom: 7%;
	border: 2px solid #D3D3D3;
	opacity: 0;
	transition: opacity 0.5s; /* transition when the mouse leave */
}
div.open-menu a {
	padding: 12px;
	font-size: 10pt;
	font-family: Arial;
	display: block;
}
.open-menu a:hover {
	color: green;
	cursor: pointer;
	background-color: #C8DFAF;
}
/*--------------------------*/
/* This is to put a diagonal line on a div, play with top, left and width to feet the good size */
div.diagline
{
    position: relative;
    z-index: 1;
    top: -215px;
    left: -105px;
    width: 172%;
    height: 2px;
    background-color: red;
    transform: rotate(55deg);
    -ms-transform: rotate(55deg); /* IE 9 */
    -webkit-transform: rotate(55deg); /* Safari and Chrome */
}

input[type="button"].rights-undef {
	background-color: rgb(200, 200, 200);
	background-image: none;
}
input[type="button"].rights-ko {
	background-color: rgb(255, 50, 50);
	background-image: none;
	color: rgb(255, 255, 255);
}
input[type="button"].bt-right {
	width: 110px;
	text-align: center;
}
img.raz-rights, img.grant-all-rights { cursor: pointer; }

.ui-autocomplete {
     z-index: 9999999 !important;
}
.selRowActbs { outline: thin solid; }

/* Aspect des checkboxes */
/* :before sert à créer la case à cocher */
.statSyntCB:not(:checked) + label:before,
.statSyntCB:checked + label:before {
  content: '' !important;
  position: absolute !important;
  left:0; top: 2px !important;
  width: 17px; height: 17px !important; /* dim. de la case */
  border: 1px solid #aaa !important;
  background: #f8f8f8 !important;
  border-radius: 3px !important; /* angles arrondis */
  box-shadow: inset 0 1px 3px rgba(0,0,0,.3) !important; /* légère ombre interne */
}
 
/* Aspect général de la coche */
.statSyntCB:not(:checked) + label:after,
.statSyntCB:checked + label:after {
  content: '✔' !important;
  position: absolute !important;
  top: 0; left: 4px !important;
  font-size: 14px !important;
  color: #09ad7e !important;
  transition: all .2s !important; /* on prévoit une animation */
}
/* Aspect si "pas cochée" */
.statSyntCB:not(:checked) + label:after {
  opacity: 0 !important; /* coche invisible */
  transform: scale(0) !important; /* mise à l'échelle à 0 */
}
/* Aspect si "cochée" */
.statSyntCB:checked + label:after {
  opacity: 1 !important; /* coche opaque */
  transform: scale(1) !important; /* mise à l'échelle 1:1 */
}
.sortRec { background: #F89C5B; min-width: 700px; }
.notyBut { font-size: 12px; padding: 5px; }
