body {
	padding: 20px;
}

.step {
	display: none;
}

/* Loader */
.loading {
  position: fixed;
  z-index: 9999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.4);
  width: 100%;
  height: 100%;
  display: none;
}

.post_container {
	padding-top: 0px;
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
	position: relative;
}

.post_container textarea {
	margin-bottom: 10px;
	padding: 20px;
	border-radius: 2px !important;
/* 	box-shadow: inset 0 1px 3px #ddd !important; */
	border: 0px;
	min-height: 200px;
}

.post_container p {
	#color: #797979;
	margin-bottom: 15px !important;
}

.textarea_container {
	background: white;
	border: 1px solid #f2f2f2;
	border-top: 5px solid #E67E21;
	margin-bottom: 12px;
	position: relative;
}

.name_container, .input_container {
	margin-bottom: 15px;
	text-align: left;	
	position: relative;
}

.add_container {
	margin-bottom: 15px;
	text-align: left;	
	position: relative;
}

#video_choice div {
	#display: inline-block;
}

#video_choice .video_button {
	border: 1px solid #ccc;
	background: transparent;
	padding: 16px 12px 12px 12px;
	cursor: pointer;
	cursor: hand;
	text-align: center;
	vertical-align: middle;
	margin-bottom: 5px;
	border-radius: 4px;
}

#video_choice .video_button span {
	font-size: 14px;
	display: block;
	margin-top: 10px;
}

#video_choice .video_button:hover, #video_choice .video_button.selected, #photos .photo_button:hover {
	border-color: black;
}

#video_choice .video_upload {
	width: 0px;
	height: 0px;
	overflow: hidden;
}

#video_choice .file_progress {
	width: 100%;
	background-color: lightgrey;
}

#video_choice .file_progress_bar {
	width: 0%;
	height: 10px;
	background-color: green;
}

#photos .photo_upload {
	width: 0px;
	height: 0px;
	overflow: hidden;
}

#photos .photo_button {
	border: 1px solid #ccc;
	background: #fff;
	padding: 16px 12px 12px 12px;
	cursor: pointer;
	cursor: hand;
	text-align: center;
	vertical-align: middle;
	margin-bottom: 5px;
	border-radius: 4px;
}

#photos .photo_button span {
	font-size: 14px;
	display: block;
	margin-top: 10px;
}

.stars_container {
	margin-bottom: 15px;
	text-align: center;	
	position: relative;
}

.stars_container .fa-star {
	color: white;
	font-size: 24px;
	color: #e3e3e3;
	background: transparent;
	padding: 5px;
}

.stars_container .fa-star.checked {
	color:#FFCC36;
}

.stars_container .fa-star.selected {
	color:#E67E21;
}

h1 {
	font-size: 24px !important;
	padding-bottom: 10px;
}

h2 {
	font-size: 20px !important;
}

.btn {
	border-radius: 2px !important;
	padding: 10px 0px !important;
	
}

.btn-facebook {
	background: #3b5998 !important;
}

.btn-twitter {
	background: #00aced !important;
	border-color: rgba(0, 175, 238, 0.46) !important;
}

.btn-submit {
	border: 0px;
	font-size: 18px;
}

.info_box {
	display: none;
}

.info_toggle {
	cursor: pointer;
}

.share_location {
	margin: 0 auto;
	padding: 10px;
	border: 1px solid #f2f2f2;
	min-width: 100px;
}

.share_location img {
	margin-right: 10px;
	border-radius: 3px;	
	width: 25px;
	vertical-align: middle;
	margin-top: -2px;
}

.share_location span {
	font-size: 20px;
}

.skip-info {
	margin-top: 5px;
	font-size: 12px;
	color: #7a7a7a;
	font-style: italic;
}

.error-msg {
	border-radius: 3px;
	border: 2px red dashed;
	color: red;
	padding: 10px;
	margin: 10px 0px;
	display: none;
}

.btn-continue {
	display: none;
	padding: 10px 20px !important;
}

#sources {
	max-width: 400px;
}

#sources img.logo, #rwpost img.logo {
	max-height: 80px;
}

#sources .description {
	font-size: 18px;
}

