﻿body {
    padding-top: 125px;
    padding-bottom: 80px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 300px;
}
.input-small-1 {
    max-width: 140px;
    margin-right: 20px;
}
.input-small-2 {
    max-width: 140px;
}

.selectize-input {
    max-width: 300px;
}

textarea.note-codable {
    max-width: unset;
}

.input-qty {
    max-width: 50px;
    text-align: right;
    max-height: 30px;
    padding: 6px 3px;
}


.navbar > .container {
    width: 100% !important;
    max-width: 100% !important;
}

.navbar-nav {
    margin-top: 35px;
}

.navbar-inverse {
    background-color: #A1E2F5;
    border-color: #A1E2F5;
}

    .navbar-inverse .navbar-nav > li > a {
        color: #202C54;
        fill: #202C54;
    }

.navbar-collapse .navbar-nav.navbar-right:last-child {
    margin-right: 65px;
    margin-top: 35px;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    background-color: transparent !important;
}

/*.navbar-nav > li > .dropdown-menu {
    background: #202C54;
}

.dropdown-menu > li:not(:last-child) {
    border-style: solid;
    border-color: #FFFFFF;
    border-bottom-width: 2px;
}

.dropdown-menu > li > a {
    color: #FFFFFF;
    padding: 13px 20px;
}

    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        background-color: #A1E2F5;
        color: #202C54;
    }


.dropdown-menu{
    border-radius: 0px !important;
}*/

/*.navbar-nav > li > .dropdown-menu {
    padding: 0;
    margin: 0;
    border: none;
}
*/

.navbar-brand {
    height: 115px !important;
    padding: 11px 0 25px 0 !important;
    margin: 2px 50px 0px 45px !important;
}

    .navbar-brand img {
        height: 100%;
    }

    .navbar-brand span {
        display: block;
        color: #202c54 !important;
        font-size: 30px;
        font-family: "Poppins", Sans-serif;
        font-weight: 500;
        word-spacing: 15px;
        letter-spacing: 1px;
        padding-left: 13px;
        position: relative;
        top: -5px;
    }

.footer-panel {
    text-align: center;
    color: #fff;
    background: #202c54;
    max-height: 45px;
}

    .footer-panel > p {
        padding: 15px 0 10px;
    }


.login-form {
    padding: 35px;
    margin-top: 30px;
    background: #a1e2f5;
    border-radius: 40px;
    min-height: 244px;
}

    .login-form .form-horizontal .form-group {
        margin-right: 0;
        margin-left: 0;
    }

    .login-form .form-control {
        max-width: 100%;
        color: #202C54;
        border: none;
        font-family: "Poppins", Sans-serif;
    }

    .login-form .btn-default {
        padding-left: 30px;
        padding-right: 30px;
        font-family: "Poppins", Sans-serif;
    }

    .login-form h2 {
        font-size: 40px;
        font-family: "Poppins", Sans-serif;
        font-weight: 500;
        color: #fff;
        text-align: center;
    }
    .login-form label {
        font-family: "Poppins", Sans-serif;
    }
    .login-form .btn-default {
        font-family: "Poppins", Sans-serif;
    }

.midnight {
    background-color: #202c54 !important;
    color: #fff;
}

.btn-default, .btn-primary {
    /* padding: 11px 21px !important; */
    /* margin: 0 !important; */
    /* font-size: 16px !important; */
    /* line-height: 1.33 !important; */
    border-radius: 35px !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    /* border: 1px solid transparent; */
    cursor: pointer !important;
    display: inline-block;
}

.energy-ease-color {
    color: rgb(240, 82, 45);
}

