/*
Theme Name: Csillagösvény '26 template
Theme URI: http://zajtaiorsolya.hu
Description: A basic responsive theme based on Bootstrap 5
Author: Orsolya Zajtai
Author URI: http://zajtaiorsolya.hu/
Version: 2.0
Tags: responsive, white, bootstrap

License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/

This is a basic theme for Wordpress 6.2 built with Bootstrap 5.
*/

:root {
	--bs-primary: #fbc02d;
	--bs-primary-rgb: #fbc02d;
	--bs-success: #64c062;
	--bs-success-rgb: 156,226,218;
	--bs-secondary: #64527e;
	--bs-secondary-rgb: 255,92,172;
	/*--bs-link-color: #2196f3;
	--bs-link-color-rgb: #2196f3;*/
	--bs-nav-pills-link-active-bg:  #fbc02d;
	--bs-table-striped-bg: rgba(255, 255, 255, 1);
	--bs-table-accent-bg: rgba(255, 255, 255, 1);
	--bs-nav-pills-link-active-bg: #64527e;
}
body {
	
}
a, a:hover {
	text-decoration: none;
	color: #64527e;
}
h1 {
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 3rem;
	text-transform: uppercase;
}
@media (max-width: 768px) {
	h1 {
		font-family: 'Raleway', Arial, sans-serif;
		font-size: 2.5rem;
		text-transform: uppercase;
	}
}
.napi h1 {
	font-size: 2.2rem;
}
h3 {
	text-align: center;
	padding-bottom: 0.5rem;
	position: relative;
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 2.5rem;
	margin-bottom: 4rem;
	text-transform: uppercase;
	color: #64527e;
}
h3:before {
	height: 2px; 
	background-image: linear-gradient(310deg,#64527e,#64527e);
	bottom:-15px;
	right: 47%;
	left: 47%;
	position: absolute;
	content: '';
	width: 6%;
}

h4.title {
	text-align: center;
	padding-bottom: 0.5rem;
	position: relative;
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 1.5rem;
	margin-bottom: 4rem;
	text-transform: uppercase;
	color: #64527e;
	margin-top: 2rem;
}
h4.title:before {
	height: 2px; 
	background-image: linear-gradient(310deg,#fcb4bf,#fcb4bf);
	bottom:-15px;
	right: 47%;
	left: 47%;
	position: absolute;
	content: '';
	width: 6%;
}
h5 {
	font-size: 1rem;
}
h6 {
	font-family: 'Raleway', Arial, sans-serif;
	font-size: 1.5rem;
}
.kaushan {
	font-family: 'Raleway', Arial, sans-serif;
}
/* --- NAVBAR --- */

.navbar-brand {
	font-family: 'Raleway', Arial, sans-serif;
}
.navbar .container {
	padding: 30px 0;
	transition: 0.4s;
}
@media (max-width: 1199px) {
	.navbar .container {
		padding: 15px 0;
	}
}
.navbar {
	transition: 0.4s;
}
.navbar-nav .nav-link.active, .navbar-nav .show>.nav-link {
	color: #64527e;
}
.navbar-nav .nav-link.bg-warning.active, .navbar-nav .show>.nav-link.bg-warning {
	color: var(--bs-dark);
}
.nav-item {
	position: relative;
	padding-right: 8px;
}
.nav-item:last-child {
	position: relative;
	padding-right: 0px;
}
@media (max-width: 992px) {
	.nav-pills .nav-item {
		position: relative;
		padding: 0 3px;
		width: 20%;
	}
	.nav-item:before {
		content: " ";
		position: absolute;
		top:0px;
		bottom:9px;
		right: 0;
		padding: 9px 3px;
		opacity: 0.3;
		margin: 0 4px;
	}
	.nav-item:last-child:before {
		content:"";
	}
	.nav-link {
		padding: 1rem 0.2rem;
		width: 100%;
	}
}
nav.bg-light {
	/*background: rgba(123, 215, 255, 0.8) !important;*/
	background: #fff !important;
}

/* --- BUTTONS --- */

#top {
	display: none;
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 3;
	padding: 10px 15px;
	border: none;
	color: #64527e;
}
.bg-gradient-csillag {
	background-image: linear-gradient(310deg, #64527e, #bb21be);
	border: 2px solid #fff;
}
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: #64527e;
	--bs-btn-border-color: #64527e;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #db78ff;
	--bs-btn-hover-border-color: #db78ff;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #db78ff;
	--bs-btn-active-border-color: #db78ff;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #0d6efd;
	--bs-btn-disabled-border-color: #0d6efd;
}
.btn-success {
	--bs-btn-color: #fff;
	--bs-btn-bg: #DD006C;
	--bs-btn-border-color: #DD006C;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #db78ff;
	--bs-btn-hover-border-color: #db78ff;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #db78ff;
	--bs-btn-active-border-color: #db78ff;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #0d6efd;
	--bs-btn-disabled-border-color: #0d6efd;
}
.btn-warning {
	--bs-btn-color: #fff;
	--bs-btn-bg: #64527e;
	--bs-btn-border-color: #64527e;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #db78ff;
	--bs-btn-hover-border-color: #db78ff;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #db78ff;
	--bs-btn-active-border-color: #db78ff;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #0d6efd;
	--bs-btn-disabled-border-color: #0d6efd;
}
.btn-outline-primary {
	--bs-btn-color: #35c0fd;
	--bs-btn-border-color: #35c0fd;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #db78ff;
	--bs-btn-hover-border-color: #db78ff;
	--bs-btn-focus-shadow-rgb: 13,110,253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #db78ff;
	--bs-btn-active-border-color: #db78ff;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #0d6efd;
	--bs-btn-disabled-bg: transparent;
	--bs-btn-disabled-border-color: #0d6efd;
	--bs-gradient: none;
}

/* --- TABLE --- */

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: #64527e;
}
.nav-pills .nav-link {
    background-color: #9ce2da;
    color: #1e776d;
}

