body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
    font-size: 16px;
}

.logo-lg {
    font-size: 1.1em;
}

.main-header .sidebar-toggle {
    height: 50px;
}

table {
    background: #fff;
}

.nav .nav-tabs {
    margin-right: 0;
}

.tab-content {
    background: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.tab-content>.tab-pane {
    background: #fff;
    padding-top: 20px;
}

form.form-horizontal.prescription-form{
    padding: 0;
}
form.form-horizontal {
    padding: 10px 0 0 0;
    background: #fff;
}

form.form-horizontal .control-group:first-of-type {
    padding-top: 10px;
}

form.form-horizontal .alert {
    margin: 15px;
}

form.form-horizontal ul.nav {
    margin-top: -10px;
}

.form-actions {
    margin-top: 0px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

select,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    height: 30px;
    margin-top: 5px;
}

input,
textarea,
.uneditable-input {
    width: 220px;
}

/* textarea {
    height: 100px;
} */

.input-append .add-on,
.input-prepend .add-on {
    height: 30px;
    margin-top: 5px;
}

.filter-form label {
    width: 150px;
}

.filter-form input,
.filter-form select,
.filter-form div.select2-container {
    margin: 5px 0 10px 0;
}

h4 {
    font-size: 21px;
}

.alert .close {
    right: 0;
}

.alert a {
    text-decoration: none;
}

.input-append,
.input-prepend {
    margin-bottom: 0;
}

a#bulk-update-btn {
    float: none !important;
    margin: 0 0 0px 15px;
}

.content {
    padding: 20px;
}

.content-header {
    /*padding: 0 15px;*/
    padding: 0;
}

.content-header h4 {
    margin-top: 0;
}

.box {
    padding: 15px;
}

.box-body .grid-view {
    padding: 0;
    min-height: 200px;
}

.box-body .table {
    margin: 0;
}

.login-box .errorMessage {
    /*margin-top: 5px;*/
    display: inline-block;
}

.field-mar {
    margin: 0 10px;
}

ul.nav.nav-tabs {
    background: #ecf0f5;
    margin-right: 0;
}

.orders-manage label {
    white-space: nowrap;
}

.orders-manage.content {
    padding: 20px;
}

.orders-manage select {
    /* height: 35px; */
    /* max-width: 150px; */
    margin: 0;
    /* margin-bottom:5px; */
    height: 34px;
    max-width: 200px;
}

/*repsonsive grids*/
.grid-view {
    width: 100%;
    padding-top: 15px;
    min-height: .01%;
    overflow-x: auto;
}

.content-body .grid-view>table,
.orders-manage .grid-view>table {
    box-shadow: 1px 0px 0px 1px rgba(0, 0, 0, 0.1);
}

thead>tr>th {
    background: #f4f4f4;
}

.filter-container>input {
    margin: 0;
}

.grid-view .pagination .yiiPager {
    padding: 0;
}

.controls select {
    height: 30px;
    margin-top: 5px;
}

select {
    margin: 0;
}

.content-body {
    width: 100%;
    /*padding-left:15px;
   padding-right:15px;*/
    position: relative;
    min-height: 1px;
}

.search-form {
    padding-top: 10px;
}

.search-form .form-actions {
    margin: 0;
}

.breadcrumbs {
    /*float:right;*/
    margin-bottom: 10px;
}

.legend {
    border: 0;
}

@media (max-width: 767px) {
    .main-header .navbar .sidebar-toggle {
        position: absolute;
        ;
        top: -50px;
    }

    .main-header>.navbar {
        min-height: auto;
    }

    .main-sidebar,
    .left-side {
        padding-top: 50px;
    }
}

.ax-panel-ddl {
    width: 100%;
    height: 25px;
    font-size: 13px;
}

.label {
    font-size: 80%;
    text-shadow: none;
}

#ax-modal {
    top: 0;
    margin: auto;
    max-height: calc(100vh - 210px);
    width: 60%;
    background: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
}

#ax-modal .modal-header {
    padding: 5px;
    border: 0;
}

#ax-modal .modal-content {
    background: #ecf0f5;
}