#wf_share .source,
#sources .source {
	background: white;
	padding: 15px 5px;
	max-width: 140px;
	border-radius: 10px;
	border: 1px solid #d6d6d6;
	display: inline-block;
	margin: 10px 10px;
	width: 140px;
	cursor: pointer;
	cursor: hand;
}

#wf_share .source:hover,
#sources .source:hover {
	border: 1px solid #999999;
}

#wf_share .source img,
#sources .source img {
	max-width: 60px;
	max-height: 50px;
	margin-bottom: 8px;
}

#wf_share .source .label,
#sources .source .label {
	font-size: 16px;
	color: black;
	font-weight: 500;
	white-space: normal;
	padding: 0px;
}

#wf_share .source .source-button,
#sources .source .source-button {
	margin-top: 12px;
}

#wf_share .source .source-button button,
#sources .source .source-button button {
	border-radius: 6px;
	padding: 4px 6px;
	font-size: 14px;
	width: 90%;
	box-shadow: 0 3px 3px -1px rgba(10,22,70,.1),0 0 1px 0 rgba(10,22,70,.06);

}

#sources .properties .property {
	background: white;
	padding: 20px 30px;
	min-width: 340px;
	border-radius: 10px;
	border: 1px solid #d6d6d6;
	display: inline-block;
	margin: 10px 10px;
	cursor: pointer;
	cursor: hand;	
}

#sources .properties .property:hover {
	border: 1px solid #999999;
}

#sources .properties .property h2 {
	font-weight: 500;
	text-align: left;
}

#sources .property img {
	max-width: 70px;
	max-height: 70px;
	margin-right: 15px;
}

#sources .property h2 {
	margin: 0px;
}

#sources .tellus {
	margin-top: 20px;
}

#routing img.logo {
	max-height: 80px;
}

#routing .description {
	font-size: 18px;
}

#routing .choice {
	background: white;
	padding: 15px;
	margin: 20px 10px 0px;
	border-radius: 10px;
	border: 1px solid #d6d6d6;
	display: inline-block;
	cursor: pointer;
	cursor: hand;
	min-width: 150px;
	color: black;
}

#routing .choice img {
	margin-bottom: 15px;
}

#routing .choice:hover {
	border: 1px solid #c7c5c5;
}

#routing .type_stars {
	margin-bottom: 15px;
	text-align: center;	
	position: relative;
}

#routing .type_stars .fa-star {
	font-size: 74px;
	color: #e3e3e3;
	padding: 5px;
}

@media (max-width:480px)  {
	#routing .type_stars .fa-star {
		font-size: 44px;
	}
}

@media (max-width:390px)  {
	#routing .type_stars .fa-star {
		font-size: 34px;
	}
}
@media (max-width:350px)  {
	#routing .type_stars .fa-star {
		font-size: 30px;
	}
}

#routing .type_stars .fa-star.checked {
	color:#FFCC36;
}

#routing .type_stars .fa-star.selected {
	color:#E67E21;
}

#branding, #branding a {
    font-size: 13px;
    margin-top: 25px;
    color: #b2b2b2!important;
    text-align: center;
}

#branding a:hover {
	text-decoration: none;
}

#branding span {
    font-size: 14px;
    font-family: Courgette,cursive;
    cursor: pointer;
}

#rwpost .gating_text, #rwpost .privacy {
	margin-top: 20px;
}

#rwpost input[type="checkbox"] {
    border: 1px solid #ccc;
}

#rwpost .error {
	color: red;
	position: absolute;
    left: -25px;
    top: 0px;
}

#rwpost label {
	font-weight: normal;
}

#rwpost .required:after {
	content:" *";
	color: red;
}

#qr img.scan {
	width: 100%;
	max-width: 490px;
	margin-top: 30px;
	border: 1px solid #d6d6d6;
}

#qr .logo {
	max-height: 80px;
}

/* ============================================================
   2026 redesign: elevated card on a tinted wash of the tenant
   background. All colors derive from CSS vars set by collect.js
   (--t-bg, --t-text, --t-accent, --t-onaccent). Old rules above
   stay as fallback for browsers without CSS variable support.
   ============================================================ */

