
@font-face {
    font-family: 'OpenSansLightItalic';
    src: url("fonts/OpenSans-LightItalic.ttf")
}


@font-face {
    font-family: 'OpenSansExtraBold';
    src: url("fonts/OpenSans-ExtraBold.ttf")
}

@font-face {
    font-family: 'OpenSansLight';
    src: url("fonts/OpenSans-Light.ttf")
}

@font-face {
    font-family: 'OpenSansBold';
    src: url("fonts/OpenSans-Bold.ttf")
}

@font-face {
    font-family: 'OpenSans';
    src: url("fonts/OpenSans-Regular.ttf")
}

@font-face {
    font-family: 'Eater';
    src: url("fonts/Eater-Regular.ttf")
}

/* NORMALIZE */

body,
p,
h1,
h2,
h3,
a {
    margin: 0;
    padding: 0;
}

body {
    font-size: 15px;
}

strong {
    font-family: 'OpenSansBold';
    font-weight: normal;
}

.loadingScreen {
    background: #12121E;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 1000;
    display: grid;
    grid-template-rows: 1fr 1fr;
    justify-content: center;
}

.load_logo {
    text-align: center;
    align-self: end;
}

.load_text {
    color: white;
    font-family: 'OpenSansBold';
    font-size: 2em;
}

/* FONTS */

html {
    font-family: 'OpenSans';
}

.bold {
    font-family: 'OpenSansExtraBold';
}

/* ***** */


/*TEXT DECORATIONS*/

.eros-h {
    font-weight: bold;
}

/*  ********* */


/* OUR LITTLE BOOTSTRAP */

a {
    color: #3251ac;
}

.grid {
    display: grid;
}

.g-middle {
    align-self: center;
}

.g-center {
    justify-self: center;
}

.t-just {
    text-align: justify;
}

.t-center {
    text-align: center;
}

button:focus {
    outline: none;
}

.internet-explorer {
    display: none;
}

.align-space-around {
    align-content: space-around;
}

.justify-space-around {
    justify-content: space-around;
}

.cta {
    padding: 6px;
    background: #ffd166;
    border-radius: 24px;
}

.cta:hover {
    background: #ffe9ab;
}

.email {
    cursor: pointer;
}

/* OUR LITTLE BOOTSTRAP - END */


/* HEADER */

header {
    grid-template-columns: 5fr minmax(200px, 420px);
    background: white;
    padding: 14px 12px 20px 12px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    /* height: 10vh; */
    /* transition: 1s cubic-bezier(0.25, 1, 0.50, 1); */
    /* KELL? */
}

#head-title {
    /* transition: 1s; */
    /* height: 10vh; */
    grid-template-columns: 60px minmax(auto, 400px);
    color: #1C225A;
}

header.small {
    height: 50px;
}

/* KELL ? */
/* #title-logo {
    transition: 1s cubic-bezier(0.25, 1, 0.50, 1);
    height: 100%;
} */

.mobile-title {
    display: none;
}

header.small #title-logo {
    height: 55px;
}

header.small #title {
    font-size: 1.1em;
    padding-bottom: 5px;
}

header.small #title p:first-child {
    font-size: 1.45em;
    letter-spacing: -1px;
    line-height: 1;
    padding-bottom: 3px;
}

header.small #head-title {
    height: 2vh;
}

header a {
    text-decoration: none;
    color: black;
}

#title p:last-child {
    font-size: 0.75em;
}

#title-logo-mobile {
    display: none;
}

/* HEADER END */


/* NAV */

nav {
    position: fixed;
    top: 84px;
    width: 100%;
    grid-template-columns: repeat(6, 1fr);
    background: #1C225A;
    z-index: 99;
    transition: 1s cubic-bezier(0.25, 1, 0.50, 1);
}

.small+nav {
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.5);
}

nav>a {
    font-size: 1.1em;
    transition: 0.5s;
    background-color: #1C225A;
    padding: 12px 0 12px 0;
    text-align: center;
    cursor: pointer;
    color: white;
}

nav>a:hover {
    background-color: #393b62;
    color: white;
}

.quicklinks {
    grid-template-columns: repeat(7, 1fr);
    padding-right: 48px;
    padding-top: 8px;
    grid-column-gap: 6px;
}

.quicklinks button {
    transition: 0.25s;
    background-size: auto 100%;
    background-position: left;
    background-repeat: no-repeat;
    background-color: #12121E;
    width: 36px;
    height: 36px;
    color: white;
    font-family: 'OpenSansExtraBold';
    border: #12121E;
    cursor: pointer;
    box-shadow: -5px 5px rgb(0, 0, 0, 0.15);
    z-index: 200;
}

.quicklinks button p {
    font-size: 1.2em;
    padding-left: 36px;
    transition: 0.25s;
    filter: opacity(0);
}

.quicklinks button:hover p,
.quicklinks button.force-hover p {
    filter: opacity(1);
}

