p {
	text-align: left;
}
input {
	outline: 0;
}

#feedback_link {
	position: fixed;
	width: 60px;
	height: 136px;
	left: -10px;
	top: 50%;
	margin-top: -68px;
	background-image: url('../images/feedback.png');
	background-position: left top;
}
#feedback_link:hover {
	left: 0px;
}

/* Notepad
 * ---------------- */
#rename {
	color: black;
	font-size: 20px;
	font-weight: bold;
	border: 1px dashed #ccc;
	padding: 0 2px;
	margin-bottom: 10px;
	background: transparent;
	font-family: "KlavikaRegularPlain";
	display: inline;
	float: left;
}
#rename:hover, #rename:focus {
	border: 1px solid #ccc;
}
#rename.locked {
	border: 0px;
}
#rename_icon {
	cursor: pointer;
	padding: 4px 0 0 2px;
}
#kl1p_info {
	float: right;
	text-align: right;
}
#kl1p_info, #kl1p_info * {
	font-size: 12px;
	color: #444;
}
#kl1p_info label {
	cursor: pointer;
}
span.expires {
	display: none;
}
span.expires form {
	display: inline;
}
span.expires input {
	border: 1px solid #ccc;
	width: 20px;
	font-family: Arial;
	font-size: 12px;
	color: #444;
}
a.expires {
	line-height: 22px;
	text-decoration: underline;
}

#notepad_container {
	background-color: white;
	margin: 20px auto 0 auto;
	border: 1px solid #aaa;
	text-align: left;
	min-height: 500px;
	padding: 0;
	width: 1000px;
}


#kl1ps_saved_col {
	background-color: #f5f5f5;
	width: 180px;
	padding-bottom: 10px;
	border-right: 1px dashed #ccc;
}
#kl1ps_saved {
	margin: 0;
	padding: 0;
	max-height: 700px;
	overflow-y: auto;
	padding: 10px 0 0 0;
}
#kl1ps_saved li {
	list-style: none;
	margin: 0;
	padding: 0;
}
#kl1ps_saved a {
	text-decoration: none;
	color: black;
	font-size: 11px;
	display: block;
	padding: 6px 14px;
	font-family: "Lucida Grande", Arial;
	border-bottom: 1px dashed #ccc;
}
#kl1ps_saved a:hover, #kl1ps_saved a.active {
	background-color: #666;
	color: white;
	border-bottom: 1px solid #666;
}
#kl1ps_saved strong {
	width: 160px;
	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
	font-size: 14px;
	line-height: 15px;
	font-family: "KlavikaLightPlain";
	font-weight: 600;
}


