/*
Theme Name: The Pantiles Events
Author: Jason Wightman
*/

/* Fonts:
font-family: 'Eczar', serif; 400 & 600
font-family: 'Hanken Grotesk', sans-serif; 400 & 900


.inter-<uniquifier> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

*/

/* Main Colors:
Yellow: #fbff4a;
Black: #000000;
Gray: #f5f5f5;
*/

@font-face {
    font-family: 'Champ-ExtraBold';
    src: url('fonts/Champ-ExtraBold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/*h1.new, h2.new, h3.new, h4.new  {
	font-family: 'Champ-ExtraBold';
}*/

.inter-regular {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.page-template-home-new button, 
.page-template-home-new .button {
	border-radius: 0;
}

/* Corner */

.corner {
    position: relative;
}

.corner:before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    border-top: 30px solid #f7f5f3;
    border-left: 30px solid transparent;
    width: 0;
}

/* Slider */

.event-slider {
	height: 100vh;
	width: 100vw;
	max-height: 900px;
}

.slide-image {
	width: 100vw;
	height: calc(100vh - 100px);
	display: block;
	background-repeat: no-repeat;
	background-size: cover;
	background-position-x: center;
	background-position-y: center;
	margin-top: 100px;
	max-height:800px;
}

.slide-text-outer {
	aspect-ratio: 2/3;
	max-height: 400px;
	min-height: 400px;
	flex-direction: column;
	padding: 0;
}

@media (min-width: 768px) {
	.slide-text-outer {
		aspect-ratio: 16/9;
		max-height: 300px;
		min-height: 300px;
	}
}


#slide-text-top-strip-outer {
	height: 10%;
	width: 100%;
	overflow: hidden;
}

#slide-text-top-strip-inner {
	height: 100%;
	transform: skew(45deg);
	transform-origin: right bottom;
}

.slide-text-inner {
	padding: 0 30px 30px 30px;
	height: 90%;
}

#slide-copy {
	flex-direction: column;
}

#slide-copy h1 {
	color: #f7f5f3;
	line-height: 0.9;
}

#slide-copy p {
	color: #f7f5f3;
	margin-bottom: 0;
	font-weight: 400;
	font-size: 2.0rem;
}


/* Intro */

.home-intro {
	padding-top: 60px;
	padding-bottom: 70px;
}

.alive {
	font-family: 'Champ-ExtraBold';
    font-weight: normal;
    font-style: normal;
	font-size: 4.7rem;
	line-height: 0.9;
	margin-bottom: 30px;
	text-align: center;
	text-wrap: balance;
}


.alive-intro p {
	font-size: 1.8rem;
	text-align: center;
	margin-bottom: 0;
	text-wrap: balance;
}

@media (min-width: 768px) {
	.alive-intro p {
		font-size: 2.4rem;
	}
}


/* Events */

/*.home-events {
	padding-top: 100px;
	padding-bottom: 100px;
	background-color: #f7f5f3;
}

.home-event-text-outer {
	aspect-ratio: 3/2;
	padding: 20px;
}

.home-events h2 {
	font-size: 2.4rem;
	margin-bottom: 0;
	color: #f7f5f3;
}

.home-events h2.tint {
	color: rgba( 247,245,243,0.6 );
}*/

/* Events 2 */

.home-events {
	padding-bottom: 80px;
}

.home-events h2 {
	font-size: 2.4rem;
	margin-bottom: 0;
	color: #f7f5f3;
}

@media (min-width: 992px) { 
	.home-events h2 {
		font-size: 2.8rem;
	}
}


.home-events h2.tint {
	color: rgba( 247,245,243,0.6 );
}

.home-events #section-title h2 {
	text-align: center;
	color: rgba(35,45,50,0.2);
	font-size: 5rem;
	margin-bottom: 40px;
}

.home-event {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.home-event::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.4s ease;
  z-index: 0; /* keep it behind your text */
}

.home-event:hover::before {
  transform: scale(1.1);
}

/* ensure your text sits above the image */
.home-event > * {
  position: relative;
  z-index: 1;
}

.home-event-text-outer {
	aspect-ratio: 3/2;
	padding: 20px;
	width: 100%;
	flex-direction: column;
}

@media (min-width: 768px) {
	.home-event-text-outer {
		aspect-ratio: 3/2;
	}
}

