/*---------------------------------------------------------
 10. Support (_support.scss)
-------------------------------------------------------- */
.stag-image img {
	width: 100%; // Needed for firefox
}

.jetpack_subscription_widget p {
	margin-bottom: 30px;
}

@supports ( object-fit: cover ) {
	.type-square .tiled-gallery-item img {
		object-fit: cover;
	}
}

.load-more-posts {
	text-transform: uppercase;
	font-weight: bold;
}

div.sharedaddy h3.sd-title.sd-title {
	font-size: 16px;
	padding-right: 5px;
	margin: 0;
	vertical-align: middle;

	&:before {
		display: none;
		opacity: 0;
	}
}
.sd-content.sd-content {
	display: inline-block;
	vertical-align: middle;
	ul {
		margin: 0 !important;
	}
}

/* jetpack contact form */
.contact-form {
	padding: 50px 35px 0 35px;
	background-color: #f6f6f6;
	text-align: left;

	.contact-form input[type='text'],
	.contact-form input[type='email'] {
		border-radius: 3px;
	}

	select,
	input,
	textarea {
		width: 100% !important;
		max-width: 100% !important;
	}

	div {
		margin-bottom: 40px;
		float: left;
		width: 50%;

		&:nth-child(odd) {
			padding-right: 15px;
		}

		&:nth-child(even) {
			padding-left: 15px;
		}

		&:last-of-type {
			clear: both;
			float: none;
			width: 100%;
			padding: 0;
		}
	}

	.contact-submit {
		background: #fff;
		padding: 0;
		margin-left: -35px;
		margin-right: -35px;
		margin-bottom: -50px;
		padding-top: 40px;

		input {
			width: auto !important;
		}
	}
}

/* Jetpack Social Icon Widgets */
.widget_wpcom_social_media_icons_widget .genericon {
	font-size: 30px;
}

/*---------------------------------------------------------
 Restrict Content Pro styles (_support.scss)
-------------------------------------------------------- */
#rcp_registration_form {
	padding: 0 !important;
}

.rcp_form {
	text-align: left;
	font-size: 18px;
	font-size: 1.125rem;

	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="password"] {
		width: 100%;
		border: 2px solid #F0F0F0;
		border-radius: 3px;
		background: #fff;
		padding: 10px;
		height: 54px;
		transition: all 150ms ease-in-out;
		color: #2C2C2C;
		&:focus,
		&:hover {
			border-color: darken(#F0F0F0, 20%);
		}
	}

	label[for="rcp_user_remember"],
	label[for="rcp_auto_renew"],
	#rcp_user_remember {
		display: inline-block;
		vertical-align: middle;
		line-height: 1;
	}

	label[for="rcp_user_remember"],
	label[for="rcp_auto_renew"] {
		padding: 0;
		display: inline-block;
		float: none;
		width: auto !important;
		vertical-align: middle;
		font-weight: normal;
		letter-spacing: 0;
		text-transform: initial;
		font-family: inherit;
		font-size: 15px;
		line-height: 2;
		color: #797979;
	}

	#rcp_user_remember,
	#rcp_auto_renew {
		float: none;
		vertical-align: middle;
		display: inline-block;
		margin: 0 7px 0 0;
	}

	.unit.one-of-two {
		width: 49.5%;

		@include media(max-width $two) {
			width: 100%;
		}
	}

	.unit.one-of-three {
		width: 33%;

		@include media(max-width $two) {
			width: 49.5%;
		}

		@include media(max-width $one) {
			width: 100%;
		}
	}

	input.required {
		color: #2C2C2C;
	}

	legend {
		margin-bottom: 20px !important;
	}

	label {
		width: 100% !important;
		font-size: 13px;
		text-transform: uppercase;
		color: #494949;
		letter-spacing: 3px;
		font-weight: 700;
		padding: 0 0 8px 0;
		display: inline;
	}
	li {
		padding: 40px 30px;
		transition: background-color 300ms ease-in-out;
		margin: 0 0 5px !important;
		&:hover,
		&.checked {
			background-color: #F6F6F6;
		}
	}

	p {
		padding: 20px 30px 20px 0;
		margin: 0 !important;
		color: #797979;
		font-size: 15px;
		line-height: 2;

		&:last-child {
			margin-bottom: 0;
			margin-top: 0;
		}

		@include media(max-width $two) {
			width: 100%;
		}
	}

	select {
		background: #fff;
		font-size: 18px;
		line-height: 30px;
		color: #2C2C2C;
		height: 54px;
		border: 2px solid #F0F0F0;
		background: url(assets/img/down.png) no-repeat right #fff;
		background-size: 14px;
		background-position: calc(100% - 13px);
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		-webkit-appearance: none;
		-moz-appearance: none;
		padding: 8px 35px 8px 8px;

		&:focus,
		&:hover {
			border-color: darken(#F0F0F0, 20%);
		}

		&.half-width {
			width: 50%;

			@include media(max-width $two) {
				width: 100%;
			}
		}

		&.full-width {
			width: 100%;
		}
	}

	.form-header {
		font-weight: normal;
		margin: 25px 0 50px 0;
	}

	.grid-section {
		padding: 35px 0 35px 35px;
		margin-top: 10px;
		margin-bottom: 40px;
		background: #f6f6f6;
		width: 100%;
		max-width: 100%;
		display: inline-block;
	}

	h3 {
		text-align: left;
		padding: 20px 0;
		font-size: 20px;
		font-weight: normal;
		color: #2C2C2C;
		line-height: 1.2;
		margin-bottom: 0 !important;
	}

	fieldset {
		margin-left: 0;
	}
}