#ax-modal .modal-body {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}

#ax-modal .close {
    font-size: 24px;
}

.img-preview {
    height: 100px;
    width: auto;
}

.btn-app {
    padding: 30px 10px;
    height: 100px;
    font-size: 1.2em;
    min-width: 200px;
}

.detail-view img {
    width: 300px;
}

.orders-manage p {
    height: 35px;
}

.well.well-pad {
    padding: 10px;
}

.addr-div {
    white-space: pre;
    margin-bottom: 25px;
}

.btn-inline {
    display: inline;
    margin-left: 10px;
}

.kds-order-items>td {
    font-size: 1.1em;
}

.kds-order-items>td .label,
#menu-item-grid .label {
    color: #444;
    border: 1px solid #eee;
    width: 95%;
    display: block;
    font-size: 15px;
}

.btn-kds {
    font-weight: bold;
    margin-left: 20px;
    margin: 5px;
}

.extrarow div {
    line-height: 44px;
}

/* .user-panel>.info {
    padding: 15px 5px 5px 15px;
} */
.skin-green-light .user-panel>.info a{
    color: #444;
}

.daterangepicker .ranges {
    width: 175px !important;
}

.input-prepend span.add-on+input {
    width: 194px;
}

.ax-modgrp-item .ax-modgrp {
    border-bottom: 1px solid #eee;
    padding: 20px 15px;
}

.ax-modgrp-item .ax-modgrp:first-child {
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.ax-modgrp-item .ax-modgrp input[type="text"],
.ax-modgrp-item .ax-modgrp input[type="select"] {
    width: 100%;
}

.ax-modgrp-item-btn {
    margin: 10px 30px;
}

.ax-modgrp-item-btn.btn-header {
    margin: 0;
}

.ax-modgrp-item .ax-modgrp select[multiple] {
    height: 34px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(170, 170, 170);
}

fieldset {
    margin: 0 15px;
}
fieldset[disabled] {
    pointer-events: none;
    opacity: 0.65;
}

.ax-instructions {
    color: #444;
    font-size: 14px;
    margin-left: 180px;
    margin-top: -10px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .form-horizontal .ax-instructions {
        margin-left: 0;
    }
}

input[type="file"] {
    display: inline-flex;
    margin-top: 8px;
    margin-bottom: -8px;
}

.main-header img.logo-lg {
    margin: auto;
    max-height: 100%;
    padding: 10px;
}

.login-logo {
    max-width: 250px;
    margin: auto;
    padding: 15px;
}

input[type=checkbox],
input[type=radio] {
    margin: 0 3px 3px 3px;
}

.ax-dyna-row {
    width: 100%;
    overflow-x: scroll;
    padding: 10px 0px;
}

.ax-dyna-row .control-group {
    display: inline-block;
}

.ax-dyna-row label {
    padding: 0 15px;
}

@media (max-width: 1044px) {
    .ax-dyna-row label {
        display: block;
        padding: 0;
    }
}

.ax-dyna-row input {
    margin: 0;
}

.filter-section {
    margin-bottom: 10px;
}
.ax-config-block {
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 15px;
    padding-bottom: 20px;
}

.ax-config-block .ax-config-block-header {
    border-bottom: 1px solid #eee;
    margin: 15px 0;
}

.ax-dyna-row .box-header.with-border {
    margin-bottom: 15px;
}

.ax-config-block input[type="checkbox"] {
    display: inline-block;
}

.ax-config-block .ax-dyna-row:first-of-type {
    border-top: 1px solid #f4f4f4;
}

.ax-config-block .ax-dyna-row {
    border-bottom: 1px solid #f4f4f4;
}

.ax-dyna-row-block {
    margin: 10px 0;
}

.fa.fa-sm {
    font-size: 10px;
}

@media (max-width: 480px) {
    .content {
        padding: 0 5px;
    }

    .control-group {
        padding: 15px;
    }
}

.pres-qty-input {
    max-width: 40px;
}

pre {
    margin: 15px 0;
    border: 0;
    min-height: 100px;
}

table input[type] {
    margin-top: 0;
}

.ax-prescription-detail,
.ax-prescription-item {
    padding: 0 15px 15px 15px;
}

table .fixed-width {
    width: 50px;
}

.select2-container .select2-choice {
    margin-top: 5px;
    height: 30px;
    background: transparent;
    max-width: 100%;
}

label.ax-form-title {
    font-size: 21px;
    font-weight: 400;
}

.ax-prescription-item .grid-view {
    padding-top: 5px;
}

/* .s2-search-drugs {
    margin: 0 10px;
} */
#s2id_drug-select2:after {
    content: "\e003";
    font-family: 'Glyphicons Halflings';
    font-size: 0.9em;
    color: #8e8e8e;
    position: absolute;
    right: 8px;
    bottom: 8px;
}

