html{
    position:relative;
    min-height:100vh;
    display:flex;
    font-size:12pt;
    flex-direction:column;
    background-image:url("../img/fond_texture.jpg");
    background-repeat: repeat;
}


body{
    display:flex;
    flex-direction:column;
    flex:1;
    font-family: Tenso, sans-serif;
    background-color:transparent;
}

b{
    font-weight:600;
}

/* # HEADER #*/

.main-header{
    position:absolute;
    top:0;
    width:100%;
    height: 120px;
    background-color:#0033FF;
    color:#fff;
    display:grid;
    grid-template-columns: 215px 1fr;
}

.main-header .title-zone{
    height:100%;
    display:grid;
    align-items: center;
    grid-template-columns: 65px 1fr;
    background-color:#e6e6e6;
}

.main-header .title-zone img{
    max-width:100%;
}


.main-header .title-zone .menu-btn-zone{
    text-align:center;
    margin-top: 10px;
}

.main-header .headline{
    height:100%;
    position:relative;
}

.main-header .headline h2{
    display: inline-block;
    font-weight: 800;
    font-style: italic;
    font-size:1.75rem;
    text-align: right;
    margin-left: 40px;
    line-height: 30px;
    transform-origin: left center;
    transform: translateY(55px) rotate(-17deg);
}

.main-header .headline h2 .sp{
    margin-right: -45px;
}

.main-header .headline h3{
    position: absolute;
    left: 244px;
    right:165px;
    top: 60px;
    font-weight: 600;
    font-size: 1.35rem;
    color: #b8caff;

}

.main-header .secondary-nav{
    position:absolute;
    bottom:0;
    right:0;
}

.main-header .secondary-nav ul{
    margin:0;
    padding:0;
    font-size: 0;
    list-style-type: none;
    clear:both;
    
}

.main-header .secondary-nav ul{
    float:right;
}

.main-header .secondary-nav ul li{
    border-left:1px solid #fff;
    border-top:1px solid #fff;
    float:left;
    width:30px;
    height:30px;
    text-align:center;
}

.main-header .secondary-nav ul li:hover{
    background-color:#FFF;
    transition:background-color 0.25s linear;
}



.main-header .secondary-nav ul li a{
    display:block;
    width:100%;
    height:100%;
    color:#FFF;
    transition:color 0.25s linear;
}

.main-header .secondary-nav ul li:hover a{
    color:#0033FF;
}

.main-header .secondary-nav ul li i{
    font-size:20px;
    line-height:30px;
}

.main-header .secondary-nav ul li a:hover{
    text-decoration: none;
}

.main-header .secondary-nav ul li.connect {
    min-width:120px;
    text-align:center;
    font-size:12pt;
    line-height:30px;
}


#logo{
    margin:0;
    padding:0;
    text-align:center;
}

#logo img{
    display:block;
    width:80px;
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

#menu-open-btn{
    width:32px;
    display:block;
    color:#0033FF;
    margin-left:auto;
    margin-right:auto;
    
}

#menu-close-btn{
    width: 32px;
    display: none;
    color: #0033FF;
    margin-left: auto;
    margin-right: auto;
}

#scroll-helper{
    display:none;
}

#main-nav{
    position:absolute;
    top:120px; 
    left:0;
    width:215px;
    z-index: 50;
    background-color:#0033FF;
    transform-origin: top center;
    transform:translateX(-230px);
    transition:transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.admin-bar #main-nav{
   top: 120px;
}


#main-nav.open{
    display:block;
    transform:translateX(0);
}

#primary-menu, #primary-menu ul{
    margin:0;
    padding:0;
    list-style-type: none;
    line-height: 19px;
}

#primary-menu{
    padding:35px;
    width:100%;
}


#primary-menu>li:first-child{
    border-top:1px #fff solid;
}

#primary-menu>li{
    border-bottom:1px #fff solid;
    padding-top:5px;
    padding-bottom:5px;
}

#primary-menu>li>a{
    color:#b8caff;
    font-weight:600;
    font-size:13pt;
}

#primary-menu>li>a:hover{
    color:#FFF;
    font-weight:600;
    font-size:13pt;
    text-decoration:none;
}

#primary-menu>li>ul{
    margin-left:15px;
}

#primary-menu>li>ul>li>a{
    color:#b8caff;
    font-weight:600;
    font-size:12pt;
}

#primary-menu>li>ul>li>a:hover{
    color:#FFF;
    font-weight:600;
    font-size:12pt;
    text-decoration: none;
}








/* # PRIMARY CONTAINER #*/

