body{
    font-family:'consolas' !important;
    letter-spacing: 0.5px !important;
}
.row-shadow{
    padding: 10px !important;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2) !important;
}
.navbar{
    margin-bottom: 0 !important;
}
.td-btn{
    padding: 2px 12px !important;
    font-size: 10px !important;
}
input:focus,select:focus,.input-select-css{
    outline: none !important;
    border-color: #9ecaed !important;
    box-shadow: 0 0 10px #9ecaed !important;
}

ul.side-list{
	padding: 0;
	margin: 0;
	list-style-type: none;
	border: 1px solid #ddd;
	border-radius: 5px;
	border-bottom: none;
	margin-top: 10px;
}
ul.side-list li{
	border-bottom: 1px solid #ddd;
	cursor: pointer;
	padding-left: 5px;
}
ul.side-list li:hover{
	background: #007bff;
	border: 1px solid #007bff;
	color: #fff;
	border-radius: 5px;
}
.row{
    margin-left: 0px !important;
    margin-right: 0px !important;
    width:100% !important;
}
.row-border{
    border-bottom:1px solid #ddd;
}

.my-form{
    width:100%;
    padding-top: 10px;
    margin-bottom: 10px;
}
.bootstrap-table{
    width: 100%;
}
.bootstrap-table .fixed-table-toolbar .btn-group.columns-right{
    margin-top: 10px !important;
    margin-left: 5px !important;
}

.bootstrap-table tbody tr td a{
    padding:0 3px;
}

.form-group label{
    margin-bottom: 0.2rem;
    margin-top:0.5rem;
}
.form-group sub,.form-group sup,.form-group span{
    font-size: 10px;
}
.form-group .trumbowyg-editor span{
    font-size: inherit;
}
.form-group sub.large,.form-group sup.large,.form-group span.large{
    font-size: 12px;
}
.form-group sub.important,.form-group sup.important,.form-group span.important{
    color:#d21404;
    bottom:0;
}
.form-group sub.notimportant,.form-group sup.notimportant,.form-group span.notimportant{
    color:#03ac13;
}
.form-row .form-font{
    font-size: 12px !important;
}
.form-row label.toright{
    float: right !important;
    text-align: right !important;
}
.form-row label small{
    font-size: 10px !important;
}

.ht_master tr td,.handsontable th  {
    font-size: 10px !important;
}

select{
    background: #fff !important;
}

.roundindicator{
    width: 12px;
    height: 12px;
    background: #A50000;
    box-shadow:0px 0px 1px 1px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    margin-top: 10px;
    margin-right: 10px;
    float: left;
}
.roundindicator.active{
    background: #00A500 !important;
}
.icon-button{
    margin-left: 20px;
    cursor: pointer;
}

.invisible{
    height: 0;
    width: 1px;
    border:none;
    background: none;
    visibility: visible !important;
    outline: none;
}

.btn span{
    padding-left: 1rem;
}
.btn.icon span{
    padding-left: 0 !important;
}


.no-arrow,
.no-arrow::-webkit-outer-spin-button,
.no-arrow::-webkit-inner-spin-button,
.form-control[type=date]::-webkit-outer-spin-button,
.form-control[type=date]::-webkit-inner-spin-button,
.form-control[type=date]::-webkit-calendar-picker-indicator,
select.no-arrow{
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background: none;
    text-indent: 1px !important;
    text-overflow: '' !important;
}
select.no-arrow::-ms-expand{
    display: none !important;
}

.fit-input{
    border:none !important;
    width: 100% !important;
    height: 100% !important;
    padding:0 !important;
    margin: 0 !important;
    outline: none !important;
    background: transparent;
}
.fit-input:hover,.fit-input:focus{
    outline: none !important;
    box-shadow: none !important;
}
.fit-input.center{
    text-align: center;
}


.ui-cs-chromoselector .ui-cs-panel select{
    padding: 0;
}

/**
* select2
*/
.select2-selection--single{
    height: 24px !important;
}
.select2-selection--multiple{
    height: 37px !important;
}
.select2-selection__rendered{
    line-height: 24px !important;
}
.select2-selection__arrow{
    height: 23px !important;
}
.select2-container *:focus{
    outline: none !important;
}
.select2-container .select2-search--inline .select2-search__field{
    margin-top:0 !important;
    padding-top: 5px !important;
    height: 100% !important;
}
.select2-container--open .select2-dropdown--below{
    min-width:150px;
}

/**
* Editor Style
*/
.trumbowyg-editor p{
    padding: 0 !important;
    margin: 0 !important;
}
.trumbowyg-editor .table tr td{
    padding: 0.25rem 0.5rem;
    line-height: normal;
}

.mytable{
    font-size: 1rem !important;
    color: #000000 !important;
}
.mytable td{
    padding: 4px 5px !important ;
    color: #000000 !important;
}
.mytable td.text-white{
    color: #fff !important;
}
@media only screen and (max-width: 1366px) {
    .mytable{
        font-size: 0.75rem !important;
        color: #000000 !important;
    }
    .mytable td{
        padding: 4px 5px !important ;
        color: #000000 !important;
    }
}

input:focus,select:focus,.input-select-css{
    outline: none !important;
    border-color: #9ecaed !important;
    box-shadow: 0 0 10px #9ecaed !important;
    border:2px solid #002c5b !important;
}
.select2-input,.select2-input:focus{
    border-color: none;
    box-shadow: none !important;
}

.select2-container .select2-choice{
    height: 31px !important;
    line-height: 31px !important;
}

