﻿/************************************** Form **************************************/
input[type=checkbox].form-control {
    margin: 0;
    display: block;
    margin-top: 5px;
    width: 24px;
    height: 24px;
    border-top: none;
}

input[type=radio].form-control {
    margin: 0;
    display: block;
    margin-top: 5px;
    width: 24px;
    height: 24px;
}

.checkbox-label {
    margin-top: 34px; 
}

.validation-summary-errors li {
    list-style-type: none;
}

.validation-summary-errors ul {
    padding: 0;
    margin: 0;
}

.summary {
    margin-top: 5px;
}

.summary input {
    padding-top: 0;
    padding-bottom: 0;
    height: inherit;
    border-radius: 0;
}

.summary label {
    padding-top: 0 !important;
}

.summary .input-group-addon {
    font-size: 10px;
    padding: 2px 6px 2px 6px;
}

/************************************** Grid UI **************************************/
table.grid {
    word-break: break-all;
}

.grid {
    margin: 0 0 0 0;
}

td.cell {
    word-break: keep-all;
    white-space: pre-wrap;
}

td.cell.check input {
    margin: 0;
}

td.cell.check {
    border-right: 0;
}

.grid thead tr th.sortable {
    cursor: pointer;
}

.grid.empty-grid {
    padding: 15px;
}

.grid-container button {
    margin-right: 5px;
}

.grid .charging {
    display: inline-block;
    width: 100%;
}

.grid .charging p {
    margin: 0;
    padding: 0;
}

.grid-container.small .table thead > tr > th,
.grid-container.small .table tbody > tr > td,
.grid-container.small .table tfoot > tr > th {
    padding: 4px;
}

.grid thead tr, .grid tfoot tr {
    height: 32px;
}

