/**
 * Theme Name: Unendlich Sein
 * Template:   g5_hydrogen
 */
 

 
#g-main {
	background-image: url(https://demo.unendlich-sein.at/media/bg3.svg);
    background-position: left top;
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: scroll;
}	
 
img {
   border-radius: 12px;
}	
 
.g-default article {
	padding: 20px 40px 20px 40px;
	background-color: #FCFBFA;
    border-radius: 20px;
	position: relative;
}

.platform-content .entries .tease {
    margin: 0.625rem 0;
    padding: 20px 40px 20px 40px;
}

.featured-image {
	border-radius: 20px;
	margin-bottom: 30px;
}	
 
 .flyout-trigger.trigger-right {
    right: 12px;
}

.flyout-menu-footer {
	position: absolute;
	bottom: 0;
}

.flyout-trigger-id-310, .flyout-trigger-id-330 {
	border-radius: 0 0 8px 8px;
	font-size: 0.9em;
}

#flyout-form {
	display: block;
}

#g-footer {
	border-top: none;
}

.featured-image {
    border-radius: 100px;
    margin-bottom: 0;
    position: unset;
    width: 160px;
    border: 14px solid #FCFBFA;
    margin-right: 20px;
}

.page .featured-image {
    border-radius: 100px;
    margin-bottom: 30px;
    position: absolute;
    width: 160px;
    right: 20px;
    top: -50px;
    border: 14px solid #FCFBFA;
    z-index: 1;
}

.post .featured-image {
    border-radius: 100px;
    margin-bottom: 30px;
    position: absolute;
    width: 110px;
    right: 0;
    top: -50px;
    border: 9px solid #FCFBFA;
    z-index: 1;
}

#menu-mobile {
	line-height: 2em;
	margin: 5px 0 15px;
	padding: 0;
	font-size: 1em;
	margin-top: 30px;
	
}

#menu-mobile li {
  list-style: none;
  position: relative;
  padding: 0 0 0 20px;
}

#menu-mobile li::before {
  content: ""; 
  position: absolute; 
  left: 0; 
  top: 15px;
  background: #EDE8DE;
  width: 10px; 
  height: 10px;
  text-align: center; 
  transform: rotate(0deg);
}

#menu-mobile li::after {
  content: ""; 
  position: absolute; 
  top: 15px; 
  left: 0; 
  height: 10px; 
  width: 10px; 
  background: #EDE8DE;
  transform: rotate(45deg);
}

.ow-button-base .sowb-button {
    line-height: 1.5em !important;
}

#menu-footer .g-main-nav .g-toplevel > li > .g-menu-item-container {
    text-decoration: none;
    padding: 0;
}

#menu-footer .g-content {
    margin: 0 0.625rem 0 0.625rem;
    padding: 0 0.938rem 0 0.938rem;
}

small {
	font-size: 0.8rem;
}

.cf7_open_button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
	background-color: #CBA7AD;
	z-index: 100001;
}

.cf7_open_button::before {
    display: inline-block;
    cursor: pointer;
    /* width: 2.5rem; */
    opacity: 1;
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", FontAwesome;
    /* font-weight: 900; */
    content: "\f4ad";
    /* text-align: right; */
    font-size: 2rem;
	color: #fff;
}

.cf7_popup .popup_close, .cf7_popup_error .popup_close {
    position: absolute;
    right: 16px;
    top: 0;
    font-size: 38px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background-color: transparent;
}

.cf7_popup p {
	margin-bottom: 0;
}

.cf7_popup {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 26px 2px #9d9d9d;
    display: none;
    width: 40%;
	position: absolute !important;
    bottom: 124px;
    right: 80px;
}

.popup_content {
	border-radius: 12px;
	
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.7em;
    font-weight: normal;
    display: block;
    position: absolute;
    left: 4px;
}

label.wpcf7-not-valid {
    display: none !important;
}

.wpcf7-form-control.wpcf7-not-valid {
	background-color: #fff6f6;
}

.wpcf7-form-control.wpcf7-submit {
	padding: 12px 22px;
    background-color: #CBA7AD;
    border-radius: 6px;
	color: #fff;
}
	
@media only screen and (max-width: 600px) {
	body {
		font-size: 1.25rem;
		line-height: 1.4;
	}
	
	#menu-mobile {
		line-height: 1.6em;
		margin: 5px 0 15px;
		padding: 0;
		margin-top: 30px;
	}
	
	.flyout-menu-footer {
		position: absolute;
		bottom: 50px;
	}
	
	.flyout-menu-footer h3, .flyout-menu-footer p {
		margin: 0;
		padding: 0;
	}
	
	.g-default article {
		margin-top: 40px;
	}
	
	.blog .platform-content {
		margin-top: 44px;
	}
	
	.page .featured-image {
		width: 90px;
		right: 0;
		top: -80px;
		border: 8px solid #FCFBFA;
	}
	
	.post .featured-image {
		border-radius: 100px;
		margin-bottom: 30px;
		position: absolute;
		width: 90px;
		right: 0;
		top: -80px;
		border: 9px solid #FCFBFA;
		z-index: 1;
	}
	
	.ues-logo svg {
		width: 50%;
	}
	
	.main-menu-container {
		display: none;
	}
	
	.g-grid {
		gap: 80px; 
	}
	
	
}

@media only screen and (max-width: 1024px) {
	.main-menu-container {
		display: none;
	}
	
	.flyout-trigger-id-120 {
		top: 22px !important;
		width: 46px;
	}
	
	.flyout-trigger-id-310, .flyout-trigger-id-330 {
		border-radius: 0 0 6px 6px;
		font-size: 0.7em;
	}
	
	.cf7_popup {
		background-color: #fff;
		padding: 30px;
		box-shadow: 0 0 26px 2px #9d9d9d;
		display: none;
		width: 80% !important;
		position: absolute !important;
		bottom: 124px;
		right: 80px;
	}
}

@media only screen and (max-width: 380px) {
	
	#flyout-content-id-120 {
		font-size: 0.85em;
	}
	
	#flyout-content-id-120 h3 {
		margin-bottom: 0;
	}
	
	#flyout-content-id-120 p {
		margin-bottom: 8px;
		margin-top: 4px;
	}
	
	#menu-mobile {
		line-height: 1.8em;
		margin: 5px 0 15px;
		padding: 0;
		margin-top: 30px;
	}
	
	#mobile-menu-logo {
		width: 50%;
	}
	
	h1, h2, h3, h4, h5, h6 {
		line-height: 1.3em;
	}
}