@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(10deg);
    }
    30% {
        transform: rotate(0deg);
    }
    40% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(0deg);
    }
    60% {
        transform: rotate(5deg);
    }
    70% {
        transform: rotate(0deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes sonar {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

body {
    font-size: 1.0rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

input {
    outline: none;
    border: 1px solid transparent;
}

input:focus {
    border: 1px solid #999;
}

.page-wrapper .sidebar-wrapper,
.sidebar-wrapper .sidebar-brand>a,
.sidebar-wrapper .sidebar-dropdown>a:after,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before,
.sidebar-wrapper ul li a i,
.page-wrapper .page-content,
.sidebar-wrapper .sidebar-search input.search-menu,
.sidebar-wrapper .sidebar-search .input-group-text,
.sidebar-wrapper .sidebar-menu ul li a,
#show-sidebar,
#close-sidebar {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/*----------------page-wrapper----------------*/

.page-wrapper {
    height: 100vh;
    width: 100%;
}

.page-wrapper .theme {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 4px;
    margin: 2px;
}

.page-wrapper .theme.chiller-theme {
    background: #1e2229;
}


/*----------------toggeled sidebar----------------*/

.page-wrapper.toggled .sidebar-wrapper {
    left: 0px;
}

.page-wrapper.toggled .page-content {
    width: calc(100% - 260px);
    margin-left: 260px;
    padding: 30px;
    position: relative;
    text-shadow: 1px 1px 1px black;
    transition-duration: 0.2s;
}


/*----------------show sidebar button----------------*/

#show-sidebar {
    position: fixed;
    left: 0;
    top: 10px;
    border-radius: 0 4px 4px 0px;
    width: 35px;
    transition-delay: 0.3s;
}

.page-wrapper.toggled #show-sidebar {
    left: -40px;
}


/*----------------sidebar-wrapper----------------*/

.sidebar-wrapper {
    width: 260px;
    height: 100%;
    max-height: 100%;
    position: fixed;
    top: 0;
    left: -300px;
    z-index: 999;
}

.sidebar-wrapper ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-wrapper a {
    text-decoration: none;
}


/*----------------sidebar-content----------------*/

.sidebar-content {
    height: 100vh;
    overflow-y: auto;
    position: relative;
}

.sidebar-content.desktop {
    overflow-y: hidden;
}


/*--------------------sidebar-brand----------------------*/

.sidebar-wrapper .sidebar-brand {
    padding: 20px 20px;
    display: flex;
    align-items: center;
}

.sidebar-wrapper .sidebar-brand .inline {
    display: inline-block;
}

.sidebar-wrapper .sidebar-brand>a {
    font-size: 25px;
    font-weight: bold;
    flex-grow: 1;
}

.sidebar-wrapper .sidebar-brand>a>.icon {
    width: 40px;
    height: 40px;
    background-size: auto 40px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    float: left;
    margin: 0px 5px 15px 5px;
    display: block;
}

.sidebar-wrapper .sidebar-brand a #user_name {
    font-size: 15px;
    font-weight: normal;
    display: block;
    position: relative;
    top: 40px;
    text-align: center;
    margin-left: -12px;
}

.sidebar-wrapper .sidebar-brand>a:hover {
    color: #980303 !important;
}

.sidebar-wrapper .sidebar-brand #close-sidebar {
    cursor: pointer;
    font-size: 20px;
}


/*--------------------sidebar-header----------------------*/