.quicklinks button:hover,
.quicklinks button.force-hover {
    box-shadow: -2.5px 2.5px rgb(0, 0, 0, 0.15);
    width: 150px;
}

.egy-szazalek-mini {
    background-image: url("img/modal-1pcnt.jpg");
}

.kreta-mini {
    background-image: url("img/modal-kreta.jpg");
}

.e-naplo-mini {
    background-image: url("img/modal-enaplo.jpg");
}

.moodle-mini {
    background-image: url("img/modal-moodle.jpg");
}

.email-mini {
    background-image: url("img/modal-mail.jpg");
}

.etkezes-mini {
    background-image: url("img/modal-rimon.jpg");
}

.en-mini {
    background-image: url("img/modal-en.jpg");
}

.hu-mini {
    background-image: url("img/modal-hu.jpg");
}

.head-right {
    display: none;
}

/* NAV END */


/* HAMBURGER MENU */

.hamburger,
.cross {
    display: none;
    background: transparent;
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    border: 0;
    font-size: 2.4em;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000000000000;
}

.cross {
    transform: rotate(45deg);
}

.closed,
.opened {
    border: none;
    background-color: transparent;
    float: right;
    color: white;
    transition: 0.5s;
}

.closed {
    transform: rotate(0deg);
}

.opened {
    transform: rotate(90deg);
}

/* HAMBURGER MENU END */


/* MOBILE MENU */

.mobile-menu {
    display: none;
    left: 15vh;
    right: 5vh;
    z-index: 1000000;
    font-weight: bold;
    font-size: 0.8em;
    background-color: #2a2e48;
    position: absolute;
    text-align: center;
    font-size: 12px;
    position: fixed;
    top: 8vh;
    box-shadow: -7px 7px 5px rgb(0, 0, 0, 0.3);
}

.mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-image: none;
}

.mobile-menu li {
    display: block;
    padding: 15px 15px 15px 15px;
    border-bottom: #12121e 1px solid;
    color: white;
}

.mobile-menu ul ul {
    display: none;
    background-color: #393b62;
}

.mobile-menu ul ul li:not(:last-child) {
    border-bottom: #1f2235 1px solid;
}

.mobile-menu ul ul li a {
    color: white;
    text-decoration: none;
}

.disappear {
    filter: opacity(0);
    transition: 1s;
}

.appear {
    filter: opacity(1);
    transition: 1s;
}

/* MOBILE MENU END */


/* MODALS */

.modals {
    background-color: rgb(0, 0, 0);             /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);       /* Black w/ opacity */
    width: 100%;
    height: 200vh;
    z-index: 500;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
}

/* Modal Content/Box */
.modal-content {
    display: grid;
    grid-auto-columns: 20% auto;
    background-color: #fefefe;
    margin: auto;
    width: 45%;
    box-shadow: -5px 5px 15px rgba(30, 30, 30);
}

.modal-content div:first-child {
    color: white;
    grid-column: 1/2;
}

.modal-content div:nth-child(2) {
    grid-column: 2/3;
    padding: 20px;

}

.close {
    position: relative;
    float: right;
    font-size: 35px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
    top: -7%;
}

.close:hover {
    color: black;
    cursor: pointer;
}

.modal-content p {
    padding-bottom: 24px;
    font-size: 1.1em;
}

.modal-content h1 {
    font-family: 'OpenSansExtraBold';
    text-shadow: -2px 2px rgb(0, 0, 0, 0.15);
    margin-bottom: 0.5em;
}

.modal-content button {
    transition: 0.25s;
    color: white;
    font-family: 'OpenSansExtraBold';
    background-color: #12121E;
    border: #12121E;
    cursor: pointer;
    box-shadow: -5px 5px rgb(0, 0, 0, 0.15);
}

.modal-content button:hover {
    color: white;
    font-family: 'OpenSansExtraBold';
    background-color: #12121E;
    border: #12121E;
    cursor: pointer;
    box-shadow: -2.5px 2.5px rgb(0, 0, 0, 0.15);
    transform: translate(-2.5px, 2.5px);
}

#welcome .modal-content div:first-child {
    background: url("img/modal-1pcnt-lg.png") no-repeat #12121E;
    background-size: auto 100%;
    background-position: center;
}

#nyiltnap_mod .modal-content div:first-child {
    background: url("img/modal-open.png") no-repeat #12121E;
    background-size: auto 100%;
    background-position: center;
}

#adomany_mod .modal-content div:first-child {
    background: url("img/modal-lauder2.png") no-repeat #12121E;
    background-size: auto 100%;
    background-position: center;
}

#nyiltnap_mod button,
#adomany_mod button {
    font-size: 1.2em;
    padding: 15px;
    margin: 25px;
}

#welcome {
    margin-top: 20vh;
    display: block;
}

/* COMMENT OUT AFTER LAOKOON */

/* #welcome h1, #welcome button {
    font-family: 'Eater';
} */

/* UP TO HERE */


#welcome button {
    padding: 12px;
    font-size: 1.2em;
    margin-left: 1.5em;
    margin-right: 1.5em;
    margin-top: 1em;
}

.buttonsGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* MODALS END */


/* IMPRESSZUM */

.impresszum {
    text-align: center;
    background-color: #2a2e4b;
    color: white;
    font-size: 0.9em;
    padding: 2vh;
    position: fixed;
    bottom: -40vh;
    left: 0;
    right: 0;
    transition: 0.7s;
}

.impresszum.imp-opened {
    bottom: 0;
    transition: 0.7s;
}

.impresszum p:first-child {
    font-size: 2em;
    font-family: 'OpenSansBold';
}

.impresszum p {
    padding-bottom: 1em;
}

.impresszum .imp-close-chevrone {
    display: inline-block;
    transform: rotate(90deg);
}

.impresszum a,
.impresszum a:hover,
.impresszum a:visited {
    color: white;
}

.impresszum .imp-close-link a {
    text-decoration: none;
}

.impresszum .imp-close-link {
    font-size: 1.3em;
    padding-bottom: 0;
    font-family: 'OpenSansBold';
}

/* IMPRESSZUM END */


/* FOOTER */

footer {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 7vh 26vh;
    place-items: center;
    background-color: #12121e;
    color: white;
    font-size: 0.9em;
    padding: 1vh;
}

footer * {
    color: white;
}

#lauderFooter {
    grid-column: 1/5;
    font-family: 'OpenSansBold';
    font-size: 2em;
}

footer div {
    text-align: center;
    align-self: baseline;
}

.fcol1 {
    grid-column: 1/2;
    grid-row: 2/3;
    text-align: left;
}

.fcol2 {
    grid-column: 2/4;
    grid-row: 2/3;
}

.fcol3 {
    grid-column: 4/5;
    grid-row: 2/3;
}

.fcol1 p {
    font-family: 'OpenSansBold';
}

.fcol1 ul li {
    padding-bottom: 0.5vh;
}

.fcol2 p {
    padding-bottom: 2vh;
}

.fcol2 p:last-child {
    padding-top: 2vh;
    font-family: 'OpenSansBold';
}

/* FOOTER END */


/* G-BLOCK */

.g-block {
    grid-template-columns: 1fr 3fr 1.5fr;
    grid-template-rows: 60px 11fr;
    background: white;
    z-index: 5;
}

.g-block-head {
    grid-column: 1/4;
    background: #393b62;
    font-family: 'OpenSansBold';
    color: white;
    padding: 12px 0px 12px 24px;
    font-size: 1.5em;
    height: 35px;
}

.g-block-nav {
    margin: 24px 0px 48px 0px;
    border-right: 3px solid #1F2235;
}

.g-block-nav a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.g-block-nav li.active {
    font-family: 'OpenSansBold';
}

.g-block-nav>ul {
    list-style: none;
    padding-left: 24px;
}

.g-block-nav>ul>li {
    padding-bottom: 48px;
}

.g-block-center {
    /*text-align: justify;*/
    padding: 0px 48px 0px 48px;
    display: none;                  /* Dinamikus szekció összes tartalmát elrejteni, kivéve az elsőt */
}

.g-block div:nth-child(3) {         /* Dinamikus szekció első tartalma */
    display: grid;
}

.g-block-center p {
    margin-bottom: 1em;
}

.in-art-h3 {
    margin-bottom: 12px;
}

/* G-BLOCK END */


/* G-BLOCK MOBILE */

.lapozo {
    display: none;
}

.lapozo .lapozo-jelolt {
    display: block;
    height: 100%;
    background: #6183dd;
    transition: 0.7s;
}

.mobile-swipe-notice {
    display: none;
}

/* G-BLOCK MOBILE END */


/* SECTIONS GENERAL */

.wrap-block {
    grid-template-rows: 100vh;
    grid-auto-rows: minmax(calc(90vh - 24px), auto);
}

section {
    width: calc(100vw - (100vw - 100%));
}

.img-right {
    grid-column: 3/4;
    grid-row: 2/3;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-clip: padding-box;
    background-position: right;
}

.img-right>img {
    width: 80%;
    justify-self: end;
}

/* SECTIONS GENERAL END */


/* SECTION-HERO */

#sect-hero {
    background-size: cover;
    grid-template-columns: repeat(12, 1fr);
}

#sect-hero>h1 {
    grid-column: 1/13;
    grid-row: 2/3;
    color: white;
    text-align: center;
    font-size: 5em;
    font-family: 'OpenSansLight';
    text-shadow: 0 0 12px black;
    font-weight: unset;
}

#sect-hero>h2 {
    font-family: 'OpenSansBold';
    grid-column: 2/12;
    grid-row: 3/4;
    font-size: 1.8em;
    color: white;
    text-align: center;
    text-shadow: 0 0 12px black;
    font-weight: unset;
}

/* SECT-HERO END */


/* SECT-KOSZONTO */

#sect-koszonto {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr 9fr;
    grid-gap: 48px;
    background: #1F2235;
    color: white;
}