.slant-outer {
	height: 10%;
	width: 100%;
	overflow: hidden;
}

.slant-inner {
	height: 100%;
	transform: skew(45deg);
	transform-origin: right bottom;
}

.home-event-text-inner {
	padding: 0 20px 20px 20px;
	height: 90%;	
}

@media (min-width: 768px) and (max-width: 1199.98px) {
	.home-event-text-inner {
		min-height: 180px;	
	}
}

.home-event-copy {
	flex-direction: column;
}


/* News */

.home-news {
	/*padding-top: 30px;*/
	padding-bottom: 30px;
	background-color: rgba(35,45,50,0.1);
}

@media (min-width: 768px) {
	.home-news {
		/*padding-top: 0;*/
		padding-bottom: 0;
	}
}

#news-article-home {
	flex-direction: column;
	margin-top: 30px;
	/*margin-bottom: 30px;*/
}

@media (min-width: 768px) {
	#news-article-home {
	margin-top: 50px;
	margin-bottom: 50px;
}
}

.home-news h3 {
	font-size: 2.8rem;
	margin-bottom: 20px;
}

#news-home-button {
	margin-top: 30px;
	margin-bottom: 30px;
}

@media (min-width: 768px) {
	#news-home-button {
		margin-bottom: 0;
	}	
}

#news-home-image {
	content: "";
	display: block;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	height: auto;
	aspect-ratio: 3/2;
}


/* Sponsors */

.home-sponsors {
	padding-top: 60px;
	padding-bottom: 60px;
}

.home-sponsors h3 {
	text-align: center;
}

.home-sponsor-logo {
    display: flex;
    justify-content: center;
    align-items: center;
	padding-top: 80px;
}

.home-sponsor-logo img {
	max-height: 100px;
	width: auto;
	max-width: 350px;
}

#sponsor-band {
	margin-bottom: 20px;
}

#sponsor-button {
	text-align: center;
	margin-top: 80px;
	text-wrap: balance;
}

/* Market */

.home-market {
	padding-top: 30px;
	padding-bottom: 30px;
	background-color: rgba(216, 181, 117, 0.5);
}

@media (min-width: 768px) {
	.home-market {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}

#market-article-home {
	flex-direction: column;
}

.home-market h3 {
	padding-top: 30px;
	margin-bottom: 15px;
}

@media (min-width: 768px) {
	.home-market h3 {
		padding-top: 0;
	}
}

#download-home-button {
	margin-top: 30px;
	margin-bottom: 10px;
	align-self: flex-start;
}

#register-home-button {
	align-self: flex-start;
}

#download-home-button:hover, 
#register-home-button:hover {
	color: rgba(235, 218, 186);
}



/* Footer */

.footer-form {
	padding-top: 40px;
	padding-bottom: 30px;
	background-color: #232d32;
}

.footer-form h4 {
	color: #f7f5f3;
}

.page-template-home-new .footer-form h4 {
		font-family: 'Champ-ExtraBold';
	margin-bottom: 20px;
}

.footer-form input[type="submit"] {
	color: #f7f5f3;
	border: 2px solid #f7f5f3;
}

.footer-form input[type="submit"]:hover {
	color: #232d32;	 
    background-color: #f7f5f3;
}

.footer-form input[type="text"],
.footer-form input[type="email"] {
    border-bottom: 2px solid #f7f5f3;
    color: #f7f5f3 !important;
}

.footer-form ::-webkit-input-placeholder {
    color: #f7f5f3 !important;
    opacity: 1;
}
.footer-form :-moz-placeholder {
    color: #f7f5f3 !important;
    opacity: 1;
}
.footer-form ::-moz-placeholder {
    color: #f7f5f3 !important;
    opacity: 1;
}
.footer-form :-ms-input-placeholder {
    color: #f7f5f3 !important;
    opacity: 1;
}




/* :::::::::::::::::::::::::::::

DESKTOP MENU

::::::::::::::::::::::::::::: */


#main-nav a {
    font-family: 'Champ-ExtraBold';
	font-size: 1.7rem;
	color: #232d32;
}

#main-nav ul {
	margin-top: 50px;
	margin-bottom: 0;
	line-height: 1;
	padding: 0
}

