/*
Theme Name: Axolotl
Author: Propaganda3
Author URI: https://wordpress.org/
Description: An Amphibious WPO Theme.
Version: 1.0
Text Domain: Axolotl
*/

/* ------------------------------------------------------------ *\
	Keyframe Animations
\* ------------------------------------------------------------ */

@keyframes pulse {
  from { box-shadow: 0 0 0 0 rgba(0,20,70,.3); }
  to { box-shadow: 0 0 0 30px rgba(0,20,70,0); }
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ------------------------------------------------------------ *\
	Overwrites
\* ------------------------------------------------------------ */

.pi-20 {
	padding-inline: 20px;
}

/* ------------------------------------------------------------ *\
	Hero Featured
\* ------------------------------------------------------------ */

.hero-featured {
	position: relative;
	padding: 113px 0;
	background:  #003E75;
	background-size: minmax(auto, 50%) auto;
	color: #fff;
	font-size: 22px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5em;
	transform: translateZ(0);
}

.hero-featured:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -5;
	background: url(images/temp/hero-figure.svg) no-repeat bottom right / 100% auto;
	width: 720px;
}

.hero-featured p:last-child,
.hero-featured h2:last-child {
	margin-bottom: 0;
}

.hero-featured .hero__shell {
	padding: 0 15px;
}

.hero-featured .hero__head {
	margin-bottom: 44px;
	font-family: "Montserrat",sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	text-align: left;
	text-transform: uppercase;
}

.hero-featured .hero__actions {
	margin-bottom: 40px;
}

.hero-featured .hero__actions ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	gap: 44px;
}

.hero-featured .hero__actions li {
	border-radius: 100%;
}

.hero-featured:not(.is-ready) .hero__actions li:first-child {
	animation: pulse 2s;
	animation-iteration-count: infinite;
}

.hero-featured .hero__actions a {
	position: relative;
	display: block;
	width: 96px;
	height: 96px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #001446;
	color: #fff;
	border-radius: 100%;
	font-size: 42px;
	font-style: normal;
	font-family: "Montserrat",sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	transform: translateZ(0);
	transition: background .8s, box-shadow .8s;
}

.hero-featured .hero__actions a:before,
.hero-featured .hero__actions a:after {
	content: '';
	position: absolute;
	left: 100%;
	top: calc(50% - 6px);
	z-index: -5;
	height: 12px;
}

.hero-featured .hero__actions a:before {
	width: 44px;
	background: rgba(0,20,70,.3);
}

.hero-featured .hero__actions a:after {
	width: 0;
	background: #00B1E2;
	border-radius: 0 999em 999em 0;
}

.hero-featured .hero__actions li:last-child a:before,
.hero-featured .hero__actions li:last-child a:after {
	display: none;
}

.hero-featured .hero__slide {
	display: none;
	max-width: 548px;
}

.hero-featured .hero__slide.is-active {
	display: block;
	animation: fadein .8s;
}

.hero-featured .hero__slide h2 {
	margin-bottom: 16px;
	font-family: "Montserrat",sans-serif;
	font-size: 60px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.hero-featured .hero__slide p {
	line-height: inherit;
}

/* Ready  */

.hero-featured.is-ready .hero__actions li.is-active a {
	background: #00B1E2;
	box-shadow: 0 0 0 15px rgba(0,177,226,.3);
}

.hero-featured.is-ready.is-autoplay .hero__actions li.is-active a:after {
	transition: width 5s linear;
	width: 50px;
}

.hero-featured.is-ready:not(.is-autoplay) .hero__actions li a:after {
	width: 50px;
	opacity: 0;
	transition: opacity .8s;
	background: transparent;
}

.hero-featured.is-ready:not(.is-autoplay) .hero__actions li.is-active:not(.is-clicked) a:after {
	opacity: 1;
	background: #00B1E2;
}

@media(max-width: 1535px){

}

@media(max-width: 1279px){

}

@media(max-width: 1023px){
	.hero-featured:before {
		opacity: .5;
	}
}

@media(max-width: 767px){
	.hero-featured {
		padding: 60px 0;
		font-size: 20px;
	}

	.hero-featured .hero__slide h2 {
		font-size: 34px;
	}

	.hero-featured .hero__actions ul {
		gap: 20px;
	}

	.hero-featured .hero__actions a {
		width: 60px;
		height: 60px;
		font-size: 26px;
	}

	.hero-featured .hero__actions a:before {
		width: 20px;
	}

	.hero-featured.is-ready.is-autoplay .hero__actions li.is-active a:after,
	.hero-featured.is-ready:not(.is-autoplay) .hero__actions li a:after {
		width: 24px;
	}

	.hero-featured .hero__actions a:before,
	.hero-featured .hero__actions a:after {
		top: calc(50% - 4px);
		height: 8px;
	}

	/*	Ready */

	.hero-featured.is-ready .hero__actions li.is-active a {
		box-shadow: 0 0 0 10px rgba(0,177,226,.3);
	}
}

@media(max-width: 440px){
	.hero-featured {
		font-size: 18px;
	}

	.hero-featured .hero__actions ul {
		gap: 16px;
	}

	.hero-featured .hero__actions a {
		width: 44px;
		height: 44px;
		font-size: 20px;
	}

	.hero-featured .hero__actions a:before {
		width: 16px;
	}

	.hero-featured.is-ready.is-autoplay .hero__actions li.is-active a:after,
	.hero-featured.is-ready:not(.is-autoplay) .hero__actions li a:after {
		width: 20px;
	}
}

/* ------------------------------------------------------------ *\
	Is Style Hero
\* ------------------------------------------------------------ */

.wp-block-p3-wpo-container.is-style-hero {
	min-height: 0;
	padding-top: 38.1% !important;

}
@media(max-width: 470px){
	.wp-block-p3-wpo-container.is-style-hero {
		padding: 0 !important;
		aspect-ratio: 16/9;
/*			padding-top: 34.1% !important;*/
	}
}


/* ------------------------------------------------------------ *\
	Slider Overwrites
\* ------------------------------------------------------------ */

.slides-wrapper-block {
	cursor: default;
}

/* ------------------------------------------------------------ *\
	TikTok
\* ------------------------------------------------------------ */

.wp-block-embed-tiktok iframe {
	position: relative !important; 
}

/* ------------------------------------------------------------ *\
	Case Study
\* ------------------------------------------------------------ */

.case-study-form-wrapper h5 {
	margin-top: -10px;
	padding-bottom: 25px;
}

@media(max-width: 470px){
	.case_study_listing .post-card p {
		line-height: 21px !important;
	}
}

.next-post-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}