#horanyi {
    grid-area: 2/2/span 2/span 3;
    align-self: center;
    border-radius: 24px;
    max-width: 100%;
    height: auto;
    max-height: 450px;
}

#koszonto-header {
    grid-area: 1/5/span 1/span 7;
    padding: 0 0 3vh 0;
    background-color: unset;
}

#wrap-koszonto {
    margin-top: 1em;
    grid-area: 2/5/span 1/span 7;
    align-self: center;
}

.koszonto-text {
    text-align: justify;
    margin-bottom: 1em;
}

.author {
    margin-top: 2.5em;
}

.mobile-koszonto-gabor {
    display: none;
}

/* SECT-KOSZONTO END */


/* SECT-ROLUNK */

#img-rolunk {
    background-image: url("img/img-rolunk.jpg");
}

#art-alapelveink p {
    margin-bottom: 2em;
}

/* SECT-ROLUNK END */


/* SECT-OKTATAS */

#img-oktatas {
    background-image: url("img/img-oktatas.jpg");
}

#art-kozep p {
    margin-bottom: 2em;
}

/* SECT-OKATAS END */


/* SECT-ZSIDOSAGUNK */

#img-zsidosagunk {
    background-image: url("img/img-zsidosagunk.jpg");
}

/* SECT-ZSIDOSAGUNK END */


/* SECT-JELENTKEZES */

#img-jelentkezes {
    background-image: url("img/img-jelentkezes.jpg");
}

/* SECT-JELENTKEZES END */


/* SECT-DOLGOZZ-NALUNK */

#sect-dolgozz-nalunk .g-block-center {
    display: block;
    grid-column: 1/3;
    max-width: 900px;
}

#sect-dolgozz-nalunk .munkalehetoseg {
    margin-top: 30px;
}

#sect-dolgozz-nalunk .munkalehetoseg p {
    margin-bottom: 20px;
}

#sect-dolgozz-nalunk h3 {
    margin-bottom: 1em;
}

#jelentkezesAllasra {
    height: 16px;
    text-decoration: none;
}

#aktualis-lehetoseg-title {
    margin: 1em 0;
}

/* NEEDS REVIEW !!!! */
#img-dolgozz {
    background-image: url("img/img-dolgozz.jpg");
    background-size: 100vh auto;
    background-position-y: top;
}

.munkalehetoseg-reszletes {
    display: none;
    border-left: 2px solid #3251ac;
    padding-left: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.ml-toggle {
    cursor: pointer;
    font-family: 'OpenSansBold';
    font-size: 1.05rem;
    font-style: italic;
}

/* SECT-DOLGOZZ-NALUNK END */


/* SECT-KAPCSOLAT */

#img-kapcsolat {
    background-image: url("img/img-kapcsolat.jpg");
}

/* art-gazdasagi */
#art-gazdasagi ul {
    list-style-type: none;
}

/* art-vezet */
.auto-columns {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px 10px;
}

#art-vezet {
    grid-column: 2/4;
}

#art-vezet div.grid div {
    text-align: center;
}

#art-vezet div.grid div:nth-child(3) {      /* Olivér csinált valamit valahol, na, ez azért kell. */
    display: block;
}

.vezetok-arckep {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: top;
}

.g-block-center .vezeto-nev {
    font-family: 'OpenSansBold';
    margin-bottom: 0;
}

.vezeto-titulus {
    font-style: italic;
    font-size: 0.9em;
}

/* art-ecl */
#art-ecl * {
    grid-column: 1/4;
}

#art-ecl h2 {
    grid-column: 1/3;
}

#art-ecl img {
    justify-self: center;
    align-self: center;
    grid-row: 1/2;
    grid-column: 3/4;
    width: 50%;
    border-radius: 100%;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

#art-ecl li {
    margin-bottom: 1em;
}

/* art-heber */
#art-heber div {
    align-self: center;
}

#art-heber img {
    margin: auto;
    width: 70%;
}

/* SECT-KAPCSOLAT END */


/* BREAK GENERAL */

.break {
    background: #1F2235;
    grid-template-columns: repeat(4, 1fr);
    color: white;
    z-index: 0;
}

.g-break-article {
    transition: 0.5s;
    height: 100%;
    grid-template-rows: 45% 10% 45%;
    background-size: auto 100%;
    background-position: center;
    filter: grayscale(0);
}

.g-break-article:hover {
    filter: grayscale(0.5);
    box-shadow: 0vh -30vh 100vh black inset;
    background-size: auto 110%;
}

.g-break-article:hover h1,
.g-break-article:hover h2 {
    transform: translateY(-23vh);
}

.g-break-article:hover p {
    filter: opacity(1);
    transform: translateY(-25vh);
    overflow: visible;
}

.g-break-article>h1 {
    transition: 0.5s;
    font-family: 'OpenSansExtraBold';
    font-size: 5em;
    align-self: end;
    text-shadow: 0 0 10px black;
}

