/**
 * custom CSS goes here
 */

/**
 * Show it is fixed to the top
 */
body {
    padding-top: 4.5rem;
    font-size: 14px;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/**
 * fix for DataTables issues with browsers on OSX,
 * needs to be combined with the 100% width tag in the table element
 *
 * NOTE:
 * can cause issues with long content in columns in other browsers
 */
table {
    table-layout: fixed;
}

/**
 * make menus scrollable
 */
.scrollable-menu {
    height: auto;
    max-height: 80vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/**
 * to implement sub menus within the dropdown menus
 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a:after {
    content: "\f0da";
    float: right;
    border: none;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0px;
    margin-left: 0px;
}

/**
 * the back-to-top button
 */
.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

/**
 * styling for new dashboard widgets
 */
.widget.dashboard-stats .widget-content {
    padding: 0;
}

.widget.dashboard-stats .stats {
    min-height: 120px;
}

.widget.dashboard-stats .dashboard-stats-title {
    top: 35px;
}

.widget-content {
    padding: 5px;
}

.dashboard-stats {
    z-index: 10;
    bottom: 0;
    left: 0;
    margin-bottom: 25px;
    background-color: #fff !important;
}

.dashboard-stats .stats {
    overflow: hidden;
    position: relative;
    min-height: 120px;
    -moz-opacity: 0.90;
    -khtml-opacity: 0.90;
    opacity: 0.90;
}

.dashboard-stats .stats:hover {
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}

.dashboard-stats .dashboard-stats-title {
    position: absolute;
    z-index: 2;
    top: 30px;
    left: 12px;
    font-size: 18px;
    color: #fff;
}

.dashboard-stats .dashboard-stats-count {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    margin: 0 0 10px 10px;
    font-size: 3em;
    color: #fff;
}

.dashboard-stats .dashboard-stats-count small {
    font-size: 14px;
}

.dashboard-stats .stats .dashboard-stats-icon {
    position: absolute;
    z-index: 1;
    right: -2px;
    top: -35px;
    font-size: 10em;
    color: #fff;
    -moz-opacity: 0.20;
    -khtml-opacity: 0.20;
    opacity: 0.20;
    -webkit-transition: opacity 0.3s linear, transform 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, transform 0.3s ease-out;
    -o-transition: opacity 0.3s linear, transform 0.3s ease-out;
    transition: opacity 0.3s linear, transform 0.3s ease-out;
}

.dashboard-stats .stats:hover .dashboard-stats-icon {
    -moz-opacity: 0.60;
    -khtml-opacity: 0.60;
    opacity: 0.60;
}

.stats.orange {
    background-color: #F0912E;
}

.stats.blue {
    background-color: #637CA7;
}

.stats.red {
    background-color: #E26A5C;
}

.stats.gray {
    background-color: #2A3848;
}

.stats.green {
    background-color: #76B7B2;
}