#primary{
    display:flex;
    flex-direction:column;
    flex:1;
    font-size:1.1rem;
}

#home{
    padding-top: 165px;
    padding-bottom: 175px;
}

#primary>.container{
    flex:1;
    background-color:#FFF;
    padding-top: 130px;
    padding-bottom: 175px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.20);
}

#primary aside.widgets{
    margin-top: 65px;
}

/* # ENTRY #*/

.entry-title{
    transform: translateY(30px) rotate(-17deg);
    font-weight: 800;
    font-style: italic;
    color:#0033FF;
    line-height: 30px;
    width:200px;
    transform-origin: top left;
    
}

.entry-subtitle, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6{
    font-weight: 600;
    color:#0033FF;
}

.entry-subtitle, .entry-content h2, .entry-content h1{
    font-size:1.6rem;
    padding-bottom:5px;
    border-bottom:1px dashed #b3b3b3;
}

.entry-content h3{
    font-size:1.4rem;
}

.entry-content h4{
    font-size:1.2rem;
}

.entry-content h5{
    font-size:1.1rem;
}

.entry-content h6{
    font-weight:normal;
    font-size:1.1rem;
}

.entry-content{
    padding-left:100px;
    padding-right:100px;
}

.with-side-bar .entry-content{
    padding-right:20px;
}





/* # ZONE #*/

.zone .title{
    font-size:1.25rem;
    font-weight:600;
    color:#0033FF;
}

.zone.zone-bordered .body{
    border: 1px dashed #cccb95;
    padding:15px;
}


/* # FORMS #*/


.form-check, .form-group{
    margin-bottom:2px;
}

.form-control, .form-control:-webkit-autofill {
    border-radius:0;
    border:1px solid #cccb95;
    font-size:1.1rem;
}

.form-check-input {
    position: absolute;
    margin-top: .4rem;
    margin-left: -1.25rem;
}

.form-control::placeholder {
    font-weight:400;
    color:#b9b9b9;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #adb5bd;
    background-color: #fff;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after{
    background-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='-5%20-5%2010%2010'%3e%3ccircle%20r='4'%20fill='%230033FF'/%3e%3c/svg%3e") !important;
}

.custom-control-label::after {
    position: absolute;
    top: .20rem;
    left: -1.6rem;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    content: "";
    background: no-repeat 50%/50% 50%;
}

.custom-control-label::before {
    position: absolute;
    top: .35rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}

.custom-control-input[type=checkbox]:checked~.custom-control-label::before {
    color: #fff;
    border-color: #0033FF;
    background-color: #0033FF;
}

/* # TELEPHERIQUE HOME # */

#home aside h2{
    margin:0;
    padding:0;
}

#home aside .news .plain-bg{
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    background-color: #a9a581;
}

#home aside .news .bordered{
    padding: 15px;
    border:5px solid #a9a581;
    border-top:0;
    color:#000;
}

#home aside .carousel-item .thumbnail{
    position:relative;
    width:100%;
}

#home aside .carousel-item .thumbnail img{
    max-width:100%;
}

#home aside .carousel-indicators{
    position: static;
    margin: 0;
    padding: 10px;
    background-color: #a9a581;
}
#home aside .carousel-indicators li, #carousel_block .carousel-indicators li{
    box-sizing: border-box;
    width:7px;
    height:7px;
    border-radius: 50%;
    background-color:transparent;
    border:1px solid #FFF;
}

#home aside .carousel-indicators li.active , #carousel_block .carousel-indicators li.active{ 
    background-color:#FFF;
}

#carousel_block .carousel-control-next {
    justify-content: flex-end;
}

#carousel_block .carousel-control-prev {
    justify-content: flex-start;
}

#carousel_block .carousel-control-next, #carousel_block .carousel-control-prev {
    min-width:50px;
    padding-right: 15px;
    padding-left:15px;
}

#home aside .carousel-item .title{
    font-size:1.1rem;
    font-weight:600;
    margin:0;
}

#home aside .carousel-item .text
{
    height:140px;
    overflow:hidden;
    text-overflow: ellipsis;
    line-height: 18px;
}

#home aside .carousel-item .read-more{
    display:block;
    width:100%;
    text-align:right;
    color:#FFF;
}

#home aside .carousel-item .read-more:visited{
    color:#FFF;
}

.tl-box{
    background-color:#FFF;
}

#search-bar{
    display:none;
    position:absolute;
    z-index:10;
    top: 119px;
    right: 150px;
    border:1px solid #0033FF;
}