table tr td, table tr th:not(:first-child) {
	min-width: 150px;
}
.highlight {
	background: #7bd7ff;
}
.table-striped-columns>:not(caption)>tr>:nth-child(2n) {
    --bs-table-accent-bg: #fff;
}
.table-hover>tbody>tr:hover>* {
	--bs-table-accent-bg: #9ce2da;
	color: #ffffff;
}
.table-hover>tbody>tr.highlight>* {
	--bs-table-accent-bg: #64527e;
	color: #ffffff;
}
.table-program td{
	font-size: 85%;
}

.table-program tbody th {
	color: #bbb;
	font-weight: normal;
}
.vmiddle {
	vertical-align: middle;
}
.class-block.with-border {
	border-bottom: 1px solid #ccc;
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
}
.table-program {
	table-layout: fixed;
	width: 100%;
}

.table-program th:first-child,
.table-program td:first-child {
	width: 80px; /* or auto, but fixed is safer across browsers */
	white-space: nowrap;
}

.table-program th:not(:first-child),
.table-program td:not(:first-child) {
	width: <?php echo round(100 / (count($cstplace_terms) + 0), 2); ?>%;
}

.class-list-view .class-day h4 {
	margin-bottom: 1rem;
	border-bottom: 1px solid #ddd;
	padding-bottom: 0.5rem;
}
@media (max-width: 992px) {
	.table-program {
		min-width: 1000px;
	}
}
@media (max-width: 768px) {
	.nav-pills .nav-link div {
		width: 10px;
		white-space: nowrap;
		overflow: hidden;
		margin: 0 auto;
	}
	.nav-pills .nav-item:nth-child(2) .nav-link div {
		width: 19px;
	}
}
@media (max-width: 991.98px) {
	.single-class {
		border: 1px solid #ddd;
		padding: 15px;
	}
}

/* --- HOME --- */

.bg-light {
	background-color: #cfe4e1 !important;
}
.placeholder {
	height: 104px;
}
.bg-csillag {
	height: 70vh;
	min-height: 400px;
	overflow: hidden;
	position: relative;
	/*background-image: url(images/background.jpg);
	background-repeat: no-repeat;
	background-position: 50% 55%;
	background-size: cover;*/
	background: #cfe3e0;
}
.bg-wave {
	overflow: hidden;
	position: relative;
}
.bg-csillag::after {
	content: url(images/wave.svg);
	position: absolute;
	width: 100%;
	height: auto;
	bottom: -7px;
}
.facebook {
	min-width: 340px;
}
@media (max-width: 992px) {
	.bg-csillag {
		min-height: auto;
		height: auto;
	}
	.placeholder {
		height: 95px;
	}
	.kecskefarm {
		max-width: 80% !important;
	}
}
@media (max-width: 576px) {
	.kecskefarm {
		max-width: 50% !important;
	}
}
.text-height {
	height: 120px;
}

.text-bg-primary {
	background: #64527e !important;
}
.text-bg-success {
	background: #DD006C !important;
}
.text-bg-warning {
	background: #64527e !important;
	color: #fff !important;
}
.frame {
	padding: 40px;
}
.frame:before {
	content: '';
	background: url(images/frame-1.png) no-repeat;
	background-size: cover;
	width: 100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
}
.frame-blnk:before {
	content: '';
	background: url(images/frame-blnk.svg) no-repeat;
	width: 100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
}
.classes {
	color:#6DC6BD;
}
.sss {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3; /* or 16 / 9, or 4 / 3 as needed */
  position: relative;
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* EM BOOKING */
.em-bookings-ticket-table-type {
	font-size: 1.2rem;
	font-weight: bold;
}
.ticket-desc {
	font-size: 1rem;
	font-weight: normal;
}
.em-booking-section-title, .em-booking-form-tickets-title {
	text-align: left;
}
.em-booking-section-title:before, .em-booking-form-tickets-title:before {
	display: none;
}