/* General */
form{
  padding:0 !important;
  margin:0 !important;
}
address{
  display:inline-block;
  font-style: normal;
}
input{
  font-size:16px;
}
button[type='submit']{
  display: none;
}


/* Search + Fiche  --------------------------------------------------------------------------------- */
/* Liste de résultats */
#results .nec{
  color: #0088CC;
  font-size: 0.7em;
  font-weight: normal;
  margin-right: -30px;
  text-align: right;
}
#results li{
  font-weight: normal;
}
#results .nomReserve{
  font-size: 16px;
  padding-right: 40px;
}
#results h2{
  margin:0;
  color:#336699;
}
#results address,
#results .nom,
#results .statut,
#results .dateInit,
#results .dateFin{
  font-size: 0.8em;
  font-size: 0.8em;
  white-space: normal;
  word-wrap: break-word;
}
#results address{
  margin:0.2em 0;
}
#results .nom span,
#results .statut span,
#results .dateInit span,
#results .dateFin span{
  font-weight: bold;
}
#results .end{
  font-weight: bold;
}
/* FIN Liste de résultats */

/* Search widget (list de résultats */
#search-widget{
  background: none repeat scroll 0 0 #D5E4F0;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  height: 63px;
  z-index: 1000;
  overflow: hidden;
  clear:both;
  display: none;
  border-bottom: 1px solid #ccc;
}
#search-widget .ui-btn-inner{
  font-size:12px;
}

#search-widget > div{
  font-size:12px;
  display: block;
  float:right;
}
#search-widget .text{
  position: absolute;
  font-weight: normal;
  color:#000;
  left:1em;
  top:0.5em;
  text-shadow:none;
  line-height: 16px;
  width:60%;
}
#search-widget .text .results{
  font-size:12px;
}
#search-widget .text .search{
  font-size:16px;
  margin-top:3px;
}
#search-widget .button{
  margin-right: 1em;

}

div.checkbox {
    width: 90%;
    margin: auto;
}

div.checkbox input {
    visibility: hidden;
}

div.checkbox label {
    padding-right: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

div.checkbox span.ui-btn-inner {
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}

div.checkbox span.ui-btn-text {
    font-size: 0.7em;
    line-height: 0.3;
}

/* Fin Search-widget */


/* Overrides */
/* Left Panel */
#left.ui-panel{
  overflow: hidden;
}
#left.ui-panel > form > .search{
  padding:0 0.3em;
  height:0;
  overflow: hidden;
}
#left.ui-panel .ui-input-search .search{
  border: 0 none;
  height: 20px;
  padding-left: 0;
}
#left.ui-panel.ui-panel-open .left-panel-toggle{
  display: none;
}

#left.ui-panel.ui-panel-closed .ui-panel-inner > *{
  display: none;
}
#left.ui-panel.ui-panel-closed .ui-panel-inner > .icon{
  display: block;
  position: absolute;
  right: 2%;
  top: 8px;
}
/* Fin Left panel */


/* Right panel */
#right .ui-panel-inner{
  padding:0;
}

/* Menu de sections */
#right #section ul{
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top:4.4em;
  border-bottom: 1px solid #CCC;
}
#right #section ul li{
  list-style: none;
  padding: 0;
  margin: 0;
  padding:1em;
  color: #0088CC;
}
#right #section ul li.current{
  background: #fff;
  color:#000;
}
/* Fin Menu de sections */

/* Logo Registraire en mode paysage */
.logo-overlay{
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index:20;
  background:#F9F9F9;
}
.logo-overlay .container{
  width:100%;
  height:100%;
  position: relative;
  background: linear-gradient(#F9F9F9, #EEEEEE) repeat scroll 0 0 #F9F9F9;
}
.logo-overlay .logo{  
  height: 240px;
  left: 8px;
  margin-top: -120px;
  position: absolute;
  top: 35em;
  width: 520px;
}

.logo svg{
  height: 240px;
  width: 520px;
}
.ui-panel-content-wrap-closed .logo-overlay .logo{
  padding-left:2em;
}
/* Fin Logo en mode paysage */

/* No panels */
#search .ui-panel-content-wrap-closed{
  margin-left: 4%;
}
#right.ui-panel-closed{
  border-left:1px solid #ccc;
}
.ui-panel-content-wrap{
  width:100%;
}
/* Fin No panels */


