/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
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;
}


/* BEGIN 
*/

body {
	font-family: 'Lato', Arial, sans-serif;
}

div {
	/*border: 1px #DDDDDD solid;*/
}

/* Need font inherit for firefox on textarea and input */
textarea {
    font-family: inherit;
}

input {
    font-family: inherit;
}

/******************************
 		MENU/LEFT STUFF 
******************************/

div.menu {
	position: fixed;
	width: 160px;
	height: 100%;
	/*background-color: #DDDDDD;*/
	/*background-color: #DDDDDD; *//*#FEFEFE;*/
    background-color: #FFFFFF;
	text-transform: uppercase;
	/*border: 1px solid black;*/
}

div.menu h1 {
    padding-top: 10px;
    padding-left: 3px;
	font-weight: bold;
	font-size: 1.3em;
	color: #FF4136;
}

div.menu li {
	padding: 10px;
	/*border-top: 1px solid #FFFFFF;*/
	/*margin-top: -1px;*/
	/*margin-left: -1px;*/
    font-size: small;
	/*margin-right: -2px;*/
	/*font-size: 12px;*/
}

div.documentmenu {
    border-top: 1px dashed #FF4136;
}

.mainmenu li:last-child {
	/*border-bottom: 1px dashed #000;*/
}

div.menu a {
	text-decoration: none;
	color: #787878;
}

div.menu a:hover {
	color: #000000;
}

.submenu li {
	background-color: #FFFFFF;
}

.bottom_menu {
    position: absolute;
    bottom: 0;
}

.buttons {
    float: right;
    margin-top: 5px;
}

.buttons a {
    margin-left: 10px;
    text-decoration: none;
    color: #000;
    font-size: small;
    line-height: 15px;
}

.btn {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 2px;
    color: #ffffff;
    background: #2ECC40;
    padding: 3px 5px;
    text-decoration: none;
}

.btn:hover {
    background: #5ce640;
    text-decoration: none;
}

#cancelButton:hover {
    text-decoration: underline;
}
/******************************
 		CENTER STUFF 
******************************/

div.center {
	width: 600px;
	padding-left: 20px;
	/*padding-right: 20px;*/
	min-height: 800px;
	height: 100%;
	float: left;
	margin-left: 150px;
	background-color: #FFFFFF;
}

div.account a {
    text-decoration: none;
    color: black;
    border-bottom: 2px dotted red;
}

div.account a:hover {
    color: red;
}


div.center div#newdoclink {
    padding-bottom: 30px;
}

div.center div#newdoclink a {
    font-size: 1.3em;
    text-decoration: none;
    color: #787878;
    border: 2px solid #787878;
    padding: 4px 10px;
    text-transform: uppercase;
}

div.center div#newdoclink a:hover {
    color: black;
    border: 2px solid black;
    background: #dedede;
}

div.center label {
    text-transform: uppercase;
    font-size: small;
    margin-bottom: 5px;
    display: block;
}

div#welcometext {
    margin-bottom: 30px;
}

div#welcometext p {
    margin: 10px 0px;
}

div.center .notification-header {
    min-height: 30px;
	margin-right: 20px;
	padding: 10px 0px;
    font-size: small;
    line-height: 1.2em;
}

.success {
	border: 1px solid #2ECC40;
	background-color: #B4F7A8;
	text-decoration: none;
	color: black;
}

.information {
    background: #C4E9FE;
    padding: 10px;
}

.information p {
    padding-bottom: 5px;
}

a.close-button {
	text-decoration: none;
	color: black;
	float: right;
	margin-right: 10px;
}

div.center h1 {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 1.3em;
	text-transform: uppercase;
}

div.center .content {
    height: 100%;
}

div.center .maintext {
	padding-bottom: 1em;
    line-height: 1.5;
    white-space: pre-wrap;
    height: 100%;
}

div.center a.corrected {
	text-decoration: none;
	color: black;
	background: #FADCDC;
	/*background: #F7A8A8;*/
	/*padding: 0 2px;*/

    /* underline */
	border-bottom: 1px solid #FF4136;
	/*padding-bottom: 1px;*/
}

.errorlist li {
    color:red;
    font-size:small;
    padding: 5px;
}

div.introtext {
    padding-top: 10px;
    border-top: 1px solid gray;
}

div.introtext p {
    padding-bottom: 10px;
}

.documentlist li {
	padding-bottom: 20px;
}

.documentlist a {
	color: #000000;
	font-size: 1.3em;
	text-decoration: none;
}

.documentlist a:hover {
	color: #AAAAAA;	
}