#main-nav ul li {
    display: inline-block;
    margin: 0 0 0 20px;
	padding: 0;
	background: none;
	padding-bottom: 32px;
}

#main-nav ul li:first-child {
	margin-left: 0;
}

#main-nav ul li:before {
    display: none;
}

/*#main-nav ul > li.current-menu-item a,
#main-nav ul > li.current-menu-parent a{
	color: #989898;
}*/



.main-menu:hover > li {opacity: .25;}

.main-menu > li:hover { opacity: 1;}



/* menu onclick icon */

.plus-minus-toggle,
.mobile-plus-minus-toggle {
	cursor: pointer;
	height: 12px;
	position: relative;
	width: 12px;
	float: right;
	margin-left: 10px;
	top: 4px;
	z-index: 1;
}

.plus-minus-toggle:before,
.plus-minus-toggle:after,
.mobile-plus-minus-toggle:before,
.mobile-plus-minus-toggle:after {
	background: #232d32;
	content: '';
	left: 0;
	position: absolute;
	transition: transform 500ms ease;
}

.plus-minus-toggle:before,
.mobile-plus-minus-toggle:before {
	height: 2px;
	width: 12px;
	top: 5px;
}

.plus-minus-toggle.collapsed:after,
.mobile-plus-minus-toggle.hidden:after {
	transform: scaleY(1);
}

.plus-minus-toggle:after,
.mobile-plus-minus-toggle:after {
	height: 12px;
	width: 2px;
	left: 5px;
	transform: scaleY(0);
	transition: transform 0.25s ease-in-out;
}

.main-menu li:hover .plus-minus-toggle,
.mobilemenu li:hover .mobile-plus-minus-toggle {
	opacity: 1;
}

/*------------------------------------*\
	Submenu Desktop
\*------------------------------------*/


#main-nav .sub-menu:before {
	height: 100vh;
	width: 100vw;
	background-color: rgba(247, 245, 243,0.9);
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0%;
	z-index: -1;
}

#main-nav .sub-menu:after {
	height: 100vh;
	width: 100vw;
	background-color: rgba(247, 245, 243,0.9);
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	z-index: -1;
}

#main-nav ul li.menu-item-has-children .sub-menu {
    display: none;
}

#main-nav ul li .sub-menu {
    margin-top: 31px;
	text-align: left;
	padding: 0;
	position: absolute;
	margin-left: 0;
	transition: .4s ease;
	z-index: 1;
}

#main-nav ul li .sub-menu li {
	display: block;
	color: #232d32;
	width: 100%;
	padding: 15px 0;
	margin: 0;
	white-space: nowrap;
	box-sizing: border-box;
}

#main-nav ul li .sub-menu li:first-child {
	padding-top:30px
}

.sub-menu:hover > li {opacity: .25;}

.sub-menu > li:hover { opacity: 1;}


/*#main-nav ul li .sub-menu li:hover {
	color: #ff4800;
}

#main-nav ul li .sub-menu li.current-menu-item {
	color: #ff4800;
}*/

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

.hamburger-btn {
	transform: translate(0, -50%);
	width: 25px;
	cursor: pointer;
	margin-top: 26px;
}

.hamburger-line {
	display: block;
	width: 100%;
	height: 2px;
	transition: all .3s;
	position: relative;
}

.not-active .hamburger-line {
	background: #232d32;
}

.active .hamburger-line {
	background: #232d32;
}

.hamburger-line + .hamburger-line {
	margin-top: 10px;
}

.active .hamburger-line:nth-child(1) {
  animation: ease .7s top forwards;
}

.not-active .hamburger-line:nth-child(1) {
  animation: ease .7s top-2 forwards;
}

.active .hamburger-line:nth-child(2) {
  animation: ease .7s bottom forwards;
}

.not-active .hamburger-line:nth-child(2) {
  animation: ease .7s bottom-2 forwards;
}

@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }
  50% {
    top: 6px;
    transform: rotate(0);
  }
  100% {
    top: 6px;
    transform: rotate(45deg);
  }
}

@keyframes top-2 {
  0% {
    top: 6px;
    transform: rotate(45deg);
  }
  50% {
    top: 6px;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}

@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }
  50% {
    bottom: 6px;
    transform: rotate(0);
  }
  100% {
    bottom: 6px;
    transform: rotate(135deg);
  }
}