#search-bar input{
    width:200px;
    border:0;
    padding:5px;
    border-radius: 0;
    color:#0033FF;
    font-weight:600;
    font-size:1.1rem;
    background-color:transparent;
    
}

#search-bar input::placeholder{
    color:#0033FF;
}

#search-bar input:focus { outline: none; }




/* # TELEPHERIQUE POST GRID # */

.tl-post .text{
    border-top: 1px dashed #a2a2a2;
    padding:10px;
    font-size:1rem;
}

.tl-post .event-date, .tl-post .title{
    margin:0;
    font-weight:600;
    font-size:1.1rem;
    border:0;
}

.tl-post .title{
    margin-bottom:10px;
}

.tl-post .text a{
    color:#0033FF;
}

.tl-post .text a:hover{
    color:#0033FF;
}

.tl-post .text a:visited{
    color:#0033FF;
}


/* # TELEPHERIQUE WIDGET # */



.widget_telepherique-calendar .telepherique-widget-box{
    border:1px dashed #a2a2a2;
    background-color:#F0F0F0;
    padding:10px;
    clear:both;
    color:#000;
}

.telepherique-widget-box>.widget-title{
    font-size:1.3rem;
    font-weight:600;
    color:#0033FF;
    margin-bottom:0;
}

.telepherique-widget-box>ul{
    
    list-style-type: none;
    margin:0;
    padding:0;
}

.telepherique-widget-box>ul>li{
    position:relative;
    font-size:1.3rem;
    font-weight:800;
    padding-left: 15px;
}

.telepherique-widget-box>ul>li::before{
    content: "•";
    color: #0033FF;
    position: absolute;
    font-size: 25px;
    left: 0;
    top: -3px;
}

.telepherique-widget-box .hours{
    font-weight:800;
    font-size:1.3rem;
}

.telepherique-widget-box .hours>span.blue{
    color:#0033FF;
}

.widget_telepherique-calendar .btn.btn-info{
    color:#FFF;
    font-size:1.1rem;
    background-color:#454545;
    font-weight:600;
    transition:color 0.25s linear, background-color 0.25 linear;
}

.widget_telepherique-calendar .btn.btn-info:visited{
    color:#FFF;
}

.widget_telepherique-calendar .btn.btn-info:hover{
    color:#454545;
    background-color:#FFF;
}








/* # BUTTONS # */


.btn{
    border-radius:0;
}

.btn-primary{
    background-color:#0033FF;
    border-color:#FFF;
    color:#FFF;
}

.btn-primary:hover{
    background-color:#FFF;
    border-color:#0033FF;
    color:#0033FF;
}

.wp-block-button__link{
    background-color:#0033FF;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: #FFF !important;
    cursor: pointer;
    display: inline-block;
    font-weight:400;
    font-size: 1rem;;
    margin: 0;
    padding: .375rem .75rem;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    overflow-wrap: inherit;
    transition:all 0.25s ease-in-out;
}

.wp-block-button__link:hover{
    background-color:#FFF;
    border-color:#0033FF;
    color:#0033FF !important;
    text-decoration: none;
}






/* # BADGES # */


.badge{
    border-radius:0;
    font-weight:normal;
}






/* # FOOTER #*/

footer{
    background-color:#FFF;
    color:#4d4d4d;
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    font-size:0.8rem;
    font-weight:normal;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.20);
}

footer a, footer a:visited{
    color:#0033FF;
}

footer .legal{ 
    background-color:#e6e6e6;
}


footer .list-unstyled{
    display:flex; justify-content:space-between; margin:0;
}

footer .partenaires img{
    width:100%;
    max-width:105px;
}


/* # RESPONSIVE #*/

@media(max-width:1130px){
    
    .main-header .headline{
        display:flex;
        flex-wrap: wrap;
        align-content: center;
        align-items:center;
    }
    
    .main-header .headline h2{
        width:75%;
        text-align: left;
        transform: translateY(0) rotate(0);
    }
    
    .main-header .headline h2 br{
        display:none;
    }

    .main-header .headline h2 .sp{
        margin-right:0px;
    }

    .main-header .headline h3{
        position: static;
        margin-left: 40px;
        width:75%;
    }
        
}

@media(min-width:992px){
    #main.container{
        width:960px;
    }
}

@media(max-width:992px){
    
    .entry-content{
        padding-left:50px;
        padding-right:50px;
    }
    
    .with-side-bar .entry-content{
        padding-right:15px;
    }
    
    #scroll-helper{
        display:block;
        position:-webkit-sticky;
        position:sticky;
        width:33px;
        bottom:30px;
        float:right;
        z-index:10;
        
    }
}

