/************************/
/* Application PISTACHE */
/************************/

/* --------------------------------------------------------------------------- */
/* Elements HTML de base */

table {
	font-size: 12px;
}

input, select, textarea {
	font-size: 12px;
}

hr {
    border: 0;
    height: 1px;
    margin: 10px 0px;
    background-image: -webkit-linear-gradient(left, rgba(78, 128, 192, 0.1), rgba(78, 128, 192, 0.75), rgba(78, 128, 192, 0.1)); 
    background-image:    -moz-linear-gradient(left, rgba(78, 128, 192, 0.0), rgba(78, 128, 192, 0.75), rgba(78, 128, 192, 0.0)); 
    background-image:     -ms-linear-gradient(left, rgba(78, 128, 192, 0.0), rgba(78, 128, 192, 0.75), rgba(78, 128, 192, 0.0)); 
    background-image:      -o-linear-gradient(left, rgba(78, 128, 192, 0.0), rgba(78, 128, 192, 0.75), rgba(78, 128, 192, 0.0)); 
}

fieldset {
	border-color: #4E80C0;
	background-color: #F1F5FA;
}
 
fieldset legend {
	text-align: left;
	background-color: #E4F1FF;
}

select {
	max-width: 360px;
}

/* --------------------------------------------------------------------------- */
/* Classes du wrapper horizontal (CktlCommon) */

.cktl_container_principal {
  min-width: 900px;
  max-width: 1024px;
  margin-top: auto;
  margin-bottom: 10px;
  font-size: 11px;
}

.cktl_container_principal #ContainerContent {
  min-height: 200px;
}

.cktl_entete_wrapper_horizontal {
  height : 26px;
  text-align:center;
  font-size:1em;
}

.cktl_copyright_wrapper_horizontal {
  padding: 0 5px 0 5px;
}
.cktl_copyright_wrapper_horizontal a {
  text-decoration: none;
  
}

.cktl_accueil_wrapper_horizontal {
  min-height: 450px;
  padding: 0;
}

/* --------------------------------------------------------------------------- */
/* Wrapper horizontal bleu */

.cktl_container_principal {
  border: 2px solid #4E80C0;
}

.cktl_entete_wrapper_horizontal,
.cktl_copyright_wrapper_horizontal {
  background-color: #6699CC;
  color: white;  
}

/* --------------------------------------------------------------------------- */
/* Images boutons CktlCommon */

.cktl_action_send {
	background: transparent url(images/001_59_16x16.png) no-repeat scroll 0px 0px;
}

/* --------------------------------------------------------------------------- */
/* Logo */

.logo {
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
  min-width: 900px;
  max-width: 1024px;
	z-index: 1;
	font-size: 12px;
	text-align: left;
}

.logo h1 {
	font-size: 42px;
	font-weight: bold; 
	font-family: Lucida Grande, Verdana, Geneva, Arial, Helvetica, sans-serif;
	position: relative;
	color: #4E80C0;
	margin: 0;
	padding: 0;
}

.logo h1 .gloss {
	background: url(images/gradient-glossy.png) repeat-x;
	position: absolute;
	display: block;
	width: 100%;
	height: 31px;
}

.logo h1 .orange {
	color: orange;
}

.signature {
	font-size: 12px;
}

/* --------------------------------------------------------------------------- */
/* Login */

.login_error {
	color: #B33;
}

.login {
	position: inherit;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5%;
	margin-bottom: auto;
	left: auto;
	top: auto;
}

/* --------------------------------------------------------------------------- */
/* Boites et Blocs */
 
.boxContent,
.subBoxContent {
	margin: 4px 8px 4px 8px; 
}

.subBoxAction {
	background-color: #FFFFFF;
	border: 1px #E4F1FF solid;
	margin: 5px 5% 5px 5%; 
	width:90%;
}

.subBoxActionContent {
	padding: 5px;
	background-color: #FBFFC0;
	text-align: center;
}

.blocSucces {
	background-color: #d7ffbf;
	height: auto;
	width: auto;
	margin: 5px 5px 5px 5px;
	position: relative;
	text-align: center;		
}

.blocSuccesDarker {
	background-color: seagreen;
	color: white;
	height: auto;
	width: auto;
	margin: 5px 5px 5px 5px;
	position: relative;
	text-align: center;		
}

.hidden {
	display: none;
}

div.clearfix {
	clear: both;
}

div.shadowBox {
	box-shadow: 0px 0px 15px #666;
}

