/* MARGINS & PADDINGS */
.p-xxs {
    padding: 5px !important;
}
.p-xs {
    padding: 10px !important;
}
.p-sm {
    padding: 15px !important;
}
.p-m {
    padding: 20px !important;
}
.p-md {
    padding: 25px !important;
}
.p-lg {
    padding: 30px !important;
}
.p-xl {
    padding: 40px !important;
}
.m-xxs {
    margin: 2px 4px;
}
.m-xs {
    margin: 5px;
}
.m-sm {
    margin: 10px;
}
.m {
    margin: 15px;
}
.m-md {
    margin: 20px;
}
.m-lg {
    margin: 30px;
}
.m-xl {
    margin: 50px;
}
.m-n {
    margin: 0 !important;
}
.m-l-none {
    margin-left: 0;
}
.m-l-xs {
    margin-left: 5px;
}
.m-l-sm {
    margin-left: 10px;
}
.m-l {
    margin-left: 15px;
}
.m-l-md {
    margin-left: 20px;
}
.m-l-lg {
    margin-left: 30px;
}
.m-l-xl {
    margin-left: 40px;
}
.m-l-n-xxs {
    margin-left: -1px;
}
.m-l-n-xs {
    margin-left: -5px;
}
.m-l-n-sm {
    margin-left: -10px;
}
.m-l-n {
    margin-left: -15px;
}
.m-l-n-md {
    margin-left: -20px;
}
.m-l-n-lg {
    margin-left: -30px;
}
.m-l-n-xl {
    margin-left: -40px;
}
.m-t-none {
    margin-top: 0;
}
.m-t-xxs {
    margin-top: 1px;
}
.m-t-xs {
    margin-top: 5px;
}
.m-t-sm {
    margin-top: 10px;
}
.m-t {
    margin-top: 15px;
}
.m-t-md {
    margin-top: 20px;
}
.m-t-lg {
    margin-top: 30px;
}
.m-t-xl {
    margin-top: 40px;
}
.m-t-xxl {
    margin-top: 50px;
}
.m-t-xxxl {
    margin-top: 60px;
}
.m-t-n-xxs {
    margin-top: -1px;
}
.m-t-n-xs {
    margin-top: -5px;
}
.m-t-n-sm {
    margin-top: -10px;
}
.m-t-n {
    margin-top: -15px;
}
.m-t-n-md {
    margin-top: -20px;
}
.m-t-n-lg {
    margin-top: -30px;
}
.m-t-n-xl {
    margin-top: -40px;
}
.m-r-none {
    margin-right: 0;
}
.m-r-xxs {
    margin-right: 1px;
}
.m-r-xs {
    margin-right: 5px;
}
.m-r-sm {
    margin-right: 10px;
}
.m-r {
    margin-right: 15px;
}
.m-r-md {
    margin-right: 20px;
}
.m-r-lg {
    margin-right: 30px;
}
.m-r-xl {
    margin-right: 40px;
}
.m-r-n-xxs {
    margin-right: -1px;
}
.m-r-n-xs {
    margin-right: -5px;
}
.m-r-n-sm {
    margin-right: -10px;
}
.m-r-n {
    margin-right: -15px;
}
.m-r-n-md {
    margin-right: -20px;
}
.m-r-n-lg {
    margin-right: -30px;
}
.m-r-n-xl {
    margin-right: -40px;
}
.m-b-none {
    margin-bottom: 0;
}
.m-b-xxs {
    margin-bottom: 1px;
}
.m-b-xs {
    margin-bottom: 5px;
}
.m-b-sm {
    margin-bottom: 10px;
}
.m-b {
    margin-bottom: 15px;
}
.m-b-md {
    margin-bottom: 20px;
}
.m-b-lg {
    margin-bottom: 30px;
}
.m-b-xl {
    margin-bottom: 40px;
}
.m-b-n-xxs {
    margin-bottom: -1px;
}
.m-b-n-xs {
    margin-bottom: -5px;
}
.m-b-n-sm {
    margin-bottom: -10px;
}
.m-b-n {
    margin-bottom: -15px;
}
.m-b-n-md {
    margin-bottom: -20px;
}
.m-b-n-lg {
    margin-bottom: -30px;
}
.m-b-n-xl {
    margin-bottom: -40px;
}
.space-15 {
    margin: 15px 0;
}
.space-20 {
    margin: 20px 0;
}
.space-25 {
    margin: 25px 0;
}
.space-30 {
    margin: 30px 0;
}
#agenda {
    word-wrap: break-word;
    white-space: nowrap;
}
.agenda .campo-agenda {
    word-wrap: break-word;
    white-space: nowrap;
}
.texto-cabecalho{
    padding-top: 5px;
    margin-left: 40px;   
}