.pos .select2-container .select2-choice{
    height: 24px !important;
    line-height: 24px !important;
}

.select2-container.form-control{
    border: none !important;
}
.select2-container.form-control.border{
    border: 1px solid #ced4da !important;
}

.select2-results{
    font-size: 12px !important;
}

.navbar-brand{
    padding-top: 0 !important;
}
.dropdown-menu{
    padding: 0.2rem 0 !important;
	max-height:500px;
	overflow-y:Scroll;
}
.dropdown-item:focus,.dropdown-item:hover,.dropdown-item:active {
    color: #fff !important;
    background-color: #000 !important;
}

.bed:hover{
    box-shadow: 0 1px 1px rgba(0,0,1,.05);
    -o-box-shadow: 0 1px 1px rgba(0,0,1,.05);
    -webkit-box-shadow: 0 1px 1px rgba(0,0,1,.05);
    background: #F5F5F5;
}

/** context menu */
.iw-cm-menu{
    max-height: 200px !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
}
.autocomplete-suggestions{
    width: 200px !important;
}

/**
Cursor List
*/
.cursor-pointer{
    cursor: pointer !important;
}
.cursor-default{
    cursor: default !important;
}

.text-truncate {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.text-center{
    text-align-last: center !important;
}


/**
Scroll Bar
*/
.scrollbar::-webkit-scrollbar-track,.select2-results__options::-webkit-scrollbar-track,.fixed-table-body::-webkit-scrollbar-track{
    box-shadow:  inset 0 0 6px rgba(0,0,0,0.3);
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.scrollbar::-webkit-scrollbar,.select2-results__options::-webkit-scrollbar,.fixed-table-body::-webkit-scrollbar{
	width: 0.5rem;
	background-color: #F5F5F5;
}

.scrollbar::-webkit-scrollbar-thumb,.select2-results__options::-webkit-scrollbar-thumb,.fixed-table-body::-webkit-scrollbar-thumb{
	background-color: #000000;
	border: 2px solid #555555;
}


/*--------------------------*/
/*color code*/
/*--------------------------*/
/*placeholder*/

.text-white::placeholder{
    color: #fff !important;
}

.handsontable table thead tr th,.handsontable table tbody tr th{
    background: #000 !important;
    color: #fff !important;
}

.handsontable.listbox tr:hover td,.handsontable.listbox tr td.current{
    background: #ffc107 !important;
    color: #000 !important;
}

.handsontable .htCore{
    color: #000;
    font-weight: bold;
}





#p_name{
    max-width:100% !important;
    padding: 0.175rem 0.45rem !important;
    border:0 !important;
    height:auto !important;
    font-size: inherit !important;
    height: calc(1.5em + .3rem) !important;
}
.ls_result_div{
    left:-1px !important;
    max-width:none !important;
    width:700px !important;
}

.modal {
    background: rgba(0,0,0,0.5) !important;
}


/*--------------------------*/
/*Table*/
/*--------------------------*/
.custom-table{
    width: 100%;
    border-collapse: collapse;
    border-color: #999;
}
.custom-table thead{
    background: #000;
    color:#fff;
}

/*--------------------------*/
/*Picklist*/
/*--------------------------*/

.custom-picklist-holder{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.9);
    display:none;
    z-index: 100000;
}
.custom-picklist{
	width:800px;
	height:500px;
	border:1px solid #000;
	background:#fff;
	margin-top:3%;
}
.custom-picklist ul{
    list-style-type: none;
    text-align: left;
    margin:0;
    padding:0;
    overflow-y: scroll;
    height: 370px;
}
.custom-picklist ul li{
    border-bottom:1px solid #333;
    padding:0px 10px;
}
.custom-picklist ul li.active{
    background:black;
    color:white;
}
#picklistSearch{
    width:100%;
}

.label-gap{
    padding-top: 29px;
}


/*--- print section -------*/
.printsection{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    padding: 0.5cm;
    background: #fff;
    z-index: 100000000000000000000;
}


/*--- auto complete --------*/
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
    width:100%;
}
input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
}
input[type=text] {
    background-color: #f1f1f1;
    width: 100%;
}
input[type=submit] {
    background-color: DodgerBlue;
    color: #fff;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    max-height: 224px;
    overflow: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.autocomplete-items::-webkit-scrollbar {
    display: none;
}
.autocomplete-items div {
    padding: 2px 5px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    font-size: 14px;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}
.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

/*--- prescription table ----*/
.prestable {
    border-collapse: collapse;
    font-size: 0.9em;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.prestable thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}
.prestable th,.prestable td {
    padding: 4px 10px;
}
.prestable tbody tr {
    border-bottom: 1px solid #dddddd;
}
.prestable tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
.prestable tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}
.prestable tbody tr.active-row,.prestable tbody tr:hover {
    font-weight: bold;
    color: #009879;
}


/*--- sidepanel ----*/
.sidepanel-right{
    position:fixed !important; 
    right:0; 
    z-index:100;
    width:0 !important;
}
.sidepanel-right.active{
    display:block;
    width:100% !important;
}
.sidepanel-right .sparrow{
    float:left;
    position:absolute;
    border-radius: 50% 0 0 50%;
    width: 38px;
    height: 36px;
    left: -28px;
    background: white;
    z-index: 1000; 
    cursor: pointer;
}
.sidepanel-right .sparrow:hover{
    background-color: #000 !important;
    color:#fff !important;
}
.sidepanel-right .panel{
    position:absolute; 
    z-index:2000;
    display:none;
}
.sidepanel-right.active .panel{
    display: block;
}