body {
	font-family: 'Cabin', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 25px;
    /*font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
    font-size: 14px;*/
    background-color: #F9F9F9;
}

a {
	text-decoration: none;
}

a:visited {
    text-decoration: underline;
    color: #303030;
}

a:hover {
    color: grey;
}

/* ---------------------------------------------------------------------------------------------
   HEADER 
   ---------------------------------------------------------------------------------------------  */

#header {
	box-shadow: 0px 4px 4px #d3d3d3;
	z-index:300;
	background-color: white;
	width:100%;
	height:100px;
    position: relative;
}

i#home, i#user {
    margin-right: 5px;
}
i#logout {
    margin-left: 10px;
}

.middle_block {
    margin-left: auto;
    margin-right: auto;
    width:1024px;
}

.head_exit {
	height:20px;
	background-color: #F9F9F9;
	text-align: right;
}

.head_img {
	width: 70px;
    height: 70px;
    float:left;
    margin-top: 5px;
    margin-bottom: 5px;
}

.menu_img {
    width: 200px;
    height: 200px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.head_center {
    float:left;
    height: 80px;
    line-height: 80px; 
    white-space: nowrap; 
    margin-left: 25px;
    font-family: 'Kanit', Georgia, Times, serif;
}

.head_txt {
	float:left;
    font-size: 35px;
    font-weight: bold;
}

.green_title {
	float:left;
	margin-left: 10px;
	font-size: 35px;
    font-weight: bold;
    color: #c9e549;
}

.grey_title {
    text-align: right;
    font-size: 25px;
    font-weight: bold;
    color: #c2c2c2;
}

.head_user {
	position: absolute;
	right: 5px;
    height: 80px;
    line-height: 80px; 
    white-space: nowrap;
    text-align: right; 
}

/* ---------------------------------------------------------------------------------------------
   FOOTER 
   ---------------------------------------------------------------------------------------------  */
#footer {
    clear: both;
    width: 80%;
    max-width: 1500px;
    min-width: 830px;
    z-index:1;
    position: fixed;
    bottom: 0px;
    background-color: #F9F9F9;
}

#footer .wrap {
    background: url('../img/logo_bottom.png') no-repeat top right;
    padding: 41px 10px 0 0;
    text-align: right;
}

#footer .wrap .lien_foot {
    color: #777777;
    font-size: 11px;
    padding: 0 8px;
}

#footer .wrap .texte_foot {
    margin: 8px 0 20px;
    /*background-color: #F8F8F8;*/
}

#footer .wrap .texte_foot span {
    display: block;
    color: #414042;
    font-size: 14px;
    padding: 9px 0 0;
    text-align: right;
}

#footer .line {
    width: 800%;
    position: absolute;
    top: 71px;
    right: 70px;
    height: 4px;
    background-color: #d6de23;
    z-index:3;
}

#content {
	z-index:1000;
}

.green_txt {
    color: #c9e549;
}

.green_txt-spe {
    color: #c9e549;
    font-size: 1.1em;
    text-align:center;
}

.logo_petit{
	width: 40px;
    height: 40px;
}

.formbox {
	position: relative;
	z-index: 3;
    margin-left: auto;
    margin-right: auto;
    width:1024px;
}

.formbox_choice {
    text-align: center;
}

.contentbox{
    background-color: white;
    box-shadow: 1px 1px 4px #d3d3d3;
    margin-bottom: 20px;
}

.contentbox-spe{
    background-color: white;
    box-shadow: 1px 1px 4px #d3d3d3;
    margin-bottom: 20px;
    padding:20px;
}

.contentbox h2 {
    text-align: center;
    min-height: 56px;
    font-family: 'Kanit', Georgia, Times, serif;
    font-size: 25px;
    line-height: 56px;
}

.green_number {
    float:left;
    margin-left: 10px;
    font-size: 35px;
    font-weight: bold;
    color: #c9e549;
    margin-left: 25px;
    margin-right: 25px;
    margin-top: auto;
    margin-bottom: auto;
}

.green_number-spe {
    float:left;
    margin-left: 10px;
    font-size: 35px;
    font-weight: bold;
    color: #c9e549;
    margin-right: 25px;
    margin-top: auto;
    margin-bottom: auto;
}

.halfcontentboxleft{
	min-width:502px;
	min-height:205px;
    background-color: white;
    box-shadow: 1px 1px 4px #d3d3d3;
    margin-bottom: 20px;
    /*margin-right: 20px;*/
    float: left;
}

.halfcontentboxmenu{
    display:inline-block;
    position:relative;
    min-width:300px;
    min-height:205px;
    background-color: white;
    box-shadow: 1px 1px 4px #d3d3d3;
    margin: 20px;
    text-align:center;
    transition:0.5s all; box-shadow:5px 5px 7px rgba(0,0,0,0.15);border-radius:4px;border-color:#cfe400;border:1px solid #eee;
}

.halfcontentboxmenu:hover { transition:0.5s all;box-shadow:18px 18px 16px rgba(0,0,0,0.05);}

