:root {
    --color-primary: #293a7b;
    --color-secondary: #d6dcf5;
    --color-background: #f5f7ff;
    --color-primary-darker: #131e47;
    --color-outline: #a3a3b0;
    --color-placeholder: #91a3b3;
    --color-section-hover: #dddddd;
    --color-outline-hover: #c9c9c9;
    --color-text: #202026;
    --color-text-primary: #0b0b2d;
    --color-text-darker: #030715;
    --color-icon: #8fa7f4;
    --color-icon-2: #d8e4ff;
    --color-icon-3: #111134;
    --color-primary-rgb: 101, 123, 193;
    --color-bg-rgb: 31, 31, 31;
}
.hide{
    display: none;
}
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-right{
    text-align: right;
}

.p-0 {
    padding: 0 !important;
}
.p-1 {
    padding: .25rem !important;
}
.p-2 {
    padding: .5rem !important;
}
.p-3 {
    padding: 1rem !important;
}
.p-4 {
    padding: 1.25rem !important;
}
.p-5 {
    padding: 1.5rem !important;
}

.pl-0 {
    padding-left: 0rem !important;
}
.pl-1 {
    padding-left: .25rem !important;
}
.pl-2 {
    padding-left: .5rem !important;
}
.pl-3 {
    padding-left: 1rem !important;
}
.pl-4 {
    padding-left: 1.25rem !important;
}
.pl-5 {
    padding-left: 1.5rem !important;
}

.pr-0 {
    padding-right: 0rem !important;
}
.pr-1 {
    padding-right: .25rem !important;
}
.pr-2 {
    padding-right: .5rem !important;
}
.pr-3 {
    padding-right: 1rem !important;
}
.pr-4 {
    padding-right: 1.25rem !important;
}
.pr-5 {
    padding-right: 1.50rem !important;
}

.pt-0{
    padding-top: 0rem !important;
}
.pt-1{
    padding-top: .25rem !important;
}
.pt-2{
    padding-top: .5rem !important;
}
.pt-3{
    padding-top: .5rem !important;
}
.pt-4{
    padding-top: 1rem !important;
}
.pt-5{
    padding-top: 1.5rem !important;
}

.pb-0{
    padding-bottom: 0rem !important;
}
.pb-1{
    padding-bottom: .25rem !important;
}
.pb-2{
    padding-bottom: .5rem !important;
}
.pb-3{
    padding-bottom: 1rem !important;
}
.pb-4{
    padding-bottom: 1.25rem !important;
}
.pb-5{
    padding-bottom: 1.5rem !important;
}

.m-0 {
    margin: 0 !important;
}
.m-1 {
    margin: .25rem !important;
}
.m-2 {
    margin: .5rem !important;
}
.m-3 {
    margin: 1rem !important;
}
.m-4 {
    margin: 1.25rem !important;
}
.m-5 {
    margin: 1.5rem !important;
}

.ml-0{
    margin-left: 0rem !important;
}
.ml-1{
    margin-left: .25rem !important;
}
.ml-2{
    margin-left: .5rem !important;
}
.ml-3{
    margin-left: 1rem !important;
}
.ml-4{
    margin-left: 1.25rem !important;
}
.ml-5{
    margin-left: 1.5rem !important;
}

.mr-0{
    margin-right: 0rem !important;
}
.mr-1{
    margin-right: .25rem !important;
}
.mr-2{
    margin-right: .5rem !important;
}
.mr-3{
    margin-right: 1rem !important;
}
.mr-4{
    margin-right: 1.25rem !important;
}
.mr-5{
    margin-right: 1.5rem !important;
}

.mt-0{
    margin-top: 0rem !important;
}
.mt-1{
    margin-top: .25rem !important;
}
.mt-2{
    margin-top: .5rem !important;
}
.mt-3{
    margin-top: 1rem !important;
}
.mt-4{
    margin-top: 1.25rem !important;
}
.mt-5{
    margin-top: 1.5rem !important;
}

.mb-0{
    margin-bottom: 0rem !important;
}
.mb-1{
    margin-bottom: .25rem !important;
}
.mb-2{
    margin-bottom: .5rem !important;
}
.mb-3{
    margin-bottom: 1rem !important;
}
.mb-4{
    margin-bottom: 1.25rem !important;
}
.mb-5{
    margin-bottom: 1.5rem !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance:textfield;
}

