.menu {
    padding: 0 !important;
}

.dropdown-menu > a:focus, .dropdown-menu > a:hover {
    background-image: -ms-linear-gradient(top, #212529 0%, #161F3B 100%);
    background-image: -moz-linear-gradient(top, #212529 0%, #161F3B 100%);
    background-image: -o-linear-gradient(top, #212529 0%, #161F3B 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #212529), color-stop(1, #161F3B));
    background-image: -webkit-linear-gradient(top, #212529 0%, #161F3B 100%);
    background-image: linear-gradient(to bottom, #212529 0%, #161F3B 100%);
    color: #f8f9fa !important;
}

#img {
    -webkit-height: 30px;
    -moz-height: 30px;
    -ms-height: 30px;
    height: 30px;
}

.box {
    position: relative;
    top: -20px;
    /*top: 30%;
        left: 50%;*/
}

.notifications {
    position: absolute;
    left: -100px;
    /*margin-top: 30px;*/
    padding-top: 10px;
    width: 400px;
    height: 60px;
    background-color: #343a40;
    /*background-image: linear-gradient(to bottom,#337ab7 0,#2b669a 100%);*/
    /*background: #007bff;*/
    border-radius: 0px;
    box-sizing: border-box;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    transform: translate(-55%, 35px);
    /*transform: translateX(-55%);*/
    z-index: 3;
    display: none;
    font-family: "PTSans", "Arial", "Helvetica", sans-serif;
}

    .notifications .fa {
        color: #fff;
    }

    .notifications .num {
        position: relative;
        top: 0px;
        right: -5px;
        background: transparent;
        color: #fff;
        font-family: sans-serif;
        text-align: center;
        font-size: 22px;
    }

        .notifications .num:before {
            content: 'Уведомления: ';
        }

.notification-list {
    position: absolute;
    width: 100px;
    height: 300px;
    left: 0;
    top: 50px;
    margin: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    padding: 0px;
    box-sizing: border-box;
    font-family: "PTSans", "Arial", "Helvetica", sans-serif;
}

    .notification-list .notification-tabs {
        margin-top: 5px;
        position: fixed;
        width: 100%;
        z-index: 4;
    }

    .notification-list .tab-content {
        margin-top: 45px;
        width: 100%;
        height: 240px;
        overflow-y: scroll;
        font-family: "PTSans", "Arial", "Helvetica", sans-serif;
    }

        .notification-list .tab-content .tab-pane {
            width: 100%;
            height: 240px;
        }

.noticeIcon {
    position: absolute;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
    z-index: 3;
}

    .noticeIcon .fa {
        color: #cecece;
        line-height: 35px;
        font-size: 20px;
    }

    .noticeIcon .num {
        position: absolute;
        top: 0px;
        right: -5px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #ff0000;
        color: #fff;
        font-family: sans-serif;
        text-align: center;
        font-size: 12px;
    }

.panel-content {
    overflow-y: scroll;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 240px;
}

    .panel-content li {
        list-style: none;
        border-bottom: 1px solid rgba(0,0,0,.1);
        width: 350px;
        height: 80px;
        padding: 5px;
        /*display: flex;*/
    }

.unread {
    background: #FFFFE0;
}

    .unread .notice-title {
        font-weight: bold;
    }

.notice-title :hover {
    cursor: pointer;
}


.notice-icon-circle {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    background-color: #C02032;
}

    .notice-icon-circle :hover {
        cursor: pointer;
    }

    .notice-icon-circle .fa {
        line-height: 50px;
        color: #fff;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

.notice-text {
    margin-left: 10px;
    display: block;
    font-size: 14px;
}

.list-group-item list div {
    font-family: "PTSans", "Arial", "Helvetica", sans-serif;
}

.notice-content {
    align-items: center;
}

.notice-message {
    /*white-space: nowrap;*/
    width: 282px;
    overflow-wrap: break-word;
    display: inline-block;
    height: 40px;
    overflow: hidden;
    /*text-overflow: ellipsis;*/
}

.notice-text :hover {
    cursor: pointer;
}

label.error {
    margin-bottom: 0px !important;
}

.form-control.error {
    border: 1px solid red;
    border-top-right-radius: .25rem !important;
    border-bottom-right-radius: .25rem !important;
}

    .form-control.error:focus {
        border-color: red;
        box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25);
    }

.authHeader:hover {
    color: black !important;
}


#contentBody {
    position: relative;
    width: 100%;
    margin-top: 58px;
    min-height: calc(100vh - 58px);
    background: #fff;
}

#head_content {
    transition: all 0.3s;
    position: relative;
    margin: 0;
}

#nav_panel {
    background-color: #C02032;
    z-index: 200;
    position: fixed;
    width: 100%;
    min-height: 58px;
}
/*скролл*/
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-track {
    border-radius: 0 !important;
}

::-webkit-scrollbar-track-piece {
    background-color: #e0e0e0;
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #999;
}

::-webkit-scrollbar-corner {
    background-color: #999;
}
/**/
/*Меню*/
#sidebar {
    width: 240px;
    position: relative;
    z-index: 100;
    background: #54565A;
    color: #fff;
    transition: all 0.3s;
}

@@media (max-width: 767px) {
    #sidebar {
        display: none;
        position: absolute;
        min-height: 100%;
    }
}

#sidebar.active {
    width: 50px;
}
/**/
/*спинер*/
.spinner {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba( 255, 255, 255, .8 );
    display: none;
}
/**/
.bootstrap-dialog-close-button .close, .modal-header .close span {
    background-color: white;
    /*padding: 0 10px;*/
    border-radius: 15%;
    /*margin: auto;*/
    color: black;
    text-shadow: none;
}

    .bootstrap-dialog-close-button .close:hover, .modal-header .close span:hover {
        background-color: red;
        color: white;
    }

.modal-header .close {
    padding: 0 !important;
    margin: 0 !important;
}

/*три точки*/
.loader {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
}

#loader-2 span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #ffffff;
    margin: 35px 5px;
}

#sidebar.active .loader {
    width: 46px;
    height: 100px;
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
}

#sidebar.active #loader-2 span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: #ffffff;
    margin: 16px 2px;
}

#loader-2 span:nth-child(1) {
    animation: bounce 1s ease-in-out infinite;
}

#loader-2 span:nth-child(2) {
    animation: bounce 1s ease-in-out 0.33s infinite;
}

#loader-2 span:nth-child(3) {
    animation: bounce 1s ease-in-out 0.66s infinite;
}

@keyframes bounce {
    0%, 75%, 100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    25% {
        -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        -o-transform: translateY(-20px);
        transform: translateY(-20px);
    }
}