/*** TOPO ***/   // Cabeçalho
#topo {

    margin: 0 0px 0 0px;
    padding: 20px;
    background: white;
    transition: all 0.4s ease 0s;
    //position: relative;
    min-width: 100%;
    max-height: 300px;
}

#navbar-list{               // Lista Menu   


                            background: #D3EAD1;
                            position: relative;

                            //min-height: 60%;
}

#navbar-list.li{             // Lista Menu  

                             //display: block;
                             color: red;

}

.img-rodape img {
    // REGRA IMAGEM RODAPE 
    padding-bottom: 0px;
    max-width:80px;
    max-height:35px;
    width: auto;
    height: auto;

}

.img-login img {
    // REGRA IMAGEM RODAPE 
    padding-bottom: 1%;
    max-width:80%;
    max-height: 50%;
    width: auto;
    height: auto;

}

.img-topo img {             // REGRA IMAGEM TOPO
                            padding-top: 0%;
                            max-width:120px;
                            max-height:50px;
                            width: auto;
                            height: auto;
                            margin-top: 0%;
}

.navbar-menu{                    // NAVBAR (MENU)    
                                 background-color: #D3EAD1;
                                 height: 59px;
}

.navbar-rodape {     // NAVBAR RODAPE

                     right: 0px;
                     left: 0px;
                     bottom: 0px;
                     margin-bottom: 0px;
                     border-width:0 1px 0 1px;   
                     height: 25px;
                     width: 100%;
                     font-size: 12px;
                     padding-bottom: 0px;
                     background-color: #FFFFFF;

}

.navbar-rodape-text{        // Texto Rodapé
                            float:left;
                            margin-top: 3px;
                            margin-bottom: 0px;
}

.hpanel.tabela {        // Painel Tabela

                        margin: auto;                    
                        alignment-adjust: middle;
                        background-color: whitesmoke;
                        width: 100%;
                        padding: 10px;
                        color: inherit;
                        transition: all .3s;
                        border: 1px solid;
                        border-color: #D0D0D0;
                        border-radius: 2px;
}

.hpanel.painel-nometela{            // PAINEL NOME TELA
                                    alignment-adjust: central;
                                    background-color: whitesmoke;
                                    width: 100%;
                                    padding: 10px;
                                    font-weight: 600;
                                    transition: all .3s;
                                    border: 1px solid;
                                    border-color: #D0D0D0;
                                    border-radius: 2px;
}

.transition {
    transition: all 0.5s;
}
.normalheader .hpanel {
    margin-bottom: 5px;
    width: 100%;

    left: 0;
}
.normalheader {
    min-width: 320px;
    padding: 40px 40px 0px 40px;
}

.normalheader h2 {
    margin-top: 0px;
}
.input-xs {
    height: 20px;
    padding: 2px 10px;
    font-size: 10px;
    line-height: 1.5;
    border-radius: 3px;
    font-weight: 500;
}

#wrapper {          // Conteudo
                    margin: 40px 30px 0 30px;
                    padding-top: 27px;
                    background: transparent;
                    transition: all 0.4s ease 0s;
                    position: relative;
                    min-height: 100%;
}

#wrapper_prontuario {          // Conteudo
                               //margin: 0px 180px 0 0px;
                               top: 24px;
                               background: transparent;
                               border-left: 2px solid #e4e5e7;
                               transition: all 0.4s ease 0s;
                               position: relative;
                               min-height: 100%;
                               max-width: 100%;
                               padding-left: 12px;
                               margin: 0px 0px 0 180px;
                               //float: left;
}
.hpanel .cabecalho {   // painel cabeçalho 
                       margin: 60px 30px 0 30px;
                       background-color: white ;
                       border: none;
                       //border-bottom: solid #c6ffff;
                       border-radius: 2px;
                       padding: 0px;
                       position: relative;
}
.hpanel {
    background-color: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 10px;
}

