*, *:before, *:after {
    box-sizing: border-box;
}

html {
    /*overflow-y: hidden; 
    overflow-x: hidden;*/
    -webkit-overflow-scrolling: touch;
}
hr {
    background-color: white;
}

h4 {
    color: white;
    text-align: center;
}

body {
    background: white;
    font-family: -apple-system;
    font-family: '-apple-system','Segoe UI';
    margin-top: 0px;
    margin-left: 0px;
    width: 100%;    
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -o-user-select: none;
    background-repeat: no-repeat;
    /*background-image: linear-gradient(to top, #aa0207, #888,black);*/
    margin: 0;
    height: 100%;
    overflow: hidden;      
}

input[type=checkbox] {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    height: 15px;
    width: 15px;
    margin-left: 14px;
    margin-top: 14px;
    text-align:center;
}

    input[type=radio]{
        height:25px;
    }

    input, textarea, select {
        font-size: 16px;
        display: block;
        width: 100%;
        padding: 3px 5px;
        /*background: none;*/
        background-image: none;
        border: 1px solid #a0b3b0;
        color: #000000;
        border-radius: 0;
        -webkit-transition: border-color .25s ease, box-shadow .25s ease;
        transition: border-color .25s ease, box-shadow .25s ease;
        /*border-color: transparent;*/
        /*border-bottom-color: white;*/
        border-radius: 5px;
        height: 40px;
    }
input:focus, textarea:focus, select:focus {
    outline: 0;
    /*border-color: #ffffff;*/
}
textarea {
    border: 2px solid #a0b3b0;
    resize: vertical;
}

.button {
    border: 0;
    outline: none;
    border-radius: 5px;
    padding: 5px 5px 5px 5px;
    font-size: 24px;
    text-transform: uppercase;
    /*letter-spacing: .1em;*/
    background: #5c5b5b;
    color: #ffffff;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    -webkit-appearance: none;
    height: 60px;
    box-shadow: inset 0 0 10px #ffffff;
}
.button:hover, .button:focus {
    background: orange;
}
.button-block {
    display: block;
    width: 50%;
}

/* Scroll bar */
::-webkit-scrollbar {
    -webkit-appearance: none;
}
::-webkit-scrollbar:vertical {
    width: 10px;
}
::-webkit-scrollbar:horizontal {
    height: 8px;
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 3px solid #5c5b5b; /* should match background, can't be transparent */
    background-color: orange;
}
::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 8px;
}

::placeholder {
    color: #a0b3b0;
    font-size: 1em;    
}

/**/
#wait {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 999999;
    display: none;
}

.wait {
    background-color: whitesmoke;
    border: 1px solid dashed;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    z-index: 999999;
    margin: 0 auto;
    padding: 2px;
    text-align: center;
    vertical-align: top;
    color: black;
    font-size: 13px;
    display: normal;
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    padding-top: 25%;
    opacity: 0.80;
}

