/* Body, Doc, Header and Footer
--------------------------------------------------------------------------------------- */

* {
	padding: 0px;
	margin: 0px;
}

body {
	background: #fff;
	font-size: 11px;
	line-height: 20px;
}

#doc {
	text-align: left;
	width: 940px;
	margin: 20px auto;
}

#doc, form, textarea, input, select, option {
	font-family: Georgia, Arial, Verdana, sans-serif; 
}


/* Login 
--------------------------------------------------------------------------------------- */

#login_container {
	
	width: 400px;
	margin: 80px auto;
	background: #fff;
	border: 1px solid #ccc;
}

#login {
	padding: 20px;
}

#login .input_container {
	
	width: 358px;
	background: #fff;
	border: 1px solid #ccc;
}

#login input.text {
	background: #fff;
	border: none;
	font-size: 20px;
	padding: 5px;
	width: 90%;
}


/* Sidebar
--------------------------------------------------------------------------------------- */

.sidebar_container {
	float: right;
	width: 250px;
}

.sidebar {
	padding: 20px 0px 20px 20px;
	color: #111;
}

.sidebar_area {
	
}

.sidebar_area-title_container {
	border-bottom: 1px solid #ccc;
}

.sidebar_area-title {
	width: 100px;
}

.selector_text {
	cursor: pointer;
}

#step_controls {
	margin-top: 10px;
	border-top: 1px solid #ccc;
}


/* Editable Area
--------------------------------------------------------------------------------------- */

.page {
	background: #fff;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;	
	border: 1px solid #ccc;	
}

.page.work {
	float: left;
	width: 680px;
}

.project_info {
	padding: 30px 40px 10px 30px;
	color: #444;
	background: #EEE;
}

.project_title {
	font-size: 12px;
	border-bottom: 1px dashed #ccc;
}

.page_content {
	padding: 30px 0px 50px 30px;
}

textarea {
	background: #fff;
    color: #444;
    border: none;
    resize: none;
    overflow: hidden;    
}

input.regular {
	font-size: 15px;
	padding: 10px 0px;
	width: 90%;
	border: none;
	border-bottom: 1px solid #ccc;
	color: #444;
}

textarea.regular {
	padding: 10px 0px;
	width: 90%;
	height: 140px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
    font-family: Menlo, Courier, Arial, sans-serif;
	font-size: 13px;
	line-height: 20px;
	overflow: auto;
}

.hiddendiv {
    display: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word; /* future version of deprecated 'word-wrap' */
}

/* the styles for 'commmon' are applied to both the textarea and the hidden clone */
/* these must be the same for both */
.common {
    width: 560px;
    min-height: 425px;
    font-family: Menlo, Courier, Arial, sans-serif;
	font-size: 13px;
	line-height: 20px;
    overflow: hidden;
}

.lbr {
    line-height: 0px;
}


/* Nav
--------------------------------------------------------------------------------------- */

#logo, #nav li a.logo {
	font-size: 15px;
	color: #999;
	text-decoration: none;
	text-transform: uppercase;
}

#nav {
	padding: 20px 0px 10px 10px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}

#nav li {
	display: block;
}

#nav li a, #nav li a:link, #nav li a:visited {
	display: block;
	padding: 10px 20px 0px 0px;
}

#nav li.selected a, #nav li.selected a:link, #nav li.selected a:visited {
	text-decoration: none;
}

.primary_nav {
	width: 400px;
	font-size: 15px;
}

.primary_nav li { float: left; }

.secondary_nav {
	width: 180px;
	font-size: 11px;
}

.secondary_nav li { float: right; }


/* Sub Nav
--------------------------------------------------------------------------------------- */

.sub_nav {
	font-size: 12px;
}

.sub_nav li { 
	float: left; 
	padding-right: 10px;
}

.sub_nav li.selected a, .sub_nav li.selected a:link, .sub_nav li.selected a:visited {
	text-decoration: none;
	color: #888;
}


/* Projects
--------------------------------------------------------------------------------------- */

