﻿/* CORE STYLES */
html, body {
    font-family: poppins, sans-serif;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #000;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

a {
    color: #3E9FF9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.float-right {
    float: right !important;
}

.fade.show {
    opacity: 1;
}

.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

ul.ul-std {
    margin: 5px 10px 5px 10px;
    list-style: square;
    padding-left: 15px;
}


/* Card Styles */
.card h2, h2.card-header {
    display: inline-block;
    color: #F9B404;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 25px;
    margin: 0 0 13px 0;
    position: relative;
    border-bottom: solid 1px #F9B404;
    max-width: calc(100% - 28px);
}

    .card h2:after {
        content: '';
        display: block;
        position: absolute;
    }

    .card h2 a {
        color: #F9B404;
    }

    .card h2 a:hover {
        text-decoration: none;
    }

.card-body {

}

/* TABLE STYLES */
.table {
    width: 100%
}

.table tr {
    text-align: left;
}

    .table th, .table td {
        padding: 9px 8px;
        font-size: 14px;
        font-family: roboto, sans-serif;
        font-weight: 400;
        vertical-align: middle;
    }

    .table thead th, 
    .table thead td {
        position: relative;
        font-size: 12px;
        line-height: 24px;
        color: #c0c0c0; /*#75899B;*/
        font-family: roboto, sans-serif;
        padding: 3px 8px;
        border-bottom: #75899B solid 1px;
        background: rgba(42, 53, 74, 1);
        /*background: linear-gradient(0deg, rgba(32,41,60,1) 0%, rgba(42,53,74,1) 100%);*/
    }

    .table tbody th {
        font-weight: bold;
    }

    .table thead th:first-child, 
    .table thead td:first-child {
        text-align: left;
    }

    .table td { position: relative; }

.table td.item-no {
    padding-left: 16px;
}

.table tr {
    transition: background-color 0.5s ease;
}

.table tr:nth-child(even) {
    background-color: rgba(101,125,149,.18);
}

/* Alert Styles */
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    max-width: 500px;
    width: 100%;
    line-height: 25px;
}

.alert-heading {
    font-size: 1.5rem;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-std {
    color: #0c5460;
    background-color: #384052;
    border-color: #bee5eb;
}

.alert-dismissible {
    padding-right: 4rem;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

/* Controls */
input:focus {
    outline: none;
    border-color: #3E9FF9;
}

.btn, .dt-button {
    color: #fff;
    transition: color 0.25s ease;
    transition: background-color 0.25s ease;
    background-color: #20293C;
    border: none;
    font-family: roboto, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 30px;
    padding: 5px 20px;
    /*min-width: 100px;*/
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -webkit-appearance: none;
    border-radius: 2px; /* future proofing */
    display: inline-block;
}

    .btn:hover, .dt-button:hover {
        color: #fff;
        transition: color 0.25s ease;
        transition: background-color 0.25s ease;
        background-color: #3E9FF9;
    }

.btn-sm {
    font-size: 11px;
    line-height: 17px;
}


.txt, .cbo, .date {
    display: block;
    font-family: roboto, sans-serif;
    font-size: 14px;
    line-height: 20px;
    padding: 9px 13px 7px 13px;
    -webkit-appearance: none;
}

.txt, .date {
    color: #fff;
    background-color: #20293C;
    border: none;
    width: calc(100% - 26px);
    margin: 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: solid 1px height: 16px;
    border-radius: 4px;
}

    .txt:disabled, .txt:read-only {
        background-color: #222;
        color: #fff;
    }

.txt.error, .date.error {
    color: #D63408;
    border-color: #D63408;
}

.cir-field-key {
    margin-bottom: 4px;
}


/*.table .txt {
    height: 10px;
}*/


textarea.txt {
    height: 60px;
}

textarea.json {
    color: #fff;
    background-color: #20293C;
    border: none;
    width: 100%;
    margin: 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: solid 1px height: 16px;
    border-radius: 4px;
    height: 300px;
}

.cbo {
    font-size: 12px;
    font-family: roboto, sans-serif;
    color: #fff; /*#657D95;*/
    line-height: 20px;
    padding: 7px 11px 7px 13px;
    margin: 0;
    height: 35px;
    border: 1px solid #3E4E6C;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: .5em;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url(/static/shell2/images/icon-dropdown-blu.svg) no-repeat #20293C;
    background-position: right 13px top 50%
}

.cbo:hover {

}

/* INPUT GROUP */
.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.input-group-append {
    margin-left: -1px;
}

.input-group > .custom-select:not(:last-child),
.input-group > .txt:not(:last-child),
.input-group > .cbo:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .custom-file,
.input-group > .custom-select,
.input-group > .txt,
.input-group > .cbo {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child), 
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child),
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
/*.input-group-append .cbo {
    background: url(/static/shell2/images/icon-dropdown-blu.svg) no-repeat #e2e2e2;
}*/

/* BACKGROUNDS */
.bg-green {
    background-color: #1aa557;
}

.btn-primary {
    background-color: #20293C;
}

.bg-warning, .btn-warning {
    background-color: #f9b404
}

.bg-danger, .btn-danger {
    background-color: #ce0000;
}

.required {
    color: #ce0000;
}

.bg-danger, .bg-danger a {
    color: #fff;
}

.bg-green, .bg-green a {
    color: #fff;
}


/* FORM CONTROL */
.form-group {
    margin-bottom: 1rem;
}
    .form-group label {
        font-size: 14px;
        font-family: roboto, sans-serif;
        display: inline-block;
        margin-bottom: 0.2rem;
    }

.form-group .txt {

}

.form-group .cbo {
    width: 100%
}

/* SIDE BAR STYLES */
.sidebar-body {
    width: 100%;
    padding: 15px;
}

.form-inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}


.form-group .sub-text {
    color: #888888;
    font-size: 80%
}

.record-editor {
    background-color: #384052;
    position: absolute;
    top: 0;
    padding: 20px;
    width: 100%;
}