/* --------------------------------------------------------------------------- */
/* Formatage de texte */
.textAlerteRed {
	font-size: small;
	font-weight: bold;
	color: red;
	text-align: center;	
}

.textNote, .textNoteRed {
	font-size: smaller;
	font-style: italic;
	color: #333;
}

.textNoteRed {
	color: darkred;
}

.longTexte {
	overflow: hidden;
	word-break: break-all;
}

/* --------------------------------------------------------------------------- */
/* Formulaires */

form span.required {
	color: red;
}

#FormConsultation table,
#FormulaireModification table,
#FormulaireCreation table {
	min-width: 50%;
}

#FormulaireCreation table td,
#FormulaireModification table td{
	height: 24px;;
}

#FormulaireCreation *:focus, 
#FormulaireRecherche *:focus, 
#FormulaireModification *:focus {
	outline: none;
	background-color: #F3F3F3; 
}

#FormulaireCreation table .personneAdresseDisplay table td,
#FormulaireModification table .personneAdresseDisplay table td,
#FormulaireCreation table .personneTelephoneDisplay table td,
#FormulaireModification table .personneTelephoneDisplay table td {
	height: auto;
}

#FormulaireCreation .inputSujetActivites,
#FormulaireModification .inputSujetActivites {
	width: 660px;
}

#FormulaireCreation textarea.inputSujetActivites,
#FormulaireModification textarea.inputSujetActivites {
	height: 100px;
}

#FormulaireCreation .inputChamps1000Caracs,
#FormulaireModification .inputChamps1000Caracs {
	width: 660px;
}

#FormulaireCreation textarea.inputChamps1000Caracs,
#FormulaireModification textarea.inputChamps1000Caracs {
	height: 50px;
}height: auto;
	width: auto;

#FormulaireRecherche label,
.cktlAjaxToolbar label {
	display: block;
	float: center;
	width: 12%;
	text-align: center;
	margin: 4px 5px 0 0;
}

/** Containers **/

#ContainerFormulaireDemandeDeStage div#ContainerInfosGenerales {
	float: left; 
	max-width:60%;
}

#ContainerFormulaireDemandeDeStage div#ContainerListeAdressesEtudiant,
#ContainerFormulaireDemandeDeStage div#ContainerListeTelephoneEtudiant {
	float: left; 
	margin-left: 2%; 
	min-width: 38%;";
}

#ContainerFormulaireDemandeDeStage div#ContainerDatesStage {
	float: left; 
	width: auto;
	max-width: 50%;	
}

#ContainerFormulaireDemandeDeStage div#ContainerGratification {
	float: right; 
	width: auto;
	max-width: 50%;	
}
#ContainerFormulaireDemandeDeStage div#ContainerGratification #GratificationDevise {
	max-width: 190px;
}

#ContainerFormulaireDemandeDeStage div#ContainerChoixTuteur {
}

#ContainerFormulaireDemandeDeStage div#ContainerSujetActivites {

}

#ContainerFormulaireDemandeDeStage div#ContainerStructureAccueil {

}

#ContainerFormulaireDemandeDeStage div#ContainerEncadrant {

}

#ContainerFormulaireDemandeDeStage div#ContainerAdresses {

}

#ContainerFormulaireDemandeDeStage div#ContainerAbsences {

}

/**
float: left;
width: 120px;
height: 20px;
margin: 2px;
line-height: 20px;
**/

#FormulaireRecherche input {
	float: right;
	width: 200px;
	align: center;
}

/* hint */
.ajax-hinted-text-with-default {
	color: lightgray;
}

/* --------------------------------------------------------------------------- */
/* TableView FixHeaderTable */
.fht-table {
	width: auto;
}

/* --------------------------------------------------------------------------- */
/* TABLE Etudiants */

table.listeEtudiants {
	border-collapse: collapse; 
}

table.listeEtudiants td {
	padding: 2px 5px;
}

/* --------------------------------------------------------------------------- */
/* Stages ETATS */

tr:nth-child(2n) td.classEtat_INIT,
tr:nth-child(2n) td.classEtat_WVALP,
tr:nth-child(2n) td.classEtat_WVADM,
tr:nth-child(2n) td.classEtat_WEDIT,
tr:nth-child(2n) td.classEtat_WVALT,
tr:nth-child(2n) td.classEtat_WTUTE,
tr:nth-child(2n) td.classEtat_WSIGN,
tr:nth-child(2n) td.classEtat_FINAL {
	opacity: 0.9;
}