/* Panels */
.hpanel > .panel-heading {
    color: inherit;
    font-weight: 600;
    padding: 10px 4px;
    transition: all .3s;
    border: 1px solid transparent;
}
.hpanel .hbuilt.panel-heading {
    border-bottom: none;
}
.hpanel > .panel-footer {
    color: inherit;
    border: 1px solid #e4e5e7;
    border-top: none;
    font-size: 90%;
    background: #f7f9fa;
}
.hpanel.panel-collapse > .panel-heading,
.hpanel .hbuilt {
    background: #fff;
    border-color: #e4e5e7;
    border: 1px solid #e4e5e7;
    padding: 10px 10px;
    border-radius: 2px;
}
.hpanel .panel-body {
    background-color: white;
    border: 1px solid #e4e5e7;
    border-radius: 2px;
    padding: 10px;
    position: relative;
}
.navbar.navbar-static-top a,
.nav.navbar-nav li a {
    color: #000000; //  COR DO LINK DO MENU

    //9d9fa2
}


.dropdown-menu.hdropdown {
    padding: 0;
    z-index: 1060;
}
.dropdown-menu.hdropdown .title {
    padding: 12px 12px;
    text-align: center;
    border-bottom: 1px solid #e4e5e7;
}
.dropdown-menu.hdropdown li {
    padding: 6px 12px;
    text-align: left;
    background: #fafbfc;
    border-bottom: 1px solid #e4e5e7;
}
.dropdown-menu.filedropdown li {
    padding: 6px 6px;
    text-align: left;
    background: #fafbfc;
    border-bottom: 1px solid #e4e5e7;
}
.dropdown-menu.filedropdown li i {
    margin-right: 10px;
}
.dropdown-menu.hdropdown.notification li {
    padding: 12px 12px;
}
.dropdown-menu.hdropdown.notification li .label {
    margin-right: 10px;
}
.dropdown-menu.hdropdown li > a:hover,
.dropdown-menu.filedropdown li > a:hover {
    background: inherit;
}
.dropdown-menu.hdropdown li:hover,
.dropdown-menu.filedropdown li:hover {
    background: #f1f3f6; 
}
.dropdown-menu.hdropdown li.summary {
    padding: 6px 12px;
    text-align: center;
    background: #fff;
}



/* Fonts */
.font-light {
    font-weight: 300;
}
.font-normal {
    font-weight: 400;
}
.font-bold {
    font-weight: 600;
}
.font-extra-bold {
    font-weight: 700;
}
.font-uppercase {
    text-transform: uppercase;
}
.font-trans {
    opacity: 0.5 !important;
}
.text-big {
    font-size: 60px;
}
h1,
.h1,
h2,
.h2,
h3,
.h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 200;
}

.navbar-login
{
    width: 305px;
    padding: 10px;
    padding-bottom: 0px;
}

.navbar-login-session
{
    padding: 10px;
    padding-bottom: 0px;
    padding-top: 0px;
}
.icon-size
{
    font-size: 65px;
}

.login-container {
    max-width: 420px;
    margin: auto;
    padding-top: 6%;
}
.register-container {
    max-width: 720px;
    margin: auto;
    padding-top: 6%;
}
.lock-container {
    max-width: 420px;
    margin: auto;
    padding-top: 6%;
}
.error-container {
    max-width: 620px;
    margin: auto;
    padding-top: 6%;
}
.big-icon {
    font-size: 120px;
}
.error-container h1 {
    font-size: 44px;
}
.back-link {
    float: left;
    width: 100%;
    margin: 10px;
}
@media (max-width: 420px) {
    .login-container,
    .lock-container {
        margin: auto 10px;
    }
}
@media (max-width: 720px) {
    .register-container {
        margin: auto 10px;
    }
    .lock-container {
        padding-top: 15%;
    }
}
@media (max-width: 620px) {
    .error-container {
        margin: auto 10px;
    }
}

