@font-face {
    font-family: "Segoe UI";
    src: url("../fonts/SEGOEUI.TTF");
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif !important;
    font-size: 13px;
    background-color: #FAFAFA;
}

#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 !important;
    font-weight: lighter !important;
}

#collapseNavbar a {
    color: #c9ddd9 !important;
}

#collapseNavbar .dropdown.open a.dropdown-toggle,
#collapseNavbar .navbar-nav > li > .dropdown-menu {
    color: #000000 !important;
    background: #ffffff !important;
}

#collapseNavbar .dropdown-menu > li > a {
    color: #616161 !important;
}

@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid #000000;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in {
        display: block !important;
    }
}

.navbar-right + .popover {
    width: 300px;
}

.panel-list a + .popover {
    width: 600px;
}

.sect {
    padding-top: 50px;
    padding-bottom: 50px;
}

.sect-jr {
    padding-top: 20px;
    padding-bottom: 50px;
}

.sect-iii {
    padding-top: 15px;
    padding-bottom: 50px;
}

.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;
}

.no-top-padding {
    padding-top: 0;
}

.no-bottom-padding {
    padding-bottom: 0;
}

.no-left-padding {
    padding-left: 0;
}

.no-right-padding {
    padding-right: 0;
}

.valign-top {
    vertical-align: top;
}

.valign-bottom {
    vertical-align: bottom;
}

.full-width {
    width: 100%;
}

.full-width:before,
.full-width:after {
    display: table;
    content: " ";
}

.full-width:after {
    clear: both;
}

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,
.modal-footer .btn+.btn {
    margin-bottom: 4px;
}

.btn-group-vertical .btn,
.nav-tabs .btn {
    margin-bottom: 0;
}

.btn.pull-right {
    margin-left: 3px;
}

.btn.pull-left {
    margin-right: 3px;
}

.btn-consult {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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 {
    resize: none;
    /* min-height: 101px; */
}

form input[type="radio"].form-inline {
    margin-left: 8px !important;
}

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;
}

.dropsearch + .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: #d9534f !important;
}

.blue-text {
    color: #337ab7 !important;
}

.green-text {
    color: #4caf50 !important;
}

.yellow-text {
    color: #ffeb3b !important;
}

.violet-text {
    color: #9400d3 !important;
}

.orange-text {
    color: #ff7f00 !important;
}

.grey-text {
    color: #a8a8a8 !important;
}

.bold-text {
    font-weight: bold;
}

.italic-text {
    font-style: italic;
}

.regular-text {
    font-weight: 700;
    font-style: normal;
}

.btn-red {
    color: #ffffff !important;
    background: #d9534f;
}

.btn-red:hover {
    color: #ffffff;
    background: #ce4f4b;
}

.btn-blue {
    color: #ffffff !important;
    background: #337ab7;
}

.btn-blue:hover {
    color: #ffffff;
    background: #3071aa;
}

.btn-green {
    color: #ffffff !important;
    background: #4caf50;
}

.btn-green:hover {
    color: #ffffff;
    background: #46a149;
}

.btn-yellow {
    color: #424242 !important;
    background: #ffeb3b;
}

.btn-yellow:hover {
    color: #424242;
    background: #f3e036;
}

.btn-violet {
    color: #ffffff !important;
    background: #9400d3
}

.btn-violet:hover {
    color: #ffffff;
    background: #8c01c7
}

.btn-orange {
    color: #ffffff !important;
    background: #f0ad4e;
}

.btn-orange:hover {
    color: #ffffff;
    background: #ec971f;
}

.btn-grey {
    color: #ffffff !important;
    background: #a8a8a8;
}

.btn-grey:hover {
    color: #ffffff;
    background: #999898;
}

.btn-brown {
    color: #ffffff !important;
    background: #c5a488;
}

.btn-brown:hover {
    color: #ffffff;
    background: #c5a488;
}

.bg-default {
    background: #fafafa;
}

.bg-red {
    background: rgba(244, 67, 54, 0.22);
}

.bg-blue {
    background: rgba(51, 122, 183, 0.22);
}

