body > #wrapper{
    background-color: #364150;
    margin-top: 20px;
}

#page-wrapper{
    background-color: #f8f8f8;
    height: 750px;
    padding: 40px;
}

.form-control,.btn,.label,.panel{
    border-radius: 0;
    box-shadow: none;
}

.form-group.loading{
    background: url(../img/loading-sm.gif) no-repeat right top;
}

.chosen-container-single .chosen-single{
    border-radius: 0;
}

.breadcrumb {
    padding: 15px 15px 8px 15px;
    margin-bottom: 0;
    list-style: none;
    background-color: transparent;
    border-radius: 4px;
}

.logo{
    margin: 4px 0 0 18px;
    max-height: 45px;
}

.navbar-default{
    background-color: #2B3643;
    background-image: linear-gradient(141deg, #505c6b 0%, #0067ac 51%, #337ab7 75%);
    color: white;
    opacity: 0.95;
    height: 52px;
    border: none;
}

.sidebar{
    background: #364150;
}
.sidebar a{
    color: #B4BCC8;
    outline:0 !important;
}

.sidebar ul li{
    border: none;
}


.sidebar .dropdown{
    border-bottom: solid 1px #2B3643;
}

.sidebar .caret{
    float: right;

    border-right: 4px dashed;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-top: 5px;
}

.sidebar .active .caret{
    float: right;

    border-top: 4px dashed;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.sidebar-nav.navbar-collapse{
    border: none;
}

.sidebar ul li a.active{
    background: #3E4B5C;
    border-left: 4px solid #36c6d3;
    color: #f1f1f1;
    padding-left: 33px;
}

.sidebar .nav.nav-second-level{
    background-color: #3a4656;
}

.navbar-default .btn-link:hover, .navbar-default .btn-link:focus{
    color: #f1f1f1;
}

.sidebar .nav > li > a:hover, .sidebar .nav > li > a:focus{
    background-color: #3E4B5C;
}

.sidebar .nav .open > a, .sidebar .nav .open > a:hover, .sidebar .nav .open > a:focus{
    background-color: #3e4b5c!important;
    background-color: #3A4656;
}

/* sidebar modif */

/* sidebar */

.sidebar-toggle {
    position: absolute;
    margin: 11px 0 0 6px;
    padding: 4px;
    cursor: pointer;
}

.sidebar-toggle .icon-bar{
    background-color: white;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    position: relative;
    margin-top: 4px;
}

.sidebar ul li {
    background-color: #2E3C54;
    border-bottom: 1px solid #3F5273;
}

.sidebar ul li a {
    color: #FFF;
}

.sidebar a + .collapse in{
    background-color: #3F5273;
}

.sidebar ul li a.active {
    background-color: #3F5273;
}

.sidebar ul li a:hover,
.sidebar ul li a:focus {
    background-color: #1B2331;
}

.sidebar .fa-fw{
    padding-right: 32px;
}

.sidebar{
    left: -210px;
    height: 100vh;
    background-color: #2E3C54;
}

.sidebar .badge-news{
    position: absolute;
    right: -4px;
    top: -4px;
    background :#F58220
}

#page-wrapper{
    margin-left: 40px;
}

.login-bg{
    background: url('../img/home.jpg') no-repeat fixed center top;
    background-size: cover;
}

.login-panel{
    margin-top: 5%;
    border: none;
}

.login-title{
    margin-top: 15%;
    font-size: 20px;
    color: #093f89 !important;
    font-weight: bold;
}

.login-panel .btn-primary{
    background-color: #093F89;
}

.login-panel .panel-heading{
    text-align: center;
    padding: 20px;
    color: white;
    background-color: #093F89;
}

.login-panel .panel-heading span{
    display: block;
    padding-top: 8px;
    font-size: 24px;
    vertical-align: middle;
}   

.panel-body .panel-title{
    margin: 10px 0 20px 0;
    font-size: 24px;
}

.grid-view{
    overflow-x: auto;
}

.text-large{
    font-size: 24px;
}




.profile{
    background-color: #3e4b5c;
    padding: 20px;
    color: #f1f1f1 !important;
    border-bottom: solid 1px #2B3643;
    text-decoration: none !important;
    display: block;
}

.profile img, .avatar{
    margin-right: 10px;
    float: left;
    border-radius: 50%;
    max-width: 100%;
    width: 200px;
    height: 200px;
}


.profile img{
    width: 40px;
    height: 40px;
}

.profile span{
    color: #B4BCC8;
    font-size: small; 
}


.list-profile{
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #eee;
}

.list-profile img{
    margin-right: 10px;
    float: left;
    border-radius: 50%;
    max-width: 100%;
    width: 40px;
    height: 40px;
}

.list-profile span{
    color: #B4BCC8;
    font-size: small; 
}

.panel .danger{
    color: #f36a5a;
}

.panel .warning{
    color: #FF9800;
}

.panel .success{
    color: #2ab4c0;
}

.panel .info{
    color: #5C9BD1;
}

.panel .default{
    color: #8877a9;
}

.panel .summary{
    float: left;
    border-bottom: none;
}

.panel-pager{
    border-top: 1px solid #ddd;
}

.kv-loader{
    background: #fff url('../img/loading.gif') center center no-repeat!important;
    left: 40%;
    top: 40%;
}

.container-fluid form{
    background: #fff;
    padding: 20px 30px 20px 30px;
    border: 1px solid #ddd;
}

.clearform form, form.clearform{
    background: transparent;
    padding: 0;
    border: none;

}

.modal-content form{
    padding: 0;
}

.detail-view td{
    border-right: none !important;
}

.table-calendar {
    max-width: 100%;
}

.table-calendar td{
    cursor: pointer;
}


.table-calendar td:hover{
    background-color: #f0f0f0;
    /*color: #5cb85c;*/
    /*color: #2ab4c0;*/
}


.table-calendar td.empty, .table-calendar td.empty:hover{
    cursor: not-allowed;
    background-color: #f9f9f9 !important;
}


.table-calendar td.active{
    background-color: #2ab4c0 !important;
    background-color: #5cb85c !important;
    color: #fff;
}

img.thumb{
    max-height: 100px;
    max-height: 100px;
}

.text-muted a{
    color: #777;
}

.leaflet-popup-content h5{
    margin: 0;
}
.leaflet-popup-content p{
    margin: 4px 0 !important;
}

@media(min-width:768px) {
    .sidebar {
        margin-top: 52px;
    }
    
    .table-sm .table td{
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media(max-width:767px) {

    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    body > #wrapper{
        margin-top: 100px;
    }

    .sidebar-toggle{
        display: none;
    }
    
    .navbar-brand {
        margin-left: 0;
    }

    .sidebar{
        height: auto;
    }

    .sidebar .badge-news{
        right: 0;
    }

    #page-wrapper{
        margin-left: 0 !important;
        padding: 0;
    }

    .form-control.no-max{
        width: 100% !important;
        margin-bottom: 2px;
    }

    .btn-mobile{
        display: inline-block;
    }

    .btn-hide-sm{
        display: none;
    }


}

/*jumbotron modif */

.jumbotron {
    background: #fff;
    padding: 50px;
    margin-top: 0px;
    border: 1px solid #ddd;
}
.container .jumbotron, .container-fluid .jumbotron {
    border-radius: 0px;
}
.jumbotron p {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 200;
}
.thumbnail {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #ffff;
/*    border: 1px solid #ddd;*/
    border-radius: 0px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
 /*   box-shadow: 0 0px 10px 0px rgba(0,0,0,0.1) !important;*/
}

.caption-dash{
    
    padding: 0px 10px 10px 20px;
}

.thumbnail-report {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #ffff;
    border-radius: 0px;
    -webkit-transition: border .2s ease-in-out;
    -o-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
    box-shadow: 0 0px 10px 0px rgba(0,0,0,0.1) !important;
}

.caption-report{
    width: 50px;
    padding: 0px 10px 10px 20px;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #d4d4d4;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout-warning {
    border-left-color: #2b3643;
}

.navbar-top-links {
    margin-right: 0;
    height: 52px;
    background-color: #337ab7;
    opacity: 0.95;
}

.navbar-default .btn-link {
    color: #e2e2e2;
}

.dash{
    max-width: 100%;
    width: 90px;
}

 
 .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    max-height: 10000px;
}

.side-menu{
    height: 24000px;
}

.chart-index{
    padding-top: 40px; 
}

.img{
    max-width: 90px;
}
/* Modal Image */
#myImg, .popup-img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    max-width: 100%;
}
.popup-img {
    max-width: none;
}

#myImg:hover, .popup-img:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 490px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.modal .close {
    position: absolute;
    top: 95px;
    right: 85px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.mapid { 
    height: 180px; 
}

.body-callout{
    box-shadow: 0 0px 10px 0px rgba(0,0,0,0.1) !important;
}

.panel-form {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
}

.panel-default{
    border: none;
}
