﻿@import url(reset.css);
@import url(PiedPage.css);

@font-face {
   font-family: 'OpenSans';
   src: url('Polices/OpenSans-Regular.eot'); /* IE9 et + */
   src: local('☺︎'),
         url('Polices/OpenSans-Regular.woff') format('woff'), /* Modern Browsers */
         url('Polices/OpenSans-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
  	      url('Polices/OpenSans-Regular.svg#svgFontName') format('svg'); /* Legacy iOS */
   font-weight: normal;
   font-style: normal;
   font-stretch: normal;
}
* {
   background-color: transparent;
   border: 0;
   font: inherit;
   font-size: 100%;
   margin: 0;
   padding: 0;
   text-decoration: none;
   outline: none;
}
ul {list-style: none;}
html, body {height:100%;}
html, body {
   background: #D8D8D8 url(../img/bg.png) repeat-x;
   height: 100%;
}
body {
   color: #666;
   font-family: OpenSans,arial,"Segoe UI",helvetica,sans-serif;
   font-size: 1em; 
}
body[class="ieOld"] {font-family: arial,"Segoe UI",helvetica,sans-serif;}
body > div {
   background-color: #fff;
   margin: auto;
   min-height: 100%;
   position: relative;
	width: 940px;
}
body, select, input, a { color: #666;}
input[type="text"], input[type="email"], input[type="password"], select, textarea {
   border: 1px solid #ccc;
   border-radius: 5px;
   box-shadow: 0 1px 0 #ccc;
   padding: 5px;
}
a {
   text-decoration: underline;
   font-size: .9em;
}
button {cursor: pointer;}

h1 {
   position: absolute;
   clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
   clip: rect(1px, 1px, 1px, 1px);
   right: 0;
}

h2 {
   font-size: 1.2em;
   font-weight: 600;
   padding: 5px 10px;
   text-shadow: 0px 1px 1px #eee;  
}
h3 {
   font-size: 1em;
   font-weight: normal;
   padding: 5px;
   text-shadow: 0px 1px 1px #eee;  
}
.texteAssistance, .h1 {
   clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
   clip: rect(1px, 1px, 1px, 1px);
   left: 0;
   position: absolute;
}
.header {
   background-color: #454545;
   margin-bottom: 5px;
}

#logo {display: inline-block;}
#logo img {
   margin: 5px 5px 0 7px;
   width: 70px;
   height: 53px;
}
#contenantEspaceBibliotheque.nonVide {
   background-color: #fff;
   color: #666;
   border: 2px solid #eee;
   margin: 0 10px 5px;
   padding: 5px;
}
#contenantEspaceSuccursale.cache {display: none;}
#contenantEspaceSuccursale.nonVide {
   background-color: #fff;
   border: 2px solid #eee;
   color: #666;
   overflow-y: auto;
   padding: 10px 5px;
   position: absolute;
   right: 10px;
   width: 475px;
}

#contenu {margin-top: 30px;}
#contenantEspaceBibliotheque.nonVide + #contenu {margin-top: 20px;}

label {padding-right: 5px;}
#menu {
   font-size: .9em;
   position:  absolute;
   top: 13px;
   right: 30px;
}
#menu input {
   border: none;
   cursor: pointer;
   color: #eee;
   margin-left: 30px;
}
#menu input:hover {
   color: #fff;
   text-decoration: underline;
}

#ctlAccesSuccursale {
   background-color: #f4f5f5;
   border: 1px solid #ddd;
   margin-left: 10px; 
   width: 410px;
}
#ctlAccesSuccursale.cache {display: none;}
#ctlAccesSuccursale > p {
   background: #0073cf url(../Img/Accueil/succursale_blanc.png) no-repeat 5px center;
   border-bottom: 2px solid #0073cf;
   color: #fff;
   font-size: 1.1em;
   margin: 0 0 15px;
   padding: 10px 25px 10px 55px;
   position: relative;
}

#ctlAccesSuccursale:not(.ie8) > p:after {
   background-color: #0073cf;
   border-bottom-left-radius: 4px;
   border-left: 2px solid #0073cf;
   border-bottom: 2px solid #0073cf;
   content: "\00a0";
   display: block;
   height: 15px;
   left: 0;
   right: 0;
   margin-left: auto;
   margin-right: auto;
   position: absolute;
   bottom: -10px;
   transform: rotate(-45deg);
   -webkit-transform: rotate(-45deg);
   -moz-transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   -o-transform: rotate(-45deg);
   width: 15px;
}

body[class="ieOld"] #ctlAccesSuccursale:not(.ie8) > p:after {display: none;}


#ctlLstSuccursales {
   max-height: 565px; /* Par précaution. Cette valeur est fixée sur l'élément par js */
   padding: 10px;
   overflow-y: auto; 
}

#ctlLstSuccursales li {
   background-color: #fff;
   border: 2px solid #eee;
}

#ctlLstSuccursales li h3 {
   background: #fff url(../Img/MenuClose_Couleur_24_6.png) no-repeat 3px center;
   cursor: pointer;
   padding: 5px 10px 5px 30px;
   overflow: hidden;
   text-shadow: none;
   white-space: nowrap;
}