/* Panels */
.hpanel > .panel-heading {
    color: inherit;
    font-weight: 600;
    padding: 10px 4px;
    transition: all .3s;
    border: 1px solid transparent;
}
.hpanel .hbuilt.panel-heading {
    border-bottom: none;
}
.hpanel > .panel-footer {
    color: inherit;
    border: 1px solid #e4e5e7;
    border-top: none;
    font-size: 90%;
    background: #f7f9fa;
}
.hpanel.panel-collapse > .panel-heading,
.hpanel .hbuilt {
    background: #fff;
    border-color: #e4e5e7;
    border: 1px solid #e4e5e7;
    padding: 10px 10px;
    border-radius: 2px;
}
.hpanel .panel-body {
    background: #fff;
    border: 1px solid #e4e5e7;
    border-radius: 2px;
    padding: 20px;
    position: relative;
}
.panel-collapse .panel-body {
    border: none;
}
.horange {
    border-top: 2px solid #e67e22;
}
.hpanel {
    background-color: none;
    border: none;
    box-shadow: none;
    margin-bottom: 25px;
}
.panel-tools {
    display: inline-block;
    float: right;
    margin-top: 0;
    padding: 0;
    position: relative;
}
.hpanel .alert {
    margin-bottom: 0;
    border-radius: 0;
    border: 1px solid #e4e5e7;
    border-bottom: none;
}
.panel-tools a {
    margin-left: 5px;
    color: #9d9fa2;
    cursor: pointer;
}
.hpanel.hgreen .panel-body {
    border-top: 2px solid #62cb31;
}
.hpanel.hblue .panel-body {
    border-top: 2px solid #3498db;
}
.hpanel.hyellow .panel-body {
    border-top: 2px solid #ffb606;
}
.hpanel.hviolet .panel-body {
    border-top: 2px solid #9b59b6;
}
.hpanel.horange .panel-body {
    border-top: 2px solid #e67e22;
}
.hpanel.hred .panel-body {
    border-top: 2px solid #e74c3c;
}
.hpanel.hreddeep .panel-body {
    border-top: 2px solid #c0392b;
}
.hpanel.hnavyblue .panel-body {
    border-top: 2px solid #34495e;
}
.hpanel.hbggreen .panel-body {
    background: #62cb31;
    color: #fff;
    border: none;
}
.hpanel.hbgblue .panel-body {
    background: #3498db;
    color: #fff;
    border: none;
}
.hpanel.hbgyellow .panel-body {
    background: #ffb606;
    color: #fff;
    border: none;
}
.hpanel.hbgviolet .panel-body {
    background: #9b59b6;
    color: #fff;
    border: none;
}
.hpanel.hbgorange .panel-body {
    background: #e67e22;
    color: #fff;
    border: none;
}
.hpanel.hbgred .panel-body {
    background: #e74c3c;
    color: #fff;
    border: none;
}
.hpanel.hbgreddeep .panel-body {
    background: #c0392b;
    color: #fff;
    border: none;
}
.hpanel.hbgnavyblue .panel-body {
    background: #34495e;
    color: #fff;
    border: none;
}
.panel-group .panel-heading {
    background-color: #f7f9fa;
}
.small-header .hpanel {
    margin-bottom: 0;
}
.small-header {
    padding: 0 !important;
}
.small-header .panel-body {
    padding: 15px 25px;
    border-right: none;
    border-left: none;
    border-top: none;
    border-radius: 0;
}
.panel-body h5,
.panel-body h4 {
    font-weight: 600;
}
.small-header .panel-body h2 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 0 0;
}
.small-header .panel-body small {
    color: #838589;
}
.hbreadcrumb {
    padding: 2px 0px;
    margin-top: 6px;
    margin-bottom: 0px;
    list-style: none;
    background-color: #fff;
    border-radius: #fff;
    font-size: 11px;
}
.hbreadcrumb > li {
    display: inline-block;
}
.hbreadcrumb > li + li:before {
    padding: 0 5px;
    color: #34495e;
}
.hbreadcrumb > .active {
    color: #9d9fa2;
}

select.form-agenda {
    border-radius: 5px;
    height: 35px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.5;

}

/* LIST GROUP */
a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
    background-color: #34495e;
    border-color: #34495e;
    color: #FFFFFF !important;
}
.list-group-item-heading {
    margin-top: 10px;
}
.list-group-item-text {
    margin: 0 0 10px;
    color: inherit;
    line-height: inherit;
}
.list-group-item {
    background-color: inherit;
    border: 1px solid #e4e5e7;
    display: block;
    margin-bottom: -1px;
    padding: 10px 15px;
    position: relative;
}
.no-padding .list-group-item {
    border-left: none;
    border-right: none;
    border-bottom: none;
}
.no-padding .list-group-item:first-child {
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: none;
}
.no-padding .list-group {
    margin-bottom: 0;
}
.well {
    background: #f7f9fa;
    box-shadow: none;
}

#menu {
    width: 180px;
    bottom: 0;
    float: left;
    left: 0;
    position: absolute;
    top: 62px;
    transition: all 0.4s ease 0s;
}

