
/*circular range slider*/

#rotationSliderContainer1, #rotationSliderContainer2, #rotationSliderContainer3 {
    position: relative;
    width: 150px;
    height: 150px;
    border:10px solid #00FF00;
    border-radius: 125px;
    margin: 50px auto;
    cursor: default;
    clear: both;
    /* iOS Safari: the knob moves via top/left and the time readout's text
     * is rewritten on every touchmove. Both invalidate rectangles that
     * cross the green ring, and iOS sometimes repaints those rects white
     * without recomposing the ring underneath (white notches/smears over
     * the border). Promoting the whole dial onto its own compositing
     * layer makes it repaint as a single unit, ring included. */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

#rotationSliderContainer3 {

    margin: 20px auto 35px;
    border: 10px solid yellow;

}

/* Orbiting-hand hint on the circular time sliders. The arm spans the
 * dial's content box and rotates around its centre, carrying a pointing
 * hand that sweeps the arc the knob should be dragged along. It's
 * pointer-events:none so it can never intercept the drag events the
 * container's handlers in RangeSlider.js rely on; those handlers remove
 * the arm on the first grab of each dial. */
.dialHintArm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    animation: dialHintOrbit 3.2s ease-in-out infinite;
    /* Same iOS stale-paint guard as the knob: keep the animated arm on its
     * own compositing layer so its sweep (and removal) can't leave paint
     * artifacts on the ring beneath. */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Outline pointing hand (Tabler "hand-finger", MIT). It points up, so it
 * sits just inside the dial with the fingertip on the knob, reading as
 * "grab this". Positioned so the fingertip (~x12,y5 of the 30px icon)
 * lands on the knob centre at 12 o'clock. */
.dialHintHand {
    position: absolute;
    top: 6px;
    left: 50%;
    margin-left: -12px;
    color: #333;
    line-height: 1;
}

.dialHintHand svg {
    width: 30px;
    height: 30px;
    display: block;
}

@keyframes dialHintOrbit {
    0%, 12%  { transform: rotate(8deg); }
    55%, 70% { transform: rotate(130deg); }
    100%     { transform: rotate(8deg); }
}

/* A permanently circling hand is unpleasant for motion-sensitive users. */
@media (prefers-reduced-motion: reduce) {
    .dialHintArm { display: none; }
}

#rotationSlider1, #rotationSlider2, #rotationSlider3 {
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1)) repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 20px;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: inline-block;
    height: 40px;
    position: absolute;
    top: -10px;
    width: 40px;
    /* Mobile: kill the default tap-highlight rectangle. The knob is round
     * but the highlight follows the element's bounding box, so on touch it
     * paints a white/grey square that overhangs the green container border
     * while the user drags. Also suppress text-selection & focus outline
     * for the same reason. */
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    outline: none;
    /* iOS Safari: keep the knob on its own compositing layer so its
     * top/left drag repositioning never dirties the ring's paint (white
     * knob-sized smears along the drag path otherwise). Deliberately no
     * will-change here — hinting non-compositable properties (left/top)
     * makes iOS invalidation worse, not better. */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
#rotationSlider1:focus, #rotationSlider2:focus, #rotationSlider3:focus { outline: none; }

#rotationSlider1 { 
    
    background-image: url(../icons/clock-small.png);
	background-repeat:no-repeat;
	background-position:center;
  
}

#rotationSlider2 { 
    
    background-image: url(../icons/clockend-small.png);
	background-repeat:no-repeat;
	background-position:center;
  
}

#rotationSlider3 { 
    
    background-image: url(../icons/star-orange.png);
	background-repeat:no-repeat;
	background-position:center;
  
}


#rotationSlider1:after, #rotationSlider2:after, #rotationSlider3:after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.13)), color-stop(100%, rgba(255, 255, 255, 0)));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}

#rotationSliderDegrees1, #rotationSliderDegrees2, #rotationSliderDegrees3 {


    position: absolute;
    top: 50px;
    width: 100%;
    font-size: 30px;
            font-weight: bold;
			margin: 23px 0 0 0;
			color: #3445a1;
        text-align: center;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    /* Own compositing layer: this div's text is rewritten on every
     * touchmove, and its full-width invalidation rect crosses the ring. */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

#rotationSliderDegrees3 {
font-size: 50px;
}

#JobTimeCopy1, #JobTimeCopy2, #JobTimeCopy3{
			position: absolute;
    top: 50px;
    width: 100%;
        text-align: center;
    -moz-user-select: none; 
    -khtml-user-select: none; 
    -webkit-user-select: none; 
    -o-user-select: none;
   

		

	
}

#JobTimeCopy3{

    top: 40px;
 
	
}

/*circular range slider end*/

/* straight range slider */

output {
            display: block;
            font-size: 30px;
            font-weight: bold;
            color:#3445a1;
            text-align: center;
            margin: 30px 0;
        }
        
