/* Hacky LWC styling workarounds (May not keep long-term) */

div [id*='help-message'] {
	display: none !important;
}

abbr[title='required'] {
	display: none;
}

input.slds-input[type='text'],
input.slds-input[type='tel'],
input.slds-input[type='password'],
input[type='number'] {
	height: 39.52px;
}

.slds-modal__header h1:focus-visible {
	outline: none;
}

.slds-popover {
	max-width: 250px !important;
}

body {
	background-color: var(--themeColorLightBackground) !important;
}

textarea.slds-input,
input.slds-input[type='email'],
input.slds-input[type='number'],
input.slds-input[type='password'],
input.slds-input[type='search'],
input.slds-input[type='tel'],
input.slds-input[type='text'],
input.slds-input[type='url'],
input.slds-input[type='color'],
input.slds-input[type='date'],
input.slds-input[type='datetime'],
input.slds-input[type='datetime-local'],
input.slds-input[type='month'],
input.slds-input[type='time'],
input.slds-input[type='week'],
select.slds-input,
select.slds-input[multiple='multiple'] {
	border-radius: 3px;
	background-clip: padding-box;
	transition: border-color 0.3s;
	background-color: white;
	border: 1px solid  #c3c4c6;
	font-family: var(--themeFont);
	font-size: 16px;
	padding: 6.66667px;
	width: 100%;
}

.slds-has-error input[type='email'],
.slds-has-error input[type='number'],
.slds-has-error input[type='password'],
.slds-has-error input[type='search'],
.slds-has-error input[type='tel'],
.slds-has-error input[type='text'],
.slds-has-error input[type='url'],
.slds-has-error input[type='color'],
.slds-has-error input[type='date'],
.slds-has-error input[type='datetime'],
.slds-has-error input[type='datetime-local'],
.slds-has-error input[type='month'],
.slds-has-error input[type='time'],
.slds-has-error input[type='week'] {
	border: 1px solid #ED1C24;
	background-color: #FEF1F1;
}

input:focus,
input:focus-visible,
select:focus,
select:focus-visible {
	border: 2px solid var(--themeColorPrimary) !important;
	box-shadow: none !important;
	outline: none !important;
}

select {
	background-image: url('../images/picklist-arrow.svg');
	appearance: none;
	background-repeat: no-repeat;
	background-position: 100% 50%;
	height: 39.53px !important;
}

div.slds-form-element__icon {
	padding-top: 0 !important;
}

.break-word {
	overflow-wrap: anywhere;
}

.required-label-color,
.required-label-color font,
.error-text {
	color: #ed1c24 !important;
}

.invisible {
	visibility: hidden !important;
}

.checkbox-label-inline {
	display: flex;
	align-items: center;
}

.orange-link {
	color: var(--themeColorPrimary) !important;
}

.mobile-action-div,
.file-upload-modal-div {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.goog-te-gadget-simple {
	border: 0 !important;
	padding: 0 !important;
}

.goog-te-gadget-simple {
	border: 0 !important;
	padding: 0 !important;
}

.goog-te-gadget-simple a {
	margin-right: 20px;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.goog-te-gadget {
	font-family: var(--themeFont);
}

.goog-te-gadget span {
	font-size: 16px;
}

.goog-te-gadget-icon {
	display: none;
}

.no-scroll {
	overflow: hidden;
	height: 100%;
}

.lwc-modal h1,
.lwc-modal h2,
.lwc-modal h3,
.lwc-modal h4,
.lwc-modal h5 {
	display: block;
	color: black;
	font-family: var(--themeHeaderFont);
	font-weight: 700;
	text-transform:initial;
	line-height: 1.1;
	margin-top: 10px;
	margin-bottom: 10px;
}

.lwc-modal h1 {
	font-size: 40px;
	line-height: 44px;
	margin-top: 20px;
}

.input-footer-text {
	font-size: 14px;
	color: #636466;
}

.checkbox-input-label {
	cursor: pointer;
	line-height: 28px;
	padding-top: 2.5px;
}

.checkbox-input-label-disabled {
	line-height: 28px;
}

.checkbox-input-label-read-only {
	line-height: 28px;
}

.login-header {
	padding: 48px;
	display: flex;
	justify-content: center;
	background-color: white;
}

.login-body h1 {
	margin-top: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 20px !important;
	font-size: 40px !important;
	font-weight: 900 !important;
}

.login-body h4 {
	font-size: 18px !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
	display: none !important;
}

.goog-text-highlight {
	background: none !important;
	box-shadow: none !important;
}

@media only screen and (max-width: 1350px) {
	.content-spacing {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.sticky-sidebar {
		padding-right: 15px !important;
	}
}

@media only screen and (max-width: 992px) {
	.application-wrapper {
		display: block;
		padding-top: 25px;
		padding-bottom: 130px !important;
	}

	.ranking-mobile-padding {
		padding-bottom: 160px !important;
	}

	.no-progress-bar {
		padding-bottom: 10px !important;
	}

	.sticky-sidebar {
		margin-left: 0 !important;
		position: fixed !important;
		bottom: 0 !important;
		left: 0 !important;
		padding: 15px 25px !important;
		width: 100% !important;
		box-sizing: border-box !important;
		z-index: 999 !important;
		background-color: var(--themeColorLightBackground) !important;
		margin-top: 10px !important;
	}
}

@media (max-width: 767px) {
	.content-spacing {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

@media (max-width: 500px) {
	.mobile-action-div {
		display: block;
	}

	.file-upload-modal-div {
		gap: 8px;
	}
}