.project {
	padding: 10px 0px;
	border-bottom: 1px solid #eee;
}

.project-membership {
	width: 20px;
}

.project-title {
	width: 210px;	
}

.project-limit {
	width: 300px;	
}

.project-controls {
	width: 120px;
	color: #ccc;
}

.project-controls a, .project-controls a:link, .project-controls a:visited {

}


/* User Projects
--------------------------------------------------------------------------------------- */

.user_projects {

}

.user_projects select {
	width: 190px;
}


/* User Projects (Depreciated)
--------------------------------------------------------------------------------------- */
/*
.user_projects {
	height: 150px;
	overflow-y: scroll;	
}

.user_projects li {
	display: block;
	border-bottom: 1px solid #eee;
}

.user_projects li.odd {
	background: #fff;
}

.user_projects li.even {
	background: #fafafa;
}

.user_projects li a, .user_projects li a:link, .user_projects li a:visited {
	display: block;
	padding: 2px 5px 3px 5px;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;		
}

.user_projects li a:hover, .user_projects li a:focus {
	background: #fefbb1;
	padding: 2px 2px 3px 8px;
}

.user_projects li.selected a, .user_projects li.selected a:link, .user_projects li.selected a:visited {
	padding: 2px 2px 3px 6px;
	border-left: 2px solid #ee2222;
}
*/


/* Headings
--------------------------------------------------------------------------------------- */	

h1 { font-size: 25px; line-height: 30px; }

h2 { font-size: 20px; line-height: 30px; }

h3 { font-size: 16px; line-height: 20px; }

h4 { font-size: 14px; line-height: 20px; }


/* Links
--------------------------------------------------------------------------------------- */	

a, a:link, a:visited {
	color: #111;
	text-decoration: underline;
}

a:hover, a:focus {
	text-decoration: none;
}


/* Tables
--------------------------------------------------------------------------------------- */	

table			{	width: 100%;				}
table, tr, td 	{	border-collapse: collapse;	}
td 				{	vertical-align: top;		}

tr.even {
	background: #f5f5f5;
}

tr.odd {
	background: #fdfdfd;
}


/* Special Rules Setup
--------------------------------------------------------------------------------------- */

.nolorf				{	font-size: 0px;	line-height: 0px;			}
.nowrap				{	white-space: nowrap;						}
.tright				{	text-align: right; 							}

/* 10px Grid
--------------------------------------------------------------------------------------- */

.pad_small			{	padding: 5px;								}
.pad				{	padding: 10px;								}
.pad_double			{	padding: 20px;								}
.pv					{	padding-top: 10px; padding-bottom: 10px;	}
.ph					{	padding-left: 10px; padding-right: 10px;	}
.pv_top				{	padding-top: 10px;							}
.pv_bottom			{	padding-bottom: 10px;						}
.pv_double_top		{	padding-top: 20px;							}
.pv_double_bottom	{	padding-bottom: 20px;						}
.ph_left			{	padding-left: 10px;							}
.ph_right			{	padding-right: 10px;						}
.ph_double_left		{	padding-left: 20px;							}
.ph_double_right	{	padding-right: 20px;						}
.pv_double			{	padding-top: 20px;  padding-bottom: 20px;	}
.ph_double			{	padding-left: 20px; padding-right: 20px;	}


/* Floating
--------------------------------------------------------------------------------------- */	

.left	{ float: left; }
.right	{ float: right; }
.clear 	{ clear: both; }


/* User Feedback Messages 
--------------------------------------------------------------------------------------- */	

.message 	{ padding: 20px; font-size: 15px; }

.success	{ background: #7ad384; color: #444; }
.error 		{ background: #e26a5e; color: #444; }


/* Responsiveness
--------------------------------------------- */

@media screen and (max-width: 1040px) {
	
	#doc {
		width: 700px;
	}
	
	.page.work {
		width: 480px;
	}

	.common  {
		width: 390px;
	}
	
	.project-limit {
		width: 260px;
	}
	
	.sidebar_container {
		width: 210px;
	}

	.user_projects select {
		width: 140px;
	}	
}