/*!
 * Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

 body {
    overflow-x: hidden;
 }

.hidden {
    display:none;
}

.pointer {
   cursor:pointer;
}

#mapcontainer {
    width: 100%;
    height: auto;
    background-color: white;
    margin: auto;
    border: 1px solid black;
}
#currentmode {
    font-weight:bolder;
    padding: 8px!important;
}

    .panel-group a {
        line-height:26px;
    }

.panel-group a { display:block; width:100%;}
    .panel-group a:hover {
        text-decoration:none;
    }

.panel-default > .panel-heading:hover {
    background-color:#ecfff4;
}

#twp td:not(:first-child),#twp th:not(:first-child)  {
    text-align:right;
}

/* upload */
#fileupload {
	  width: 400px;
	  margin: 0 auto;
	  text-align:center;
}
	    /* styles de base si JS est activé */  
    .js .input-file-container {  
      position: relative;  
      width: 400px;  
    }  
    .js .input-file-trigger {  
      display: block;  
      padding: 14px 45px;  
      background: #39D2B4;  
      color: #fff;  
      font-size: 1em;  
      transition: all .4s;  
      cursor: pointer;  
    }  
    .js .input-file {  
      position: absolute;  
      top: 0; left: 0;  
      width: 400px;  
      padding: 14px 0;  
      opacity: 0;  
      cursor: pointer;  
    }  
       
    /* quelques styles d'interactions */  
    .js .input-file:hover + .input-file-trigger,  
    .js .input-file:focus + .input-file-trigger,  
    .js .input-file-trigger:hover,  
    .js .input-file-trigger:focus {  
      background: #34495E;  
      color: #39D2B4;  
    }  
       
    /* styles du retour visuel */  
    .file-return {  
      margin: 0;  
    }  
    .file-return:not(:empty) {  
      margin: 1em 0;  
    }  
    .js .file-return {  
      font-style: italic;  
      font-size: .9em;  
      font-weight: bold;  
    }  
    /* on complète l'information d'un contenu textuel 
       uniquement lorsque le paragraphe n'est pas vide */  
    .js .file-return:not(:empty):before {  
      content: "Selected file: ";  
      font-style: normal;  
      font-weight: normal;  
    }  



/* Toggle Styles */



#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 350px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 350px;
    width: 0;
    height: 100%;
    margin-left: -350px;
    overflow-y: auto;
    background: #EEE;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 350px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -350px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 350px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 36px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
}
.aide {
    display: block;
    text-indent: 0px;
    line-height:normal;
    text-decoration: none;
    color: #6979c3;
    font-size:90%;
}
.alertdist {
    color:red;
}
.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 350px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 350px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}