/*
Theme Name: PSE - Startup
Theme URI: https://what-the-phuc.com
Author: Phuc Le
Author URI: https://phuc.at
Description: Custom videx Theme
Requires at least: 6.1
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: videx
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/

/*------------------------------------*\

    Styles intended only for the front.

\*------------------------------------*/
html {
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

/*------------------------------------*\
   Header Sidebar Fix
\*------------------------------------*/
.header {
    z-index: 9999;
}

.header--sticky {
    position: sticky;
    top: 0;
}

.admin-bar .header--sticky {
    top: 32px;
}

/*------------------------------------*\
   HEADER
\*------------------------------------*/
.header--absolute {
    position: absolute;
    z-index: 8888;
    width: 100%;
}

.header--fixed {
    position: fixed;
    width: 100%;
}

/*------------------------------------*\
   LAYOUT BORDER
\*------------------------------------*/
.layout--border::before,
.layout--border::after {
    content: '';
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    /* set to same color as background color */
    background-color: var(--wp--preset--color--white);
    height: var(--wp--preset--spacing--20);
}

.layout--border::before {
    top: 0;
}

.layout--border::after {
    bottom: 0;
}

.layout--border .header {
    width: calc(100% - var(--wp--preset--spacing--20) * 2);
}


[style*="text-decoration:none"]  * {
text-decoration: none;
}

@media (max-width: 768px) {
.hide--mobile {
display: none !important;
}
}

.wp-block-button__link {
	transition: .3s
}


.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--color-1);
}

.wp-block-heading {
	/* hyphens: auto; */
}

/*------------------------------------*\
   GRID
\*------------------------------------*/
body .is-style-grid-2-4 {
display: grid;
grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
	body .is-style-grid-2-4 {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
	}
}

.min-height-100 {
	min-height: 100%;
}



:root :where(a:where(:not(.wp-element-button)):hover) {
	text-decoration: underline;
}

/*------------------------------------*\
   NAV
\*------------------------------------*/
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border: none;

}

.wp-block-navigation .wp-block-navigation-item__content:hover {
	text-decoration: none;
    color: var(--wp--preset--color--contrast);
}

.footer .wp-block-navigation .wp-block-navigation-item__content:hover {
	text-decoration: none;
    color: var(--wp--preset--color--color-1);
}

:where(.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:not(.wp-element-button)) {

}

.current-menu-item {
	color: var(--wp--preset--color--color-1);
}

/*------------------------------------*\
   MOBILE NAV
\*------------------------------------*/
@media (max-width: 1315px) {
	.header {
	display: none;
}
}


.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	--gf-ctrl-btn-bg-color-primary: var(--wp--preset--color--color-1);
	letter-spacing: 0.05em;
    line-height: 1.4;
    padding-top: 0.65rem;
    padding-right: 3.13rem;
    padding-bottom: 0.65rem;
    padding-left: 3.13rem;
    text-transform: uppercase;
	border-radius: 70px;
	font-size: var(--wp--preset--font-size--button);
}


.em {

	--accent-color: var(--wp--preset--color--color-1);
}

.em.em-list .em-item .em-item-info {
		--default-border: var(--wp--preset--color--contrast);
}





body .em.pixelbones .button.input, 
body .em.pixelbones .input .button, 
body .em.pixelbones .input button, 
body .em.pixelbones .input input[type=button], 
body .em.pixelbones .input input[type=reset], 
body .em.pixelbones .input input[type=submit], 
body .em.pixelbones button.input, 
body .em.pixelbones input[type=button].input, 
body .em.pixelbones input[type=reset].input, 
body .em.pixelbones input[type=submit].input, 
body .em.pixelbones.input .button, 
body .em.pixelbones.input button, 
body .em.pixelbones.input input[type=button], 
body .em.pixelbones.input input[type=reset], 
body .em.pixelbones.input input[type=submit] {
	background-color: var(--accent-color) !important;
	color: white !important;
	letter-spacing: 0.05em !important;
    line-height: 1.4 !important;
    padding-top: 0.65rem !important;
    padding-right: 3.13rem !important;
    padding-bottom: 0.65rem !important;
    padding-left: 3.13rem !important;
    text-transform: uppercase !important;
	border-radius: 70px !important; 
	font-size: var(--wp--preset--font-size--button) !important;
	font-weight: normal !important;
	border: none !important;
	height: initial !important;
}