#rcp_payment_gateways {
	margin-right: 65px !important;
	padding: 0 !important;

	@include media(max-width $two) {
		margin-right: 35px !important;
	}
}

.rcp_login_link p {
	padding-top: 0 !important;
	padding-bottom: 60px !important;
	color: #2C2C2C;
	font-size: 18px;
}

.accent-background {
	color: #fff;
}

#rcp_login_submit {
	display: inline-block;
	margin-bottom: 10px;
	margin-right: 20px;
}

.rcp_form {
	.rcp_subscription_message {
		font-size: 25px;
		color: #2C2C2C;
		font-size: 25px;
		font-weight: 700;
		padding-bottom: 40px;
	}

	#rcp_subscription_levels {
		background: none;
		padding: 0;
		margin: 0;
		list-style: none;
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 20px;
		li {
			padding: 0;
			margin: 0;
		}
	}
	#rcp_subscription_levels input[type="radio"] {
		margin-right: 12px;
		margin-top: 4px;
	}
	#rcp_subscription_levels input,
	#rcp_subscription_levels label {
		float: left;
	}
	#rcp_subscription_levels input {
		padding-top: 0;
		margin-top: 0;
	}
	#rcp_subscription_levels label {
		display: inline-block;
		width: auto !important;
		width: calc(100% - 40px ) !important;
		margin-top: 0;
		padding-top: 0;
		padding-bottom: 0;
		text-transform: none;
		font-weight: 400;
		letter-spacing: 0;
	}
}

.rcp_price,
.rcp_level_duration {
  text-transform: uppercase;
  color: #A9A9A9;
  font-size: 14px;
  line-height: 30px;
  font-weight: 700;
}

.rcp_header {
  font-size: 28px;
  font-size: 1.75rem;
  line-height: 1.2;
  text-align: left;
}
.entry-content .rcp_header {
  margin-bottom: 15px;
}

.rcp_subscription_level .rcp_level_description {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 26px;
  border: none;
  color: #636363;
}

.rcp_lost_password {
	float: right;
	width: 30%;
	text-align: right;
	text-transform: initial;
	letter-spacing: 0;
	font-weight: normal;
}

.rcp_message {
	font-size: 18px;
	font-size: 1.125rem;
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	color: #d15858;

	p {
		margin: 0;
	}
}