.g-break-article>h2 {
    transition: 0.5s;
    font-family: 'OpenSansLightItalic';
    text-shadow: 0 0 10px black;
}

.g-break-article>p {
    transition: 0.5s;
    filter: opacity(0);
    font-family: 'OpenSansBold';
    padding: 0 5% 0 5%;
    text-shadow: 0 0 10px black;
}

/* BREAK GENERAL END */

/* BREAK - SECT-TÖRTÉNELEM */

#sect-tori div:nth-child(1) {
    background-image: url("img/Tori/tori-1989.jpg");
    background-size: cover;
}

#sect-tori div:nth-child(2) {
    background-image: url("img/Tori/tori-1996.jpg");
    background-size: cover;
}

#sect-tori div:nth-child(3) {
    background-image: url("img/Tori/tori-2005.jpg");
    background-size: cover;
}

#sect-tori div:nth-child(4) {
    background-image: url("img/Tori/tori-2013.jpg");
    background-size: cover;
}

/* BREAK - SECT-TÖRTÉNELEM END */


/* MOSAIC GENERAL */

.mosaic {
    background: #1F2235;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(4, 1fr);
    color: white;
}

.mosaic div {
    height: 100%;
    transition: 0.5s;
    grid-template-rows: 45% 10% 45%;
    background-size: 120% auto;
    background-position: center;
    filter: grayscale(0);
}

.mosaic>div:hover {
    filter: grayscale(0.5);
    box-shadow: 0vh -10vh 100vh black inset;
    background-size: 130% auto;
}

.mosaic>div:hover h1 {
    transform: scale(0.8);
    filter: opacity(1);
}

.mosaic>div:hover h2 {
    transform: scale(0.8);
    filter: opacity(1);
}

.g-mosaic-article>h1 {
    transition: 0.5s;
    filter: opacity(0);
    font-family: 'OpenSansExtraBold';
    font-size: 5em;
    align-self: end;
    text-shadow: 0 0 10px black;
    text-align: center;
}

.g-mosaic-article>h2 {
    transition: 0.5s;
    filter: opacity(0);
    font-family: 'OpenSansLightItalic';
    text-shadow: 0 0 10px black;
    text-align: center;
}

/* MOSAIC GENERAL END */

/* MOSAIC - PROGRAMOK */

#sect-programok div {
    background-size: cover;
}

#sect-programok div:nth-child(1) {
    background-image: url("img/Mozaik/mozaik-jom-haacmaut.jpg");
    grid-area: 1 / 1 / span 2/ span 2;
}

#sect-programok div:nth-child(2) {
    background-image: url("img/Mozaik/mozaik-inno.jpg");
    grid-area: 1 / 3 / span 1/ span 2;
}

#sect-programok div:nth-child(3) {
    background-image: url("img/Mozaik/mozaik-szinhaz.jpg");
    grid-area: 1 / 5 / span 2/ span 2;
}

#sect-programok div:nth-child(4) {
    background-image: url("img/Mozaik/mozaik-ovis-szeder.jpg");
    grid-area: 1 / 7 / span 3/ span 2;
}

#sect-programok div:nth-child(5) {
    background-image: url("img/Mozaik/mozaik-sofar.jpg");
    grid-area: 2 / 3 / span 2/ span 2;
}

#sect-programok div:nth-child(6) {
    background-image: url("img/Mozaik/mozaik-zene.jpg");
    grid-area: 3 / 1 / span 2/ span 2;
}

#sect-programok div:nth-child(7) {
    background-image: url("img/Mozaik/mozaik-sport.jpg");
    grid-area: 4 / 3 / span 1/ span 2;
}

#sect-programok div:nth-child(8) {
    background-image: url("img/Mozaik/mozaik-kemia.jpg");
    grid-area: 3 / 5 / span 2/ span 2;
}

#sect-programok div:nth-child(9) {
    background-image: url("img/Mozaik/mozaik-szalag.jpg");
    background-position: center top;
    grid-area: 4 / 7 / span 1/ span 2;
}

#sect-programok h1 {
    font-family: 'OpenSansExtraBold';
    font-size: 2em;
    align-self: end;
    text-shadow: 0 0 10px black;
}

/* MOSAIC - UNNEPEK END */

/* MOSAIC - UNNEPEK */

#sect-unnepek {
    grid-template-areas: "1fr 1fr 1fr 1fr"
        "1fr 1fr 1fr 1fr"
        "1fr 1fr 1fr 1fr"
        "1fr 1fr 1fr 1fr";
    background-color: #1F2235;

}

#sect-unnepek div {
    grid-template-rows: 1fr 1fr 1fr;
    background-size: cover;
    grid-area: span 1 / span 2;
}

#sect-unnepek .first-holiday {
    grid-area: 1 / 1 / span 1 / span 2;
}

#yom-kippur {
    background-image: url("img/Unnepek/jom_kipur.jpg");
}

#sukkot {
    background-image: url("img/Unnepek/szukot.jpg");
}

