/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-size: 100%;
}

h1
{
	font-size:3em;
	margin:0 0 10px 0;
}

h2
{
	font-size:1.3em;
	font-weight:bold;
	margin:0.5em 0 0.5em 0;
	padding:0;
	display:block;
}
h3
{
	font-size:1.1em;
	font-weight:bold;
	margin:0.5em 0 0.5em 0;
	padding:0;
}
#contenu
{
	position:relative;
	width:700px;
	margin:0 auto;
	height:100%;
	font-family: Frutiger, "Frutiger Linotype", Univers, "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.intro
{
	width:100%;
	margin:5px 0 10px 0;
	padding:13px 0;
	border-top: 6px solid black;
}


.intro p
{
	margin:1em 0 0;
}

p {font-size: 1.2em;}

.2col
{
	clear:both;
	width:100%;
}

.col-gauche
{
	display:block;
	float:left;
	padding-right:15px;
	width:250px;
}

.col-droite
{
	display:block;
	float:left;
	
	border-left:1px dotted silver;
	padding-left:22px;
}

/* form*/

#form-ci input:focus, #form-ci textarea:focus
{
-webkit-box-shadow: 0px 0px 3px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 0px 3px rgba(50, 50, 50, 0.75);
box-shadow:         0px 0px 3px rgba(50, 50, 50, 0.75);
}


#form-ci textarea
{
	height:220px;
	width:500px;
	font-size:0.9em;
}



input[type="text"]:not(#recaptcha_response_field),input[type="email"], textarea,input[type="text"]:required
{
	
	border: 1px solid #bbb; 
	background:#e8e8e8;
	font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
	
}

#total-ci input[type="text"]:disabled, #form-ci  input[type="text"]:disabled
{
	color:#555;
	background:#f8f8f8;
	border: 1px solid #eee; 
}


.uneSession
{
	width:100%;
	clear:both;
	margin:0;
	padding:5px 0 5px 15px;

}

.sous-total-ci
{
	display:block;
	float:left;
	width:100%;
	padding-bottom:10px;
}

.resultat-ci
{
	margin-top:5px;
	text-align:right;
	border:0;
	font-size:120%;
}

.sous-total-ci label
{
	width:150px;
}


#boite-total-ci
{
	text-align:right;
	font-size:2em;
	/*background:white;*/
	border:0;
}

#total-ci label
{
	font-size:2em;
}

.saison
{
	padding:0;
	float:left;
	width:100%;
	clear:both;
	border-top: 6px solid black;
	border-bottom: 2px solid black;
	padding:10px 0 5px 0;
	margin-left:-15px;
}

.uneSession h3
{
	display:inline-block;
	border-top:1px solid black;
	width:685px;
	padding:7px 0 5px 15px;
	margin-left:-15px;
}

.sous-element
{
	margin:5px 0;
	padding:2px 0;
}

.listeCours, .listeStage
{
	margin:5px 0;
	padding:5px 0;
	display:block;
	float:left;
	width:100%;
	clear:both;
	display:none;
}
.listeCours
{
	border-bottom:1px solid #ddd;
}
.listeStage
{
	border-bottom:1px solid #ddd;
}

.listeCours .unCours, .listeStage .unStage
{
	display:block;
	float:left;
	width:100%;
	padding-bottom:5px;
}


.liste-details
{
	list-style:none;
}

.liste-details li:last-child
{
	margin-bottom:10px;
}
 

.inputNbCours
{
	margin-bottom:20px;
}
.champ-petit
{
	text-align:right;
	padding:2px;
	width:2em;
}

.champ-gros
{
	text-align:right;
	padding:2px;
	width:3em;
}
.champ-mini
{
	width:2em;
	height:1.5em;
	margin-left:40px;
	float:left;
	text-align:right;
	padding:4px;
}

.champ-nom
{
	width:100px;
	height:1.5em;
	margin-left:20px;
	float:left;
	padding:4px;

}

.pourcent
{
	display:inline;
	font-size:1em;
	padding-left:1px;
}


.label-nbEtu,.label-nbHeures,.label-nbGr,.label-nomCours,.label-Prep,.label-Prest,.label-NES,.label-Soins,.label-PES
{
	float:left;
	font-size:0.8em;
}

.label-nbEtuStage,.label-nejk,.label-prop,.label-nomStage
{
	float:left;
	font-size:0.8em;
}


.label-nomCours
{
	margin:0 0 0 80px;
	width:114px;
}

.label-nbHeures
{
	margin:0 0 0 26px;
	width:60px;
}

.label-nbGr
{
	margin:0 0 0 10px;
	width:60px;
}

.label-nbEtu
{
	margin: 0 0 0 14px;
}

.label-Prep
{
	margin: 0 0 0 25px;
}

.label-Prest
{
	margin: 0 0 0 8px;
}

.label-NES
{
	margin: 0 0 0 8px;
}
.label-PES
{
	margin: 0 0 0 8px;
}

.label-Soins
{
	margin: 0 0 0 8px;
}
.label-nomStage
{
	margin:0 0 0 88px;
	width:114px;
}

.label-nejk
{
	margin:0 0 0 32px;
	width:60px;
}

.label-nbEtuStage
{
	margin:0 0 0 22px;
	width:60px;
}

.label-prop
{
	margin: 0 0 0 19px;
}



.phat-label
{
	font-size:0.9em;
	font-weight: bold;
	display:block;
	float:left;
	width:180px;
	padding:3px 0 ;
	margin:0 5px 0 0px;
}

.sous-label
{
	font-size:1em;
	display:block;
	float:left;
	width:60px;
	padding:5px 0 0 0px;
	margin-left:10px;
	color:#050505;
}

h4.label-cours, h4.label-stage
{
	float:left;
	width:60px;
	color:#555;
	margin:20px 0 0 0;
	padding:0;
}

.expli
{
	font-size:1em;
	width:100%;
	margin: 15px 0;
	font-size:0.9em;
	font-weight:normal;
}



/*footer*/
footer
{	
	width:100%;
	padding-top:10px;
	clear:both;
	text-align:center;
	font-size:0.8em;

}

footer p
{
	margin:0;
	padding:0;
	font-size:1em;

}

.alt-label
{
	display:none;
}

.ligne
{
	clear:both;
	width:100%;
	border-bottom:5px solid black;
	margin-bottom:5px;
	margin-top:5px;
}

/* le ticket */
#calcul
{
	position:absolute;
	top:10px;
	right:-440px;
	width:420px;
	min-height:200px;
	/*max-height:500px;*/
	padding:0;
   
	border-style: solid;
	border-width: 19px 0px 20px;
	-moz-border-image: url(../img/etoiles_hr.png) 18 0 19 round repeat;
	-webkit-border-image: url(../img/etoiles_hr.png) 18 0 19 round repeat;
	-o-border-image: url(../img/etoiles_hr.png) 18 0 19 round repeat;
	border-image: url(../img/etoiles_hr.png) 18 0 19 fill round repeat;
	border:19px solid rgba(0,0,0,0.3)
	border-left:0;
	border-right:0;
	-moz-background-clip: padding;   
	-webkit-background-clip: padding;  
	background-clip: padding-box;     

   color:rgba(70, 76, 100, 1);
   background:rgba(253, 253, 249, 1);
   overflow:hide;
   font-family: "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
   font-size:0.9em;
 
}
   
div#calcul hr
{
	 margin:0 5px;
	 border: 0;
     height: 20px;
     background : url(../img/etoiles_hr.png) 100% 0 no-repeat;
	 -moz-opacity: 0.88;
	 opacity: 0.88;
	 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=88);
}

#calcul h2
{
	text-align:center;

}

#calcul h3
{
	font-size:1em;
	margin:0 0 0 -25px;
}

#ticketTotal
{
	font-size:1.6em;
	text-align:right;
	margin:0 5px;
	padding:0 5px;
}

#ugotserved
{
	font-size:0.85em;
	text-align:center;
}

#pourboire
{
	font-size:0.85em;
	text-align:center;
}
#compteurTotal
{
	font-size:0.85em;
	text-align:center;
	
}
/**** tooltip ***/
.tooltip
{

	position:absolute;
	border:1px solid #333;
	max-width:200px;
	background-color:#fff;
	border-radius:5px;
	border-top-left-radius: 0;
	padding:10px;
	color:#000;
	font-size:87.5%;
}

 .ui-tooltip, .arrow:after {
	background: black;
}
.ui-tooltip {
	max-width:200px; 
	font-size:0.8em;
	padding: 5px 5px;
	color: white; 
}
.arrow {
	width: 70px;
	height: 16px;
	overflow: hidden;
	position: absolute;
	left: 50%;
	margin-left: -35px;
	bottom: -16px;
}
.arrow.top {
	top: -16px;
	bottom: auto;
}
.arrow.left {
	
}
.arrow:after {
	content: "";
	position: absolute;
	left: 20px;
	top: -20px;
	width: 25px;
	height: 25px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	tranform: rotate(45deg);
}
.arrow.top:after {
	bottom: -20px;
	top: auto;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



/*version pour écran étroit*/
@media (max-width: 1560px) {
	#calcul
	{
		position:static;
		margin:0 auto;
		
	}
}

/*version mobile*/
@media (max-width: 500px) {
	#contenu, footer 
	{
		width:320px;
		margin:0 auto;
	}
		
	h1,h2,h3,h4,p,h2.saison,#total-ci label
	{
		padding-left:5px;
	}
	h1
	{
		font-size:1.5em;
	}
	h2
	{
		font-size:1.2em;
	}
	h3
	{
		font-size:1em;
	}
	h4
	{
		font-size:1em;
	}

	p
	{
		font-size:0.8em;
	}

	#total-ci label
	{
		font-size:1em;
	}

	#boite-total-ci
	{
		font-size:1em;
	}

	input[type="text"]
	{
		font-size:17px;
	}

	.col-gauche
	{
		width:80%;
	}
	.col-droite
	{
		width:80%;
		border:none;
		float:left;
		margin-left:0;
		padding-left:0;
	}

	.unCours, .unStage
	{
		width:300px;
		margin-left:20px;
		display:none;
	}

	h4.label-cours, h4.label-stage
	{
		display:block;
		clear:both;
		float:left;
		width:160px;
		margin:0 0 10px 0;
		border-bottom:1px solid #555;
	}


	.listeCours .sous-label, .listeStage .sous-label
	{
		display:block;
		width:100%:
	}

	.listeCours
	{
		border:none;
	}
	.liste-details
	{

		padding:0;
		width:140px;
	}

	.liste-details li
	{

		display:block;
		width:100%;
		height:35px;
		position:relative;
		clear:both;
	}

	.alt-label 
	{
		position:absolute;
		display:block;
		font-size:0.8em;
		left:0;
		top:5px;
	}

	.liste-details li input
	{
		display:inline;
		float:right;
		max-width:60px;

	}

	.uneSession h3
	{
		width:290px;
	}

	.label-nbEtu,.label-nbHeures,.label-nbGr,.label-nomCours, .label-nejk, .label-nbEtuStage, .label-nomStage, .label-prop
	{
		display:none;
	}

	.cache-mobile
	{
		display:none !important;
		visibility:hidden;
	}
	
	#calcul
	{
		width:320px;
		font-family: Frutiger, "Frutiger Linotype", Univers, "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	}
	
	#calcul h3
	{
		margin-left:-30px;
	}
	
		.extra
	{
		display:none;
		margin: 4px 4px 4px 4px;
	}

	.extra:nth-child(5)
	{
		display:none;
		margin: 4px 4px 4px 4px;
	}

	.extra:nth-child(6)
	{
		display:none;
		margin:4px 4px 4px 4px;
	}
	.extra:nth-child(7)
	{
		display:none;
		margin: 4px 4px 4px 4px;
	}
	.extra:nth-child(8)
	{
		display:none;
		margin: 4px 4px 4px 4px;
	}
	.extra:nth-child(9)
	{
		display:none;
		margin: 4px 4px 4px 4px;
	}

	#pourboire
	{
		font-size:0.85em;
		text-align:center;
	}
}

/* ajouts pour la session de remplacement */

#boite-plus
{
	clear:both;
	width:100%;
	border-top:5px solid black;
	margin-bottom:5px;
	margin-top:5px;
}

.bouton {
    background-color: #555555; /* nouère */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
	opacity:0.8;
	margin:15px; 
}
.bouton:hover{
	opacity:1;
}

#lesRemplacements
{
	list-style:none;
	padding:0;
	margin:0;
}

.detruitSemaine
{
	text-decoration:none;
	font-size:200%;
	position:absolute;
	left:-25px;
	padding-top:0.8em;  
	opacity:0.5;
}
.detruitSemaine:hover
{
	opacity:1;
}



/*
.lettre-icone
{
	display:inline-block;
	border: 2px solid grey;
	border-radius: 200px;
	padding:0;
	margin:0 0 0 0 ;
	width:1em;
	height:1em;
	text-decoration:none;
	text-align:center;
	color:white;
	opacity:0.7;
	font-size:1em;
	line-height:1em;
}*/

.lettre-icone
{
	position:relative;
	
	
}
 .ajoutExtra img 
{
	/*background:#555555;*/
	vertical-align:baseline;
	margin-left: 8px;
	
} 
.killExtra img
{
	vertical-align:baseline;
	margin-left: 8px;
}

.killExtra:hover, .ajoutExtra:hover, .killExtra:focus, .ajoutExtra:focus
{
	opacity:1;
}

.extra
{
	display:none;
	margin: 4px 4px 4px 4px;
}

.extra:nth-child(5)
{
	display:none;
	margin: 4px 4px 4px 20px;
}

.extra:nth-child(6)
{
	display:none;
	margin:4px 4px 4px 8px;
}
.extra:nth-child(7)
{
	display:none;
	margin: 4px 4px 4px 4px;
}
.extra:nth-child(8)
{
	display:none;
	margin: 4px 4px 4px 4px;
}
.extra:nth-child(9)
{
	display:none;
	margin: 4px 4px 4px 10px;
}

.extra-Checkbox
{
	width:1.25em;
	height:1.25em;
}

.extraLabel
{
	display:none;
}
