/*
Theme Name: Szimetrik
Author: Netezis
Author URI: https://netezis.hu
Description: 
Tags:
Version: 2021
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
*/

.slider {
    width: 100%;
    margin: 15px auto;
}
.slide-item {
    text-align: center;
    padding: 5px;
    margin: 5px;
}
#line-gallery {
    position: relative;
}
.uniform-height {
    height: 300px; /* Vagy bármilyen más érték, amely megfelel a kívánt képmagasságnak */
    width: auto;
    object-fit: cover; /* Ez biztosítja, hogy a kép kitöltse a konténerét anélkül, hogy torzulna */
}

/* Alapbeállítások a swiper konténerhez */
.swiper-container {
    position: relative;
    overflow: hidden;
}

/* Általános stílus a nyilakhoz */
.slick-button-prev, .slick-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(1.5); /* Növeljük a nyilak méretét */
    z-index: 10;
    width: 50px; /* A nyilak szélessége */
    height: 50px; /* A nyilak magassága */
    cursor: pointer;
    background-color: transparent; /* Átlátszó háttér */
    background-repeat: no-repeat;
    background-position: center;
    border: none; /* Eltávolítjuk a keretet */
}

/* Balra mutató nyíl */
.slick-button-prev {
    left: 10px; /* A konténer bal oldalától 10px-re */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"></polyline></svg>');
}

/* Jobbra mutató nyíl */
.slick-button-next {
    right: 10px; /* A konténer jobb oldalától 10px-re */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>');
}

/* Állapotfüggő stílusok a láthatóság kezeléséhez */
.slick-button-prev.swiper-button-hidden, .slick-button-next.swiper-button-hidden {
    display: none;
}

.hidden {
    display: none; /* vagy használhatod a 'visibility: hidden;' is, ha a helyet fenntartanád */
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 oszlop fixen */
    gap: 1rem;
    z-index: 999999;

}

@media(min-width: 768px) {
    .contact-grid {
        padding-bottom: 120px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* mobilon 1 oszlop */
        padding-bottom: 60px;
    }
}

@media(min-width: 767px) {
    .contact_page_contact_form {
        padding-bottom: 120px;
    }
}

@media(max-width: 767px) {
    .contact_page_contact_form {
        padding-bottom: 60px;
    }
}

.card {
    background: #d11d27;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    margin-right: 1rem;
    fill: #fff;
}

.card-text {
    flex: 1;
}

.card-toggle svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.card.open .card-toggle svg {
    transform: rotate(180deg);
}

@media(min-width: 767px) {
.card-body {
    background: #2c3e50;
    padding: 1rem;
    display: none;
    position: absolute;
    top: 100%;
    z-index: 99999;
    width: 100%;
    }

    .contact-grid .card.open.right-slide:not(.single) {
        transform: translateX(calc(-50% - 0.5rem));
    }

    .contact-grid .card-text strong {
        text-transform: uppercase;
    }

    .contact-grid .card.open:not(.single) {
        z-index: 100000;
        width: calc(200% + 1rem);
    }
}

.card.right-slide .card-body {
        background: #2c3e50;
        padding: 1rem;
        display: none;
        position: absolute;
        top: 100%;
        z-index: 99999;
        width: 100%;
        right: 0;
}

.card .card-body {
    background: #2c3e50;
    padding: 1rem;
    display: none;
    position: absolute;
    top: 100%;
    z-index: 99999;
    width: 100%;
    right: 0;
}

.contact_map_container .contact_map_col #contact_map_holder.dropdown-map {
    width: 100%;
    height: 400px;
}

.contact_map_container .contact_map_col #contact_map_holder_2.dropdown-map {
    width: 100%;
    height: 400px;
}

.college-grid .contact_map_container .contact_map_col {
    max-width: 100%;
    position: relative;
    width: 100%;
    height: 400px;
}

.college-grid .contact_map_container {
    display: block;
    width: 100%;
    min-height: auto;
    height: 400px;
}

.card .college {
    margin-bottom: 1rem;
}

.card .college h5 {
    color: white;
}

.card .college svg {
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
    vertical-align: middle;
    fill: #fff;
}

#map.leaflet-container {
    z-index: 1;
}

.college-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

@media (max-width: 768px) {
    .college-grid {
        grid-template-columns: 1fr;
    }
}

.college-grid .contact_map_contact_box {
    position: relative;
    padding: 15px;
}

.college-grid .contact_map_contact_box .contact_name {
    color: black;
}

.college-grid .contact_pos, .college-grid .contact_email, .college-grid .contact_tel {
    color: #666;
}

.college-grid .contact_map_contact_box {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 1rem;
    gap: 1rem;
}

.color-bar {
    width: 40px;
    height: 100%;
    background-color: #d11d27;
    flex-shrink: 0;
}

.college-grid .contact-infos svg {
     width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
    fill: #666;
}

.college.college-grid {
    height: 100%;
    padding: 2em;
    border-top: none;
}

.college-grid .contact-box-info {
    color: white;
    max-width: 400px;
}

.card {
    transition: opacity 0.3s ease;
}

.contact-grid .card.open .card-header {
    background: #2c3e50;
}

.contact-grid .card.open.single .college {
    background-color: #fff;
    color: #000;
    padding: 20px;
}

.contact-grid .card.open.single .college h5 {
    color: #000;
}

.contact-grid .card.open.single .college .contact_email svg,
.contact-grid .card.open.single .college .contact_tel svg {
    margin: 0 9px 0 0;
    margin-right: 0.5em;
    width: 1.2em;
    height: 1.2em;
    float: left;
    display: inline-block;
    fill: rgb(102, 102, 102);
}

.contact-grid .card-header {
    user-select: none;
}

.contact-grid .card .college {
    margin-bottom: 0;
}

.contact-grid .college {
    border-top: none;
}

.contact-grid .card-toggle {
    display: flex;
}

.contact-grid .card-icon {
    display: flex;
}

.contact-grid .card-icon svg {
    width: 40px;
    height: 40px;
}

.contact-grid .card-toggle svg {
    height: 30px;
    width: 30px;
}

.contact-grid .contact_map_container .contact_map_col #contact_map_holder.dropdown-map,
.contact-grid .contact_map_container .contact_map_col #contact_map_holder_2.dropdown-map,
.contact-grid .college-grid .contact_map_container .contact_map_col,
.contact-grid .college-grid .contact_map_container {
    height: 300px;
}

.contact-grid .contact_map_contact_box .contact-infos .contact_pos {
    display: block;
    margin-bottom: 30px;
}

.contact-grid .contact_map_contact_box .contact-infos .contact_email {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-grid .contact_map_contact_box .contact-infos .contact_tel {
    font-weight: bold;
}

.contact-grid .color-bar {
    width: 35px;
}

@media(max-width: 767px) {
    .card-body {
        background: #2c3e50;
        padding: 1rem;
        display: none;
        position: absolute;
        top: 100%;
        z-index: 99999;
    }
}

@media(max-width: 1399px) {
    .contact-grid .contact_map_container .contact_map_col #contact_map_holder.dropdown-map,
    .contact-grid .contact_map_container .contact_map_col #contact_map_holder_2.dropdown-map,
    .contact-grid .college-grid .contact_map_container .contact_map_col,
    .contact-grid .college-grid .contact_map_container {
        height: 200px;
    }
}