@import url("OpenSans.css");

html, body {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 14px;
    color: #3c3c3c;
    direction: ltr;
    width: 100%;
}
html.full-height, body.full-height {
    height: 100%;
}
.full-height{
    min-height: 100%;
}
.full-width {
    min-width: 100%;
}

.d-flex {
    display: flex;
}
.d-inline-block {
    display: inline-block;
}

/* -- Push / Pull*/
.pull-right { float: right; }
.pull-left  { float: left; }

/* -- Cursors -- */
.cursor-pointer { cursor: pointer; }

/* -- Text align -- */
.text-right { text-align: right; }

/* -- Buttons --*/
.btn {
    border-radius: 0;
}
.btn:not(.generate-print) > i
.btn:not(.generate-pdf) > i {
    margin-left: 5px;
}
/*whiter than element in the background*/
.btn.whiter {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}
.btn.whiter:hover, .btn.whiter:focus, .btn.whiter:active, .btn.whiter.active {
    background-color: rgba(255, 255, 255, 0.25);
}
.open .btn.whiter.dropdown-toggle {
    color: #333333;
    background-color: #d1d1d1;
}
.btn.whiter:active, .btn.whiter.active {
    background-image: none;
}
.open .btn.whiter.dropdown-toggle {
    background-image: none;
}
.btn.whiter.disabled, .btn.whiter.disabled:hover, .btn.whiter.disabled:focus, .btn.whiter.disabled:active, .btn.whiter.disabled.active, .btn.whiter[disabled], .btn.whiter[disabled]:hover, .btn.whiter[disabled]:focus, .btn.whiter[disabled]:active, .btn.whiter[disabled].active, fieldset[disabled] .btn.whiter, fieldset[disabled] .btn.whiter:hover, fieldset[disabled] .btn.whiter:focus, fieldset[disabled] .btn.whiter:active, fieldset[disabled] .btn.whiter.active {
    background-color: rgba(255, 255, 255, 0.25);
}
.btn.whiter .badge {
    color: #e5e5e5;
    background-color: rgba(255, 255, 255, 0.1);
}
/*default color*/
.btn.default {
    color: #333333;
    background-color: #e5e5e5;
}
.btn.default:hover, .btn.default:focus, .btn.default:active, .btn.default.active {
    color: #333333;
    background-color: #d1d1d1;
}
.open .btn.default.dropdown-toggle {
    color: #333333;
    background-color: #d1d1d1;
}
.btn.default:active, .btn.default.active {
    background-image: none;
}
.open .btn.default.dropdown-toggle {
    background-image: none;
}
.btn.default.disabled, .btn.default.disabled:hover, .btn.default.disabled:focus, .btn.default.disabled:active, .btn.default.disabled.active, .btn.default[disabled], .btn.default[disabled]:hover, .btn.default[disabled]:focus, .btn.default[disabled]:active, .btn.default[disabled].active, fieldset[disabled] .btn.default, fieldset[disabled] .btn.default:hover, fieldset[disabled] .btn.default:focus, fieldset[disabled] .btn.default:active, fieldset[disabled] .btn.default.active {
    background-color: #e5e5e5;
}
.btn.default .badge {
    color: #e5e5e5;
    background-color: #333333;
}

/*blue*/
.blue.btn {
    color: white;
    background-color: #4b8df8;
}
.blue.btn:hover, .blue.btn:focus, .blue.btn:active, .blue.btn.active {
    color: white;
    background-color: #2474f6;
}
.open .blue.btn.dropdown-toggle {
    color: white;
    background-color: #2474f6;
}
.blue.btn:active, .blue.btn.active {
    background-image: none;
}
.open .blue.btn.dropdown-toggle {
    background-image: none;
}
.blue.btn.disabled, .blue.btn.disabled:hover, .blue.btn.disabled:focus, .blue.btn.disabled:active, .blue.btn.disabled.active, .blue.btn[disabled], .blue.btn[disabled]:hover, .blue.btn[disabled]:focus, .blue.btn[disabled]:active, .blue.btn[disabled].active, fieldset[disabled] .blue.btn, fieldset[disabled] .blue.btn:hover, fieldset[disabled] .blue.btn:focus, fieldset[disabled] .blue.btn:active, fieldset[disabled] .blue.btn.active {
    background-color: #4b8df8;
}
.blue.btn .badge {
    color: #4b8df8;
    background-color: white;
}
    
/* -- END -- */

