@charset "utf-8";
/* CSS Document */

body {
	margin: 0;
	font-size: 1em;
	font-family: Source Sans Pro Web,Helvetica Neue,Helvetica,Roboto,Arial,sans-serif;
}

.inner { padding: 0 5%; }
.left { float: left; }
.gap { margin-right: 10px; }
.no-marg { margin: 0; }
.pad-4 { padding: 4%; }
.pad-2 { padding: 2%; }
#col-main .pad-2 { padding: 2% 2% 0px 2%; }
#col-main .pad-2-yusa { padding: 1%; }
.clear { clear: both; }
.img10 { width: 10%; height: auto; }
.title { font-size: 3em; }
.ital { font-style: italic; text-align: center; margin-bottom: 15px !important; }
.imgSmText { font-size: 0.7em; line-height: 1.5em; text-transform: uppercase; }

#top-grey, #top-grey-exp { background-color: #f0f0f0; }
#top-grey { padding-bottom: .25rem; padding-top: .25rem; min-height: 0; }
#top-grey-exp { height: auto; }

#arrow {
	background-repeat: no-repeat;
	background-size: cover;
	width: 10px;
	height: 10px;
	display: inline-block;
}
#arrow[aria-expanded=false] { background-image: url(../img/arrow-down.svg); }
#arrow[aria-expanded=true] { background-image: url(../img/arrow-up.svg); }

.col-50 { width: 50%; float: left; line-height: 1.5em; }
.col-25 { width: 25%; float: left; }

#title-area { background-color: #000; color: #fff; padding: 10px 0; vertical-align: middle; }
#logo { width: 290px; height: auto; margin-right: 30px; vertical-align: middle; }
#logo2 { width: 211px; height: auto; margin-left: 30px; vertical-align: middle; }

#clock-utc { border: solid 1px #000; text-align: center; margin-bottom: 5px; }
#myDate { margin-top: 15px; }
#myTime { font-size: 1.4em; font-weight: bold; }

#rightColBot { display: block; margin-top: 15px; padding-top: 15px; border-top: 1px solid #000; }
#rightColBot a { display: block; margin-bottom: 10px; color: #000; }

.text-xs { font-size: 0.8em; margin: 5px 10px 0; }
.text-lg { font-size: 1.8em; font-weight: bold; margin: 0 10px; }

#callout-bar { color: #fff; background-color: #999; padding: .25rem 0; text-align: center; font-weight: bold; }
#callout-bar p { margin: 0; }

#content { display: table; width: 100%; }
#col-left, #col-right { width: 16%; background-color: #d9e8f6; display: table-cell; }
#col-main { width: 68%; display: table-cell; position: relative; }
#col-right { position: relative; }

#noncontTitle, #contTitle, #pr-lt, #responseTime { display: none; }

/* STYLES FOR CLOCK AREAS */
.clock-box { margin-bottom: 15px; }
#col-main .clock-box { margin-bottom: 0; }
.clock-box .title { text-transform: uppercase; font-size: 0.6em; font-weight: bold; }
.sub-title { text-transform: uppercase; font-size: 0.7em; margin-bottom: 5px; }

.time-display { display: table; width: 100%; table-layout: fixed; min-width: 200px; }
.color-area { width: 8%; display: table-cell; min-width: 15px; }

.time-text {
	background-color: #026727;
	font-weight: bold;
	color: #fff;
	font-size: 0.9em;
	padding: 5px 15px;
	display: table-cell;
	line-height: 0.6;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	min-width: 140px;
	white-space: nowrap;
	width: 85%;
}
.time-text small { font-size: 0.8em; padding-bottom: 3px; display: block; margin-top: 2px; }

