@charset "utf-8";

/* Reset CSS */

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;
}

/* Font */

@font-face {
  font-family: 'fontawesome';
  src: url('../fonts/fontawesome.eot'); /* IE9 Compat Modes */
  src: url('../fonts/fontawesome.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/fontawesome.woff') format('woff'), /* Modern Browsers */
       url('../fonts/fontawesome.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('../fonts/fontawesome.svg#svgFontName') format('svg'); /* Legacy iOS */
}

/* Homepage */

@-webkit-keyframes moveforwards { 0% { -webkit-transform: scale(.95) translate3d(0,0,0); transform: scale(.95) translate3d(0,0,0); opacity: .7; } }
@-moz-keyframes moveforwards { 0% { -moz-transform: scale(.95) translate3d(0,0,0); transform: scale(.95) translate3d(0,0,0); opacity: .7; } }
@-o-keyframes moveforwards { 0% { transform: scale(.95) translate3d(0,0,0); opacity: .7; } }
@keyframes moveforwards { 0% { -webkit-transform: scale(.95) translate3d(0,0,0); -moz-transform: scale(.95) translate3d(0,0,0); transform: scale(.95) translate3d(0,0,0); opacity: .7; } }
@-webkit-keyframes movebackwards { 0% { -webkit-transform: scale(1.05) translate3d(0,0,0); transform: scale(1.05) translate3d(0,0,0); opacity: .7; } }
@-moz-keyframes movebackwards { 0% { -moz-transform: scale(1.05) translate3d(0,0,0); transform: scale(1.05) translate3d(0,0,0); opacity: .7; } }
@-o-keyframes movebackwards { 0% { transform: scale(1.05) translate3d(0,0,0); opacity: .7; } }
@keyframes movebackwards { 0% { -webkit-transform: scale(1.05) translate3d(0,0,0); -moz-transform: scale(1.05) translate3d(0,0,0); transform: scale(1.05) translate3d(0,0,0); opacity: .7; } }
@-webkit-keyframes shiny { 50% { opacity: 0 } }
@-moz-keyframes shiny { 50% { opacity: 0 } }
@-o-keyframes shiny { 50% { opacity: 0 } }
@keyframes shiny { 50% { opacity: 0 } }

.anim-forwards {
	-webkit-transform-origin: 50% 0;
	   -moz-transform-origin: 50% 0;
	    -ms-transform-origin: 50% 0;
	     -o-transform-origin: 50% 0;
	        transform-origin: 50% 0;
	-webkit-animation: moveforwards .4s ease;
	   -moz-animation: moveforwards .4s ease;
	     -o-animation: moveforwards .4s ease;
	        animation: moveforwards .4s ease;
}
.anim-backwards {
	-webkit-transform-origin: 50% 0;
	   -moz-transform-origin: 50% 0;
	    -ms-transform-origin: 50% 0;
	     -o-transform-origin: 50% 0;
	        transform-origin: 50% 0;
	-webkit-animation: movebackwards .4s ease;
	   -moz-animation: movebackwards .4s ease;
	     -o-animation: movebackwards .4s ease;
	        animation: movebackwards .4s ease;
}
html {
	-webkit-text-size-adjust: 100%;
}
body {
	font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	text-rendering: optimizeLegibility;
	text-rendering: geometricPrecision;
	font-smooth: always;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}
body.hide-toolbox .toolbox {
	visibility: hidden!important;
}
textarea {
	font-family: inherit;
}
input[type=text],
input[type=password],
input[type=submit],
input[type=button],
textarea {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}
a {
	color: #444;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
.logo {
	display: inline-block;
}
header.page {
	padding: 10px 20px;
	font-size: small;
}
#navwrap {
	vertical-align: middle;
}
nav a {
	font-weight: bold;
}
nav > ul > li {
	display: inline;
	margin-right: 20px;
	position: relative;
}
nav > ul > li:last-child {
	margin-right: 0;
}
.navmore {
	display: none;
	visibility: hidden;
	position: absolute;
	padding: 12px;
	right: 0;
	min-width: 120px;
	max-width: 100%;
	text-align: left;
	background-color: white;
	border: 1px solid #ccc;
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.2);
	   -moz-box-shadow: 0 2px 2px rgba(0,0,0,.2);
	        box-shadow: 0 2px 2px rgba(0,0,0,.2);
	z-index: 2;
}
.navmore > ul > li {
	margin-bottom: 10px;
	white-space: nowrap;
}
.navmore > ul > li:last-child {
	margin-bottom: 0;
}
#toggleMenu {
	position: relative;
	width: 24px;
	height: 24px;
	vertical-align: middle;
	z-index: 3;
}
#toggleMenu:hover+.navmore, .navmore:hover {
	display: block;
	visibility: visible;
}
#toggleMenu:hover+.navmore::after, .navmore:hover::after {
	content: '';
	display: block;
	width: 24px;
	height: 24px;
	border: 1px solid #ccc;
	border-bottom-color: #fff;
	position: absolute;
	top: -26px;
	right: -1px;
}
#toggleMenu:hover+.navmore::before, .navmore:hover::before {
	content: '';
	display: block;
	height: 25px;
	position: absolute;
	top: -25px;
	right: 0;
	left: 0;
}
#main_section {
	position: relative;
	-webkit-transition: .2s opacity;
	-o-transition: .2s opacity;
	-moz-transition: .2s opacity;
	transition: .2s opacity;
}
#main_section.search-empty,
#main_section.drag-over {
	opacity: .5;
}
#search {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	max-width: 500px;
	margin: auto;
}
iframe[name="googleSearchFrame"] {
	margin-top: 60px;
	width: 100%;
}
#search form {
	position: relative;
}
#search input[type="submit"] {
	position: absolute;
	right: 0; top: 0; bottom: 0;
	border-width: 0;
	background: transparent url('../img/ui/gsearch.svg') left center no-repeat;
	width: 30px;
	cursor: pointer;
	outline: 0 !important;
	color: transparent;
}
#search input[type="text"] {
	width: 100% !important;
	-webkit-box-sizing: border-box !important;
	   -moz-box-sizing: border-box !important;
	        box-sizing: border-box !important;
	margin: 0 !important;
	padding: .6em .8em !important;
	font-size: 120% !important;
	border-width: 0 !important;
	outline: 0 !important;
	color: #000 !important;
	background-position: 8px center !important;
	caret-color: gray;
	background-color: #f5f5f5!important;
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}
#search input[type="text"]::-webkit-input-placeholder {
	color: #ccc;
	font-size: 80%;
}
#search input[type="text"]:-moz-placeholder {
	color: transparent;
}
#search input[type="text"]::-moz-placeholder {
	color: transparent;
}
#search input[type="text"]:-ms-input-placeholder {
	color: transparent;
}
#search input[type="text"]::-ms-input-placeholder {
	color: transparent;
}
article.main {
	max-width: 50rem;
	margin: auto;
}
article.popup {
	width: 400px;
	margin: auto;
	max-width: 100%;
	background-color: white;
	border: 1px solid #999999;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-box-shadow: 0 10px 70px rgba(0,0,0,.4);
	   -moz-box-shadow: 0 10px 70px rgba(0,0,0,.4);
	        box-shadow: 0 10px 70px rgba(0,0,0,.4);
}
article.popup > header {
	padding: 7px 10px;
	color: #797979;
}
article.popup > article {
	padding: 25px;
	color: #5f5f5f;
}
article.popup input[type="text"],
article.popup input[type="file"],
article.popup .input-like {
	border: 1px solid #9c9c9c;
}
article.popup input[type="text"],
article.popup input[type="file"],
article.popup select,
article.popup .input-like {
	width: 100%;
	margin: 7px 0 14px;
	font-size: 16px;
	padding: .5em;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
article.popup textarea {
	resize: vertical;
	max-height: 200px;
}
article.popup .button-area {
	text-align: right;
}
article.popup input[type="submit"],
article.popup input[type="button"] {
	border: 1px solid #c8c8c8;
	background-color: #e8e8e8;
	padding: 8px 20px;
	min-width: 90px;
	margin: 0 0 0 7px;
	color: #454545;
	font-size: 16px;
	-webkit-border-radius: 1px;
	   -moz-border-radius: 1px;
	        border-radius: 1px;
	cursor: pointer;
}
/* Color fix */
article.popup a > input[type="button"] {
	border-color: #c8c8c8;
}
article.popup h1 {
	float: left;
}
article.popup .close-btn {
	float: right;
}
article.popup .msg {
	margin-bottom: 24px;
	line-height: 1.3em;
}
article.main.blur {
	opacity: .5;
}
article.interface {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 5;
}
.clearfix {
	clear: both;
}
.shortcuts a {
	-webkit-tap-highlight-color: transparent;
	text-decoration: none;
}
.shortcuts > li {
	position: relative;
	display: inline-block;
	width: 96px;
	vertical-align: top;
}
.shortcuts .icon {
	display: block;
	width: 4rem;
	height: 4rem;
	font-weight: bold;
	text-align: center;
	text-transform: capitalize;
	color: white;
	margin: auto;
	font-size: 2rem;
	line-height: 4rem;
}
.shortcuts img.icon {
	border: 0;
}
.shortcuts .subicon {
	position: absolute;
	left: 0;
	right: 0;
	top: 1.7rem;
	text-align: center;
	z-index: 0;
	font-family: 'fontawesome';
	font-size: 2rem;
	font-weight: normal;
}
.subicon.theme-0 {
	color: white;
}
.subicon.theme-1 {
	color: rgba(0,0,0,.3);
}
.subicon.theme-2 {
	color: rgba(0,0,0,.3);
}
.subicon.theme-3 {
	color: white;
}
.radioSelect {
	word-break: break-all;
}
.radioSelect input[type="radio"] {
	display: none;
}
.radioSelect label {
	padding: 5px;
	display: inline-block;
}
.radioSelect input[type="radio"]:checked+label {
	background-color: Highlight;
	color: HighlightText;
}
.subiconselect {
	max-height: 120px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
.subiconselect > .radioSelect {
	font-family: 'fontawesome';
	font-size: 14px;
}
.shortcuts div.icon {
	background-color: #e8e8e8;
}
.shortcuts > li:hover .text {
	color: black;
}
.shortcuts .highlight-top.justadded {
	opacity: .2;
	background-color: #FFFE87;
	border: 2px solid #FF7800;
	-webkit-animation: shiny 1.6s ease 3;
	   -moz-animation: shiny 1.6s ease 3;
	     -o-animation: shiny 1.6s ease 3;
	        animation: shiny 1.6s ease 3;
}
.shortcuts > li:hover .highlight-top {
	background-color: #87b7ff;
	border: 2px solid #0030ff;
	opacity: .15;
	cursor: pointer;
	-webkit-animation: none;
	   -moz-animation: none;
	     -o-animation: none;
	        animation: none;
}
.shortcuts > li:hover .toolbox {
	visibility: visible;
	opacity: 1;
	-webkit-transition: .2s opacity .1s;
	-o-transition: .2s opacity .1s;
	-moz-transition: .2s opacity .1s;
	transition: .2s opacity .1s;
}
.shortcuts .text {
	position: relative;
	max-width: 100%;
	color: #444444;
	text-align: center;
	word-wrap: break-word;
	z-index: 1;
	margin-top: .5rem;
	font-size: 0.9rem;
	line-height: 1.1rem;
	font-weight: bold;
	-webkit-transition: .2s color;
	-o-transition: .2s color;
	-moz-transition: .2s color;
	transition: .2s color;
}
.shortcuts .toolbox {
	position: relative;
	z-index: 1;
	height: 1rem;
	visibility: hidden;
	opacity: 0;
	margin: 0 0 .25rem;
}
.shortcuts .toolbox > * {
	cursor: pointer;
}
.shortcuts .edit-btn {
	float: left;
	-webkit-transform: translate3d(2rem, 1rem, 0);
	   -moz-transform: translate3d(2rem, 1rem, 0);
	        transform: translate3d(2rem, 1rem, 0);
}
.shortcuts .del-btn {
	float: right;
	-webkit-transform: translate3d(-2rem, 1rem, 0);
	   -moz-transform: translate3d(-2rem, 1rem, 0);
	        transform: translate3d(-2rem, 1rem, 0);
}
.shortcuts li:hover .toolbox img {
	-webkit-transform: translate3d(0, 0, 0);
	   -moz-transform: translate3d(0, 0, 0);
	        transform: translate3d(0, 0, 0);
	-webkit-transition: .2s transform .1s ease;
	-o-transition: .2s transform .1s ease;
	-moz-transition: .2s transform .1s ease;
	transition: .2s transform .1s ease;
}

/* Login */

header.simple img {
	margin: 2rem auto;
}
header.simple .catchphrase {
	text-align: center;
	font-size: 1.2rem;
	color: #444444;
}
#simple_section {
	max-width: 350px;
	padding: 0 20px;
	margin: 30px auto;
	font-size: 13px;
}
#simple_page {
	padding: 20px 25px;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
	background-color: #f5f5f5;
}
#simple_page > h1 {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 20px;
}
#simple_page label {
	display: inline-block;
	margin-top: 18px;
	margin-bottom: 5px;
	font-weight: bold;
}
#simple_page label.check {
	font-weight: normal;
}
#simple_page .separator {
	position: relative;
	margin: 24px 0 14px;
	text-align: center;
}
#simple_page .separator > h2 {
	position: relative;
	display: inline-block;
	padding: 0 8px;
	background-color: #f5f5f5;
	color: #4C4C4C;
	z-index: 2;
}
#simple_page .separator::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 50%;
	border-top: 1px solid #e0e0e0;
	z-index: 1;
}
#simple_page input[type="text"],
#simple_page input[type="password"],
#simple_page input[type="button"],
#simple_page input[type="submit"] {
	display: block;
	margin: 0;
	width: 100%;
	font-size: 13px;
	padding: 7px;
	border: 1px solid #9c9c9c;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
}
#simple_page input[type="button"],
#simple_page input[type="submit"] {
	padding-top: 6px;
	padding-bottom: 7px;
	color: #000;
	cursor: pointer;
}
#simple_page input[type="submit"] {
	margin-top: 18px;
	background: #DDEEFE;
	background: -webkit-gradient(linear, left top, left bottom, from(#DDEEFE),to(#ABD2FE));
	background: -webkit-linear-gradient(top, #DDEEFE 0%,#ABD2FE 100%);
	background: -moz-linear-gradient(top, #DDEEFE 0%,#ABD2FE 100%);
	background: -o-linear-gradient(top, #DDEEFE 0%,#ABD2FE 100%);
	background: linear-gradient(to bottom, #DDEEFE 0%,#ABD2FE 100%);
	border-color: #536A8B;
}
#simple_page input[type="button"] {
	background: #ffffff;
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff),to(#ededed));
	background: -webkit-linear-gradient(top, #ffffff 0%,#ededed 100%);
	background: -moz-linear-gradient(top, #ffffff 0%,#ededed 100%);
	background: -o-linear-gradient(top, #ffffff 0%,#ededed 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#ededed 100%);
	border-color: #9c9c9c;
}
#simple_page a {
	text-decoration: none;
}
#simple_page p {
	color: #444;
	font-size: 14px;
	margin-top: 14px;
	line-height: 1.3em;
	text-align: justify;
}
#simple_page p.rmq {
	font-size: 12px;
}
#simple_page .error {
	margin-top: 5px;
	color: #A21719;
}
.btn {
	-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
	   -moz-box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
	        box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
}
.btn:active {
	-webkit-box-shadow: 0 7px 5px -5px rgba(0,0,0,.2) inset;
	   -moz-box-shadow: 0 7px 5px -5px rgba(0,0,0,.2) inset;
	        box-shadow: 0 7px 5px -5px rgba(0,0,0,.2) inset;
}
.shortcuts > li {
	width: 5rem;
	padding-top: .5rem;
	vertical-align: top;
}
.shortcuts .highlight {
	display: block;
	position: relative;
	padding: .5rem 0;
}
.shortcuts .highlight:active {
	-webkit-transform: scale(.95);
	   -moz-transform: scale(.95);
	    -ms-transform: scale(.95);
	     -o-transform: scale(.95);
	        transform: scale(.95);
	-webkit-transition: .1s transform ease-out;
	-o-transition: .1s transform ease-out;
	-moz-transition: .1s transform ease-out;
	transition: .1s transform ease-out;
}
.shortcuts .highlight:active .highlight-top {
	background-color: #A0A0A0;
	border: 2px solid #555555;
	opacity: .15;
	-webkit-animation: none;
	   -moz-animation: none;
	     -o-animation: none;
	        animation: none;
}
.shortcuts .highlight-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
}
.shortcuts .has-note {
	position: absolute;
	left: 3.3rem;
	top: 3.3rem;
	-webkit-filter: drop-shadow(1px 1px 1px #0002);
	        filter: drop-shadow(1px 1px 1px #0002);
	z-index: 0;
	-webkit-transition: .2s all;
	-o-transition: .2s all;
	-moz-transition: .2s all;
	transition: .2s all;
}
.shortcuts li:hover .has-note {
	opacity: .5;
}
#description.input-like {
	-webkit-transition: .2s text-shadow, .2s color;
	-o-transition: .2s text-shadow, .2s color;
	-moz-transition: .2s text-shadow, .2s color;
	transition: .2s text-shadow, .2s color;
}
#description.input-like:not(:placeholder-shown) {
	color: transparent;
	text-shadow: 0 0 7px darkblue;
}
#description.input-like:focus,
#description.input-like:hover {
	color: darkblue;
	text-shadow: none;
}

@media screen and (max-width: 1024px) {
	article.main {
		max-width: 40rem;
	}
	#search {
		max-width: 25rem;
	}
}

@media screen and (max-width: 780px) {
	article.main {
		max-width: 30rem;
	}
	#search {
		position: static;
		max-width: 30rem;
	}
	#search form {
		margin: 1rem 0;
	}
}

@media screen and (max-width: 480px) {
	article.main, #search {
		max-width: 20rem;
	}
	header.page {
		padding: 12px;
	}
	nav > ul > li {
		margin-right: 10px;
	}
	article.popup {
		width: 90%;
		max-width: 400px;
	}
}

@media screen and (max-width: 320px) {
	article.main, #search {
		max-width: 100%;
		margin: 0 1rem;
	}
	header.page {
		padding: 12px;
	}
	nav > ul > li {
		margin-right: 10px;
	}
	article.popup {
		width: 90%;
		max-width: 400px;
	}
}