body {
	padding: 28px 14px 20px;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
@supports (background: color-mix(in srgb, red 50%, white)) {
	body { background: color-mix(in srgb, var(--t-bg, #f2f2f2) 40%, #fbfaf9) !important; }
	body.theme-dark { background: color-mix(in srgb, var(--t-bg, #222) 85%, #000) !important; }
}

.post_container {
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 18px 44px -18px rgba(15, 12, 10, 0.18);
	padding: 34px 28px 30px;
	max-width: 520px;
	animation: rw-rise 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
}
#sources.post_container { max-width: 580px; }
body.theme-dark .post_container {
	background: color-mix(in srgb, var(--t-bg, #222) var(--t-cardmix, 76%), #fff);
	box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.5);
}
@keyframes rw-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

#sources img.logo, #rwpost img.logo, #routing img.logo {
	max-height: 64px;
	margin-bottom: 14px;
	border-radius: 12px;
}

.post_header, #sources .title, #routing .title, .share_header, .success_header {
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

/* inputs */
.textarea_container {
	border: 1.5px solid rgba(0, 0, 0, 0.12);
	border-top-width: 4px; /* keeps the textarea_top_border_color setting visible */
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow 0.18s, border-color 0.18s;
}
.textarea_container:focus-within {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-accent, #339614) 22%, transparent);
}
.post_container textarea {
	border-radius: 0 !important;
	min-height: 150px;
	padding: 16px;
	font-size: 16px;
	margin-bottom: 0;
	width: 100%;
	border: 0;
	outline: none;
}
#rwpost .form-control, #rwpost input[type="text"], #rwpost input[type="email"], #rwpost input[type="tel"] {
	border: 1.5px solid rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	padding: 12px 14px;
	height: auto;
	font-size: 16px;
	box-shadow: none;
	transition: border-color 0.18s, box-shadow 0.18s;
}
#rwpost .form-control:focus, #rwpost input:focus {
	outline: none;
	border-color: var(--t-accent, #339614);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-accent, #339614) 22%, transparent);
}
body.theme-dark .textarea_container,
body.theme-dark #rwpost .form-control {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.07);
}
body.theme-dark .post_container textarea,
body.theme-dark #rwpost .form-control {
	background: transparent;
	color: inherit;
}
#rwpost label {
	font-size: 13.5px;
	font-weight: 650;
	margin-bottom: 6px;
}

/* stars */
.stars_container #stars .fa-star, #routing .type_stars .fa-star {
	font-size: 36px;
	padding: 3px;
	cursor: pointer;
	transition: transform 0.15s ease-out;
}
.stars_container #stars .fa-star:hover, #routing .type_stars .fa-star:hover {
	transform: scale(1.12);
}

/* buttons */
.btn-submit, .btn-share, .btn-skip, .btn-continue {
	border-radius: 14px !important;
	padding: 14px 18px;
	font-weight: 700;
	transition: filter 0.15s, transform 0.15s;
	box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--t-accent, #339614) 50%, transparent);
}
.btn-submit:hover { filter: brightness(1.06); }
.btn-submit:active { transform: scale(0.985); }
.btn-submit:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--t-accent, #339614) 45%, transparent);
	outline-offset: 2px;
}

/* source tiles (collect sources + write-first share list) */
#sources .source, #wf_share .source {
	position: relative;
	border-radius: 16px;
	border: 1.5px solid rgba(0, 0, 0, 0.1);
	padding: 18px 8px 14px;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07), 0 6px 14px -8px rgba(0, 0, 0, 0.16);
	cursor: pointer;
	transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
#sources .source:active, #wf_share .source:active {
	transform: translateY(0) scale(0.98);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#sources .source:hover, #wf_share .source:hover {
	border-color: var(--t-accent, #999);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.3);
}
.source-popup {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #a8a29e;
	transition: color 0.18s;
}
.source-popup svg { width: 14px; height: 14px; display: block; }
#sources .source:hover .source-popup, #wf_share .source:hover .source-popup {
	color: var(--t-accent, #666);
}

/* write-first extras */
.wf_progress { display: flex; justify-content: center; gap: 6px; margin: 0 0 18px; }
.wf_progress b {
	width: 26px;
	height: 4px;
	border-radius: 2px;
	background: var(--t-accent, #339614);
	opacity: 0.22;
}
.wf_progress b.done { opacity: 1; }
#wf_share .wf_encourage {
	margin: 12px 0 20px;
	font-size: 13.5px;
	opacity: 0.72;
}

