/*
 Theme Name:   eFaktor
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

html {
	scroll-behavior: smooth;
}

.gb-dynamic-read-more{
    font-weight: 700;
    display: block;
}

/* Container link */

.stretch-link{
	position: relative;
}

.stretch-link a::after{
	content: '';
	position: absolute;
	inset: 0;
}

.stretch-link a:is(:focus-visible)::after{
	outline: 2px solid;
}

.stretch-link a:is(:hover, :focus){
	outline: none;
}

.jobForm-grid{
	display: grid;
    grid-template-columns: 1.3fr 2fr;
	gap: 40px;
}

.jobForm-grid input,
.jobForm textarea{
	width: 100%;
	background: #fffae5;
    border-bottom: 1px solid #333;	
	border-top: 0;
	border-left: 0;
	border-right: 0;
}	

.jobForm-grid input:focus-visible,
.jobForm textarea:focus-visible{
	outline: none;
}

.jobForm-row{
	padding-bottom: 20px;
}

.jobForm-label{
	font-size: 0.8em;
	color: #000;
    padding-bottom: 0.5rem;	
}

.jobForm-button{
	max-width: 300px;
	width: 100%;
    display: block;
    box-shadow: 0px 2px 4px rgb(34 39 47 / 12%);
    text-align: center;
    margin: 0 auto;
	background-color: #000 !important;
}

.jobForm-button:hover{
	background-color: #222222 !important;
}

.wpcf7-not-valid-tip {
    font-size: 0.9em !important;
}

.cd-upload-btn {
    color: #000000 !important;
}

.codedropz-upload-handler {
    border: 2px dashed #ffffff !important;
}

.partnerForm-row{
	padding-bottom: 20px;
}

.partnerForm-coop-row{
	padding-bottom: 30px;
}

.partnerForm-coop-row-center{
	text-align: center;
}

.partnerForm-coop-row-grid{
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;	
}

.partnerForm-coop{
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.partnerForm-label{
	font-size: 0.8em;
	color: #686868;
}

.partnerForm-coop label{
	font-size: 1em;
    color: #000000;
}

.partnerForm .wpcf7-checkbox .wpcf7-list-item{
	font-size: 0.7em;
	display: flex;
    gap: 8px;	
	align-items: baseline;	
}

.partnerForm-grid{
	display: grid;
    grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.partnerForm-coop-grid{
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
}

.partnerForm input:not([type="submit"]):not([type='checkbox']),
.partnerForm select{
	width: 100%;
    border-bottom: 1px solid #bdbdbd;	
	border-top: 0;
	border-left: 0;
	border-right: 0;
	font-size: 0.9em;
	padding: 5px 5px 5px 0;
}	

.partnerForm input:not([type="submit"]):not([type='checkbox']):focus{
	border-bottom: 1px solid var(--accent);	
}

.partnerForm select{
	width: 215px;
}

.partnerForm input:focus-visible,
.partnerForm textarea:focus-visible{
	outline: none;
}

.wpcf7-list-item {
    margin: 0;
}

.partnerForm-button {
    background-color: var(--accent);
    color: var(--contrast-2);
	box-shadow: 0px 2px 4px rgb(34 39 47 / 12%);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 1.25px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .2s ease 0s;
    padding: 0.8rem 5rem;
}

.partnerForm-button:hover{
	background-color: #000000;
    color: #ffd100;	
}

.partnerForm-button::after {
	content: url("../../../wp-content/uploads/2025/08/arrow-right-yellow.svg") ;
	width: 0.8em;
	height: 0.8em;
	line-height: 1.4em;
	opacity: 0;
	transition: all 0.2s;
	margin-left: -1em;
	direction: ltr;
	position: absolute;
}

.partnerForm-button:hover::after  {
	opacity: 1;
	margin-left: 0.4em;
}

@media only screen and (max-width: 768px) {
	.jobForm-grid,
	.partnerForm-grid,
	.partnerForm-coop-grid,
	.partnerForm-coop-row-grid{
		grid-template-columns: 1fr;
	}
	.partnerForm-coop{
		display: inline;
	}	
	.partnerForm-coop select{
		width: 100%;
		margin-bottom: 20px;
	}	
}

.cw-tooltip {
	font-size: 12px;
	position: relative;
	display: inline-block;
	text-decoration: underline;
}

.cw-tooltip .tooltiptext {
	font-size: 12px;
	visibility: hidden;
	width: 160px;
	background-color: #000000;
	color: #fff;
	text-align: center;
	border-radius: 8px;
	padding: 8px 5px;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -80px;
	opacity: 0;
	transition: opacity 0.3s;
}

.cw-tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #000000 transparent transparent transparent;
}

.cw-tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}



