﻿body {
}

/* 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: 280px;
}*/

/*Increase popover z-index of bootstrap*/
.popover {
    z-index: 5001 !important;
}

.loginColumns {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 20px 20px 20px;
}

.table-height {
    max-height: 280px !important;
    overflow-y: scroll;
}

/*Remove line ontop of form*/
.ibox-title {
    border-width: 0 !important;
    color: #ffffff !important;
    background-color: #2f4050 !important;
}

.modal-content {
    border: 0 !important;
}

.grid-list {
    height: calc(100vh - 240px);
}

.grid-list-on-popup > .grid-list {
    height: 250px !important;
    overflow-y: hidden;
}

.pop-up-border {
    margin-bottom: 5px;
    overflow: hidden;
    border: 1px solid #808080;
}

.clearBoth {
    clear: both;
}

.pop-up {
    z-index: 3000 !important;
}

.pop-up-2 {
    z-index: 3101 !important;
}

.pop-up-3 {
    z-index: 3201 !important;
}

.pop-up-4 {
    z-index: 3301 !important;
}

.history-pop-up {
    z-index: 5001 !important;
}

.modal-wide {
    width: 1400px !important;
}

@media screen and (max-width: 1399px) {
    .modal-wide {
        width: 100% !important;
    }
}

.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px; /* Adjusts for spacing */
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.chosen-container-active .chosen-single {
    border: 1px solid #179d82 !important;
}

.chosen-container-active .chosen-choices {
    border: 1px solid #179d82 !important;
}

.chosen-results li.highlighted {
    background-image: none !important;
    background-color: #179d82 !important;
}

@media screen and (max-width: 1024px) {
    .logo-name {
        color: #e6e6e6;
        font-size: 90px;
        font-weight: 800;
        letter-spacing: -10px;
        margin-bottom: 0;
    }

    #page-wrapper {
        padding: 0px;
    }

    .wrapper.wrapper-content {
        padding-top: 10px;
    }
}

@media screen and (min-width: 1100px) {
    .scheduler-pop-up {
        z-index: 2050 !important;
    }

    .purchase-pop-up .modal-dialog {
        width: 1090px !important;
    }

    .purchase-pop-up .modal-content {
        width: 100% !important;
    }

    .purchase-pop-up .ibox {
        width: 100% !important;
    }

    .purchase-pop-up .ibox-title {
        width: 100% !important;
    }

    .purchase-pop-up .ibox-content {
        width: 100% !important;
    }
}

.dx-overlay-wrapper {
    z-index: 5200 !important;
}


@media screen and (min-width: 1100px) {
    .purchase-pop-up {
        z-index: 3100 !important;
    }

        .purchase-pop-up .modal-dialog {
            width: 1090px !important;
        }

        .purchase-pop-up .modal-content {
            width: 100% !important;
        }

        .purchase-pop-up .ibox {
            width: 100% !important;
        }

        .purchase-pop-up .ibox-title {
            width: 100% !important;
        }

        .purchase-pop-up .ibox-content {
            width: 100% !important;
        }
}

.screen-pop-up {
    z-index: 4000 !important;
}

    .screen-pop-up .modal-dialog {
        width: 100% !important;
        height: 90% !important;
    }

    .screen-pop-up .modal-content {
        width: 100% !important;
        height: 100% !important;
    }

    .screen-pop-up .ibox {
        width: 100% !important;
        height: 100% !important;
    }

    .screen-pop-up .ibox-title {
        width: 100% !important;
    }

    .screen-pop-up .ibox-content {
        width: 100% !important;
        height: 95% !important;
    }

.photoviewer {
    z-index: 3000 !important;
}

    .photoviewer .modal-dialog {
        height: 96% !important;
    }

    .photoviewer .modal-content {
        height: 100% !important;
    }

    .photoviewer .ibox {
        height: 100% !important;
    }

    .photoviewer .ibox-content {
        height: 95% !important;
    }

[ng-click],
[data-ng-click],
[x-ng-click] {
    cursor: pointer;
}

.busy {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 5000;
}

.busy {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 5000;
}

