
#container {
    width: 100%;
    height: calc(100% - 50px);
    display: block;
    background: #fff;
    position: relative;
    top: 50px;
    margin-top: 50px;
}



html:not([lang*=""]) #container{
    width: 100%;
    height: calc(100% - 50px);
    display: block;
    background: #fff;
    position: absolute;
    top: 50px;
    margin-top: 50px;
}





/*Awesome Fonts*/
i.fa-bars {
    font-size: 25px;
	color: #116084;
}

i.fa-server {
    font-size: 25px;
	color: #fff;
}

i.fa-share-alt{
    font-size: 25px;
	color: #fff;
}
i.fa-download {
    font-size: 25px;
	color: #fff;
}

i.fa-search {
    font-size: 25px;
    color: #fff;
}

i.fa-link {
    font-size: 25px;
    color: #fff;
}

i.fa-cog {
    font-size: 25px;
	color: #fff;
}

i.fa-envelope-o{
    font-size: 35px;
	color: #bbd100;
}

i.fa-twitter{
    font-size: 35px;
	color: #bbd100;
}

i.fa-facebook{
    font-size: 35px;
	color: #bbd100;
}

i.fa-google-plus{
    font-size: 35px;
	color: #bbd100;
}

i.fa-linkedin-square{
    font-size: 35px;
	color: #bbd100;
}

/*Fin Awesome Fonts*/


/************** Navigation ***************************/
#headbar .headbar_container {
    /*position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;*/
}


#headbar .titre {
    text-transform: uppercase;
    color: #116084;
    font-size: 18px;
    margin-left: 0px;
    /* float: left; */
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: -12px;
    left: 60px;
    width: 100%; 

}



.control {
    width: 18%;
    display: inline-block;
    text-align: right;
}


.switch_bitonio {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    left: -20px;
    top: 2px;
    transition: left 0.5s;


}


.switch_holder {
    width: 38px;
    height: 20px;
    background-color: #116084;
    border-radius: 15px;
    /* position: relative; */
    position: absolute;
    top: -10px;
    right: 30px;

}

.switch_bitonio.active {
    left: -2px;
    background-color: #ffffff;
}







#headbar .burger {
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    top: -14px;
    left: 20px;
}

#headbar .functionality_holder { 
	display:none;
}

#paneling {
    width: 350px;
    height: 100%;
   	left: -1000px;
   	top:0;
   	transition: left 0.5s;
}
#paneling.active { 
	left:0px;
	top: 0;

}


#paneling .panel_functionality {
    width: calc(100% - 75px);
    float: left;
    top: 22px;
    left: 43%;
    display: block;
     height: 75px;
    position: relative;
    transform: translateX(-50%);

}

#paneling .panel_functionality .panel_functionality_holder {
    transform: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    position: relative;
}




#paneling .panel_functionality .functionality {
	color: grey;
	display: inline-block;
	width: 20px;
	height: 20px;
	text-align: center;
	/*border: 2px solid #bbd100;*/
	margin-bottom: 10px;
	cursor: pointer;
	color: transparent;
	font-size:1px;
	/* 	background-image: url('menu_general.png'); */
	background-size: 40px 40px;
	background-repeat: no-repeat;
	background-position: center;
	padding: 10px;
}

#paneling .panel_functionality .functionality.chapitres {
    top: 0px;
    position: absolute;
    left: 0px;
}
#paneling .panel_functionality .functionality.reseauxsociaux {
    top: 0px;
    position: absolute;
    left: 50px;
}

#paneling .panel_functionality .functionality.documents {
    top: 0px;
    position: absolute;
    left: 100px;
}
#paneling .panel_functionality .functionality.options {
    top: 0px;
    position: absolute;
    left: 150px;
}

#paneling .panel_functionality .functionality.liens {
    top: 0px;
    position: absolute;
    left: 200px;
}

#paneling .panel_functionality .functionality.active {
    margin-bottom: 10px;
}


#paneling .panel {
    width: auto;
    /*height: calc(100% - 250px);
    overflow-y: auto;*/
}


#paneling #panel_holder {
    width: calc(100% - 75px);
    height: auto;
    position: relative;
    top: 120px;
    position: absolute;
    left: 155px;
}


#paneling #panel_holder .chapitres .chapitre {
    /*width: auto;*/
	width: 94%;
    margin-right: 10px;
    padding: 7px 5px 0px 10px;
}

#paneling #panel_holder .chapitres .chapitre .image {
    display: none;
}

#paneling #panel_holder .chapitres .chapitre .contenu {
    /*height: 54px;*/
}
#paneling #panel_holder .options .column {
    width: 100%;
}


#paneling #panel_holder .options .column .row .control {
    width: 20%;
}

#paneling #panel_holder .options .column .row .legend {
    width: 76%;
	color: #fff;
	font-family: 'Arial', sans-serif;
	font-weight: normal;
	font-size: 14px;
}