/* 
Range slider - https://range-input-css.netlify.app/
*/

/*********** Baseline, reset styles ***********/
input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	width: 100%;
}

/* Removes default focus */
input[type="range"]:focus {
	outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
	background-color: #f1f1f1;
	border-radius: 1rem;
	height: 1.3rem;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; /* Override default look */
	appearance: none;
	margin-top: -3.1999999999999993px; /* Centers thumb on the track */
	background-color: #ffd100;
	border-radius: 1rem;
	height: 1.7rem;
	width: 1.7rem;
}

input[type="range"]:focus::-webkit-slider-thumb {
	outline: 3px solid #ffd100;
	outline-offset: 0.125rem;
}

/*********** Firefox styles ***********/
/* slider track */
input[type="range"]::-moz-range-track {
	background-color: #f1f1f1;
	border-radius: 1rem;
	height: 1.3rem;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
	background-color: #ffd100;
	border: none; /*Removes extra border that FF applies*/
	border-radius: 1rem;
	height: 1.7rem;
	width: 1.7rem;
}

input[type="range"]:focus::-moz-range-thumb {
	outline: 3px solid #ffd100;
	outline-offset: 0.125rem;
}

/*
Range slider tooltip
*/

input[type="range"] {
	height: initial;
}

.cw-range-tooltip {
	position: absolute;
	top: -80px;
}

.cw-range-tooltip span {
	width: 144px;
	height: 60px;
	line-height: 24px;
	text-align: center;
	background: #ffffff;
	color: #000;
	font-size: 15px;
	display: block;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	border-radius: 6px;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.21);
	padding-top: 5px;
	z-index: 10;
}

.cw-range-tooltip span:before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-top: 10px solid #ffffff;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	margin-top: -1px;
}

.cw-slider-desc-left {
	position: absolute;
	bottom: -2.2rem;
	inset-inline-start: 0px;
	font-weight: 600;
	font-size: 16px;
}

.cw-slider-desc-right {
	position: absolute;
	bottom: -2.2rem;
	inset-inline-end: 0px;
	font-weight: 600;
	font-size: 16px;
}

.cw-range-slider{
	position: relative;
	margin-top: 120px;
	margin-bottom: 60px;
}

@media only screen and (max-width: 768px) {
	.cw-range-slider{
		display: none;
	}
}