.submenu-level-2{
    padding-left: 1.5rem !important;
}

td.vertical-top{
    vertical-align: top !important;
}

.select2-container--default .select2-selection--single {
    display: block;
    width: 100%;
    height: 40px;
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #607080;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dce7f1;
    border-radius: .25rem;
}

.select2-container .select2-selection--single .select2-selection__rendered{
    padding-left: 0px;
}

.sidebar-wrapper .menu {
    padding: 0 1rem !important;
}
.sidebar-wrapper .menu .sidebar-item {
    margin-top: .3rem !important;
}

.has-error input,
.has-error input:focus,
.has-error textarea,
.has-error textarea:focus,
.has-error select,
.has-error select:focus {
    border: 1px solid #dc3545 !important;
}

.form-control[disabled],
.form-control[readonly] {
    background-color: #f6f6f6 !important;
    color: #a3a3a3 !important;
}

.btn-default{
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
    color: #6c757d !important
}

.emr-iframe .card,
.emr-iframe .accordion-collapse,
.emr-iframe .accordion-item,
.emr-iframe .accordion{
    background-color: transparent;
}
.emr-iframe .accordion-body{
    background-color: transparent;
    padding: 10px;
}
.emr-iframe .accordion-body .activity-title{
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text-primary);
}
.emr-iframe .accordion-body .emr-title{
    font-weight: normal;
    font-size: 14px;
    color: var(--color-text-primary);
}
.emr-iframe .accordion-body .emr-title.active{
    font-weight: bold;
    font-size: 15px;
    color: var(--color-primary-darker);
}
.emr-iframe .accordion-item{
    background-color: transparent;
}
.emr-iframe .accordion-button:after{
    width: .875rem !important;
    height: .875rem !important;
    background-size: .875rem !important;
}
.emr-iframe .accordion-button:focus{
    outline: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}
.emr-iframe .accordion-button.active{
    background-color: white !important;;
    box-shadow: none;
}
/* .emr-iframe .accordion-button.active::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
} */
.emr-iframe .accordion-button{
    padding: 10px 15px;
    font-size: .875rem;
}
.emr-iframe .card-header{
    padding: 0px;
}
.emr-iframe .history_emr .card-title{
    font-family: 'Lato', sans-serif;
    padding: .5rem 1rem;
    font-size: 15px;
    letter-spacing: 0.01rem;
    background-color: var(--color-secondary);
    margin-bottom: 0px;
    line-height: 1.6;
    color: var(--color-text-primary);
    font-weight: normal;
    border-bottom: var(--color-primary) solid 1px;
}
.emr-iframe .emr-content .card-content{
    padding-bottom: 300px;
}
.emr-iframe .emr-leftside{
    background-color: var(--color-background);
}
.emr-iframe .row-header {
    border-bottom: var(--color-primary) solid 1px;
}
.emr-iframe .emr-content .card-title h4{
    padding: 0px;
    margin: 0px;
} 
.emr-iframe .emr-content .row-header{
    padding: .5rem 0 .5rem 0;
    margin-bottom: 0px;
}
.emr-iframe .emr-content .card-title{
    color: var(--color-text);
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.01rem;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 0px;
}
.emr-iframe .emr-content .close a{
    color: var(--color-text);
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.01rem;
    margin-bottom: 0px;
    line-height: 1.6;
    font-weight: 600;
}
.emr-iframe .listNewEmr a{
    color: var(--color-text-primary);
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.01rem;
    margin-bottom: 0px;
    line-height: 1.6;
    font-size: 14px;
}
.emr-iframe .card-title .avatar,
.emr-iframe .accordion-body .activity-icon{
    background-color: var(--color-primary) !important;
}

.emr-iframe .accordion-body .activity:before{
    background-color: var(--color-secondary) !important;
}

.emr-iframe .card-title .avatar-content{
    font-family: 'Lato', sans-serif;
    width: 27px;
    height: 25px;
    font-size: 16px;
    font-weight: normal;
}
.emr-iframe .button-emr{
    position: fixed;
    z-index: 999;
    right: 50px;
    top: calc(100vh - 300px);
}
.emr-iframe .history_emr.floating{
    position: fixed;
    left: 0;
    top: 0px;
}