/*
 * stomayko || Sylvia Tomayko-Peters
 * 4/21/14
*/

@font-face {
    font-family: "Tex";
    src: url(texgyreadventor-regular.otf) format("truetype");
    font-weight: lighter;
}

* {
	margin: 0px;
	padding: 0px;
	font-family: "Tex", "Helvetica", Sans-serif;
}

body {
	background-color: rgb(237,242,243);
	min-width: 1100px;
	min-height: 700px;
}

.big_text {
	padding-bottom: 40px;
	font-size: 22px;
	color:#41A099;
	text-align: center;
}

.medium_text {
	padding: 10px 0px 10px 0px;
	font-size: 16px;
	color: #29776F;
}

#header {
	position: absolute;
	width: 100%;
	min-width: 1100px;
	top: 0px;
	left: 0px;
	height: 70px;
	background-color:rgb(218,237,234);
	border-bottom: 1px;
	border-bottom-style: solid;
	border-bottom-color: rgb(208,232,229);
}

#logo_img {
	float: left;
	margin-left: 20px;
	margin-top: 8px;
	height: 60px;
}

#nav_list{
	background-color: green;
	margin-right: 20px;
	text-align: center;
}

.nav_item{
	display: inline;
}

.nav_link {
	text-decoration: none;
	color: #41A099;
	float: right;
	height: 50px;
	padding: 20px 40px 0px 40px;
	font-size: 20px;
}

nav_link:visited {
	text-decoration: none;
	color: #41A099;
}

.nav_link:hover {
	text-decoration: none;
	background-color: #FFFDA4;
}

#login_container {
	position: fixed;
	top: 0px;
	display: none;
	width: 100%;
	height: 700px;
	background-color: black;
	opacity: .6;
}

#login_panel {
	position: absolute;
	height: 370px;
	width: 320px;
	background-color: rgb(218,237,234);;
	display: none;
	padding: 30px;
}

.login_link {
	text-decoration: none;
	color: #41A099;
	float: right;
	margin-top: 5px;
}

.login_link:hover {
	text-decoration: none;
	color: #29776F;
}

#toolbar {
	position: relative;
	width: 100%;
	top: 71px;
	left: 0px;
	height: 46px;
	background-color:#41A099;
	border-bottom: 1px;
	border-bottom-style: solid;
	border-bottom-color: #35877D;
	z-index: 1;
}

.button_container {
	position: relative;
	top: 3px;
	width: 1100px;
	margin:auto;
	height: 40px;
}

.toolbar_button {
	display: inline-block;
	height: 40px;
	width: 40px;
	margin: 0px 12px 0px 12px;
}

.spacer {
	display: inline-block;
	height: 40px;
	width: 70px;
}

.spacer_bar {
	display: block;
	height: 40px;
	width: 1px;
	margin:auto;
	background-color: white;
}

#save {
	background-image: url("images/save.png");
	background-position: 0 0px;
}

#save:hover {
	background-position: 0 40px;
}

#bookmark {
	background-image: url("images/bookmark.png");
	background-position: 0 0px;
}

#bookmark:hover {
	background-position: 0 40px;
}

#embed {
	background-image: url("images/embed.png");
	background-position: 0 0px;
}

#embed:hover {
	background-position: 0 41px;
}

#color {
	background-image: url("images/color.png");
	background-position: 0 0px;
}

#color:hover {
	background-position: 0 41px;
}

#layout {
	background-image: url("images/layout.png");
	background-position: 0 0px;
}

#layout:hover {
	background-position: 0 46px;
}

#font {
	background-image: url("images/font.png");
	background-position: 0 -5px;
}

#font:hover {
	background-position: 0 62px;
}

#line_height {
	background-image: url("images/line_height.png");
	background-position: 0 0px;
}

#line_height:hover {
	background-position: 0 41px;
}

#columns {
	background-image: url("images/columns.png");
	background-position: 0 0px;
}

#columns:hover {
	background-position: 0 41px;
}

#annotate {
	background-image: url("images/annotate.png");
	background-position: 0 0px;
}

#annotate:hover {
	background-position: 0 41px;
}

#highlight {
	background-image: url("images/highlight.png");
	background-position: 0 0px;
}

#highlight:hover {
	background-position: 0 41px;
}

#full_screen {
	background-image: url("images/full_screen.png");
	background-position: 0 0px;
}

#full_screen:hover {
	background-position: 0 41px;
}

.search_bar {
	position: absolute;
	top: 35px;
	left: 420px;
	height: 17px;
}

.submit_button {
	display: block;
	margin: auto;
	margin-top: 60px;
	height: 42px;
}

#login_button {
	height: 40px;
	width: 83px;
	margin-right:0px;
	background-image: url('images/login.png'); 
	background-position: 0 42px;
}

#login_button:hover {
	background-position: 0 0;
}

