/*@font-face {
    font-family: "Segoe UI";
    src: url("../fonts/SEGOEUI.ttf");
}
*/
html {
    font-family: 'Segoe UI', sans-serif !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif !important;
    /*background-color: #FAFAFA;*/
}

body.general {
    background: #fafafa;
}

body.green {
    background: rgba(92, 184, 92, 0.12);
}

body.blue {
    background: rgba(51, 122, 183, 0.12);
}

body.orange {
    background: rgba(240, 173, 78, 0.12);
}

body.yellow {
    background: rgba(255, 215, 0, 0.12);
}

body.purple {
    background: rgba(128, 0, 128, .12);
}

body.cyan {
    background: rgba(91, 192, 222, .12);
}

body.pink {
    background: rgba(255, 20, 147, .12);
}

body.brown {
    background: rgba(197, 164, 136, .2);
}

/*.container {
    width: 1500px !important;
}*/

#mainNavbar,
#mainNavbar .dropdown-menu {
    background-color: #337AB7 !important;
}

#mainNavbar .icon-bar {
    background-color: #FFFFFF !important;
}

#mainNavbar .navbar-toggle {
    border: 1px solid #FFFFFF !important;
}

#mainNavbar .navbar-toggle:hover,
#mainNavbar .navbar-toggle:focus {
  background-color: #5BC0DE !important;
}

#collapseNavbar li a {
    color: #FFFFFF;
    font-weight: lighter !important;
}

#collapseNavbar li a:hover,#collapseNavbar li.dropdown.open a.dropdown-toggle {
    color: #555;
}

.navbar-right + .popover {
    width: 300px;
}

.panel-list a + .popover {
    width: 600px;
}

.sect {
    padding-top: 50px;
}

.sect-jr {
    padding-top: 20px;
}

.no-margin {
    margin: 0;
}

.no-end-margin {
    margin-top: 0;
    margin-bottom: 0;
}

.no-side-margin {
    margin-left: 0;
    margin-right: 0;
}

.no-padding {
    padding: 0;
}

.no-end-padding {
    padding-top: 0;
    padding-bottom: 0;
}

.no-side-padding {
    padding-left: 0;
    padding-right: 0;
}

.valign-top {
    vertical-align: top;
}

.valign-bottom {
    vertical-align: bottom;
}

.full-width {
    width: 100%;
}

table.table-padded th,
table.table-padded td {
    padding: 3px;
}

table.table-padded .clear {
    margin-top: 5px;
    margin-bottom: 15px;
    clear: both;
    display: block;
    padding: 0;
}

.btn {
    margin-bottom: 5px;
}

.btn.pull-right {
    margin-left: 3px;
}

.btn.pull-left {
    margin-right: 3px;
}

.btn-consult {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 0;
}

td:not(.details-control) {
    cursor: pointer;
}

td.details-control {
    background: url('../icons/details_open.png') no-repeat center center;
    cursor: default;
    width: 5%;
}

td.total-stock {
    text-decoration: underline;
    color: #337ab7;
}

tr.shown td.details-control {
    background: url('../icons/details_close.png') no-repeat center center;
}

.actions {
    padding: 0 !important;
}

.clear {
    clear: both;
}

form label {
    color: #323232 !important;
}

form textarea {
    min-height: 50px;
}

form .ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* html form .ui-autocomplete {
    height: 100px;
}

form .panel-body {
    background: #ffffff;
    border-right: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
    border-left: 1px #dddddd solid;
}

form .nav-tab ul li a {
    text-decoration: none;
}

form .template-box {
    display: inline-block;
    min-width: 200px;
    height: 250px;
    padding: 0 10px 5px 0;
}

form .template-item {
    height: 100%;
    width: 100%;
    border: 1px solid #cccccc;
    border-radius: 3px;
    text-align: center;
}

form .variable,
form .social-media-icon {
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    text-align: center;
    padding: 5px;
    width: 80px;
    display: inline-block;
}

.select2-container {
    width: 100% !important;
    margin: 0 !important;
}

.select2-selection,
.select2-selection__rendered,
.select2-selection__arrow {
    min-height: 34px !important;
    padding-top: 1px !important;
}

.red-text {
    color: #f44336 !important;
}

.blue-text {
    color: #337ab7 !important;
}

.green-text {
    color: #4caf50 !important;
}

.yellow-text {
    color: #ffeb3b !important;
}

.btn-yellow {
    color: #fff;
    background-color: #FFD700;
    border-color: #FFD700;
}

.btn-brown {
    color: #fff;
    background-color: #c5a488;
    border-color: #c5a488;
}

.violet-text {
    color: #9400d3 !important
}

