
/*
 * BOOTSTRAP
 */
.row { margin:0; }

/*
 * LISTE
 */
.post-content ul li {
    margin-left:15px;
}


/* FORM */
/* CHECKBOX */
[form-type="checkbox"] .checkboxes {
    display:inline-block;
}
[form-type="checkbox"] .checkbox-inline input[type="checkbox"]{
    position: static;
    width:auto;
    margin: 0px 5px auto auto;
    display:inline-block;
    vertical-align: middle;
}

/*
 * ACCORDEONS
 */
h1.accordeon-trigger > span,
h2.accordeon-trigger > span {
    display:inline-block;
    float:right;
    margin-right:10px;
    transition: transform 1s ease;
}
h1.accordeon-trigger.hclose > span,
h2.accordeon-trigger.hclose > span {
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
}
.accordeon-trigger:hover { cursor: pointer; }
.accordeon { transition: height 1s ease, padding 1s ease; }
.accordeon.hclose { height:0px !important; padding:0px !important; overflow:hidden !important; }

[accordeon],
[accordeon-fade]{
    cursor:pointer;
}
[accordeon] + * {
    overflow:hidden;
    transition: all 1s ease;
}
[accordeon-fade] {
    position: relative;
}
[accordeon-fade] > span.fa.icone-ouverture-fermeture {
    display:block;
    position:absolute;
    right:10px;
    top:50%;
    transform: translateY(-50%) rotate(0deg);
    transition: all 1s ease;
}
[accordeon-fade].accordeon-ouvert > span.fa.icone-ouverture-fermeture {
    transform: translateY(-50%) rotate(-90deg);
}
[accordeon-fade] + * { display:none; }



/*
 * LOADING
 */
#happ-loading {
    
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:none;
    text-align:center;
    
    background-color: rgba(0,0,0,0.8);
    
    z-index:100000;
    
}
#happ-loading > div {
    
    background:#fff;
    padding:20px;
    border-radius: 20px;
    position:fixed;
    left:50%;
    top:50%;
    transform: translateX(-50%) translateY(-50%);
    
}
#happ-loading > div > img {
    margin:20px;
}

/*
 * POPUP
 */
#popup,
#popup-admin,
.popup-upload {
    background: rgba(0,0,0,0.9);
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    z-index:100000;
    display:none;
}
#popup > div.contenu,
#popup-admin > div.contenu,
.popup-upload > div.contenu{
    background:white;
    position: absolute;
    padding:15px;
    top:15%;
    bottom:15%;
    right:15%;
    left:15%;
    overflow-x: auto;
    overflow-y: auto;
}
#popup > div.fermer-popup,
#popup-admin > div.fermer-popup ,
.popup-upload > div.fermer-popup{
    background:#eee;
    display:inline-block;
    padding:10px;
    z-index:100001;
    right:0;
    top:0;
    position:fixed;
    cursor: pointer;
}
#popup.xs > div.contenu {
    top:35%;
    bottom:35%;
    right:35%;
    left:35%;
}
#popup.s > div.contenu {
    top:25%;
    bottom:25%;
    right:25%;
    left:25%;
}
#popup.l > div.contenu {
    top:10%;
    bottom:10%;
    right:10%;
    left:10%;
}
#popup.xl > div.contenu {
    top:5%;
    bottom:5%;
    right:5%;
    left:5%;
}
#popup.xxl > div.contenu,
#popup.big > div.contenu,
#popup.screen > div.contenu{
    top: 0;
    bottom:0;
    left: 0;
    right:0;
}

/*
 * NOTIF
 */
#notif {
    position: fixed;
    top:0;
    left:0;
    right:0;
    z-index:100000;
    text-align:center;
    display:none;
    overflow:hidden;
    height:0px;
    padding-bottom:0px;
    opacity:0;
    transition: opacity 1s ease, padding 1s ease;
}
#notif.visible {
    display:block;
    height:auto;
    padding-bottom:10px;
    opacity:1;
}
#notif .contenu {
    width:800px;
    margin: auto;
    padding:15px;
    background:#fff;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2), 0 0 5px #000;
    border-radius: 0 0 10px 10px;
}
#notif .fermer-notif {
    color:#fff;
    background:#000;
    box-shadow: inset 0 0 5px rgba(255,255,255,0.3), 0 5px 5px #000;
    border-radius: 0 0 10px 10px;
    height:30px;
    line-height:30px;
    text-transform: uppercase;
    display:inline-block;
    width:100px;
    text-align: center;
}
#notif .fermer-notif:hover {
    cursor: pointer;
}