@keyframes bottom-2 {
  0% {
    bottom: 6px;
    transform: rotate(135deg);
  }
  50% {
    bottom: 6px;
    transform: rotate(0);
  }
  100% {
    bottom: 0;
    transform: rotate(0);
  }
}


/* :::::::::::::::::::::::::::::

MOBILE  MENU

::::::::::::::::::::::::::::: */


#mobile-nav {
    font-family: 'Champ-ExtraBold';
	font-style: normal;
	font-size: 1.7rem;
	line-height: 1;
}

#mobile-nav.show {
	display: block;
	text-align: left;
	padding-top:30px;
	position: fixed;
	width: 100vw;
	z-index: 500;
	top: 90px;
	bottom: 0;
	background-color: #f7f5f3;
	height: 100vh;
	/*transition: 0.25s;*/
}

#mobile-nav {
	height: 0;
	overflow: hidden;
}

#mobile-nav ul {
	list-style: none;
    margin-top: 0;
	margin-bottom: 0;
    padding-left: 0;
}

#mobile-nav ul li {
	margin-left: 0;
	padding: 12px 0;
	margin-bottom: 0;
	background: none;
}

#mobile-nav ul li:before {
	content: none;
}

#mobile-nav ul li a {
	color: #232d32;
}

#mobile-nav li.menu-item-has-children .sub-menu {
    display: none;
}

#mobile-nav li .sub-menu {
    display: block;
}

#mobile-nav ul li .sub-menu li {
    padding: 12px 0;
    margin: 0;
}

#mobile-nav ul li .sub-menu li:first-child {
    padding-top: 24px;
}

.menu-logged-out-menu-right-container,
.menu-logged-in-menu-right-container {
	margin-top: 0;
}


/* Sponsors Page */

#sponsors-box {
	background-color: #232d32;
	padding: 30px;
	color: #f7f5f3;
	font-weight: 600;
	margin-top: 30px;
}

@media (min-width: 992px) {
	#sponsors-box {
		margin-top: 0;
	}
}

#sponsors-box p {
	margin-bottom: 30px;
}

#sponsors-box button, 
#sponsors-box .button {
	border: 2px solid #f7f5f3;
	color: #f7f5f3;
}

#sponsors-box button:hover, 
#sponsors-box .button:hover {
    color: #232d32;
    background: #f7f5f3;
}

#sponsors-list {
	margin-bottom: 50px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(35,45,50,0.1);
}

#sponsors-list h2 {
	margin-bottom: 20px;
	font-family: 'Champ-ExtraBold';	
	font-size: 2.4rem;
}

#sponsors-logo {
	aspect-ratio: 3 / 2;
	max-height: 182.5px;
	display: flex;
	justify-content: left;
	align-items: center;
	margin-bottom: 30px;
}

@media (min-width: 992px) {
	#sponsors-logo {
		justify-content: center;
		margin-bottom: 0;
	}
}

#sponsors-logo img {
	max-height: 100px;
	max-width: 350px;
}



/* Footer */

.footer-links {
	margin-top: 20px;
}

@media (min-width: 992px) {
	.footer-links {
		margin-top: 0;
	}
}

.footer-company-info > div > .row .col-md-4 a,
.footer-company-info ul,
.footer-company-info .socials p {
  font-family: 'Champ-ExtraBold';
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 3.0rem;
  margin-bottom: 0;
	list-style: none;
	padding: 0
}

.managed img {
	max-height: 55px;
	width: auto;
}

.managed p {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-style: normal;	
	font-size: 1.0rem;
	line-height: 1;
	text-align: left;
	margin-bottom: 15px
}

.copyright {
	margin-top: 40px;
}

@media (min-width: 768px) { 
	.copyright {
		margin-top: 0;
	}
}

.copyright p {
	font-family: 'Inter', sans-serif;
	font-size: 1.0rem;
	margin-bottom: 10px;
	text-align: left;
	line-height: 1.0rem;
}

@media (min-width: 768px) { 
	.copyright p {
		text-align: right;
	}
}

	.copyright p:last-of-type {
		margin-bottom: 0;
	}

.company-info {

  padding-top: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  border-top: 1px solid rgba(35,45,50,0.1);

}

.footer h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
	margin-top: 40px;
}