/* SLIDER */
.slider .wp-block-post {
	max-width: 495px;
}

@media (max-width: 768px) {
	.slider .wp-block-post {
		max-width: 300px;
	}
}

.slick-slider {
    width: 100%;
    overflow: hidden; /* Ensures the overflow is hidden where necessary */
}

.slick-slide {
    margin-right: var(--wp--preset--spacing--30); /* Adds some spacing between slides */
}

.custom-slick-prev,
.custom-slick-next {
	cursor: pointer;
}

.custom-slick-prev:hover,
.custom-slick-next:hover {
	color: var(--wp--preset--color--contrast);
}
.em.em-item.em-item-single .em-item-image img {
--default-border:  var(--wp--preset--color--color-1);
	}


.wp-block-media-text>.wp-block-media-text__content {
	padding: 0;
}

.wp-block-media-text {
	gap: var(--wp--preset--spacing--30);
}



.wp-block-details {
	border-radius: 1rem;
}

.wp-block-details > *:not(summary) {
	font-size: var(--wp--preset--font-size--body);
}




 .has-contrast-background-color .gfield_label,
 .has-contrast-background-color .gform-field-label,
.has-contrast-background-color .gfield_description{
	color: white !important;
}

.gform_button, 
.em-item-read-more.button {
	border-radius: 9999rem;
}


.gform_button:hover, 
.em-item-read-more.button:hover {
	background-color: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--color-1) !important;
}


/* EVENT ANMELDEN */
.event-form-submitter input,
.event-form-name input,
.em.em-event-editor .input .event-form-when .em-event-dates .em-date-start-end,
.em-location-types-select {
	width: 100%;
	padding: .5em .5em;
	box-sizing: border-box;
	max-width: none !important;
}

.event-form-submitter .input label,
.event-form-name .input label{
	font-size: var(--wp--preset--font-size--body);
}

.event-form-submitter h3,
.event-form-name h3,
.event-form-when h3,
.event-form-where h3,
.event-form-details h3{
	display: none;
}

.event-form-submitter .input {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--20);

}

.event-form-submitter p > * {
	display: block;
}

#event-date-explanation {
	display: none;
}

.event-form-where label {
	display: block;
}

.event-form-submit .button-primary {
	border-radius: 70px;
    font-size: var(--wp--preset--font-size--button);
    letter-spacing: 0.05em;
    line-height: 1.4;
    padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20);
    text-transform: uppercase;
	background-color: var(--wp--preset--color--color-1);
	border-width: 0;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	font-weight: bold;
}

/* bestätigungsnachricht */
.em .em-notice.em-notice-success {
	background-color: var(--wp--preset--color--base);
}


body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type="submit"] { 
	border-radius: 999rem !important;
	color: var(--wp--preset--color--contrast) !important;
	font-weight: bold !important;
}

body .gform_wrapper .gform_footer input.button:hover,
body .gform_wrapper .gform_footer input[type="submit"]:hover { 
	color: var(--wp--preset--color--color-1) !important;
}


.gform-theme--framework .gform-field-label>.gfield_required:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform_editor legend.gform-field-label>span>.gfield_required:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	color: black !important;
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	font-size: 20px !important;
	    padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--20) !important;
}



.em.em-calendar .em-cal-body.event-style-pill .em-cal-event>div {
	color: black !important;
background-color: var(--wp--preset--color--color-1) !important;
	border-color: var(--wp--preset--color--color-1) !important;
		box-sizing: border-box !important;
}

.em.em-calendar .em-cal-body>div {
	box-sizing: border-box !important;
}


.wp-block-post.type-startup {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wp-block-post.type-startup.is-hidden {
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}