/*
 * Elements de formulaires
 */
/* INPUT FILE */
input[type="file"] {
    /*padding:0 0 0 10px;*/
    height:auto;
}


/* INPUT-LISTE */
.input-liste span.ajouter-element {
    font-size:20px;
    cursor:pointer;
}
.input-liste ul {
    display:block;
    margin: 0 0 15px 0;
    border-radius: 10px;
    border:1px solid #ddd;
    padding:10px;
    background-color:#f5f5f5;
}
.input-liste.ajouter ul {
    border-radius:0 0 10px 10px;
}
.input-liste ul li {
    display:block;
    padding:5px;
    border-radius:10px;
    border:1px solid #ddd;
    background-color:#fff;
    color:#333;
    margin-bottom:5px;
    text-align:center;
}
.input-liste ul li:last-child {
    margin-bottom:0px;
}
.input-liste ul li.off {
    background: #999;
    color: rgba(0, 0, 0, 0.25);
}
.input-liste ul li > span {
    display:inline-block;
    float:right;
    cursor:pointer;
    margin-left:3px;
    transition: all 1s ease;
}
.input-liste ul li > span.supprimer-element {
    color:rgba(255,0,0,0.6);
    font-size:20px;
}
.input-liste ul li > span.supprimer-element:hover {
    color:rgba(255,0,0,1);
}
.input-liste ul li > span.monter-element,
.input-liste ul li > span.descendre-element {
    color:rgba(120,120,120,0.6);
    font-size:18px;
    margin-top:1px;
}
.input-liste ul li > span.monter-element:hover,
.input-liste ul li > span.descendre-element:hover,
.input-liste ul li > span.desactiver-element:hover {
    color:rgba(120,120,120,1);
    text-shadow: 0 0 2px #eee;
}
.input-liste ul li > span.desactiver-element {
    color:rgba(120,120,120,0.6);
    margin-top:3px;
}

/* RADIO BUTTONS */
.btn-group[data-toggle="buttons"] {
    margin-left:10px;
}
.btn-group[data-toggle="buttons"] label.btn.btn-radio {
    background-color: #333;
    border-color: #555;
    color: rgba(255,255,255,0.65);
    text-shadow: 0 0 5px black;
    box-shadow: inset 0 0 3px rgba(255,255,255,0.5);
}
.btn-group[data-toggle="buttons"] label.btn.btn-radio.active {
    background-color: #eee;
    border-color: #555;
    color: #000;
    text-shadow: 0 0 5px white;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.45);
}


/*
 * PLUGINS JQUERY
 */
/* SELECT 2 */
.select2-container {
  z-index: 10000000;
}


/*
 * MOD_HAPP_CONNEXION
 */
#login-form-bloc {
    background:#fff;
    padding:20px;
    border-radius:22px;
    margin-top:15px;
    margin-bottom:15px;
    margin-left: 50%;
    transform: translateX(-50%);
    display:inline-block;
    box-shadow: 0 0 10px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.25);
    transition: margin-left 1s ease;
    color:#555;
    font-family : Arial, sans-serif;
}
#login-form-bloc p {
    text-align : center;
}
#login-form-bloc label {
    color: #555;
    display:block;
}
#login-form-bloc input {
    background:#fff;
    color: #555;
    padding:5px;
    text-align: center;
}
#login-form-bloc form#loginform {
  width: 100%;
}
form#loginform input {
    text-align: center;
    padding:10px;
    font-size:16px;
}
form#loginform .login-remember input {
    margin-right:10px;
    display:inline-block;
    width:auto;
}
#login-form-bloc input[type="submit"],
#login-form-bloc .btn#recevoir-nouveau-password {
    background:#97bf0d;
    color: #fff;
    border-radius:5px;
    border: 1px solid #617d00;
    box-shadow: inset 0 0 5px rgba(255,255,255,0.35);
}
#login-form-bloc input[type="submit"]:hover,
#login-form-bloc .btn#recevoir-nouveau-password:hover {
    box-shadow: inset 0 0 5px rgba(0,0,0,0.35);
}

