html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1; font-family: arial;}
h1{font-size: 25px;}h2{font-size: 21px;}h3{font-size: 18px;}h4{font-size: 16px;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

:root {
	--page-bg: #FFF;
	--text-color: #333;
	--header-bg: #AEC6CF;
	--footer-bg: #AEC6CF;
	--pill-bg: #EEE;
	--pill-color: #444;
	--pill-hover-bg: #FFF;
	--logo-color: #FFF;
	--accent-border: #999;
	--muted-text: #666;
}
body,html {
	background-color: var(--page-bg);
	color: var(--text-color);
}
header {
    background: var(--header-bg);
    padding: 20px 30px;
    max-width: 940px;
    margin: auto;
}
nav {
    display: inline-block;
}
nav ul li a {
    background: var(--pill-bg);
    padding: 2px 10px;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    color: var(--pill-color);
    border-radius: 10px;
}
nav ul li a:hover {
	background: var(--pill-hover-bg);
}
nav ul li {
    display: inline-block;
    margin: 10px;
}
nav ul {
    list-style: none;
}
#pageContent {
    max-width: 1000px;
    margin: auto;
    border: none;
}
main {
	float: left;
	width: 60%;
}
aside {
	float: right;
	width: 30%;
}
article {
    border-bottom: 2px dotted var(--accent-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
article h2 {
    font-weight: normal;
    margin-bottom: 12px;
}
article p {
	
}
main section {
	
}
footer {
	background: var(--footer-bg);
	max-width: 1000px;
	margin: auto;
	clear: both;
	text-align: right;
}
footer p {
	padding: 20px;
}
address {
    padding: 10px 20px 30px 10px;
}
aside > div {
	margin: 10px auto;
	background: var(--header-bg);
	min-height: 100px;
}
#logo {
    display: inline-block;
    vertical-align: middle;
    font-size: 30px;
    margin-right: 75px;
    color: var(--logo-color);
}
#logo img {
    width: 50px;
    vertical-align: middle;
    margin-right: 10px;
}
body > section {
    max-width: 1000px;
    margin: auto;
    padding: 30px 0px;
    border-bottom: 1px solid var(--accent-border);
    color: var(--text-color);
}

article iframe {
	max-width: 100%;
}
.video-wrap {
	display: flex;
	justify-content: center;
}
.video-wrap iframe,
.video-wrap video {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}
.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	width: 100%;
	margin: auto;
}
.video-grid .video-container {
	border-bottom: 2px dotted var(--accent-border);
	padding-bottom: 12px;
	text-align: center;
}
.video-grid video {
	width: 100%;
	height: auto;
	border-radius: 4px;
}
.video-grid p {
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted-text);
	word-break: break-all;
}
main.full {
	float: none;
	width: 100%;
}

#editorArticle {
	border-bottom: none;
}
.editor-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}
.editor-toolbar input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.fileBtn,
.editor-toolbar button {
	background: var(--pill-bg);
	padding: 8px 16px;
	font-size: 15px;
	font-weight: bold;
	color: var(--pill-color);
	border-radius: 10px;
	border: none;
	cursor: pointer;
	display: inline-block;
}
.fileBtn:hover,
.editor-toolbar button:hover {
	background: var(--header-bg);
	color: var(--logo-color);
}
.editor-canvas-wrap {
	max-width: 100%;
	overflow: hidden;
	border: 2px dotted var(--accent-border);
	border-radius: 4px;
	line-height: 0;
}
#editorCanvas {
	width: 100%;
	height: auto;
	display: block;
	touch-action: none;
}
.editor-hint {
	color: #888;
	font-size: 13px;
	margin: 8px 0 20px;
}
.editor-controls {
	max-width: 500px;
}
.control-row {
	margin-bottom: 14px;
}
.control-row label {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #444;
	margin-bottom: 4px;
}
.control-row input[type="range"] {
	width: 100%;
}

@media screen and (max-width: 1000px) {
	body > section {
		padding: 30px 20px;
	}
}
@media screen and (max-width: 600px) {
	main {
		float: none;
		width: 100%;
	}
	aside {
		float: none;
		width: 100%;
	}

}