output.Dist {
            display: block;
            font-size: 20px;
            line-height: 25px;
            font-weight: bold;
            color:#3445a1;
            text-align: center;
            margin: 30px 0;
        }

#strangerange
{
	margin: auto;
    max-width: 400px;
    padding: 2em 0.8em;
    position: relative;
}


.rangeslider {
  position: relative;
  margin: 0 0 10px;
   
}

.rangeslider__range,
.rangeslider__fill {
  background: #e6e6e6;
  border: none;
  display: block;
  height: 20px;
  width: 100%;
  margin: 0;
  -webkit-box-shadow: 0px 2px 2px rgba(255, 255, 255, 0.25), inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 2px 2px rgba(255, 255, 255, 0.25), inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 2px 2px rgba(255, 255, 255, 0.25), inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}

.rangeslider__fill {
  background: #00ff00;
  position: absolute;
  top: 0;
}

.rangeslider__handle {
  background: white;
  border: 1px solid #ccc;
  cursor: pointer;
  display: inline-block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: -10px;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.1)));
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: -moz-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: -o-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  
   background-image: url(../icons/poundsign-small.png);
	background-repeat:no-repeat;
	background-position:center;
	
  -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}
.rangeslider__handle:after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.13)), color-stop(100%, rgba(255, 255, 255, 0)));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}


.distanceslider__handle {
  background: white;
  border: 1px solid #ccc;
  cursor: pointer;
  display: inline-block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: -10px;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.1)));
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: -moz-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: -o-linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
  
	
  -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}
.distanceslider__handle:after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.13)), color-stop(100%, rgba(255, 255, 255, 0)));
  background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  background-image: linear-gradient(rgba(0, 0, 0, 0.13), rgba(255, 255, 255, 0));
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}

/* ==========================================================================
 * Job Posting — 3-step wizard layout
 * Progress pips, step panels, sticky per-step nav, error panels,
 * Step 3 review summary. Scoped to jobPosting.php (and inherited by any
 * page that includes #jobStepsProgress / .job-step-panel).
 * ========================================================================== */
/* Panels are toggled by JS via show()/hide() — no [hidden] rule needed.
 * Initial hidden state lives inline (style="display:none") on Steps 2 & 3. */

/* Progress indicator — 4 numbered pips with labels and a connector line.
 * align-items: flex-start so all pip circles sit at the top regardless of
 * label line-count. Without this, on narrow mobile widths the longer
 * labels ("About the job", "When · Pay · Where", "Review details") wrap
 * to 2 lines while "Images" stays on 1, and align-items:center floats the
 * Step 3 pip lower than its siblings. */