.busycontent {
    display: table-cell;
    vertical-align: middle;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.busyspinner {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    text-align: center;
}

.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'FontAwesome'; /* essential for enabling glyphicon */
    /*content: "\f01a";*/ /* adjust as needed, taken from bootstrap.css */
    font-size: 2em;
    float: right; /* adjust as needed */
    color: grey; /* adjust as needed */
    margin-top: -8px;
}

.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    /*content: "\f18e";*/ /* adjust as needed, taken from bootstrap.css */
}

ul.action-buttons {
    padding: 0 0 0 2px;
    margin-top: 2px;
    text-align: right;
}

    ul.action-buttons li {
        display: inline;
    }

        ul.action-buttons li a {
            text-decoration: none;
        }

.audit-log h5:after {
    font-family: 'FontAwesome';
    content: "\f01a";
    font-size: 1.5em;
    float: left;
    color: grey;
    margin-right: 5px;
}

.audit-log.collapsed h5:after {
    content: "\f18e";
}

/*.purchase-order .form-control */
input[readonly], input[disabled], select[disabled], textarea[disabled] {
    background-color: white !important;
    border: none;
}

.purchase-table {
    -moz-min-width: 800px;
    -ms-min-width: 800px;
    -o-min-width: 800px;
    -webkit-min-width: 800px;
    min-width: 800px;
}

.purchase-table-cell {
    padding: 0px !important;
    margin: 0px !important;
}

.table-responsive {
    padding: 0px !important;
    margin: 0px !important;
}

.table {
    padding: 0px !important;
    margin: 0px !important;
}

.table input, select {
    border: none;
    padding: 0px;
    font-size: 12px;
}

.table .form-control[readonly] {
    background-color: white !important;
}

.list-table .list-table-cell {
    line-height: 15px;
    vertical-align:middle;
    margin: 0px !important;
}

.list-table .list-table-cell-input {
    line-height: 15px;
    vertical-align:middle;
    padding: 0px !important;
    margin: 0px !important;
}

.list-table .list-table-cell-input .input-text-width {
    width:100%;
    background-color: inherit !important;
}

.list-table .list-table-cell-input .input-number-width {
    width:100%;
    background-color: inherit !important;
}

#purchaseLinesTable {
    white-space: nowrap;
    height: 210px !important;
}

.remove-wrapper-padding-bottom {
    padding-bottom: 0px !important;
}

.purchase-table-cell .has-error {
    border: 1px solid #ED5565 !important;
}

.table-cell-product-code {
    color: inherit;
}

    .table-cell-product-code:hover {
        text-decoration: underline;
        color: inherit;
    }

.tabSelected {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid;
    padding-bottom: 2px;
    color: inherit;
}

    .tabSelected:hover {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 18px;
        font-weight: bold;
        border-bottom: 1px solid;
        padding-bottom: 2px;
        color: inherit;
    }

.tabUnselected {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    color: inherit;
}

.tabUnselected:hover {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: normal;
    border-bottom: 1px solid;
    padding-bottom: 2px;
    color: inherit;
}

.form-horizontal .form-group {
    /*margin-right: 0px !important;
    margin-left: 0px !important;
    margin-bottom: 0px !important;*/
}