#x_button {
	height: 21px;
	width: 22px;
	margin:0px;
	float: right;
	background-image: url('images/x.png'); 
	background-position: 0 22px;
}

#x_button:hover {
	background-position: 0 0;
}

#search_button {
	position: absolute;
	top: 35px;
	left: 562px;
	width: 25px;
	height: 21px;
	margin: 0px;
	background-image: url("images/search.png");
	background-position: 0 21px;
}

#search_button:hover {
	background-position: 0 0;
}

#folder_button {
	position: absolute;
	top: 30px;
	left: 620px;
	width: 120px;
	height: 26px;
	margin: 0px;
	background-image: url("images/new_folder.png");
	background-position: 0 27px;
}

#folder_button:hover {
	background-position: 0 0;
}

#upload_text {
	display: inline-block;
	margin-right: 14px;
		vertical-align: bottom;
}

#upload_button {
	display: inline-block;
	margin-top: 20px;
	width: 117px;
	height: 30px;
	background-image: url("images/upload_2.png");
	background-position: 0 38px;
}

#upload_button:hover {
	background-position: 0 -5px;
}

#read_button {
	width: 180px;
	background-image: url("images/start_reading_2.png");
	background-position: 0 43px;
}

#read_button:hover {
	background-position: 0 0;
}

#new_read_container {
	position: relative;
	top: 180px;
	width: 400px;
	height: 300px;
	margin: auto;
}

.reader_container {
	position: relative;
	top: 140px;
	width: 800px;
	min-height: 800px;
	margin: auto;
	padding-bottom: 60px;
	margin-bottom: 40px;
	background-color: white;
	box-shadow: 0px 0px 1px 1px #BBBBBB;
}

.text_container {
	position: relative;
	top: 30px;
	width: 740px;
	height: auto;
	margin: auto;
	text-align: justify;
}

.text_container p {
	font-family: "Helvetica", sans-serif;
	font-weight: lighter;
}

.title {
	font-size: 40px;
}

.author {
	padding: 10px 0px 30px 0px;
	font-size: 20px;
}

.source {
	position: absolute;
	top: 10px;
	left: 585px;
	font-size: 12px;
}

a .source {
	text-decoration: none;
	color: black;
}

a .source:hover {
	color: grey;
}

.text_body {
	padding: 10px 0px 10px 0px;
	font-size: 14px;
	line-height: 30px;
}

#sidebar {
	float: left;
	position: relative;
	top: 80px;
	width: 300px;
	height: 600px;
	padding-top: 60px;
	border-right: 1px;
	border-right-style: solid;
	border-right-color: #41A099;
}

.sidebar_item {
	list-style: none;
	margin: 30px 10px 30px 10px;
	padding: 5px 20px 5px 20px;
	font-size: 18px;
}

.sidebar_item:hover {
	background-color:#FFFDA4;
}

.sidebar_links {
	color: #41A099;
	text-decoration: none;
}

#content_container {
	float: left;
	position: relative;
	top: 80px;
	width: 780px;
	min-height: 600px;
}

#content {
	margin: 20px;
	min-height: 500px;
}

.content_header {
	display: inline-block;
	padding: 0px 0px 20px 40px;
	font-size: 24px;
	color:#41A099;
}

#accordion {
	position: relative;
	margin-top: 10px;
	padding-left: 40px;
  	width: -moz-calc(100% - 60px);
  	width: -webkit-calc(100% - 60px);
  	width: -o-calc(100% - 60px);
  	width: calc(100% - 60px);
}

#accordion .ui-accordion-header {
	display: block;
	cursor: pointer;
	position: relative;
	padding: 5px 5px 10px 5px;
	min-height: 0; /* support: IE7 */
	font-size: 16px;
	color: #58585B;
}
#accordion .ui-accordion-icons {
	padding-left: 35px;
}

#accordion .ui-accordion-header .ui-accordion-header-icon {
	position: absolute;
	left: 5px;
	top: 50%;
	margin-top: -6px;
}
#accordion .ui-accordion-content {
	padding: 0px 0px 0px 75px;
	overflow: auto;
	line-height: 35px;
	font-size: 14px;
	color: #58585B;
}
#accordion .ui-state-focus{
    outline: none;
}

.icon_closed {
	background-image: url("images/arrow.png");
	height: 11px;
	width: 9px;
}

.icon_open {
	background-image: url("images/arrow_open.png");
	height: 9px;
	width: 10px;
}

.folder:hover {
	background-color: #FFFDA4;
}

.folder_image {
	margin-right: 20px;
		vertical-align: middle;
}

.article {
	margin: 10px 0px 15px 0px;
	padding: 2px 0px 2px 10px;
}

.article:hover {
	background-color: #FFFDA4;
	cursor: pointer;
}

.visited_container {
	padding-left: 32px;
}