/*
 * Pages: doc/show2.html
 *
 * Styles for document main view
 * last updated: Sept 14, 2012
 * 
 */

/* ==========================================================================
   Header 
   ========================================================================== */
	.showDocMainView header { margin-bottom: 20px; padding-top: 10px; }
	.showDocMainView header h1 { display: inline; }

	/** edit **/
	.showDocMainView header .edit-button { position: relative; top: 9px; left: 5px; }
	
	.showDocMainView header.editable-area { padding: 10px; border-radius: 4px; margin-bottom: 8px;}
	.showDocMainView header.editable-hover { padding: 9px; }
	.showDocMainView header.editable-area textarea { font-size: 25px; line-height: 36px; color: #333; font-weight: bold; resize: none; width: 910px; }



/* ==========================================================================
   Toolbox 
   ========================================================================== */
	
	.showDocMainView footer { margin-top: -1px; min-height: 34px;}
	.showDocMainView .toolbox { padding: 3px; width: 100%; }
	.showDocMainView footer .btn-group { display: inline-block; vertical-align: middle;}
	.showDocMainView header .edit-button {margin-left: 5px; }
	
	.showDocMainView footer a i { position: relative; top: 1px; }

	.save-doc.toggled:link .icon-star, .save-doc.toggled:visited .icon-star  { background-position: 0 -14px; }
	.save-doc.toggled:link, .save-doc.toggled:visited  { 
		background: #59b6d5; 
		background: -moz-linear-gradient(top, #59b6d5 5%, #49a2bf 5%, #4496b0 100%); 
		background: -webkit-gradient(linear, left top, left bottom, color-stop(5%,#59b6d5), color-stop(5%,#49a2bf), color-stop(100%,#4496b0)); 
		background: -webkit-linear-gradient(top, #59b6d5 5%,#49a2bf 5%,#4496b0 100%); 
		background: -o-linear-gradient(top, #59b6d5 5%,#49a2bf 5%,#4496b0 100%); 
		background: -ms-linear-gradient(top, #59b6d5 5%,#49a2bf 5%,#4496b0 100%); 
		background: linear-gradient(to bottom, #59b6d5 5%,#49a2bf 5%,#4496b0 100%); 
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59b6d5', endColorstr='#4496b0',GradientType=0 ); 
		border: 1px solid #3d879f;
		color: #def7ff; 
		text-shadow: 0px -1px #1c708d; }
	
	.save-doc.toggled:hover { 
		background: #59b6d5;
		background: -moz-linear-gradient(top,  #59b6d5 10%, #50b1ce 10%, #51a9c1 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(10%,#59b6d5), color-stop(10%,#50b1ce), color-stop(100%,#51a9c1));
		background: -webkit-linear-gradient(top,  #59b6d5 10%,#50b1ce 10%,#51a9c1 100%);
		background: -o-linear-gradient(top,  #59b6d5 10%,#50b1ce 10%,#51a9c1 100%); 
		background: -ms-linear-gradient(top,  #59b6d5 10%,#50b1ce 10%,#51a9c1 100%);
		background: linear-gradient(to bottom,  #59b6d5 10%,#50b1ce 10%,#51a9c1 100%); 
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59b6d5', endColorstr='#51a9c1',GradientType=0 );
	}	


/* ==========================================================================
   Settings
   ========================================================================== */
	/** fixed height for animation - change accordingly **/
	.settings { margin-top: 2px; padding: 5px; height: 162px; }
	.settings form { margin-bottom: 0; }
	.settings-group { border: 1px solid #d0d0d0; width: 49%; float: left; margin-right: 1.25%; border-radius: 4px; }
	.settings-group:last-of-type { margin-right: 0; }
	.settings-group .title { border-bottom: 1px solid #d0d0d0; font-size: 0.9em; line-height: 0.9em; padding: 7px; }
	.settings-form-content { padding: 10px; min-height: 75px; }
	.settings-form-content p { font-size: 0.9em; }
	.settings-form-content p:last-child { margin-bottom: 0; }
	.settings-form-content input[type="radio"] { margin-right: 4px; }
	input[type="radio"].settings-private { margin-left: 10px; }
	.settings-form-actions { clear: both;  padding-top: 10px; margin-bottom: 0; }
	
/* ==========================================================================
   Summary & Tags
   ========================================================================== */
 	.doc-summary textarea { width: 605px; margin-bottom: 15px; font-size: 13px; line-height: 1.6; }
	.doc-summary { border-color: #ddd; background-color: whiteSmoke; /* padding-left: 11px; padding-bottom: 10px; padding-top: 10px; */ padding-left: 11px; }
	.doc-summary p {  line-height: 1.6; }
	
	/** edit summary **/
	.doc-summary .being-edited { margin-bottom: 0; }
	.doc-summary.editable-hover { background-color: #e9f3f6; cursor: pointer; border: 1px solid #cadfe8; }
	
	.tags { padding: 6px 10px; border-color: #dddddd; padding-top: 0; background-color: whiteSmoke; }
	.tags.editable-hover { background-color: #e9f3f6; cursor: pointer; border: 1px solid #cadfe8; border-top: 0; }
	.tags ul { list-style-type: none; margin: 0; padding: 0; }
	.tags ul li { display: inline-block; margin-right: 0px; margin-left: 2px; margin-top: 6px; position: relative; }
	.tags ul li:first-child { margin-left: 0; }
	
	/** no-tags **/
	.tags .no-tags { margin-bottom: 0; padding-top: 6px; }
	.no-tags li { position: relative; bottom: 6px; }
	.tags li.token-input-token-facebook { bottom: 0; margin: 3px !important;}
	.no-tags ul.token-input-list-facebook { width: 256px; float: left; margin-right: 5px;}
	.no-tags li.token-input-input-token-facebook { margin-top: 0; bottom: 0; }
	.no-tags button { float: left; margin-right: 5px; }
	
	/** edit tags **/
	.edit-tags { margin-top: 6px; }
	.tags-container form { padding-top: 6px; margin-bottom: -10px; }
    div.token-input-dropdown-facebook { width: 256px !important; }
	
	.tags-container form::after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
	.tags-container form { display: inline-block; }
	* html .tags-container form { height: 1%; }
	
	/* edit tags mode */
	.tags-container ul.token-input-list-facebook  { width: 256px; float: left; margin-right: 5px; margin-bottom: 30px;}
	.tags-container .token-input-input-token-facebook { margin-top: 0; }
	.tags-container button { float: left; margin-right: 5px; }
	.tags .token-input-token-facebook { margin-top: 3px; }

/* ==========================================================================
   Show Complete Document
   ========================================================================== */

	#doc-wrapper { position: relative; }
	.showDocMainView .doc-sign { height: 400px; overflow: hidden; position: relative; }
	.show-complete-document { position: absolute; bottom: -10px; left: -6px; width: 653px; height: 127px; background: transparent url("/public/images/show_complete.png") no-repeat 0 0; z-index: 500; }
	.show-complete-document a { position: absolute; bottom: 4px; left: 272px; padding-right: 10px; background: url("/public/images/show_more_arrow.png") no-repeat right 7px;}
	.show-complete-document a:hover { background-position: right -5px; }


/* ==========================================================================
   Sidebar
   ========================================================================== */

	/** doc user **/
	.user-info { border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 10px;}
	.user-info .span1 { margin-left: 0; padding-left: 8px; }
	.user-info-name { padding-left: 65px; font-size: 11px; margin-bottom: 0; margin-right: 8px;}
	.user-info-name b.name { display: block; color: #333; font-size: 14px; padding-top: 2px;}
	.user-info .noBio { padding-top: 12px;  }

	/** doc info **/
	.doc-information { color: #858585; }
	.doc-information .title { padding-left: 29px; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; }
	.doc-information .sidebarBox { border-top: none; padding-left: 0; padding-right: 0; padding-bottom: 0; padding-top: 11px; }	
	.privacy-status { font-size: 11px; text-transform: uppercase; color: #fff; text-shadow: 0 1px rgba(0,0,0,0.3); background-image: url("/public/images/doc_status_icon.png"); background-repeat: no-repeat; line-height: 1; padding: 5px 0; }	
	.private { background-color: #5fb35f; border: 1px solid #58a558; background-position: 10px 4px; }	
	.public { background-color: #48a6c0; border: 1px solid #4297af; background-position: 10px -18px; }	

	/** doc stats **/
	.doc-stats-container { padding-bottom: 8px; font-size: 12px; }

	/** Lawyer Profile **/
	.showDocMainView a.user-badge:link, .showDocMainView a.user-badge:visited  { border-bottom-left-radius: 0; border-bottom-right-radius: 0; width: 100%; }
	.showDocMainView a.user-badge .user-badge-info { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

	.doc-information { position: relative; }
	.lawyer h3 { position: absolute; padding-left: 29px; border-radius: 4px; padding: 5px 8px 5px 28px; top: 7px; left: 8px; font-size: 11px; }
	.lawyer .privacy-status { display: inline-block; position: absolute; }
	.lawyer .public {  left: 50%; margin-left: -74px; }
	.lawyer .public {  left: 50%; margin-left: -76px; }
	.lawyer .sidebarBox { padding-top: 39px; }
	.lawyer .doc-stats dl { text-align: left; width: 265px; }
	.lawyer .doc-stats dt { margin: 0; margin-left: 15px;}
	.lawyer .doc-stats dt:first-child { margin-left: 10px; }
	.lawyer .doc-stats dd { margin: 0; margin-left: 4px;}
	.lawyer-info { padding-left: 10px; }
	
	/** doc version **/
	.doc-information .doc-info { padding-left: 42px; }
	.doc-information .single-user { margin-bottom: 8px; }
	.doc-information .single-user span { font-size: 11px; }

	/** love this document **/
	.they-love { margin-top: 10px; }
	.love .icon-heart { background: url("/public/images/action_icons/heart_icon.png") no-repeat 0 1px; }
	.love.toggled .icon-heart { background-position: 0 -20px; }
	.love { padding-left: 10px; padding-right: 10px; margin: 0; }
	.has-lovers { padding-bottom: 6px; }
	.love.toggled:link, .love.toggled:visited { 
		border: 1px solid #d64c76;
		color: #ffe2eb;
		text-shadow: 0 -1px #c6476d;
		background: #ff86ab;
		background: -moz-linear-gradient(top,  #ff86ab 7%, #fd5a8c 7%, #e1507c 100%); 
		background: -webkit-gradient(linear, left top, left bottom, color-stop(7%,#ff86ab), color-stop(7%,#fd5a8c), color-stop(100%,#e1507c)); 
		background: -webkit-linear-gradient(top,  #ff86ab 7%,#fd5a8c 7%,#e1507c 100%); 
		background: -o-linear-gradient(top,  #ff86ab 7%,#fd5a8c 7%,#e1507c 100%); 
		background: -ms-linear-gradient(top,  #ff86ab 7%,#fd5a8c 7%,#e1507c 100%); 
		background: linear-gradient(to bottom,  #ff86ab 7%,#fd5a8c 7%,#e1507c 100%); 
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff86ab', endColorstr='#e1507c',GradientType=0 ); 
	 }
	.love.toggled:hover { 
		background: #ff86ab; 
		background: -moz-linear-gradient(top,  #ff86ab 10%, #fc7ea4 10%, #ed5582 100%); 
		background: -webkit-gradient(linear, left top, left bottom, color-stop(10%,#ff86ab), color-stop(10%,#fc7ea4), color-stop(100%,#ed5582)); 
		background: -webkit-linear-gradient(top,  #ff86ab 10%,#fc7ea4 10%,#ed5582 100%); 
		background: -o-linear-gradient(top,  #ff86ab 10%,#fc7ea4 10%,#ed5582 100%);
		background: -ms-linear-gradient(top,  #ff86ab 10%,#fc7ea4 10%,#ed5582 100%);
		background: linear-gradient(to bottom,  #ff86ab 10%,#fc7ea4 10%,#ed5582 100%); 
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff86ab', endColorstr='#ed5582',GradientType=0 ); 
	}
	
	.love-this-doc p { font-size: 12px; color: #828282; }
	.love-this-doc p b { color: #e75280; }
	.love-this-doc .smallUserList li { margin: 0; margin-bottom: 4px; margin-right: 2px; }
	.love-this-doc .smallUserList li a { width: 26px; }


	/** related documents **/
	.related-docs h2 { color: #808080; }
	.related-docs { margin-top: 20px; }
	
	
	/** get help button **/
	.get-help { width:100%;
            -webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;  padding-left: 0; padding-right: 0; margin-top: 10px; font-size: 1em; padding: 0; height: 30px; line-height: 30px;}
	.get-help .icon-question-sign {background:url("/public/images/help_button.png") no-repeat 0 0; width: 20px; height: 21px; vertical-align: top; position: relative; top: 3px; margin-right: 4px; }
	
	.get-help2 { width: 100%;
		-webkit-box-sizing: border-box; 
		-moz-box-sizing: border-box;   
		box-sizing: border-box;  padding-left: 0; padding-right: 0; margin-top: 10px; font-size: 1em; padding: 0; height: 35px; line-height: 35px;}
	.get-help2 .icon-question-sign {background:url("/public/images/info_button.png") no-repeat 0 0; width: 20px; height: 25px; vertical-align: top; position: relative; top: 3px; margin-right: 6px; }
		
	/** link signing **/
	.link-signing {
		-webkit-box-shadow: none;
		   -moz-box-shadow: none;
		        box-shadow: none;
		border: none;
	}
	.link-signing header {
		padding-top: 5px;
		margin-bottom: 0;
	}
	
	.link-signing .arrow-box-comment {
		border: 1px solid #ddd;
		border-top: 0;
		padding: 10px;
		padding-bottom: 0;
		border-radius: 0;
		color: #858585;
	}
	
	.link-signing .arrow-box-comment p:last-child { margin-bottom: 0}	
	.link-signing .link-container { position: relative; }
	.link-signing .link-container a { position: absolute; display: block; height: 26px; width: 55px; font-size: 0.9em; padding: 0; line-height: 26px; text-align: center; z-index: 500; border-radius: 4px 0 0 4px; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
	.link-signing input { position: relative; padding-left: 60px; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;  box-sizing: border-box;  height: 28px; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
	.link-signing .icon-link { background-image: url("/public/images/action_icons/icon_link.png"); background-position: center 0px; margin-right: 2px;}
	.link-signing-new-label { position: absolute; top: 6px; right: 9px; }
	
/* ==========================================================================
   Document Discussion
   ========================================================================== */

	.doc-comments {  margin-top: 28px; }
	.doc-comments .title { margin-bottom: 5px; font-size: 14px; }
	.doc-comments form { margin-bottom: 0; padding: 10px; }
	.doc-comments form textarea { background: #fff; resize: none; width: 498px; border-radius: 0; height: 20px; margin-bottom: 0; padding-left: 10px; }
	.doc-comments form input[type="submit"] { position: relative; left: 6px; margin-bottom: 0;}

	/** comments **/
	.doc-comment { float: right; width: 100%; margin-top: 15px; }
	.doc-comment .timeline-content { background: #f9f9f9; border: 1px solid #DDD; border-radius: 5px; margin-bottom: 12px; position: relative; }
	.doc-comment .timeline-content::after { content: " "; display: block; width: 16px; height: 9px; position: absolute; bottom: -9px;
															   left: 19px; background: url("/public/images/timelineUserArrowNoShadow.png") no-repeat 0 0; }
	/* .doc-comment .comment-number { float: left; border-right: 1px solid #c8c8c8; text-align: right; width: 25px; padding-right: 8px; font-weight: bold; font-size: 14px; position: relative; top: 1px; } */
	/* .doc-comment .comment-itself { padding-left: 42px; color: #949494; padding-right: 20px; } */
	/* .doc-comment .comment-itself p { line-height: 1.8; font-size: 12px; } */
	.doc-comment .byUser { padding-bottom: 0; width: 300px; }
	.doc-comment .byUserName { width: 250px;}

	/** responses **/
	.response-form { margin-top: 10px;}
	.response-form textarea { width: 70%; }
	.response-level-1 textarea { width: 78.5% !important; }
	.response-level-2 textarea { width: 75.5% !important; }
	.response-level-3 textarea { width: 72% !important; }
	.response-level-4 textarea { width: 70% !important; }
	
	.cancel-reply { margin-left: 15px; display: inline-block; font-size: 12px;}

	.response .comment-itself { padding: 0; }
	.response-level-1 { width: 90%; }
	.response-level-2 { width: 80%; }
	.response-level-3 { width: 70%; }
	.response-level-4 { width: 60%; }