/* Fiche de résultats */
#search #fiche{
  overflow-y:scroll;
}

#fiche{
  font-family: Arial;
  font-weight: normal;
  font-size: 12px;
}
#fiche .date{
  margin-left:1em;
}
#fiche .content{
  padding-left: 1em;
  padding-right: 1em;
}
#fiche h1{
  font-size:1.7em;
  color: #73A832;
  font-weight: normal;
  margin-left: 0.6em;
}
#fiche h2{
  font-size: 1.5em;
  color: #E17B0E;
  font-weight: bold;
}
#fiche h3{
  margin-left:-1em;
  border-bottom: 1px solid #CCCCCC;
  font-size: 1.3em;
  padding-left: 1em;
}
#fiche h4{
  font-size: 1.1em;
  margin-bottom: 0;
}
#fiche .label{
  display: inline-block;
  color: #797979;
  font-style: italic;
  width: 30%;
  text-align: right;
  margin-right: 1em;
  vertical-align: top;
}
#fiche .value{
  display: inline-block;
  width: 60%;
}
#fiche .value.nolabel{
  display: block;
  width: 100%;
}
#fiche .administrateur,
#fiche .actionnaire,
#fiche .actionnairetier,
#fiche .adminautrui,
#fiche .benefulti,
#fiche .fondepouvoir,
#fiche .etablissement,
#fiche .personne,
#fiche .nom,
#fiche .Groupefusions{
  border-bottom: 1px dashed #ccc;
  margin-bottom: 0.75em;
}
#fiche ul .administrateur:last-child,
#fiche ul .actionnaire:last-child,
#fiche ul .actionnairetier:last-child,
#fiche ul .adminautrui:last-child,
#fiche ul .benefulti:last-child,
#fiche ul .fondepouvoir:last-child,
#fiche ul .etablissement:last-child,
#fiche ul .personne:last-child,
#fiche ul .nom:last-child{
  border-bottom: 0;
}
#fiche ul{
  list-style: none;
  padding:0;
}

/* permet le toggle des historiques*/
#fiche .historique a{
  font-weight: bold;
}
#fiche .historique a span{
  display: inline-block;
  text-indent: -10000px;
}
#fiche .historique.closed .ui-icon-minus,
#fiche .historique.opened .ui-icon-plus{
  display:none;
}
#fiche .historique.closed ul{
  display:none;
}


/* Établissements */
#fiche .etablissement{
  margin-bottom: 1em;
}
#fiche .etablissement h4{
  font-weight: bold;
  margin:0;
}
#fiche .etablissement address{
  margin-bottom: 0.5em;
}
#fiche .activites{
  padding-left: 1em;
  padding-bottom: 1em;
}
#fiche .activites a{
  font-weight: bold;
}
#fiche .activites a span{
  display: inline-block;
  text-indent: -10000px;
}
#fiche .activites.closed .ui-icon-minus,
#fiche .activites.opened .ui-icon-plus{
  display:none;
}
#fiche .activites .label{
  width:10em;
  text-align: left;
}
#fiche .activites ul{
  list-style: square;
  padding-left:1em;
}
#fiche .activites.closed ul{
  display:none;
}
#fiche .activites li{
  color:#50B8DB;
  padding-bottom: 0.5em;
}
#fiche .activites div{
  color:#000;
}
#fiche .activites li > div{
  line-height: 1.2em;
}
#fiche .activites li div.title{
  line-height: 1.7em;
}
#fiche .fusions{
  text-align: left;
  padding:0;
}
#fiche .fusions h4{
  margin-bottom: 0;
}
#fiche .fusions li{
  list-style: none;
}
#fiche .fusions li .label{
  width:30%;
}
#fiche h3.fce{
  display:none;
}
/* Fin établissements */

/* Documents */
#fiche table{
  width:100%;
}
#fiche table tr:nth-child(odd)   { background-color:#E4ECEF; }
#fiche table tr:nth-child(even)    { background-color:#FFF; }