.documentlist a.doclink {
    display: block;
    padding-bottom:5px;
}

.documentlist #created_date {
    font-size:small;
    color:grey;
    float: right;
    padding-right: 100px;
}

.documentlist a.smallink {
    font-size: small;
    color: grey;
    margin-left: 20px;
}

.new_document textarea {
	width: 600px;
	min-height: 500px;
	border: 1px dotted #FF4136;
	font-size: 1em;
}

.maintext .activeSelection {
    background-color: #D2DBFF;
    border-bottom: 1px solid #775EFF;
    padding-top: 2px;
    padding-bottom: 1px;
}

.maintext a.corrected {
    background-color: #FF4136;
    /*border-bottom: 1px solid #FF4136;*/
    /*padding-bottom: 1px;*/
}

::selection {
    background: #D2DBFF; /* Safari */
}
::-moz-selection {
    background: #D2DBFF; /* Firefox */
}


.corrected {
    color: #A20000;
}

.warning {
    padding: 10px 5px;
    border-left: 1px #FF4136 dotted;
    margin-bottom: 10px;
}

.warning h2 {
    font-size: large;
    color: #FF4136;
    padding-bottom: 5px;
}

/******************************
 		ACCOUNT STUFF
******************************/
div.account form {
    margin: 20px 0px;
}

div.account p {
    margin: 5px 0px;
}

div.account button {
    margin: 10px;
    text-transform: uppercase;
}

div.account label {
    font-size: small;
}

div.account input {
    font-size: medium;
}

.savebutton {
    background: 0;
    border: 2px black solid;
    color: black;
    padding: 5px 10px;
    font-size: medium;
    float: right;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.smallbutton {
    background: 0;
    border: 2px black solid;
    color: black;
    padding: 5px 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.smallbutton:hover {
    color: black;
    border: 2px solid black;
    background: #dedede;
}
/******************************
 		RIGHT STUFF 
******************************/
div.right {
	width: 300px;
	height: 100%;
	min-height: 800px;
	margin-left: 800px;
	padding-left: 10px;
	/*border-left: 1px solid #DDDDDD;*/
	background-color: #FFFFFF;
	position: relative;
}

div.rightinfo {
    padding-top: 95px;
    font-size: small;
}


div.rightinfo h2 {
    text-transform: uppercase;
    margin-bottom: 10px;
}

div.rightinfo ol {
    list-style-type: decimal;
}

div.rightinfo ol > li {
    padding-bottom: 5px;
    line-height: 1.4;
}

.right .comments {
    width: 90%;
    position: relative;
    z-index: 1;
}

.right .editbox {
    position: absolute;
    display: none;
    float: left;
    width: 100%;
    z-index: 3;
    background: white;
    /*border: 1px grey dashed;*/
    padding: 10px 0px;
}

.right .editbox textarea {
    width: 90%;
    font-size: medium;
    border: 1px lightgrey dashed;
}

.right .editbox label {
    text-transform: uppercase;
    font-size: x-small;
}

.correctionwrapper {
    position: absolute;
    max-width: 300px;
    z-index: 2;
    font-size: medium;
    visibility: hidden;
}

.correctionwrapper .correction {
    /*color: #FF4136;*/
    line-height: initial;
    font-size: small;
}

.correction .correction_del {
    text-decoration: line-through;
    color: #FF4136;
}

.correction .correction_ins {
    background: #e6ffe6;
}

.correctionwrapper .comment {
    color: black;
    padding-left: 5px;
    font-style: italic;
    font-size: small;
}

.correctionwrapper .correction-meta {
    padding-left: 20px;
}

.right a {
    text-transform: uppercase;
    font-size: x-small;
    text-decoration: none;
}
.right a:hover {
    background-color: lightgray;
}

a.share-url {
    text-transform: none;
    font-size: 1em;
    color:grey;
}
a.share-url:hover {
    font-size:1em;
    text-decoration: underline;
    background-color: inherit;
}

#such_feedback {
    font-size: x-small;
    text-transform: uppercase;
    color: red;
    padding-top: 2px;
}

.analyze_info {
    padding-top: 30px;
    position: fixed;
    overflow-y: scroll;
    height: 100%;
}

.analyze_info h3 {
    text-transform: uppercase;
    padding-bottom: 10px;
}
.analyze_info tr {
    height: 20px;
}

.analyze_info td {
    margin-bottom: 20px;
    width: 70px;
    text-align: right;
    padding-right: 20px;
}

.analyze_info .words {
    padding-top: 30px;
}