.btn-purple {
    color: #fff;
    background-color: #800080;
    border-color: #800080;
}

.orange-text {
    color: #ff7f00 !important;
}

.grey-text {
    color: #a8a8a8 !important;
}

.bold-text {
    font-weight: bold !important;
}

.italic-text {
    font-style: italic !important;
}

.regular-text {
    font-weight: 700 !important;
    font-style: normal !important;
}

span.obj-name {
    color: #1976d2;
    font-weight: bold;
}

.ticket {
    overflow: hidden;
}

.ticket-title {
    clear: both;
    padding: 5px 0;
    border-bottom: 1px solid #e4e6e8;
    margin-bottom: 1em;
}

.ticket-content {
    padding-left: 20px;
    margin: 0 0 10px 0;
}

.ticket-author {
    float: right;
    padding: 7px;
    margin: 0;
    line-height: 18px;
    background: #e0eaf1;
}

.response {
    border-top: 1px solid #e4e6e8;
    overflow: hidden;
}

.response-content {
    padding-top: 20px;
    padding-left: 20px;
    margin: 0 0 10px 0;
}

.response-author {
    float: right;
    padding: 7px;
    margin: 0;
    line-height: 18px;
}

/* Sign Up */
.sign-box {
    width: 100%;
    max-width: 400px;
    margin: 50px auto 0;
    background: #fff;
    border: 1px solid #d8e2e7;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    padding: 20px;
    position: relative;
}

.sign-box .sign-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
    color: #333;
}

.sign-box .checkbox {
    margin-top: 0px;
}

.sign-box .memotic {
    display: inline-block;
    line-height: 30px;
}
/* End Sign Up */

/* Prescription Table */
.prescription-table {
    border-collapse: collapse;
    width: 50%;
    margin: auto;
}

.prescription-table,
.prescription-table th,
.prescription-table td {
    border: 1px solid #555555;
    padding: 5px 7px;
}
/* End Prescription Table */

/* Item Table */
.item-table {
    border-collapse: collapse;
}

.item-table,
.item-table th,
.item-table td {
    border: 1px solid #555555;
    padding: 5px 7px;
}

.item-table input.cuttlefish {
    border: 0;
    background: inherit;
    box-shadow: none;
    text-align: inherit;
    padding: 0;
}
/* End Item Table */

/* CRUD */
.crud-box {
    width: 100%;
    margin: 0 auto 20px 0;
    background: #fff;
    border: 1px solid #d8e2e7;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    padding: 20px;
    position: relative;
}

.crud-box .crud-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #333;
}

.crud-box .crud-subtitle {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    line-height: 0.1em;
    margin-top: 20px;
    margin-bottom: 20px;
    float: left;
}

.crud-box .crud-subtitle span {
    background: #ffffff;
    padding:0 10px;
}

.crud-box .checkbox {
    margin-top: 0px;
}

.crud-box .memotic {
    display: inline-block;
    line-height: 30px;
    margin-left: 12px;
}

.crud-box .well {
    background-color: inherit;
    padding-left: 0;
    padding-right: 0;
    border: none;
    box-shadow: none;
}

.crud-box .well .slider {
    width: 100%;
}

.crud-box .well .slider .slider-selection {
    background: #5bc0de;
}

/* .crud-box .clearfix {
    margin-top: 15px;
} */
/* End CRUD */

/* Side menu */

.nav-side-menu {
    overflow: auto;
    font-family: 'Lucida Grande', sans-serif;
    font-weight: 200;
    background-color: #333333;
    position: fixed;
    top: 0;
    width: 15%;
    height: 100%;
    color: #e1ffff;
}

.nav-side-menu .brand {
    background-color: #fff;
    line-height: 50px;
    display: block;
    text-align: center;
    font-size: 14px;
}

.nav-side-menu .toggle-btn {
    display: none;
}

.nav-side-menu ul, .nav-side-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 35px;
    cursor: pointer;
}

.nav-side-menu ul :not(collapsed) .arrow:before, .nav-side-menu li :not(collapsed) .arrow:before {
    font-family: FontAwesome;
    content: "\f078";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
}

.nav-side-menu ul .active, .nav-side-menu li .active {
    /*border-left: 3px solid #d19b3d;*/
    background-color: #4f5b69;
}

.nav-side-menu ul .sub-menu li.active, .nav-side-menu li .sub-menu li.active {
    color: #d19b3d;
}

.nav-side-menu ul .sub-menu li.active a, .nav-side-menu li .sub-menu li.active a {
    color: #d19b3d;
}

.nav-side-menu ul .sub-menu li, .nav-side-menu li .sub-menu li {
    background-color: #181c20;
    border: none;
    line-height: 28px;
    /*border-bottom: 1px solid #23282e;*/
    margin-left: 0;
}