#fiche table tr:first-child{
  border:1px solid #7498A6;
  background-color: #A5C7DA;
  color:#fff;
  text-shadow: black 0.1em 0.1em 0.2em;
}
#fiche table tr th,
#fiche table tr td{
  padding: 0.5em 1em;
  font-weight: normal;
  min-width: 9em;
}
#fiche table tr th,
#fiche table tr td{
  text-align: center;
}
#fiche table tr th:first-child,
#fiche table tr td:first-child{
  border-right:1px solid #fff;
  text-align: left;
}
/* Fin documents */
#fiche .nom h4{
  margin-bottom: 0;
}
#fiche .nom .statut{
  font-weight: bold;
}
#fiche .nom .langues{
  margin-top:1em;
}
#fiche .nom ul{
  margin:0;
  list-style: none;
}


/* --------------------------------------------------------------------------------------------------------*/
/* Splash Page */
#splash{
  overflow: visible;
  clear: both;
}
#splash .logo,
#expired .logo{
  margin: 0 auto;
  padding-bottom: 25%;
  position: relative;
  width: 80%;
}
#splash .logo svg,
#expired .logo svg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#outer{
  position: relative;
}

#middle{
  width:60%;
  margin:0 auto;
}
#inner{
  width:100%;
  height:100%;
}

/* Recherhce avancée */
.advanced-search-container{
  overflow: hidden;
}

.advanced-search{
  display: none;
  clear: both;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 50%;
}

.search-toggle-container{
  text-align: right;
  clear: both;
  position: relative;
  overflow: hidden;
}
.search-toggle-container a{
  display: inline-block;
  padding-right:30px;
  position: relative;
  line-height: 24px;
}
.search-toggle-container .icon{
  display: inline-block;
  top:50%;
  margin-top:-8px;
  position: absolute;
  right: 0
}
/* Fin recherche avancée */

/* Bouton rechercher */
.relative{
  display: inline-block;
  left: 50%;
  margin: 0 auto 0 -100px;
  position: relative;
  text-align: center;
  width: 200px;
}
/* Fin bouton rechercher */

/* Bas de page */
.access-desktop{
  margin:5em auto 0 auto ;
  text-align: center;
  font-size: 0.9em;
}
.access-desktop .alert{
  text-align: left;
}
.access-desktop > div{
  position: relative;
  margin-bottom: 2em;
}
.access-desktop .aide{
  cursor: pointer;
}
.access-desktop div:first-child .icon{
  position: absolute;
  display: inline-block;
  top:50%;
  margin-top:-9px;
  left: 0
}
.access-desktop div:first-child a{
  padding-left: 30px;
  position: relative;
  line-height: 24px;
  display: inline-block;
}

/* Boite d'aide a la recherche */
#info.alert{
  border-color:#999;
  background-color:#eaeaea;
  color:#000;
}
#info.alert h4{
  color:#000;
}
#info ul h4{
  font-size:0.95em;
}
#info ul li:first-child{
  list-style: none;
  margin-left: -14px
}
/* FIn aide a la recherche */
/* Fin bas de page */

.alert.alert-error{
	display:none;
}


/* jq-mobile override */
.advanced-search .ui-controlgroup-label{
  width:100%;
}
.advanced-search .ui-controlgroup-label legend{
  font-size:14px;
  border:0;
  margin-bottom: 0;
}
.advanced-search .ui-radio .ui-btn-text{
  font-size: 13px;
  font-weight: normal;
}
.advanced-search .ui-field-contain .ui-controlgroup-controls {
  width: 100%;
}

/*empêcher la barre de navigation de disparaître*/
.ui-mobile-viewport-transitioning, .ui-mobile-viewport-transitioning .ui-page {
    overflow: visible;
}

.ui-panel-position-right.ui-panel-display-overlay.ui-panel-closed{
  box-shadow: none;
}

.row-fluid{
  padding-top:63px;
}

#expired{
  height: 100%;
  left: 0;
  padding: 2em 0 0;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 2000;
}

#nav{
  display:none;
  position: fixed;
  right: -30px;
  top: 4.4em;
  transition:All 1s ease;
    -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
#nav > div{
  background: none repeat scroll 0 0 #FFFFFF;
  border: 1px solid #C2C2C2;
  border-collapse: collapse;
  height: 50px;
  margin-bottom: -1px;
  width: 50px;
  position: relative;
}

