
a {
    cursor: pointer;
}

/* =================== HEADER =================== */
.nav-wrapper {
    padding: 0;
}

/* make sidebar on/off work on mobiles (brand logo is hover sidebar button) */
 .navbar-header .navbar-brand {
    margin-left: 2.4em;
    padding: 0 0 0.5em;
    width: auto;
}

/* =================== LOADER =================== */
.winflow-app-container {
    padding: 0;
    position: relative;
}
#loader-container {
    background-color: grey;
    color: white;
    height: 0;
    font-size: 2em;
    left: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 0;
    transition-property: opacity;
    transition-duration:0.5s;
    width: 100%;
    z-index: 9999;
}
#loader-container.active {
    height: 100%;
    padding-top: 16%;
    opacity: 0.6;
    transition-property: opacity;
    transition-duration:0.5s;
}

/* =================== TMP =================== */
.winflow-sources .sources {
    display: none;
}

.selection-libre {
    display: none;
}


/* =================== EXPORT =================== */
body.export_body {
    orphans: 2;
    widows: 2;
    height: auto;
    overflow: auto;
    font-size: 1em;
}
body.export_body .app {
    padding: 0;
}
body.export_body section {
    padding: 0 !important;
    box-shadow: none !important;
}
body.export_body section {
    width: 100% !important;
    background-color: #fff;
    margin: 0 !important;
    position: relative !important;
    top: 0;
    left: 0 !important;
}
body.export_body .panel {
    border: none;
    box-shadow: none;
    margin: 0;
}
body.export_body .panel .panel-heading {
    padding: 0;
}
body.export_body .panel-data-table .panel-heading {
    display: none;
    border: none;
}

/*body.export_body section .winflow-dashboard {
    width: 900px !important;
}*/

body.export_body .data-table th,
body.export_body .data-table td {
    font-size: 1.2em;
}

body.export_body .btn {
    background-color: transparent;
    border: 0 none;
    box-shadow: none;
}

body.export_body .amcharts-zoom-out-image,
body.export_body .amcharts-zoom-out-label,
body.export_body .dropdown-menu,
body.export_body header,
body.export_body aside {
    display: none;
}

body.export_body section .winflow-dashboard .row,
body.export_body section .col-md-1,
body.export_body section .col-md-2,
body.export_body section .col-md-3,
body.export_body section .col-md-4,
body.export_body section .col-md-5,
body.export_body section .col-md-6,
body.export_body section .col-md-7,
body.export_body section .col-md-8,
body.export_body section .col-md-9,
body.export_body section .col-md-10,
body.export_body section .col-md-11,
body.export_body section .col-md-12 {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.export_body_btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    z-index: 115;
    cursor: pointer;
}

/* =================== PRINT =================== */
body.print_body {
    orphans: 2;
    widows: 2;
    height: auto;
    overflow: auto;
    font-size: 1em;
}
body.print_body section {
    padding: 0 !important;
    box-shadow: none !important;
}
body.print_body section {
    width: 100% !important;
    background-color: #fff;
    margin: 0 !important;
    position: relative !important;
    top: 0;
    left: 0 !important;
}

body.print_body section .winflow-dashboard {
    width: 600px !important;
}
body.print_body section .winflow-dashboard .row,
body.print_body section .col-md-1,
body.print_body section .col-md-2,
body.print_body section .col-md-3,
body.print_body section .col-md-4,
body.print_body section .col-md-5,
body.print_body section .col-md-6,
body.print_body section .col-md-7,
body.print_body section .col-md-8,
body.print_body section .col-md-9,
body.print_body section .col-md-10,
body.print_body section .col-md-11,
body.print_body section .col-md-12 {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.print_body .btn,
body.print_body .dropdown-menu,
body.print_body header,
body.print_body aside {
    display: none;
}

/*body.print_body .amcharts-legend-div,
body.print_body  .amcharts-chart-div {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}*/

#amcharts-legend {
    position: relative;
}