.nav-side-menu ul .sub-menu li:hover, .nav-side-menu li .sub-menu li:hover {
    background-color: #223b59;
}

.nav-side-menu ul .sub-menu li:before, .nav-side-menu li .sub-menu li:before {
    font-family: FontAwesome;
    content: "\f105";
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
}

.nav-side-menu li {
    padding-left: 0;
    /*border-left: 3px solid #2e353d;
  border-bottom: 1px solid #23282e;*/
}

.nav-side-menu li a {
    display: block;
    text-decoration: none;
    color: #e1ffff;
    padding: 0px !important;
}

.nav-side-menu li a i {
    padding-left: 10px;
    width: 20px;
    padding-right: 20px;
}

.nav-side-menu li:hover {
    border-left: 3px solid white;
    background-color: #555555;
}

@media (max-width: 767px) {
    .nav-side-menu {
        position: relative;
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-side-menu .toggle-btn {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 10 !important;
        padding: 3px;
        background-color: #ffffff;
        color: #000;
        width: 40px;
        text-align: center;
    }
    .brand {
        text-align: left !important;
        font-size: 22px;
        padding-left: 20px;
        line-height: 50px !important;
    }
}

@media (min-width: 767px) {
    .nav-side-menu .menu-list .menu-content {
        display: block;
    }
}


/* end side menu */

.contentpart {
    margin-left: 15%;
}

.navbar-nav>li>a {
    padding-left: 3px;
    padding-right: 3px;
}

.box {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 0 1px #e4e6eb;
    -moz-box-shadow: 0 1px 0 1px #e4e6eb;
    box-shadow: 0 1px 0 1px #e4e6eb;
    margin: 0 0 30px 0;
}

.box .box-header {
    background: #3498db;
    color: white;
    font-size: 16px;
    overflow: hidden;
    -webkit-border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
}

.box .box-header > h2 {
    float: left;
    padding: 10px 0;
    margin: 0 0 0 20px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 300;
}

.box .box-header .box-icon {
    background: #d0104d;
    float: right;
}

.box .box-content {
    padding: 10px;
    background: white;
    -webkit-border-radius: 0 0 2px 2px;
    -moz-border-radius: 0 0 2px 2px;
    border-radius: 0 0 2px 2px;
}

.box .box-header .box-icon i {
    display: inline-block;
    color: white;
    text-align: center;
    width: 36px;
    padding: 10px 0;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    opacity: .8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha(opacity=80)";
    border-left: 1px solid #36a9e1;
    text-decoration: none;
}

.box .box-header h2 i {
    background: #8d8d94;
    color: white;
    padding: 10px 0;
    width: 36px;
    display: inline-block;
    text-align: center;
    margin: -10px 20px -10px -20px;
}

.error {
    color: #e53935;
    text-align: center;
    background-color: #ffcccc;
    overflow: hidden;
}

.success {
    color: #4caf50;
    text-align: center;
    background-color: #ccffcc;
    overflow: hidden;
}

.error,
.success {
    -moz-animation: minute_houdini 0s ease-in 5s forwards;
    /* Firefox */
    -webkit-animation: minute_houdini 0s ease-in 5s forwards;
    /* Safari and Chrome */
    -o-animation: minute_houdini 0s ease-in 5s forwards;
    /* Opera */
    animation: minute_houdini 0s ease-in 5s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@keyframes minute_houdini {
    to {
        width: 0;
        height: 0;
        overflow: hidden;
    }
}
@-webkit-keyframes minute_houdini {
    to {
        width: 0;
        height: 0;
        visibility: hidden;
    }
}

.inputWidth input {
    width: 100%;
}

#right {
    text-align: right;
    margin-top: 7px;
    color: #656565;
}

.topbtn {
    padding: 1% 0;
    overflow: auto;
}

.topbtn .title {
    font-size: 17px;
    font-weight: bold;
}

table th {
    text-align: center;
}

body.login2-bg {
    background: #336699 !important;
}

.center {
    text-align: center;
    color: #fff;
}

.btn-roles {
    color: #fff;
    background-color: #00bff3;
    border-color: #357ebd;
    width: 100%;
}

a:hover, a:focus {
    color: #333;
}


/*Richmedia*/

.actioncol a.btn {
    margin-bottom: 5px;
}

.linetitle {
    margin: 0;
    border: 1px solid #000;
}

.sub-menu a {
    text-decoration: none;
    color: #e1ffff;
}

.sys-champ-item {
    margin-bottom: 15px;
}


/* RECEIPT */
.receipt {
    background: #fff;
    border: 1px solid #d8e2e7;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    padding: 20px;
    position: relative;
    min-height: 500px;
    margin: 0 auto 20px 0;
}

.receipt-header {
    text-align: center;
    margin-bottom: 25px;
}

.receipt-header:after {
    display: table;
    content: " ";
    clear: both;
}

.receipt-header h4,
.receipt-header p {
    margin-bottom: 0;
    display: block;
}

.receipt-body {
    border-collapse: collapse;
    width: 100%;
}

.receipt-body thead tr,
.receipt-body thead th {
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background: #E3E3E3;
    padding: 1px 7px;
}

.receipt-body tbody tr,
.receipt-body tbody td {
    padding: 3px 7px;
}

.receipt-body tbody tr:last-child,
.receipt-body tbody tr:last-child td {
    border-bottom: 1px solid #000000;
}

.receipt-body tfoot tr,
.receipt-body tfoot td {
    border: none !important;
    padding: 0 7px;
}

.receipt-body th,
.receipt-body td {
    vertical-align: top;
}


.receipt .r-title {
    color: #545454;
    font-weight: 700;
    padding-right: 7px;
}

.receipt .r-subtitle {
    color: #1B5E20;
    font-weight: 700;
    padding-right: 7px;
}

.receipt .r-label {
    color: #545454;
    font-weight: 700;
    padding-right: 7px;
}

.receipt .r-value {
    padding-right: 7px;
}

.receipt .clear {
    margin-top: 5px;
    margin-bottom: 15px;
    clear: both;
    display: block;
    padding: 0;
}

.receipt .clear-jr {
    margin-top: 2px;
    margin-bottom: 2px;
    clear: both;
    display: block;
    padding: 0;
}

.receipt hr.signature-line {
    border-top: 1px solid #333;
}

.receipt small {
    font-size: 90%;
}

@media print and (orientation: portrait) {
    body * {
        visibility: hidden;
    }

    body.dt-print-view * {
        visibility: visible;
    }

    .datatable,
    .datatable *,
    .receipt,
    .receipt * {
        visibility: visible;
    }

    .receipt {
        padding: 0;
        margin: -40% 0 0 -20%;
        width: 120%;
        position: absolute;
        left: 0;
        top: 0;
        border: none;
    }
}

@media print and (orientation: landscape) {
    body * {
        visibility: hidden;
    }

    body.dt-print-view * {
        visibility: visible;
    }

    .datatable,
    .datatable *,
    .receipt,
    .receipt * {
        visibility: visible;
    }

    .receipt {
        padding: 0;
        margin: 0 0 0 -20%;
        width: 120%;
        position: absolute;
        left: 0;
        top: 0;
        border: none;
    }
}
/* End RECEIPT */

.dataTable .actions .btn {
    margin: 7px 0 7px 7px;
}

.allergytext {
    color: #ff0000 !important;
}


/*custom*/
.generaldata, .vitalsigns, .historycol {
    border-left: 2px solid #5bc0de;
    float: none;
    display: table-cell;
}

.idsize {
    width: 1.5in;
    height: 1.5in;
    object-fit: cover;
    object-position: center;
}

.no-image {
        font-size: 25px;
    text-align: center;
    border: 2px dashed #acacac;
    padding: 20%;
    width: 1.5in;
    height: 1.5in;
}

g.highcharts-button.highcharts-contextbutton.highcharts-button-normal {
    display: none;
}

path.highcharts-button-symbol {
    display: none;
}

.box {
    border: 1px solid #363636;
}

.filterbtn {
    margin-top: 27%;
    margin-bottom: 0;
}
/* CSS Changes */
.form-control {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 12px;
}

.crud-box .crud-title {
    font-size: 14px;
}
label {
    font-size: 12px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.no-side-padding-right {
    padding-right: 0;
}

.no-side-padding-left {
    padding-left: 0;
}

td {
    font-size: 12px;
}

p {
    font-size: 12px;
}

.inline {
    display: inline-block;
}

textarea {
    width: 100%;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #555;
    resize: none;
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    width: 100%;
    /*background-color: #f1f1f1;*/
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    /*float: left;*/
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}
/* Highcharts area opacity*/
path.highcharts-area {
    fill-opacity: 0.1;
}

/* The Action Button for history/laboratory */
#action-btn-lab-history{
    padding: 0px 1px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

@media print {
    .no-print {
        display: none;
    }
}

.prescription-cell {
    padding: 5px;
}

/* For Navbar*/
@media (max-width: 900px) {
    #collapseNavbar {
        font-size: 11px;
    }
}

/* For Navbar*/
@media (max-width: 1180px) {
    #collapseNavbar {
        font-size: 11px;
    }
}