#s2id_drug-select2 {
    width: 100%;
    margin: 10px 0;
}

#s2id_drug-select2 .select2-choices {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    /* box-shadow: none;     */
    background-image: none;
}

.select2-drop {
    border-color: #ccc;
}

.s2-search-drugs:after {
    content: '\f002';
    font-family: "FontAwesome";
    position: absolute;
    top: 6px;
    right: 10px;
    color: #aaa;
}

.prescription-s2-label {
    /* color: #999; */
    font-size: 0.8em;
    font-style: italic;
}

/* .ax-prescription-item .select2-results li{
    border: 1px solid #eee;
} */

.ax-prescription-item table {
    counter-reset: rowNumber;
}

.ax-prescription-item table tbody tr {
    counter-increment: rowNumber;
}

.ax-prescription-item table tbody tr td:first-child::before {
    content: counter(rowNumber);
    min-width: 1em;
    margin-right: 0.5em;
}

.ax-prescription-item th.col-index {
    width: 30px;
}

.ax-prescription-item th.col-instructions,
.ax-prescription-item .instruction {
    width: 505px;
    word-wrap: break-word;
}

.ax-prescription-item .instruction .dosage {
    max-width: 50px;
}

.ax-prescription-item .instruction .interval {
    max-width: 75px;
}

.ax-prescription-item .instruction .route {
    max-width: 200px;
}

@media (max-width: 500px) {
    #content {
        padding-top: 15px;
    }

    .ax-prescription-item th.col-instructions,
    .ax-prescription-item .instruction {
        width: auto;
    }

    .ax-prescription-item table {
        display: block !important;
    }

    .ax-prescription-item table thead {
        background: #f4f4f4;
    }

    /* .ax-prescription-item table th{
        display: block !important;
        width: 100% !important;
    } */
    .ax-prescription-item table tbody tr td,
    .ax-prescription-item table thead tr th {
        display: inline-block;
        border: 0;
        max-width: 100%;
    }

    .ax-prescription-item table {
        border-collapse: collapse;
    }

    .ax-prescription-item table tbody tr td.instruction {
        width: 100%;
    }

    .ax-prescription-item table tbody tr {
        border-top: 1px solid #f4f4f4;
        border-bottom: 1px solid #f4f4f4;
    }

    /* .ax-prescription-item table tbody tr td:first-child{
        padding-top: 15px;
    }
    .ax-prescription-item table tbody tr td:last-child{
        padding-bottom: 15px;
    } */
    .ax-prescription-item .instruction .interval {
        max-width: 25%;
    }

    .ax-prescription-item .instruction .route {
        max-width: 50%;
    }
}

.rx-layout .content,
.skin-green-light.rx-layout .wrapper {
    background: #fff;
}

.rx-layout .content {
    padding: 15px;
}

#rx-charge-grid, #rx-order-grid {
    padding-top: 0;
}

#rx-charge-grid td:first-child, #rx-order-grid td:first-child {
    text-align: left;
}

#rx-charge-grid td, #rx-order-grid td {
    text-align: center;
    vertical-align: middle;
}

.rx-layout .box-body {
    padding: 5px 0;
}

.box-content {
    padding: 15px;
}

.rx-layout h1 {
    font-weight: bold;
}

.rx-layout .form-footer {
    padding: 15px 0;
}

.white-bg {
    background: #fff;
}
.lgray-bg {
    background: #f4f4f4;
}
.gray-bg {
    background: #eee;
}

