html {
    scroll-behavior: smooth;
}

body {
    background-color: #f4f6f9;
    font-family: 'Baloo Thambi 2', serif;
    font-size: 0.9rem;
}

.content-wrapper {
    padding-bottom: 5rem;
}

.login-page,
.register-page {
    display: block;
    background-color: #f4f6f9;
}

.main-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    margin: 0;
    padding: 0 1rem;
}

.form-control {
    background-color: #f4f6f9 !important;
}

.header-menu {
    padding-left: 1rem;
    padding-right: 0.9rem;
}

.list-group {
    clear: both;
}

.menueditor .list-group-item {
    padding: 0;
}

.top-level .list-group-item {
    padding: 0.5rem 0.75rem;
}

.sub-level .list-group-item {
    padding: 0.5rem 0 0 0.75rem;
    border: none;
    margin: auto 0;
}

.hover {
    margin-top: -5px;
    margin-bottom: -5px;
    height: 40px;
    width: 100%;
}

.hover:hover {
    background-color: #f4f6f9;
}

.modal-xl {
    max-width: 90% !important;
}

.modal-lg {
    max-width: 50% !important;
}

.modal-content{
    box-shadow: none;
    background: transparent;
    border: none;
}

.dt-bootstrap4 {
    padding: 0.25rem;
}

.dt-buttons {
    float: left;
}

.dataTables_info {
    float: left;
}

.dt-button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: center;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: color .15s;
    user-select: none;
}

.dt-button-collection {
    display: inline-block;
    height: 1.75rem;
    background: #4b545c;
    border: 1px solid #f4f6f9;
    transition: color .15s;
    border-radius: .25rem;
}

.button-page-length {
    color: #f4f6f9;
    font-weight: 400;
    font-size: 0.85rem;
    height: 100%;
    border-right: 1px solid #ffffff;
}

.button-page-length:last-child {
    border-right: none;
}

.vexor-span {
    display: inline-block;
    width: 100%;
    padding-bottom: .75rem;
}

.vexor-check {
    display: block;
    height: 2rem;
    width: 2rem;
    font-size: 1rem;
}

.full-height {
    height: 100vh;
}

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

.position-ref {
    position: relative;
}

.code {
    border-right: 2px solid;
    font-size: 26px;
    padding: 0 15px 0 15px;
    text-align: center;
}

.message {
    font-size: 18px;
    text-align: center;
}

.break {
    flex-basis: 100%;
    height: 0;
}

.action{
    font-size: 18px;
    text-align: center;
}

.action a{
    text-decoration: none;
    color: #636b6f;
}

.action a:hover{
    text-decoration: none;
}

.vexor-dt-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.vexor-dt-table tbody tr:hover {
    background-color: #e0e0e0;
}

.select2-selection__choice {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

#to-manual-link {
    position: fixed;
    bottom: 10px;
    right: 10px;
    height: 50px;
    width: 50px;
    z-index: 100;
    padding: 0.7rem;
    background: #17a2b8 linear-gradient(180deg, #3ab0c3, #17a2b8) repeat-x !important;
    border-radius: 50%;
    text-align: center;
}

#to-manual-link a{
    text-decoration: none;
    color: #343a40;
}

#to-manual-link a:hover{
    text-decoration: none;
}

#contents {
    width: 75%;
    display: block;
}

#contents li {
    margin-bottom: 0.4rem;
}

#contents li ul{
    margin-top: 0.4rem;
    list-style: none
}

#contents li a{
    color: #343a40;
    font-size: 1rem;
    transition: padding-left 0.4s;
}

#contents li a:hover{
    padding-left: 0.4rem;
    font-weight: bold;
}
/* A checkbox és a szöveg legyen egymás mellett */
label[for="under_school"], label[for="visit_school"], label[for="college_student"] {
    display: inline-flex;
    align-items: center; /* függőlegesen középre */
    gap: .4rem;
}

/* Ha a checkbox továbbra is kicsit feljebb van, finomhangoljuk */
label[for="under_school"] input[type="checkbox"], label[for="visit_school"] input[type="checkbox"], label[for="college_student"] input[type="checkbox"] {
    vertical-align: middle;
    margin-top: 0; /* biztos, hogy nincs extra margó */
}

/* Szöveg marad utána */
label[for="under_school"] .vexor-span, label[for="visit_school"] .vexor-span, label[for="college_student"] .vexor-span {
    order: 2;
}