.p-h {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/*padding set to zero*/
.p-n {
    padding: 0 !important;
}

.p-t-n {
    padding-top: 0 !important;
}

.p-b-n {
    padding-bottom: 0 !important;
}

.p-r-n {
    padding-right: 0 !important;
}

.p-l-n {
    padding-left: 0 !important;
}

/*class that turns content invisible when using a tablet*/
@media (max-width: 900px) {
    .tablet-invisible {
        display: none;
    }
}

.has-error:required {
    border: 1px solid #ED5565 !important;
}

.tab-has-error {
    color: red !important;
}

.has-warning {
    background-color: yellow !important;
}

.hidden-input{
    width:1px;
    visibility:hidden;
}

.tHeadGrey{
    background-color: #F5F5F6;
}

.highlighted{
    background-color: #eeeeee;
}

.tags-input {
  display: block !important;
  width: 100% !important;
  height: 34px !important;
  padding: 6px 12px !important;
}

.tag-btn {
    background:none !important;
    background-color: #18a689 !important;
    border-color: #18a689 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 3px;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.tags .has-error {
    border-color: #ED5565 !important;
}

.tag-btn .selected {
    background:none !important;
    background-color: #ffffff !important;
    border-color: #18a689 !important;
    color: #FFFFFF !important;
}

.tags{    
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 1px solid #e5e6e7 !important;
    border-radius: 1px !important;
    color: inherit !important;
    display: block !important;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s !important;
    width: 100% !important;
    font-size: 14px !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.tags.focused {
  background: none !important;
  border: 1px solid #179d82 !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}

@media screen and (min-width: 1100px) {
    .wide-pop-up {
        z-index: 3100 !important;
    }

        .wide-pop-up .modal-dialog {
            width: 1090px !important;
        }

        .wide-pop-up .modal-content {
            width: 100% !important;
        }

        .wide-pop-up .ibox {
            width: 100% !important;
        }

        .wide-pop-up .ibox-title {
            width: 100% !important;
        }

        .wide-pop-up .ibox-content {
            width: 100% !important;
        }
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.white-border-left{
    border-left: 1px solid #ffffff !important;
}

.input-button-top-margin{
    margin-top: 5px;
}

.input-top-margin{
    margin-top: 5px;
}

.map-container {
    width: 100%; 
    height: 100%;
    z-index: 3000 !important;
}
.map {
    border: 5px solid white;
    width: 100%;
    height: calc(100vh - 200px);
}

.input-group-xs>.form-control,
.input-group-xs>.input-group-addon,
.input-group-xs>.input-group-btn>.btn {
    height: 22px;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
}

.ibox-title .input-group-xs,
.ibox-title .dropdown-menu{
    color: black;
}

.vertical-align-middle {
    vertical-align: middle !important;
}

.tool-bar-icon {
    position: relative;
    top: -1px;
    height: 17px;
}

.pointer {
    cursor: pointer !important;
}

.labels{
    color: #333;
    background-color: rgba(255, 255, 255, .7);
    border-radius: 3px;
    padding: 3px;
}

.mapSquare{
    color: #333;
    background-color: rgba(255, 255, 255, .7);
    border-radius: 3px;
    padding: 3px;
}

.mapHighSidePanel {
    color: #333;
    background-color: rgba(255, 255, 255, .8);
    width: 300px;
    height: 100%;
    overflow: auto;
}

.mapLayersSidePanel {
    color: #333;
    background-color: rgba(255, 255, 255, .8);
    width: 270px;
    max-height: 80%;
    /*overflow: auto;*/
}

.layersListPanel {
    height: 476px;
    overflow: auto;
}

.directionsPanel {
    margin-top: 10px;
    z-index: 5;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 3px;
    /*boxShadow: 0 2px 6px rgba(0,0,0,.3);*/
    text-align: center;
    font-family: Roboto, Arial, sans-serif;
    line-height: 10px;
    padding: 10px;
}

.sideRow {
    color: #333;
    width: 100%;
    padding: 10px 7px 10px 7px;
}

.sideRightRow{
    text-align: right;
    color: #333 !important;
    width: 100%;
    padding: 10px 7px 10px 7px;
}

.sideWhiteRow {
    color: #333;
    background-color: rgba(255, 255, 255, .7);
    width: 100%;
    padding: 7px;
}

.colorPicker {
    width: 20px !important;
}

#range-selector {
    height: 300px;
    width: 100%;
}

.dashboardPieChart {
    height: 300px;
    width: 500px;
}

.large-header {
    color: red;
    font-weight: bold;
    font-size: 400%;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

table.tableSection {
    display: table;
    width: 100%;
}
    table.tableSection thead, table.tableSection tbody {
        float: left;
        width: 100%;
    }

    table.tableSection thead  {
        /*width: calc(100% - 16px)*/
    }

    table.tableSection tbody {
        overflow: auto;
        height: 420px;
    }
    table.tableSection tr {
        width: 100%;
        display: table;
        text-align: left;
    }
table.tableSection th, table.tableSection td {
    /*width: 25%;*/
}

.field-min-height {
    min-height: 450px;
}

.form-button {
    margin: 2.5px;
}

.accordion-new-button {
    margin-top: -10px;
    margin-right: 10px
}