.ax-money {
    text-align: right;
    width: 150px;
    padding-right: 5px;
}
.rx-layout fieldset{
    margin: 0;
}
.box-inline-2 {
    white-space: nowrap;
    margin: 10px 0;
}
.box-inline-2 input{
    margin-top: 0;
}
.box-inline-2 .input-group {
    height: 30px;
    /* margin-top: 5px; */
    width: calc(50% - 0px);
    display: inline-flex;
}
.box-inline-2 input {
    display: inline-block;
    width: calc(50% - 5px);
    white-space: normal;
}
.input-group .input-group-addon{
    height: 30px;
    /* margin-top: 5px; */
}
.input-group-addon:first-child{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.box-inline-2 input:last-child {
    float: right;
}

.btn-rx {
    background: #ad71ad;
    font-size: 16px;
    color: #fff;
    text-shadow: none;
    min-width: 100px;
}

.btn-rx:hover,
.btn-rx:active,
.btn-rx:focus {
    background: #854d85;
    color: #fff;
    text-shadow: none;
}

.spacer {
    padding: 10px 0;
}
.spacer-mg {
    margin: 10px 0;
}

.rx-layout {
    max-width: 800px;
    background: #eee;
    margin: auto;
}

.rx-layout label {
    margin-top: 3px;
}

.rx-layout .spacer {
    padding: 10px 0;
}

.select2-container-multi .select2-choices .select2-search-field {
    font-size: 14px;
}

textarea {
    font-size: 14px;
    resize: none;
}

.select-provider {
    width: calc(100% - 100px);
}

.w100 {
    width: 100%;
}

.rx-item-row {
    position: relative;
    padding: 15px 0;
    margin: 0;
    border-bottom: 1px solid #eee;
}
.rx-item-row:last-child{
    border-bottom: 0;
}

.rx-item-title {
    font-size: 16px;
    color: #444;
}

.rx-total {
    font-size: 16px;
}

.rx-item-dosage {
    font-size: 0.9em;
    font-style: italic;
}

.rx-remove-link {
    /* color: #ccc; */
    /* margin-top: 8px; */
}

.rx-remove-link:hover,
.rx-remove-link:active,
.rx-remove-link:focus {
    color: #aaa;
}

.rx-attr-block {
    max-width: 200px;
    padding-right: 0;
    float: right;
}

.rx-details {
    max-height: 200px;
    overflow-y: scroll;
}

.consult-attr {
    display: inline-block;
    min-width: 100px;
}

.content {
    min-height: calc(100vh - 100px);
}

.swing-in-top-fwd {
    -webkit-animation: swing-in-top-fwd 0.3s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
    animation: swing-in-top-fwd 0.3s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}

input[type="number"]{
    font-size: 16px;
}
input[type="number"].error{
    border-color: #b94a48;
    color: #b94a48;
}

.new-order-form input[type="number"]{
    font-size: 14px;
}
.new-order-form input[type="number"].error{
    border-color: #b94a48;
    color: #b94a48;
}

/* ----------------------------------------------
 * Generated by Animista on 2018-12-13 14:53:31
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation swing-in-top-fwd
 * ----------------------------------------
 */
@-webkit-keyframes swing-in-top-fwd {
    0% {
        -webkit-transform: rotateX(-100deg);
        transform: rotateX(-100deg);
        -webkit-transform-origin: top;
        transform-origin: top;
        opacity: 0;
    }

    100% {
        -webkit-transform: rotateX(0deg);
        transform: rotateX(0deg);
        -webkit-transform-origin: top;
        transform-origin: top;
        opacity: 1;
    }
}

@keyframes swing-in-top-fwd {
    0% {
        -webkit-transform: rotateX(-100deg);
        transform: rotateX(-100deg);
        -webkit-transform-origin: top;
        transform-origin: top;
        opacity: 0;
    }

    100% {
        -webkit-transform: rotateX(0deg);
        transform: rotateX(0deg);
        -webkit-transform-origin: top;
        transform-origin: top;
        opacity: 1;
    }
}

.grid-view .filters input, .grid-view .filters select{
    min-width: 30px;
}

.line-values-text{
    display:block;
    margin:0;
    white-space: nowrap;
}
.margin-top-s{
    margin-top: 5px;
}
.margin-top-m{
    margin-top: 20px;
}
.margin-top-l{
    margin-top: 40px;
}

/* hide number input arrows */
input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* .label-primary{background-color:#ad71ad !important;} */

.upload-section form.form-horizontal{
    padding: 15px 0;
}
.upload-section input{
    width:220px;
    margin-right:15px;
    /* margin-top: 0;
    margin-right: 15px; */
}
.form-inline {
    display: inline-block;
}

#outlet-config-form .ax-dyna-row input[type="text"]{
    width: 150px;
    max-width: 100%;
}
#outlet-config-form input[type="text"]{
    width: 400px;
    max-width: 100%;
}
#system-config-form input[type="text"]{
    margin-top: 0;
}
.btn:focus, .btn.active:focus{
    outline: none !important;
}
.filter-section .btn {
    padding: 5px 20px;
}
.ax-config-form {
    margin-top: 20px;
}
/* .rx-layout .box-body {
    margin: 0 -15px;
} */