#nav .icon {
  height: 24px;
  left: 50%;
  margin-left: -13px;
  margin-top: -13px;
  position: absolute;
  top: 50%;
  width: 24px;
}
#nav .prev .icon{
   width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 15px 26.0px 15px;
  border-color: transparent transparent #0088CC transparent;
}
#nav .next .icon{
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 26px 15px 0 15px;
  border-color: #0088CC transparent transparent transparent;
}


/* iPads (landscape) ----------- */
@media only screen and (min-width : 800px) {
  #results .ui-responsive-panel{
    width:100%;
  }
  #search #fiche{
    padding: 30px 30px 30px 45px;
    float:left;
    width:62%;
  }
  #search #right{
    width:28%;
    position: fixed;
    left: 68%;
    top: 0;
  }
  #search #left.ui-panel .advanced-search{
    width:85%;
  }
  #search .ui-content{
    padding:0;
  }
  .ui-panel-closed #right #section{
    display:none;
  }
  #right #section ul {
    border:1px solid #ccc;
    border-top:0;
   
  }

}


/* Portrait TABLET */
@media (min-width:480px) and (max-width:800px){
  .ui-panel-content-wrap-closed .ui-content{
    width: 92%;
  }
  #splash .advanced-search{
    width:80%;
  }
  #middle{
    width:80%;
  }
  .ui-panel.ui-panel-position-left.ui-panel-open{
    width:50%;
  }
  #search #left.ui-panel .advanced-search{
    width:85%;
  }
  #right{
    display: none;
  }
  #nav{
    display: block;
    -webkit-transform: translate3d(-62px,0,0);
    -moz-transform: translate3d(-62px,0,0);
    transform: translate3d(-62px,0,0);
  }

  #fiche #right{
    display: block;
  }


  .logo svg {
      height: 60%;
      width: 60%;
  }
}

@media (max-width:600px){
  #search .ui-panel-content-wrap-closed{
    margin-left: 0;
  }
}
@media (min-width:600px){
   /* Panels */
 .ui-panel {
    width: 50%;
  }
  .ui-panel-closed{
  }
  .ui-panel-position-left {
    left: -50%;
  }
  /* animated: panel left (for overlay and push) */
  .ui-panel-animate.ui-panel-position-left.ui-panel-display-overlay,
  .ui-panel-animate.ui-panel-position-left.ui-panel-display-push {
    -webkit-transform: translate3d(-90%,0,0);
    -moz-transform: translate3d(-90%,0,0);
    transform: translate3d(-90%,0,0);
  }
  
  /* positioning: content wrap, fixed toolbars and dismiss */
  /* panel left open */
  .ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open,
  .ui-panel-content-wrap-position-left.ui-panel-content-wrap-open,
  .ui-panel-dismiss-position-left.ui-panel-dismiss-open {
    left: 50%;
    right: -50%;
  }


  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push.ui-panel-content-fixed-toolbar-position-left,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal.ui-panel-content-fixed-toolbar-position-left,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-left,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-left {
    margin-right: 50%;
  }

  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal {
    width: auto;  
  }
  .ui-responsive-panel .ui-panel-dismiss-display-push {
    display: none;
  } 
}


/* Landscape TABLET */
@media (min-width:800px){
  

  #splash .advanced-search{
    width:50%;
  }
  #middle{
    width:60%;
  }

  /* Panels */
  #left.ui-panel {
    width:45%;
  }
}







/* Landscape PHONE */
@media (min-width:320px) and (max-width:480px){
  
  #middle{
    width:96%;

  }
  #splash .advanced-search,
  #search .advanced-search{
    width:90%;
  }
  #search #fiche{
    display:none;
  }
  #search .ui-panel-content-wrap-closed #fiche{
    display: block;
  }
  #fiche .label,
  #fiche .fusions li .label{
    display:block;
    width:100%;
    text-align: left;
  }
  #fiche .activites .label{
    display:inline-block;
  }
}


#right.ui-panel{
   z-index: 2000;
}