.rcp_subscription_level {
	padding-left: 2px;
}

.rcp_logged_in {
	margin-bottom: 20px;
}

#rcp_profile_display_name_wrap select {
	margin-left: 1px;
}

.full-width-button {
	display: block;
	width: 100%;
}

#rcp_submit_wrap {
	margin-top: 20px !important;
}

.locked-options {
	width: 450px;
	max-width: 100%;
	margin: 50px auto;
	padding: 30px;
	background-color: #f6f6f6;
}
.locked-options.white-buttons {
	border-color: white;
}
.locked-options.white-buttons .form-divider {
	border-color: white;
}
.locked-options.has-access {
	display: none;
}
.locked-options .stag-button {
	display: block;
	width: 100%;
	margin: 0;
	padding: 16px 45px;
	border: 0;
	margin-bottom: 30px;
	background: $accent;
	font-size: 14px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #fff;

	&:last-child {
		margin-bottom: 0;
	}
}
.locked-options .stag-button:nth-of-type(2) {
	position: relative;
	top: -3px;
}

.rcp_subscription_level_name {
	font-size: 20px;
	line-height: 1.2;
	margin-bottom: 6px;
	display: block;
}

p.rcp_error {
	background: transparent !important;
	color: inherit !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.page table th {
	color: inherit;
}

.blockOverlay {
	background: transparent !important;
}

#rcp_discount_code_wrap .rcp_button {
	margin-top: 10px;
	color: inherit;
	border-color: inherit;

	&:hover {
		background-color: transparent;
	}
}

.rcp_registration_total {
	.rcp-total,
	.rcp-recurring-total {
		font-size: 18px;
		line-height: 1.6;
		font-weight: 700;
	}
	.rcp-total th,
	.rcp-recurring-total th {
		font-family: inherit;
		letter-spacing: 0;
		font-size: 18px;
		text-transform: initial;
	}
}

.rcp_gateway_fields {
  margin-bottom: 0 !important;
  label {
    font-size: 18px;
    line-height: 30px;
    font-weight: 700;
    letter-spacing: 0;
	text-transform: initial;
	padding: 0;
    display: block;
  }
}

.rcp_gateways_fieldset {
	padding: 35px !important;
	background: #f6f6f6;
}

.rcp_card_fieldset {
	padding: 0 35px 0 35px !important;
	background: #f6f6f6;
	p {
		width: 50%;
		float: left;

		&:nth-child(2n) {
			padding-right: 0 !important;
		}

		@include media(max-width $two) {
			width: 100%;
			padding: 20px 0;
		}
	}
	.rcp_expiry_separator {
		display: none;
	}
	#rcp_card_exp_wrap select {
		float: left;
		width: 47%;
		margin-right: 6%;
		&:last-child {
			margin-right: 0;
		}
	}
}

#rcp_auto_renew_wrap {
	background: #f6f6f6;
	padding: 25px 35px;

	&.adjust-padding {
		padding: 15px 35px 50px 35px;
	}
}

.rcp_login_data {
	.rcp_submit {
		padding: 0;
	}
}
.rcp_agree_to_terms_fieldset input, .rcp_agree_to_privacy_policy_fieldset input {
	min-height: auto;
}

/* Add compatibility with iPhone X */
.site {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

#rcp_registration_form,
#rcp_profile_editor_form {
	fieldset:not(:last-of-type) {
		background: #F6F6F6;
		padding: 35px 0 35px 35px;
		margin-top: 10px;
		margin-bottom: 40px;

		@include media($two) {
			display: grid;
			grid-template-columns: 1fr 1fr;
			grid-gap: 20px;
		}
	}

	legend {
		text-align: left;
		padding: 20px 0;
		font-size: 20px;
		font-weight: normal;
		color: #2C2C2C;
		line-height: 1.2;
		position: relative;
		top: 50px;
		text-transform: none;
	}
}

.rcp_login_data {
	background: #f6f6f6;
	padding: 35px;
}