/* =================== SIDEBAR =================== */
.sidebar .winflow-sidebar,
.winflow-sidebar ul.nav {
    padding-bottom: 0;
}
.winflow-sidebar .sidebar-subnav ul {
    padding-left: 1.2em;
    margin: 0 0 1em;
}
.winflow-sidebar .sidebar-subnav li,
.winflow-dashboard .panel-body li {
    list-style-type: none;
}

.winflow-sidebar .sidebar-subnav .radio input[type="radio"],
.winflow-sidebar .sidebar-subnav .radio-inline input[type="radio"],
.winflow-sidebar .sidebar-subnav .checkbox input[type="checkbox"],
.winflow-sidebar .sidebar-subnav .checkbox-inline input[type="checkbox"] {
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 1;
}

/* =================== SOURCES =================== */
.winflow-sidebar .sidebar-subnav {
    padding-left: 15px;
    padding-right: 5px;
    background-color: #f1f2f3;
}

.winflow-sources .site {
    margin: 2px 0 5px;
}
.winflow-sources .selected::before {
    content: "> ";
}
.winflow-sources .selected {
    text-decoration: underline;
}
.winflow-sources .site ul {
    margin: 5px 0 15px;
    /*display: none;*/
}
.winflow-sources label {
    margin-bottom: 0;
    cursor: pointer;
}
.winflow-sources ul .site label span {
    position: relative;
    top: 3px;
}
.winflow-sources label span {
    position: relative;
    top: 3px;
}
.winflow-sources li .sidebar-item-icon {
    float: right;
    margin-right: 10px;
    position: relative;
    top: 2px;
}
.winflow-sources .site ul .source {
    margin: 0;
    line-height: 1.8em;
}


/* =================== CALENDAR =================== */
.winflow-sidebar .calendar .form-control,
.winflow-dashboard .panel .calendar .form-control {
    height: 100%;
}

.winflow-sidebar .calendar .well-sm {
    padding: 1px 0 0 0;
    border-radius: 4px;
    margin-bottom: 5px;
}
.winflow-sidebar .calendar .well-sm table {
    width: 100%;
}
.winflow-sidebar .calendar .well-sm table tr button.btn {
    /*padding: 0.7em 0.59em;*/
    padding: inherit;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    text-transform: capitalize;
    /*background-color: */
}
.winflow-sidebar .calendar .well-sm table tr button.btn-sm {
    padding: 0.4em 0.64em;
}
.calendar .well-sm table tr button.displayed {
    background-color: #D7ECFF;
}
.calendar .well-sm table tr button.btn-info {
    background-color: #2095f2;
}
.calendar .well-sm table tr td button.btn-info span.text-info {
    color: #ffffff;
}
.winflow-sidebar .icon_today span {
    font-size: 0.7em;
    font-weight: bold;
    left: 0;
    position: absolute;
    text-align: center;
    top: 34%;
    width: 100%;
}

/* =================== TABLE =================== */
.data-table tbody tr td {
    padding: 6px 8px;
    vertical-align: middle;
}
.data-table tbody tr .white {
    color: #ffffff;
}


/* =================== PANELS =================== */
 .panel-heading {
    line-height: 2.3em;
}
.panel-charts .panel-heading a {
    float: right;
    margin-left: 0.6em;
}

.panel-charts .panel-body {
    position: relative;
}
.panel-charts .panel-body a.link-right {
    position: absolute;
    right:0.5em;
    top:0.5em;
    z-index: 1;
}


.panel-fix-height {
    height: 100px;
}
.panel-fix-height > .bottom-right {
    position: absolute;
    bottom: 1em;
    right: 1em;
}


/* =================== CHARTS =================== */
.amcharts-chart-div > a {
    display: none !important;
}

.chartwrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px 10px;
}
.chartdiv {
  position: relative;
  width: 100%;
  height: 100%;
}
.chartcontainer {
  position: absolute;
  top: -10%;
  left: -25%;;
  width : 150%;
  height : 140%;
}



/* =================== MAINTENANCE =================== */
.maintenance {
    font-family: "Roboto",Helvetica,Arial,sans-serif;
    text-align: center;
    padding: 0.5em 0 0;
    font-size: 1.5em;
    color: #585f69;
}
.maintenance p {
    font-size: 2em;
    font-weight: bold;
}
