h1, h2, h3, h4 {
    font-family: "century gothic";
    margin-bottom: 1em;
}

a, a:hover {
    text-decoration: none;
}

.dashboard-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.dashboard-wrapper--secondary {
    margin: 2em auto;
}

.dashboard-table {
    margin-bottom: 15px;
}

#shift-message {
  display: none;
  padding: 1em 0;
}

@media (max-width: 600px) {

    #page-content-wrapper {
        margin-top: 100px;
        width: 100%;
    }

    .navbar {
        min-height: 100px;
        margin-bottom: 20px;
        border: 1px solid transparent;
    }
}

@media (min-width: 601px) {

    #page-content-wrapper {
        width: 100%;
        margin-top: 50px;
    }
}

.chosen-container-multi .chosen-choices li.search-field input[type=text] {
    margin: 1px 0;
    padding: 5px;
    height: 25px !important;
    outline: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none;
    color: #666;
    font-size: 100%;
    font-family: sans-serif;
    line-height: normal;
    border-radius: 0;
}

#wrapper {
    padding-left: 250px;
    transition: all 0.4s ease 0s;
}

#sidebar-wrapper {
    margin-left: -250px;
    left: 250px;
    width: 250px;
    background: #ebebeb;
    position: fixed;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.3s ease 0s;
    border-right: 1px solid lightgrey;
}

.btn-top {
    margin-top: 80px;
}

.clear-left {
    clear: left;
}

.table-button {

    margin-bottom: 15px;

}

.download-report-button {
    display: none;
    /* this isn't working at the moment */
}

@media (max-width: 767px) {

    #wrapper {
        padding-left: 42px !important;
    }

    #sidebar-wrapper {
        width: 42px;
    }

    #wrapper.active {
        position: relative !important;
        left: 250px !important;
    }

    #wrapper.active #sidebar-wrapper {
        left: 250px !important;
        width: 250px !important;
        transition: all 0.4s ease 0s !important;
    }

 .panel-title {
       padding: 15px 0 13px !important;
   }

 #panel-heading-hidemenu .panel-title {
       padding: 15px 0 13px !important;
   }

 #panel-heading-hidemenu a {
       padding-left: 43px !important;
   }

.collapsible {
      padding-left: 43px;
  }
}

.td-currency {

    text-align: right;
    padding-right: 20px !important;

}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {

    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-right: 0px;

}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding-top: 8px;
    padding-bottom: 5px;
    padding-left: 8px;
    padding-right: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

th.sorting_asc,
th.sorting_desc {

    background-color: #E1F2FC;

}

.messages {

    width: 90%;
    margin: 0 auto;
    padding-top: 20px;

}

#logo {
    width: 173px;
    height: 40px;
    background: url('../images/smartfuel-logo.png') no-repeat 0 0;
    margin-top: 5px;
    margin-left: 35px;
}

#log {
    height: 30px;
    padding-top: 20px;
    padding-right: 20px;
    text-align: right;
}

#modal_loading {

    display: none;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.9) url('../images/UI/ajax-loader.gif') 50% 50% no-repeat;
}

body.loading {
    overflow: hidden;
}

body.loading #modal_loading {
    display: block;
}

.chart {
    width: 95%;
    height: 520px;
    -webkit-transition: opacity 2s ease-in;
    -moz-transition: opacity 2s ease-in;
    -o-transition: opacity 2s ease-in;
    -ms-transition: opacity 2s ease-in;
    transition: opacity 2s ease-in;
    margin: 0 auto;
    margin-bottom: 60px;
    margin-top: 25px;
    border: 1px solid #d3d3d3;
    padding: 15px;
}

.chart-hidden {
    display: none;
}

.chart.line-chart {
    height: 560px;
}

.smartfuel-navbar {

    background-color: #ebebeb;
    border-bottom: 1px solid lightgrey;

}

.panel-title {
    width: 250px;
    margin-top: 0;
    margin-bottom: 0;
    color: inherit;
    padding: 15px 0px 13px 43px;
    font-size: 1.35em;

}

#login-box-wrapper {

    margin-top: 50px;

}

.smartfuel-form {

}

.login-form .input-block-level {

    width: 100%;
    margin-bottom: 15px;
    border-radius: 3px;
    font-size: 1.3em;
    padding: 2px;

}

#smartfuel-login-logo {

    width: 170px;
    height: 40px;
    background: url("../images/smartfuel-logo.png") no-repeat transparent;
    margin: 0 auto;

}

body#login-body {
    background-color: #f5f5f5;
}

#login-box {
    width: 420px;
    padding: 30px;
    margin: 0 auto;
    border: 1px solid lightgrey;
    border-radius: 6px;
    background-color: white;
}

.panel-heading {
    background-position: 10px center;
    background-repeat: no-repeat;
}

#panel-heading-hidemenu {
    background-image: url('../images/UI/menu-button.png');
    cursor: pointer;
}

#panel-heading-sites_management {
    background-image: url('../images/UI/sites-button.png');
}

#panel-heading-reports {
    background-image: url('../images/UI/graph-button.png');
}

#panel-heading-security {
    background-image: url('../images/UI/security-button.png');
}

#panel-heading-suggestions_feedback {
    background-image: url('../images/UI/contact-button.png');
}

#panel-heading-fleet_travel_logs {
    background-image: url('../images/UI/fleet-logs.png');
}
#panel-heading-loyalty {
    /* TODO: Find image for loyalty */
    background-image: url('../images/UI/fleet-logs.png');
}


/* Comments section */