#paneling .panel_close {
    height: 100%;
    width: 40px;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url('left.png');
}
#paneling .panel_close1 {
    height: 100%;
    width: 40px;
    position: absolute;
    top: calc(100% - 100px);
    right: 0;
	background-image: url('bas.png');
	background-repeat: no-repeat;
}

#paneling .panel.chapitres {
	width: auto; 

}


#paneling .panel.chapitres .chapitre.active {
    /* background: rgba(187, 209, 0, 1); */
    /* border: 2px solid white; */
}



#panel_holder .chapitres .chapitre .titre, #panel_holder .documents .document .titre {
    color: #FFFFFF;
    font-size:16px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    /* margin-top: 10px; */
}




#panel_holder .documents .document .contenu {
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-weight: normal;
    font-size: 14px;
    margin-top: 10px;
    overflow: hidden;
    padding: 0px 10px 10px 0;
    /* padding: 10px 10px 10px 0; */
    display: none;
}


#panel_holder .documents .document {
    background-color: #116084;
    margin-bottom: 10px;
    padding: 10px;
}



#panel_holder .RubriqueDocument {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.LienDocument {
    color: #bbd100;
    text-decoration: none;
    font-size: 12px;
}

#panel_holder .liens .lien {
    background-color: #116084; 
    margin-bottom: 10px; 
    padding: 10px; 
}




/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black;*/
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;

    background-color: rgba(255,255,255,.9);
    color: #116084;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 10px; 
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;

    width: 100px;
    top: 100%;
    left: 50%; 
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */







}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}




/*Moteur de recherche */

#searchresults { 
    display: none;
    width: 240px;
    border-left: 1px solid #ffffff;
    position: relative;
    top: -16px;
    left: 0px;
    padding-top: 20px;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    z-index: 999999;
    background: transparent;
    font-size: 12px;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

#searchresults .result {
    width: 218px;
    height: auto;
    display: block;
    margin: 5px;
    border: 1px solid #1787ba;
    padding: 5px;
    background: #116084;
    cursor: pointer;
}

#searchresults .result.clickable {
    cursor: pointer;
}

#searchresults .result.clickable:hover {
    background: rgba(17,96,132, 1);
}

#searchresults .result .titre {
    margin-left: 0;
    float: none;
    font-size: 14px;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;
    background: #116084;
}


#searchinput {
    width: 100%;
    height: 25px;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    padding-left: 10px;
    font-size: 14px;
    color: #fff;
    display: inline-block;
    top: -1px;
    border: 1px solid white;
    border-radius: 20px;
    padding-right: 30px;
}

#searchinput:focus, #searchinput:focus{
    outline: none;
}


.searchpicto {
    position: absolute;
    width: 18px;
    height: 18px;
    display: inline-block;
    background-image: url(recherche.png);
    background-size: cover;
    margin: 2px;
    padding-left: 0px;
    right: 5px;
    top: 0px;
}


.providerLogo {
    background-image: url(logo.jpg);
    background-size: contain;
    position: absolute;
    top: calc(100% - 100px);
    width: calc(100% - 40px);
    height: 100px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: #fff;
}




.windowed {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 350px;
    height: 197px;
    border: 1px solid #000000;
    outline: 2px solid #ffffff;
    /* padding: 2px; */
    z-index: 9000;
    transition: width 0.5s, height 0.5s, top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
}


/******* Recherche par mots clés*******/

.searchbar {
    /* border: 1px solid #fff; */
    width: 242px;
    height: auto;
    float: right;
    margin-right: 30px;
    border-radius: 10px;
    display: block;
    margin-top: 20px;
    position: relative;
}





/***********************************MEDIAS********************************/


@media (min-width: 769px) and (max-width: 1024px) {
    
    #headbar .titre {
        text-transform: uppercase;
        color: #116084;
        font-size: 14px;
        margin-left: 0px;
        /* float: left; */
        font-family: 'Montserrat', sans-serif;
        position: absolute;
        top: -12px;
        left: 60px;
        width: 100%; 

    }

    #searchinput {  
        display:none;   
    }

    .providerLogo {
        display:none;   
    }
    #paneling .panel_close1{
        display:none;   
    }

    .logo-mobile {  
        border: 0px solid #1787ba;      margin-top: -19px;  
    }   

    .logopicto {   
        background-image: url(../logo.jpg);    
        float:right;    
        width: 25px;    
        height: 25px;   
        margin-top: 2px;    
    }

    a span{ 
        display:none;
    }


    #panel_holder .chapitres .chapitre .titre, #panel_holder .documents .document .titre {
        color: #FFFFFF;
        font-size: 12px;
        font-weight: normal;
        font-family: 'Montserrat', sans-serif;
        /* margin-top: 10px; */
    }





    .windowed {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 269px;
        height: 150px;
        border: 1px solid #FFE;
        outline: 0px solid #ffffff;
        /* padding: 2px; */
        z-index: 9000;
        transition: width 0.5s, height 0.5s, top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
    }




    .searchbar {
        border: 1px solid #fff;
        width: 242px;
        height: 25px;
        float: right;
        margin-right: 30px;
        border-radius: 10px;
        display: block;
        margin-top: 20px;
        position: relative;
    }


    #searchinput {
        width: 190px;
        height: 25px;
        background: transparent;
        border: none;
        font-family: 'Montserrat', sans-serif;
        /*font-weight: bold;*/
        padding-left: 10px;
        font-size: 12px;
        color: #fff;
        display: inline-block;
        top: -1px;
    }



    .searchpicto {
        position: absolute;
        width: 18px;
        height: 18px;
        display: inline-block;
        background-image: url(recherche.png);
        background-size: cover;
        margin: 2px;
        padding-left: 0px;
        right: 5px;
    }


    
}