.classEtat_INIT {
	background-color: #FFFF66;
}

.classEtat_WVALP {
	background-color: #FF9933;
}

.classEtat_WTUTE {
	background-color: #FABE8F;
}

.classEtat_WVALT {
	background-color: #DA9694;
}

.classEtat_WVADM {
	background-color: #B1A0C7;
}

.classEtat_WEDIT {
	background-color: #009999;
}

.classEtat_WSIGN {
	background-color: #00FF99;
}

.classEtat_FINAL {
	background-color: #00C85A;
}

.classEtat_RESIL {
	background-color: #FF0000;
}

.classEtat_SUPPR {
	background-color: #808080;
}

td[class^="classEtat_"] span[onmouseover],
.tooltipInside span[onmouseover] {
	display: inline-block;
	width: 100%;
}

table.aideEtat td {
	padding: 2px 5px 2px 5px;
}

/* --------------------------------------------------------------------------- */
/* Stage Consultation */

div.ContainerStageListeConsultation a.expansion,
div.ContainerListeEtudiant a.expansion {
	margin-left: 20px;
	margin-bottom: 5px;
}

div.ContainerStageListeConsultation > div {
	margin-top: 5px;
}

/* --------------------------------------------------------------------------- */
/* Avenant */

span.avenantValue {
	font-weight: bold;
	font-style: italic;
	color: seagreen;
}

span.avenantOldValue {
	text-decoration: line-through;
	color: #666;
}

div.adresseAvenant,
div.absenceAvenant {
	border: 2px solid seagreen;
}

div.blocAvenant {
	margin-top: 25px;
	border-color : #DDDCFF;
}

div.blocAvenant > .subBoxTitre,
div.blocAvenant > .cktlAjaxToolbar
{
	background-color: #DDDCFF;
}

div.blocAvenant > .subBoxContent .subBox .subBoxTitre {
	background-color: #F4F9FF;
}
/* --------------------------------------------------------------------------- */
/* Images */
div.img-photo {
	width: 72px;
	height: 96px;
	background-image: url(images/nophoto.jpg);
	background-size: 64px 68px;
	background-repeat: no-repeat;
	float: left;
	margin: 0 1em 1em 0;
}

/** À la mode Twitter Bootstrap **/

[class^="icone-"], [class*=" icone-"] {
	width: 12px;
	height: 12px;
	background-size: 12px 12px;
	margin: 0;
	display: inline-block;
	margin-top: 1px;
	line-height: 12px;
	vertical-align: text-top;
	background-repeat: no-repeat;
}

.icone-help {
	background-image: url("images/help.png");
}

.icone-close {
	background-image: url("images/close.png");
}

.size-16 {
	width: 16px; 
	height: 16px; 
	background-size: 16px 16px;
}

.grayscale {
	filter: gray; /* IE6+ */
	filter: grayscale(100%); /* Current draft standard */
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+ */
	-webkit-filter: grayscale(100%); /* New WebKit */
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%); 
	-o-filter: grayscale(100%);
}
/* --------------------------------------------------------------------------- */
/* Gestion structures */

fieldset.StructAValider,
fieldset.StructAValider legend {
	border-color: orange;
}

fieldset.StructAValider legend{
	background-color: rgba(255, 165, 0, 0.5);
}

fieldset.StructAnnulees,
fieldset.StructAnnulees legend {
	border-color: lightpink;
}

fieldset.StructAnnulees legend{
	background-color: rgba(255, 182, 193, 0.5);
}

fieldset.StructValidees,
fieldset.StructValidees legend {
	border-color: lightgreen;
}

fieldset.StructValidees legend{
	background-color: rgba(144, 238, 144, 0.5);
}

#WzTtDiV {
	z-index: 999999 !important;
}

.cktlAjaxTableView_DivHeaderAndBody input[type="text"] {
  width: 100%;
  position: relative;
  left: -3px;
}
.cktlAjaxTableView_DivHeaderAndBody cktl-common-filter div input[type="text"] {
  width: 100%;
  position: relative;
}
.cktlAjaxTableView_DivHeaderAndBody .fht-tbody {
  text-align: left;
}
.cktlAjaxTableView_DivHeaderAndBody .fht-thead th,
.cktlAjaxTableView_DivHeaderAndBody .cktlAjaxSimpleTableView_Number {
  text-align: center;
}
.cktlAjaxTableView_DivHeaderAndBody th {
  text-align: center;
}