@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

* {
    font-family: 'Lora', serif;
    scroll-behavior: smooth;
}

:root {
    --body-background: #E8E8E8;
    --menubar-background: transparent;
    --menubar-text-color: #000000;
    --white: #FFFFFF;
    --left-menubar-min-width: 250px;
    --container-max-width: calc(100vw - var(--left-menubar-min-width));
}

body {
    background: var(--body-background);
    overflow-x: hidden;
}

.outline-none,
.outline-0 {
    outline: none;
}

.subheader {
    background: linear-gradient(to bottom, #26283a, #38445c);
}

.layouts-admin-left-menubar-top {
    background: linear-gradient(to right, #202538, #1d2030);
}


.loading {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: var(--body-background);
    opacity: 1;
}

.loader-row {
    display: flex;
    opacity: 1;
    z-index: 100;
}

.loader-row.fadeOut {
    animation: fadeOut 1s ease-in-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        display: flex;
    }

    99% {
        opacity: 0;
        display: flex;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

.loader {
    position: relative;
    width: 160px;
    height: 160px;
    border: 4px solid #282828;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: -5px -5px 5px rgba(255, 255, 255, 0.1),
    10px 10px 10px rgba(0, 0, 0, 0.4),
    inset -5px -5px 5px rgba(255, 255, 255, 0.2),
    inset 10px 10px 10px rgba(0, 0, 0, 0.4);
}

.loader:before {
    content: "";
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
    z-index: 10;
    background: #212121;
    border-radius: 50%;
    border: 2px solid #292929;
    box-shadow: inset -2px -2px 5px rgba(255, 255, 255, 0.2),
    inset 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.loader span {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: linear-gradient(
            -225deg,
            rgba(30, 72, 87, 0.65) 0%,
            rgba(35, 168, 116, 0.65) 50%,
            rgba(46, 211, 146, 0.65) 100%
    );
    filter: blur(20px);
    z-index: -1;
    animation: animate 0.5s linear infinite;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

header {
    width: 100vw;
    background: var(--white);
    z-index: 1;
}

header .container {
    max-width: 100vw;
}

main > .container {
    padding: 75px 15px 15px;
}

main > .container.login {
    padding: 35px;
}

.subheader {
    width: 100vw;
    top: 54px !important;
    left: -100vw !important;
    height: calc(100vh - 54px);
    transition: left 0.5s ease-in-out;
    z-index: 2;
}

.subheader.open {
    left: 0 !important;
}

@media(min-width: 992px) {
    .subheader {
        width: 15vw;
        top: 0 !important;
        left: 0 !important;
        height: 100vh;
        min-width: var(--left-menubar-min-width);
    }

    header {
        width: 85vw;
        max-width: var(--container-max-width);
    }

    main > .container {
        margin: 0;
        margin-left: auto;
        padding: 75px 35px 15px;
        width: 85vw;
        max-width: var(--container-max-width);
    }

    main > .container.login {
        margin: 0 auto;
        padding: 35px;
        width: 85vw;
        max-width: var(--container-max-width);
    }
}

.hamburger-menu {
    display: none;
}

@media(max-width: 992px) {
    .hamburger-menu {
        display: block;
    }
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.form-group {
    margin-bottom: 1rem;
}

.modal-dialog {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 80vw;
}

@media(max-width:992px) {
    .modal-dialog {
        max-width: 90vw;
    }
}

.file-preview {
    border-radius: 15px !important;
    border: 1px solid rgba(0, 0, 0, 0.25) !important;
    padding: 15px !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    background: #FFFFFF;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.file-drop-zone {
    border: 3px dashed #aaa !important;
    min-height: 260px !important;
    border-radius: 15px !important;
    text-align: center !important;
    vertical-align: middle !important;
    margin: 12px 15px 12px 12px !important;
    padding: 15px !important;
    background: #eee !important;
}

.custom-modal-body {
    padding: 0 15px;
    width: 100%;
    height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

@media(max-width:992px) {
    .custom-modal-body {
        height: 60vh;
    }
}

.krajee-default.file-preview-frame {
    margin: 8px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-radius: 15px !important;
    padding: 6px;
    float: left;
    text-align: center;
    max-width: 100%;
}

.krajee-default.file-preview-frame .kv-file-content {
    width: 213px;
    height: 160px;
    max-width: 100%;
}

.close.fileinput-remove {
    display: none;
}

.custom-icon {
    position: absolute;
    left: 15px;
    top: 42.5px;
}

.message {
    max-height: 0;
    overflow: hidden;
    animation: alertMessage 7s ease-in-out forwards;
}

.message.success {
    background: #008027;
    color: #FFFFFF;
}

.message.fail {
    background: #A40000;
    color: #FFFFFF;
}

@keyframes alertMessage {
    0% {
        max-height: 0;
    }

    25% {
        max-height: 250px;
    }

    75% {
        max-height: 250px;
    }

    100% {
        max-height: 0px;
    }
}

.queryLoader {
    position: relative;
    width: 100px;
    height: 100px;
}

.queryLoader:before,
.queryLoader:after {
    content: '';
    border-radius: 50%;
    position: absolute;
    inset: 0;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3) inset;
}
.queryLoader:after {
    box-shadow: 0 2px 0 #FF3D00 inset;
    animation: queryLoaderRotate 2s linear infinite;
}

@keyframes queryLoaderRotate {
    0% {  transform: rotate(0)}
    100% { transform: rotate(360deg)}
}

iframe {
    width: 75vw;
    height: 75vh;
    border-radius: 0.5rem;
    overflow: hidden;
}

.video-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80vh;
    overflow-y: auto;
}

@media(max-width:992px) {
    iframe {
        width: 75vw;
        height: 55vh;
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .video-modal-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 60vh;
        overflow-y: auto;
    }
}

select {
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
}

input[type="text"]:read-only,
textarea:read-only {
    background: #000 !important;
    cursor: not-allowed;
}

input:read-only::placeholder,
textarea:read-only::placeholder {
    font-weight: bold;
    color: #FFFFFF;
}

.field-bekezdesek-oszlopszelesseg label::after {
    content: ' ( 1-12 )';
}

#tartalom-szerkeszto,
#tartalom-szerkeszto-bevezeto,
#tartalom-szerkeszto-dijak,
#tartalom-szerkeszto-osztondijak,
#tartalom-szerkeszto-felsooktatasi_tapasztalatok,
#tartalom-szerkeszto-publikaciok,
#tartalom-szerkeszto-tartalom {
    top: 54px !important;
    right: -100vw !important;
    background: #E8E8E8 !important;
    width: 85vw !important;
    max-width: calc(100vw - 250px) !important;
    height: calc(100vh - 54px) !important;
    overflow-y: hidden;
    transition: all 0.5s !important;
}

#tartalom-szerkeszto.show,
#tartalom-szerkeszto-bevezeto.show,
#tartalom-szerkeszto-dijak.show,
#tartalom-szerkeszto-osztondijak.show,
#tartalom-szerkeszto-felsooktatasi_tapasztalatok.show,
#tartalom-szerkeszto-publikaciok.show,
#tartalom-szerkeszto-tartalom.show {
    right: 0 !important;
    height: 100%;
    overflow-y: auto;
}

@media(max-width:992px) {
    #tartalom-szerkeszto,
    #tartalom-szerkeszto-bevezeto,
    #tartalom-szerkeszto-dijak,
    #tartalom-szerkeszto-osztondijak,
    #tartalom-szerkeszto-felsooktatasi_tapasztalatok,
    #tartalom-szerkeszto-publikaciok,
    #tartalom-szerkeszto-tartalom {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

textarea::-webkit-scrollbar {
    display: none;
}

.btn:disabled {
    color: #aaaaaa;
    background: #cccccc;
}

.field-publikacioimext-publikalas_datum label::after {
    content: ' (Év)';
}

#progressBarContainer {
    position: fixed;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 10000 !important;
    opacity: 0;
    transition: all 0.3s;
}

#progressBarContainer.show {
    opacity: 1;
    display: flex;
}

#progressBar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 0%;
    height: 100%;
    background-color: rgba(76, 175, 80, 0.5);
    transition: all 0.3s;
    overflow: hidden;
}

#progressBar h1 {
    color: #ffffff;
    text-align: center;
}

.field-konyveimext-kiadas_datuma label::after {
    content: ' (Év)';
}