/*======================================
Theme Name: MRSZ
Description: MRSZ Hungary theme.
Version: 1.0
Author: Alexander Tatic
Template: Divi
======================================*/
/*Custom accordion mogule for GYIK page*/
.accordion-container {
    width: 100%;
}

.accordion-item {
    background-color: #FFFFFF; 
    border-radius: 16px;
    margin-bottom: 10px;
    box-shadow: 0px 12px 18px -6px rgba(0,0,0,0.3);
	margin-bottom: 32px;
}

.accordion-header {
    background-color: #0F628A; 
    color: #FFFFFF; 
    padding: 15px;
    font-size: 24px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    transition: background-color 0.3s ease;
}
@media all and (max-width: 767px) {
	.accordion-header {
		font-size: 18px!important;
	}
}

.accordion-header.style-2 {
    background-color: #fff; 
    color: #0F628A; 
    border: 2px solid #0F628A;
    border-radius: 24px 24px 0 0;
	font-size: 24px;
	font-weight: 600;
	min-height: 72px;
	padding-left: 32px;
}


.accordion-header.style-2:hover {
    background-color: #fff; 
}

.accordion-header.active {
	border-radius:24px 24px 0 0;
}

.accordion-header:hover {
    background-color: #0F628A; 
}

.accordion-content {
    background-color: #fff; 
    overflow: hidden;
    padding: 0 32px;
    max-height: 0;
    transition: max-height 0.3s ease;
	border-radius: 0 0 16px 16px;
}

.accordion-content p {
    margin: 15px 0;
    line-height: 1.5;
}

.icon {
    transition: transform 0.3s ease;
	padding-left: 20px;
}

.active .icon {
    transform: rotate(180deg);

}
.fa-solid.fa-chevron-down {
	font-size: 20px;
	margin-right: 20px;
}
/*END Custom accordion mogule for GYIK page*/
/*START Dynamic Hero image for categories*/

.custom-category-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
}

.custom-category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0);
	background: linear-gradient(180deg,rgba(0,0,0,0.8) 0%,rgba(0,0,0,0.8) 90%);
    z-index: 1; 
}

.custom-category-title {
	color: #FFF;
	font-size: 48px;
	font-style: normal;
	font-weight: 600;
	margin-bottom: 20px;
}
@media all and (max-width: 767px) {
	.custom-category-title {
		font-size: 32px;
	}
}
/*END Dynamic Hero image for categories*/
/*START Blog Archive*/
.entry-featured-image-url::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: linear-gradient(0deg, rgba(235,235,235,0) 0%, rgba(235,235,235,5) 100%);
    z-index: 1; 
}

.entry-featured-image-url {
    position: relative;
    overflow: hidden; 
}
/*END Blog Archive*/

/*START Szervezet page*/

.et_pb_main_blurb_image img {
  border-radius: 24px!important;
}

.et_pb_blurb_description p {
	padding-left: 20px;
}

.at-vertical-text span {
	background: #fff;
}

@media screen and (min-width: 1599px) {
	#at-horizontal-line {
		display: block;
	}
}

@media screen and (max-width: 1599px) {
	#at-vertical-line {
		display: none;
	}
}
/*END Szervezet page*/

/*START Files Shortcode*/


.at-files .at-header {
    background-color: #0F628A;
	color: white;
	border-radius: 24px!important;
    padding: 10px;
}
.at-table {
    width: 100%;
    border-collapse: collapse;
}
.at-table td {
    padding: 10px;
    border: 1px solid #ddd;
}
.at-table td:first-child {
    width: 80%;
}
.at-table .at-download-button {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
}

.at-files-container {
    box-shadow: 10px 10px 30px 0px rgba(15, 98, 138, 0.15);
	  border-radius: 24px;
}

.at-files-header {
background-color: #fff;
	display: flex;
	align-items: center;
	color: #0F628A;
	border-radius: 24px 24px 0 0;
	height: 72px;
	font-size: 24px;
 	font-weight: 600;
	padding-left: 32px;
	border: 2px solid #0F628A;
}
@media all and (max-width: 767px) {
	.at-files-header {
		font-size: 18px!important;
	}
}