.loader {
    border: 16px solid darkorange;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    border-top: 16px solid white;
    width: 9px;
    height: 9px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: 0 auto;
    position: center;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.dvfields {
    float: left;
    margin-right: 20px;
    width: 100%;
    border-style: solid;
    border-width: 1px;
    border-color: orange;
    margin-top: 5px;
    padding: 5px;
}

.filterButtons {
    /*background-color: slategrey;*/
    background-color: #5c5b5b;
    color: white;
    font-size: 12px;
    min-height: 40px;
    width: auto;
    height: auto;
    margin: 5px;
    padding: 10px;
    border: 1px solid whitesmoke;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    outline: none;
    float: left;
}

.dropzone {
    background: white;
    border-radius: 5px;
    border: 2px dashed rgb(0, 135, 247);
    border-image: none;
    width: 98%;
    height: 20vh;
    overflow: auto;
    margin-left: 15px;    
}

.jsgrid-cell {
    overflow: hidden;    
}

.shadow {
    -webkit-box-shadow: 3px 3px 5px 6px #ccc; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow: 3px 3px 5px 6px #ccc; /* Firefox 3.5 - 3.6 */
    box-shadow: 3px 3px 5px 6px #ccc; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.bg-red td {
    background-color: #f08080 !important;
}

.bg-orange td {
    background-color: orange !important;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    height: 50vh;
    overflow: auto;
}

.flex-container > div {
    width: 150px;
    margin: 10px;
    text-align: center;
    line-height: 75px;
    font-size: 24px;
}

.lblEdit {
    height:25px;
    width:auto;
    border-color:orange;
    border-style:dashed;
    border-width:2px;
}
.drop-placeholder {
    background-color: lightgray;
    height: 3.5em;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.2em;
}
/*=== 3. Text Outside the Box ===*/
.etc-login-form {
    color: #919191;
    padding: 10px 20px;
}

.etc-login-form p {
    margin-bottom: 5px;
}
/*=== 4. Main Form ===*/
.login-form-1 {
    max-width: 300px;
    border-radius: 5px;
    display: inline-block;
}

.main-login-form {
    position: relative;
}

.login-form-1 .form-control {
    border: 0;
    box-shadow: 0 0 0;
    border-radius: 0;
    background: transparent;
    color: #555555;
    padding: 7px 0;
    font-weight: bold;
    height: auto;
}

.login-form-1 .form-control::-webkit-input-placeholder {
    color: #999999;
}

.login-form-1 .form-control:-moz-placeholder,
.login-form-1 .form-control::-moz-placeholder,
.login-form-1 .form-control:-ms-input-placeholder {
    color: #999999;
}

.login-form-1 .form-group {
    margin-bottom: 0;
    border-bottom: 2px solid #efefef;
    padding-right: 20px;
    position: relative;
}

    .login-form-1 .form-group:last-child {
        border-bottom: 0;
    }

.login-group {
    background: #ffffff;
    color: #999999;
    border-radius: 8px;
    padding: 10px 20px;
}

.login-group-checkbox {
    padding: 5px 0;
}
/*=== 5. Login Button ===*/
.login-form-1 .login-button {
    position: absolute;
    right: -25px;
    top: 50%;
    background: #ffffff;
    color: #999999;
    padding: 11px 0;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    border: 5px solid #efefef;
    border-radius: 50%;
    transition: all ease-in-out 500ms;
}

.login-form-1 .login-button:hover {
    color: #555555;
    transform: rotate(450deg);
}

.login-form-1 .login-button.clicked {
    color: #555555;
}

.login-form-1 .login-button.clicked:hover {
    transform: none;
}

.login-form-1 .login-button.clicked.success {
    color: #2ecc71;
}

.login-form-1 .login-button.clicked.error {
    color: #e74c3c;
}
/*=== 6. Form Invalid ===*/
label.form-invalid {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    display: block;
    margin-top: -25px;
    padding: 7px 9px;
    background: #777777;
    color: #ffffff;
    border-radius: 5px;
    font-weight: bold;
    font-size: 11px;
}

label.form-invalid:after {
    top: 100%;
    right: 10px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-top-color: #777777;
    border-width: 6px;
    }
/*=== 7. Form - Main Message ===*/
.login-form-main-message {
    background: #ffffff;
    color: #999999;
    border-left: 3px solid transparent;
    border-radius: 3px;
    margin-bottom: 8px;
    font-weight: bold;
    height: 0;
    padding: 0 20px 0 17px;
    opacity: 0;
    transition: all ease-in-out 200ms;
}

.login-form-main-message.show {
    height: auto;
    opacity: 1;
    padding: 10px 20px 10px 17px;
}

.login-form-main-message.success {
    border-left-color: #2ecc71;
}

.login-form-main-message.error {
    border-left-color: #e74c3c;
}
/* navigation */
nav {
    height: 100%;
    width: 300px;
    background-color: #0a4a3c;
    left: 0;
    top: 0;
    z-index: 4;
    position: fixed;
    overflow-y: auto;
    overflow-x: visible;
    transform: translate(-300px,0);
    background-color: #000000;
    display: block;
    overflow: hidden;
    background-image: linear-gradient(to top, #f7030b, #888,black);
}
/* overlay layer */
.ssm-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.2);
    display: none;
    z-index: 1;
}
/* prevent scroll when nav is open */
.is-navOpen {
    overflow: hidden;
}
input:focus::-webkit-input-placeholder {
    color: transparent;
}
input:focus:-moz-placeholder {
    color: transparent;
}
/* FF 4-18 */
input:focus::-moz-placeholder {
    color: transparent;
}
/* FF 19+ */
input:focus:-ms-input-placeholder {
    color: transparent;
}
/* IE 10+ */

/* Tool bar*/
.icon-bar {
    width: 100%; /* Full-width */
    overflow: auto; /* Overflow due to float */
    background-color: #000;
    text-align: center;
    position: fixed !important;
    bottom: 0px;
    -moz-box-shadow: inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow: inset 0 0 10px #000000;
}

.icon-bar a {
    float: left; /* Float links side by side */
    text-align: center; /* Center-align text */
    transition: all 0.3s ease; /* Add transition for hover effects */
    color: white; /* White text color */
    width: 100%;
    max-width: 20%;
    padding-top: 10px;
    padding-bottom: 10px;
}
.icon-bar > a > i {
    font-size: 20px; /* Increased font size */
}
.icon-bar > a > span {
    font-size: 12px; /* Increased font size */
}
.icon-bar a:hover {
    background-color: #000; /* Add a hover color */
}