/* Delete button on data tables */
.dataTables_wrapper .btn.DeleteItem {
    background-image: linear-gradient(to bottom,#f5e0e0 0,#e8a3a3 100%);
    color: #7d0000;
    border-color: #7d0000;
    text-shadow: none;
}
.dataTables_wrapper .btn.DeleteItem:focus,
.dataTables_wrapper .btn.DeleteItem:hover {
    background-position: 0 0;
    background-image: linear-gradient(to bottom,#f5e0e0 0,#e8a3a3 70%);
}
.dataTables_wrapper .btn.DeleteItem.disabled {
    
}

/* -- Form Group --*/
.form-group {
    
}
.form-group > .control-label{
    font-weight: 400;
    font-size: 16px;
}
.visible-ie8, .visible-ie9 {
    display: none;
}
.form-group > .input-icon {
    position: relative;
}
.form-group > .input-icon > i {
    color: #ccc;
    display: block;
    position: absolute;
    margin: 9px 2px 4px 10px;
    z-index: 3;
    width: 16px;
    height: 16px;
    font-size: 16px;
    text-align: center;
}
.form-group > .input-icon > .form-control {
    display: block;
    width: 100%; height: 34px;
    padding: 6px 12px 6px 33px;
    
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    color: #333333;
    
    box-shadow: none;
    border-radius: 0px;
    border: 1px solid #e5e5e5;
    resize: none;
}
.form-group > .input-icon > textarea.form-control {
    height: 120px;
}
input[type=checkbox].form-control,
.form-group > .input-icon > input[type=checkbox].form-control {
    width: 34px; height: 34px;
}
.form-group > .input-icon > .form-control:hover,
.form-group > .input-icon > .form-control:focus{
    border-color: #999999;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.form-group img.form-control {
    max-width: 100%;
    height: auto;
    padding: 0; 
    border:none;
    -webkit-box-shadow:none;
    box-shadow:none;
}
.form-actions {
    background-color: transparent;
    clear: both;
    border: 0px;
    padding: 0px 30px 25px 30px;
    margin-left: -30px;
    margin-right: -30px;
}
/* -- End --*/

div#account-entry {
    position: absolute;
    top:0; 
    left:0;
    min-width: 100%; 
    height: 100%;
    background-color: #0a1b2e;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
div#account-entry div.logo {
    text-align: center;
}
div.login-wrapper {
    width: 385px; height: auto;
    padding: 30px;
    
    background-color: rgba(255,255,255,1);
    border: 1px solid #0e3764;
}
div.login-wrapper .forget-password {
    margin-top: 25px;
}

.topbar{
    padding-left: 20px;
}
/* - TopBar -*/
.topbar {
    width: 100%; height: 46px;
    position: fixed; top: 0; left: 0;
    background-color: #2B3643;
    z-index: 99;
}
.topbar > div:not(:last-child) {
    margin-right: 20px;
}
.topbar > .logo,
.topbar > .menutoggler{
    padding: 14px 0 14px 0;
}
.topbar > .logo,
.topbar > .menutoggler, 
.topbar > .profile{
    width: auto; height: 100%;
    display: inline-block;
    color: rgba(255,255,255,0.8);
}
.topbar > .logo {
    float: left;
}
.topbar > .logo > a { text-decoration: none; }
.topbar > .logo > a > h2 {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    line-height: 1.1;
    color: rgba(255,255,255,0.8);
}
.topbar > .logo > a > img {
    height: 100%; width: auto;
}
.topbar > .menutoggler {
    float: left;
}
.topbar > .profile{
    float: right;
    font-size: 13px;
    font-weight: 300;
    
}
.topbar > .profile, 
.topbar > .profile a {
    color:#b4bcc8;
    text-decoration: none;
}
.topbar > .profile > a {
    min-width: 46px; min-height: 46px;
    text-align: center;
}
.topbar > .profile a:hover {
    color: #e4e7eb;
    background-color: #3b4a5c;
}
.topbar > .profile a,
.topbar > .profile > div{
    float: left; 
    width: auto; height: 100%;
    line-height: 1.7;
    background-color: #232c37;
}
.topbar > .profile > a,
.topbar > .profile > div > a,
.topbar > .profile > div > ul > li > a{
    padding: 13px 10px;
}
.topbar > .profile a > span:not(:last-child) {
    margin-right: 5px;
}
.topbar > .profile > .langmenu > a, 
.topbar > .profile > .langmenu > ul > li > a {
    text-transform: capitalize;
}
.topbar > .profile > .langmenu > ul {
    display: none;
    width: auto;
    float: left;
    padding: 0; margin: 0;
    position: absolute; top: 46px;
}
.topbar > .profile > .langmenu:hover > ul,
.topbar > .profile > .langmenu:focus > ul{
    display: block;
}
.topbar > .profile > .langmenu > ul > li {
    list-style: none;
    clear: both;
    float: left;
}
.topbar > .profile > .langmenu > ul > li,
.topbar > .profile > .langmenu > ul > li > a {
    width: 100%; height: auto;
}
/* - END TopBar -*/

/* - Left Menu -*/
.leftmenu {
    position: fixed; z-index: 99;
    font-size: 15px;
    top: 46px; bottom: 0; left: 0;
    width: 235px;
    background-color: #364150;
}
.leftmenu img {
    max-width: 100%;
}
.leftmenu.icon-only > ul {
    margin-top: 40px;
}
.leftmenu:not(.skipanimation) {
    transition: width 0.5s ease;
}
.leftmenu > ul {
    float: left; 
    width: 100%; height: auto;
    padding: 0; margin: 0;
    
    list-style: none;
}
.leftmenu > ul > li {
    max-height: 41px;
}
.leftmenu > ul > li,
.leftmenu > ul > li > ul.sub-menu > li{
    float: left;
    width: 100%; height: auto;
    padding: 0; margin: 0;
    display: block; clear: both;
}
.leftmenu > ul > div {
    display: none;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #fff;
}
.leftmenu > ul > div img {
    max-width: 90%;
}
.leftmenu > ul > li > a {
    border-left: 4px solid #364150;
}
.leftmenu ul > li > a > .title {
    position: static;
    opacity: 1;
    visibility: visible;
}
.leftmenu:not(.skipanimation) ul > li > a > .title {
    transition-delay: 0.5s;
    transition-duration: 0.5s;
    transition-property: width;
    transition-timing-function: linear;
}
.leftmenu > ul > li > a,
.leftmenu > ul > li > ul.sub-menu > li > a{
    float: left;
    width: 100%; height: auto;
    color: #b4bcc8;
    padding: 10px 15px 10px 11px;
    text-decoration: none;
}
.leftmenu > ul > li.active > a {
    background-color: #3e4b5c;  
    border-left-color: #1caf9a;
    color: #f1f1f1;
}
.leftmenu > ul > li:not(.active) > a:hover{
    border-left-color: #3a4656;
}
.leftmenu > ul > li:not(.active) > a:hover,
.leftmenu > ul > li:not(.active) > ul.sub-menu > li.icon-only-title > a{
    background-color: #283342;
    border-left-color: #283342;
}
.leftmenu > ul > li > a > i{
    width: 20px; 
    height: 14px;
    line-height: 14px;
    font-size: 16px;
    margin: 1px 5px 0 0;
    text-align: center;
}
.leftmenu > ul > li > a > span.selected,
.leftmenu > ul > li.active > a > span.selected-sub {
    display: none;
}
.leftmenu > ul > li:hover > a > span.selected-sub,
.leftmenu > ul > li.active > a > span.selected {
    /*selected arrow*/
    display: block;
    background-image: none;
    float: right;
    position: relative;
    right: -15px;
    top: 0;
    background: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 10px double transparent;
    border-bottom: 10px double transparent;
    border-left: 0;
    border-right-width: 8px;
}
.leftmenu > ul > li.active > a > span.selected {
    border-right-color: #ffffff;
}
.leftmenu > ul > li:hover > a > span.selected-sub {
    border-right-color: #323c4b;
}
/*2nd tier menu*/
.leftmenu > ul > li > ul.sub-menu {
    display: none;
    margin: -1px 0 0 0;
    padding: 1px 0;
    width: 210px;
    z-index: 200;
    position: absolute;
    list-style: none;
    background-color: #364150;
    border-color: #323c4b;
    box-shadow: 5px 5px rgba(44, 53, 66, 0.2);
}
.leftmenu > ul > li.patient-item > ul.sub-menu {
    width: 350px;
}
.leftmenu > ul > li:hover > ul.sub-menu:not(.icon-only) {
    display: inline-block;
}
.leftmenu > ul > li > ul.sub-menu > li {
}
.leftmenu > ul > li > ul.sub-menu > li > a {
    padding: 10px 13px 10px 11px;
}
.leftmenu > ul > li > ul.sub-menu > li > a:hover,
.leftmenu > ul > li.active > ul.sub-menu > li.icon-only-title > a{
    background-color: #3e4b5c;
}
/*compact menu icon only on first tier*/
.leftmenu.icon-only {
    padding: 5px 5px 5px 5px !important;
    width: 60px !important;
}
.leftmenu.icon-only:not(.skipanimation) .title {
    transition-delay: 0s;
}
.leftmenu > ul > div.site-icon {
    display: none !important;
}
.leftmenu.icon-only > ul > div:not(.site-icon) {
    display: none !important;
}
.leftmenu.icon-only > ul > li > a {
    text-align: center;
}
.leftmenu.icon-only > ul > li:hover > ul.sub-menu.icon-only {
    display: inline-block;
}
.leftmenu.icon-only > ul > li > ul.sub-menu {
    margin-top: -1px;
}
.leftmenu.icon-only > ul > li > a > i {
    margin: 0 !important;
}
.leftmenu.icon-only .title {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
.leftmenu.icon-only > ul > li.active > a > span.selected{
    display: none !important;
}
.leftmenu:not(.icon-only) .icon-only-title {
    display: none !important;
}
.leftmenu.icon-only .icon-only-title {
    font-weight: bold;
}
.leftmenu .toggle-icon-mode {
    position: absolute;
    bottom: 0;
    left: 0;
}
/* - END Left Menu - Icons only - */

/* - Section white area - */
.section-wrapper {
    float: left;
    width: 100%;
    height: auto;
    margin-top: 46px;
    padding: 25px 18px 18px 253px;
}
.section-wrapper:not(.skipanimation) {
    transition: padding-left 0.5s ease;
}
.section-wrapper.leftmenu-icon-only {
    padding-left: 78px;
}
.section-content {
    float: left;
    width: 100%;
    height: auto;
    
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
}
.section-content > .header {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #666;
}
.section-content > .breadcrumb {
    margin-bottom: 25px;
    padding: 0;
    background: #f7f7f7;
    border-radius: 0;
}
.section-content > .breadcrumb > ul {
    list-style: none;
    width: auto; height: auto;
    margin: 0; padding: 8px;
}
.section-content > .breadcrumb > ul > li {
    display: inline-block;
    clear: none;
}
.section-content > .breadcrumb > ul > li i{
    margin-right: 2px; margin-left: 2px;
}
.section-content > .breadcrumb > ul > li a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}
.section-content > .breadcrumb > ul > li a:hover{
    text-decoration: underline;
}
/* - END Section white area - */

/* - Section Portlets - */
.portlet {
    
}
.portlet > .portlet-title  {
    min-height: 40px;
    padding: 0 10px 0 10px;
    color: #fff;
    background-color: #364150;
}
.portlet > .portlet-title > .caption {
    padding: 11px 0 9px 0;
    font-size: 18px;
}
.portlet > .portlet-title .btn {
    font-size: 12px;
    padding: 2px 6px;
}
.portlet > .portlet-title .btn:hover,
.portlet > .portlet-title .btn:focus {
    color: white;
}
.portlet > .portlet-title a.btn:hover,
.portlet > .portlet-title a.btn:focus {
    color: #333;
}
.portlet > .portlet-title .btn > i.fa {
    margin-left: 0;
}
.portlet > .portlet-title .btn-portlet-info {
    position: absolute; 
    right: 26px;
}
.portlet > .portlet-info {
    opacity: 0;
    height: 0;
    padding: 0 10px;
    margin: 0 10px;
    overflow: hidden;
    
    font-size: 90%;
    background-color: #f6f7f7;
    border: 0px solid #cccccc;
    transition: 
        padding-top 0.25s linear,
        padding-bottom 0.25s linear,
        padding-left 0s linear,
        padding-right 0s linear,
        margin 0s linear, 
        opacity 0.25s linear;
}
.portlet > .portlet-info.visible {
    border-width: 1px;
    padding: 10px;
    height: auto;
    opacity: 1;
}
.portlet > .portlet-body {
    padding: 10px;
    clear: both;
    font-size: 12px;
}
.portlet > .portlet-body th {
    font-size: 12px;
}
.portlet > .portlet-body .form-section {
    margin-top: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}
.portlet > .portlet-body .form-group > .control-label {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    padding: 8px 0 0 0;
}
.portlet > .portlet-body .form-actions {
    padding: 20px 10px;
    margin: 0;
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
}
/* - END Section Portlets -*/

/* - Table data - */
.data-table {
    width: 100%; height: auto;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
}
.data-table-force-max-width {
    width: 100% !important;
}
.data-table th, .data-table td {
    padding: 8px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
.data-table > thead {
    font-weight: bold;
    color:#000;
}
.data-table > tbody {
    font-weight: normal;
    font-size: 13px; 
    color:#000;
}
.data-table > tbody a {
    text-decoration: none;
}
.data-table > tbody a,
.data-table > tbody a > i.glyphicon {
    color: #3c3c3c;
    outline: none;
}
.data-table .row-control {
    text-align: center;
}
.data-table-hide-showing-label .dataTables_info { display: none;}

@media screen, print
{
    .data-table tr.odd:not(.nobg),
    tbody > tr:nth-child(odd):not(.nobg)
    { background-color: rgba(94,89,184, 0.05); }
    .data-table tr.even:not(.nobg),
    tbody > tr:nth-child(even):not(.nobg)
    { background-color: rgba(94,89,184, 0.1); }
    .data-table tr.odd.selected:not(.nobg)
    { background-color: rgba(94,89,184, 0.55); }
    .data-table tr.even.selected:not(.nobg)
    { background-color: rgba(94,89,184, 0.35); }
}
.data-table > thead > tr > th[data-optional]:not(.allowed),
.data-table > tbody > tr > tr[data-optional]:not(.allowed) {
    display: none;
}

table.dataTable span.highlight 
{ background-color: #a94442; }
.dataTables_wrapper .searchButton {
    font-size: 18px;
    right: 26px;
    position: absolute;
    width: 30px;
    line-height: 30px;
    text-align: center;
    height: 30px;
    cursor: pointer;
}
.dataTables_wrapper .searchWithButton {
    padding-right: 30px;
}
.dataTables_wrapper > .row > div {
    margin-top: 6px;
    margin-bottom: 6px;
}
.dataTables_wrapper > .row > div .label {
    font-size: 85%;
}
.modal[id^="ModalItemListing_"] .modal-body{
    font-size: 12px;
}
.loadscreen-thumbnail {
    height: 100%; max-height: 200px; width: auto;
}
/* - END Table data - */

/*typeahead*/
ul.typeahead {
    font-size: 12px;
}
.typeahead .tt-dropdown-menu, .typeahead.dropdown-menu {
  max-height: 150px;
  overflow-y: auto;
}
.modal .dropdown-menu {
    
}

/*Bootstrap 3 */
.modal {
  text-align: center;
}
.modal-open .modal {
    overflow-y: hidden;
}
.modal-gmap {
    min-height: 400px;
}
@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}
.modal .modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;  
  min-width: 300px;
  max-width: 90%;
}
.modal:not(.default-size) .modal-dialog {
  width: auto;
}
.modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}
.modal-body > .tab-content {
    padding: 15px;
}
.modal.max-width .modal-dialog.modal-form{
    min-width: 90%;
}
.modal.max-height .modal-dialog.modal-form{
    min-height: 90%;
}
.modal.max-height .modal-dialog.modal-form .modal-content{
    min-height: 100%;
}
.modal.max-height .modal-dialog.modal-form .modal-content .modal-body {
}
.modal.max-height .modal-dialog.modal-form .modal-content .modal-body > .tab-content {
}
.modal.max-height .modal-dialog.modal-form .modal-content .modal-body > .tab-content > .active {
    height: calc(100vh - 303px);
}

