/**
Theme Name: Daydream Yachting
Author: crossbow
Author URI: https://www.crossbow.gr
Description: Based on Astra and ArchMasters
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daydream-yachting
Template: astra
*/

/*Make Header Sticky*/

.site-header {
	left: 0;
	right: 0;
}

.site-header.sticky {
	background: #FFF;
	
	position: fixed!important;
	z-index: 9999;
	transition: all 1s;
	left: 0;
	right: 0;
}

.site-header.sticky img.custom-logo {
	/*max-width: 200px!important;*/
}

.site-header .ast-logo-title-inline .ast-site-identity {
	/*padding-top: 1em;
	padding-bottom: 0;*/
}

.site-header.sticky .ast-logo-title-inline .ast-site-identity {
	/*padding-top: 0;*/
}


.ast-header-break-point .main-header-bar-navigation {
	/*line-height: 2.5;*/
}


/* non transparent header */


.ast-primary-header-bar {
	background-color: transparent!important;
}

.site-header.sticky  .ast-primary-header-bar {
	transition: all 1s;
	background-color: #FFF:
}



/* logo header */

.home .site-header #ast-desktop-header .custom-logo-link {
	display: none;
}

.home .site-header #ast-mobile-header .custom-mobile-logo-link {
	display: none;
}

.home .site-header.sticky #ast-desktop-header .custom-logo-link {
	display: block;
}

.home .site-header.sticky #ast-mobile-header .custom-mobile-logo-link {
	display: block;
}

.ast-main-header-nav-open .ast-main-header-wrap  {
	background-color: #FFF!important;
}

.home #ast-mobile-header .ast-mobile-svg.ast-close-svg {
	fill: #3A3A3A!important;
}



/* video logo fade */

.video-logo.fade {
	opacity: 0;
	transition: all 1s;
}

@media screen and (max-width: 767px) {
.video-logo img {
	width: 50%!important;
}
}


/* home page mobile menu icon */

.home #ast-mobile-header .ast-mobile-svg {
	fill: #FFF;
}

.home .sticky #ast-mobile-header .ast-mobile-svg {
	fill: var(--ast-global-color-3);;
}

/* mobile menu trips fix */

@media (max-width: 921px) {
	.sub-menu .menu-link{
		line-height: 18px;
	}
	
	.sub-menu {
		overflow-y: scroll;
		height: 300px;
	}
	
	.main-header-menu > .menu-item > .menu-link {
		height: auto!important;
	}
	
}


/*newsletter footer*/

.newsletter-footer form {
	text-align: left !important;	
}

.tnp-subscription-minimal form {
  white-space: wrap!important;
}


/* event map */

.event_data.event_category,
.event_link.gps-geo-link,
.event_data.event_location,
.ol-overlaycontainer address  {
	display:none;
}

.event_map.map, .event_geolist {
	height: 450px!important;
}

.event_geolist.has-list {
	background-color: #3A3A3A;
	color: #FFF;
}

.event_geolist .eventpost-item-list .event_item {
	border-bottom: 1px solid #fff;
}

.eventpost-item-list h5 {
	color: #fff;
}

.event_data {
	opacity: 1;
	font-size: 1em;
}

.event_map_popup address {
	font-size: 70%;
	line-height: 100%;
}

@media screen and (max-width: 767px) {
    .event_geolist {
      /*  height: 900px!important;*/
    }
	
	.event_map, .event_geolist.list-right .eventpost-item-list {
		width: 100%!important;
		max-height: 450px;
	}
	
	.event_geolist.list-right {
		flex-direction: column;
	}
}

/* floating contact button */

.floating-contact {
	position: fixed;
  bottom: 80px;
  right: 15px;
  z-index: 99999;
}


/* footer logos */

@media screen and (max-width: 550px) {
	.footer-logos a {
		display: block;
		margin-bottom: 30px;
	}
}


/* button manual */

a.button-custom {
	color: var(--ast-global-color-1)!important;
	border-color: var(--ast-global-color-1);
	background-color: transparent;
	border-style: solid;
  text-decoration: none;
  border-top-width: 1px;
  border-right-width: 1px;
  border-left-width: 1px;
  border-bottom-width: 1px;
}

a:hover.button-custom {
	color: var(--ast-global-color-5)!important;
  background-color: var(--ast-global-color-1);
  border-color: var(--ast-global-color-1);
}

/* small fix in timeline */

.event_timeline .track {
	padding-top: 20px;
}

/* timeline link colour */

a .event_date {
	color: var(--ast-global-color-2);
}


.event_map_popup time  {
    font-size: 90%;
}



/* sturnstile palceholder */

.cmplz-turnstile {
  background: #FFF;
  width:fit-content;
  font-family:inherit;
  font-size:14px;
  padding: 10px 20px;
  height: 70px !important;
  
}

.cmplz-turnstile a {
  color: var(--dark-color);
}

.cmplz-placeholder-1.cmplz-turnstile {
	background-image: none!important;
}

/* home page map block */


.cmplz-event-map-placeholder {
  position: relative;
  min-height: 300px;
}

.cmplz-event-map-placeholder .cmplz-event-map-message {
  min-height: 300px;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: #f5f5f5;
  border: 1px solid #ddd;
}

.cmplz-event-map-placeholder .event_loop {
  min-height: 300px;
}