/* Portrait PHONE */
@media (min-width:0px) and (max-width:320px){
  .ui-page {
    width:100%;
  }
  #middle{
   width:96%;

  }
  #splash .advanced-search,
  #search .advanced-search{
    width:90%;
  }
  #search #fiche{
    display:none;
  }
  #search .ui-panel-content-wrap-closed #fiche{
    display: block;
  }
  #fiche .label,
  #fiche .fusions li .label{
    display:block;
    width:100%;
    text-align: left;
  }
  #fiche .activites .label{
    display:inline-block;
  }
}

/* animated: panel right (for overlay and push) */
.ui-panel-animate.ui-panel-position-right.ui-panel-display-overlay,
.ui-panel-animate.ui-panel-position-right.ui-panel-display-push {
  right: 0;
  -webkit-transform: translate3d(800px,0,0);
  -moz-transform: translate3d(800px,0,0);
  transform: translate3d(800px,0,0);
}

@media (min-width:0px) and (max-width:800px){
  #right{
    width:50%;
  }
 

  /* panel right open */
  .ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open,
  .ui-panel-content-wrap-position-right.ui-panel-content-wrap-open,
  .ui-panel-dismiss-position-right.ui-panel-dismiss-open {
    left: -50%;
    right: 50%;
  }
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push.ui-panel-content-fixed-toolbar-position-right,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal.ui-panel-content-fixed-toolbar-position-right,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-right,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-right {
    margin-left: 50%;
  }
  /* animated: panel right (for overlay and push) */
  .ui-panel-animate.ui-panel-position-right.ui-panel-display-overlay,
  .ui-panel-animate.ui-panel-position-right.ui-panel-display-push {
    right: 0;
    -webkit-transform: translate3d(100%,0,0);
    -moz-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
  }
}
@media (min-width:0px) and (max-width:400px){
  #right{
    width:200px;
  }
  /* panel right open */
  .ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open,
  .ui-panel-content-wrap-position-right.ui-panel-content-wrap-open,
  .ui-panel-dismiss-position-right.ui-panel-dismiss-open {
    left: -200px;
    right: 200px;
  }
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push.ui-panel-content-fixed-toolbar-position-right,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal.ui-panel-content-fixed-toolbar-position-right,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-right,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-right {
    margin-left: 200px;
  }
  /* animated: panel right (for overlay and push) */
  .ui-panel-animate.ui-panel-position-right.ui-panel-display-overlay,
  .ui-panel-animate.ui-panel-position-right.ui-panel-display-push {
    right: 0;
    -webkit-transform: translate3d(200px,0,0);
    -moz-transform: translate3d(200px,0,0);
    transform: translate3d(200px,0,0);
  }
}



@media only screen and (max-width:900px){
  
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 767px) {
  
}

@media only screen and (orientation:portrait){
  }






/* wrap on wide viewports once open */
@media (min-width:800px){
  .ui-panel {
    width: 45%;
  }
  .ui-panel-closed{
  }
  .ui-panel-position-left {
    left: -45%;
  }
  /* animated: panel left (for overlay and push) */
  .ui-panel-animate.ui-panel-position-left.ui-panel-display-overlay,
  .ui-panel-animate.ui-panel-position-left.ui-panel-display-push {
    -webkit-transform: translate3d(-90%,0,0);
    -moz-transform: translate3d(-90%,0,0);
    transform: translate3d(-90%,0,0);
  }
 
  /* positioning: content wrap, fixed toolbars and dismiss */
  /* panel left open */
  .ui-panel-content-fixed-toolbar-position-left.ui-panel-content-fixed-toolbar-open,
  .ui-panel-content-wrap-position-left.ui-panel-content-wrap-open,
  .ui-panel-dismiss-position-left.ui-panel-dismiss-open {
    left: 45%;
    right: -45%;
  }

  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push.ui-panel-content-fixed-toolbar-position-left,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal.ui-panel-content-fixed-toolbar-position-left,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-push.ui-panel-content-wrap-position-left,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-wrap-display-reveal.ui-panel-content-wrap-position-left {
    margin-right: 45%;
  }

  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-push,
  .ui-responsive-panel.ui-page-panel-open .ui-panel-content-fixed-toolbar-display-reveal {
    width: auto;  
  }
  .ui-responsive-panel .ui-panel-dismiss-display-push {
    display: none;
  } 
}