.has-feedback.left .form-control-feedback {
  top: 0;
}
.modal .has-feedback.left .form-control-feedback,
.modal .has-feedback.right .form-control-feedback{
    top:10px ;
}
.modal .has-feedback.right .form-control-feedback.btFkSearch{
    top:25px;
    line-height: 34px;
}
.modal .has-feedback.right .form-control-feedback.btn {
    top:25px;
}
.modal .has-feedback.left .feedback-with-label,
.modal .has-feedback.right .feedback-with-label{
    top:25px ;
    padding: 10px;
}
.modal .has-feedback.left .form-control-feedback.action,
.modal .has-feedback.right .form-control-feedback.action{
    cursor: pointer;
    pointer-events: auto;
}
.message-area {
    border-radius: 4px;
    min-height: 34px;
    padding: 7px 6px 7px 34px;
    color: white;
    display: none;
}
.message-area p {
    margin: 0;
}
.message-area .form-control-feedback {
    color: white !important;
    /*top: 0 !important;*/
}
.nav-tabs>li{
    margin-bottom: -2px;
}
.message-area.has-error,
.nav-tabs>li.has-error:not(.active) > a{
    background-color: #a94442;
}
.message-area.has-success,
.nav-tabs>li.has-success:not(.active) > a{
    background-color: #3c763d;
}
.message-area.has-warning,
.nav-tabs>li.has-warning:not(.active) > a{
    background-color: #8a6d3b;
}
.message-area.has-error, 
.nav-tabs>li.has-error:not(.active) > a{
    background-color: #a94442;
    color: #fff;
}
.nav-tabs>li.has-error:not(.active) > a,
.nav-tabs>li.has-success:not(.active) > a,
.nav-tabs>li.has-warning:not(.active) > a{
    color: #fff;
}

