@font-face{
  font-family:'ArialNovaBold';
  src: url(arial-nova-cond-bold.ttf),
       url(arial-nova-cond-bold.woff);
}

@font-face{
  font-family:'ArialNovaCond';
  src: url(arial-nova-cond.ttf);
}

html,body {
    height: 100%;
}

.newfonts {
  font-family: 'ArialNovaCond', sans-serif !important;
}

/*---style loi de reglement---*/
.body-ldr{
	padding:20px;
}
.ldr ul {
  text-align: left;
}
.transition, p, ul li i:before, ul li i:after {
  transition: all 0.3s;
}

.ldr .no-select, .ldr h2 {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

.ldr h1 {
  color: #000;
  margin-bottom: 30px;
  margin-top: 0;
}

.ldr h2 {
  color: #cc071e;
  font-size: 14px!important;
  line-height: 16px;
  text-align: left;
  padding: 15px 40px 0;
  text-transform: none;
  font-weight: 500;
  /*letter-spacing: 1px;*/
  display: block;
  margin: 0;
  cursor: pointer;
  transition: .2s;
}

.ldr table {
  color: #333;
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
  position: relative;
  /*overflow: hidden;*/
  /*max-height: 250px;*/
  will-change: max-height;
  contain: layout;
  display: inline-block;
  opacity: 1;
  transform: translate(0, 0);
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 0 20px 0 40px;
  transition: .3s opacity, .6s max-height;
  hyphens: auto;
  z-index: 2;
  /*height:80px!important;*/
  /*overflow-y:scroll!important;*/
}

.ldr ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}
.ldr ul li {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
  /*padding-bottom: 4px;*/
  /*padding-top: 18px;*/
  background: #fff;
  box-shadow: 0 3px 10px -2px rgba(0,0,0,0.1);
  -webkit-tap-highlight-color: transparent;
  margin-bottom:15px;
}
.ldr ul li + li {
  margin-top: 15px;
}
.ldr ul li:last-of-type {
  padding-bottom: 0;
}
.ldr ul li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 28px;
  right: 15px;
}
.ldr ul li i:before, ul li i:after {
  content: "";
  position: absolute;
  /*background-color: #cc071e;*/
  width: 3px;
  height: 9px;
}
.ldr ul li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}
.ldr ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}
.ldr ul li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  touch-action: manipulation;
}
.ldr ul li input[type=checkbox]:checked ~ h2 {
  color: #000;
}
.ldr ul li input[type=checkbox]:checked ~ table {
  /*margin-top: 0;*/
  max-height: 0;
  transition: .3s;
  opacity: 0;
  /*transform: translate(0, 50%);*/
}
.ldr ul li input[type=checkbox]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg);
}
.ldr ul li input[type=checkbox]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg);
}
.ldr table tr {border-bottom: 1px solid #e4e4e4;}
.ldr table tr td {
	height:30pt; 
	width:130pt;
}

/*---fin style loi de reglement---*/

option.separator {
    margin-top:8px;
    border-top:1px solid #666;
    padding:0;
}

.slick-prev:before {
    content: "â†";
    color: darkgray;
    font-size: 20px;
}

.slick-next:before {
    content: "â†’";
    color: darkgray;
    font-size: 20px;
}

/* Admin reformes */
.nav-pills .mef-nav.active {
    color: white!important;
    background-color: #00CC00;
}


/* Extra large */
@media all and (min-width: 1200px) {

    #flashInfo .premierActualite {
        max-width: 23.55em;
        max-height: 15.55em;
    }

    #autresActualites .newsPubliee {
        max-width: 17.2em;
        max-height: 11.5em;
    }

    #autresActualites .imgNewsContainer {
        min-height: 11em;
    }


    #lastDecisionPublished {
        max-width: 17.41em;
        max-height: 26.5em;
    }

    #lastDecisionPublished .lastDecisionPublishedImg {
        width: auto;
        height: auto;
        max-width: 16.95em;
        max-height: 26.5em;
    }

    #lastEchos {
        max-height: 25em;
    }

    #lastEchos .lastEchosImg {
        width: auto;
        height: auto;
        max-height: 25em;
        max-width: 16.95em;
    }
    
    #demo .carousel-img-container {
        min-height: 24.7em!important;
    }
    
    #demo .carousel-img-container:before {
        content: "";
        position: fixed;
        left: 0px;
        height: 100%;
        width: 100%;
        background-image: url('../img/fond/batiment-mef.png');
        background-size: cover;
        z-index: -1; /* Keep the background behind the content */
        -webkit-filter: blur(8px);
        -webkit-background-size: cover; /* pour Chrome et Safari */
        -moz-background-size: cover; /* pour Firefox */
        -o-background-size: cover; /* pour Opera */
        background-size: cover; /* version standardisée */
        background-repeat: no-repeat;
        background-position: center;
    }

    #demo .imgLastNews {
        max-height: 24.7em!important;
        max-width: 34.7em!important;
    }

    #autresActualites .imgOtherNews {
        max-height: 8.1em!important;
        max-width: 11.4em!important;
    }

    #communiqueContainer .flashCommunique {
        width: 19.2rem;
        min-height: 8.5em!important;
    }

}