.grid tbody {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.search-bar button {
    height: 30px;
}

searsh-bar a {
    line-height: 34px;
}

/* Waiting cursor on grid */
html.waiting, html.waiting * {
    cursor: wait !important;
}

/* Context menu */
.context-menu {
    display: none;
}

.context-menu a {
    cursor: pointer;
}

/* Sub table */
.sub-table {
    margin: 0;
    color: #000;
}

/* Grid column width */
.w1 { width: 1%; }
.w2{ width: 2%; }
.w3{ width: 3%; }
.w4{ width: 4%; }
.w5{ width: 5%; }
.w6{ width: 6%; }
.w7{ width: 7%; }
.w8{ width: 8%; }
.w9{ width: 9%; }

.w10{ width: 10%; }
.w11{ width: 11%; }
.w12{ width: 12%; }
.w13{ width: 13%; }
.w14{ width: 14%; }
.w15{ width: 15%; }
.w16{ width: 16%; }
.w17{ width: 17%; }
.w18{ width: 18%; }
.w19{ width: 19%; }

.w20{ width: 20%; }
.w21{ width: 21%; }
.w22{ width: 22%; }
.w23{ width: 23%; }
.w24{ width: 24%; }
.w25{ width: 25%; }
.w26{ width: 26%; }
.w27{ width: 27%; }
.w28{ width: 28%; }
.w29{ width: 29%; }

.w30{ width: 30%; }
.w31{ width: 31%; }
.w32{ width: 32%; }
.w33{ width: 33%; }
.w34{ width: 34%; }
.w35{ width: 35%; }
.w36{ width: 36%; }
.w37{ width: 37%; }
.w38{ width: 38%; }
.w39{ width: 39%; }

.w40{ width: 40%; }
.w41{ width: 41%; }
.w42{ width: 42%; }
.w43{ width: 43%; }
.w44{ width: 44%; }
.w45{ width: 45%; }
.w46{ width: 46%; }
.w47{ width: 47%; }
.w48{ width: 48%; }
.w49{ width: 49%; }

.w50{ width: 50%; }
.w51{ width: 51%; }
.w52{ width: 52%; }
.w53{ width: 53%; }
.w54{ width: 54%; }
.w55{ width: 55%; }
.w56{ width: 56%; }
.w57{ width: 57%; }
.w58{ width: 58%; }
.w59{ width: 59%; }

.w60{ width: 60%; }
.w61{ width: 61%; }
.w62{ width: 62%; }
.w63{ width: 63%; }
.w64{ width: 64%; }
.w65{ width: 65%; }
.w66{ width: 66%; }
.w67{ width: 67%; }
.w68{ width: 68%; }
.w69{ width: 69%; }

.w70{ width: 70%; }
.w71{ width: 71%; }
.w72{ width: 72%; }
.w73{ width: 73%; }
.w74{ width: 74%; }
.w75{ width: 75%; }
.w76{ width: 76%; }
.w77{ width: 77%; }
.w78{ width: 78%; }
.w79{ width: 79%; }

.w80{ width: 80%; }
.w81{ width: 81%; }
.w82{ width: 82%; }
.w83{ width: 83%; }
.w84{ width: 84%; }
.w85{ width: 85%; }
.w86{ width: 86%; }
.w87{ width: 87%; }
.w88{ width: 88%; }
.w89{ width: 89%; }

.w90{ width: 90%; }
.w91{ width: 91%; }
.w92{ width: 92%; }
.w93{ width: 93%; }
.w94{ width: 94%; }
.w95{ width: 95%; }
.w96{ width: 96%; }
.w97{ width: 97%; }
.w98{ width: 98%; }
.w99{ width: 99%; }

.w100{ width: 100%; }

/************************************** Tab **************************************/

.tab-option {
    cursor: pointer;
}

.tab-container {
    padding: 15px;
    border-right: 1px solid #d9d9d9;
    border-left: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
}

@media screen and (max-width: 991px) {
    .tab-container {
        padding-left: 0;
        padding-right: 0;
        border: none;
    }
}

.charging p {
    text-align: center;
    width: 100%;
    display: inline-block;
}

/************************************** Popup **************************************/

/* Popover */
.popover-cell{
}

.popover {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.popover-content {
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .popover {
        max-width: 90%;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .popover {
        max-width: 75%;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .popover {
        max-width: 50%;
    }
}

 /*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .popover {
        max-width: 30%;
    }
}

/* Modal */
.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: calc(100% - 200px);
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/* Left */
.modal.left.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog {
    left: 0;
}

/* Right */
.modal.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

/* Modal style */
.modal #saved-icon {
    float: right;
    line-height: 33.07px;
    font-size: 20px;
}

.modal .modal-content {
    border-radius: 0;
    border: none;
}

.modal .modal-header {
    border-bottom-color: #d9d9d9;
    background-color: #f2f2f2;
}

.modal .modal-lg {
    width: 90%;
}

.modal .modal-open {
    overflow-y: inherit;
}

.modal-lookup .modal-body {
    max-height: 640px !important;
    overflow-y: auto;
}

.modal-lookup .modal-dialog {
    width: calc(100% - 200px);
}

.search-pane {
    border: 1px solid #d9d9d9;
    padding-bottom: 15px;
    background-color: #F5F5F5;
    border-radius: 4px;
}

.opt-report-list {
    max-height: 100px;
    overflow-y: auto;
    background-color: #d9d9d9;
    border-radius: 3px;
}

.opt-report-list ul {
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .modal.right.fade.in .modal-dialog {
        width: 100%;
    }

    .modal-lookup .modal-dialog {
        width: 100%;
    }

    .search-bar {
        margin-top: 5px;
    }
}

/************************************** Circle option switch butons **************************************/
.circle-option-switch-btn {
    display: inline-block;
    text-align: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #CCC;
    color: #231F20;
    margin-right: 10px;
    padding: 3px;
    cursor: pointer;
}

.circle-option-switch-btn.selected {
    background-color: #231F20;
    color: #FFF;
}

/************************************** Quick grid  **************************************/
.multiple {
}

.check {
}

.multiple,
.check {
    margin-bottom: 10px;
}

.quick-grid {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.quick-grid .multiple:last-child, .check:last-child {
    margin-bottom: 0;
}

.ok input {
    color: #3c763d;
    background-color: #C1D42F;
    border-color: #d6e9c6;
}


.gray-note {
    background-color: #d9d9d9;
    border-radius: 3px;
    padding-right: 10px;
    padding-left: 10px;
    margin-top: 10px;
}

.gray-note p {
    margin: 0px;
}

.grid a {
    text-decoration: underline;
}

.grid a:hover {
    color: purple;
    cursor: pointer;
}

div .form-control[disabled], div .form-control[readonly], div fieldset[disabled] .form-control {
    background-color: #f2f2f2;
    opacity: 1;
}

/************************************** Graph  **************************************/

.graph {
    height: 156px;
    padding: 5px;
    border: 1px solid #000;
}

.graph-legend {
    line-height: 14px;
    font-weight: bold;
    font-size: 12px;
    height: 14px;
}

.graph-legend-content {
}


.graph-legend-vertical {
    line-height: 14px;
    font-weight: bold;
    font-size: 12px;
    height: 14px;
    display: table;
    height: 100%;
}

.graph-legend-vertical-content {
    line-height: 14px;
    font-weight: bold;
    font-size: 12px;
    height: 14px;
    display: table-cell;
    vertical-align: middle;
    text-align: left;
}

.graph .col-xs-3 {
    padding: 0;
}

.graph .col-xs-9 {
    padding: 0;
}


.graph-legend-color-icon {
    display: inline-block;
    height: 10px;
    width: 10px;
}

.theme-low {
    background-color: #28c828;
}

.theme-medium {
    background-color: #c8a028;
    color: #FFF;
}

.theme-hight {
    background-color: #c83028;
    color: #FFF;
}

/************************************** CountGraph  **************************************/
.count-graph-body {
    height: 100%;
}

.count-graph-column {
    display: inline-block;
    height: calc(100% - 14px);
    position: relative;
}

.count-graph-num-value {
    font-size: 50px;
    position: absolute;
    bottom: 0;
    left: 10px;
}

/************************************** PieGraph  **************************************/

.pie-graph-body {
    text-align: center;
}

.chart {
    border-radius: 50%;
    width: 80%;
    padding-top: 80%;
    padding-right: 20px;
    margin: 0 auto;
}