.fixed-sidebar #menu {
    position: fixed;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 197px;
    margin-right: -17px;
}
.fixed-sidebar.show-sidebar #menu {
    width: 180px;
}

/* Menu */
#side-menu {
    background: #f7f9fa;
}
#side-menu li a {
    color: #6a6c6f;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 20px;
}

#side-menu li {
    border-bottom: 1px solid #e4e5e7;
}
#side-menu li:first-child {
    border-top: 1px solid #e4e5e7;
}
#side-menu li.active a,
#side-menu li:hover a {
    color: #34495e;
}
#side-menu li .nav-second-level li a {
    padding: 10px 10px 10px 30px;
    color: #6a6c6f;
    text-transform: none;
    font-weight: 600;
}
#side-menu li .nav-second-level li.active a {
    color: #34495e;
    background-color: #f7f9fa;
}
#side-menu.nav > li > a:hover,
#side-menu.nav > li > a:focus {
    background: #fff;
}
#side-menu li.active {
    background: #fff;
}
.arrow {
    float: right;
}
.fa.arrow:before {
    content: "\f104";
}
.active > a > .fa.arrow:before {
    content: "\f107";
}



/* Box */
.box {
    padding: 40px;
}
.box-rb-border {
    border-right: 1px solid #e4e5e7;
    border-bottom: 1px solid #e4e5e7;
}
.box-b-border {
    border-bottom: 1px solid #e4e5e7;
}
.box-r-border {
    border-right: 1px solid #e4e5e7;
}

/* Sidebar Hide */
body.hide-sidebar #menu {
    margin-left: -180px;
}
body.hide-sidebar #wrapper {
    margin-left: 0;
}
body.page-small #menu {
    margin-left: -180px;
}
body.page-small #wrapper {
    margin-left: 0;
}
body.page-small.show-sidebar #menu {
    margin-left: 0;
}
body.page-small.show-sidebar #wrapper {
    margin-left: 180px;
}
a {
    cursor: pointer;
    color: #34495e;
}
a:hover,
a:focus {
    color: #34495e;
    text-decoration: none;
}
.no-padding {
    padding: 0 !important;
}
.no-borders {
    border: none !important;
}
.no-margins {
    margin: 0 !important;
}
.no-background {
    background: transparent !important;
}
.navbar-form-custom {
    float: left;
    height: 52px;
    padding: 0;
    width: 200px;
}
.navbar-form-custom .form-control {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    font-size: 13px;
    height: 52px;
    margin: 0;
    z-index: 1060;
    padding: 0;
}
.form-control,
.form-control:focus,
.has-error .form-control:focus,
.has-success .form-control:focus,
.has-warning .form-control:focus,
.navbar-collapse,
.navbar-form,
.navbar-form-custom .form-control:focus,
.navbar-form-custom .form-control:hover,
.open .btn.dropdown-toggle,
.panel,
.popover,
.progress,
.progress-bar {
    box-shadow: none;
}
.vertical-mid {
    display: table;
}
.vertical-mid * {
    display: table-cell;
    vertical-align: middle;
}

/* Splash style */
.splash {
    position: absolute;
    z-index: 2000;
    background: white;
    color: gray;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.splash-title {
    text-align: center;
    max-width: 500px;
    margin: 15% auto;
    padding: 20px;
}
.splash-title h1 {
    font-size: 26px;
}

#right-sidebar {
    background-color: white;
    border-left: 1px solid #e4e5e7;
    overflow: hidden;
    position: absolute;
    top: 0px;
    width: 60%;
    max-height: 100%;
    height: 57%; 
    z-index: 1009;
  //  bottom: 0;
    right: 0;
    padding-top: 0;
    margin-top: 3.4% !important;
    display: none;
    overflow: auto;
}
#right-sidebar.sidebar-open {
    display: block;
}
.fixed-small-header .small-header {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    margin-left: 181px;
    z-index: 1001;
}
.fixed-small-header .content {
    padding-top: 80px;
}
.fixed-small-header.hide-sidebar .small-header {
    margin-left: 0;
}
.fixed-small-header.page-small .small-header {
    margin-left: 0;
}
.fixed-small-header.page-small .content {
    padding-top: 120px;
}
.fixed-small-header.page-small.show-sidebar .small-header {
    margin-left: 181px;
    overflow: hidden;
}