.halfcontentboxright{
	min-width:502px;
    min-height:205px;
    height: 100%;
    background-color: white;
    box-shadow: 1px 1px 4px #d3d3d3;
    margin-bottom: 20px;
    margin-left: 20px;
    float: left;
}

.halfcontentboxcenter{
    display:inline-block;
    position:relative;
    min-width:205px;
    min-height:315px;
    background-color: white;
    box-shadow: 1px 1px 4px #d3d3d3;
    margin: 20px;
    text-align:center;
    vertical-align: top;
}

.empty_line {
	height: 20px;
}

.lastnews{
    background: #C2C2C2;
    text-align: center;
    min-height: 50px;
    /*line-height: 50px; */
    width:100%;
    color: #303030;
}

.sendstats{
    width:50%;
}

.bouton {
    width:480px;
    height:50px;
    background: #c9e549;
    border: 0px;
    box-shadow: 3px 3px 3px #d3d3d3;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    align: center;
}

.bouton:hover { 
	width:490px; 
	height:55px; 
	transition:0.5s all;
	box-shadow:18px 18px 16px rgba(0,0,0,0.05);
}

.boutonsmall {
    width:240px;
    height:50px;
    background: #c9e549;
    border: 0px;
    box-shadow: 3px 3px 3px #d3d3d3;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    align: center;
}

.boutonsmall:hover { 
    width:250px; 
    height:55px; 
    transition:0.5s all;
    box-shadow:18px 18px 16px rgba(0,0,0,0.05);
}

.blackBg {
    background-color: black;
    z-index: 1999;
    position: fixed;
    height: 100%;
    width: 100%;
    opacity: 0.6;
    display: none;
}

.fixwidth { 
    margin-left: 25px;
}

.input_file {
    margin-left: 25px;
}

@media all and (max-width: 1024px)
{
    .formbox {
       width:100%;
    }
    
    .formbox_choice {
        width:100%;
    }

    .halfcontentboxleft {
        width: 100%;
        min-width:100%;
        min-height:30px;
        clear:both;
        margin-left: 0px;
    }
    
    .halfcontentboxright {
        width: 100%;
        max-width: 502px;
        min-width:100%;
        min-height:30px;
        clear:both;
        margin-left: 0px;
    }
    
    .contentbox {
        width: 100%;
        min-width:100%;
        clear:both;
        margin-left: 0px;
    }
    
}

@media all and (max-width: 480px)
{
	.head_user {
	   display: none;
	}
	
	.contentbox {
	   text-align: center;
	}
	
	.bouton {
	   width: 100%;
	}
	
	.bouton:hover { 
	    width: 100%;
		height:55px; 
	    transition:0.5s all;
	    box-shadow:18px 18px 16px rgba(0,0,0,0.05);
	}
	
	select {
	   align: center;
	}
	
}




/*
 Stats Appli réseau 
*/

#statsApplis {
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-top: none;
    background: #fff;
    box-sizing: border-box;
    min-height: 400px;
    padding:30px;
}
@media (max-width: 600px) {
    #statsApplis {
        padding: 15px;
    }
}

#statsApplis .content {
    padding-top: 30px;
}

/* Navigation*/
#nav_applis {
    background: #eee;
}
#nav_applis ul {
    margin: 0;
    background: #eee;
    line-height: 50px;
    max-width: 1024px;
    margin: 0 auto;
    padding-left: 0;    
}
#nav_applis li {
    display: inline-block;
    margin: 0 7px;
    text-align: center;
}
#nav_applis li a {
    display: block;
    min-width: 100px;
    color: #777;
}
#nav_applis li a.active, #nav_applis li a:hover {
    color: #333;
}
#nav_applis li a.active {
    background: #fff;
}

#parametres_stats {
    float: right;
    position: relative;
    z-index: 1;
    text-align: left;
    font-size: 13px;
    background: #efefef;
    padding: 7px 15px;
    margin-bottom: 15px;
}
#parametres_stats p {
    margin: 6px;
    font-size: 12px;
}
#parametres_stats p:first-child{
    margin-top: 0;
}
#parametres_filtres label{
    width: 88px;
    display: inline-block;
}
 
#parametres_filtres p {
    display: inline-block;
}

#parametres_filtres p:last-child{
    margin-bottom: 0;
}

#parametres_stats .selectfrm {
    line-height: 20px !important;
    height: 30px !important;
    width: 100px !important;
}

/* Popin */
.mfp-content {
    background: #fff;
    min-width: 700px;
    max-width: 90%;
    width: auto !important;  
    max-height: 90%;
    overflow: auto;
    margin: 0 auto;
    padding: 7px;
    min-height: 200px;
    padding-top: 35px;
}
@media(max-width:750px) {
    .mfp-content {
        min-width: auto;
    }   
}