.job-steps-progress {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	list-style: none;
	margin: 0.5em 0 1.2em;
	padding: 0;
	position: relative;
	counter-reset: jobstep;
}
.job-steps-progress::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 8%;
	right: 8%;
	height: 2px;
	background: #d8d8d8;
	z-index: 0;
}
.job-step-pip {
	flex: 1;
	text-align: center;
	position: relative;
	z-index: 1;
	cursor: default;
}
.job-step-pip .pip-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #d8d8d8;
	color: #888;
	font-weight: 600;
	font-size: 14px;
}
.job-step-pip .pip-label {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: #888;
	line-height: 1.2;
}
.job-step-pip.current .pip-num { background: #2693e6; border-color: #2693e6; color: #fff; }
.job-step-pip.current .pip-label { color: #2693e6; font-weight: 600; }
.job-step-pip.completed { cursor: pointer; }
.job-step-pip.completed .pip-num { background: #5cb85c; border-color: #5cb85c; color: #fff; }
.job-step-pip.completed .pip-label { color: #444; }

/* Per-step nav area — sticks to the viewport bottom while the user
 * scrolls within a step. The missing-fields panel sits above the buttons.
 * z-index must beat #profileDescription .charsLeft (z-index:22 in
 * stylesheets/screen.css) so the chars-remaining badge doesn't float over
 * the sticky Next button. */
.step-nav-area {
	position: sticky;
	bottom: 0;
	background: #fff;
	margin: 1.5em -10px 0;
	padding: 0.6em 10px 0.8em;
	border-top: 1px solid #eee;
	box-shadow: 0 -2px 6px rgba(0,0,0,0.04);
	z-index: 50;
}
.step-nav-buttons {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
.step-nav-buttons .btn { flex: 1; }
.step-nav-buttons .step-back-btn { flex: 0 0 90px; background: #eee; color: #333; }
.step-nav-buttons #BigPostButton { flex: 1; margin: 0; }
.step-nav-buttons #BigPostButton, .step-nav-buttons #BigPostButton > div { width: 100%; }

/* Per-step missing-fields panel. Empty = hidden (via :empty). */
.step-errors:empty { display: none; }
.step-errors {
	background: #fff8e1;
	border: 1px solid #ffe082;
	color: #6b4f00;
	border-radius: 4px;
	padding: 0.55em 0.8em;
	margin-bottom: 0.6em;
	font-size: 13px;
}
.step-errors .step-errors-title { font-weight: 600; margin-bottom: 4px; }
.step-errors .step-errors-item { line-height: 1.4; padding: 1px 0; }

/* Live bad-language warning under the title/description inputs (job posting
   + skill advert forms). Shown/hidden by pjUpdateBadWordWarnings(). */
.pj-badword-warning {
	background: #fdecea;
	border: 1px solid #f1998e;
	color: #b02a1c;
	border-radius: 4px;
	padding: 0.55em 0.8em;
	margin: 6px 0 0.6em;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

/* Step 3 review summary card */
.step3-review { margin: 0.8em 0 1em; }
.step3-review-card {
	background: #f5f8fb;
	border: 1px solid #d6e2ec;
	border-radius: 6px;
	padding: 0.8em 1em;
}
.step3-review-title {
	font-weight: 600;
	font-size: 14px;
	color: #1f3b55;
	margin-bottom: 6px;
	padding-bottom: 6px;
	border-bottom: 1px solid #d6e2ec;
}
.step3-review-row {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 14px;
	gap: 1em;
}
.step3-review-row > span { color: #5a6b7a; flex: 0 0 auto; }
.step3-review-row > strong { text-align: right; word-break: break-word; }
.step3-review-desc { flex-direction: column; gap: 2px; align-items: stretch; }
.step3-review-desc > span { text-align: left; align-self: flex-start; }
.step3-review-desc-text {
	font-size: 13px;
	color: #333;
	background: #fff;
	border: 1px solid #e1e9f0;
	border-radius: 4px;
	padding: 6px 8px;
	text-align: left;
}
/* The description is rich-text markup now, so the structure comes from the tags.
   pre-wrap is kept only for the plain-text fallback, where the newlines ARE the
   structure. */
.step3-review-desc-plain { white-space: pre-wrap; }
.step3-review-desc-text p { margin: 0 0 0.6em; }
.step3-review-desc-text p:last-child { margin-bottom: 0; }
/* Markers sat outside the box without the indent. */
.step3-review-desc-text ul,
.step3-review-desc-text ol { margin: 0.4em 0; padding-left: 1.6em; }
.step3-review-desc-text li { margin: 0.15em 0; }
.step3-review-desc-text a { text-decoration: underline; }

/* No-image warning buttons — desktop: small horizontal gap between the two
 * inline buttons (the inline &nbsp; in the markup leaves them almost
 * touching). Mobile: stack them as full-width blocks with a vertical gap
 * so the second button doesn't visually butt up against the first when
 * they wrap. Covers all three warning containers used across the app:
 *   #noImageWarning           — jobPosting Step 4 + advertiseSkills Step 5
 *   #step3NoImageWarning      — jobPosting Step 3 next-click warning
 *   #step4NoImageWarning      — advertiseSkills Step 4 next-click warning */
#step3NoImageWarning .alert .btn,
#step4NoImageWarning .alert .btn,
#noImageWarning .alert .btn {
	margin: 6px;
}
@media (max-width: 480px) {
	#step3NoImageWarning .alert .btn,
	#step4NoImageWarning .alert .btn,
	#noImageWarning .alert .btn {
		display: block;
		width: 100%;
		max-width: 280px;
		margin: 8px auto 0;
	}
	#step3NoImageWarning .alert .btn:first-of-type,
	#step4NoImageWarning .alert .btn:first-of-type,
	#noImageWarning .alert .btn:first-of-type {
		margin-top: 0;
	}
}

/* Total-pay fine-tune buttons — ±1 nudges next to the slider, only shown
 * when Total pay is the active price mode (perhourPay/quoteNeeded hide). */
#totalPayFineTune {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 24px 0 18px;
}
#totalPayFineTune .totalPayFineBtn {
	min-width: 48px;
	padding: 4px 10px;
	font-size: 14px;
	font-weight: 600;
	border-radius: 4px;
	background: #f5f5f5;
	border: 1px solid #ccc;
	color: #333;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
#totalPayFineTune .totalPayFineBtn:active {
	background: #e5e5e5;
}

/* Step 4 review — image thumbnails grid */
.step4-review-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}
.step4-review-thumb {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #e1e9f0;
}

/* Step 5 review — embedded video preview */
.step5-review-video {
	display: block;
	width: 100%;
	max-width: 320px;
	max-height: 200px;
	margin-top: 4px;
	border-radius: 6px;
	background: #000;
}
.optional-tag {
	font-size: 0.75em;
	color: #888;
	font-weight: normal;
	font-style: italic;
}
.step3-review-row.total {
	border-top: 1px solid #d6e2ec;
	margin-top: 4px;
	padding-top: 8px;
	font-weight: 600;
}
.step3-review-free {
	background: #e6f4ea;
	color: #1b6e2c;
	border-radius: 4px;
	padding: 4px 8px;
	margin: 6px 0;
	font-size: 13px;
	text-align: center;
}