@media(max-width:768px){
    
    .entry-content, .with-side-bar aside.widgets{
        padding-left:25px;
        padding-right:25px;
    }
    
    .with-side-bar .entry-content{
        padding-right:25px;
    }

    #primary>.container, #home {
        padding-bottom: 280px;
    }
}

@media(max-width:576px){
    
    .main-header{
        width:100%;
        background-color:#0033FF;
        color:#fff;
        display:grid;
        align-items: top;
        grid-template-columns: 175px 1fr;
    }
    
    .entry-content, .with-side-bar aside.widgets{
        padding-left:15px;
        padding-right:15px;
    }
    
    .with-side-bar .entry-content{
        padding-right:15px;
    }
    
    
    #search-bar{
        right: 0px;
    }
}

/* SVG */
.search-button .st0{fill:#0033FF; transition:fill 0.25s linear;}
.search-button .st1{fill:#FFFFFF; transition:fill 0.25s linear;}
.search-button .st5{fill:none;stroke:#FFFFFF;stroke-width:2;stroke-miterlimit:10; transition:stroke 0.25s linear;}
.search-button:hover .st0, .search-button.active .st0 {fill:#FFFFFF;}
.search-button:hover .st1, .search-button.active .st1 {fill:#0033FF;}
.search-button:hover .st5, .search-button.active .st5 {fill:none;stroke:#0033FF;stroke-width:2;stroke-miterlimit:10;}


.contact-button .st5{fill:#FFFFFF; transition:fill 0.25s linear;}                     
.contact-button .st8{fill:#0033FF; transition:fill 0.25s linear;}
.contact-button:hover .st5{fill:#0033FF;}                     
.contact-button:hover .st8{fill:#FFFFFF;}

.menu-button .st8{fill:#0033FF;}


#calendar{
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
#calendar_weekdays div{
  display:inline-block;
  vertical-align:top;
}
#calendar_content, #calendar_weekdays, #calendar_header,#calendar_legend{
  position: relative;
  width: 100%;
  overflow: hidden;
  float: left;
  z-index: 10;
}
#calendar_weekdays div, #calendar_content div{
  width:14.28%;
  height: 40px;
  line-height:40px;
  overflow: hidden;
  text-align: center;
  background-color: #f0f0f0;
  color: #999999;
}

#calendar_weekdays div{
    font-weight:600;
}

#calendar_content div{
  float: left;
    
  
}
#calendar_content div:hover{
  background-color: #e0e0e0;
}
#calendar_content div.blank{
  background-color: #f0f0f0;
}

#calendar_content div.hasSession{
  color:#FFF;
}

#calendar_content div.today{
  color: #333;
 background-color:#e0e0e0;
}
#calendar_header{
  width: 100%;
  height: 40px;
  text-align: center;
  background-color: #ffffff;
    border-bottom:1px dashed #a2a2a2;
}
#calendar_header h1{
  font-size: 1.1em;
  text-transform: lowercase;
  font-weight:600;
  color: #999999;
  float:left;
  width:70%;
  line-height: 40px;
  margin:0;
  clear:none;
}

#calendar_legend{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #FFF;
    padding-top: 10px;
    padding-bottom: 10px;
}
#calendar_header i[class^=fas]{
  color: #999999;
  float: left;
  width:15%;
  border-radius: 50%;
    line-height: 40px;
}

div.spoiler-wrap{
    background-color:#e6e6e6;
    border:1px solid #0033FF;
}

div.spoiler-head {
    color: #0033FF;
    cursor: pointer;
    display: block;
    font-weight: 600;
    line-height: 1.5em;
    margin-left: 6px;
    padding: 0 6px 0 14px;
    text-align: left;
}

div.spoiler-body {
    background: #FFF;
    border-top: 1px solid #0033FF;
    padding: 10px 20px;
}

div.spoiler-head.collapsed {
    background: url(data:image/gif;base64,R0lGODlhCQAJAIABAAAz/wAAACH+EUNyZWF0ZWQgd2l0aCBHSU1QACH5BAEKAAEALAAAAAAJAAkAAAIPjAOnuJfNHJh0qtfw0lcVADs=) no-repeat left center;
}

div.spoiler-head.expanded {
    background: url(data:image/gif;base64,R0lGODlhCQAJAIABAAAz/wAAACH5BAEKAAEALAAAAAAJAAkAAAIKjI+py+D/mJyyAAA7) no-repeat left center;
}


