/*
	Cheshire Hike Track
*/

/* CSS Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* Overall */
body { font-family: 'Nunito Sans'; background: #F8FAFC; font-size: 16px; line-height: 1.4; color: #111; }
body.log-inauth { background: #F8FAFC; }
body.log-intext { background: #F8FAFC; }
body.log-incomplete { background: #F8FAFC; }
body.registerstart { background: #111; }
body.registeremail { background: #111; }
body.registertext { background: #111; }
body.registercomplete { background: #111; }
input:focus, select:focus, textarea:focus, button:focus { outline: none; }
input, select, button { font-family: 'Nunito Sans'; font-size: 16px; }

.grey_text { color: #64748B; }

.toast { background: #ED3F23; padding: 20px; color: #fff; border-radius: 6px; margin: -5px 0 30px 0; }
.toast.response { display: none; color: #EF4444; background: #ffe4e4; }
.toast.green { color: #10B981; background: #d7f5eb; }
.toast.welcome { color: #fff; background: #1a73e8; margin: 0; padding: 30px; }
.staging { display: none; position: fixed; z-index: 100; bottom: 20px; right: 20px; background: #b72525; color: #fff; font-size: 14px; line-height: 14px; border-radius: 100px; padding: 14px 20px; text-decoration: none; margin: 2px 0 0 20px; }
.pop { position: fixed; z-index: 100; bottom: -100px; left: 50%; transform: translateX(-50%); background: #1a73e8; color: #fff; border-radius: 100px; padding: 15px 25px; text-decoration: none; }

input[readonly] { background-color: #eee; color: #777; cursor: not-allowed; }
.null { cursor: default; }

/* Animations */
.live i { animation: blinker 2s linear infinite }
.live.refresh i { animation: none; }
@keyframes blinker { 50% { transform: scale(1.2); } }

.issue.blood-red { animation: blood-red-blinker 1s linear infinite }
@keyframes blood-red-blinker { 50% { background: #8c2020; } }

.notification.new { animation: notify 0.4s linear; animation-fill-mode: forwards; }
@keyframes notify { 0% { height: 0px; opacity: 0; } }
@keyframes notify { 100% { opacity: 1; height: 100px; } }
.notification.new span { animation: fadein 1s linear; animation-fill-mode: forwards; }
@keyframes fadein { 0% { opacity: 0; } }
@keyframes fadein { 100% { opacity: 0.6; } }

/* Dialog */
.whiteout { display: none; position: fixed; z-index: 90; background: #fff; opacity: 0.9; width: 100%; height: 100vh; top: 0; left: 0; }
.dialog { display: none; position: fixed; z-index: 100; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; text-align: left; padding: 40px; border-radius: 6px; width: 400px; border: 1px solid #E2E8F0; }
.dialog p { margin: 0 0 30px 0; }
.dialog h3 { font-weight: 700; font-size: 26px; line-height: 32px; margin: 0 0 20px 0; }
.dialog label { display: block; margin: 5px 0 10px 0; width: 100%; font-weight: normal; text-align: left; border-radius: 6px; }
.dialog input, .dialog select { display: inline-block; margin: 0 0 20px 0; width: 100%; border: 1px solid #CBD5E1; padding: 12px; box-sizing: border-box; border-radius: 6px; }
.dialog .buttons { float: right; }
.dialog .button { line-height: 16px; margin: 0 0 0 10px; border-radius: 6px; text-decoration: none; float: left; width: auto; background: #10B981; color: #fff; font-weight: 700; border: 0; padding: 15px 18px; cursor: pointer; }
.dialog .button.close { background: #F1F5F9; color: #475569; }
.dialog .button:hover { background: #1e9d73; }
.dialog .button.close:hover { background: #F1F5F9; opacity: 0.75; }
.dialog .button:disabled { background: #ccc; }

/* Log In */
.log_in { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; text-align: left; padding: 40px; border-radius: 6px; width: 65%; max-width: 400px; border: 1px solid #E2E8F0; }
.log_in img { width: 90px; margin: 0 0 20px 20px; float: right; }
.log_in h1 { font-weight: 700; font-size: 26px; line-height: 32px; margin: 0 0 20px 0; }
.log_in h1 span { font-weight: 900; }
.log_in .alert { line-height: 18px; margin: 0 0 30px 0; background: #ed3f23; border-radius: 3px; padding: 10px; color: #fff; font-weight: 700; font-size: 12px; }
.log_in p { line-height: 22px; margin: 0 0 30px 0; }
.log_in p.bottom { margin-bottom: 0; font-size: 15px; margin: 25px 0 0 0; }
.log_in p.bottom a { color: inherit; }
.log_in p.bottom.second { margin-top: 5px; }
.log_in label { display: block; margin: 5px 0 10px 0; width: 100%; font-weight: normal; text-align: left; border-radius: 6px; }
.log_in label a { float: right; color: #000; font-size: 14px; text-decoration: none; border-bottom: 1px solid #000; }
.log_in input, .log_in select { display: inline-block; margin: 0 0 20px 0; width: 100%; border: 1px solid #CBD5E1; padding: 12px; box-sizing: border-box; border-radius: 6px; }
.log_in .button { background: #10B981; color: #fff; font-weight: 700; border: 0; padding: 15px 0; cursor: pointer; margin-bottom: 0; }
.log_in .button:hover { background: #1e9d73; }
.log_in .button:disabled { background: #ccc; }

/* Header Bar */
.header_bar { background: #fff; border-bottom: 1px solid #E2E8F0; padding: 20px 35px; box-sizing: border-box; z-index: 10; position: fixed; top: 0; left: 0; width: 100%; font-weight: 600; }
.header_bar .right { float: right; }
.header_bar p { display: inline-block; margin: 10px 0 0 0; }
.header_bar p > i { margin: 0 10px; font-size: 15px; line-height: 15px; }
.header_bar p small { font-weight: 700; }
.header_bar p.name { border: 1px solid #E2E8F0; padding: 9px 13px; border-radius: 6px; margin: 0 15px 0 0; }
.header_bar p strong { font-weight: 800; }
.header_bar a { color: #111; text-decoration: none; margin: 0 0 0 20px; }
.header_bar .right .links { float: right; margin-top: 10px; }
.header_bar .right i { margin: 0 5px 0 0; color: #111; }

/* Side Bar */
.sidebar { background: #fff; position: fixed; left: 0; top: 0; width: 300px; z-index: 5; border-right: 1px solid #E2E8F0; height: 100vh; box-sizing: border-box; padding: 110px 25px 25px 0; font-weight: 600; }
.sidebar .item { color: #111; text-decoration: none; padding: 10px 0 10px 25px; display: block; border-left: 3px solid #fff; }
.sidebar .item i { float: left; line-height: 22px; min-width: 20px; color: #111; text-align: center; margin-right: 15px; }
.sidebar .item p { padding-top: 1px; }
.sidebar .item.active, .side_bar .item.active i { color: #10B981; }
.sidebar .item.disabled { pointer-events: none; opacity: 0.25; }
.sidebar .item.sub { padding-left: 55px; font-weight: normal; padding-top: 8px; padding-bottom: 8px; }

/* Container */
.container { padding: 130px 50px 50px 350px; }
.container h1 { font-size: 28px; font-weight: 700; margin: 0 0 20px 0; }
.container .intro { color: #64748B; max-width: 800px; }

/* Search */
.container .search { margin-top: 30px; position: relative; width: 300px; display: inline-block; }
.container .search input { width: 100%; border: 1px solid #CBD5E1; border-radius: 6px; padding: 15px 15px 15px 40px; box-sizing: border-box; }
.container .search i { position: absolute; top: 18px; left: 15px; color: #94A3B8; }

/* Counter */
.container .counter { display: inline-block; margin-top: 30px; padding: 0 0 0 40px; }

/* Tables */
.container .list { margin-top: 30px; display: flex; flex-direction: column; width: 100%; }
.container .row { display: flex; color: inherit; text-decoration: none; }
.container .row:hover .column { background: #f8fafc; }
.container .row.button:hover .column { background: #fff; }
.container .row .column { flex: 1; padding: 15px; }
.container .row .column.width-a { flex: 1; }
.container .row .column.width-b { flex: 1.5; }
.container .row .column.width-c { flex: 3; }
.container .row.top .column { font-weight: 600; }
.container .row.top .column.tags { text-indent: -10px; }
.container .row.normal { font-weight: 600; background: #fff; border: 1px solid #E2E8F0; border-radius: 6px; font-weight: normal; margin-bottom: 8px; }
.container .row.normal .column { padding: 15px 15px; }
.container .row p { float: left; padding: 8px 10px; margin: 5px 10px 5px 0; border: 1px solid transparent; }
.container .row p.tag { border-radius: 6px; color: #10B981; background: #d7f5eb; font-weight: 600; }
.container .row p.tag.grey { color: #475569; background: #F1F5F9; }
.container .row p.tag.red { color: #EF4444; background: #ffe4e4; }
.container .row p.tag.orange { color: #C2410C; background: #FFEDD5; }
.container .row p.tag.outline { border-color: #E2E8F0; color: #000; background: none; font-weight: normal; }
.container .row p.tag.button { background: #10B981; color: #fff; }
.container .row p.tag.button:hover { background: #0aa06e; }

.narrow { display: flex; justify-content: center; align-items: center; height: 100%; }
.narrow .narrow_inner { width: 600px; display: flex; flex-direction: column; gap: 20px; } 
.narrow .narrow_box { background: #fff; padding: 30px; border: 1px solid #E2E8F0; border-radius: 6px; box-sizing: border-box; }
.narrow .narrow_box .photo { width: 110px; margin-right: 30px; display: inline-block; float: left; }
.narrow .narrow_box .photo img { width: 100%; height: 100%; border-radius: 100%; }
.narrow .narrow_box h2 { font-size: 28px; font-weight: 700; margin: 13px 0 0 0; }
.narrow .narrow_box p { margin: 5px 0 0 0; }
.narrow .narrow_box .button { line-height: 18px; margin: 29px 0 0 0; float: right; color: #1a73e8; font-weight: 700; }
.narrow .narrow_box.detail h6 { color: #64748B; font-size: 15px; line-height: 30px; float: left; clear: left; }
.narrow .narrow_box.detail h5 { color: #334155; margin-bottom: 15px; float: left; clear: left; }
.narrow .narrow_box.detail .edit { color: #10B981; text-decoration: none; margin-top: -10px; float: right; }
.narrow .narrow_box.detail .item:last-child h5 { margin-bottom: 5px; }
.narrow .narrow_box h4 { font-size: 20px; font-weight: 600; margin: 5px 0; }
.narrow .narrow_box p.intro { margin: 10px 0 30px 0; max-width: 400px; }
.narrow .narrow_box .department { float: left; width: 100%; margin: 0 0 20px 0; }
.narrow .narrow_box .department.box { border: 1px solid #E2E8F0; background: #F8FAFC; padding: 30px; border-radius: 6px; box-sizing: border-box; }
.narrow .narrow_box .department h4 { font-size: 18px; margin-bottom: 5px; }
.narrow .narrow_box .department.box h4 { margin-top: 0; }
.narrow .narrow_box .tags { margin: 10px 0 0 0; float: left; width: 100%; }
.narrow .narrow_box .tag { cursor: pointer; float: left; padding: 8px 10px; margin: 5px 10px 5px 0; border-radius: 6px; color: #475569; background: #F1F5F9; border: 1px solid #E2E8F0; }
.narrow .narrow_box .tag.green { color: #fff; background: #10B981; border-color: #10B981; }
.narrow .narrow_box .save { text-decoration: none; float: right; padding: 15px 18px; margin: 0 0 0 50px; border-radius: 6px; background: #10B981; color: #fff; font-weight: 700; }
.narrow .narrow_box .save.waiting { color: #475569; background: #F1F5F9; }
.narrow .narrow_box p.intro.alt { max-width: none; margin: 15px 0 0 0; }
.narrow .narrow_box small { border: 1px solid #E2E8F0; margin: 20px 0 0 0; max-width: 800px; line-height: 26px; padding: 10px 15px; border-radius: 6px; background: #fff; display: inline-block; }

/* Responsive */
@media only screen and (max-width: 1100px) {
	body { width: 100%; font-size: 14px; }
	input, select, .log_in p.bottom { font-size: 14px; }
	.toast { padding: 15px; }
	.log_in { top: 30px; transform: translate(-50%, 0); }
	.dialog { top: 30px; transform: translate(-50%, 0); max-width: 65%; }
	.header_bar { padding-left: 25px; padding-right: 25px; text-align: center; }
	.header_bar .mobile_wrapper { max-width: 400px; display: inline-block; }
	.header_bar p { margin-top: 5px; text-align: left; float: left; }
	.header_bar p.name { border: none; padding: 0; font-weight: normal; }
	.header_bar .right { width: 100%; }
	.header_bar .right .links { margin-top: 0; }
	.header_bar .right .links span { display: none; }
	.sidebar { padding-top: 115px; left: -300px; }
	.container { width: 100%; padding-left: 25px; padding-right: 25px; padding-top: 115px; box-sizing: border-box; }
	.narrow .narrow_inner { max-width: 350px; }
	.container h1 { font-size: 24px; }
	.container .search { margin-top: 25px; width: 100%; }
	.container .search input { font-size: 14px; }
	.container .counter { padding: 0; text-align: right; width: 100%; margin-top: 20px; }
	.container .row .column.width-a { flex: 1; }
	.container .row .column.width-b { flex: 1; }
	.container .row .column.width-c { flex: 1; }
	.container .row .column.hide { display: none; }
	.container .row.top .column.tags { text-indent: 0; }
	.container .row p { margin: 2px; padding: 0; }
	.container .row p.tag.outline { border: 0; display: inline; }
	.container .row p.tag.outline::after { content: ",\00a0"; }
	.container .row p.tag.outline:last-child::after { content: none; }
	.container .row p.tag { background: none; }
	.narrow .narrow_box { padding: 25px; }
	.narrow .narrow_box .photo { width: 75px; height: 75px; margin-right: 20px; margin-bottom: 20px; }
	.narrow .narrow_box h2 { margin-top: 0; font-size: 20px; }
	.narrow .narrow_box.detail h6 { font-size: 13px; line-height: 24px; }
	.narrow .narrow_box h4 { font-size: 18px; }
	.narrow .narrow_box p.intro { margin-bottom: 25px; }
	.narrow .narrow_box .department.box { padding: 20px; }
	.narrow .narrow_box .department h4 { margin-bottom: 0; }
	.narrow .narrow_box .department.box h4 { font-size: 16px; }
}