.btn-primary {
    color: #fff;
    background-color: rgb(214, 56, 90);
    border-color: rgb(214, 56, 90)
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #080808;
  border-color: #080808;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-on,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-on {
  color: #fff;
  background: rgb(240, 82, 45);
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-off,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-off {
  color: #fff;
  background: #080808;
}

.panel-body-thin-padding {
    padding: 5px;
}

.no-margin {
    margin: 0;
}
.no-bottom-margin{
    margin-bottom: 0;
}

.glyphicon {
    font-size: 18px;
}

.well-error {
    background: rgb(255, 127, 127);
}

.well-success {
    background: rgb(127, 255, 127);
}

.well-warning {
    background: #ffbb00;
}

.list-group-item-dark {
    color: #ffffff;
    background-color: #333333;
}

.list-group-item-danger {
    color: #721c24;
    background-color: #f5c6cb;
}

.list-group-item-overdue {
    color: #000000;
    background-color: #f58442;
}

.popover.clockpicker-popover {
    z-index: 999999 !important;
}

tr.webgrid-deal-index-row td:nth-child(4) {
    white-space: nowrap;
}

tr.webgrid-deal-index-header th:nth-child(7),
tr.webgrid-deal-index-row td:nth-child(7) {
    text-align: right;
}

tr.webgrid-deal-file th:nth-child(4),
tr.webgrid-deal-file td:nth-child(4) {
    text-align: right;
}

tr.webgrid-activity-header th:nth-child(n+2),
tr.webgrid-activity-row td:nth-child(n+2) {
    text-align: right;
}

tr.webgrid-activity-row td:nth-child(even) {
    background-color: #f9f9f9;
}

table.webgrid-activity-table tbody tr:last-child {
    font-weight: bold;
}


tr.webgrid-pipeline-header th:nth-child(n+2),
tr.webgrid-pipeline-row td:nth-child(n+2) {
    text-align: right;
}

tr.webgrid-pipeline-row td:nth-child(n+6) {
    background-color: #f9f9f9;
}

table.webgrid-pipeline-table tbody tr:last-child {
    font-weight: bold;
}


tr.webgrid-matrix-header th:nth-child(n+2),
tr.webgrid-matrix-row td:nth-child(n+2) {
    text-align: right;
}

tr.webgrid-matrix-row td:nth-child(5) {
    background-color: #f9f9f9;
}


tr.webgrid-funded-header th:nth-child(n+2),
tr.webgrid-funded-row td:nth-child(n+2) {
    text-align: right;
}

table.webgrid-funded-table tbody tr:last-child {
    font-weight: bold;
}

tr.webgrid-equipment-header th:nth-child(4),
tr.webgrid-equipment-header th:nth-child(5),
tr.webgrid-equipment-row td:nth-child(4),
tr.webgrid-equipment-row td:nth-child(5) {
    text-align: right;
}


tr.webgrid-active-supplier-header th:nth-child(n+2),
tr.webgrid-active-supplier-row td:nth-child(n+2) {
    text-align: right;
}
tr.webgrid-active-supplier-row td:nth-child(3) {
    background-color: #f9f9f9;
}
table.webgrid-active-supplier-table tbody tr:last-child {
    font-weight: bold;
}


tr.webgrid-dormant-supplier-header th:nth-child(n+2),
tr.webgrid-dormant-supplier-row td:nth-child(n+2) {
    text-align: right;
}
tr.webgrid-dormant-supplier-row td:nth-child(4) {
    background-color: #f9f9f9;
}
table.webgrid-dormant-supplier-table tbody tr:last-child {
    font-weight: bold;
}

tr.webgrid-calc-result-header th:nth-child(n+2),
tr.webgrid-calc-result-row td:nth-child(n+2) {
    text-align: right;
}

tr.webgrid-rate-card-header th:nth-child(5),
tr.webgrid-rate-card-row td:nth-child(5) {
    text-align: center;
}

tr.webgrid-rate-card-header th:nth-child(6),
tr.webgrid-rate-card-row td:nth-child(6) {
    text-align: right;
}

tr.webgrid-rate-list-header th:nth-child(n+2):nth-child(-n+13),
tr.webgrid-rate-list-row td:nth-child(n+2):nth-child(-n+13) {
    text-align: right;
}

.table-popup thead > tr > th,
.table-popup tbody > tr > td {
    font-size: 10px;
    padding: 2px;
}

table.shade-last td:last-child {
    background-color: #f3f3f3;
    text-align: right;
}

table.webgrid-user thead th:nth-last-child(2),
table.webgrid-user thead td:nth-last-child(2),
table.webgrid-user tbody th:nth-last-child(2),
table.webgrid-user tbody td:nth-last-child(2) {
    width: 0px;
    display: none;
}

ul.af_list {
    z-index: 9999 !important;
}

/* Start WebNotification */
.webnotification-container {
    padding: 10px;
    width: 250px;
}

.webnotification-viewed-status {
    font-size: 10px;
    color: darkgray;
}

#ulWebNotifications li {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.webnotification-dropdown-menu {
    padding-top: 14px;
}

