/*
Theme Name:     Visit Radgona
Theme URI:      https://mihaborec.com
Template:       kadence
Author:         Miha Borec
Author URI:     https://mihaborec.com
Description:    Custom child theme for Visit Radgona
Version:        1.0.0.
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:	visit-radgona
*/

#open_sogoacc.bottomleft {
    left: 0.5%;
    bottom: 1%;
	border-radius: 30px;
	border: none;
}

/*css mailchimp
  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
  }

  .form-half {
    width: calc(50% - 8px); /* 8px gap on each side of 16px total *//*
  }

  .form-full {
    width: 100%;
  }

  .mc-field-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
  }

#mce-EMAIL.required.email {
	width: 100%;
}

#mce-FNAME.required.text {
	width: 100%;
}

#mce-LNAME.required.text {
	width: 100%;
}

.mc-field-group label {
    display: block;
    margin-bottom: 0px;
    font-weight: 400;
    font-size: 0.9em;
}

.mcbutton {
	text-transform: none !important;
    border-radius: 0px !important;
    font-size: 1.125rem !important;
    padding: .4em 1em !important;
}

.mc-field-group input {
	border-radius: 0px !important;
}*/

.form-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
}
.mcnl-footer {
  display: flex;
  margin-bottom: 16px;
  width: 100%;
}

.form-half {
  width: 100%; /*calc(50% - 8px);  Half width with gap */
}
.mcnl-footer-name-surname {
  margin-right: 16px;
}
#block-25.widget.widget_block.widget_text {
	margin-bottom: 10px;
}

.form-email-row {
  width: 100%;
  margin-bottom: 16px;
}

.mc-field-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 0.9em;
}

.email-button-wrapper {
  display: flex;
  width: 100%;
  gap: 8px;
}

#mce-FNAME.required.text,
#mce-LNAME.required.text,
#mce-EMAIL.required.email {
  width: 100%;
}

.mcnl-footer-bcgrn {
    background-color: transparent !important;
    color: white !important;
}

.mcnl-footer-bcgrn::placeholder {
    color: #9f9f9f !important;
}

.mc-field-group input {
  border-radius: 0px !important;
}

.mcbutton {
  text-transform: none !important;
  border-radius: 0px !important;
  font-size: 14px !important;
  padding: .4em 1em !important;
}

.padding-mcnl {
	padding: 8px;
}

a.social-button {
	justify-content: left !important;
}


/* Ensure first and last name inputs stretch to full width inside their halves */
#mce-FNAME.required.text,
#mce-LNAME.required.text,
#mce-EMAIL.required.email {
  	width: 100%;
	font-size: 14px;
}


/*filter fields no border radius*/
.kb-query-basic-style .kadence-filter-wrap select {
	border-radius: 0px !important;
}
.kb-filter-search {
	border-radius: 0px !important;
}

/*google ReCaptcha hidden*/
.grecaptcha-badge { 
    visibility: hidden !important;
}

.dogodek-start-row {
	font-weight: 700;
	font-size: 14px;
}

.dogodek-year-row {
	padding-bottom: 10px;
}
.dogodek-date-row {
	padding-top: 10px;
}

@media (max-width: 767px) {
	.filter-width {
		min-width: 100%;
	}
	.prikazi-dogodke {
		margin-top: 15px;
	}
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0px;
    margin-top: 20px !important;
}

.pagination a, .pagination span {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
}

.pagination .current {
    background-color: #ddd;
    pointer-events: none;
}


/*filter vsi dogodki novice*/
@media (max-width: 767px) {
    .wp-block-kadence-column.kb-section-sm-dir-vertical:not(.kb-section-sm-dir-horizontal):not(.kb-section-sm-dir-specificity)>.kt-inside-inner-col>.kadence-column6954_3cb746-ae {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/*iskalnik dogodkov results modification*/
.events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	gap: 20px;
}

.events-grid a {
    flex: 0 0 calc(25% - 20px); /* Default: 4 columns */
    margin-bottom: 20px;
    text-decoration: none;
	border: 1px solid #C9C9C6;
}

@media (max-width: 1024px) {
    .events-grid a {
        flex: 0 0 calc(50% - 20px) !important; /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .events-grid a {
        flex: 0 0 100% !important; /* 1 column on mobile */
    }
}
.iskalnik-title-time {
	font-size: 14px !important;
	font-weight: 900 !important;
	font-family: var(--global-body-font-family) !important;
}
.iskalnik-leto-dogodka {
	margin: 0 auto;
    font-size: 12px !important;
    font-weight: 400 !important;
}
/* ==============================> ACF MODIFICATIONS <============================== */
/*ACF SIDEBAR*/
/* Sidebar Container */
.custom-dogodek-sidebar,
.custom-novica-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/* Individual Items */
.dogodek-item,
.novica-item {
    display: flex;
    flex-direction: column;
    padding: 0px;
    background-color: #fff; /* Ensure a default background color */
    color: #000; /* Default text color */
    transition: background-color 0.25s ease, color 0.25s ease; /* Smooth transitions */
	/*height: 95.4%; fix za landscape plakate*/
}
/*.dogodek-image {
	height: 100%;
}
.dogodek-image img {
    height: 100% !important;
	object-fit: cover;
}*/
/* Row Structure */
.dogodek-row,
.novica-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
	padding: 8px;
	/*align-items: center; center na sidebar*/
}
/* First Column */
.dogodek-col-1,
.novica-col-1 {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid #C9C9C6;
    background-color: #fff; /* Default background color */
    color: #000; /* Default text color */
	max-height: fit-content; /*added extra*/
	margin-top: 5px; /*sidebar in iskalnik*/
}
/* Second Column */
.dogodek-col-2,
.novica-col-2 {
    flex: 0 0 70% !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
/* Title Row */
.dogodek-title-row,
.novica-title-row {
    margin: 0;
    font-weight: 700;
    font-family: var(--global-heading-font-family, inherit);
    font-size: 16px;
}
.novica-date-row {
	padding-top: 5px;
}
.novica-year-row {
	padding-bottom: 5px;
}
/* Author Row */
.dogodek-organizer-row,
.novica-author-row {
    font-size: 12px;
}
/* Date Rows */
.dogodek-date-row,
.novica-date-row,
.dogodek-month-row,
.novica-month-row,
.dogodek-year-row,
.novica-year-row {
    margin: 0 auto;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--global-heading-font-family, inherit);
}
/* Links in Title Row */
.dogodek-title-row a,
.novica-title-row a {
    font-weight: bold;
    color: #000; /* Ensure default text color */
    text-decoration: none;
}
.dogodek-title-row a:hover,
.novica-title-row a:hover {
    text-decoration: underline;
}
/* Whole Row Linked to Current Post */
.dogodek-link,
.novica-link {
    text-decoration: none;
    color: inherit; /* Inherit text color */
    display: block; /* Make the entire area clickable */
}
.dogodek-link:hover .dogodek-item,
.novica-link:hover .novica-item {
    background-color: #f1f1f1; /* Hover background color */
    transition: background-color 0.25s ease, color 0.25s ease; /* Smooth transition */
    color: #000; /* Ensure consistent text color */
}

/*ACF Search filter css*/
/* General Form Styling */
/*test za nov tx*/
#dogodki-filter-form .tip-dogodka {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 180px;
}