#jai-oublie-password {
    background:rgba(0,0,0,0.05);
    padding:10px;
    border-radius:20px;
    margin-top:10px;
}
#jai-oublie-password .infos {
    margin-top:10px;
    padding:10px 0;
}
#jai-oublie-password .alert{
    margin:15px 0;
}
#jai-oublie-password #choix-type-mdp .btn-group[data-toggle="buttons"] {
    margin-left: 0px;
    width:100%;
}
#jai-oublie-password #choix-type-mdp label.btn-radio {
    width:50%;
    padding: 5px;
    text-align: center;
    font-size:12px;
    color:#888;
}
#jai-oublie-password #choix-type-mdp label.btn-radio.active {
    color:#000;
}
#jai-oublie-password #choix-type-mdp label.btn-radio > input {
    padding:0px;
    margin:0px;
    width:auto;
}
#jai-oublie-password #choix-type-mdp label.btn-radio:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}
#jai-oublie-password #choix-type-mdp label.btn-radio {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/*
 * Explorer
 */
.explorer-toolbar > div,
.explorer-sidebar > div,
.explorer-contenu-dossier > div {
    padding:15px;
}
.hexplorer .explorer-fichier > .vignette {
    display: inline-block;
    height:100px;
    width:100px;
    line-height: 100px;
    text-align: center;
    background-color:#e7e7e7;
}
.hexplorer .explorer-fichier > .vignette > img {
  display: block;
  margin: 50% auto auto;
  max-height: 100px;
  max-width: 100px;
  transform: translateY(-50%);
  vertical-align: top;
}
.hexplorer .home {
    background-color :transparent !important;
}
/* TOOLBAR */
.explorer-toolbar {
    border : 1px solid #e7e7e7;
    margin-bottom:10px;
}
.explorer-toolbar btn {
    transition: opacity 1s ease;
    opacity:1;
}
.explorer-toolbar btn.hide {
    padding:0;
    opacity:0;
}
/* SIDEBAR */
.explorer-sidebar {
    border : 1px solid #e5e5e5;
    background-color: #f5f5f5;
}
.explorer-sidebar .btn {
    display : block;
    margin : 10px 0;
}
/* CONTENU DOSSIER */
.explorer-contenu-dossier ul.contenu-dossier {
    width: 100%;
}
.explorer-contenu-dossier ul.contenu-dossier > li {
    display:inline-block;
    text-align: center;
    /*margin: 0 5px;*/
    position:relative;
    cursor: pointer;
    width:16.5%;
    font-size:11px;
}
.explorer-contenu-dossier ul.contenu-dossier > li.display-none {
    display:none;
}
.explorer-contenu-dossier ul.contenu-dossier > li > * {
    width:100%;
}
.explorer-contenu-dossier ul.contenu-dossier > li > div.icone,
.explorer-contenu-dossier ul.contenu-dossier > li > div.check {
    height:100px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier > div.icone {
    background-image: url('/wp-content/themes/htheme/happ/modules/mod_happ/images/explorer_dossier.svg');
}
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier > div.icone.home {
    background-image: url('/wp-content/themes/htheme/happ/modules/mod_happ/images/explorer_dossier_home.svg');
}
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier > div.icone.precedent {
    background-image: url('/wp-content/themes/htheme/happ/modules/mod_happ/images/explorer_dossier_precedent.svg');
}
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-fichier > div.icone {
    background-image: url('/wp-content/themes/htheme/happ/modules/mod_happ/images/explorer_fichier.svg');
}
.explorer-contenu-dossier ul.contenu-dossier > li > div.check {
    background-image: url('/wp-content/themes/htheme/happ/modules/mod_happ/images/explorer_check.svg');
}
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier.home > div.check,
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier.home > div.check.on {
    background-image: url('/wp-content/themes/htheme/happ/modules/mod_happ/images/explorer_dossier_home_check.svg');
}
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier.home:hover > div.check,
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier.home:hover > div.check.on {
    opacity : 1;
}
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier.precedent > div.check,
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier.precedent > div.check.on {
    background-image: url('/wp-content/themes/htheme/happ/modules/mod_happ/images/explorer_dossier_precedent_check.svg');
}
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier.precedent:hover > div.check,
.explorer-contenu-dossier ul.contenu-dossier > li.explorer-dossier.precedent:hover > div.check.on {
    opacity : 1;
}
.explorer-contenu-dossier ul.contenu-dossier > li > div.check {
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:100px;
    opacity : 0;
    transition: opacity 1s ease;
}
.explorer-contenu-dossier ul.contenu-dossier > li > div.check.on {
    opacity : 1;
}
.explorer-contenu-dossier ul.contenu-dossier > li > span {
    display:inline-block;
}

/*
 * Popup upload
 */
.popup-upload {
    background: rgba(0,0,0,0.9);
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    z-index:90000;
    display:none;
}

.popup-upload .miniature{
    max-width:180px;
}

.popup-upload {
    display:none;
}

.popup-upload .contenu{
    position:relative;
}

.popup-upload .contenu .drop {
    position: absolute;
    top: 50%;
    text-align: center;
    width: 100%;
    font-size:20px;
}

.popup-upload .contenu .drop .fa {
    font-size:60px;
}

.popup-upload .form-control{
    margin-bottom:15px;
}


/*
 * Carousel
 */
.bx-wrapper { background: none; border: none; box-shadow: none; }

.carousel {
    position: relative;
}
.carousel.x[data-hcomp="carousel"] {
    overflow : hidden;
    width : 100%;
    position : relative;
}
.carousel.x[data-hcomp="carousel"] > .fleche {
    position : absolute;
    top : 0;
    bottom : 0;
    width : 80px;
    text-align: center;
    background-color:rgba(0,0,0,0.5);
    cursor:pointer;
    overflow:hidden;
    transition: all 1.5s ease;
    height:100%;
}
.carousel.x[data-hcomp="carousel"][data-fleches="on"] > .fleche {
    width : 80px;
}
.carousel.x[data-hcomp="carousel"][data-fleches="off"] > .fleche {
    width : 0px;
}
.carousel.x[data-hcomp="carousel"] > .fleche > span {
    display:block;
    top:50%;
    transform: translateY(-50%);
    font-size:40px;
    color:rgba(255,255,255,0.5);
    text-shadow: 0 0 0 #000;
    transition: all 1s ease;
}
.carousel.x[data-hcomp="carousel"] > .fleche:hover {
    background-color:rgba(0,0,0,1);
}
.carousel.x[data-hcomp="carousel"] > .fleche:hover > span {
    color:rgba(255,255,255,1);
    text-shadow: 0 0 5px #000;
}
.carousel.x[data-hcomp="carousel"] > .fleche.gauche {
    left : 0;
}
.carousel.x[data-hcomp="carousel"] > .fleche.droite {
    right : 0;
}
.carousel.x[data-hcomp="carousel"] .carousel-conteneur {
    position:absolute;
    top:0px;
    left:0px;
    transition: left 1s ease;
}
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="1000"] .carousel-conteneur { transition: left 1s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="2000"] .carousel-conteneur { transition: left 2s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="3000"] .carousel-conteneur { transition: left 3s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="4000"] .carousel-conteneur { transition: left 4s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="5000"] .carousel-conteneur { transition: left 5s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="6000"] .carousel-conteneur { transition: left 6s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="7000"] .carousel-conteneur { transition: left 7s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="8000"] .carousel-conteneur { transition: left 8s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="9000"] .carousel-conteneur { transition: left 9s ease; }
.carousel.x[data-hcomp="carousel"][data-transition-millisecondes="10000"] .carousel-conteneur { transition: left 10s ease; }