#kl1p_container {
	padding: 10px;
}
#notepad, .linkable {
	width: 100%;
	min-height: 500px;
	border: 1px solid #ccc;
	outline: 0;
	font-size: 13px;
	font-family: monospace;
	overflow-x: hidden;
	overflow-y: auto;
	background: white;
	padding: 0;
}
#notepad[readonly] {
    background: #f5f5f5;
}
.linkable {
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
/* Menu Item
 * --------------- */

.menuitem {
	padding-left: 40px;
	padding-right: 15px;
	display: block;
	line-height: 70px;
	text-decoration: none;
	background-position: 7px center;
	background-repeat: no-repeat;
	border-bottom: 2px solid transparent;
}
.menuitem:hover, .menuitem.hover, .menuitem.selected {
	border-bottom: 2px solid #222;
}
.menuitem:active, .menuitem.active {
	position: relative;
	top: 2px;
}
.menuitem.logo {
	padding: 0;
	width: 150px;
	height: 70px;
	background-image: url('../images/logo_top.png');
	background-repeat: no-repeat;
	background-position: left center;
}
.menuitem.logo:hover, .menuitem.logo.selected, .menuitem.logo:active {
	border: 0px;
	top: 0;
}
.menuitem.save {
	background-image: url('../images/menuitem/save.jpg');
}
.menuitem.save.saving {
	background-image: url('../images/load.gif');
	background-size: 20px;
}
.menuitem.tools {
	background-image: url('../images/menuitem/tools.jpg');
}
.menuitem.qr {
	background-image: url('../images/menuitem/qr.jpg');
}
.menuitem.stats {
	background-image: url('../images/menuitem/stats.jpg');
}
.menuitem.copy, .menuitem.copy-url {
	background-image: url('../images/menuitem/copy.jpg');
}
.menuitem.share {
	background-image: url('../images/menuitem/share.jpg');
}
.menuitem.kl1p {
	background-image: url('../images/menuitem/kl1p.jpg');
}
.menuitem.create {
	background-image: url('../images/menuitem/create.jpg');
}

/* Menu
 * -------------------- */
#menudd {
	position: absolute;
	top: 70px;
	left: 50%;
	display: none;
	z-index: 11;
}
#midborder {
	width: 50%;
	height: 20px;
	border-right: 2px solid #222;
}
#ddclose {
	position: relative;
}
#ddclose a {
	position: absolute;
	top: -14px;
	right: -14px;
	background-image: url('../images/close.png');
	height: 30px;
	width: 30px;
}
#menudd .content {
	display: none;
	border: 2px solid #222;
	border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: white;
	font-size: 13px;
	max-height: 400px;
	overflow-y: auto;
}
#fslink {
	background-image: url('../images/fullscreen.png');
	background-repeat: no-repeat;
	background-position: left center;
	padding: 2px 0 2px 16px;
}
#menudd .content td {
	text-align: center;
	border-right: 1px dashed #ccc;
	padding: 0;
	margin: 0;
}
#dd_qr {
    min-width: 180px;
    min-height: 180px;
    overflow: hidden !important; 
}
#dd_qr .load {
	margin-top: 95px !important;
}
#dd_create td {
	width: 90px;
}
#dd_copy td {
	width: 90px;
}
#dd_kl1p td {
	width: 75px;
}
#menudd .content td:last-child {
	border-right: 0px;
}
#menudd .content tr td {
	border-bottom: 1px dashed #ccc;
}
#menudd .content tr:last-child td {
	border-bottom: 0px;
}
#menudd .content img {
	display: block;
	margin: 0 auto 5px auto;
}
#menudd .content a {
	display: block;
	text-decoration: none;
	color: black;
	padding: 5px;
	font-family: "KlavikaRegularPlain";
}
#menudd .content a:hover, #menudd .content a.hover {
	background-color: #eee;
}
/* Ajax
 * ---------------------- */
.black_bg {
	background-image: url('../images/black_50_bg.png');
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
}
.popup {
	background-color: white;
	position: absolute;
	left: 50%;
	top: 50%;
	padding: 15px;
	font-size: 12px;
	box-shadow: 0 0 30px black;
	-moz-box-shadow: 0 0 30px black;
	-webkit-box-shadow: 0 0 30px black;
}
.popup h1 {
	margin: 0 0 5px 0;
	letter-spacing: -1px;
	font-size: 22px;
}
#lockedcode {
	border: 1px solid #ccc;
	padding: 10px;
	background-color: #f5f5f5;
	margin: 0;
	white-space: normal;
}

/* Full Screen
 * ------------------------- */
body.fullscreen #feedback_link, body.fullscreen #footer {
	display: none;
}
body.fullscreen #notepad_container {
	width: 100%;
	margin: 0;
}
body.fullscreen #kl1ps_saved {
	height: 100%;
}

#editor {
	border: 1px solid #ccc;
}
#sketch_tools {
	height: 30px;
	padding: 7px 0 0 5px;
	background-color: #eee;
	border: 1px solid #ccc;
	border-bottom: 0;
}
#sketch_tools a.active {
	border: 2px solid black;
}
#sketch_tools a {
	border: 1px solid #ddd;
	background-color: white;
	height: 20px;
	line-height: 20px;
	padding: 0 10px;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	color: black;
	font-weight: bold;
	font-size: 12px;
	background-position: center center;
	background-repeat: no-repeat;
	display: block;
	float: left;
}
#sketch_draw {background-image: url('../images/edit.png'); width: 2px;}
#sketch_erase {background-image: url('../images/sketch/eraser.png'); width: 2px;}
#sketch_undo {background-image: url('../images/sketch/undo.png'); width: 2px;}
#sketch_redo {background-image: url('../images/sketch/redo.png'); width: 2px;}
#sketch_clear {background-image: url('../images/sketch/clear.png'); width: 4px;}

#sketch_colors a {
	border: 2px solid transparent;
	margin: 0;
	height: 16px; width: 16px;
	padding: 0;
}
#sketch_tools a:active {
    border: 2px solid #333;
}
.sketch_divider {
    display: block;
    width: 10px;
    height: 10px;
    float: left;
}


/* Tools page
 * ------------------------- */
#tools_text {
    padding: 5px;
    border: 1px dashed #ccc;
    max-height: 100px;
    overflow: scroll;
}