#shmini-atzeret {
    background-image: url("img/Unnepek/smini-aceret.jpg");
}

#simchat-torah {
    background-image: url("img/Unnepek/szimhat_tora.jpg");
}

#chanukah {
    background-image: url("img/Unnepek/hanuka.jpg");
}

#tu-bishvat {
    background-image: url("img/Unnepek/tu_bishvat.jpg");
}

#purim {
    background-image: url("img/Unnepek/purim.jpg");
}

#pesach {
    background-image: url("img/Unnepek/peszah.jpg");
}

#yom-hashoah {
    background-image: url("img/Unnepek/jom-hasoa.jpg");
}

#yom-hazikaron {
    background-image: url("img/Unnepek/jom-hazikaron.jpg");
}

#yom-haatzmaut {
    background-image: url("img/Unnepek/jom-haacmaut.jpg");
}

#lag-baomer {
    background-image: url("img/Unnepek/lag-baomer.jpg");
}

#yom-yerushalayim {
    background-image: url("img/Unnepek/jom-jerusalaim.jpg");
}

#shavuot {
    background-image: url("img/Unnepek/shavuot.jpg");
}

#tisha-bav {
    background-image: url("img/Unnepek/tisa-beav.jpg");
}

#rosh-hashana {
    background-image: url("img/Unnepek/ros_hasana.jpg");
}

#sect-unnepek h1 {
    font-family: 'OpenSansExtraBold';
    font-size: 2em;
    align-self: end;
    text-shadow: 0 0 10px black;
}

/* MOSAIC - UNNEPEK END */

/* EXTERNAL MODULES */

/* FULL SCREEN VIDEO */

.fullscreen-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}

.fullscreen-bg__video {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100vw - (100vw - 100%));
    height: 100%;
    filter: brightness(0.5);
}

/*@media (min-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    height: 300%;
    top: -100%;
  }
}

@media (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    width: 300%;
    left: -100%;
  }
}*/

/* ***** ** */

@media (min-aspect-ratio: 16/9) {
    .fullscreen-bg__video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .fullscreen-bg__video {
        width: auto;
        height: 100%;
    }
}


/* @ MEDIA QUERY: Tablet & Phone  */
@media screen and (max-width: 1550px) {
    .modal-content {
        width: 65%;
    }

}

@media screen and (max-width: 1366px) {
    #art-ecl img {
        display: none;
    }

    #art-heber img {
        width: 80%;
    }

    .g-break-article:hover h1 {
        transform: translateY(-5vh);
        filter: opacity(0);
    }

    .g-break-article:hover h2 {
        transform: translateY(-5vh);
        filter: opacity(0);
    }

    .g-break-article:hover p {
        filter: opacity(1);
        transform: translateY(-45vh);
        overflow: visible;
    }

}

/* max-width: 1366px END */

@media screen and (max-width: 1153px) {
    .modal-content {
        width: 70%;
    }

    .g-block-center {
        grid-column: 2/4;
    }

    #sect-dolgozz-nalunk .g-block-center {
        grid-column: 2/4;
    }

    .g-block div.img-right {
        display: none;
    }

    .break {
        grid-template-columns: repeat(2, 1fr);
    }

    .g-break-article:hover p {
        transform: translateY(-27vh);
    }

}

/* max-width: 1153px END */

@media screen and (max-width: 1025px) {
    header.small {
        padding-top: 7px;
        padding-bottom: 18px;
    }

    nav {
        top: 75px;
    }

    footer {
        padding: 2vh;
        padding-bottom: 3vh;
        grid-auto-rows: auto;
    }


}

/* max-width: 1025px END */


@media screen and (max-width: 830px) {

    .quicklinks {
        align-items: center;
    }

    #sect-hero h1 {
        font-size: 3em;
    }

    #sect-hero h2 {
        font-size: 1.5em;
    }

    #sect-koszonto {
        grid-template-rows: 3fr;
        grid-gap: 0;
        padding-bottom: 2vh;
    }

    #sect-koszonto img {
        display: none;
    }

    #sect-koszonto div {
        grid-column: 2/12;
    }

    #sect-koszonto img.mobile-koszonto-gabor {
        display: block;
        border-radius: 50%;
        clear: both;
        margin-left: auto;
        margin-right: auto;
        width: 33vw;
        max-width: 145px;
    }

    footer {
        padding-right: 3vh;
    }

    .fcol1 {
        grid-column: 1/3;
        grid-row: 3/4;
    }

    .fcol3 {
        grid-column: 3/5;
        grid-row: 3/4;
        justify-self: end;
    }

    .impresszum {
        bottom: -50vh;
    }

}

/* max-width: 830px END */

@media screen and (max-width: 830px) and (max-height: 420px) {

    header.small #head-title #title p:nth-child(2) {
        display: none;
    }

    .small+nav {
        box-shadow: 0 6px 6px rgb(0 0 0 / 50%);
    }

    footer {
        grid-auto-rows: 10vh 30vh 50vh;
        padding-bottom: 7vh;
        padding-right: 3vh;
    }

    .impresszum {
        bottom: -100vh;
    }

}

