/*
	Theme Name:	XTRA Child
	Theme URI:	https://xtratheme.com/
	Description:Multipurpose Theme
	Author:		Codevz
	Author URI:	https://codevz.com/
	Template:	xtra
	Version:	1.0
*/

body.home .homepage-flex-equal-height-fix > .e-con-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 0 !important;
}

body.home .homepage-flex-equal-height-fix > .e-con-inner > * {
  box-sizing: border-box !important;
  flex: 0 0 25% !important;
  max-width: 25% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 12px;
}

body.home .homepage-flex-equal-height-fix > .e-con-inner .elementor-widget-cz_service_box > .elementor-widget-container,
body.home .homepage-flex-equal-height-fix > .e-con-inner .elementor-widget-cz_service_box > .elementor-widget-container > a,
body.home .homepage-flex-equal-height-fix > .e-con-inner .elementor-widget-cz_service_box > .elementor-widget-container > a > div {
	height:100%;
}

body.home .homepage-flex-equal-height-fix > .e-con-inner .elementor-widget-cz_service_box {
	margin-bottom: 25px;
}

#site_header div.header_2_left {
	display: flex;
    align-items: center;
    justify-content: center;
}

/* Default (XL desktops) - image-large.jpg */
.page_title,
.header_onthe_cover .page_title {
  background-position: center 85% !important;
}

/* Medium screens (large desktops) */
@media (max-width: 1900px) {
  .page_title,
  .header_onthe_cover .page_title {
    background-position: center 60% !important;
  }
}


header#site_header .logo_is_img img {
	width: 84px !important;
}

header#site_header div.header_2_left {
	justify-content: normal !important;
}

/* medium - large screens (desktops) */
@media (max-width: 1300px) {

  .elms_center.header_2_center {
  	 flex-basis: 80% !important;
  }

  .elms_center.header_2_center > div {
  	 margin: 0 !important;
  }

  .elms_right.header_2_right {
	 display: none !important;	 
  }

  body.home .homepage-flex-equal-height-fix > .e-con-inner > div {
	flex: 1 1 50% !important;
  	max-width: 50% !important;
  }
}


/* Medium screens (tablets and small desktops) */
@media (max-width: 1023px) {
  .page_title,
  .header_onthe_cover .page_title {
    background-position: center 75% !important;
  }
}

/* Phone screens (mobile phones) */
@media (max-width: 768px) {
  header#site_header .logo_is_img img {
	width: 60px !important;
  }

  body.home .homepage-flex-equal-height-fix > .e-con-inner > div {
	flex: 1 1 100% !important;
  	max-width: 100% !important;
  }
}

/* Small hpone screens (mobile phones) */
@media (max-width: 599px) {
  .page_title,
  .header_onthe_cover .page_title {
    background-position: center 100% !important;
  }
}




/*
	Custom calendar styling for ICS-Calendars
*/

.ics-calendar-date-wrapper {
	display: flex
}

.ics-calendar-date-wrapper > .ics-calendar-date {
	padding: 10px;
	padding-top:15px;
	background-color: #55c48b;
	width: 100px;
	height: 100px;
	flex-shrink: 0;
	border-radius: 10px;
	text-align:center;
	color: #ffffff;
}

.ics-calendar-date-wrapper > .ics-calendar-date > span:nth-child(1){
	display:none;
}

.ics-calendar-date-wrapper > .ics-calendar-date > span:nth-child(2){
	font-size: 50px;
	line-height: 50px;
	display: block;
}

.ics-calendar-date-wrapper > .ics-calendar-date > span:nth-child(3){
	font-size: 18px;
	display: block;
}

.ics-calendar-date-wrapper > .events {
	flex: 1;
}

.ics-calendar-date-wrapper > .events {
	border: none;
	padding-right:0;
}

.ics-calendar-date-wrapper > .events > .time {
	text-align:left;
	padding:0 !important;
	font-weight: 600 !important;
	color: #55c48b;
}

.ics-calendar-date-wrapper > .events > .time::after {
	display: none;
}

.ics-calendar-date-wrapper > .events > .time::before {
	content: "\f017"; /* Unicode for fa-clock */
	font-family: "Font Awesome 6 Free"; /* Font Awesome font */
	margin-right: 7px;
	display: inline-block;
	font-size:0.9rem;
	font-weight: 400;
}

/*
.ics-calendar-date-wrapper > .events > .event {
	top: -15px;
}
*/

.ics-calendar-date-wrapper > .events > .event .title {
	font-size: 20px;
	line-height: 20px;
    font-weight: bold;
}

.ics-calendar-date-wrapper > .events > .event .eventdesc {
	display: none;
    background-color: #f4f4f4;
    padding: 25px;
    border-radius: 10px;
    margin-top: 5px;
}

.ics-calendar-date-wrapper a.eventdesc-toggle {
  display: block;
  margin-top: 4px;
  color: #0073aa; /* WP blue (matches admin links) */
  text-decoration: none !important;
  font-weight: 500;
}

.ics-calendar-date-wrapper a.eventdesc-toggle:hover {
  color: #005177;
  text-decoration: none !important;
}

.ics-calendar-date-wrapper a.eventdesc-toggle i {
  margin-left: 6px;
  font-size: 0.85em;
}




/* Universele paginastijling */
body:not(.blog):not(.home):not(.page-id-6):not(.page-id-1732).wp-singular.page-template-default.page .elementor a:not(.cz_btn) {
	color: #01849f; text-decoration: underline;
}

.cz_related_post_date {
	display: none;
}



/* Blog */
body.blog .cz_post_meta {
	display: none;
}

body.blog .cz_default_loop > div {
	border: none;
	background-color: transparent;
}