/* Large */
@media all and (min-width: 992px) and (max-width: 1199px){

    #flashInfo .premierActualite {
        max-width: 19.5em;
        max-height: 15em;
    }

    #autresActualites .brieveDescriptionNews {
        min-height: 10.2em;
    }

    #autresActualites .imgNewsContainer {
        background-color: white;
        min-height: 9.5em;
    }

    #autresActualites .newsPubliee {
        max-width: 14.3em;
    }

    #lastDecisionPublished {
        max-height: 23em;
    }

    #lastDecisionPublished .lastDecisionPublishedImg {
        width: auto;
        height: auto;
        max-width: 14.1em;
        max-height: 23em;
    }

    #lastEchos {
        max-height: 20em;
    }

    #lastEchos .lastEchosImg {
        width: auto;
        height: auto;
        max-height: 20em;
        max-width: 14.2em;
    }
    
    #demo .carousel-img-container {
        min-height: 19.6em!important;
    }
    
    #demo .carousel-img-container:before {
        content: "";
        position: fixed;
        left: 0px;
        height: 100%;
        width: 100%;
        background-image: url('../img/fond/batiment-mef.png');
        background-size: cover;
        z-index: -1; /* Keep the background behind the content */
        -webkit-filter: blur(8px);
        -webkit-background-size: cover; /* pour Chrome et Safari */
        -moz-background-size: cover; /* pour Firefox */
        -o-background-size: cover; /* pour Opera */
        background-size: cover; /* version standardisée */
        background-repeat: no-repeat;
        background-position: center;
    }

    #demo .imgLastNews {
        max-height: 19.6em!important;
        max-width: 29em!important;
    }

    #autresActualites .imgOtherNews {
        max-height: 6.7em!important;
        max-width: 9.5em!important;
    }

    #communiqueContainer .flashCommunique {
        width: 15.5rem;
        min-height: 9em!important;
    }
}

/* Medium */
@media all and (min-width: 768px) and (max-width: 991px) {
    #flashInfo .imgContainerPA {
        max-height: 14.6em;
    }

    #flashInfo .premierActualite {
        max-width: 21.9em;
        max-height: 15em;
    }

    #flashInfo .rowContainerPA {
        max-width: 22em;
    }

    #flashInfo .titleContainerPA {
        text-align: right;
    }

    #autresActualites .newsPubliee {
        max-width: 21.9em;
    }

    #banniere {
        display: none;
    }

    #lastDecisionPublished {
        max-height: 16.4em;
    }

    #lastDecisionPublished .lastDecisionPublishedImg {
    }

    #lastEchos {
        max-height: 16.4em;
    }

    #lastEchos .lastEchosImg {
    }
    
    #demo .carousel-img-container {
        min-height: 17.5em!important;
    }
    
    #demo .carousel-img-container:before {
        content: "";
        position: fixed;
        left: 0px;
        height: 100%;
        width: 100%;
        background-image: url('../img/fond/batiment-mef.png');
        background-size: cover;
        z-index: -1; /* Keep the background behind the content */
        -webkit-filter: blur(8px);
        -webkit-background-size: cover; /* pour Chrome et Safari */
        -moz-background-size: cover; /* pour Firefox */
        -o-background-size: cover; /* pour Opera */
        background-size: cover; /* version standardisée */
        background-repeat: no-repeat;
        background-position: center;
    }
    
    #demo .imgLastNews {
        max-height: 17.5em!important;
        max-width: 21.5em!important;
    }

    #autresActualites .imgOtherNews {
        max-height: 5em!important;
        max-width: 7em!important;
    }

    #communiqueContainer .flashCommunique {
        width: 15.5rem;
        min-height: 9em!important;
    }
}

/* Small */
@media all and (min-width: 576px) and (max-width: 767px) {
    #banniere {
        display: none;
    }

    #flashInfo .imgContainerPA {
        max-height: 22.15em;
    }

    #flashInfo .premierActualite {
        max-width: 33.2em;
        max-height: 22.1em;
    }

    #flashInfo .rowContainerPA {
        max-width: 33.3em;
    }

    #flashInfo .titleContainerPA {
        text-align: right;
    }
    
    #demo .carousel-img-container:before {
        content: "";
        position: fixed;
        left: 0px;
        height: 100%;
        width: 100%;
        background-image: url('../img/fond/batiment-mef.png');
        background-size: cover;
        z-index: -1; /* Keep the background behind the content */
        -webkit-filter: blur(8px);
        -webkit-background-size: cover; /* pour Chrome et Safari */
        -moz-background-size: cover; /* pour Firefox */
        -o-background-size: cover; /* pour Opera */
        background-size: cover; /* version standardisée */
        background-repeat: no-repeat;
        background-position: center;
    }

    #autresActualites .newsPubliee {
        max-width: 33.2em;
        max-height: 22.2em;
    }
    
    #autresActualites .imgOtherNews {
        max-height: 6.83em!important;
        max-width: 10.75em!important;
    }
}

/* Extra small */
@media all and (max-width: 575px) {

    #flashInfo {
        max-width: 28.6em;
    }

    #flashInfo .premierActualite {
        max-width: 28.4em;
        max-height: 19em;
    }

    #autresActualites .newsPubliee {
        max-width: 28.4em;
        max-height: 19em;
    }
    
    #demo .carousel-img-container {
        min-height: 22em!important;
    }
    
    #demo .carousel-img-container:before {
        content: "";
        position: fixed;
        left: 0px;
        height: 100%;
        width: 100%;
        background-image: url('../img/fond/batiment-mef.png');
        background-size: cover;
        z-index: -1; /* Keep the background behind the content */
        -webkit-filter: blur(8px);
        -webkit-background-size: cover; /* pour Chrome et Safari */
        -moz-background-size: cover; /* pour Firefox */
        -o-background-size: cover; /* pour Opera */
        background-size: cover; /* version standardisée */
        background-repeat: no-repeat;
        background-position: center;
    }
    
    #autresActualites .imgOtherNews {
        max-height: 6.45em!important;
        max-width: 8.75em!important;
    }
}