/* (max-width: 830px) and (max-height: 420px) END */

@media screen and (max-width: 770px) {
    #ql-desktop.quicklinks button:hover {
        width: 48px;
    }

    header.small #head-title #title p:nth-child(2) {
        /* display: none; */
    }
}

/* max-width: 770px END */


/* MOBIL NÉZET */
@media screen and (max-width: 720px) and (orientation: portrait) {

    /* HEADER */

    header {
        grid-template-columns: 1fr 4fr;
        background: none;
        background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    }

    header.small {
        height: 10vh;
    }

    #head-title {
        grid-template-columns: minmax(auto, 300px) minmax(auto, 400px);
    }

    #title,
    #login-text {
        display: none;
    }

    #title-logo {
        display: none;
    }

    #title-logo-mobile {
        display: block;
        height: 70px;
    }

    .head-right {
        display: grid;
    }

    /* HEADER END */


    /* NAV */

    .quicklinks {
        grid-column-gap: unset;
    }

    .quicklinks button {
        transition: unset;
        width: 32px;
        height: 32px;
        box-shadow: unset;
        justify-self: center;
    }

    .quicklinks button:hover {
        width: 32px;
        box-shadow: unset;
        filter: brightness(0.75);
    }

    #ql-desktop {
        display: none;
    }

    #ql-mobile {
        display: grid;
    }

    nav.grid {
        display: none;
    }

    /* NAV END */


    /* MODAL */

    .modal-content {
        width: 80%;
    }

    .modal-content div:first-child {
        display: none;
    }

    .modal-content div:not(:first-child) {
        grid-column: 1/3;
        text-align: justify;
        padding-right: 0;
        padding-left: 15px;
        width: calc(100% - 30px);
    }

    #welcome {
        margin-top: 10vh;
    }

    #welcome h1 {
        font-size: 1.5em;
    }

    #welcome button {
        font-size: 1em;
    }

    .buttonsGrid {
        grid-template-areas: "1fr 1fr"
            "1fr 1fr";
    }

    #pop-nyilt-nap {
        grid-row: 1 / 2;
        grid-column: 1/3;
    }

    #pop-jelentkezes {
        grid-row: 2/3;
        grid-column: 1/3;
    }

    #pop-adomany {
      grid-column: 1/3;
    }

    .close {
        top: -5%;
        font-size: 45px;
    }

    /* MODAL END */


    /* FOOTER */
    footer {
        grid-auto-rows: 7vh 24vh 20vh;
    }

    .fcol1 {
        grid-column: 1/5;
        grid-row: 3/4;
        align-self: center;
    }

    .fcol2 {
        grid-column: 1/5;
        grid-row: 2/3;
        align-self: center;
    }

    .fcol3 {
        display: none;
    }

    /* FOOTER END */

    /* IMPRESSZUM */
    .impresszum {
        bottom: -50vh;
    }

    /* *** */

    section {
        position: relative;
    }

    /* G-BLOCK */

    .g-block {
        grid-template-columns: 1fr 18fr 1fr;
        grid-template-rows: 85px auto;
    }

    .g-block-head {
        height: initial;
        display: grid;
        align-content: center;
        justify-content: center;
        padding: 0;
    }

    .g-block-nav {
        display: none;
    }

    .g-block-center {
        grid-row: 2/3;
        padding: 0;
        width: 90vw;
    }

    .g-block-center h2.g-middle {
        margin-top: 2em;
    }

    /* G-BLOCK END */


    /* LAPOZO */

    .lapozo {
        display: block;
        margin: 0;
        border-radius: 0.25em;
        border: 1px solid #ccc;
        background: #f8f8f8;
        height: 0.4em;
        overflow: hidden;
        position: absolute;
        top: 10vh;
        left: 5vh;
        right: 5vh;
    }

    .mobile-swipe-notice {
        display: grid;
        grid-row: 2/3;
        grid-column: 2/3;
        text-align: center;
        height: 30px;
        grid-template-columns: 1fr 2fr 1fr;
        align-items: center;
        padding-top: 10px;
    }

    .swipe-text {
        grid-column: 2/3;
        font-style: italic;
        padding-top: 3px;
        color: #6183dd;
    }

    .swipe-anim-right {
        height: 18px;
        width: 42px;
        background: url("img/swype-anim.svg");
        background-repeat: no-repeat;
        grid-column: 3/4;
        justify-self: end;
    }

    .swipe-anim-left {
        height: 18px;
        width: 42px;
        background: url("img/swype-anim.svg");
        background-repeat: no-repeat;
        grid-column: 1/2;
        transform: rotate(180deg);
    }

    /* LAPOZO END */


    /* SECT-HERO */

    #sect-hero {
        grid-template-rows: 2fr 3fr 3fr;
    }

    .wrap-block {
        grid-auto-rows: minmax(100vh, auto);
    }

    #sect-hero>h1.mobile-title {
        display: block;
        grid-row: 1/2;
        align-self: flex-end;
        font-size: 2.4em;
    }

    #sect-hero>h1 {
        grid-row: 2/3;
        font-size: 2em;
        padding-top: 50px;
    }

    #sect-hero>h2 {
        font-size: 1.5em;
    }

    .fullscreen-bg__video {
        height: 100%;
        left: -75vw;
    }

    /* SECT-HERO END */


    /* SECT-KOSZONTO */

    #wrap-koszonto {
        margin-top: 0;
    }

    #sect-koszonto {
        grid-template-rows: 1fr 3fr;
    }

    #sect-koszonto {
        grid-template-rows: minmax(auto, 80px) auto;
    }

    #sect-koszonto img.mobile-koszonto-gabor {
        margin-bottom: 3vh;
    }

    /* SECT-KOSZONTO END */


    /* SECT - KAPCSOLAT */
    #art-heber img {
        width: 90%;
    }

    /* *** */


    /* BREAK GENERAL */

    .break {
        grid-template-columns: 1fr;
    }

    .g-break-article {
        height: auto;
    }

    .g-break-article h1 {
        transition: none;
        grid-area: 1 / 1 / span 1 / span 1;
    }

    .g-break-article h2 {
        transition: none;
        grid-area: 2 / 1 / span 2 / span 1;
    }

    .g-break-article p {
        transition: none;
        display: none;
        transform: translateY(0);
        filter: opacity(1);
    }

    .g-break-article:hover {
        filter: unset;
        background-size: auto 100%;
        box-shadow: unset;
    }

    .g-break-article:hover h1,
    .g-break-article:hover h2 {
        filter: unset;
        transform: translateY(0);
    }

    .g-break-article:hover p {
        transform: translateY(0);
        filter: opacity(1);
    }

    /* BREAK GENERAL END */


    /* MOSAI GENERAL */

    .mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
    }

    .g-mosaic-article {
        background-size: 110% auto;
    }

    .mosaic>div:hover {
        background-size: 120% auto;
    }

    /* MOSAIC - PROGRAMOK */
    #sect-programok h1 {
        font-size: 2em;
    }

    #sect-programok h2 {
        font-size: 1.5em;
    }

    #sect-programok div:nth-child(1) {
        grid-area: 1 / 1 / span 1 / span 1;
    }

    #sect-programok div:nth-child(2) {
        grid-area: 2 / 1 / span 1 / span 1;
        display: none;
    }

    #sect-programok div:nth-child(3) {
        grid-area: 3 / 1 / span 1 / span 1;
        display: none;
    }

    #sect-programok div:nth-child(4) {
        grid-area: 4 / 1 / span 1 / span 1;
        display: none;
    }

    #sect-programok div:nth-child(5) {
        grid-area: 5 / 1 / span 1 / span 1;
    }

    #sect-programok div:nth-child(6) {
        grid-area: 3 / 1 / span 1 / span 1;
    }

    #sect-programok div:nth-child(7) {
        grid-area: 4 / 1 / span 1 / span 1;
    }

    #sect-programok div:nth-child(8) {
        grid-area: 2 / 1 / span 1 / span 1;
    }

    #sect-programok div:nth-child(9) {
        grid-area: 5 / 1 / span 1 / span 1;
        display: none;
    }

    /* MOSAIC - PROGRAMOK END */

    /* MOSAIC - ÜNNEPEK */
    #sect-unnepek {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    #sect-unnepek div.first-holiday,
    #sect-unnepek div {
        grid-area: span 1 / span 4;
    }

    #sect-unnepek div:nth-child(n+9) {
        display: none;
    }

    /* MOSAIC - ÜNNEPEK END */


}

