.main-header {
    background-image: url(https://profile.kifu.hu/img/header_bg_alfi_kifu.png);
    background-repeat: no-repeat;
    background-color: #3e77bc;
    background-position-x: -150px
}

#current-user {
    padding: 0.5rem
}

#current-user a {
    padding: 0.5rem;
    color: #fff;
}

#current-user a:hover {
    color: #fff;
    background-color: #2d6aa3;
}

.navbar-primary {
    background-image: url(../images/header_logo_bg_alfi_kifu.png);
    background-repeat: no-repeat;
    background-color: #4d83c1;
}

/* .main-sidebar {
    width: 200px;
}

.sidebar-mini.sidebar-collapse .main-sidebar:hover {
    width: 200px;
}

body:not(.sidebar-mini-md) .main-header,
body:not(.sidebar-mini-md) .content-wrapper,
body:not(.sidebar-mini-md) .main-footer {
    transition: margin-left 0.3s ease-in-out;
    margin-left: 200px;
} */

.sidebar {
    padding-left: 0rem;
    padding-right: 0rem;
    box-shadow: none;
}

.sidebar-toggle:hover {
    background-color: #2d6aa3;
}

.sidebar p {
    padding-left: 0.6rem;
}

.nav-pills .nav-link {
    border-radius: 0;
}

.nav-sidebar .nav-item>.nav-link {
    margin-bottom: 0rem;
}

.sidebar .nav-item.active {
    border-left: 4px solid rgb(51, 119, 183);
    background-color: #f5f5f5;
}

.sidebar .nav-item:hover {
    background-color: #f5f5f5;
    display: block;
}

.card {
    margin: auto;
    width: 90%;
    border-radius: 0;
}

.card-header {
    border-radius: 0;
}

.table {
    margin: auto;
    margin-bottom: 0.5rem;
    width: 98%;
}

.own-pagination {
    margin-top: 0.5rem;
}

form {
    padding: 2rem 4rem;
}

.form-inline {
    margin-top: 0.5rem;
}

.form-group input,
.form-group select {
    border-radius: 0;
}

.creat_server {
    background-color: rgb(51, 119, 183);
    border-color: rgb(51, 119, 183);
}

#messageContainer {
    padding-left: 0.5rem;
}

table {
    table-layout: auto;
    width: 100%;
}

tbody tr:first-child td {
    border-top: none;
}

.table {
    width: 100%;
}

.table td {
    padding: .75rem 0rem;
}

.card-body {
    padding: 1.7rem
}

.custom-table {
    width: 98%;
}

.custom-table td {
    padding: 0.5rem;
}

.right-rounded {
    border-radius: 0;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.left-rounded {
    border-radius: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.action-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.action-buttons .btn {
    margin: .1rem;
    flex: 0 0 auto;
}

.searchbar {
    margin-left: 2rem;
}

.searchbar h5 {
    margin: auto;
}

.searchbar .form-group {
    padding: 0;
}

#users-table td {
    padding-left: 1rem;
}

.btn-success {
    background-color: #00a65a;
    border-color: #008d4c;
}

.btn-primary {
    background-color: #3c8dbc;
    ;
    border-color: #367fa9;
}

dt {
    margin-bottom: .5rem;
}

.tag-container {
    max-width: 200px;
    display: block;
}

.tag {
    display: inline-block;
    background-color: #007bff;
    border-radius: 5px;
    color: #fff;
    padding: 5px 10px;
    margin-bottom: 0.1rem;
}

@media (max-width: 900px) {
    .action-buttons {
        flex-direction: column;
        flex-wrap: wrap;
        overflow-x: hidden;
    }
}

@media (max-width: 1180px) {
    .card {
        width: auto;
    }
}

.myalert {
    display: none;
    padding: 20px;
    background-color: #f44336;
    color: white;
    opacity: 1;
    transition: opacity 0.6s;
    margin-bottom: 15px;
    margin-left: 2rem;
    margin-right: 2rem;
}

.myalert.success {
    background-color: #04AA6D;
}

.myalert.info {
    background-color: #2196F3;
}

.myalert.warning {
    background-color: #ff9800;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

.fa-solid {
    font-size: 20px;
}

.fa-solid:after {
    position: absolute;
    right: 10%;
    top: 10%;
    content: attr(data-count);
    font-size: 36%;
    padding: .6em;
    border-radius: 999px;
    line-height: .75em;
    color: white;
    background: rgba(255, 0, 0, .85);
    text-align: center;
    min-width: 2em;
    font-weight: bold;
}

.dropdown-item {
    color: #000;
    margin-bottom: 0.1rem;
    border-top: 1px solid #000;
}

.dropdown-menu {
    max-height: 200px;
    overflow: auto;
    margin: .4rem;
    padding: 0.1rem;
    left: -20px;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
    border-radius: 0px;
}

.multiselect {
    width: 100%;
}

.selectBox {
    position: relative;
}

.selectBox select {
    width: 100%;
}

.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.mySelectOptions {
    display: none;
    border: 0.5px #7c7c7c solid;
    background-color: #ffffff;
    max-height: 150px;
    overflow-y: scroll;
}

.mySelectOptions label {
    z-index: 1;
    display: block;
    font-weight: normal;
    display: block;
    white-space: nowrap;
    min-height: 1.2em;
    background-color: #ffffff00;
    padding: 0 2.25rem 0 .75rem;
}

.mySelectOptions label:hover {
    background-color: #3c8dbc;
}

.language-selected {
    background: transparent;
    padding-top: .3rem;
    margin-right: 2rem;
}

.language-selected:after {
    position: absolute;
    text-align: center;
    content: "";
    top: 40%;
    margin-left: 0.3rem;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

.language-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 30%;
}

.select-items div {
    color: #000;
    padding: 8px 16px;
    width: 100px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

.select-items div:hover {
    background-color: #ccc;
}

.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    z-index: 99;
    display: none;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
}

.scrollable-container {
    height: 80vh;
    overflow: auto;
    padding: 1rem;
}

.lesson-container {
    background-color: #f4f6f9;
    padding: .5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.lesson-container img {
    margin: .5rem;
}

.autocomplete-list {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    width: auto;
    max-height: 200px;
    overflow: auto;
}

.autocomplete-item {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #f4f4f4;
}

.share-button {
    margin: .3rem;
    font-size: 1rem;
}

.unauthorized-container {
    position: absolute;
    top: 40%;
    left: 30%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}