html, body {
    height: 100%;
    margin: 0;
}

#content {
    margin-left: 275px;
    margin-top: 85px;
    padding-bottom: 30px;
    position: relative;
    width: 100%;
    height: calc(100vh - 135px);
    overflow-y: auto;
}

.change-title {
    padding: 0 5%;
    margin-bottom: 25px;
}

.connection {
    color: #27ACFF;
    padding-right: 3.5em;
    font-weight: bold;
}

.col-md-2 {
    flex: 0 0 275px;
    max-width: 275px;
}

.consoleNum {
    font-size: 10px;
}

#danger-alert {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
}

#download-alert, #load-alert {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 5000;
}

.input-box .form-control {
    border: 1.5px solid #001C32;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.flex-input {
    display: flex;
    align-items: center;
}

.flex-input a {
    margin-left: 10px;
    color: #001C32;
}

.flex-input a:hover {
    opacity: 60%;
}

.flexbox {
    display: flex;
}

#password {
    margin-bottom: 2.5rem;
}

#username:focus, #password:focus {
    border-color: #E8308A;
    box-shadow: 0 0 0 0.2rem rgba(232,48,138,0.25);
    z-index: 2;
}

.input-box {
    width: 50%;
    padding: 0 5%;
    margin-bottom: 40px;
}

.input-box input:focus, .form-control:focus {
    border-color: #E8308A;
    box-shadow: 0 0 0 0.2rem rgba(232,48,138,0.25);
    z-index: 2;
}

.custom-table {
    padding: 0 1.5rem;
    margin-top: 50px;
}

.custom-table .row{
    margin: 0;
}

.custom-table th, .custom-table td{
    padding: .1rem .75rem;
}

.user-table th, .user-table td,
.user-role-table th, .user-role-table td{
    padding: .75rem;
}

label {
    display: inline-flex;
    align-items: center;
}

label input, label select{
    margin: 0 10px;
}

.lang-select {
    position: absolute;
    left: 8%;
}

#lang-switch {
    width: auto;
    display: inline;
}

.table-content {
    flex: 0 0 100%;
}

.page-content {
    padding-top: 40px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #001C32;
    border-color: #001C32;
}

.page-link {
    color: #001C32;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    color: #001C32;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,28,50,0.25);
}

.profile-box {
    background-color: rgba(0,28,50,0.10);
    border-radius: 25px; 
    margin: 0 5% 40px 5%;
    padding: 35px 0 0 0;
    border: 1px solid #001C32;
}

.logout {
    padding: 0.65rem 2rem;
    color: #dae0e5;
    background-color: rgba(0,0,0,0);
    font-weight: 400;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-label {
    font-size: 1.25rem;;
}

.rs-logo {
    margin-left: .5rem;
    font-size: 1.5rem;
}

.navbar {
    background-color: rgba(0,28,50,0.8);
}

.navbar-nav {
    padding-right: 2em;
    list-style-type: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height: 85px;
}

.navbar-brand:hover {
    color: white;
}

.navbar-brand img {
    display: block;
}

.nav-link {
    display: block;
    padding: 0.2rem 2rem;
}

.sign-in {
    background-color: #001C32;
    border-color: #001C32;
}

.sign-in:hover, .sign-in:active, .sign-in:focus {
    background-color: #001C32 !important;
    border-color: #001C32 !important;
    opacity: 90%;
    box-shadow: 0 0 0 0.2rem rgba(0,28,50,0.50);
}

.load-values {
    font-size: 15px;
    margin-left: 1.5rem;
    margin-top: 20px;
}

.save-values {
    font-size: 15px;
    margin-left: 5%;
    width: 100px;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 85px 0 50px 0;
    box-shadow: inset -1px 0 0 rgba(0,0,0,0.25);
    background-color: #E5E5E5;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 135px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 20px;
}

.sidebar .nav-link {
    font-weight: 500;
    font-size: .9rem;
    color: #333;
}

.sidebar .nav-link.active {
    color: #E8308A;
    background-color: #FFFFFF;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.sidebar .nav-link:hover {
    
    background-color: rgba(232,48,138,0.10);
}

.sidebar .nav-link.active:hover {
    background-color: #FFFFFF;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
  padding-right: 2rem;
  padding-left: 2rem;
  margin: 2rem 0;
}

#table {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

#table .sorting:hover, #table .sorting_asc:hover {
    background-color: rgba(232,48,138,0.10);
    cursor: pointer;
}

#table_wrapper {
    margin-top: 20px;
}

.user-table, .user-role-table {
    margin-top: 0;
}

.user-role-table {
    width: 100%;
    max-width: 600px;
}

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