.has-error .slider-handle {
    background-color: red;
    background-image: linear-gradient(to bottom,#ff0000 0,#a94442 100%);
}

.has-feedback.left .form-control {
    padding-left: 33px;
    padding-right: 0;
}
.has-feedback.left .form-control-feedback {
    top: 7px;
    right: inherit;
    left: 0;
}
.has-feedback.left .form-control {
    padding-left: 33px;
    padding-right: 0;
}
.tooltip { 
    z-index: 9999999;
}
.calendar-tooltip.tooltip .tooltip-arrow {
    border-bottom-color: #d1d1d1;
}
.calendar-tooltip.tooltip .tooltip-inner p {
    color: #000;
}
.calendar-tooltip .tooltip-inner {
    text-align: left;
}
.calendar-tooltip.tooltip.in{
    opacity: 1;
}
.calendar-tooltip.tooltip{
    width: auto;
}
.calendar-tooltip.tooltip .tooltip-inner {
    max-width: none;
    background: #fff;
    border: 1px solid #d1d1d1
}

.form-section {
    padding: 6px;
}
.form-section:not(:last-child){
    margin-bottom: 10px;
}
.form-section:hover {
    background: rgba(0,0,0,0.02);
}

.information-box {
    background: #364150;
    margin-bottom: 30px;
    color: #fff;
    padding: 10px;
}
.information-box .fa {
    font-size: 2.5em;
    padding: 10px 10px 10px 0;
}
.information-box .value {
    font-size: 2.2em;
    font-weight: bold;
    text-align: right;
}
.information-box .title {
    font-weight: 100;
    font-size: 1.2em;
    text-align: right;
}

.status-box {
    background-color: #393d00;
    color: #fff;
    padding: 10px;
    font-size: 40px;
}
.status-box > .row {
    padding: 0 10px;
}
.status-box > .row .icon {}
.status-box > .row .count {
    text-align: right;
}
.status-box .label {
    text-align: right;
    font-size: 0.4em;
    font-weight: lighter;
}

.graph{
    cursor: pointer;
}
.graph-timespan {
    font-size: 0.7em;
    font-weight: 100;
    margin: 3px 5px;
}
/*dashboard orders total*/
.OrdersTotal .graph{
    width: 100%;
}

.ReportArea {
    display: none;
}

.tiny {
    font-size: 60%;
}

.a4-size {
    width: 210mm;
    height:297mm;
}

td > .form-group,
th > .form-group{
    margin-bottom: 0;
}

.has-feedback .form-control {
    padding-right: 30px;
}
.form-control-feedback:not(.action) {
    color: #666666;
}
.modal td > .has-feedback.right .form-control-feedback.btFkSearch {
    top:0;
}
.action{
    cursor: pointer;
}

.jcrop-source-wrapper {
    position: relative;
}

/*Light blue Color Override*/
body.lightBlue .topbar {
    background-color: #1d4743;
}
body.lightBlue .topbar > .profile a, 
body.lightBlue .topbar > .profile > div {
    color: #fff;
    background-color: #27524d;
}
body.lightBlue .topbar > .profile a:hover {
    color: #fff;
    background-color: #3f6a65;
}
body.lightBlue .topbar > .logo > a > h2 {
    color: #fff;
}
body.lightBlue .leftmenu {
    background-color: #3f6a65;
}
body.lightBlue .leftmenu > ul > li > a {
    border-left-color: #3f6a65;
}
body.lightBlue .leftmenu > ul > li > a, 
body.lightBlue .leftmenu > ul > li > ul.sub-menu > li > a{
    color: #fff;
}
body.lightBlue .leftmenu > ul > li:not(.active) > a:hover,
body.lightBlue .leftmenu > ul > li.active > a{
    background-color: #4c8c85;
    border-left-color: #fff;
}
body.lightBlue .leftmenu > ul > li:hover > a > span.selected-sub {
    border-right-color: #fff;
}
body.lightBlue .leftmenu > ul > li > ul.sub-menu {
    background-color: #315a56;
    border-color: #315a56;
}
body.lightBlue .leftmenu > ul > li > ul.sub-menu > li > a:hover,
body.lightBlue .leftmenu > ul > li.active > ul.sub-menu > li.icon-only-title > a{
    background-color: #4c8c85;
}
body.lightBlue .portlet > .portlet-title {
    background-color: #1d4743;
}
body.lightBlue table.dataTable span.highlight {
    background-color: #dae34d;
}
body.lightBlue .pagination>.active>a, 
body.lightBlue .pagination>.active>a:focus, 
body.lightBlue .pagination>.active>a:hover, 
body.lightBlue .pagination>.active>span, 
body.lightBlue .pagination>.active>span:focus, 
body.lightBlue .pagination>.active>span:hover{
    background-color: #1d4743;
    border-color: #1d4743;
}


/*Brown Color Override*/
body.brown .topbar {
    background-color: #504039;
}
body.brown .topbar > .profile a, 
body.brown .topbar > .profile > div {
    color: #fff;
    background-color: #49372f;
}
body.brown .topbar > .profile a:hover {
    color: #fff;
    background-color: #5a4a44;
}
body.brown .topbar > .logo > a > h2 {
    color: #fff;
}
body.brown .leftmenu {
    background-color: #5a4a44;
}
body.brown .leftmenu > ul > li > a {
    border-left-color: #5a4a44;
}
body.brown .leftmenu > ul > li > a, 
body.brown .leftmenu > ul > li > ul.sub-menu > li > a{
    color: #fff;
}
body.brown .leftmenu > ul > li:not(.active) > a:hover,
body.brown .leftmenu > ul > li.active > a{
    background-color: #7b6c67;
    border-left-color: #fff;
}
body.brown .leftmenu > ul > li:hover > a > span.selected-sub {
    border-right-color: #fff;
}
body.brown .leftmenu > ul > li > ul.sub-menu {
    background-color: #55443e;
    border-color: #55443e;
}
body.brown .leftmenu > ul > li > ul.sub-menu > li > a:hover,
body.brown .leftmenu > ul > li.active > ul.sub-menu > li.icon-only-title > a{
    background-color: #7b6c67;
}
body.brown .portlet > .portlet-title {
    background-color: #504039;
}
body.brown table.dataTable span.highlight {
    background-color: #ae968c;
}

body.brown .pagination>.active>a, 
body.brown .pagination>.active>a:focus, 
body.brown .pagination>.active>a:hover, 
body.brown .pagination>.active>span, 
body.brown .pagination>.active>span:focus, 
body.brown .pagination>.active>span:hover{
    background-color: #504039;
    border-color: #504039;
}

/*Green Color Override*/
body.green .topbar {
    background-color: #393d00;
}
body.green .topbar > .profile a, 
body.green .topbar > .profile > div {
    color: #fff;
    background-color: #494b04;
}
body.green .topbar > .profile a:hover {
    color: #fff;
    background-color: #5f6400;
}
body.green .topbar > .logo > a > h2 {
    color: #fff;
}
body.green .leftmenu {
    background-color: #5f6400;
}
body.green .leftmenu > ul > li > a {
    border-left-color: #5f6400;
}
body.green .leftmenu > ul > li > a, 
body.green .leftmenu > ul > li > ul.sub-menu > li > a{
    color: #fff;
}
body.green .leftmenu > ul > li:not(.active) > a:hover,
body.green .leftmenu > ul > li.active > a{
    background-color: #868e00;
    border-left-color: #fff;
}
body.green .leftmenu > ul > li:hover > a > span.selected-sub {
    border-right-color: #fff;
}
body.green .leftmenu > ul > li > ul.sub-menu {
    background-color: #505500;
    border-color: #505500;
}
body.green .leftmenu > ul > li > ul.sub-menu > li > a:hover,
body.green .leftmenu > ul > li.active > ul.sub-menu > li.icon-only-title > a{
    background-color: #868e00;
}
body.green .portlet > .portlet-title {
    background-color: #393d00;
}
body.green table.dataTable span.highlight {
    background-color: #dae34d;
}
body.green .pagination>.active>a, 
body.green .pagination>.active>a:focus, 
body.green .pagination>.active>a:hover, 
body.green .pagination>.active>span, 
body.green .pagination>.active>span:focus, 
body.green .pagination>.active>span:hover{
    background-color: #393d00;
    border-color: #393d00;
}

/*Dark red Color Override*/
body.dark-red .topbar {
    background-color: #421c1b;
}
body.dark-red .topbar > .profile a, 
body.dark-red .topbar > .profile > div {
    color: #fff;
    background-color: #633231;
}
body.dark-red .topbar > .profile a:hover {
    color: #fff;
    background-color: #734140;
}
body.dark-red .topbar > .logo > a > h2 {
    color: #fff;
}
body.dark-red .leftmenu {
    background-color: #734140;
}
body.dark-red .leftmenu > ul > li > a {
    border-left-color: #734140;
}
body.dark-red .leftmenu > ul > li > a, 
body.dark-red .leftmenu > ul > li > ul.sub-menu > li > a{
    color: #fff;
}
body.dark-red .leftmenu > ul > li:not(.active) > a:hover,
body.dark-red .leftmenu > ul > li.active > a{
    background-color: #bb7d7c;
    border-left-color: #fff;
}
body.dark-red .leftmenu > ul > li:hover > a > span.selected-sub {
    border-right-color: #fff;
}
body.dark-red .leftmenu > ul > li > ul.sub-menu {
    background-color: #613332;
    border-color: #613332;
}
body.dark-red .leftmenu > ul > li > ul.sub-menu > li > a:hover,
body.dark-red .leftmenu > ul > li.active > ul.sub-menu > li.icon-only-title > a{
    background-color: #bb7d7c;
}
body.dark-red .portlet > .portlet-title {
    background-color: #421c1b;
}
body.dark-red table.dataTable span.highlight {
    background-color: #dae34d;
}
body.dark-red .pagination>.active>a, 
body.dark-red .pagination>.active>a:focus, 
body.dark-red .pagination>.active>a:hover, 
body.dark-red .pagination>.active>span, 
body.dark-red .pagination>.active>span:focus, 
body.dark-red .pagination>.active>span:hover{
    background-color: #421c1b;
    border-color: #421c1b;
}
body.dark-red .information-box {
    background: #633231;
}

/*Gray Color Override*/
body.gray .topbar {
    background-color: #4f4f4f;
}
body.gray .topbar > .profile a, 
body.gray .topbar > .profile > div {
    color: #fff;
    background-color: #27524d;
}
body.gray .topbar > .profile a:hover {
    color: #fff;
    background-color: #333;
}
body.gray .topbar > .logo > a > h2 {
    color: #fff;
}
body.gray .leftmenu {
    background-color: #333;
}
body.gray .leftmenu > ul > li > a {
    border-left-color: #333;
}
body.gray .leftmenu > ul > li > a, 
body.gray .leftmenu > ul > li > ul.sub-menu > li > a{
    color: #fff;
}
body.gray .leftmenu > ul > li:not(.active) > a:hover,
body.gray .leftmenu > ul > li.active > a{
    background-color: #454444;
    border-left-color: #fff;
}
body.gray .leftmenu > ul > li:hover > a > span.selected-sub {
    border-right-color: #fff;
}
body.gray .leftmenu > ul > li > ul.sub-menu {
    background-color: #1f1f1f;
    border-color: #1f1f1f;
}
body.gray .leftmenu > ul > li > ul.sub-menu > li > a:hover,
body.gray .leftmenu > ul > li.active > ul.sub-menu > li.icon-only-title > a{
    background-color: #454444;
}
body.gray .portlet > .portlet-title {
    background-color: #4f4f4f;
}
body.gray table.dataTable span.highlight {
    background-color: #dae34d;
}
body.gray .pagination>.active>a, 
body.gray .pagination>.active>a:focus, 
body.gray .pagination>.active>a:hover, 
body.gray .pagination>.active>span, 
body.gray .pagination>.active>span:focus, 
body.gray .pagination>.active>span:hover{
    background-color: #4f4f4f;
    border-color: #4f4f4f;
}

/*pharmc Color Override*/
body.pharmc .topbar {
    background-color: #4f4f4f;
}
body.pharmc .topbar > .profile a, 
body.pharmc .topbar > .profile > div {
    color: #fff;
    background-color: #27524d;
}
body.pharmc .topbar > .profile a:hover {
    color: #fff;
    background-color: #0a1b2e;
}
body.pharmc .topbar > .logo > a > h2 {
    color: #fff;
}
body.pharmc .leftmenu {
    background-color: #0a1b2e;
}
body.pharmc .leftmenu > ul > li > a {
    border-left-color: #0a1b2e;
}
body.pharmc .leftmenu > ul > li > a, 
body.pharmc .leftmenu > ul > li > ul.sub-menu > li > a{
    color: #fff;
}
body.pharmc .leftmenu > ul > li:not(.active) > a:hover,
body.pharmc .leftmenu > ul > li.active > a,
body.pharmc.neat-style .leftmenu > ul > li:not(.active) > a:hover,
body.pharmc.neat-style .leftmenu > ul > li.active > a{
    color: #0a1b2e;
    background-color: #a8cc3b;
    border-left-color: #fff;
}
body.pharmc .leftmenu > ul > li:hover > a > span.selected-sub {
    border-right-color: #fff;
}
body.pharmc .leftmenu > ul > li > ul.sub-menu {
    background-color: #1f1f1f;
    border-color: #1f1f1f;
}
body.pharmc .leftmenu > ul > li > ul.sub-menu > li > a:hover,
body.pharmc .leftmenu > ul > li.active > ul.sub-menu > li.icon-only-title > a{
    background-color: #a8cc3b;
}
body.pharmc .portlet > .portlet-title {
    background-color: #4f4f4f;
}
body.pharmc table.dataTable span.highlight {
    background-color: #dae34d;
}
body.pharmc .pagination>.active>a, 
body.pharmc .pagination>.active>a:focus, 
body.pharmc .pagination>.active>a:hover, 
body.pharmc .pagination>.active>span, 
body.pharmc .pagination>.active>span:focus, 
body.pharmc .pagination>.active>span:hover{
    background-color: #4f4f4f;
    border-color: #4f4f4f;
}


/* START Notifications icon*/
.notification {
    display: inline-block;
    position: relative;
}

.notification::before, 
.notification::after {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.notification::before {
    display: block;
    content: "\f0f3";
    font-family: "FontAwesome";
    transform-origin: top center;
}

.notification::after {
    font-family: Arial;
    font-size: 0.9em;
    font-weight: 700;
    position: absolute;
    top: -10px;
    right: -15px;
    padding: 3px 5px;
    line-height: 100%;
    border: 2px solid transparent;
    border-radius: 60px;
    background: #3498db;
    color: #fff;
    opacity: 0;
    content: attr(data-count);
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: transform, opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

.notification.notify::before {
    -webkit-animation: ring 1.5s ease;
    animation: ring 1.5s ease;
}

.notification.show-count::after {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotate(35deg);
    }
    12.5% {
        -webkit-transform: rotate(-30deg);
    }
    25% {
        -webkit-transform: rotate(25deg);
    }
    37.5% {
        -webkit-transform: rotate(-20deg);
    }
    50% {
        -webkit-transform: rotate(15deg);
    }
    62.5% {
        -webkit-transform: rotate(-10deg);
    }
    75% {
        -webkit-transform: rotate(5deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes ring {
    0% {
        -webkit-transform: rotate(35deg);
        transform: rotate(35deg);
    }
    12.5% {
        -webkit-transform: rotate(-30deg);
        transform: rotate(-30deg);
    }
    25% {
        -webkit-transform: rotate(25deg);
        transform: rotate(25deg);
    }
    37.5% {
        -webkit-transform: rotate(-20deg);
        transform: rotate(-20deg);
    }
    50% {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }
    62.5% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    75% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}
/* END Notifications icon*/


/* START Style improvement */
body.neat-style {}
body.neat-style .topbar {
    padding-left: 295px;
}
body.neat-style .topbar .logo {
    display: none;
}

body.neat-style .topbar {
    background: #fff;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.1);
}
body.neat-style .topbar > .profile a, 
body.neat-style .topbar > .profile > div{
    background-color: transparent;
    color: #333;
    font-size: 1.1em;
}
body.neat-style .topbar > .profile a:hover{
    color: #364150;
    background-color: rgba(54, 65, 80, 0.2);
}
body.neat-style .leftmenu {
    top: 0;
    padding: 20px;
    width: 275px;
}
body:not(.neat-style) .leftmenu > .title {
    display: none;
}
body.neat-style .leftmenu,
body.neat-style .leftmenu > ul > li > ul.sub-menu{
}
body.neat-style .leftmenu:after {
    content:"";
    /*background-image: url(../images/leftmenu-bg01.jpg);*/
    background-position: bottom center;
    top: 0; left: 0; right: 0; bottom: 0;
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}
body.neat-style .leftmenu .title {
    text-align: center;
}
body.neat-style .leftmenu .title a {
    text-decoration: none;
    color: #fff;
    color: white;
}
body.neat-style .leftmenu .title h1{
    margin: 0 0 15px 0;
    padding: 30px 30px 15px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.8);
}
body.neat-style .leftmenu {
    text-transform: uppercase;
}
body.neat-style .leftmenu > ul {
}
body.neat-style .leftmenu > ul > div {
    display: block;
}
body.neat-style .leftmenu > ul > div > h1,
body.neat-style .leftmenu > ul > div > h2,
body.neat-style .leftmenu > ul > div > h3,
body.neat-style .leftmenu > ul > div > h4,
body.neat-style .leftmenu > ul > div > h5,
body.neat-style .leftmenu > ul > div > h6 {
    color: #fff;
    margin-top: 0;
}
body.neat-style .leftmenu > ul > li > a {
    /*border-left-color: transparent;*/
    color: #fff;
}
body.neat-style .leftmenu > ul > li.active > a{
    background-color: rgba(255,255,255, 0.2);
    color: #fff;
}
body.neat-style .leftmenu > ul > li:not(.active) > a:hover {
    border-left-color: transparent;
}
body.neat-style .leftmenu > ul > li:not(.active) > a:hover,
body.neat-style .leftmenu > ul > li:not(.active) > ul.sub-menu > li.icon-only-title > a{
    background-color: rgba(0,0,0,0.4);
}
body.neat-style .leftmenu > ul > li > a, 
body.neat-style .leftmenu > ul > li > ul.sub-menu > li > a {
    padding: 15px 20px 15px 16px;
    padding: 10px 15px 10px 11px;
}
body.neat-style .leftmenu > ul > li:hover > a > span.selected-sub, 
body.neat-style .leftmenu > ul > li.active > a > span.selected {
    right: -35px;
    border-right-color: #f6f7f7;
}
body.neat-style .section-wrapper,
body.neat-style .modal .modal-content,
body.neat-style {
    background-color: #f6f7f7;
}
body.neat-style .section-wrapper {
    padding-left: 293px;
}
body.neat-style .section-wrapper.leftmenu-icon-only{
    padding-left: 78px;
}
body.neat-style .section-content > .header{
    margin: 0;
    position: fixed;
    top: 5px;
    z-index: 100;
    cursor: pointer;
    font-family: 'Roboto', 'Open Sans', sans-serif
}
body.neat-style .section-content > .breadcrumb {
    display: none;
}
body.neat-style .section-content .portlet {
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: #cccccc;
    border-radius: 6px;
}
body.neat-style .section-content .portlet {
    margin-bottom: 20px;
}
body.neat-style .section-content .portlet > .portlet-title {
    background-color: transparent;
    color: #333;
}
body.neat-style .btn.whiter,
body.neat-style .section-content .portlet > .portlet-title > .caption > span{
    color: #fff;
    background-color: #999;
}
body.neat-style .section-content .portlet > .portlet-title > .caption > span,
body.neat-style .section-content .portlet > .portlet-title > .caption > span.graph-timespan {
    margin: 0;
    padding: 3px 5px;
    cursor: pointer;
}
body.neat-style .btn.whiter:hover,
body.neat-style .btn.whiter:focus,
body.neat-style .section-content .portlet > .portlet-title > .caption > span:hover,
body.neat-style .section-content .portlet > .portlet-title > .caption > span:focus{
    background-color: #333;
}

body.neat-style .tab-content {
    background-color: #fff;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

body.neat-style .notification::after {
    
    color: #fff;
}
body.neat-style .notification::before {
    color: #333;
}
body.neat-style .section-content > .header {
    display: none;
}
body.square .modal .modal-content,
body.square input,
body.square select,
body.square textarea,
body.square button,
body.square .section-content .portlet,
body.square .alert {
    border-radius: 0;
}
/* END Style improvement */

.data-table tr.odd.order-not-viewed, tbody > tr:nth-child(odd).order-not-viewed {
    background-color: rgba(184,140,89,0.8);
}
.data-table tr.even.order-not-viewed, tbody > tr:nth-child(even).order-not-viewed {
    background-color: rgba(184,140,89,0.5);
}
.data-table tr.even.selected.order-not-viewed, 
.data-table tr.odd.selected.order-not-viewed {
    background-color: rgba(184,140,89,1);
}

.cvfields {
    display: flex;
}
.cvfields input:first-child {
    min-width: 55%
}
.cvfields span {
    line-height: 2em;
    width: 15px;
    text-align: center;
    display: block;
}
.cvfields input:last-child {
    min-width: 40%
}

.areaAllergens {
    font-size: 18px;
    display: flex;
    flex-wrap: wrap;
}
.areaAllergens > div {
    margin: 3px;
}
.areaAllergens > div i {
    margin-left: 5px;
}

#ViewModal_TherapeuticSheet .areaAllergens,
#Order_Section_TherapeuticSheetID .areaAllergens {
    font-size: 14px;
}

#Patient_Section_Allergen .typeahead .tt-dropdown-menu,
#Patient_Section_Allergen .typeahead.dropdown-menu {
    max-height: 220px;
    right: 15px;
}

.font-initials {
    font-family:monospace, "Open Sans", sans-serif;
}

#TherapeuticSheet_Section_General {
    padding-bottom: 150px;
}
#Order_Section_TherapeuticSheetID .form-control, 
#TherapeuticSheet_Section_General .form-control {
    padding: 3px;
    height: 28px;
    font-size: 13px;
    line-height: 1em;
}

.modal #TherapeuticSheet_Section_General .has-feedback.right .form-control-feedback.btFkSearch {
    line-height: 28px;
}

