/*
Theme Name: Játékszín Main Theme
Author: Bank Bálint, Borsodi Gergő
Author URI: https://borsodigerii.hu/
Version: 1.0
Requires PHP: 8.2
Text Domain: jatekszin
*/


:root{
    --jatekszin-red: rggb(235, 0, 0);
    --jatekszin-blue: rgb(0 13 59);
}
.hoverDropdown{
    position: relative;
    top: -2px;
}
.hoverDropdown ul{
    display: none;
}
.hoverDropdown:hover ul, .hoverDropdown ul:hover{
    display: block;
}
.the_content h2{
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-weight: bold;
    margin: 0;
    margin-top: 0.5rem;
    font-family: PoppinsBold, sans-serif;
    color: var(--jatekszin-blue);
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.the_content p, .the_content ul li, .the_content ol li{
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    box-sizing: border-box;
    margin: 0;
    margin-top: 1.5rem;
    font-family: PoppinsRegular, sans-serif;
    font-size: 1.2rem;
    line-height: 2rem;
    --tw-text-opacity: 1;
    color: var(--jatekszin-blue);
    text-align: left;
}
.the_content ul li, .the_content ol li{
    margin-top: unset;
}
.the_content ul{
    list-style-type: disc;
    padding-inline-start: 40px;
    margin-block-start: 1em;
    margin-block-end: 1em;
}
.the_content h3{
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-weight: 400;
    margin: 0;
    margin-top: 1.5rem;
    font-family: PoppinsBold, sans-serif;
    color: var(--jatekszin-blue);
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.the_content a:not(.wp-block-file__button):not(.bg-red_primary):not(.bg-blue_dark){
    text-decoration: underline;
    position: relative;
    margin-right: 30px;
}
.the_content a:not(.wp-block-file__button):not(.bg-red_primary):not(.bg-blue_dark)::after{
    content: '\f0c1';
    font-family: "Font Awesome 6 Pro";
    position: absolute;
    right: -30px;
    bottom: 0px;
    width: 25px;
    aspect-ratio: 1 / 1;
    font-size: 17px;
}
.the_content a[href^="mailto:"]::after, .the_content a[href^="tel:"]::after{
    content: unset;
}
.the_content a[href^="mailto:"], .the_content a[href^="tel:"]{
    padding-right: 0px !important;
    transition: padding .3s ease;
}
.the_content a[href^="mailto:"]:hover{
    padding-right: 25px !important;
    transition: padding .3s ease;
}
/*.the_content h2{
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
.the_content h3:not(.original){
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
.the_content h4, .the_content h5{
    font-weight: bold;
}
.the_content p{
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
.the_content ol, .the_content ul, .the_content menu{
    list-style-image: none;
    list-style-position: outside;
    list-style-type: disc;
}
.the_content ul{
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}
.the_content ol{
    display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}*/
.bg-white.rounded-lg.shadow-lg.p-6 + .bg-white.rounded-lg.shadow-lg.p-6{
    border-top-left-radius: unset !important;
    border-top-right-radius: unset !important;
    padding-top: 0px !important;
}
.bg-white.rounded-lg.shadow-lg.p-6:has( + .bg-white.rounded-lg.shadow-lg.p-6){
    border-bottom-left-radius: unset !important;
    border-bottom-right-radius: unset !important;
}

.kCNaso {
    position: fixed;
    right: 15px;
    bottom: 35px;
    font-size: 3rem;
    z-index: 100;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: var(--jatekszin-red);
}
.kCNaso.visible {
    opacity: 1;
}
.actual_news .new_title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.mobile_nav_socials {
    top: 6rem;
}
.social-media-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.75rem 0.2rem;
    width: 40px;
}
.social-container{
    z-index: 999999;
}
.social-media-icon i{
    font-size: 43px;
    color: rgb(0, 13, 59);
}
footer .social-media-icon i{
    color: white;
}
body .min-h-screen{
    overflow: clip; /* jatekszin felirat fix */
}
.swiper-slide>div:nth-child(2){
    height: calc(500px - 18rem);
}
.swiper-slide{
    border-radius: 1.4rem;
    width: 30% !important;
}
.swiper-button-prev{
    left: calc(max(30px, calc(calc(100% - 1000px) / 2)) - 28px) !important;
    color: white !important;
}
.swiper-button-next{
    right: calc(max(30px, calc(calc(100% - 1000px) / 2)) - 28px) !important;
    color: white !important;
}
@media (max-width: 991.98px){
    .swiper-slide{
        width: 45% !important;
        max-width: 45%;
    }
    /*.swiper-slide{
        width: 100% !important;
        max-width: 100% !important;;
    }*/
}
@media (max-width: 767.98px){ 
    .eloadasCim{
        padding-top: 16px !important;
    }
    .musor{
        width: 100% !important;
        max-width: 100% !important;
        /*padding: 0px !important;*/
    }
    .musor:not(.lg\:w-3\/4){
        padding: 0px !important;
    }
    .musor>div{
        margin: 0px !important;
    }
    .kiemeltCarousel.swiper{
        width: 768px !important;
        max-width: 95% !important;
    }
    .swiper-slide{
        width: 100% !important;
        max-width: 100% !important;;
    }
    .swiper-slide>div:nth-child(2){
        height: calc(400px - 14rem);
    }
    .swiper{
        height: 400px !important;
    }
    .swiper-slide{
        border-radius: 1.4rem;
    }
    /* pl Aranylakodalom */
    .swiper-slide>div:nth-child(2)>div>div:nth-child(2){
        hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;

        -webkit-hyphenate-limit-before: 6; /* For Safari */
        -webkit-hyphenate-limit-after: 4; /* For Safari */
        -ms-hyphenate-limit-chars: 12 6 4;
        hyphenate-limit-chars: 12 6 4;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;  
        overflow: hidden;
    }
}
@media (max-width: 600px){
    .musor .currentDate{
        font-size: 1.2rem;
        line-height: 1.5rem;
    }
    .musor button.skipButton{
        font-size: 0.6rem;
    }
    .musor .calendar-content .datum{
        font-size: 0.8rem;
    }
    .musor .calendar-content .datum_content *{
        font-size: 1rem;
    }
    .musor .calendar-content .datum_content{
        /*align-items: center;*/
    }
    .musor .calendar-content .datum_content a{
        font-size: 0.7rem;
        align-self: flex-end;
    }
}
@media (max-width: 400px){
    .musor button.skipButton{
        visibility: hidden;
        position: relative;
        width: 30px;
    }
    .musor .currentDate{
        font-size: 1rem;
        line-height: 1.3rem;
    }
    .musor .calendar-content .datum_content *{
        font-size: 0.9rem;
    }
    .musor button.skipButton::after{
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        content: '<';
        visibility: visible;
        font-size: 1rem;
    }
    .musor button.skipButton:nth-child(3):after{
        content: '>';
    }
    .musor .calendar-content .datum_content a{
        font-size: 0.6rem;
        padding: 0.5rem 0.75rem;
        
    }

}
.kiemeltCarousel.swiper{
    filter: drop-shadow(0px 6px 7px #ffffff40);
    opacity: 0;
}
.menu-hidden{
    display: none !important;
}
.szereplo .szereploTitulus{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.szereplo:hover .szereploTitulus{
    display: unset !important;
    overflow: unset !important;
}
.cky-consent-container::before{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999997;
}
.cky-consent-container{
    z-index: 9999998 !important;
    position: fixed !important;
    top: 0;
    left: 0 !important;
    right: 0;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh;
}
.cky-consent-container .cky-consent-bar{
    z-index: 9999999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body:has(.cky-consent-container:not(.cky-hide) .cky-consent-bar){
    overflow: hidden;
}
[data-cky-tag] {
    visibility: visible !important;
}
.kiemeltEloadas .kiemeltEloadasKep{
    transition: all .3s ease;
}
.kiemeltEloadas:hover .kiemeltEloadasKep{
    transform: scale(1.1);
    filter: brightness(0.6);
}
.menu-li::before {
    display: block;
    content: attr(data-text);
    /*font-weight: bold;*/
    font-family: PoppinsBold, sans-serif;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.menu-li-hevitas::before {
    display: block;
    content: attr(data-text);
    /*font-weight: bold;*/
    font-family: HeavitasBold, sans-serif;
    font-weight: 700;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.kapcsolatCard svg{
    min-width: 18px;
    min-height: 18px;
}


.karrierCard {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    font-family: PoppinsRegular, sans-serif;
    font-weight: 400;
    transition: all .3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
/* .karrierCard:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
} */
.karrierCard .karrierContent{
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-left: 2px solid var(--jatekszin-blue);;
    border-right: 2px solid var(--jatekszin-blue);;
    border-bottom: 2px solid var(--jatekszin-blue);;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    background: white;
}
.karrierCard .karrierContent span i{
    width: 20px;
    text-align: left;
    color: var(--jatekszin-blue);
    position: relative;
    top: 4px;
    
}
.karrierCard .karrierContent span:first-child i{

    left: 2px;
}
.karrierCard .karrierContent span{
    margin: 5px 0px;
    color: var(--jatekszin-blue);
    display:flex;
    gap: 5px;
}
.karrierCard .karrierHeader{
    background-color: var(--jatekszin-blue);
    color: white;
    
    font-size: 1.5rem;
    padding: 15px 20px;
    line-height: 1.1;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}
.karrierCard .karrierHeader::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 13px;
    background-color: var(--jatekszin-blue);
    left: 0;
    right: 0;
}
.karrierButton {
    margin-top: 2px;
    display:flex;
    justify-content: flex-end;
}
.noKarrier{
    font-size: 1.5rem;
    font-family: 'PoppinsBold';
}
.karrierMeta{
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 40px !important;
    border-top: 1px solid rgb(2, 27, 117);
    border-bottom: 1px solid rgb(2, 27, 117);
    padding: 10px 0px;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}
.karrierMeta i{
    color: var(--jatekszin-blue);
}
.fogContainer{
    background-image: url('/wp-content/themes/jatekszin-main-theme/images/fog_semi_transparent-min.webp'); 
}
.eloadasok-bg-min{
    background-image: url('/wp-content/themes/jatekszin-main-theme/images/eloadasok-bg-min.jpg'); 
}
.hirek-bg-min{
    background-image: url('/wp-content/themes/jatekszin-main-theme/images/hirek-bg-min.jpg'); 
}

@media (min-width: 640px){
    .the_content h2{
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .the_content h3{
        font-size: 1.5rem;
        line-height: 2rem;
    }
}
@media (min-width: 768px){
    a.with-clipboard i{
        opacity: 0;
        transition: all .3s ease;
    }
    a.with-clipboard:hover i{
        opacity: 1;
    }
}
.kapcsolatContainer{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
}
@media (max-width: 1279.98px){
    .kapcsolatContainer{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1279.98px) and (min-width: 1024px){
    .jegyvasarlasNav{
        margin-left: 2rem !important;
    }
}
@media (max-width: 767.98px){
    .kapcsolatContainer{
        grid-template-columns: repeat(1, 1fr);
    }
    .page-id-967 h1{
        font-size: 2rem;
        line-height: 2.5rem;
    }
    .the_content h2, .the_content h3, .the_content h1{
        hyphens: auto;
    }
    .the_content a:not(.wp-block-file__button):not(.bg-red_primary):not(.bg-blue_dark){
        hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        max-width: 100%;
        word-wrap: break-word;
    }
    .karrierMeta span{
        text-align: center;
    }
    .the_content a[href^="mailto:"], .the_content a[href^="tel:"]{
        padding-right: 25px !important;
    }
}
@media (max-width: 768px) {
    .fogContainer{
	background-image: url('/wp-content/themes/jatekszin-main-theme/images/fog_semi_transparent-min-768x432.webp') !important; 
    }
    .eloadasok-bg-min{
        background-image: url('/wp-content/themes/jatekszin-main-theme/images/eloadasok-bg-min-768x432.jpg'); 
    }
    .hirek-bg-min{
        background-image: url('/wp-content/themes/jatekszin-main-theme/images/hirek-bg-min-768x432.jpg'); 
    }
}
@media (min-width: 768px){
    .the_content p{
        text-align: justify;
    }
}
@media (max-width: 480px) {
    .fogContainer{
	background-image: url('/wp-content/themes/jatekszin-main-theme/images/fog_semi_transparent-min-480x270.webp') !important; 
    }
    .eloadasok-bg-min{
        background-image: url('/wp-content/themes/jatekszin-main-theme/images/eloadasok-bg-min-480x270.jpg'); 
    }
    .hirek-bg-min{
        background-image: url('/wp-content/themes/jatekszin-main-theme/images/hirek-bg-min-480x270.jpg'); 
    }
}
@media (max-width: 400px){
    .page-id-967 h1{
        font-size: 1.5rem;
        line-height: 2.4rem;
    }
    .karrierCard .karrierHeader{
        font-size: 1.1rem;
    }
    .karrierCard .karrierContent span{
        font-size: 0.9rem;
        margin: 2px 0;
    }
    .noKarrier{
        text-align: center;
    }
    .fogContainer{
	background-image: url('/wp-content/themes/jatekszin-main-theme/images/fog_semi_transparent-min-400x225.webp') !important; 
    }
    .eloadasok-bg-min{
        background-image: url('/wp-content/themes/jatekszin-main-theme/images/eloadasok-bg-min-400x225.jpg'); 
    }
    .hirek-bg-min{
        background-image: url('/wp-content/themes/jatekszin-main-theme/images/hirek-bg-min-400x225.jpg'); 
    }
}

.downloadFile:hover{
    text-decoration: underline;
}
.downloadFile{
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}