.next-post-wrapper a {
	width: 100% !important;
	animation: none;
	position: relative;
}

.next-post-wrapper .prev-post {
	justify-content: flex-end;
}

.next-post-wrapper a span {
	height: auto;
	width: auto;
	display: flex !important;
	line-height: 1;
	align-items: center;
	gap: 10px;
}

@media screen and (max-width: 767px) {
	.next-post-wrapper {
		display: flex;
		flex-direction: column;
		gap: 20px;
		height: 180px;
	}

	.next-post-wrapper a {
		height: auto;
	}

	.next-post-wrapper .prev-post {
		justify-content: flex-start;
	}

	.next-post-wrapper .next-post {
		justify-content: flex-end;
	}

	.next-post-wrapper a span {
		font-size: 24px;
		margin-inline: 15px;
	}
}

.next-post-wrapper .prev-post span:after {
	order: -1;
	rotate: -90deg;
}

.single-case_study .taxonomy a {
	text-decoration: none !important;
}

/* ------------------------------------------------------------ *\
	Icons
\* ------------------------------------------------------------ */

i[class^="ico-"] {
	display: inline-block;
	height: 17px;
	width: 15px;
	mask-size: contain;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-position: center;
	background: #003E75;
}

.ico-facebook {
	mask-image: url(images/ico-facebook.svg);
	-webkit-mask-image: url(images/ico-facebook.svg);
}

.ico-linkedin {
	mask-image: url(images/ico-linkedin.svg);
	-webkit-mask-image: url(images/ico-linkedin.svg);
}

.ico-twitter {
	mask-image: url(images/ico-twitter.svg);
	-webkit-mask-image: url(images/ico-twitter.svg);
}

.ico-mail {
	mask-image: url(images/ico-mail.svg);
	-webkit-mask-image: url(images/ico-mail.svg);
}

/* ------------------------------------------------------------ *\
	JazzHR embed
\* ------------------------------------------------------------ */

.resumator-basic-widget:before {
	content: 'Role';
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}

.resumator-basic-widget:after {
	content: 'Location';
	position: absolute;
	top: 0;
	left: 58.33%;
	display: block;
}

.resumator-basic-widget:before,
.resumator-basic-widget:after {
	color: #A7A8A9;
	line-height: 30px;
	font-size: 20px;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
}

@media screen and (max-width: 767px) {
	.resumator-basic-widget:before,
	.resumator-basic-widget:after {
		content: none;
	}
}

.resumator-basic-widget {
	padding-top: 30px;
}

.resumator-job {
	padding-block: 20px;
	display: flex;
	align-items: center;
	gap: 32px;
	position: relative;
	padding-right: 50px;
}

.resumator-job:not(:last-child) {
	margin-bottom: 32px;
}

.resumator-job:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: #00b1e2;
	transition: scale 250ms ease-in-out;
	transform-origin: bottom;
}

.resumator-job:hover:after {
	scale: 1 6;
}

.resumator-job .resumator-job-title {
	margin: 0;
	padding: 0;
	border: none;
	width: 58.33%;
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
	font-family: 'Montserrat', sans-serif;
	color: #001446;
}

.resumator-job .resumator-job-info {
	width: 33.33%;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-family: 'Lato', sans-serif;
	color: #53565a;
}

.resumator-job .resumator-job-link {
	font-size: 0;
	display: block;
	position: absolute;
	inset: 0;
}