.carousel.x[data-hcomp="carousel"] .carousel-conteneur .panneau {
    position:relative;
    float:left;
}
.carousel.x[data-hcomp="carousel"] .carousel-conteneur .panneau .contenu-panneau-carousel {
    text-align: center;
}
.carousel.x[data-hcomp="carousel"] .carousel-description {
  bottom: 20px;
  color: #fff;
  left: 15%;
  padding-bottom: 20px;
  padding-top: 20px;
  position: absolute;
  right: 15%;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

/* Puces */
.carousel.x[data-hcomp="carousel"] ol.carousel-puces {
  bottom: 10px;
  left: 50%;
  list-style: outside none none;
  margin-left: -30%;
  padding-left: 0;
  position: absolute;
  text-align: center;
  width: 60%;
  z-index: 15;
}


.carousel.x[data-hcomp="carousel"][data-puces="off"] ol.carousel-puces{
    display:none;    
}

.carousel.x[data-hcomp="carousel"] ol.carousel-puces li {
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #fff;
  border-radius: 10px;
  cursor: pointer;
  display: inline-block;
  height: 10px;
  margin: 1px;
  text-indent: -999px;
  width: 10px;
  transition: background-color 1s ease, border 1s ease;
}
.carousel.x[data-hcomp="carousel"] ol.carousel-puces li.actif {
  background-color: #fff;
  height: 12px;
  margin: 0;
  width: 12px;
}