.tableTherapeuticSheetStandard {
    margin-bottom: 15px;
}
.tableTherapeuticSheetStandard tbody,
.tableTherapeuticSheetSOS tbody {
    font-size: 0.8em;
}
.tableTherapeuticSheetStandard td,
.tableTherapeuticSheetSOS td,
.tableTherapeuticSheetStandard th,
.tableTherapeuticSheetSOS th {
    padding: 3px;
}
.tableTherapeuticSheetStandard .startDate {
    width: 100px;
}
.tableTherapeuticSheetStandard .dosage {
    width: 45px;
}
.tableTherapeuticSheetStandard .period {
    width: 90px;
}
.tableTherapeuticSheetStandard .endDate {
    width: 100px;
}
.tableTherapeuticSheetStandard .note {
    width: 100px;
}
.tableTherapeuticSheetStandard .btwidth,
.tableTherapeuticSheetSOS .btwidth {
    width: 28px;
}

body.neat-style .section-content .portlet.portlet-fh,
.portlet-fh {
    margin-bottom: 0;
}
.portlet-body-item-fh {
    min-height: calc(100vh - 157px);
}

.order-file .portlet > .portlet-body {
    font-size: 14px;
}
.order-file .core-info p {
    margin-bottom: 5px;
}
.order-file .core-info p span {
    font-weight: bold;
}
.order-file .custom-text {
    border: 1px solid #000;
    padding: 10px;
}
.order-file .custom-text h1,
.order-file .custom-text h2,
.order-file .custom-text h3,
.order-file .custom-text h4,
.order-file .custom-text h5,
.order-file .custom-text h6 {
    margin-top: 0;
}
.order-file .custom-text p {
    margin-bottom: 0;
}

