﻿body {
    font-size: .875rem;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 48px; /* Height of navbar */
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

/*
 * Utilities
 */

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

/* Modal */
.mfp-bg {
    z-index: 10000;
}

.mfp-wrap {
    z-index: 10001;
}

.modal-block {
    background: transparent;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 40px auto;
    position: relative;
}

    .modal-block.modal-block-xs {
        max-width: 200px;
    }

    .modal-block.modal-block-sm {
        max-width: 400px;
    }

    .modal-block.modal-block-md {
        max-width: 600px;
    }

    .modal-block.modal-block-lg {
        max-width: 1140px;
    }

    .modal-block.modal-block-full {
        max-width: 98%;
    }

    .modal-block.modal-full-color {
        color: #FFF;
    }

        .modal-block.modal-full-color .fa {
            color: #FFF !important;
        }
    .modal-block .col-lg-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%
    }
    .modal-block .col-sm-10 {
        -ms-flex: 0 0 calc(100% - 72px);
        flex: 0 0 calc(100% - 72px);
        max-width: calc(100% - 72px);
    }
    .modal-block .card {
        box-shadow: 5px 15px 20px 0px #000;
    }
    .modal-block .card-header {
        border-bottom: 2px solid #CFCFCF;
    }
    .modal-block .card-header h5 {
        color: #00AF8E;
        font-size: 24px;
        font-weight: 700;
        padding-top: 14px;
        padding-left: 15px;
    }
        .modal-block .card-header .close {
            padding-top: 14px;
        }
    .modal-block .content-form {
        padding: 18px 16px 0;
    }
.modal-block .card-body .col-form-label {
    font-size: 18px;
    font-weight: 700;
    color: #0F2F3C;
    width: 72px;
    flex: 0 0 72px;
}

.modal-block .card-body textarea {
    height: 413px;
}

.modal-block .card-body .form-control {
    border-radius: 0;
}
    .modal-block .custom-control .custom-control-label {
        padding-top: 3px;
        padding-left: 5px;
        font-size: 15px;
    }
.modal-block .card-footer {
    text-align: right;
    border-top: 2px solid #CFCFCF;
    padding: 15px;
}

    .modal-block .card-footer button {
        padding: .468rem 2.1rem;
        font-size: .875rem;
        line-height: 1.5;
        border-radius: .2rem;
        margin-right: 10px;
    }

/* Modal Wrapper */
.modal-wrapper {
    position: relative;
    padding: 25px 0;
}
/* Modal Icon */
.modal-icon {
    float: left;
    width: 20%;
    text-align: center;
}

    .modal-icon .fa {
        font-size: 52px;
        position: relative;
        top: -10px;
        color: #cccccc;
    }

    .modal-icon.center {
        float: none;
        width: auto;
        padding-top: 20px;
    }

        .modal-icon.center + .modal-text {
            float: none;
            width: auto;
        }

    .modal-icon + .modal-text {
        float: left;
        width: 80%;
    }

/* Modal Text */
.modal-text {
    padding: 0 5px;
}

    .modal-text h1, .modal-text h2, .modal-text h3, .modal-text h4, .modal-text h5, .modal-text h6 {
        padding: 0;
        margin: -7px 0 4px 0;
    }

.modal-block-primary .fa {
    color: #cccccc;
}

.modal-block-success .fa {
    color: #47a447;
}

.modal-block-warning .fa {
    color: #ed9c28;
}

.modal-block-danger .fa {
    color: #d2322d;
}

.modal-block-info .fa {
    color: #5bc0de;
}

.modal-block-dark .fa {
    color: #171717;
}

html.dark .modal-content {
    background-color: #1d2127;
}

html.dark .modal-header,
html.dark .modal-footer {
    border-color: #282d36;
}

/* Close */
.mfp-close,
.mfp-close-btn-in .mfp-close {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #838383;
}

/* No Margins */
.mfp-no-margins img.mfp-img {
    padding: 0;
}

.mfp-no-margins .mfp-figure:after {
    top: 0;
    bottom: 0;
}

.mfp-no-margins .mfp-container {
    padding: 0;
}

/* Zoom */
.mfp-with-zoom .mfp-container, .mfp-with-zoom.mfp-bg {
    opacity: 0.001;
    -webkit-backface-visibility: hidden;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, .mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/* Animnate */
.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
}

.my-mfp-zoom-in.mfp-bg {
    opacity: 0.001;
    /* Chrome opacity transition bug */
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.7;
}

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

.my-mfp-slide-bottom .zoom-anim-dialog {
    opacity: 0;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    -webkit-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -moz-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -ms-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -o-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    transform: translateY(-20px) perspective(600px) rotateX(10deg);
}

.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
    opacity: 1;
    -webkit-transform: translateY(0) perspective(600px) rotateX(0);
    -moz-transform: translateY(0) perspective(600px) rotateX(0);
    -ms-transform: translateY(0) perspective(600px) rotateX(0);
    -o-transform: translateY(0) perspective(600px) rotateX(0);
    transform: translateY(0) perspective(600px) rotateX(0);
}

.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
    opacity: 0;
    -webkit-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -moz-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -ms-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -o-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    transform: translateY(-10px) perspective(600px) rotateX(10deg);
}