.side-img { max-width: 90%; display: block; margin: 0 auto 15px; }
.margTop15 { margin-top: 15px; }
#twenty-hour { float: left; }
#main-time-area { background-color: #000; width: 100%; text-align: center; color: #fff; padding: 15px 0; }
.full-img { width: 94.5%; display: block; margin: 0 2.3%; }
#mainland { position: relative; }
#az-clock { position: absolute; z-index: 100; bottom: 0; left: 5%; }
#az-clock-yusa { position: absolute; z-index: 100; bottom: 0; }
.hours-wrapper { padding: 5px; background: #eee; margin-bottom: 15px; }
#analog-clock { max-width: 90%; }

/* CUSTOM CHECKBOX STYLES */
input[type=checkbox].css-checkbox { position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0; }
input[type=checkbox].css-checkbox + label.css-label { padding-left:20px; height:15px; display:inline-block; line-height:15px; background-repeat:no-repeat; background-position: 0 0; vertical-align:middle; cursor:pointer; font-size: .7em; }
input[type=checkbox].css-checkbox:checked + label.css-label { background-position: 0 -15px; }
.no-saving { background-image: url(../../img/us/diagonal-white.png); }

/* COLOR CLASSES */
.blue .color-area { background-color: #0060a8; }      .blue .title { color: #0060a8; }
.purple .color-area { background-color: #aa378d; }    .purple .title { color: #aa378d; }
.dk-blue .color-area { background-color: #1b0459; }   .dk-blue .title { color: #1b0459; }
.orange .color-area { background-color: #d66733; }    .orange .title { color: #d66733; }
.green .color-area { background-color: #63a952; }     .green .title { color: #63a952; }
.yellow .color-area { background-color: #e6a730; }    .yellow .title { color: #e6a730; }
.red .color-area { background-color: #cc2131; }       .red .title { color: #cc2131; }

/* ==========================================================================
   响应式断点合并重构
   ========================================================================== */

/* 1. 平板与桌面过度层断点布局 (300px - 1260px) */
@media only screen and (min-width : 300px) and (max-width : 1260px) {
	.title { font-size: 2.0em; }
	#content { display: flex; flex-flow: wrap; display: -webkit-flex; -webkit-flex-flow: wrap; }
	#col-main { width: 100%; display: block; order: 1; margin-bottom: 15px; }
	#col-left { width: 70%; display: block; order: 2; }
	#col-right { width: 30%; display: block; order: 3; }
	#noncontTitle, #contTitle { display: block; text-align: center; font-size: 1.5em; margin-bottom: 15px; text-transform: uppercase; }
	#main-time-area { display: block; margin: 0 auto; padding: 15px 0; }
	#ak-col, #hi-col { width: 50%; float: left; }
	#pr-lt { display: block; }
	#pr-rt { display: none; }
	#rightColBot { border-top: 1px solid #000; margin-top: 30px; position: relative; padding-top: 15px; }
	.clock-box .title { font-size: 1em; line-height: 1em; }
	.sub-title { font-size: .7em; margin-bottom: 0px; }
	.time-text { font-size: 0.9em; padding: 5px 4px; }
	.text-xs, input[type=checkbox].css-checkbox + label.css-label, .imgSmText { font-size: 1em; }
}

/* 2. 特定移动端物理设备微调 (320px - 740px) */
@media only screen and (min-device-width : 320px) and (max-device-width : 740px) {
	.title { font-size: 2.1em; }
	.sub-title { font-size: 1em; }
	.text-xs, input[type=checkbox].css-checkbox + label.css-label { font-size: 1.2em; }
}

/* 3. 核心收拢：合并原 768px、540px、412px、360px 里的全局全等防溢出补丁 */
@media (max-width: 768px) {
	html, body { margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; }
	.w { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box !important; }
	#col-left, #col-right, #col-main { width: 100% !important; display: block !important; }
	
	.time-display { width: 100% !important; max-width: 100% !important; min-width: auto !important; display: table !important; table-layout: fixed !important; box-sizing: border-box !important; overflow: hidden !important; }
	.color-area { width: 8% !important; min-width: 15px !important; display: table-cell !important; box-sizing: border-box !important; vertical-align: top !important; }
	.time-text { width: 92% !important; min-width: auto !important; white-space: normal !important; display: table-cell !important; box-sizing: border-box !important; word-wrap: break-word !important; overflow-wrap: break-word !important; vertical-align: top !important; }
}

/* 4. 移动端各档高分辨率细微步进调整 */
@media (max-width: 540px) {
	.time-text { font-size: 0.8em !important; padding: 3px 8px !important; }
}
@media (max-width: 412px) {
	.time-text { font-size: 0.75em !important; padding: 2px 6px !important; }
}
@media (max-width: 360px) {
	html, body, .w { width: 100vw !important; max-width: 100vw !important; }
	.time-text { font-size: 0.7em !important; padding: 2px 4px !important; }
}
@media (max-width: 344px) {
	.sub-title { font-size: 0.6em !important; margin-bottom: 2px !important; }
}

/* 5. 时钟卡片标题换行控制 */
@media (min-width: 540px) and (max-width: 912px) {
	.clock-box .title { white-space: normal !important; line-height: 1.2em !important; word-break: break-word !important; overflow-wrap: break-word !important; }
}
@media (min-width: 913px) {
	.clock-box .title { white-space: nowrap !important; line-height: 1em !important; }
	.clock-box .title br { display: none !important; }
}