@media (max-width: 768px) {

    a span{ 
        display:none;
    }
    

    #headbar .titre {
        text-transform: uppercase;
        color: #116084;
        font-size: 12px;
        margin-left: 0px;
        /* float: left; */
        font-family: 'Montserrat', sans-serif;
        position: absolute;
        top: -12px;
        left: 60px;
        width: 80%; 

    }

    .windowed {
        position: absolute;
        bottom: 10px;
        left: 50%;
        width: 269px;
        height: 150px;
        border: 1px solid #FFE;
        outline: 0px solid #ffffff;
        /* padding: 2px; */
        z-index: 9000;
        transition: width 0.5s, height 0.5s, top 0.5s, right 0.5s, bottom 0.5s, left 0.5s;
    transform: translateX(-50%);
    }

    	/*Awesome Fonts*/
    i.fa-bars {
        font-size: 25px;
    	color: 1787ba;
    }

    i.fa-server {
        font-size: 15px;
    	color: #fff;
    }

    i.fa-share-alt{
        font-size: 15px;
    	color: #fff;
    }
    i.fa-download {
        font-size: 15px;
    	color: #fff;
    }
    i.fa-cog {
        font-size: 15px;
    	color: #fff;
    }

    i.fa-search {
        font-size: 15px;
        color: #fff;
    } 
    
    i.fa-link {
        font-size: 15px;
        color: #fff;
    } 

    i.fa-envelope-o{
        font-size: 25px;
    	color: #bbd100;
    }

    i.fa-twitter{
        font-size: 25px;
    	color: #bbd100;
    }

    i.fa-facebook{
        font-size: 25px;
    	color: #bbd100;
    }

    i.fa-google-plus{
        font-size: 25px;
    	color: #bbd100;
    }

    i.fa-linkedin-square{
        font-size: 25px;
    	color: #bbd100;
    }

    /*Fin Awesome Fonts*/

    #paneling {
        width: 300px;
    }

    #paneling .panel_functionality .functionality {
    	padding-left:5px;
    	width: 10px;
        height: 10px;
    }

    #paneling .panel_close {
        height: 100%;
        width: 20px;
        position: absolute;
        top: 0;
        right: 0;
        background-image: url(left.png);
    }

    #paneling .panel.chapitres {
        width: auto;
        height: 100%;
    }



    #paneling #panel_holder {
        width: calc(100% - 20px);
        height: auto;
        position: relative;
        top: 30px;
    }



  .switch_bitonio {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    left: -20px;
    top: 2px;
    transition: left 0.5s;


    }


    .switch_holder {
        width: 38px;
        height: 20px;
        background-color: #116084;
        border-radius: 15px;
        /* position: relative; */
        position: absolute;
        top: -10px;
        right: 30px;

    }

    .switch_bitonio.active {
        left: -2px;
        background-color: #ffffff;
    }






    #panel_holder .chapitres .chapitre .titre, #panel_holder .documents .document .titre {
        color: #FFFFFF;
        font-weight: normal;
        font-size:12px;
        font-family: 'Montserrat', sans-serif;
        /* margin-top: 10px; */
    }



    #panel_holder .chapitres .chapitre .titre, #panel_holder .documents .document .titre {
        color: #FFFFFF;
        font-size: 12px;
        font-weight: normal;
        font-family: 'Montserrat', sans-serif;
        /* margin-top: 10px; */
    }


    .slide.active {
        display: block;
        max-width: 100%;
        height: auto;
    }


}




    



/**********Fin medias depuis app***************/


.finChapitreBackground {
    position: absolute;
    width: 100%;
    top: 50px;
    height: calc(100% - 50px);
    background: #000000;
    z-index: 9999;
    opacity: 0.7;
    display:none;
}
.finChapitre { 
    position: absolute;
    width: 100%;
    top: 50px;
    height: calc(100% - 50px);
    z-index: 9999;


    background: #000000;
    z-index: 9999;
    opacity: 0.7;



    
    display:none;
}
.finChapitreActionHolder {
    width: 100%;
    text-align: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.finChapitreGoto { 
    display: inline-block;
    margin: 30px;
    border: 5px solid #ffffff;
    padding: 35px 35px;
    width: 100px;
    border-radius: 100px;
}