.at-file-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
	padding: 20px 0px;
	margin: 0px 32px;
 	border-bottom: 1px solid #E6F1F4;
    
}

@media all and (max-width: 767px) {
	.at-file-entry {
		flex-direction: column;
		text-align: left;
		gap: 20px;
	}
	.at-file-entry {
		align-items: start;
	}
}

.at-file-name {
    flex: 4; /* 4/5th width */
	color: #1E1E1E;
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4em;
    /* Additional styles for the file name */
}

.at-collapse-icon {
	margin-left: auto;
	margin-right: 32px;
	cursor: pointer;
	font-size: 20px;
}

.at-file-download {
    flex: 1; /* 1/5th width */
    /* Additional styles for the download button */
}

.at-download-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 24px;
	background: #0FA3CA;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

@media all and (max-width: 767px) {
	
	.at-download-button {
		width: 120px;
		height: 32px;
		font-size: 14px;
	}
}

/*END Files Shortcode*/

/*START Main menu*/
.cta-bejelentkezes a {
	background-color: #C55911;
	padding: 15px 25px !important;
	border-radius: 25px;
	color: #fff !important;
	text-align: center;
}
@media all and (max-width: 980px) {
	.cta-bejelentkezes {
		margin-bottom: 20px;
	}
	.cta-bejelentkezes-desk {
		display: none;
	}
	.cta-hunvolleytv-desk {
		display: none;
	}
}
@media all and (min-width: 981px) {

	.cta-bejelentkezes-mob {
		display: none!important;
	}
	.cta-hunvolleytv-mob {
		display: none!important;
	}
}

.et-fixed-header #top-menu .cta-bejelentkezes a, .et-fixed-header #top-menu li.current-menu-item>a {
	color: #fff!important;
}

.cta-hunvolleytv a {
	background-color: #000922;
	padding: 15px 25px !important;
	border-radius: 25px;
	color: #fff !important;
	text-align: center;
}

.et-fixed-header #top-menu .cta-hunvolleytv a, .et-fixed-header #top-menu li.current-menu-item>a {
	color: #fff!important;
}

/*END Main menu*/

/*START News Buttons*/

.custom-buttons-container {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 10px;
    width: 100%; 
}
@media all and (max-width: 767px) {
	.custom-buttons-container {
		flex-direction: column;
	}
}


.green-button {
    background-color: green;
    color: white;
    padding: 10px 35px;
    text-decoration: none;
    border-radius: 25px;
    margin-right: 10px; 
	width: 180px;
	text-align: center;
}

