 /* CSS Imports
--------------------------------------- */
@import url(font-awesome.min.css);
@import url(bootstrap.min.css);


/* RESET
--------------------------------------- */
html, body {
 margin:0;
 padding:0;
 height: 100%;
}

/* Google Map
--------------------------------------- */
#carte{
    position: relative;
        padding-bottom: 42%; // This is the aspect ratio
        height: 0;
        overflow: hidden;
}

/* General Styles
--------------------------------------- */
* { font-family: 'Open Sans', sans-serif; }
body { height: 100%; background-color: rgb(235,235,235); }
h1 { font-size: 24px; }
.btn a {
    color: white;
    text-decoration: none;
}
.logo { display: inline-block; }
.logo h1 {
    font-size: 24px;
    margin: 10px 15px;
}
.template-page-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: auto;
}
.site-content-wrapper {
    float: left;
    width: 100%;
    height: 100%;
    padding-bottom: 75px;
}

.no-padding{
    padding-bottom: 0px !important;   
}

.site-content {
    margin-left: 235px;
    margin-top: 0px;
    height: 100%;
    overflow: auto;
    padding: 25px 20px 0 20px;
    background-color: white;
    overflow-x: hidden;
}
.site-footer {
    clear: both;
    font-size: 13px;
    padding: 8px 0 5px 0;
    text-align: center;
    color: #ccc;
    background-color: #333;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.site-footer-no-background {
    background: none;
}
.margin-bottom-15 { margin-bottom: 15px; }
.margin-bottom-30 { margin-bottom: 30px; }

.not-found-404{
    font-size: 150px;
    text-align: center;
}
.not-found{
    font-size: 25px;
    text-align: center;
}

.warn-message{
    text-align: center;
    font-size: 18px;
    color: #8a6d3b;
    background-color: #fcf8e3;
}

/* Sidebar
------------------------------------------------------*/
#site_search_box {
    width: 150px;
    display: inline-block;
}
.navbar {
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    background-color: #73B491;
    /*background-color: #428bca;*/
}
.navbar-header { 
    color: #FFF; 
}
.site-sidebar {
    padding: 0;
    margin-top: 20px;
}
.site-sidebar .site-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-sidebar .site-sidebar-menu > li {
    display: block;
    margin: 0;
    padding: 0;
    border: 0px;
}
.site-sidebar .site-sidebar-menu > li > a {
    display: block;
    position: relative;
    margin: 0;
    border: 0px;
    padding: 20px 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;    
}
.site-sidebar-menu a { color: black; }
.site-sidebar-menu a:hover { text-decoration: none; }
.site-sidebar-menu li.sub .site-submenu { display: none; }
.site-sidebar-menu li.sub.open .site-submenu { display: block; }
.site-submenu { padding-left: 0; }
.site-submenu li {
    list-style: none;
    background-color: #DFDFDF;
}
.site-submenu li a {
    display: block;
    padding: 20px 45px;
    margin: 0;
}
.site-sidebar-menu > li.sub.open > a {
    background-color: rgba(145,145,145,0.3);
}
.site-sidebar-menu >li.active, .site-submenu >li.active{
    background-color: #73B491;
    /*background-color: #428bca;*/
}

.site-sidebar .site-sidebar-menu>li>a:hover, .site-submenu li > a:hover {
    /*background-color: rgba(66,139,202,0.3);*/
    background-color: rgba(115,180,115,0.3);
}

.site-sidebar .site-sidebar-menu > li > a > i {
    font-size: 16px;
    top: 2px;
    margin-top: 1px;
    margin-left: 1px;
    margin-right: 4px;
    display: inline-block;
    width: 1.25em;
    text-align: center;
}

/* Charts 
--------------------------------------------*/
.site-chart-box {
    display: inline-block;
    text-align: center;
    padding: 20px 30px 30px 0;
}

/* tables.html
------------------------------------------*/
#site_sort_btn { margin-bottom: 20px; }