/* errors */
.error-msg {
	border: 0;
	border-radius: 10px;
	background: #fdecec;
	color: #b42318;
	padding: 11px 14px;
	font-size: 14px;
}

/* branding */
#branding { opacity: 0.55; margin-top: 18px; text-align: center; }

@media (max-width: 480px) {
	body { padding: 14px 8px 12px; }
	.post_container { padding: 26px 18px 22px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.post_container { animation: none; }
	#sources .source, #wf_share .source, .btn-submit, .stars_container #stars .fa-star { transition: none; }
}

/* media buttons (video / photos) - compact inline chips, icon + label on one row */
#video_choice .video_button, #photos .photo_button {
	border: 1.5px dashed rgba(0, 0, 0, 0.18);
	border-radius: 12px;
	background: transparent;
	padding: 10px 14px;
	transition: border-color 0.18s, color 0.18s, background 0.18s;
	color: inherit;
	opacity: 0.8;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
}
#video_choice .video_button .fa, #photos .photo_button .fa {
	font-size: 16px;
}
#video_choice .video_button span, #photos .photo_button span {
	font-size: 13.5px;
	font-weight: 600;
	margin-top: 0;
	display: inline;
}
#video_choice .video_button:hover, #photos .photo_button:hover,
#video_choice .video_button.selected {
	border-color: var(--t-accent, #666);
	border-style: solid;
	color: var(--t-accent, #333);
	background: color-mix(in srgb, var(--t-accent, #339614) 6%, transparent);
	opacity: 1;
}
body.theme-dark #video_choice .video_button, body.theme-dark #photos .photo_button {
	border-color: rgba(255, 255, 255, 0.25);
}
#video_choice .file_progress {
	border-radius: 4px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.08);
}
#video_choice .file_progress_bar {
	background: var(--t-accent, green);
	height: 6px;
}
.photos_info, .video_info {
	font-size: 13.5px;
	opacity: 0.8;
	margin-top: 8px;
}

/* media entry chips: Video / Photos in one row, options revealed on demand */
#media_chips {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}
.media_chip {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1.5px dashed rgba(0, 0, 0, 0.18);
	border-radius: 12px;
	padding: 10px 14px;
	min-height: 44px;
	cursor: pointer;
	opacity: 0.8;
	font-size: 13.5px;
	font-weight: 600;
	transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.media_chip .fa { font-size: 16px; }
.media_chip:hover, .media_chip.open {
	border-color: var(--t-accent, #666);
	border-style: solid;
	color: var(--t-accent, #333);
	background: color-mix(in srgb, var(--t-accent, #339614) 6%, transparent);
	opacity: 1;
}
body.theme-dark .media_chip { border-color: rgba(255, 255, 255, 0.25); }

/* property picker: uniform tappable rows with thumbnail + chevron */
#sources .properties .property {
	background: #fff;
	border: 1.5px solid rgba(0, 0, 0, 0.1);
	border-radius: 14px;
	padding: 12px 16px;
	min-width: 0;
	width: 100%;
	max-width: 420px;
	margin: 5px auto;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
#sources .properties .property:hover {
	border-color: var(--t-accent, #999);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.3);
}
#sources .properties .property h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 16.5px;
	font-weight: 650;
	line-height: 1.3;
	color: #1c1917;
}
#sources .properties .property .icon img {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	object-fit: cover;
	display: block;
	margin: 0;
}
#sources .properties .property .pname {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#sources .properties .property .pchev {
	color: #a8a29e;
	font-size: 13px;
	transition: color 0.18s, transform 0.18s;
}
#sources .properties .property:hover .pchev {
	color: var(--t-accent, #666);
	transform: translateX(2px);
}

/* expanded video options: equal-width chip row instead of bootstrap columns */
#video_choice {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}
#video_choice > div {
	padding: 0;
	margin: 0;
	float: none;
	flex: 1 1 auto;
	min-width: 130px;
	width: auto;
	display: flex;
}
#video_choice > div .video_button {
	flex: 1;
	margin-bottom: 0;
	line-height: 1.25;
}
#video_choice .video_button span {
	white-space: nowrap;
}
#video_choice > .video_info {
	flex: 1 1 100%;
	display: block;
}

