body, #side-menu li a {
    color: #1b1b1b;
}

#side-menu li a:hover {
    /* background: #1c2938 !important; */
    background: #2C3E50 !important;
    color: #fff !important;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

body.light-skin #header, #logo, body.light-skin .header-link {
    background-color: transparent;
}

#header {
    height: auto !important;
}

#side-menu li:first-child {
    /* border-top: 1px solid #eaeaea !important; */
}

#side-menu li {
    border-bottom: 1px solid #eaeaea !important;
}

/*thead {*/
/*    background-color: #524470;*/
/*    color: #fff;*/
/*}*/

thead th {
    vertical-align: middle !important;
}

.table-responsive {
    border-radius: 5px;
}

#polls-h-panel {
    overflow-x: hidden;
}

body.page-small #menu {
    z-index: 9;
    margin-left: -250px;
}

body.page-small.show-sidebar #menu {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9;
    background: #fff;
    height: 100%;
    margin: 0;
    width: 70%;
    box-shadow: 0 0 150px #0000008f;
}

body.page-small #wrapper {
    margin: 0 !important;
}

textarea {
    min-height: 90px;
    overflow-y: auto !important;
}

.table-responsive .table th{
    vertical-align: middle;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #fff;
}
textarea{
    resize: vertical;
    overflow-y: scroll;
}

/*.table-bordered thead{*/
/*    background-color: mediumpurple;*/
/*    color: #fff;*/
/*}*/
#polls-h-panel{
    overflow-x: hidden;
}

/* LAYOUT STYLE */
body.page-small #menu{
    z-index: 9 !important;
    margin-left: -250px !important;
}
body.page-small.show-sidebar #menu {
    position: fixed !important;
    left: 0 !important;
    top: 55px !important;
    z-index: 9 !important;
    height: 100% !important;
    margin: 0 !important;
    width: 70% !important;
    box-shadow: 0 0 150px #0000008f !important;
}
body.page-small #wrapper{
    margin:0 !important;
}

#header #logo{
    width: 200px !important;
}

/*#MainMenu .list-group a, #MainMenuMobile .list-group a, .p-m .nav li a, .mobile-navbar .nav li a, #navigation ul li a{*/
/*    color: black !important;*/
/*    font-weight: bold !important;*/
/*}*/
/*#navigation ul a:hover, #navigation ul > .active > a{*/
/*    background-color: #F7F8FA !important;*/
/*}*/


/* END LAYOUT STYLE */

body.light-skin #header, #logo, .users-info-avatar {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#header {
    transition: all 0.4s ease 0s;
}

body.light-skin:not(.hide-sidebar) #header {
    padding-left: 200px;
}

#menu {
    background-color: #fff;
    top: 0 !important;
    border: 0;
    box-shadow: 0 0 20px #0000001f;
    padding-top: 0;
    border-top: 1px solid #ddd;
    padding-right: 0 !important;
    z-index: 101 !important;
}

#logo {
    padding-left: 20px;
    float: none;
}

body.light-skin #side-menu {
    padding: 0;
}

.header-link {
    border: 0;
}

body.light-skin {
    background-color: #E9EBEE !important;
}
div#wrapper:after {
    content: '';
    position: absolute;
    left: 0;
    top: -150px;
    width: 100%;
    height: 320px;
    /* background: #1c2938; */
    /* background-image: linear-gradient(to top, #09203f 0%, #537895 100%); */

    /* background-color: #537895;
    background-image: linear-gradient(315deg, #537895 0%, #09203f 74%); */

    background-color: #000000;
    background-image: linear-gradient(147deg, #000000 0%, #044a79 74%);


    /* background: #2C3E50;
    background: -webkit-linear-gradient(to right, #4CA1AF, #2C3E50);
    background: linear-gradient(to right, #4CA1AF, #2C3E50); */
    

    z-index: -1;
}

body.light-skin #side-menu li {
    border: 0 !important;
}

body.light-skin #side-menu li a {
    font-weight: 600;
    padding: 12px 20px 12px 50px;
}


.navbar-form-custom .form-control {
    background: #17222e;
    padding-left: 20px;
    margin-top: 11px;
    height: 35px;
}

nav[role="navigation"] {
    padding: 30px 20px 15px 30px;
}

/* form[role="search"] {
    width: 250px;
    margin-left: -15px;
} */


.h-buttons {
    margin-bottom: 50px !important;
    margin-top: 5px;
}

.header-link, .h-buttons a, .navbar.navbar-static-top a, .nav.navbar-nav li a, .user-info {
    color: rgba(255, 255, 255, 0.75);
}