#dogodki-filter-form .tip-dogodka label {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

#dogodki-filter-form .tip-dogodka select {
    height: 40px;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 0px;
    color: #333333;
    background-color: #ffffff;
}
/*test za nov tax*/

#dogodki-filter-form {
    padding: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between fields */
    justify-content: space-between;
    align-items: flex-end;
}
/* Individual Field Containers */
#dogodki-filter-form .datum-od,
#dogodki-filter-form .datum-do,
#dogodki-filter-form .lokacija,
#dogodki-filter-form .tip-dogodka,
#dogodki-filter-form .prikazi-dogodke {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 180px;
}
/* Label Styling */
#dogodki-filter-form label {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}
/* Input and Select Styling */
#dogodki-filter-form input[type="date"],
#dogodki-filter-form select {
    height: 40px;
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 0px;
    color: #333333;
    background-color: #ffffff;
}
/* Search Button Styling */
#dogodki-filter-form .prikazi-dogodke button {
    height: 40px;
    background-color: #b6e1a3; /* Light green */
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s ease;
	text-transform: none !important;
	line-height: 1;
}
#dogodki-filter-form .prikazi-dogodke2 button {
    height: 40px;
    background-color: #3d7a1f;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s ease;
	text-transform: none !important;
	line-height: 1;
}
#dogodki-filter-form .prikazi-dogodke button:hover {
    background-color: #9acd7b; /* Darker green */
}
#dogodki-filter-form .prikazi-dogodke2 button:hover {
    background-color: #9acd7b; /* Darker green */
}
/* Tablet and Desktop View (>= 768px) */
@media (min-width: 768px) {
    #dogodki-filter-form {
        flex-wrap: wrap; /* Prevent wrapping */
    }

    #dogodki-filter-form .datum-od,
    #dogodki-filter-form .datum-do,
    #dogodki-filter-form .lokacija,
    #dogodki-filter-form .tip-dogodka {
        flex: 1; /* Equal spacing */
    }

    #dogodki-filter-form .prikazi-dogodke {
        flex: 0 0 auto; /* Fixed width for the button */
    }
}
/* Mobile View (< 768px) */
@media (max-width: 767px) {
    #dogodki-filter-form {
        flex-direction: column; /* Stack fields vertically */
    }

    #dogodki-filter-form .datum-od,
    #dogodki-filter-form .datum-do,
    #dogodki-filter-form .lokacija,
    #dogodki-filter-form .tip-dogodka,
    #dogodki-filter-form .prikazi-dogodke {
        width: 100%; /* Full width fields */
    }

    #dogodki-filter-form .prikazi-dogodke button {
        width: 100%; /* Full width button */
    }
}
/*=======================tu dodaj za pagination======================*/
.pagination .current {
	border-radius: 0 !important;
}
.pagination .page-numbers {
	border-radius: 0 !important;
	margin-right: 0px !important;
}
.pagination .page-numbers:last-child {
    padding: 5px;
}
.pagination {
	text-align: center;
}

/*ACF dogodki single page*/
/*kadence simple share mod*/
.kt-socialstyle-style_03 a {
    border-radius: 0px !important;
    border: 0px !important;
}

/* ==============================> THEME MODIFICATIONS <============================== */

/*FOOTER PADDING*/
.site-footer-row {
	padding-left: 20px;
    padding-right: 20px;
}

.wp-block-kadence-header3043-cpt-id .kb-header-container.item-is-stuck {
    background-color: var(--global-palette8, #F7FAFC);
    transition: 0.15s ease-in-out 0.15s;
}
.kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kadence-blocks-gallery-item__caption {
	text-align: left !important;
}

/*MENU DROPDOWN ARROW padding*/
.wp-block-kadence-navigation .kb-nav-dropdown-toggle-btn {
    padding-left: 10px !important;
}

/* ==============================> WPML MODIFICATIONS <============================== */
/*WPML HIDDEN*/
/*WPML*/
.otgs-development-site-front-end {
	display: none;
}

/*WPML*/
.wp-block-navigation ul, .wp-block-navigation ul li {
    align-items: start;
}
.wpml-language-switcher-block .hasHoverBackgroundColor:hover {
    background-color: #333333 !important;
}