/* Main navigation */
.box:nth-of-type(odd) {
    background-color: #fac96f;
}

.box:nth-of-type(even) {
    background-color: #fff;
}

.box {
    display: inline-block;
    /*width: 100px;
    height: 100px;
    border: 1px solid #f00;*/
}

.navMain {
    display: flex;
    flex-direction: column;
}
.navMain div {
    width: 100%;
    /*height: 80px;*/
    border-bottom: solid;
    border-width: 1px;
    background-color: rgba(0,0,0,0.2);
    padding: 10px;
}
    .navMain .box span {
   
    }
.navMain div i {
    margin-top: 8%;
    float: right;
}


.navMainSub {
    height: 40px !important;
}
.navMainSub i {
    margin-top: 0% !important;
    float: left !important;
}
.navMainSub span {
    margin-top: -1% !important;
    margin-left:5px;
}

.navleft {
    margin-top: 30px;
    height: 100vh;
    /*background-color: #a70f1d;*/
    background-color: #5c5b5b;
}
.clsFocus {
    white-space: nowrap;
}

.topToolbarNew {
    display: flex;
    width: 100%;
    height: 45px;
    background-color: #5c5b5b;
    color: #fbf7f7;
    -moz-box-shadow: inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow: inset 0 0 10px #000000;
}
.topToolbar {
    width: 100%;
    background-color: #a70f1d;
    text-align: center;
    margin-top: -5px;
    -moz-box-shadow: inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow: inset 0 0 10px #000000;
}

.bottomToolBar {
    display: none;
    width: 100%;
    height: 45px;
    text-align: center;
    position: fixed;
    bottom: 0px;
    padding:7px;
    -moz-box-shadow: inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow: inset 0 0 10px #000000;
    background: url('../images/Docitfooter0.jpg') no-repeat center;
    background-size: 100%;
    background-color:#5c5b5b;    
}

/* on ids */
#MainApp {
    color: white;
    display: block;
    color: white;
    width: 100%;
    margin-top: 100px;
    padding-bottom: 55px;
    position: relative;
    height: 80vh;
    overflow: auto;
}
#swipeOverlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.2);
    display: none;
    z-index: 3;
}
#swipeLeftOverlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0);
    z-index: 3;
    width: 10px;
}

/* Inputs with icon */
.inputWithIcon {
    position: relative;
    padding: 5px;
    color:white;
   
}
.inputWithIcon i {
    position: absolute;
    left: 0;
    top: 2px;
    padding: 9px 8px;
    color: #000;
    transition: 0.3s;

}
.inputWithIcon.inputIconBg i {
    background-color: #aaa;
    color: #fff;
    padding: 9px 4px;
    border-radius: 4px 0 0 4px;
}

/* Text Field */
.inputWithIcon input[type="text"] {
    padding-left: 35px;
    border-bottom-color: white;
    
}
.inputWithIcon input[type="text"]:focus + i {
    color: orange;
}
.inputWithIcon.inputIconBg input[type="text"]:focus + i {
    color: white;
    background-color: orange;
}

/* Password */
.inputWithIcon input[type="password"] {
    padding-left: 35px;
    border-bottom-color: white;
}
.inputWithIcon input[type="password"]:focus + i {
    color: orange;
}
.inputWithIcon.inputIconBg input[type="password"]:focus + i {
    color: white;
    background-color: orange;
}

/* Button */
.inputWithIcon input[type="button"] {
    padding-left: 35px;
    border-bottom-color: white;
}

.inputWithIcon input[type="button"]:focus + i {
    color: orange;
}

.inputWithIcon.inputIconBg input[type="button"]:focus + i {
    color: white;
    background-color: orange;
}

/* Select */
.inputWithIcon select {
    padding-left: 35px;
    border-bottom-color: white;
}

.inputWithIcon select:focus + i {
    color: orange;
}

.inputWithIcon.inputIconBg select:focus + i {
    color: white;
    background-color: orange;
}

/* Tab Control*/
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px 16px;
    transition: 0.3s;
    height:30px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: orange;
    color:white;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    height:60vh;
    overflow:auto;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* 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 */
.modal-content {    
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 98%; /* Could be more or less, depending on screen size */
    height:85vh;
    overflow:auto;
    margin-top:100px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.hideColumn {
    display: none;
}
input::-webkit-calendar-picker-indicator {
    opacity: 100 !important;
}