﻿body {
    padding-top: 0px;
    padding-bottom: 0px;
    /*font-size: 1.3rem;*/
    overflow: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    background: #c2dea9;
    font-size: 12px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.MI-UserName {
    color: #fff;
    display: inline-block;
    /* padding-top: 8px; */
    /* display: flex; */
    margin-right: 10px;
    margin-top: 5px;
    height: 35px;
    padding: 3px;
    text-align: center;
    color: #fff;
    text-indent: 0px;
    font-weight: bold;
}

.MI-KIT-Header {
    /*height: 50px;*/
    background: #1820b1;
    color: #fefefe;
    line-height: 30px;
    text-indent: 10px;
}

.MI-KIT-Title {
    background: #1820b1;
    line-height: 48px;
}

.MI-KIT-Input {
    border: 1px solid #ccc;
    padding: 4px;
    line-height: 20px;
    width: 100%;
}

.MI-Label {
    margin-top: 8px;
    margin-bottom: 4px;
    font-weight: 400;
    font-size: .875rem;
    white-space: nowrap;
    display: block;
    color: #000;
}

.MI-KIT-Input:focus {
    border: 1px solid #3a3939;
}

.MI-KIT-Input:active {
    border: 1px solid #3a3939;
}

.MI-KIT-Input-Box {
    position: relative;
    height: auto;
    margin-bottom: 24px;
}

    .MI-KIT-Input-Box input, select {
        border: 1px solid #ccc;
        padding: 4px;
        line-height: 20px;
        width: 100%;
        margin-top: 10px;
    }

    .MI-KIT-Input-Box label {
        position: absolute;
        top: -12px;
        left: 0;
        margin-bottom: 32px;
        font-size: 9pt;
    }

    .MI-KIT-Input-Box select {
        line-height: 25px;
        padding: 5px;
    }

.MI-KIT-Card {
    display: block;
    position: relative;
    font-size: 0.875rem;
    width: calc(100% - 1rem);
    margin: 8px auto;
    border-radius: 2px;
    border: 1px solid #dfdfdf;
}

    .MI-KIT-Card .MI-KIT-Card-header {
        border-bottom: 1px #eee solid;
        padding: 1rem;
        font-size: 16px;
        border-radius: 2px 2px 0 0;
        display: block;
    }

    .MI-KIT-Card .MI-KIT-Card-footer {
        border-top: 1px #eee solid;
        padding: 1rem;
        border-radius: 0 0 2px 2px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        min-height: 3rem;
    }

    .MI-KIT-Card .MI-KIT-Card-content {
        display: block;
        padding: 10px;
    }

/* The Modal (background) */
.MI-KIT-Modal {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.MI-KIT-Modal-Box {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    /*padding: 20px;*/
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* The Close Button */
.MI-KIT-Model-Close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .MI-KIT-Model-Close:hover,
    .MI-KIT-Model-Close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.MI-KIT-Modal-Header {
    background: #2c469b;
    color: #fff;
    line-height: 27px;
    padding: 6px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}
/* The Modal (background) */
.MI-KIT-Model-Bottom {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}

/* Modal Content */
.MI-KIT-Model-Bottom-Content {
    position: fixed;
    bottom: 0;
    background-color: #fefefe;
    width: 100%;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
}

/* The Close Button */
.MI-KIT-Model-Bottom-Close {
    color: white;
    /* float: right; */
    /* font-size: 28px; */
    font-weight: bold;
    background: #c32e0a;
    width: 30px;
    text-align: center;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 28px;
}

    .MI-KIT-Model-Bottom-Close:hover,
    .MI-KIT-Model-Bottom-Close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.MI-KIT-Model-Bottom-Header {
    padding: 2px 16px;
    background-color: #3c6478;
    color: white;
    height: 28px;
    position: relative;
}

.MI-KIT-Model-Bottom-Body {
    padding: 2px 16px;
}

.MI-KIT-Model-Bottom-Footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 28px;
}

/* Add Animation */
@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/*Model Right side*/
/* The Modal (background) */
.MI-KIT-Model-Right {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    -webkit-animation-name: fadeIn; /* Fade in the background */
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}

/* Modal Content */
.MI-KIT-Model-Right-Content {
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fefefe;
    width: 40%;
    -webkit-animation-name: RightslideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
    height: 100%;
}

/* The Close Button */
.MI-KIT-Model-Right-Close {
    color: white;
    /* float: right; */
    /* font-size: 28px; */
    font-weight: bold;
    background: #c32e0a;
    width: 30px;
    text-align: center;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 28px;
}

    .MI-KIT-Model-Right-Close:hover,
    .MI-KIT-Model-Right-Close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.MI-KIT-Model-Right-Header {
    padding: 2px 16px;
    background-color: #3c6478;
    color: white;
    height: 28px;
    position: relative;
}

.MI-KIT-Model-Right-Body {
    padding: 2px 16px;
}

.MI-KIT-Model-Right-Footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 28px;
}

/* Add Animation */
@-webkit-keyframes RightslideIn {
    from {
        bottom: -300px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}
/*menu Navigation*/
@-webkit-keyframes MenuAnimation {
    from {
        left: 10px;
    }

    to {
        left: 0;
    }
}

@keyframes RightslideIn {
    from {
        bottom: -300px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*Slide*/
.MI-KIT-SideNav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 99999;
    top: 50px;
    left: 0;
    background-color: #1820b1;
    overflow-x: hidden;
    padding-top: 20px;
    border-right: 1px solid #1820b1;
    position: absolute;
    left: 0;
    display: none;
}

    .MI-KIT-SideNav a {
        padding: 6px 8px 6px 16px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
    }

        .MI-KIT-SideNav a:hover {
            color: #1820b1;
            font-weight: bold;
            -webkit-animation-name: MenuAnimation;
            -webkit-animation-duration: 0.4s;
            animation-name: MenuAnimation;
            animation-duration: 0.4s;
        }

.v-menu .menu-title {
    background-color: #1820b1 !important;
    color: #ffffff !important;
}

.MI-KIT-MainWindow {
    /*margin-left: 250px;*/ /* Same as the width of the sidenav */
    /*font-size: 28px;*/ /* Increased text to enable scrolling */
    padding: 0px 10px;
    margin-top: 10px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}








.d-menu a, .d-menu li, .v-menu a, .v-menu li {
    border: 0.5px dashed #eaeaea;
}

    .d-menu li a, .v-menu li a {
        font-size: 1.3rem;
    }

.action-button, .button, .flat-button {
    font-size: 1.3rem;
}

.PB-Window-Btn {
    position: relative;
    height: 100%;
    /* width: 3rem; */
    text-align: center;
    vertical-align: middle;
    /* font-size: 1rem; */
    font-weight: 400;
    padding: 0px 16px 0.625rem 16px;
    outline: 0;
    cursor: pointer;
    display: block;
    border: 1px solid transparent;
    margin: 0 .5px;
    color: #ffffff;
    text-align: center;
    text-indent: 4px;
    border-left: 1px solid #3d42b9;
}

    .PB-Window-Btn:hover {
        color: #ffeb05;
    }


.red {
    color: #fe3d0e;
}

.Center-text {
    text-align: center;
}

.Top-Space {
    margin-top: 10px;
}

.button-text-center {
    line-height: 17px;
}



.showHint {
    animation-name: hintIn;
    animation-duration: 0.5s;
}

.hideHint {
    animation-name: hintOut;
    animation-duration: 0.5s;
}

.window-caption {
    background-color: #1820b1 !important;
}















@keyframes hintIn {
    0% {
        transform: translate3d(0, -200px, 0) scale3d(0.1, 0.1, 0.1);
        opacity: 0;
    }

    40% {
        opacity: 1;
        animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
        transform: translate3d(0, 0, 0) scale3d(1.08, 1.08, 1.08);
    }

    60% {
        animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    }

    80% {
        animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
        transform: translate3d(0, 0, 0) scale3d(1.03, 1.03, 1.03);
    }

    100% {
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
    }
}


@keyframes hintOut {
    0% {
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: scale3d(1, 1, 1);
    }

    60% {
        animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
        transform: scale3d(1.08, 1.08, 1.08);
    }

    80% {
        opacity: 1;
        animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
    }

    100% {
        opacity: 0;
        animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
        transform: scale3d(0.3, 0.3, 0.3);
    }
}

.window {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    height: auto;
    background-color: #fff;
    color: #1d1d1d;
    border: 1px #e9e9e9 solid;
    z-index: 1;
}

.window-caption {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 2.25rem;
    line-height: 2.25rem;
    padding: 0 0 0 .3125rem;
    /* border-bottom: 1px transparent solid; */
    cursor: default;
    vertical-align: middle;
    background-color: #3c6478;
    color: #000;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .window-caption * + .title {
        margin-left: .3125rem;
    }

    .window-caption .title {
        font-size: .875rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #fff;
    }

    .window-caption .buttons {
        height: 100%;
        margin-left: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

.p-2 {
    padding: 18px !important;
}

.window-content {
    overflow: auto;
    height: calc(100% - 2.25rem);
}

/*div {
    position: relative;
}*/

.v-menu {
    display: block;
    position: relative;
    width: 100%;
    float: none;
}

.d-menu, .v-menu {
    position: absolute;
    margin: 0;
    padding: 0;
    list-style: none inside none;
    background-color: #fff;
    color: #1d1d1d;
}

    .v-menu .menu-title:first-child {
        margin: 0;
        border-top-width: 0;
    }

    .v-menu .menu-title {
        background-color: #f6f7f8;
        font-size: 12px;
        line-height: 22px;
        height: 22px;
        padding: 0 8px;
        border: 0;
        color: #646464;
        font-weight: 700;
        pointer-events: none;
    }

    .v-menu .menu-title {
        background-color: #1820b1 !important;
        color: #ffffff !important;
    }

    .d-menu a, .d-menu li, .v-menu a, .v-menu li {
        display: block;
        float: none;
        position: relative;
        cursor: pointer;
        color: inherit;
        background-color: inherit;
        height: auto;
    }

    .d-menu a, .d-menu li, .v-menu a, .v-menu li {
        display: block;
        float: none;
        position: relative;
        cursor: pointer;
        color: inherit;
        background-color: inherit;
        height: auto;
    }

        .d-menu li a, .v-menu li a {
            font-size: .875rem;
            padding: 0 2rem 0 2.5rem;
            line-height: 45px;
            height: 45px;
            text-decoration: none;
            vertical-align: middle;
            white-space: nowrap;
            border: none;
        }

            .d-menu li a i, .v-menu li a i {
                position: absolute;
                top: 12px;
                left: 6px;
                font-size: 19px;
            }

            .d-menu li a, .v-menu li a svg {
                position: absolute;
                left: 5px;
                top: 11px;
                color: #1820b1;
                font-size: 1.3rem;
            }


.ivu-card {
    font-size: 12px !important;
}

.label-textbox {
    background-color: #f3f3f3;
    opacity: 1;
    color: #ccc;
    display: inline-block;
    width: 100%;
    height: 32px;
    line-height: 1.8;
    padding: 4px 7px;
    font-size: 12px;
    overflow: hidden;
    /*border: 1px solid #dcdee2;*/
    border-radius: 4px;
    color: #515a6e;
    background-image: none;
    position: relative;
    -webkit-transition: border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;
    transition: border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;
    transition: border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;
    transition: border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;
}

.img-profile {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.btn-logout {
    font-weight: bold;
    color: #ffbf03;
    margin-right: 1em;
}

/* Validation css */
.require {
}

.validation-error-warn {
    color: red;
}

.error {
    font-size: x-small;
    color: red;
    text-align: right;
}

.error-indicator {
    border-left: 2px dashed red;
    padding-left: 3px;
}

.vertical-center-modal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboardPanel {
    text-align: center;
}

    .dashboardPanel:hover .dashboardHeader2 {
        font-size: 33px;
    }

.dashboardHeader1 {
    font-size: 16px;
}

.dashboardHeader2 {
    font-weight: 300;
    color: #f7b543;
    font-size: 30px;
    transition-duration: 0.3s;
}

.dashboardHeader3 {
    font-size: 13px;
    font-weight: normal;
    color: #898989;
    word-wrap: break-word;
}

.dashboardPanel .container {
    position: relative;
    width: 50%;
}

.dashboard-image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.dashboard-middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.dashboardPanel .container:hover .dashboard-image {
    opacity: 0.3;
}

.dashboardPanel .container:hover .dashboard-middle {
    opacity: 1;
}

.dashboard-text {
    padding: 16px 32px;
}

.text-success {
    color: #5cb45b;
}

.text-purple {
    color: #3b47e2;
}

.text-pink {
    color: #ed699b;
}

.message-seen {
    color: green;
}

.spin-icon-load {
    animation: ani-demo-spin 1s linear infinite;
}

#msg-user tr:hover td {
    background-color: #ebf7ff;
}

/* bootstrap text */
.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.records-count {
    padding-right: 5px;
}

.ivu-alert {
    padding: 8px 8px 8px 16px !important;
}

.user-ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    padding-right: 17px;
}

    .user-ul li {
        color: #fff;
        display: block;
        float: left;
        padding: 0rem;
        position: relative;
        text-decoration: none;
        transition-duration: 0.5s;
        z-index: 10;
    }

        .user-ul li a {
            color: #fff;
        }

        .user-ul li:hover {
            cursor: pointer;
        }

        .user-ul li ul {
            background: #1119a5;
            visibility: hidden;
            opacity: 0;
            /* min-width: 5rem; */
            position: absolute;
            transition: all 0.5s ease;
            /*margin-top: 7px;*/
            left: 0;
            display: none;
            width: 100%;
        }

            .user-ul li:hover > ul,
            .user-ul li ul:hover {
                visibility: visible;
                opacity: 1;
                display: block;
            }

            .user-ul li ul li {
                clear: both;
                width: 100%;
                padding: 10px;
                border-bottom: 1px solid #1a23ca;
            }

                .user-ul li ul li:hover {
                    background: #121993;
                }

        /* make li clickable*/
        .user-ul li a {
            margin: 0px;
            display: block;
            width: 100%;
            height: 100%;
        }


.MI-MenuToggle {
    cursor: pointer;
    font-size: 18px;
}

    .MI-MenuToggle:hover {
        transition: font-size .1s ease;
        font-size: 20px;
    }

.MI-SiteTitle {
    font-size: 18px;
    color: #ffffff;
}

    .MI-SiteTitle:hover {
        text-decoration: underline;
    }

.Receitp-Font {
    font-family: Tahoma;
}

@media only screen and (max-width: 800px) {

    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        #no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    #no-more-tables tr {
        border: 1px solid #ccc;
    }

    #no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

        #no-more-tables td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
        }

        /*
	Label the data
	*/
        #no-more-tables td:before {
            content: attr(data-title);
        }
}

tr.border_bottom td {
    border-bottom: 1pt solid #cccccc;
    padding: 8px;
}

.sender_name {
    color: #4e91d6;
}

.ivu-auto-complete .ivu-select-dropdown-list {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 20px;
}