.user-icons .feather{
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

.user-icons .feather-edit {
    color: #67a1db;
}

.user-icons .feather-edit:hover {
    color: #5782ad;
}

.user-icons .feather-trash-2 {
    color: #f76868;
}

.user-icons .feather-trash-2:hover {
    color: #bd2f2f;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #000;
    z-index: 101;
}

.footer-img {
    width: 100px;
    position: absolute;
    bottom: 5px;
    right: 8%;
}

.footer-a, .footer-a:hover{
    color: #999;
}

#login {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
    height: 100%;
    text-align: center!important;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.menu-wrapper {
    display: none;
}

.navbar-nav-mobile {
    display: none;
}

@media (max-width: 1024px) {

    #content {
        margin-left: 0;
    }

    .menu-wrapper {
        display: block;
        z-index: 1;
    }

    .navbar {
        justify-content: center;
    }

    .navbar-nav-mobile {
        display: flex;
        list-style-type: none;
        height: 85px;
        margin-bottom: 0;
        align-items: center;
        top: 0;
    }

    .navbar-nav {
        display: none;
    }

    .sidebar{
        display: none !important;
    }

    .menu-wrapper .toggler {
        position: absolute;
        top: 5px;
        left: 5px;
        z-index: 6000;
        cursor: pointer;
        width: 75px;
        height: 75px;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        opacity: 0;
    }

    .menu-wrapper .hamburger {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5500;
        width: 85px;
        height: 85px;
        padding: 1.4rem;
        background-color: rgba(0,28,50,0.8);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-wrapper .hamburger > div {
        position: relative;
        width: 100%;
        height: 3px;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.4s ease;
    }

    .menu-wrapper .hamburger > div:before,
    .menu-wrapper .hamburger > div:after {
            content: '';
            position: absolute;
            z-index: 5200;
            top: -12px;
            width: 100%;
            height: 3px;
            background: #fff;
    }

    .menu-wrapper .hamburger > div:after {
        top: 12px;
    }

    .menu-wrapper .toggler:checked + .hamburger > div {
        transform: rotate(135deg);
    }

    .menu-wrapper .toggler:checked + .hamburger > div:before,
    .menu-wrapper .toggler:checked + .hamburger > div:after {
        top: 0;
        transform: rotate(90deg);
    }

    .toggler:checked ~ .mobile-sidebar{
        visibility: visible;
    }

    .toggler:checked ~ .mobile-sidebar > div{
        transform: scale(1);
        transition-duration: 0.75s;
        transition: all 0.4s ease;
        display: flex;
        flex-direction: column;
    }

    .toggler:checked ~ .mobile-sidebar > div > div > div{
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
        filter: alpha(opacity=1);
        opacity: 1;
        transition: opacity 0.4s ease;
    }

    .mobile-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        visibility: hidden;
        overflow: hidden;
        display: flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        background-color: transparent;
    }

    .mobile-sidebar > div {
        background-color: rgba(0,0,0,0.90);;
        border-radius: 50%;
        width: 300vw;
        height: 300vw;
        display: flex;
        flex: none;
        align-items: center;
        justify-content: center;
        transform: scale(0);
    }

    .mobile-sidebar > div > div > div{
        width: 100%;
        max-width: 500px;
        max-height: 100vh;
        transition: opacity 0.4s ease;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        opacity: 0;
    }

    .mobile-sidebar li a {
        color: #fff;
        max-width: 500px;
        margin: 0 auto;
    }

    .mobile-sidebar h6 {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-sidebar h6 {
        color: rgba(255,255,255,0.5) !important;
    }

    .mobile-sidebar .nav-link:hover {
        background-color: rgba(232,48,138,0.35);
    }

    .mobile-sidebar .nav-link.active {
        color: #E8308A;
        background-color: transparent;
    }

    .sidebar-sticky {
        height: calc(93vh - 160px);
        margin-bottom: 25px;
    }

    .page-content {
        padding-top: 20px;
    }

    .pagination {
        justify-content: center;
    }

    #table_filter, #table_length, #table_info {
        text-align: center;
    }

    #table_info {
        margin-bottom: 10px;
    }

    #table_wrapper {
        display: flex;
        flex-direction: column;
    }

    .menu-container {
        width: 80vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        top: 0;
    }

    .nav-link {
        padding: .5rem 2rem;
    }
}

@media (max-width: 700px) {
    .tablet {
        display: none;
    }
}

@media (max-width: 600px) {
    #content {
        margin-top: 65px;
        height: calc(100vh - 115px);
    }

    .menu-wrapper .hamburger {
        width: 65px;
        height: 65px;
        padding: 1.2rem;
    }

    .menu-wrapper .toggler {
        width: 55px;
        height: 55px;
    }

    .menu-wrapper .hamburger > div:before,
    .menu-wrapper .hamburger > div:after {
            top: -8px;
            height: 2px;
    }

    .menu-wrapper .hamburger > div:after {
        top: 8px;
    }

    .menu-wrapper .hamburger > div {
        height: 2px;
    }

    .navbar-brand {
        height: 65px;
    }

    .navbar-brand img {
        width: 50px;
        height: 50px;
    }

    .navbar-brand h2 {
        display: none;
    }

    .page-content {
        padding-top: 0;
    }

    .profile-box {
        margin: 0 0 40px 0;
    }

    .flexbox {
        flex-direction: column;
    }

    .input-box {
        width: 100%;
    }

    .no-pad {
        padding: 0;
    }

    .save-values {
        margin-left: 0;
        width: 100%;
    }

    .load-values {
        margin-left: 0;
        width: 100%;
    }

    .custom-table {
        padding: 0;
    }

    .mobile {
        display: none;
    }

    .navbar-nav-mobile {
        height: 65px;
    }

    .sidebar-sticky {
        height: calc(95vh - 160px);
    }
}