.h-buttons a {
    color: rgba(255, 255, 255, 0.68) !important;
    border-right: 1px solid #2e445b !important;
}

.main-content-panel-header {
    background: transparent !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.main-content-panel-header h3 {
    color: #fff;
}

.main-content-panel-header .btn-default {
    background: transparent;
    color: #fff;
    border: 0;
}

.main-content-panel-header.hbuilt {
    padding: 0px 5px 25px 5px;
}

body.light-skin .hpanel .panel-body {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.pagination-part {
    padding: 5px;
}

.panel-body .table-bordered:not(.strictly-bordered) {
    border: 0;
}

.panel-body .table-responsive, .panel-body .table-bordered:not(.strictly-bordered) {
    border: 0;
}


.panel-body .table-bordered:not(.strictly-bordered) tr {
    border-bottom: 1px solid #ddd;
}

.panel-body .table-responsive .fa {
    font-size: 15px;
    width: 30px;
}

.table-bordered:not(.strictly-bordered) > thead > tr > th, .table-bordered:not(.strictly-bordered) > tbody > tr > th, .table-bordered:not(.strictly-bordered) > tfoot > tr > th, .table-bordered:not(.strictly-bordered) > thead > tr > td, .table-bordered:not(.strictly-bordered) > tbody > tr > td, .table-bordered:not(.strictly-bordered) > tfoot > tr > td {
    border: 0;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
}

.table-responsive .table th {
    font-size: 12px;
    font-weight: 600;
}


body.light-skin #logo {
    padding-left: 20px;
}

body.light-skin #logo a {
    display: flex;
    justify-content: space-between;
}

body.light-skin .hpanel .hbuilt.panel-heading, body.light-skin .hpanel.blog-box .panel-heading {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.panel-heading .btn .fa {
    font-size: 25px;
}

.header-link:hover, .navbar-nav > li > a:hover, .navbar-nav > li > a:focus, .navbar-nav .open > a, .navbar-nav .open > a:hover, .navbar-nav .open > a:focus, .navbar-nav > li > a:hover .user-info {
    background: transparent;
    border-bottom: 0;
    color: #fff !important;
}

.navbar-nav > li > .dropdown-menu a, .mobile-navbar .navbar-nav > li > a {
    color: #34495e;
}

.header-link {
    padding: 13px 26px 17px 10px;
    margin-right: 25px;
    font-size: 22px;
}

.table td a {
    display: block;
}

.table td a:hover .fa {
    transform: scale(2);
}

#menu .nav-second-level {
    padding-left: 35px;
}

ul#side-menu [class^="pe-7s"] {
    font-size: 22px;
    margin-right: 10px;
    position: absolute;
    left: 15px;
    top: 10px;
    width:20px;
    text-align: center;
}

body.light-skin.hide-sidebar #menu {
    margin-left: 0;
    width: 50px;
}

body.light-skin.hide-sidebar #menu #logo {
    padding-left: 10px;
}

body.light-skin.hide-sidebar #menu #logo span {
    display: none;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    background: rgba(0, 0, 0, .5);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    display: none;
}

.two-icons-row{
    display: flex;
    justify-content: center;
}

.two-icons-row a {
    display: inline-block !important;
    margin: 0 5px;
}

.contact-panel h3 {
    margin-bottom: 2px;
    font-size: 20px !important;
    font-weight: 500;
    letter-spacing: -.4px;
}

/* body{max-width: 100%; overflow-x: hidden;overflow-y:auto} */
#side-menu li:first-child {
    /* border-top: 1px solid #eaeaea !important; */
}