.person-card {    
}
.person-card img {
    width: 32px; height: 32px;
}
.person-card span {
    padding: 0 0 0 5px;
}
.person-card .company {
    font-style: italic;
}

#MessageForm .messages {
    border: 1px solid #ccc;
    background-color: #e2e2e2;
    margin-bottom: 15px;
    padding: 5px;
    /*height: calc(100vh - 418px);*/
    max-height: 400px;
    overflow: auto;
}
#MessageForm .messages .item {
    margin: 5px 0;
    display: flex;
}
#MessageForm .messages .item:first-child {
    margin-top: 0;
}
#MessageForm .messages .item:last-child {
    margin-bottom: 0;
}
#MessageForm .messages .item.empty {
    justify-content: space-around;
    font-style: italic;
}
#MessageForm .messages .item.left {
    justify-content: flex-start;
}
#MessageForm .messages .item.right {
    justify-content: flex-end;
}
#MessageForm .messages .item .msg {
    max-width: 90%;
    padding: 7px 14px;
    border-radius: 10px;
}
#MessageForm .messages .item.left .msg {
    color: #fff;
    background-color: #0a1b2e;
}
#MessageForm .messages .item.right .msg {
    color: #0a1b2e;
    background-color: #a8cc3b;
}
#MessageForm .messages .item p {
    padding: 0; margin: 0;
}

body.neat-style .topbar > .profile a.red {
    color: red;
}