nav.sidebar, .main{
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

.main{
    padding: 10px 10px 0 10px;
}

@media (min-width: 765px) {

    .main{
        position: absolute;
        width: calc(100% - 40px); 
        margin-left: 40px;
        float: right;
    }

    nav.sidebar:hover + .main{
        margin-left: 200px;
    }

    nav.sidebar.navbar.sidebar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
        margin-left: 0px;
    }

    nav.sidebar .navbar-brand, nav.sidebar .navbar-header{
        text-align: center;
        width: 100%;
        margin-left: 0px;
    }

    nav.sidebar a{
        padding-right: 13px;
    }

    nav.sidebar .navbar-nav > li:first-child{
        border-top: 1px #e5e5e5 solid;
    }

    nav.sidebar .navbar-nav > li{
        border-bottom: 1px #e5e5e5 solid;
    }

    nav.sidebar .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    nav.sidebar .navbar-collapse, nav.sidebar .container-fluid{
        padding: 0 0px 0 0px;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
        color: #777;
    }

    nav.sidebar{
        width: 200px;
        height: 100%;
        margin-left: -160px;
        float: left;
        margin-bottom: 0px;
    }

    nav.sidebar li {
        width: 100%;
    }

    nav.sidebar:hover{
        margin-left: 0px;
    }

    .forAnimate{
        opacity: 0;
    }
}

@media (min-width: 1330px) {

    .main{
        width: calc(100% - 200px);
        margin-left: 200px;
    }

    nav.sidebar{
        margin-left: 0px;
        float: left;
    }

    nav.sidebar .forAnimate{
        opacity: 1;
    }
}

nav.sidebar .navbar-nav .open .dropdown-menu>li>a:hover, nav.sidebar .navbar-nav .open .dropdown-menu>li>a:focus {
    color: #CCC;
    background-color: transparent;
}

nav:hover .forAnimate{
    opacity: 1;
}
section{
    padding-left: 15px;
}

.sidebar-button {
    padding: 4px 10px 0 10px;
}
.sidebar-button i {
    font-size: 20px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  float: left;
  margin-right: 10px;
  border-radius: 50%;
}
.chat-user-name {
  padding: 10px;
}
.chat-user {
  padding: 8px 10px;
  border-bottom: 1px solid #e7eaec;
}
.chat-user a {
  color: inherit;
}
.chat-view {
  z-index: 1070;
}
.chat-users,
.chat-statistic {
  margin-left: -30px;
}
@media (max-width: 992px) {
  .chat-users,
  .chat-statistic {
    margin-left: 0px;
  }
}
.chat-view .ibox-content {
  padding: 0;
}
.chat-message {
  padding: 10px 20px;
}
.message-avatar {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  margin-top: 1px;
}
.chat-discussion .chat-message .message-avatar {
  float: left;
  //margin-right: 10px;
  background-color: #f7f8fa;
}
.chat-discussion .message {
  background-color: transparent; //#f7f8fa
  text-align: left;
  display: block;
  padding: 10px 20px;
  position: relative;
  border-radius: 4px;
}
.chat-discussion .chat-message .message-date {
  float: right;
}
.chat-discussion .chat-message .message {
  text-align: left;
  //margin-left: 55px;
  background-color: #f7f8fa;
}
.message-date {
  font-size: 10px;
  color: black;
}
.message-content {
  display: block;
}
.chat-users,
.chat-discussion {
  overflow-y: auto;
  height: 65%;
}
.chat-discussion .chat-message.left .message-date {
  float: right;
}
.chat-discussion .chat-message.right .message-date {
  float: left;
}
.chat-discussion .chat-message.left .message {
  text-align: left;
  //margin-left: 8%;
}
.chat-discussion .chat-message.right .message {
  text-align: right;
  background-color: #ddeeff;
  
  //margin-right: 8%;
}
.chat-discussion .chat-message.left .message-avatar {
  float: left;
 // margin-right: 10px;
}
.chat-discussion .chat-message.right .message-avatar {
  float: right;
  //margin-left: 10px;
  //background-color: #3498db;
}
.chat-discussion {
  padding: 15px 10px;
}

#panel-chat{
    height: 80% !important;
}

.panel-tools {
  display: inline-block;
  float: right;
  margin-top: 0;
  padding: 0;
  position: relative;
}

.panel-tools a {
  margin-left: 5px;
  color: #9d9fa2;
  cursor: pointer;
}