#side-menu li {
    border-bottom: 1px solid #eaeaea !important;
}
.toast-message, .toast-title{
    color: #000;
}
.chat-avatar {
    width: 36px;
    height: 36px;
    float: left;
    margin-right: 10px;
    border-radius: 50%;
    background: #ddd;
    text-align: center;
    line-height: 36px;
}
.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;
    line-height: 36px;
    text-align: center;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    background: #003a63;
}
.chat-discussion .chat-message .message-avatar {
    float: left;
    margin-right: 10px;
}
.chat-discussion .message {
    background-color: #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;
}
.message-date {
    font-size: 10px;
    color: #888888;
}
.message-content {
    display: block;
}
.chat-users,
.chat-discussion {
    overflow-y: auto;
    height: 500px;
}
.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: 55px;
}
.chat-discussion .chat-message.right .message {
    text-align: right;
    margin-right: 55px;
}
.chat-discussion .chat-message.left .message-avatar {
    float: left;
    margin-right: 10px;
    background: #9280a5;
    color: #fff;
}
.chat-discussion .chat-message.right .message-avatar {
    float: right;
    margin-left: 10px;
    color: #fff;
    background: #84a580;
}
.chat-discussion {
    padding: 15px 10px;
}
.chatPopUp {
    margin-bottom: 0 !important;
}
.chatPopUp.hiddenChat .chat-discussion {
    height: 0;
    overflow: hidden;
    padding: 0;
}
.chatPopUp.hiddenChat .panel-footer {
    display: none;
}
.chatPopUp.hiddenChat .panel-body {
    display: none;
}
.chatPopUp .panel-heading {
    border-radius: 2px 2px 0 0;
}
.chatPopUp .panel-heading:hover {
    cursor: pointer;
    text-decoration: underline;
}
.chatPopUp .chat-message {
    padding: 3px 0px;
}
.chatPopUp .message-avatar {
    height: 25px;
    width: 25px;
    line-height: 28px;
}
.chatPopUp .chat-discussion .chat-message.left .message {
    margin-left: 35px;
    margin-right: 80px;
}
.chatPopUp .chat-discussion .chat-message.right .message {
    margin-right: 35px;
    margin-left: 80px;
}
.chatPopUp .chat-discussion .message {
    padding: 10px;
    word-wrap: break-word;
}
.chatPopUp .chat-users,
.chatPopUp .chat-discussion {
    height: 350px;
}
.chatPopUp a.message-author {
    display: none;
}
.chatPopUp .message-date {
    display: none;
}
.chatPopUp .chat-discussion .chat-message.right .message-avatar {
    margin-right: 0;
    font-size: 10px;
    line-height: 25px;
}
.chatPopUp .chat-discussion {
    padding: 0 10px 15px 10px;
}
.chatPopUp div[id^="emoji_"] {
    position: absolute;
    bottom: 50px;
    left: 0;
    background: #fff;
    padding: 5px;
    height: 200px;
    overflow-y: auto;
    box-shadow: -1px -7px 5px -5px #dcdcdc;
}
.chatPopUp div[id^="emoji_"] span {
    font-size: 20px;
    display: inline-block;
    width: 29px;
    margin: 1px;
    padding: 2px;
}
.chatPopUp div[id^="emoji_"] span:hover {
    cursor: pointer;
    background-color: #eee;
}
.chatPopUp {
    position: relative;
}
#chatsPopUpWrapper {
    position: fixed;
    bottom: -5px;
    left: 0;
    padding-right: 260px;
    width: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 2;
    text-align: right;
}
#chatsPopUpWrapper a.closebox {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
}
#chatsPopUpWrapper a.closebox:hover {
    background: #e74c3c;
    color: #fff;
}
.chatPopUpOutter {
    width: 350px;
    display: inline-block;
    text-align: left;
    margin-right: 0px;
}
.chat-users.mini-chat {
    position: fixed;
    right: 10px;
    bottom: 0;
    width: 250px;
    z-index: 2;
    background: #fff;
    box-shadow: 0 0 25px #ddd;
    overflow: hidden;
    height: auto;
}
.chat-users.mini-chat .users-list {
    height: 500px;
    overflow-y: auto;
}
.chat-users.mini-chat .heading {
    padding: 9px;
    text-align: center;
    font-weight: bolder;
    background: #fafafa;
    color: #222;
    cursor: pointer;
    margin: 0;
}
.chat-users.mini-chat .heading .closebox {
    position: absolute;
    right: 0;
    top: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #eee;
    font-size: 25px;
}
.chat-users.mini-chat .heading .closebox:hover {
    background: #e74c3c;
    color: #fff;
}
.chat-users.mini-chat.closed {
    height: 38px;
    padding: 0;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    border-top: 2px solid #e2e2e2;
    border-right: 1px solid #d6d6d6;
    border-left: 1px solid #d6d6d6;
}
.chat-users.mini-chat.closed .heading .closebox {
    display: none;
}
.chat-users.mini-chat .chat-user:hover {
    background: #fafafa;
}
.chat-users.mini-chat .chat-avatar {
    width: 26px;
    height: 26px;
    line-height: 26px;
}
.chat-users.mini-chat .chat-user-name {
    padding: 0;
    padding-top: 3px;
}
.no-messages-before {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto auto;
    text-align: center;
    height: 20px;
    color: #999;
}
.chat-users.mini-chat .users-list::-webkit-scrollbar,
[id^="emoji_chId_"]::-webkit-scrollbar {
    width: 0.5em;
}
.chat-users.mini-chat .users-list::-webkit-scrollbar-track,
[id^="emoji_chId_"]::-webkit-scrollbar-track {
    background: #e2e2e2;
}
.chat-users.mini-chat .users-list::-webkit-scrollbar-thumb,
[id^="emoji_chId_"]::-webkit-scrollbar-thumb {
    background-color: #bbb;
    outline: 1px solid #bbb;
}

