/*
Custom styles for 8rise premium
*/


/*/////////////////////////////////////////////////*/
/*///////////////// 00 - GENERAL //////////////////*/
/*/////////////////////////////////////////////////*/

/*/////////////////////////////////////////////////*/
/*////////////////// 01 - menu ////////////////////*/
/*/////////////////////////////////////////////////*/

@media (max-width: 800px) {
	body #header:has(div.active) {
		height: 50px;
	}
}

/*/////////////////////////////////////////////////*/
/*////////////////// 01 - blocks //////////////////*/
/*/////////////////////////////////////////////////*/

.titlecenter {
    letter-spacing: 10px;
}

.relsection#blog .blocksquare,
.relsection#archive .blocksquare {
	padding-top: 67%;
	background-position: top;
	background-size:100% auto;
	border-radius: 15px;
}

.relsection#blog .posttitlecontainer,
.relsection#archive .posttitlecontainer {
  position: relative;
  bottom: 0;
  right: 0;
  left:0; 
  padding: 0;
  max-width: 100%;
  border-radius: 0 0 15px 15px;
}


.relsection .blocksquare {
	border-radius: 20px;
}

.relsection .posttitlecontainer {
    bottom: 30px;
    right: 30px;
    left: 30px;
    padding: 0 5px;
    border-radius: 10px;
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
	box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
	filter: brightness(1.2);
}

.relsection .posttitlecontainer .inner-border {
	border-left:none;
	border-top:none;
	display: inline-block;
	width:100%;
	box-sizing:border-box;
	padding: 10px;
	border-radius: 0 0 20px 20px;
}

.relsection .posttitle {
  padding: 0 0 10px;
  font-weight:700;
}

.relsection .postdate {
  position: relative;
  text-align:left;
  border:none;
  display:flex;
}

.relsection .postmonth,
.relsection .postyear {
  width:auto;
  float:left;
  border: solid 1px;
}

.relsection .postmonth {
  margin-left:auto;
  border-right:0;
}

.relsection .postyear {
  border-left:0;
}

.relsection .lightbox_trigger .rightline, .relsection .link_trigger .rightline,
.relsection .lightbox_trigger .leftline, .relsection .link_trigger .leftline {
  width: 0px;
}

.relsection .lightbox_trigger .topline, .relsection .link_trigger .topline,
.relsection .lightbox_trigger .bottomline, .relsection .link_trigger .bottomline {
  height: 0px;
}

.relsection#blog .lightbox_trigger.spadding:hover .posttitlecontainer,
.relsection#archive .lightbox_trigger.spadding:hover .posttitlecontainer,
.relsection#blog .link_trigger.spadding:hover .posttitlecontainer,
.relsection#archive .link_trigger.spadding:hover .posttitlecontainer {
  position: relative;
  bottom: 0;
  right: 0;
  padding: 0;
  max-width: 100%;
  }

.relsection .lightbox_trigger.spadding:hover .posttitlecontainer, .relsection .link_trigger.spadding:hover .posttitlecontainer {
    bottom: 20px;
    right: 20px;
    left: 20px;
	padding: 10px 15px;
}

  .relsection .overlayview {
  display: none;
}

.relsection .excerpt p {
	text-align:left;
	margin:0;
	padding:0 0 10px;
}
.relsection.anchor .blockfull.lpadding {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
}

.relsection.anchor .blockfull.lpadding.contactblock {
	flex-direction: column;
}

#blog.relsection .button {
	display:none;
}

.relsection .catlabel {
	padding:5px 10px;
	font-size:10px;
	display:inline;
	position:absolute;
	color:white;
	top:30px;
	border-radius:0 5px 5px 0;
}

/*/////////////////////////////////////////////////*/
/*//////////////////// 01 - CTA ///////////////////*/
/*/////////////////////////////////////////////////*/

.csformbg {
	opacity: 0.7;
    border-radius: 20px;
}

.cta-image-offset {
	margin-bottom: -40px;
}

#storefront .blockcenter, #smartcta .blockcenter {
	    margin-bottom: -90px;
}

#maincta {
	margin: 25px 0;
}

.cta-btn {
	border-radius: 50px;
	border: none;
	outline: none;
	font-weight: 500;
}

.cta-btn--jump {
	-webkit-animation: 0.4s jump ease infinite alternate;
	animation: 0.4s jump ease infinite alternate;
}

@-webkit-keyframes jump {
	0% {
		transform: scale(1);
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	}
	100% {
		transform: scale(1.05);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	}
}

@keyframes jump {
	0% {
		transform: scale(1);
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	}
	100% {
		transform: scale(1.05);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	}
}  

#driveaccess {
	position:fixed;
	z-index:9990;
	padding:10px;
	max-width:30px;
	max-height:29px;
	bottom:100px;
	right:0;
	border-radius:20px 0 0 20px;
	text-align:center;
	font-size:12px;
}
#driveaccess i {
	font-size:18px;
}

.single .contentcenter {
	padding:0;
}

#menucornerright li {
    height: auto;
    margin: 5px;
}

#menucornerright li a {
	padding: 5px 15px;
	border-radius: 8px;
}

body:not(.home) .mobileOn .topoffset {
	height:80px;
}
.acceptanceframe {
	display:block;
	margin:0 auto;
	max-width:600px;
	text-align:center;
	background-color:#dcefed;
	padding:20px 20px 10px;
	border-radius:10px;
}
.acceptanceframe .wpcf7-submit {
	width:auto;
	display:block;
	margin:30px auto 0;
	padding:10px 20px;
}
.participantemail {
	display:none;
}