/* (max-width: 720px) and (orientation: portrait) END */

@media screen and (max-width: 400px) {
    footer {
        height: 55vh;
        grid-column: 1/3;
    }

    .fcol2 {
        margin-bottom: 3em;
        margin-top: 3em;
    }

    .fcol1 {
        margin-top: 3em;
    }

    .impresszum {
        bottom: -100vh;
    }
}

/* max-width: 400px END */


/* INTERNET EXPLORER */

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {

    .loadingScreen,
    .load_logo,
    .load_text,
    .wrap,
    .modals {
        display: none;
    }

    .internet-explorer {
        display: block;
        height: 100vh;
        color: #df3f30;
        text-align: center;
        font-family: "OpenSansBold";
        font-size: 2em;
        position: relative;
        top: 30vh;
    }

    .internet-explorer .le-first {
        color: #1F2235;
        margin-bottom: 1em;
    }

    .internet-explorer img {
        height: 85px;
    }

    .ajanlatok {
        margin-top: 3em;
        font-family: "Crosten Bold Light";
        font-size: 0.8em;
        color: #1F2235;
    }

    .ajanlatok a {
        text-decoration: none;
    }

    .ajanlatok p:first-child {
        margin-bottom: 1em;
    }
}

/* INTERNET EXPLORER END*/