.bg-green {
    background: rgba(76, 175, 80, 0.22);
}

.bg-yellow {
    background: rgba(255, 235, 59, 0.22);
}

.bg-violet {
    background: rgba(148, 0, 211, 0.22);
}

.bg-orange {
    background: rgba(240, 173, 78, 0.22)
}

.bg-grey {
    background: rgba(168, 168, 168, 0.22);
}

.bg-brown {
    background: rgba(197, 164, 136, 0.22);
}

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 */


/* Item Table */
.item-table {
    border-collapse: collapse;
    width: 100%;
}

.item-table,
.item-table th,
.item-table td {
    vertical-align: top;
    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;
    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;
    overflow: hidden;
}

.crud-box .crud-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #333;
}

.crud-box .crud-subtitle {
    font-size: 13px;
    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 .select2-container,
.crud-panel .select2-container,
.report-form .select2-container,
.select2-results__option {
    font-size: 13px !important;
}

.crud-box table td {
    word-break: break-all;
}

/* AMAYA UPDATE */

.crud-box .form-control,
.crud-box .control-label,
.crud-box .checkbox,
.crud-panel .form-control,
.crud-panel .control-label,
.crud-panel .checkbox,
.report-form .form-control,
.report-form .control-label,
.report-form .checkbox {
    font-size: 13px !important;
}

.crud-box hr,
.crud-panel {
    margin-top: 10px;
    margin-bottom: 10px;
}

.crud-box .btn,
.crud-panel .btn,
.report-form .btn {
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 3px;
}

textarea.autosize {
    width: 100%;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 13px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #555;
}

/* End of AMAYA UPDATE */

.crud-box .checkbox {
    margin-top: 0px;
}

.crud-box .memotic {
    display: inline-block;
    line-height: 30px;
    margin-left: 13px;
}

.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;
}

.crud-panel .crud-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #333;
    /* text-transform: uppercase; */
}

.crud-panel .panel-body {
    background: #ffffff;
    border-right: 1px #dddddd solid;
    border-bottom: 1px #dddddd solid;
    border-left: 1px #dddddd solid;
}

.crud-panel .nav-tabs li a {
    text-decoration: none;
}

/* 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;
    /*
    .collapsed{
       .arrow:before{
                 font-family: FontAwesome;
                 content: "\f053";
                 display: inline-block;
                 padding-left:10px;
                 padding-right: 10px;
                 vertical-align: middle;
                 float:right;
            }
     }
*/
}

.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 {
    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%;
}

.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: mini_houdini 0s ease-in 10s forwards;
    /* Firefox */
    -webkit-animation: mini_houdini 0s ease-in 10s forwards;
    /* Safari and Chrome */
    -o-animation: mini_houdini 0s ease-in 10s forwards;
    /* Opera */
    animation: mini_houdini 0s ease-in 10s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
@keyframes mini_houdini {
    to {
        width: 0;
        height: 0;
        overflow: hidden;
    }
}
@-webkit-keyframes mini_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 {
    padding-top: 7px !important;
}

.dataTable .actions .btn {
    margin: 0 0 7px 7px;
}

.smaller-font {
    font-size: 0.9em !important;
}

.larger-font {
    font-size: 1.1em !important;
}

.patient-dp-preview {
    object-fit: cover;
    object-position: center;
    height: 1.5in;
    width: 1.5in;
}

.patient-dp-preview-lg {
    object-fit: cover;
    object-position: center;
    height: 2in;
    width: 2in;
}

.dashed-box {
    width: 100%;
    background: #fff;
    border: 1px dashed #d8e2e7;
    -webkit-border-radius: 0px;
    -moz-border-radius: 50x;
    -ms-border-radius: 0px;
    border-radius: 0px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.dashed-box span.label {
    margin-bottom: 7px;
}

.inline {
    display: inline-block;
}

/* AMAYA UPDATE */

td {
    font-size: 13px;
}

p {
    font-size: 13px;
}

/* End of AMAYA UPDATE */

.ui-front {
    z-index: 2000 !important;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0);
    z-index: 9999;
    display: none;
  }
  
  #loader-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