.sidebar-wrapper .sidebar-header {
    padding: 20px;
    overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic {
    float: left;
    width: 60px;
    padding: 2px;
    border-radius: 12px;
    margin-right: 15px;
    overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.sidebar-wrapper .sidebar-header .user-info {
    float: left;
}

.sidebar-wrapper .sidebar-header .user-info>span {
    display: block;
}

.sidebar-wrapper .sidebar-header .user-info .user-role {
    font-size: 12px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status {
    font-size: 11px;
    margin-top: 4px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status i {
    font-size: 8px;
    margin-right: 4px;
    color: #5cb85c;
}


/*-----------------------sidebar-search------------------------*/

.sidebar-wrapper .sidebar-search>div {
    padding: 10px 20px;
}


/*----------------------sidebar-menu-------------------------*/

.sidebar-wrapper .sidebar-menu {
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.sidebar-wrapper .sidebar-menu .header-menu span {
    font-weight: bold;
    font-size: 14px;
    padding: 15px 20px 5px 20px;
    display: inline-block;
}

.sidebar-wrapper .sidebar-menu ul li a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    position: relative;
    padding: 8px 30px 8px 20px;
}

.sidebar-wrapper .sidebar-menu ul li a i {
    margin-right: 10px;
    font-size: 12px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
}

.sidebar-wrapper .sidebar-menu ul li a:hover>i::before {
    display: inline-block;
    animation: swing ease-in-out 0.5s 1 alternate;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown>a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    font-style: normal;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    background: 0 0;
    position: absolute;
    right: 15px;
    top: 14px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu ul {
    padding: 5px 0;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li {
    padding-left: 25px;
    font-size: 13px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-style: normal;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 10px;
    font-size: 8px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:hover {
    color: #980303;
}

.sidebar-wrapper .sidebar-menu ul li a span.label,
.sidebar-wrapper .sidebar-menu ul li a span.badge {
    float: right;
    margin-top: 8px;
    margin-left: 5px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .badge,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .label {
    float: right;
    margin-top: 0px;
}

.sidebar-wrapper .sidebar-menu .sidebar-submenu {
    display: none;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown.active>a:after {
    transform: rotate(90deg);
    right: 17px;
}

.sidebar-wrapper .sidebar-menu .sidebar-submenu li .edit {
    color: #6c7b88;
}

.bottom {
    position: fixed;
    bottom: 0px;
    padding: 20px;
    color: #bbc;
}

.bottom div {
    display: inline;
}

.bottom .name span {
    display: inline-block;
    font-style: 20px;
    padding: 10px;
    color: #bbc;
}

.fa-plus {
    color: #bbc !important;
    text-shadow: none !important;
}

.btn-primary {
    color: #fff;
    background-color: #3f6ad8 !important;
    border-color: #3f6ad8 !important;
}


/*--------------------------toggle-switch----------------------------*/


/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}


/* Hide default HTML checkbox */

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/*--------------------------toggle-switch----------------------------*/


/*--------------------------side-footer------------------------------*/

.sidebar-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    display: flex;
}

.sidebar-footer>a {
    flex-grow: 1;
    text-align: center;
    height: 30px;
    line-height: 30px;
    position: relative;
}

.sidebar-footer>a .notification {
    position: absolute;
    top: 0;
}

.badge-sonar {
    display: inline-block;
    background: #980303;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    position: absolute;
    top: 0;
}

.badge-sonar:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid #980303;
    opacity: 0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: sonar 1.5s infinite;
}

.sidebar-btns {
    bottom: 15px;
    width: 100%;
    text-align: center;
    border-radius: 10px;
    position: absolute !important;
}

.sidebar-btns form {
    display: inline-block;
}

.sidebar-btns button {
    margin-right: 10px;
}

.sidebar-btns label {
    margin: 0px;
}

.sidebar-btns .import {
    background-color: #22943c !important;
}

.sidebar-btns .import i {
    font-style: normal;
}


.floating-btn {
    color: #eef !important;
    border-radius: 30px;
    box-shadow: 0px 0px 4px black;
    font-size: 18px;
    padding: 15px 20px;
    cursor: pointer;
}

.modern-btn {
    padding: 5px 13px;
    border: 1px solid rgba(187, 187, 204, 0.473);
    font-size: 18px;
    color: #bbc;
    border-radius: 7px;
    background-color: #3a3f48;
    transition-duration: 0.2s;
    text-decoration: none;
}

.modern-btn:hover {
    color: #bbc;
    filter: brightness(120%);
}

#key-desc {
    display: inline-block;
    margin-left: 10px;
    position: relative;
    top: 2px;
}

/*--------------------------page-content-----------------------------*/

.page-wrapper .page-content {
    display: inline-block;
    width: 100%;
    padding-left: 0px;
    min-height: 100vh;
}

.page-wrapper .page-content {
    overflow-x: hidden;
}

.fa-trash {
    color: #dc3545;
    cursor: pointer;
}

.fa-trash:hover {
    filter: brightness(120%);
}


/*------scroll bar---------------------*/

::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: #525965;
    border: 0px none #ffffff;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: #525965;
}

::-webkit-scrollbar-thumb:active {
    background: #525965;
}

::-webkit-scrollbar-track {
    background: transparent;
    border: 0px none #ffffff;
    border-radius: 50px;
}

::-webkit-scrollbar-track:hover {
    background: transparent;
}

::-webkit-scrollbar-track:active {
    background: transparent;
}

::-webkit-scrollbar-corner {
    background: transparent;
}


/*-----------------------------chiller-theme-------------------------------------------------*/

.chiller-theme .sidebar-wrapper {
    background: #31353D;
}

.chiller-theme .sidebar-wrapper .sidebar-header,
.chiller-theme .sidebar-wrapper .sidebar-search,
.chiller-theme .sidebar-wrapper .sidebar-menu {
    border-top: 1px solid #3a3f48;
}

.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text {
    border-color: transparent;
    box-shadow: none;
}

.chiller-theme .sidebar-wrapper .sidebar-header .user-info .user-role,
.chiller-theme .sidebar-wrapper .sidebar-header .user-info .user-status,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text,
.chiller-theme .sidebar-wrapper .sidebar-brand>a,
.chiller-theme .sidebar-wrapper .sidebar-menu ul li a,
.chiller-theme .sidebar-footer>a {
    color: #bbc;
}

.chiller-theme .sidebar-wrapper .sidebar-menu ul li:hover>a,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown.active>a,
.chiller-theme .sidebar-wrapper .sidebar-header .user-info,
.chiller-theme .sidebar-wrapper .sidebar-brand>a:hover,
.chiller-theme .sidebar-footer>a:hover i {
    color: #b8bfce;
}

.page-wrapper.chiller-theme.toggled #close-sidebar {
    color: #bdbdbd;
}

.page-wrapper.chiller-theme.toggled #close-sidebar:hover {
    color: #ffffff;
}

.chiller-theme .sidebar-wrapper ul li:hover a i,
.chiller-theme .sidebar-wrapper .sidebar-dropdown .sidebar-submenu li a:hover:before,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu:focus+span,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown.active a i {
    color: #980303;
    text-shadow: 0px 0px 10px rgba(22, 199, 255, 0.5);
}

.chiller-theme .sidebar-wrapper .sidebar-menu ul li a i,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown div,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text {
    background: #3a3f48;
}

.chiller-theme .sidebar-wrapper .sidebar-menu .header-menu span {
    color: #6c7b88;
}

.chiller-theme .sidebar-footer {
    background: #3a3f48;
    box-shadow: 0px -1px 5px #282c33;
    border-top: 1px solid #464a52;
}

.chiller-theme .sidebar-footer>a:first-child {
    border-left: none;
}

.chiller-theme .sidebar-footer>a:last-child {
    border-right: none;
}

.rights {
    position: fixed;
    bottom: 8px;
    right: 16px;
    font-size: 15px;
    color: #666;
    font-family: 'Times New Roman', Times, serif;
}

.input-group-text:hover {
    cursor: pointer;
}

/****** Import button *******/

.import-btn {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.import-btn+label {
    display: inline-block;
    user-select: none;
    position: fixed;
    right: 30px;
    bottom: 25px;
    padding: 15px 20px;
    border-radius: 50%;
    transition: transform .5s ease-in-out;
}

.import-btn:focus+label,
.import-btn+label:hover {
    background-color: #3f6ad8;
    filter: brightness(115%);
}

.import-btn+label {
    cursor: pointer;
    /* "hand" cursor */
}


/*****************************/

.fa-plus {
    cursor: pointer;
}

.fa-plus:hover {
    filter:brightness(120%);
}

/******** Floating Box ********/

.hidden-floating-box {
    display: none;
}

#keybinding-map {
    position: fixed;
    top: 30px;
    left: 40%;
    width: 1000px;
    max-height: 90vh;
    overflow-y: scroll;
    transform: translateX(-30%);
    background-color: #31353D;
    border-radius: 10px;
    box-shadow: 0 0 15px black;
    color: #bbc;
    padding: 20px;
    z-index: 1000;

}

#keybinding-map .panel {
    display: inline;
}

#keybinding-map .left-panel {
    float: left;
}