.resumator-job .resumator-job-link:before {
	content: "\f061";
	visibility: visible;
	position: absolute;
	font-weight: 100;
	top: 50%;
	right: 0;
	translate: 0 -50%;
	rotate: -45deg;
	color: #000;
	font-family: 'Font Awesome 6 Pro';
	font-size: 40px;
	text-align: center;
	line-height: 40px;
	display: block;
	transition: color 250ms ease-out;
}

.resumator-job .resumator-job-link:hover:before {
	color: #00B1E2;
}

@media screen and (max-width: 767px) {
	.resumator-job {
		padding-block: 30px;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.resumator-job .resumator-job-title,
	.resumator-job .resumator-job-info {
		width: 85%;
	}

	.resumator-job .resumator-job-info {
		display: block;
	}
	
	.resumator-job .resumator-job-info span:not(:first-child) {
		display: block;
		height: 2px;
	}
}

.resumator-job-view-details {
	display: contents;
}

.resumator-job .resumator-job-info span {
	visibility: hidden;
	width: 10px;
}

.resumator-job .resumator-job-location {
	display: none;
}

/* ------------------------------------------------------------ *\
	Embed Tiktok
\* ------------------------------------------------------------ */

.wp-block-embed.is-provider-tiktok {
	padding-bottom: 0;
}

.wp-block-embed.is-provider-tiktok .wp-block-embed__wrapper {
	position: relative;
	inset: unset;
}

/* ------------------------------------------------------------ *\
	Share
\* ------------------------------------------------------------ */

@media screen and (max-width: 767px) {
	.share-links {
		display: flex;
		gap: 20px;
		align-items: center;
		margin-bottom: 30px;
	}

	.share-links ul {
		display: flex;
		gap: 20px;
		align-items: center;
		margin-bottom: 0 !important;
	}
}

/* ------------------------------------------------------------ *\
	Helpers
\* ------------------------------------------------------------ */
@media screen and (max-width: 767px) {
	.desktop-only {
		display: none;
	}
}

@media screen and (min-width: 768px) {
	.mobile-only {
		display: none;
	}
}

/* ------------------------------------------------------------ *\
		Section protected
\* ------------------------------------------------------------ */

body.admin-bar .section-protected .section__inner {
	min-height: calc(100vh - 109px);
}

@media screen and (max-width: 1024px) {
	body.admin-bar .section-protected .section__inner {
		min-height: calc(100vh - 94px);
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar .section-protected .section__inner {
		min-height: calc(100vh - 108px);
	}
}

.section-protected .section__inner {
	display: grid;
	grid-template-columns: 41.8% 1fr;
	min-height: calc(100vh - 77px);
	overflow: hidden;
}

.section-protected .section__aside {
	position: relative;
	background: #003F75;
	padding: 36px 45px;
}

.section-protected .section__content {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	padding: 280px 40px;
}

.section-protected .section__content-inner {
	margin: auto 0;
}

.section-protected .section__logo {
	max-width: 216px;
}

.section-protected .section__image {
	position: absolute;
	top: 3.5%;
	left: -31%;
	right: 17.8%;
	bottom: 0;
}

.section-protected .section__image img {
	width: 100%;
}

.section-protected .section__small-title {
	margin-bottom: 8px;
}

.section-protected .section__small-title h4 {
	font-size: 29px;
	color: #03B8EE;
}

.section-protected .section__head h2 {
	font-size: 48px;
	color: #013E73;
	margin-bottom: 10px;
}

.section-protected .post-password-form {
	max-width: 350px;
}

.section-protected .post-password-form input {
	padding: 2px 10px 4px;
	outline: 0;
	border: 1px solid #013E73;
}

.section-protected .post-password-form .form-submit {
	padding: 2px 25px 4px;
	transition: color .4s, background .4s;
	cursor: pointer;
}

.section-protected .post-password-form .form-submit:hover {
	background: #013E73;
	color: #fff;
}

.section-protected .section__image-small {
	position: absolute;
	bottom: 126px;
	right: 12.1%;
	max-width: 127px;
}

.section-protected .post-password-form .form-row {
	display: flex;
	gap: 20px;
}

@media screen and (max-width: 1023px) {
	.section-protected .section__inner {
		min-height: calc(100vh - 62px);
	}
}

@media screen and (max-width: 767px) {
	.section-protected .section__aside {
		display: none;
	}

	.section-protected .section__inner {

		background: #003F75;
		grid-template-columns: 100%;
	}

	.section-protected .section__image-small {
		position: static;
		margin-left: auto;
		margin-top: 50px;
	}

	.section-protected .section__content {
		background: initial;
		padding: 50px 20px;
	}

	.section-protected .section__small-title h4 {
		font-size: 24px;
		color: #fff;
	}

	.section-protected .section__head h2 {
		font-size: 32px;
		color: #fff;
	}

	.section-protected .post-password-form input {
		padding: 2px 10px 4px;
		outline: 0;
		border: 1px solid #fff;
	}

	.section-protected .post-password-form .form-submit {
		color: #fff;
	}
}

@media screen and (max-width: 575px) {
	.section-protected .post-password-form {
		max-width: initial;
	}
}