.glyphicon-bell {
    font-size: 1.5rem;
}

#dLabel {
    color: #080808;
    background-color: #CCCCCC;
}

    #dLabel a:visited {
        color: #080808;
        background-color: #CCCCCC;
        text-decoration: none;
    }

    #dLabel a:hover {
        color: #080808;
        background-color: #CCCCCC;
        text-decoration: none;
    }

    #dLabel a:active {
        color: #080808;
        background-color: #CCCCCC;
        text-decoration: none;
    }

.webnotification-notifications {
    min-width: 420px;
}

.webnotification-notifications-wrapper {
    overflow: auto;
    max-height: 350px;
}

.webnotification-menu-title {
    font-size: 1.5rem;
    display: inline-block;
}

.glyphicon-circle-arrow-right .webnotification-glyph {
    margin-left: 10px;
}

.webnotification-notification-heading, .webnotification-notification-footer {
    padding: 2px 10px;
}

.dropdown-menu.divider {
    margin: 5px 0;
}

.webnotification-item-title {
    font-size: 1.5rem;
    color: #000;
}

.webnotification-notifications a.content {
    text-decoration: none;
    background: #ccc;
}

.webnotification-notification-item {
    padding: 10px;
    margin: 5px;
    background: #f0f0f0;
    border-radius: 4px;
}
/* End WebNotification */

.supplier-link-field {
    max-width: 300px;
    padding-top: 7px;
}

.small {
    font-size: 11px;    
}

/* DataTables */
table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column tbody tr > .sorting_2,
table.dataTable.order-column tbody tr > .sorting_3,
table.dataTable.display tbody tr > .sorting_1,
table.dataTable.display tbody tr > .sorting_2,
table.dataTable.display tbody tr > .sorting_3 {
    background-color: #fff;
}

table.dataTable.display tbody tr > .sorting_1,
table.dataTable.order-column.stripe tbody tr > .sorting_1 {
    background-color: #fff;
}

/* Bootstrap column 5ths */
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}
@media (max-width: 1440px) {
    body {
        padding-top: 200px;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

@media (max-width: 768px) {
    .navbar > .container .navbar-brand img {
        height: auto;
        width: 100%;
        margin-left: -30px;
        margin-top: -40px;
    }

    .navbar > .container .navbar-brand span {
        height: auto;
        width: 100%;
        font-size: 20px;
        margin-left: -30px;
    }

    .navbar-brand {
        height: 70px !important;
    }
    .footer-panel > p {
        padding: 20px 0 0px;
    }
}

.dottet-item {
    white-space: nowrap;
}

.dotted-item::before {
    display: inline-block;
    width: 10px;
    height: 10px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    content: '';
    margin-right: 2px;
}

.dotted-item.dotted-item-green::before {
    background-color: green;
}

.dotted-item.dotted-item-grey::before {
    background-color: lightgrey;
}

.dotted-item.dotted-item-red::before {
    background-color: red;
}

.cursor-pointer {
    cursor: pointer;
}