/* property picker: initial-letter avatar for rows without an image */
#sources .properties .property .icon.initial {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	flex: 0 0 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	background: color-mix(in srgb, var(--t-accent, #339614) 12%, #fff);
	color: var(--t-accent, #333);
}

/* small screens: no vertical centering (tall cards were clipping at the top),
   tighter card padding, full-width property rows */
@media (max-width: 480px) {
	body {
		display: block;
		padding: 12px 10px 16px;
	}
	.post_container {
		margin: 0 auto;
	}
	#sources .properties .property {
		max-width: 100%;
		padding: 10px 12px;
	}
	#sources .properties .property h2 {
		font-size: 15px;
		gap: 10px;
	}
	#sources .properties .property .icon img,
	#sources .properties .property .icon.initial {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}
}

/* the webcam Record option depends on the device, not the viewport width:
   bootstrap's hidden-xs was hiding it in narrow desktop windows and iframes,
   leaving a "Record / Choose" label that can only choose files there */
@media (pointer: fine) {
	#video_choice #video_record_button {
		display: flex !important;
	}
	#video_upload_button .video_button.hidden-xs {
		display: flex !important;
	}
	#video_upload_button .video_button.visible-xs {
		display: none !important;
	}
}

/* bootstrap .row negative margins were swallowing the card padding around lists */
#sources .properties .row,
#sources .list.row,
#sources .properties > .row + .row,
#wf_share .wf_list.row {
	margin-left: 0;
	margin-right: 0;
}
@media (max-width: 600px) {
	#sources.post_container {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* flex items with auto margins shrink to fit-content - keep the card full width */
.post_container {
	width: 100%;
}

/* bootstrap .container also has auto margins - same flex shrink-to-fit issue one level up */
body > .container {
	width: 100%;
	max-width: 660px;
}


/* routing links match the page text color */
#sources .tellus a, #rwpost .gating_text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }


/* rating stars: no card behind them, unrated = yellow outline */
#routing .type_stars.choice { background: transparent; padding: 0; margin: 20px 0 0; box-shadow: none; border: 0; }
#routing .type_stars.choice:hover { transform: none; box-shadow: none; border: 0; }

/* gradual star sizes: 1-star small (left) growing to 5-star big (right),
   so the direction of the scale is obvious at a glance */
#routing .type_stars #stars { font-size: 74px; }
.stars_container #stars { font-size: 36px; }
@media (max-width:480px) { #routing .type_stars #stars { font-size: 44px; } }
@media (max-width:390px) { #routing .type_stars #stars { font-size: 34px; } }
@media (max-width:350px) { #routing .type_stars #stars { font-size: 30px; } }
.stars_container #stars .fa-star, #routing .type_stars .fa-star { vertical-align: baseline; }
.stars_container #stars .fa-star:nth-child(1), #routing .type_stars .fa-star:nth-child(1) { font-size: .58em; }
.stars_container #stars .fa-star:nth-child(2), #routing .type_stars .fa-star:nth-child(2) { font-size: .68em; }
.stars_container #stars .fa-star:nth-child(3), #routing .type_stars .fa-star:nth-child(3) { font-size: .79em; }
.stars_container #stars .fa-star:nth-child(4), #routing .type_stars .fa-star:nth-child(4) { font-size: .89em; }
.stars_container #stars .fa-star:nth-child(5), #routing .type_stars .fa-star:nth-child(5) { font-size: 1em; }


/* mobile: platform tiles two per row instead of a long single column */
@media (max-width: 575px) {
	/* bootstrap .row clearfix pseudos become phantom flex items and eat a gap */
	#sources .list.row::before, #sources .list.row::after,
	#sources .row[class*="property-sources"]::before, #sources .row[class*="property-sources"]::after,
	#wf_share .wf_list.row::before, #wf_share .wf_list.row::after { display: none; content: none; }
	#sources .list.row, #sources .row[class*="property-sources"], #wf_share .wf_list.row {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		justify-content: center;
		margin-left: 0;
		margin-right: 0;
	}
	#sources .source, #wf_share .source {
		flex: 0 0 47% !important;
		width: auto !important;
		max-width: 47% !important;
		min-width: 0 !important;
		margin: 0 !important;
		box-sizing: border-box;
	}

}