/* Bootstrap overrides
----------------------------------------------*/
.nav-pills>li>a, .nav-tabs>li>a, .alert, .progress, .panel, .btn, .panel-group .panel, .form-control, .modal-content, .breadcrumb {
    border-radius: 0;
}
.list-group-item:first-child, .panel-heading {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-control-feedback { right: 15px; }

.modal-backdrop { position: static !important; }

/*.row-margin{ margin-bottom: 105px; }*/

.modal { top: 25px;}

/* Login
------------------------------------------*/
.panel-head-logo{
    padding: 15px; 
    text-align:center; 
    background:#0067a2;
    color:#FFF
}

.panel-head-logo h1{ font-size: 32px;}

.panel-white-transparent{ background:rgba(255, 255, 255, 0.6); }

.panel-head-login{ padding: 15px; }

.panel-connexion { min-height: 392px; }

#panel-presentation img{ width: 300px}

.introduction-text{
    text-align: center;
    font-size:20px;
    color:#333;
    letter-spacing: 1px;
}

.login-background{
    margin-left: 0px;
    background: url(/img/bkg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-size: 100% 100%;
}

/* COOKIES
------------------------------------------*/
#cookieLaw {
    position: fixed;
    bottom: 45px;
    right: 10px;
    z-index: 2001;
    padding: 10px;
    border: 1px solid #ECE9E5;
    background:#FFF;
    width: 400px;
}

.cookie-textmessage{
    font-size: 13px;
    letter-spacing: 1px;
}
#cookieLaw a{
    text-align: right;
    line-height: 34px;
}


/* ALARMES
------------------------------------------------------*/
#alarm {
    z-index: 1;
    position: fixed;
    width: 100%;
    bottom: 41px;
}

#alarm>div>.alarm__content>.table{
    margin-bottom: 0px !important;
}

.alarm__content {
    clear: both;
    padding: 0px 0 5px 0;
    background-color: #f2dede;
}

.alarm__heading {
    clear: both;
    padding: 8px 0 5px 0;
    text-align: center;
    color: #fff;
    background-color: #a94442;
    /*margin-left: 235px;*/
}

.alarm__heading>a{
    font-weight: bold;
    color:inherit;
    text-decoration: none;
}

.alarm__heading>a:hover {
    cursor: pointer; 
    -moz-animation:flash .4s linear;
    -webkit-animation:flash .4s linear;
}

/* ANIMATE
------------------------------------------------------*/
blink {
    display: inline;
    color: #a94442;
    animation: blink 1s steps(1) infinite;
    -webkit-animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { color: transparent; } }
@-webkit-keyframes blink { 50% { color: transparent; } }

/* Media Queries
------------------------------------------------------*/
@media screen and (max-width: 1280px){
    .introduction-text{ font-size: 18px; }
    .panel-connexion { min-height: 382px; }
    #panel-presentation img{ width: 250px}
}

@media screen and (min-width: 992px) {
    .site-sidebar {
        width: 235px;
        float: left;
        position: relative;
        margin-right: -100%;
    }
    #alarm {
        padding-left: 235px;
    }
}
@media screen and (max-width: 991px) {
    .navbar-form {
        padding: 0;
        margin-left: 0;
    }
    .navbar-header { 
        float: none; 
    }
    .navbar-toggle { 
        display: block; 
        float: left;
        margin-left: 10px;
        border: none ;
    }
    .navbar-toggle:focus, .navbar-toggle:hover {
        background: none!important; 
    }
    .site-sidebar {
        border-top: 0 !important;
        margin: 20px;
    }
    .site-sidebar.navbar-collapse.collapse {
        display: none !important;
    }
    .site-sidebar.navbar-collapse.in {
        border-top: 0 !important;
        margin: 20px;
        position: relative;
        overflow: hidden !important;
        overflow-y: auto !important;
        display: block !important;
    }

    .site-content-wrapper { float: none; }
    .site-content { margin: 0; }
}
@media screen and (max-width: 767px) {
    .site-chart-box {
        padding-right: 0;
    }
}

@media screen and (max-height: 679px){
    .panel-chart {
       /*margin-bottom: 100px;*/
    }
}

@media screen and (min-height: 900px){
    #site-line-chart {
        max-height: 645px;
        margin-bottom: 0px;
    }
}