/* White buttons - Subcategories */
.white-buttons-container {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    flex-grow: 1;
    flex-wrap: wrap; 
    gap: 10px; 
}
@media all and (max-width: 767px) {
	.white-buttons-container {
		flex-direction: column;
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

.category-strandroplaba .white-button:nth-child(1), .category-klub .white-button:nth-child(1), .category-up-strandroplaba .white-button:nth-child(1), .category-valogatott-strandroplaba .white-button:nth-child(1) {
	order: 2;
}
.category-strandroplaba .white-button:nth-child(2), .category-klub .white-button:nth-child(2), .category-up-strandroplaba .white-button:nth-child(2), .category-valogatott-strandroplaba .white-button:nth-child(2) {
	order: 3;
}
.category-strandroplaba .white-button:nth-child(3), .category-klub .white-button:nth-child(3), .category-up-strandroplaba .white-button:nth-child(3), .category-valogatott-strandroplaba .white-button:nth-child(3) {
	order: 1;
}

.category-teremroplabda .white-button:nth-child(1), .category-klub-hazai .white-button:nth-child(1), .category-klub-nemzetkozi .white-button:nth-child(1), .category-up .white-button:nth-child(1), .category-valogatott .white-button:nth-child(1) {
	order: 2;
}
.category-teremroplabda .white-button:nth-child(2), .category-klub-hazai .white-button:nth-child(2), .category-klub-nemzetkozi .white-button:nth-child(2), .category-up .white-button:nth-child(2), .category-valogatott .white-button:nth-child(2) {
	order: 3;
}
.category-teremroplabda .white-button:nth-child(3), .category-klub-hazai .white-button:nth-child(3), .category-klub-nemzetkozi .white-button:nth-child(3), .category-up .white-button:nth-child(3), .category-valogatott .white-button:nth-child(3) {
	order: 4;
}
.category-teremroplabda .white-button:nth-child(4), .category-klub-hazai .white-button:nth-child(4), .category-klub-nemzetkozi .white-button:nth-child(4), .category-up .white-button:nth-child(4), .category-valogatott .white-button:nth-child(4) {
	order: 1;
}


#at-disable-subcats .white-buttons-container {
	display: none;
}

.white-button {
    background-color: white;
    color: black;
    padding: 10px 15px;
    text-decoration: none;
    border: 2px solid #0C8C3A;
	border-radius: 25px;
	width: 180px;
	text-align: center;
}
.custom-dropdown {
    position: relative;
    font-size: 16px;
    background-color: #0FA3CA;
    color: white;
    padding: 10px 35px;
    border-radius: 25px;
    cursor: pointer;
    user-select: none;
    width: 180px; /* Adjust width as needed */
}

.custom-dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 0 0 25px 25px;
    display: none;
    padding: 0;
    margin: 0;
    width: 100%; 
}

.custom-dropdown-options li {
    padding: 10px 5px;
    color: black;
    cursor: pointer;
	list-style: none;
}

.custom-dropdown-options li:hover {
    background-color: #e0e0e0;
}
.custom-dropdown-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.custom-dropdown-selected i {
    margin-left: auto; 
}
.custom-button.active-subcategory {
    background-color: #008000!important;
    color: #ffffff; 
}

/*END News Buttons*/
/*Start GYIK Table*/

.scrollable-table-container {
    overflow-x: auto;
}

.at-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.at-th, .at-td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

.at-th {
    background-color: #f2f2f2;
}

@media screen and (max-width: 600px) {
    .at-table {
        border: 1px solid #dddddd;
    }

    .at-th, .at-td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .at-th, .at-td {
        text-align: left;
    }
}
/*END GYIK Table*/

/*START Tables plugin border fix*/
.entry-content table:not(.variations) {
	border: none !important;
}
/*END Tables plugin border fix*/

/*Post grid*/

.at-post-title h3 {
	max-height: 2.8em;
	overflow: hidden;
	text-overflow: ellipsis;	
}
/*END Post grid*/
/*Post Title and meta order fix*/
#at-post-title-container .et_pb_title_container {
	display: flex!important;
	flex-direction: column-reverse!important;
}
/*Post Title and meta order fix*/


/*Gallery Shortcode - PLUGIN CSS*/

.at-gallery-container {
    display: flex;
    flex-wrap: wrap;
    margin: -10px auto;
    max-width: 1440px;
	margin-top: 50px;
}


.at-gallery-item {
    width: calc(25% - 20px);
    margin: 10px;
    box-sizing: border-box;
    flex: 1 0 auto; 
    max-width: calc(25% - 20px); 
	box-shadow: rgba(15, 98, 138, 0.15) 10px 10px 30px 0px;
	border-radius: 24px;
}

.at-gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 24px;
}

.at-gallery-placeholder {
    width: 100%;
    height: 200px; 
    background-color: #eee;
    border-radius: 4px;
}

.at-gallery-content {
    padding: 10px;
    background-color: #fff;
	border-radius: 24px;
}

.at-gallery-content h3 {
    margin: 10px auto;
    font-size: 24px;
    line-height: 1.4em;
	
}