.comments {
  border: 1px solid #CCC;
}

.comments__title {
  background-color: #ebebeb;
  margin: 0;
  padding: 1em;
}

.comments__list,
.comments__form-to-add {
  padding: 1em;
}


.comments-form-wrapper {
  border: 1px solid #CCC;
  border-radius: 5px;
  margin: 1em 0;
  padding: 1em;
}

.comments-form textarea {
  border-radius: 5px;
  padding: 1em;
  width: 100%;
}

.comments-form__user-field {
  font-size: 1em;
  font-weight: 700;
}

.comments-form__edit-field {
  display: none;
}

.comments-form__actions {
  margin-top: 1em;
}

@media (min-width: 768px) {
    .navbar-header {
        float: none;
    }
}

.panel {
    color: black;
    font-family: "Century Gothic", "century gothic", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", "Arial" sans-serif;
    margin-bottom: 0px;
    background-color: transparent;
    border: none;
    border-radius: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.graph_title {

    font-family: Helvetica, Arial;
    font-weight: normal;
    text-align: center;
    font-size: 14px;

}

.bold {

    font-weight: bold;
}

div.dataTables_length label {
    width: 460px;
    float: left;
    text-align: left;
}

div.dataTables_length select {
    width: 75px;
}

div.dataTables_filter label {
    float: right;
    width: 460px;
}

div.dataTables_info {
    padding-top: 8px;
}

div.dataTables_paginate {
    float: right;
    margin: 0;
}

table {
    margin: 1em 0;
    clear: both;
}

.panel-body {
    padding: 0px;
    background-color: #f3f3f3;
    margin-bottom: 2px;
    margin-top: 2px;
}

.panel-heading {
    padding: 0px 0px;
    border-bottom: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    text-transform: uppercase;
}

.sidebar-submenu-item {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 50px;
    background: url('../images/UI/tiny-right-arrow-gold.png') center no-repeat;
    background-position: 35px 8px;
    font-size: 1em;
    min-width: 250px;
}

.sidebar-submenu-item1 {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 30px;
    background: url('../images/UI/tiny-right-arrow-gold.png') 8px center no-repeat;
    font-size: 1em;
    min-width: 250px;
}

.sidebar-submenu-item1 a {
    color: black;
    width: 100%;
}

.sidebar-submenu-item a {
    color: black;
    width: 100%;
}

.panel-group .panel-heading + .panel-collapse .panel-body {
    border-top: none;
}

.separate-2px-h-dark {

    width: 100%;
    height: 2px;
    background: url('../images/UI/separate-2px-h-light.png') repeat-x;
    display: block;
    padding: 0 0 0 0;
    margin: 1px 0 1px 0;

}

.messages {
    margin-bottom: -20px;
}

.nav-tabs {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

table.dataTable tr.odd {
    background-color: inherit;
}

table.dataTable tr.even {
    background-color: inherit;
}

table.dataTable tr.odd td.sorting_1 {
    background-color: inherit
}

table.dataTable tr.even td.sorting_1 {
    background-color: inherit
}

table.dataTable .sorting_asc, .sorting_desc {
    background-color: #E1F2FC !important;
}

div.ColVis {
    float: left;
    clear: both;
}

div.DTTT_container {
    float: right;
}

div#transactions-data tr.coloured.odd {
    background-color: #f9f9f9;
}

div#transactions-data tr.coloured.even {
    background-color: #f9f9f9;
}

div.coltoggles {
    display: none;
    background-color: #f5f5f5;
    border: 1px solid darkgrey;
    position: absolute;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 5px;
    margin-top: 3px;
    z-index: 10;
}

div#bg_fader_colToggle {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background-color: darkgrey;
    display: none;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
}

label.colToggleLabel {
    cursor: pointer;
}

div#transactions-hidden {
    display: none;
}

.fr {
    float: right;
}

.toggle-btn-cols {
    margin-bottom: 15px;
}

.accounts-fuel-usage-transaction-manual, .accounts-fuel-usage-transaction-manual > td {
    background-color: rgba(36, 90, 149, 0.15)!important;
}

.min_0_to_15 {
    background-color: lightgreen;
}
.min_15_to_30 {
    background-color: darkgreen;
}
.min_30_to_60 {
    background-color: yellow;
    color: black;
}
.min_60_to_24_hours {
    background-color: red;
}
.hours_24_to_48 {
    background-color: blue;
}
.greater_than_48_hours {
    background-color: orange;
}

.panel-heading .accordion-toggle h4:before {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: left;
    color: grey;
    overflow: no-display;
    padding-right: 20px;
    padding-left: 0px;
}
.panel-heading .accordion-toggle.collapsed h4:before {
    /* symbol for "collapsed" panels */
    content: "\e080";
}
a.accordion-toggle{
    text-decoration: none;
}

.pushme {
  display: block;
  border-radius: 0;
  background: inherit;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.onoffswitch {
    position: relative; width: 55px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    height: 20px; padding: 0; line-height: 20px;
    border: 0px solid #FFFFFF; border-radius: 30px;
    background-color: #9E9E9E;
}
.onoffswitch-label:before {
    content: "";
    display: block; width: 30px; margin: -5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 31px;
    border-radius: 30px;
    box-shadow: 0 6px 12px 0px #757575;
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: #42A5F5;
}
.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
   border-color: #42A5F5;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0px;
    background-color: #2196F3;
    box-shadow: 3px 6px 18px 0px rgba(0, 0, 0, 0.2);
}

.odometer-reading-field {
    display: none;
}
