﻿/** General */
html {
    font-size: 14px;
}

.fml-body {
    background: rgb(210,222,239);
}

.flex-box {
    display: flex;
    align-items: start;
}

.no-margin {
    margin: 0 !important;
}

/** Utilities */

.mt-card {
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.16), 0 0px 4px rgba(1, 0, 1, 0.18);
}

/** Accordion */
.accordion {
    background-color: transparent;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    padding: 12px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

    .accordion:focus {
        outline: none;
        box-shadow: none;
    }

    .active, .accordion:hover {
    }

.panel {
    padding: 0 12px;
    background-color: #333;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s ease-out;
}

    .panel a {
        padding: 12px 0;
        display: block;
        color: rgba(255,255,255,.5);
    }

.navbar-brand {
    padding: 0;
}

/** Sidebar */
.sidenav {
    height: 100%;
    width: 220px;
    position: fixed;
    z-index: 1;
    top: 48.75px;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    padding-top: 12px;
}

    .sidenav a {
        display: block;
        padding: 12px;
        color: rgba(255,255,255,.5);
        font-size: 15px;
    }

        .sidenav a:hover {
            text-decoration: none;
        }

.main {
    margin-left: 220px;
    padding-top: 72px;
}

.header {
    background-color: rgb(91,155,213) !important;
}

.leftmenu {
    background-color: #4472C4 !important;
}

    .leftmenu ul,
    .sidebar ul ul a,
    .sidebar ul li a,
    .sidebar [aria-expanded="true"] {
        background: #4472C4 !important;
        color: white !important;
    }

/** Form & Control */
.content {
    width: 100%;
    margin-left: 250px;
    margin-top: 50px;
}

.form-inline.form-wrapper {
    -ms-align-items: baseline;
    -o-align-items: baseline;
    -webkit-align-items: baseline;
    align-items: baseline;
}

.form-wrapper {
    background-color: #fff;
    border-radius: 4px;
}

.page-link {
    color: #000;
}

.btn {
    border-radius: 0.4rem;
    padding: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

    .btn:hover, .btn:active {
        color: white;
        background-color: #244680;
    }

.btn-outline-secondary:hover, .btn-outline-secondary:active {
    color: white;
    background-color: #959798;
}

.btn-outline-primary {
    border-color: #4472C4;
    color: #4472C4;
}

.btn-primary, .page-item.active .page-link {
    color: white;
    background-color: #4472C4;
    border-color: #4472C4;
}

.btn-primary-addnew {
    color: white !important;
    background-color: #4472C4;
    border-color: #4472C4;
}

.btn-primary-searching {
    color: white;
    background-color: #4472C4;
    border-color: #4472C4;
}

.btn-edit {
    color: #4472C4;
}

.btn-delete {
    color: red;
}

.btn-primary-export {
    color: white;
    background-color: #804c82;
    border-color: #804c82;
}

.btn-primary-check {
    color: white;
    background-color: #f75a37;
    border-color: #f75a37;
    min-width: 101px;
}


.table.table-bordered.dataTable {
    /* border: 1px solid #00336a;*/
}

.table thead th {
    text-align: center !important;
    vertical-align: middle;
    font: bold;
    color: white;
    background-color: #4472C4; /*#2f5596;*/
    border-color: #4472C4;
}

.table tbody tr td {
    /*    text-align: center;*/
    vertical-align: middle;
    color: black;
    background-color: white;
}

.tr {
    border-color: white;
}


.my-fluid-container {
    max-width: 1200px;
    margin: 0 auto;
}

.my-fluid-container-2 {
    max-width: calc(100vw - 320px);
    margin: 0 auto;
}

.my-fluid-container .form-wrapper {
    border-radius: 5px;
}

.my-fluid-container .my-form-row {
    margin: 10px 0 !important;
}

.my-fluid-container .search-component {
    margin-right: 10px;
    padding: 5px;
    outline: none;
    border: solid 1px #CCC;
}

.my-fluid-container select.search-component {
    height: 34px;
}

/*.my-fluid-container .dataTables_length {
    margin-left: -15px;
}*/

.remove-default-search .dataTables_filter {
    display: none;
}

.my-read-only-class {
    cursor: not-allowed;
}

.required::after {
    content: "*";
    font-weight: bold;
    color: red;
    margin-left: 3px;
}

.ui-autocomplete-loading {
    background: url('/images/loading-16x16.gif') no-repeat right center;
}




.dashboard-modal .modal {
    padding: 0 !important;
}

    .dashboard-modal .modal .modal-dialog {
        width: 100%;
        max-width: none;
        height: 100vh;
        margin: 0 auto;
    }

.dashboard-modal .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
}

.dashboard-modal .modal .modal-body {
    overflow-y: hidden;
    overflow-x: hidden;
}

.dashboard-modal .modal-header {
    max-height: 50px;
    align-content: center;
    background: #EEE;
    padding: 0;
}

    .dashboard-modal .modal-header .modal-title {
        padding-left: 15px;
        padding-top: 5px;
        text-transform: uppercase;
    }

    .dashboard-modal .modal-header .close {
        margin: 0;
    }

.dashboard-modal .dialog-header-btn {
    display: flex;
}

    .dashboard-modal .dialog-header-btn .button-container button {
        margin-top: 10px;
    }

.headcount {
    cursor: pointer;
}

.dashboard-modal .table td, .dashboard-modal .table th {
    padding: 0.2rem 0.5rem;
}

.myform-warning {
    font-weight: bold;
    color: red;
}

#overlay {
    background: #000;
    color: #FFF;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5000;
    top: 0;
    left: 0;
    float: left;
    text-align: center;
    padding-top: 25%;
    opacity: .8;
    font-weight: bold;
}

.spinner {
    margin: 0 auto;
    height: 48px;
    width: 48px;
    animation: rotate 0.8s infinite linear;
    border: 5px solid red;
    border-right-color: transparent;
    border-radius: 50%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.clearfix {
    clear: both !important;
}

.finance-listing {
    position: relative;
}

.btncontainer {
    position: absolute;
    top: -5px;
    right: 15px;
    z-index: 999;
}

.text-left-pd {
    padding-left: 0.75rem !important;
}

.text-right-pd {
    padding-right: 0.75rem !important;
    text-align: right;
}

.break-all {
    word-break: break-all;
}

.input-group-append {
    margin-bottom: 1px;
}

label {
    font-size: .9rem;
}

.lessSpace {
    margin-top: -2rem;
}

input.currency {
    text-align: right;
}

.createdby {
    color: #a49e9e;
    font-size: 0.9rem;
    margin: 0rem;
    font-style: italic;
}

    .createdby span {
        color: #0ba017;
    }

.textboxSmall {
    width: 50px;
    text-align: center;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: blue;
    border-bottom-width: thin;
}

.textboxSearch {
    width: 100%;
    text-align: left;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: blue;
    border-bottom-width: thin;
}

.textboxDateTime {
    width: 135px;
    text-align: center;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: blue;
    border-bottom-width: thin;
}

.input-icons {
    width: 100%;
    margin-bottom: 10px;
}

    .input-icons i {
        position: absolute;
        padding: 7px 10px;
        min-width: 30px;
        cursor: pointer;
    }

.input-icon-field {
    width: 100%;
    padding: 3px 5px 5px 30px;
}
