@viewport {
  width: device-width ;
  zoom: 1.0 ;
}


html{
	height:100%;
}
body {
    min-height: 100%;
    margin: 0 auto;
	background-color:#757575;
	color:#444;
	font-family: Verdana, Arial, Times New Roman, sans-serif;
	flex-direction:column;
}
img{
	max-width:100%;
	image-rendering: optimizeSpeed;             /* Older versions of FF          */
	image-rendering: -moz-crisp-edges;          /* FF 6.0+                       */
	image-rendering: -webkit-optimize-contrast; /* Safari                        */
	image-rendering: -o-crisp-edges;            /* OS X & Windows Opera (12.02+) */
	image-rendering: pixelated;                 /* Awesome future-browsers       */
	-ms-interpolation-mode: nearest-neighbor;   /* IE                            */
}
.wrapper {
	flex-direction:column;
	background:#ecedf3;
	width:100%;
	max-width:682px;
	margin: 0 auto;
	font-size:14px;
}
h1,h2,h3,h4,h5,h6{
	font-size:1em;
	margin: 8px 0;
	text-align:center;
}
h1{
	font-size:2em;
}
h2{
	font-size:1.5em;
}
.h1-error{
	font-size:64px;
}	
a{
	color: #46d;
	text-decoration:none;
	-webkit-tap-highlight-color: transparent;
}
a:hover{
	text-decoration:underline;
}
.clearfix::after{
    content: "";
    clear: both;
    display: table;
}
.flex{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
.grow{
	-moz-box-flex-grow: 1;         /* OLD - Firefox 19- */
	-webkit-flex-grow: 1;          /* Chrome */
	-ms-flex-grow: 1;              /* IE 10 */
	flex-grow: 1;
}


.logo{
	display:block;
}


.nav-page, .nav-options{
	margin:8px auto;
	font-size:18px;
	
	text-align:center;
}
.nav-page{
	max-width:480px;
}
.nav-left, .nav-right{
	color:#444;
	padding:0 10px;
}
.nav-left:hover, .nav-right:hover{
	text-decoration:none;
}
.nav-left{
	text-align:left;
}
.nav-right{
	text-align:right;
}
.gray{
	color:#a2a2a6;
}
.h1-nav-page{
	font-size:20px;
	margin:0;
}
.bookmark{
	position:relative;
}
.tooltip-top, .tooltip-bottom{
	position: absolute;
	display: none;
	width: 245px;
	background-color: #444;
	color: #fff;
	padding: 16px;
	border-radius: 6px;
	z-index:1;
	margin-left: -136px;
}
.bookmark:hover .tooltip-top,.bookmark:hover .tooltip-bottom{
	display:block;
}
.tooltip-top{
	top: 150%;
	left: 50%;
}
.tooltip-bottom{
	bottom: 150%;
	left: 50%;
}
.tooltip-top::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #444 transparent;
}
.tooltip-bottom::after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: #444 transparent transparent transparent;
}
.legal{
	margin:8px 0;
	font-size:16px;
	text-align:center;
}







.content{
	padding: 8px 16px;
}
.quoteheader{
    color: #000;
	background-color: #d7daec;
	padding-left: 5px;
	border-left: 6px double #000;
	border-radius: 9px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 9px;
	width: auto;
    text-align:left;
	margin:1px;
}
.standardquote{
    color: #000;
	background-color: #d7daec;
	border: 1px solid #000;
	margin:1px;
	padding: 3px;
	line-height: 1.4em;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
    text-align:left;
	margin:1px;
}
.spoilerbody {
    color: #0f0f0f;
    border: 1px dotted gray;
    padding: 0.5em;
    margin: 0.5em;
}
.bbc_tt{
    font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace;
}
hr{
    height: 1px;
    border: 0;
    color: #666;
    background-color: #666;
}
code.bbc_code {
    display: block;
    font-family: "dejavu sans mono", "monaco", "lucida console", "courier new", monospace;
    font-size: x-small;
    background: #eef;
    border: 1px solid #000;
    line-height: 1.3em;
    padding: 1px;
    overflow: auto;
    white-space: nowrap;
    max-height: 24em;
    margin-bottom: 6px;
}




.preview{
	padding:8px 16px 16px;
}
#form-edit{
	background:#444;
	color:#fff;
	padding:8px 16px 16px;
	text-align:center;
}

#form-edit label{
	display:block;
	margin:8px 0;
}
#form-edit textarea{
	box-sizing: border-box;
	display:block;
	width:100%;
    max-width: 600px;
	margin:8px auto;
	height: 175px;
	border: 1px solid #808080;
    padding: 2px !important;
	overflow-x: hidden;
}
#form-edit input[type=text]{
	box-sizing: border-box;
	background:#f9f9f9;
	display:block;
	width:100%;
    max-width: 600px;
	margin:8px auto;
	padding:8px;
	border:0;
}
#password{
  	box-sizing: border-box;
	background:#d3d3d3;
	border-radius:8px;
	width:100%;
	max-width:400px;
	margin:16px auto;
	padding:16px;
	color:#444;
}
#password input{
  	box-sizing: border-box;
	background:#f9f9f9;
	width:100%;
	margin:8px 0;
	padding:8px;
	border:0;
}
#password input[type=submit]{
	background:#444;
	color:#fff;
}