.sticker {
	right: -280px;
	position: fixed;
	box-shadow: 0px 16px 32px rgba(34, 39, 47, 0.1);
	width: 320px;
	z-index: 99;
	opacity: 1;
	top: 50%;
	margin-top: -93px;
	background: #ffd100;
	will-change: transform;
	transition: all 0.3s ease-out;
	display: flex;
}
.sticker-hidden {
	right: -280px;
	opacity: 0 !important;
}
.sticker.is-visible {
	right: 0;
	opacity: 1;
}
.sticker__hide {
	width: 25px;
	background: #000;
	background-image: url("../../../wp-content/uploads/2025/08/whiteArrow.svg");
	background-position: center center;
	background-repeat: no-repeat;
	transform-origin: center center;
	transition: background-image 1s ease;
	padding: 10px;
}
.sticker__hide.active {
	transform: rotate(-180deg);
}
.sticker__box {
	padding: 20px;
}
.sticker__box--paragraph {
	font-family: "Nunito Sans", sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 21px;
	display: flex;
	align-items: flex-end;
	color: #000000;
	margin-bottom: 0;
}
.sticker__box--head {
	font-family: 'Poppins', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 24px;
	line-height: 32px;
	display: flex;
	align-items: flex-end;
	color: #000000;
	padding-bottom: 10px;
}
.sticker__box--button {
	display: block;
}
.sticker__box--button__href {
	width: 120px;
	height: 30px;
	background: #ffffff;
	box-shadow: 0px 2px 4px rgba(34, 39, 47, 0.12);
	font-family: Nunito Sans;
	font-style: normal;
	font-weight: 600;
	font-size: 12px;
	line-height: 30px;
	text-align: center;
	letter-spacing: 0.2px;
	color: #000000;
	position: relative;
	display: inline-block;
}
.sticker__box--button__href::after {
	content: url("../../../wp-content/uploads/2025/07/arrow-right.svg") ;
	width: 12px;
	height: 12px;
	opacity: 0;
	position: absolute;
	margin-left: -1em;
	font-style: normal;
	font-weight: 400;
	font-feature-settings: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-shadow: 0 0;
	direction: ltr;
	transition: all 0.2s;
	text-transform: none;
	-webkit-font-feature-settings: "kern" off;
	font-feature-settings: "kern" off;
	font-variant: none;
	font-style: normal;
	font-weight: 400;
	text-shadow: none;
}
.sticker__box--button__href:hover::after {
	opacity: 1;
	margin-left: 0.3em;
}

@media (max-width: 768px) {
	.sticker {
		display: none;
		visibility: hidden;
	}
}

.sticker__mobile {
	visibility: hidden;
	display: none;
}
@media (max-width: 767px) {
	.sticker__mobile {
		position: fixed;
		width: 60px;
		height: 60px;
		right: 20px;
		bottom: -220px;
		z-index: 99;
		opacity: 0;
		visibility: hidden;
		display: none;
		transition: all 0.4s ease;
		animation: phone 1s cubic-bezier(0.12, 0.7, 0.74, 0.71) infinite alternate-reverse;
	}
	.sticky__circle {
		height: 80px;
		width: 80px;
		border-radius: 50%;
		z-index: 1;
		background-color: rgb(255, 209, 0);
		position: fixed;
		z-index: 98;
		right: 10px;
		bottom: 10px;
		animation: scaling 1s cubic-bezier(0.12, 0.7, 0.74, 0.71) infinite;
	}
	@-webkit-keyframes scaling {
		0% {
			-webkit-transform: scale(1);
			transform: scale(1);
			background-color: rgb(255, 209, 0);
		}
		100% {
			-webkit-transform: scale(2);
			transform: scale(2);
		}
	}
	@keyframes scaling {
		0% {
			-webkit-transform: scale(1);
			transform: scale(1);
			background-color: rgb(255, 209, 0);
		}
		100% {
			-webkit-transform: scale(2);
			transform: scale(2);
			background-color: rgba(255, 209, 0, 0);
		}
	}
	.circle1 {
		animation-delay: 0s;
	}
	.circle2 {
		animation-delay: 1s;
	}
	.sticker__mobile.is-visible {
		bottom: 20px;
		opacity: 1;
		display: block;
		visibility: visible;
		border-radius: 100px;
		z-index: 99;
	}
	.sticker__mobile svg g.elipsa circle {
		fill: rgb(255, 209, 0);
		transition: fill 0.5s ease;
	}
	.sticker__mobile svg g.lines path {
		fill: white;
		fill-rule: nonzero;
		transition: fill 0.5s ease;
	}
	.sticker__mobile:hover svg g.elipsa circle {
		fill: black;
	}
}

@-webkit-keyframes phone {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	100% {
		-webkit-transform: scale(1.5);
		transform: scale(1.5);
	}
}
@keyframes phone {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	100% {
		-webkit-transform: scale(1.5);
		transform: scale(1.5);
	}
}