/* Responsive styles */
@media (max-width: 1200px) {
    .at-gallery-item {
        width: calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .at-gallery-item {
        width: calc(50% - 20px); 
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .at-gallery-item {
        width: 100%; 
        max-width: 100%;
    }
}

.at-gallery-pagination {
    margin-top: 20px;
}

.at-gallery-pagination .page-numbers {
    display: inline-block;
    margin-right: 5px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.at-gallery-pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
}

/*Gallery Single Template CSS*/


.at-single-hero-section {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    background-image: url('<?php echo esc_url(get_the_post_thumbnail_url()); ?>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.at-single-hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.at-single-container {
	position: relative;
    max-width: 1440px;
    margin: 0 auto;
	width: 80%;
	padding-top: 50px;
	z-index: 2;
}

.at-single-title h1 {
    color: #eee;
	font-size: 48px;
	font-style: normal;
	font-weight: 600;
	margin-bottom: 0;
}

.at-single-meta p {
    color: #eee;
	padding-bottom: 0px;
	margin-bottom: 0;
}
.at-gallery-content span {
	color: #0F628A;
	font-size: 12px;
}


.at-single-date {
    color: #eee;
	margin-bottom: 30px;
	margin-top: -10px;
}

.at-single-meta {
    color: #eee;
}

.at-single-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}


.at-single-gallery-item {
    width: calc(25% - 20px);
    margin: 10px;
    box-sizing: border-box;
    flex: 1 0 auto;
    max-width: calc(25% - 20px);
    box-shadow: rgba(15, 98, 138, 0.15) 10px 10px 30px 0px;
    border-radius: 24px;
    position: relative;
}

.at-gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 24px;
}

.at-gallery-content {
    padding: 10px;
    background-color: #fff;
    border-radius: 24px;
}

.at-gallery-content h3 {
    margin: 10px auto;
    font-size: 24px;
    line-height: 1.4em;
	margin-bottom: -10px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .at-single-gallery-item {
        width: calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .at-single-gallery-item {
        width: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .at-single-gallery-item {
        width: 100%;
        max-width: 100%;
    }
}

/* Modal CSS */
.at-gallery-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.at-gallery-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
    max-height: 90%;
}

.at-gallery-modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 24px;
    display: block;
    margin: 0 auto;
}

.at-gallery-modal-close {
    color: #fff;
    font-size: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 1002;
}

.at-gallery-prev,
.at-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    background-color: #0F628A;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    display: block;
    z-index: 1002;
    cursor: pointer;
}

.at-gallery-prev {
    left: 20px;
}

.at-gallery-next {
    right: 20px;
}

/* Jobs listing on Karrier Page */
#at-job-listing h4.not-found-title {
	color: #000 !important;
	text-align: left !important;
	visibility: hidden;
    position: relative;
	font-size: 16px !important;
	font-weight: 500 !important;
}

#at-job-listing h4.not-found-title:after {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    content: " Jelenleg nincs nyitott pozíció.";
}

#at-job-listing .entry p {
	display: none !important;
}
/* Events listing on Szakmai Rendezvények Page */
#at-events-listing h4.not-found-title {
	color: #000 !important;
	text-align: left !important;
	visibility: hidden;
    position: relative;
	font-size: 16px !important;
	font-weight: 500 !important;
}

#at-events-listing h4.not-found-title:after {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    content: " Információ a következő rendezvényünkről hamarosan.";
}

#at-events-listing .entry p {
	display: none !important;
}
/*Tablet mode menu trigger */ 
@media (max-width: 1440px) {
 #et_mobile_nav_menu {
 display: block;
 }
 
#top-menu {
 display: none;
 }
}

/*Mobile post filter */
.scrollable-pills-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
    display: flex;
}

.scrollable-pills {
    display: flex; 
    padding: 10px;
	gap: 8px;
}

.scrollable-pills a {
    padding: 8px 16px;
    background-color: #008000;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid #008000;
    font-size: 12px;
}

.scrollable-pills a.current {
    background-color: #0FA3CA!important;
	color: #fff!important;
	border-color: #0FA3CA!important;
}

.scrollable-pills a#subpils {
    padding: 8px 16px;
    background-color: #fff;
    color: #008000;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    border: 2px solid #008000;

}