.bootstrap-timepicker-widget table td input{
    width: 35px;
}

.swal-button--confirm{
    background-color: #7685bc;
}
#s2id_order-select2:after {
    content: "\e003";
    font-family: 'Glyphicons Halflings';
    font-size: 0.9em;
    color: #8e8e8e;
    position: absolute;
    right: 8px;
    bottom: 8px;
}

#s2id_order-select2 {
    width: 100%;
    margin-top: 5px;
}

#s2id_order-select2 .select2-choices {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    /* box-shadow: none;     */
    background-image: none;
}
.box-row {
    margin-left: -10px;
    margin-right: -10px;
}

/* Borders */
.border         { border: 1px solid #eee !important; }
.border-top     { border-top: 1px solid #eee !important; }
.border-right   { border-right: 1px solid #eee !important; }
.border-bottom  { border-bottom: 1px solid #eee !important; }
.border-left    { border-left: 1px solid #eee !important; }

.border-0        { border: 0 !important; }
.border-top-0    { border-top: 0 !important; }
.border-right-0  { border-right: 0 !important; }
.border-bottom-0 { border-bottom: 0 !important; }
.border-left-0   { border-left: 0 !important; }

/* Border-radius */
.rounded {
  border-radius: 4px !important;
}
.rounded-top {
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
}
.rounded-right {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}
.rounded-bottom {
  border-bottom-right-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}
.rounded-left {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-0 {
  border-radius: 0 !important;
}
body{
    padding: 0;
}

#otuid-modal{
    width: 100%;
    margin: auto;
}
#otuid-modal .modal-content{
    border-radius: 1rem;
}
form.new-order-form{
    padding: 0;
    margin: 0;
}
#cancel-drug-btn{
    margin-right: 10px;
}
.form-line {
    margin-top: 10px;
}
.rx-remove-link{
    position: absolute;
    top: -5px;
    right: 10px;
    color: #ccc;
    font-size: 21px;
    margin: 0;
}
.new-order-form .rx-remove-link{
    top: 20px;
}

@media (min-width: 768px) {
    .rx-price-block {
        padding-right: 30px;
    }
    .new-order-form .rx-total {
        padding-right: 15px;
    }
} 
.rx-layout .swal-modal {
    vertical-align: top;
}

.fixed-height__div {
    max-height: 150px;
    overflow-y: scroll;
    border: 1px solid #ddd;
}

.skin-green-light .user-panel>.info a{
    color: #3c8dbc;
}
.skin-green-light .user-panel>.info a:hover, .skin-green-light .user-panel>.info a:active, .skin-green-light .user-panel>.info a:focus{
    color: #72afd2;
}
#reset-password-form.form-horizontal .controls{
    margin-left: 210px;
}
#reset-password-form.form-horizontal .control-label{
    width: 200px;
}

/* smoba */
.grid-top-actions {
    padding: 10px;
    margin-bottom: -15px;
    border: 1px solid #eee;
}