.my-mfp-slide-bottom.mfp-bg {
    opacity: 0.01;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.my-mfp-slide-bottom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.my-mfp-slide-bottom.mfp-removing.mfp-bg {
    opacity: 0;
}

/* dataTables */
div.dataTables_length label {
    float: left;
    text-align: left;
}

div.dataTables_length select {
    width: 75px;
}

div.dataTables_filter label {
    float: right;
}

div.dataTables_info {
    
}

div.dataTables_paginate {
    float: right;
    margin: 0;
}
table.table {
    clear: both;
    margin-bottom: 6px !important;
    max-width: none !important;
}

    table.table thead th {
        text-align: center;
        vertical-align: middle;
    }
    table.table thead th:first-child {
        border-left: 0px;
    }
    table.table thead .sorting,
    table.table thead .sorting_asc,
    table.table thead .sorting_desc,
    table.table thead .sorting_asc_disabled,
    table.table thead .sorting_desc_disabled {
        cursor: pointer;
    }

    table.table thead .sorting {
        background: url('/Assets/plugin/dataTables/DataTables-1.10.24/images/sort_both.png') no-repeat center right;
    }

    table.table thead .sorting_asc {
        background: url('/Assets/plugin/dataTables/DataTables-1.10.24/images/sort_asc.png') no-repeat center right;
    }

    table.table thead .sorting_desc {
        background: url('/Assets/plugin/dataTables/DataTables-1.10.24/images/sort_desc.png') no-repeat center right;
    }

    table.table thead .sorting_asc_disabled {
        background: url('/Assets/plugin/dataTables/DataTables-1.10.24/images/sort_asc_disabled.png') no-repeat center right;
    }

    table.table thead .sorting_desc_disabled {
        background: url('/Assets/plugin/dataTables/DataTables-1.10.24/images/sort_desc_disabled.png') no-repeat center right;
    }

    table.table tbody td.dt-left {
        text-align: left;
        vertical-align: middle;
    }
    table.table tbody td.dt-center {
        text-align: center;
        vertical-align: middle;
    }
    table.table tbody td.dt-right {
        text-align: right;
        vertical-align: middle;
    }

table.dataTable th:active {
    outline: none;
}
div.dataTables_scrollHead table {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

    div.dataTables_scrollHead table thead tr:last-child th:first-child,
    div.dataTables_scrollHead table thead tr:last-child td:first-child {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

div.dataTables_scrollBody table {
    border-top: none;
    margin-bottom: 0 !important;
}

div.dataTables_scrollBody tbody tr:first-child th,
div.dataTables_scrollBody tbody tr:first-child td {
    border-top: none;
}

div.dataTables_scrollFoot table {
    border-top: none;
}

.table tbody tr.active td,
.table tbody tr.active th {
    background-color: #08C;
    color: white;
}

.table tbody tr.active:hover td,
.table tbody tr.active:hover th {
    background-color: #0075b0 !important;
}

.table-striped tbody tr.active:nth-child(odd) td,
.table-striped tbody tr.active:nth-child(odd) th {
    background-color: #017ebc;
}

.dataTables_empty {
    text-align: center;
}

/* autocomplete */
.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
    z-index: 100001 !important;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
    line-height: 34px;
    font-size: 1rem;
    cursor: pointer;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

    .autocomplete-group strong {
        display: block;
        border-bottom: 1px solid #000;
    }

/* GM.Communicator Install */
.pop-layer {
    background-color: #FFF;
    border: 5px solid #00AF82;
    z-index: 1;
    text-align: center;
}

.pop-container {
    padding: 20px 25px;
}

.pop-layer p.ctxt {
    color: #666666;
    line-height: 25px;
    font-size: 13px;
}

.pop-layer ul {
    list-style: none;
    padding-left: 0px;
}

.pop-layer li {
    line-height: 40px;
}

    .pop-layer li a {
        text-decoration: underline;
    }

.pop-layer .logo-icon {
    width: 28px;
    height: 28px;
}

.pop-layer .logo-text {
    margin-left: 5px;
    font-size: 28px;
    font-weight: bold;
    vertical-align: middle;
    color: #00AF82;
}

    .pop-layer .logo-text img {
        width: 141px;
        height: 28px;
        color: #000;
    }

.select-row {
    cursor: pointer;
}

/* alertify */
.alertify .ajs-dimmer {
    z-index: 99998;
}

.alertify .ajs-modal,
.alertify-notifier {
    z-index: 99999;
}

.alertify .ajs-dialog {
    top: 30%;
    margin: auto;
}

/* loading */
#loading {
    position: fixed;
    top: 30%;
    left: 50%;
    display: none;
    z-index: 9999999999;
}
#loading .loading-icon {
    width: 92px;
}
#loading .loading-circle {
    position: absolute;
    top: 10px;
    left: 9px;
    width: 72px;
    animation: loading_image 1s linear infinite;
    transform-origin: 50% 50%;
}
@keyframes loading_image {
    100% {
        transform: rotate(360deg);
    }
}

/* dataTables extensions datetime */
div.dt-datetime {
    z-index: 100000;
}
div.dt-datetime table td.selectable.updated button {
    background: #FF3300;
    color: white;
    border-radius: 2px;
}

.bg-green {
    background: #EFF7F5;
    font-weight: bold;
}
