body {
    background-color: #FAF9F8;
}

a.disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.side-left-menu-visible {
}

@media (max-width: 1199px) {
    .side-left-menu-visible {
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    .card > .card-header,
    .card > .card-body {
        padding: 0.5rem;
    }
}

#loader {
    z-index: 1001;
    position: fixed;
    visibility: hidden;
    opacity: .1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds div {
    display: inline-block;
    position: absolute;
    left: 6px;
    width: 13px;
    background: #E31F16;
    animation: lds 2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds div:nth-child(1) {
    left: 6px;
    animation-delay: -0.48s;
}

.lds div:nth-child(2) {
    left: 26px;
    animation-delay: -0.24s;
}

.lds div:nth-child(3) {
    left: 45px;
    animation-delay: -0.12s;
}

.lds div:nth-child(4) {
    left: 64px;
    animation-delay: 0s;
}

@keyframes lds {
    0% {
        top: 6px;
        height: 51px;
    }
    100% {
        top: 19px;
        height: 26px;
    }
}

.panel-logo {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: -185px;
    width: 240px;
    height: 100px;
    background-color: #E31F16;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.transition .panel-logo{
    transition: all 0.2s ease-in-out;
}

.panel-logo > a,
.panel-logo > a > i {
    color: white;
}

.panel-logo > .logo-text {
    font-size: 24px;
    font-weight: 300;
}

.side-left-menu-visible .panel-logo {
    left: 0;
}

.panel-head {
    position: fixed;
    top: 0;
    left: 55px;
    right: 0;
    height: 100px;
    background-color: #F73D3F;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
}

.transition .panel-head{
    transition: all 0.2s ease-in-out;
}

.panel-head > .panel-head-left {
    display: flex;
    align-items: center;
}

.panel-head > .panel-head-left .icon-link {
    width: 100px;
    height: 100px;
    color: rgba(255, 255, 255, 0.5);
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    padding: 10px 0;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.panel-head > .panel-head-left .icon-link:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.panel-head > .panel-head-left .icon-link > i {
    line-height: 50px;
    height: 50px;
    font-size: 40px;
}

.panel-head > .panel-head-left .icon-link > span {
    line-height: 30px;
    height: 30px;
    display: block;
}

.panel-head > .panel-head-right {
    display: flex;
    height: 100px;
    align-items: center;
    padding: 0 15px;
    margin-left: auto;
}

.panel-head .menu-item {
    margin-left: 15px;
}

.transition .panel-head .menu-item > a {
    transition: all 0.2s ease-in-out;
}

.panel-head .menu-item-chat > a:hover,
.panel-head .menu-item-profile > a:hover {
    opacity: 0.9;
}

.panel-head .menu-item-profile > a > img {
    width: 60px;
    height: 60px;
    border: 5px #E30613 solid;
    border-radius: 50%;
}

.panel-head .menu-item-chat {
    position: relative;
}

.panel-head .menu-item-chat > a > img {
    width: 50px;
    height: 50px;
    border: 5px #E30613 solid;
    border-radius: 50%;
}

.panel-head .menu-item-chat > a > .badge {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

.panel-head .menu-item-chat.has-unread .badge {
    display: inline-block;
}

.panel-head .menu-item-chat.has-unread .badge {
    display: inline-block;
}

.panel-head .menu-item-chat.has-unread img {
    border-color: #19A648;
}

.panel-head .menu-item-profile .dropdown-menu {
    top: 35px !important; /* we have to use important here bootstrap add this value dynamically */
}

@media (max-width: 1199px) {
    .side-left-menu-visible .panel-head {
        transform: translateX(185px);
    }
}

@media (min-width: 1200px) {
    .panel-head {
        left: 55px;
    }

    .side-left-menu-visible .panel-head {
        left: 240px;
    }
}

.side-left-menu {
    overflow-y: auto;
    position: fixed;
    top: 100px;
    left: -240px;
    bottom: 0;
    width: 240px;
    padding: 10px 0;
    background-color: #373C42;
}

.transition .side-left-menu{
    transition: all 0.2s ease-in-out;
}

.side-left-menu > .side-left-menu-label,
.side-left-menu > .nav > .nav-divider {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 15px 5px;
    color: #6B747F;
    font-weight: 500;
}

.side-left-menu > .nav > li {
    border: 0 solid #484F56;
    border-top-width: 1px;
}

.side-left-menu > .nav > .nav-divider {
    padding-top: 10px;
    height: 43px;
    line-height: 33px;
    vertical-align: baseline;
}

.side-left-menu > .nav > .nav-divider:first-child {
    border: none;
}

.side-left-menu > .nav > li:last-child {
    border-bottom-width: 1px;
}

.side-left-menu > .nav > li > a {
    color: white;
}

.side-left-menu > .nav > li > a.disabled {
    color: #adb5bd;
}

.side-left-menu > .nav > li > a:hover,
.side-left-menu > .nav > li > a:active,
.side-left-menu > .nav > li > a.active {
    background-color: #E31F16;
}

.side-left-menu > .nav > li > a.disabled:hover,
.side-left-menu > .nav > li > a.disabled:active {
    background-color: unset;
    cursor: not-allowed;
}

.side-left-menu-visible .side-left-menu {
    left: 0;
}

.panel-main {
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
}

.transition .panel-main{
    transition: all 0.2s ease-in-out;
}

@media (max-width: 1199px) {
    .side-left-menu-visible .panel-main {
        transform: translateX(240px);
    }
}

@media (min-width: 1200px) {
    .panel-main {
        margin-left: 0;
    }

    .side-left-menu-visible .panel-main {
        margin-left: 240px;
    }
}

.panel-main > .panel-content-head {
    background-color: white;
    padding: 15px 30px;
}

.panel-main > .panel-content-head .content-head-title > span {
    color: #6C747C;
}

.panel-main > .panel-content-head .content-head-title > h2 {
    font-weight: 300;
    color: #E31F16;
}

.panel-main > .panel-content {
    padding: 15px 0;
    border-top: 1px #DEDDDD solid;
}

@media (min-width: 768px) {
    .panel-main > .panel-content {
        padding: 15px;
    }
}

.floating-action-button {
    z-index: 1000;
}

.floating-action-button.floating-bottom-left:nth-child(1) {
    bottom: 1rem;
    position: fixed;
    right: 1rem;
}

.floating-action-button.floating-bottom-left:nth-child(2) {
    bottom: 5rem;
    position: fixed;
    right: 1rem;
}

.floating-action-button > .btn {
    padding: 0;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    min-width: 56px;
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}

.floating-action-button > .btn > i {
    line-height: 56px;
    color: white;
    font-size: 34px;
}

.form-control-output {
    min-height: 250px;
}

#chat .form-chat-send {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background-color: #FAF9F8;
    border-top: 1px #DEDDDD solid;
    z-index: 1;
}

.side-left-menu-visible #chat .form-chat-send{
    left: 240px;
}

#chat textarea{
    margin-bottom: 15px;
    max-height: 80px;
}

#chat .list-messages{
    list-style: none;
    margin: 0 0 150px 0;
    padding: 0;
}

#chat .list-messages > li{
    margin-bottom: 15px;
}

#chat .list-messages > .message{
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#chat .list-messages > .message.message-unread{
    border-left: 5px #19A648 solid;
    margin-left: -5px;
}

#chat .list-messages .message-header{
    margin-bottom: 5px;
}

#chat .list-messages > .message .message-author{
    font-weight: bold;
}

#chat .list-messages > .message .message-date{
    font-size: 11px;
    color: #6c757d;
}

#chat .chat-loading {
    text-align: center;
    color: #6c757d;
}