#keybinding-map .right-panel {
    float: right;
}

#keybinding-map .page-head {
    font-size: 20px;
    margin: 5px;
    padding-top: 10px;
    width: 100%;
    border-bottom: 1px solid #bbc;
}


#keybinding-map table {
    background-color: #31353D;
    margin-bottom: 20px;
}

#keybinding-map table tr td {
    border: none;
    padding: 8px;
    color: rgb(196, 196, 212);
    width: 300px;
}

#keybinding-map table tr:nth-child(even) {
    background-color: #353941;
}

#keybinding-map table td:first-child {
    font-weight: bold;
    color: white;
    padding-right: 30px;
    width: 150px;
}

/******************************/

.floating-box {
    padding: 60px 40px 40px;
    border-radius: 40px;
    box-shadow: 0px 4px 20px black;
    background-color: #31353D !important;
    display: none;
    width: 650px;
    min-height: 430px;
    z-index: 999;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.floating-box .head {
    display: inherit;
    padding-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #ccd;
}

.floating-box .content-center {
    text-align: center;
}

.floating-box input {
    text-align: center;
    font-size: larger;
    border-radius: 3px;
    padding: 5px;
    background-color: rgb(67, 72, 82);
    border: 1px solid transparent;
    color: #ccd;
    margin: 5px;
    transition-duration: 0.2s;
}

.floating-box input:focus {
    border: 1px solid white;
}

.floating-box input[type="checkbox"] {
    width: 17px;
    height: 17px;
}


.popup {
    display: inline-block;
    opacity: 1;
    padding: 20px;
    text-align: center;
    background: rgb(19 72 132);
    filter: brightness(150%);
    color: white;
    position: absolute;
    bottom: 50px;
    right: 150px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    transition-duration: 1s;
    font-weight: normal;
}