/* Délais */
@media(min-width:1024px) {
    #delais_visio {
        display: flex;
        align-items: stretch;
    }
    #delais_visio > div {
        width: 33%;
    }
    #delais_pjrc {
        display:flex;
        flex-wrap: wrap;
    }
    #delais_pjrc > div {
        flex-grow: 1;
        width: 50%;
        margin-bottom: 25px;
    }
}


/* Tableaux*/
#statsApplis table thead th {
    background: #ddd;
}
#statsApplis .stats_synthese, #statsApplis .stats_bureaux {
    position: relative;
    border-collapse: collapse;
    min-width: 350px;
}
#statsApplis a {
        color: #303030;
}
#statsApplis .stats_synthese {
    text-align: center
}
#statsApplis .stats_synthese th {
    padding: 2px 7px;
}
#statsApplis .stats_synthese td:first-child, #statsApplis .stats_bureaux td:first-child {
    padding-left: 4px;
}
#statsApplis .stats_bureaux th {
    padding: 0 7px;
}
#statsApplis .stats_bureaux td:first-child, #statsApplis .first_column_left td:first-child {
    text-align: left;
    font-size: 13px;
}
#statsApplis .last_column_gray td:last-child {
    background: #eee;
}
#statsApplis .last_column_gray th:last-child, #statsApplis .last_column_gray td:last-child {
    position: sticky;
    right: 0;
    box-shadow: -2px 0px #aaa;
}
#statsApplis .stats_bureaux td {
    text-align: center;
    position: relative;
}
#statsApplis .stats_bureaux tbody a {
    color: #222;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
#statsApplis .stats_bureaux a:hover {
    background: #eee;
}

#statsApplis .stats_bureaux .subLine td {
    background: #f5f5f5;
}
#statsApplis .stats_bureaux .subLine td:first-child {
    text-align: right !important;
}

#statsApplis .tableau_bureau {
	display:block;
    padding: 7px 14px;
    background: #cccccc;
    border-radius: 4px;
    margin-bottom: 7px;
}

#statsApplis .tableau_bureau:hover {
    background: #dcdcdc;
}

#statsApplis .tableau_bureau:before {
    content: ">";
    display: inline-block;
    font-size: 22px;
    padding-right: 7px;
}
#statsApplis .tableau_bureau.active:before {
    transform: rotate(90deg) translateX(5px);
}

#statsApplis .tableau_bureau ~ .responsive-wrapper {
    display: none;
}
#statsApplis .tableau_bureau.active + .responsive-wrapper {
    display: inline-block;
    max-width: 100%;
    min-width: 60%;
}

#statsApplis .stats_bureaux th {
    position: sticky !important;
    top: 0;
    background: #ddd;
    z-index: 999;
}
.stats_bureaux td:first-child {
    position: sticky !important;
    left: 0;
    background: #fff;
    z-index: 999;
    min-width: 234px;
}
@media (max-width: 600px) {
    .stats_bureaux td:first-child {
        min-width: 150px;
    }
}
#statsApplis table tr:hover td {
    background: #ddd !important;
}

.responsive-wrapper {
    overflow-x: auto;
    max-height: 80vh;
}

/* Liste des dossiers */
.liste_dossier_stats {
    font-size: 13px;
    text-align: left;
    width: 100%;
}
.liste_dossier_stats tr:hover {
    cursor:pointer;
}

.liste_dossier_stats td:first-child, .liste_dossier_stats td:nth-child(2), .liste_dossier_stats td:nth-child(3) {
    text-align: left;
}
.liste_dossier_stats th, .liste_dossier_stats td {
    text-align: center;
    position: relative
}
.liste_dossier_stats th {
    position: sticky;
    top: -35px;
    padding: 0 2px;
    z-index: 1;
}
.liste_dossier_stats a {
    color: #222;
    display: block;
}
.liste_dossier_stats a:hover {
    background: #eee;
}

/* Liste des bureaux */
.section_retrait {
    margin-left:25px;
}
#statsApplis .stat_title {
    margin-top: 40px;border-bottom: 1px solid #ddd;padding-bottom: 10px;
}
#statsApplis .preload_img {
    margin: 0 auto;
    display: block;
    height: 46px;
}

.stats_par_bureau h2{
   margin-top: 40px;border-bottom: 1px solid #ddd;padding-bottom: 10px; 
}


/*Style général input des formulaire */
#statsApplis .selectfrm {	
    display: inline-block;
    border: 1px solid #dddddd;
    vertical-align: middle;
    padding: 4px 3px;
    border-radius: 3px;
    line-height: 25px;
    font-size: 13px;
    height: 35px;
}


.infobulle {
    background: grey;
    padding: 0 0.5em;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
    vertical-align: top;
}

.infobulle:hover::before {
    content: attr(text);
    position: absolute;
    top: -4px;
    left: 1.5em;
    background: inherit;
    font-weight: normal;
    white-space: nowrap;
    padding: 0 1em;
    border-radius: 4px;
}

.dossiers_eligibles {
    font-size: 12px;
    line-height: 9px;
    color: #777;
}

.none {
    display: none;
}
.align_left {
    text-align: left !important;
}