#ctlLstSuccursales li.reduit {border-color: #f4f5f5;}
#ctlLstSuccursales li.reduit h3 {background: #fff url(../Img/MenuOpen_GrisFonce_24_6.png) no-repeat 3px center;}

#ctlLstSuccursales li h3 button {
   color: #0073cf;
   font-size: .9em;
   text-align: left;
   width: 100%;
}
#ctlLstSuccursales li.reduit h3 button {color: #555;}
#ctlLstSuccursales li.reduit > div {display: none;}

#ctlLstSuccursales li.reduit:hover h3 {background: #fff url(../Img/MenuOpen_Couleur_24_6.png) no-repeat 3px center;}

#ctlLstSuccursales li.reduit:hover h3 button {
   color: #0073cf; 
   text-shadow: 0px 1px 1px #eee;  
}


.entreePrincipale {padding: 5px 5px 5px 30px;}
.entreePrincipale > * {margin: 7px 0 10px;}
.entreePrincipale a {
   background: url(../img/go_Couleur_16_4.png) left 0 no-repeat;
   color: #0073cf;
   display: inline-block;
   font-size: 14px;
   line-height: 16px;
   padding: 0 0 0 18px;
   text-decoration: none;
}

.entreePrincipale .actionsEntree > a + a {margin-left : 45px;}
.entreePrincipale a:hover {text-decoration: underline;}

#ctlAccesProfessionnel.cache {display: none;}

.zoneRecherche > p {
   display: table-row;
   margin-left: 10px;
   height: 34px;
}
.zoneRecherche label {
   background-color: #fff;
   display: table-cell;
   border: 1px solid #ddd;
   border-right: 0;
   border-top-left-radius: 5px;
   border-bottom-left-radius: 5px;
   height: 100%;
   padding: 0;
   vertical-align: top;
}
.zoneRecherche label .texte {display: none;}
.zoneRecherche input[type=text] {
   border: 0;
   border-radius: 0;
   box-shadow: none;
   width: 250px;
   height: 26px;
   padding: 5px;
   vertical-align: middle;
}
.zoneRecherche button {
   display: table-cell;
   background: #0073cf url(../Img/Accueil/rechercher.png) no-repeat 0 center; 
   background-size: contain;
   border: none;
   border-radius: 0 3px 3px 0;
   height: 38px;
   width:34px;
   vertical-align: top;
}

/* Adaptation pour accueil avec succursale unique */
#ctlAccesSuccursale.unique {
   background-color: #fff;
   border: none;
}

#ctlAccesSuccursale.unique #ctlLstSuccursales {padding-top: 0;}
#ctlAccesSuccursale.unique li  {border: none;}

#ctlAccesSuccursale.unique li h3, 
#ctlAccesSuccursale.unique li h3 button {
   color: #fff;
   cursor: default;
}

#ctlAccesSuccursale.unique li h3 {
   background-color: #0073cf;
   padding-left: 15px;
} 

#ctlAccesSuccursale.unique > p {display: none;}

#ctlAccesSuccursale.unique .entreePrincipale {
   padding: 15px 5px 5px 10px;
   border: 2px solid #eee;
   border-top: none;
}

#ctlAccesSuccursale.unique .zoneRecherche {margin-bottom: 15px;}
#ctlAccesSuccursale.unique .zoneRecherche input[type=text] {width: 300px;}
#ctlAccesSuccursale.unique .zoneRecherche button {background-color: #0073cf;}

body[class="ieOld"] .zoneRecherche button {
   background-position-x: 5px;
}

.zoneRecherche button span {display: none;}
::-webkit-input-placeholder {color:#bbb;}
::-moz-placeholder {color:#bbb;}
:-ms-input-placeholder {color:#bbb;} /* ie > 9 */
.placeholder {color: #bbb;} /* ie < 10*/
.fauxPlaceholder {
   background-color: #fff; 
   position: relative;
   width: 1px;  /* Pour empêcher dépassement de la zone de saisie */
}
.fauxPlaceholder > span {
   color: #bbb;
   left: 5px;
   position: absolute;
   top: 3px;
}
.masquer {display: none;}
.fauxPlaceholder [data-placeholder] {
   background: transparent;
   position: relative;
   z-index: 10;
}


#ctlLogon {
   background-color: #0073cf; 
   border: none;
   border-radius: 4px;
   box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
   color: #fff;
   cursor: pointer;
   display: block;
   font-weight: bold;
   margin: auto; 
   padding: 6px 10px;
}
#ctlAnnuler {
   background: url('../img/ixePourFermer.png') no-repeat right center;
   border: none;
   cursor: pointer;
   color: transparent;  /* Pour dissimuler value */
   font-size: 0;  /* Pour dissimuler value */
   opacity: 0.4;
   filter:alpha(opacity=40);  /*ie8*/
   position:absolute;
   right: 2px;
   top: 2px;
   width: 24px;
   height: 24px;
}
#ctlLogon:hover {box-shadow: 1px 1px 1px rgba(0,0,0,0.4);}
#ctlAnnuler:hover {opacity: 0.8;}

.consigne {
   color: #cc6600;
   font-weight: bold;
   margin: 0 10px 5px;
}