@media screen and (min-width: 768px) {
    body.fixed-sidebar.light-skin.hide-sidebar {
        padding-left: 50px;
    }

    div#navigation {
        width: 200px;
    }

}

@media screen and (max-width: 768px) {
    body.light-skin:not(.hide-sidebar) #header {
        padding-left: 0;
    }

    body.show-sidebar #overlay {
        display: block;
    }

    nav[role="navigation"] {
        padding: 10px 0px 0px 15px;
    }

    body.light-skin #wrapper .content {
        padding-top: 10px;
    }

    .header-link {
        margin-right: 0;
    }

    #header .small-logo .text-primary, .mobile-menu-toggle {
        color: #fff;
    }

    .mobile-menu .fa {
        font-size: 20px;
    }

    .h-buttons {
        margin-bottom: 15px !important;
        margin-top: 5px;
        display: flex;
        overflow-x: auto;
        float: none;
        align-items: center;
    }

    .h-buttons a {
        min-width: 170px;
        margin-right: 10px;
        padding-right: 15px;
        margin-bottom: 10px;
    }

    body.page-small.show-sidebar #menu {
        top: 0 !important;
        z-index: 101 !important;
    }

    #logo {
        display: block;
        width: auto !important;
        padding-right: 20px;
        height: auto;
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd !important;
        margin-bottom: 10px;
    }

    body.light-skin #logo a {
        align-items: center;
    }

    body.light-skin #logo {
        height: auto;
    }

    
}
.nav [class^="pe-7s"], .mobile-navbar [class^="pe-7s"], #MainMenu [class^="pe-7s"], #MainMenuMobile > [class^="pe-7s"], .mobile-navbar [class^="pe-7s"]{
    font-size: 22px !important;
    vertical-align: sub !important;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus{
    background-color: #D7E4F4 !important;
}
.dropdown-menu.hdropdown li > a:hover, .dropdown-menu.filedropdown li > a:hover {
    background: #e3e1e1 !important;
    color: inherit !important;
}

.dropdown-menu.hdropdown .unread-notification  > a {
    background: #e3e1e1 !important;
}

.overlay-full{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 101;
}

.hdropdown::before{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: 15px;
    top: -30px;
    bottom: auto;
    border: 15px solid;
    border-color: transparent transparent #fff transparent;
}

.navbar-toggle{
    margin-right: 5px !important;
}

.linear--blue {
    background: linear-gradient(180deg,#21c8f6,#637bff) !important;
    color: #fff !important;
}

.linear--green {
    background: linear-gradient(180deg,#6edcc4,#1aab8b) !important;
    color: #fff !important;
}

.linear--yellow {
    background: linear-gradient(0deg,#f19a1a,#ffc73c) !important;
    color: #fff !important;
}

.linear--red {
    background: linear-gradient(180deg,#f44881,#ec454f) !important;
    color: #fff !important;
}

.linear--violete {
    background: linear-gradient(180deg,#d757f7,#c227e9) !important;
    color: #fff !important;
}



.ribbon {
    font-size: 16px !important;
    /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */
   
    width: 50%;
       
    position: relative;
    background: #3192d4;
    color: #fff;
    text-align: center;
    padding: 1em 2em; /* Adjust to suit */
    margin: 0 auto; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */
    /* z-index: 1999;    */
}
/* .ribbon:before, .ribbon:after {
    content: "";
    position: absolute;
    display: block;
    bottom: 0em;
    border: 1.55em solid #3192d4;
}
   .ribbon:before {
    left: -3em;
    border-right-width: 1.5em;
    border-left-color: transparent;
   }
   .ribbon:after {
    right: -3em;
    border-left-width: 1.5em;
    border-right-color: transparent;
   } */
    .ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
    content: "";
    position: absolute;
    display: block;
    border-style: solid;
    border-color: #0b629c transparent transparent transparent;
    bottom: -1em;
   }
   .ribbon .ribbon-content:before {
    left: 0;
    border-width: 1em 0 0 1em;
    /* border-width: 1em 1em 0 0; */
   }
   .ribbon .ribbon-content:after {
    right: 0;
    border-width: 1em 1em 0 0;
    /* border-width: 1em 0 0 1em; */
   } 