/* Reset Styles */

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, font, img, ins, kbd, q, s, samp, small, strike, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
:focus { outline: 0; }
body { line-height: 1; color: black; background: white; }
ol, ul { list-style: none; }
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
div, nav, header, footer, aside { display: block; }


body {
	background: #FFFFFF;
	text-align: center;
	font-family: Lato, Helvetica, Arial, 'Sans Serif';
	font-size: 14px;
	color: #333333;
	padding: 0 0 0 0;
}
#wrapper { padding: 0 0 100px 0; }

* {
	font-family: Lato, Helvetica, Arial, 'Sans Serif';
}

	.container {
		width: 1170px;
		margin: 0 auto;
		max-width: 90%;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		position: relative;
		text-align: left;
	}
	
	a { color: #f79120; text-decoration: none; }
	a:hover { color: #333; }
	
	.clearfix { display: block; clear: both; }


	.nav-logged-in { display: none!important; }
	.nav-logged-out { display: block!important; }
	.logged-in .nav-logged-in { display: block!important; }
	.logged-in .nav-logged-out { display: none!important; }

#mobile-nav { display: none; }
	
#header {
	margin: 0 0 40px 0;
}
	#header img {
		float: left;
		display: block;
	}
	#header nav {
		float: right;
		padding: 50px 0 0 0;
	}
		#header nav li {
			display: inline-block;
			line-height: 22px;
			border-left: 1px solid #dbdbdb;
			padding: 0 25px;
		}
		#header nav li:last-child {
			padding-right: 0px;
		}
			#header nav li a {
				display: inline-block;
				padding: 0 0 0 28px;
				line-height: 22px;
				font-size: 16px;
				font-family: Montserrat, Lato, Helvetica, Arial, 'Sans Serif';
				color: #333333;
			}
			/*#header nav li.nav-projects { border: none; }*/
			#header nav li.nav-profile a {
				background: url(../images/nav-icon-profile.png) no-repeat left center;
			}
			#header nav li.nav-dashboard a {
				background: url(../images/nav-icon-dashboard.png) no-repeat left center;
			}
			#header nav li.nav-projects a {
				background: url(../images/nav-icon-projects.png) no-repeat left center;
			}
			#header nav li.nav-logout a {
				background: url(../images/nav-icon-logout.png) no-repeat left center;
			}
			#header nav li.nav-team a {
				background: url(../images/nav-icon-team.png) no-repeat left center;
			}

	
#main {

}
	#main h1 {
		font-size: 40px;
		font-weight: 900;
		margin: 0 0 20px 0;
		padding: 0 0 24px 0;
		position: relative;
		font-family: Montserrat, Lato, Helvetica, Arial, 'Sans Serif';
	}
		#main h1:before {
			position: absolute;
			bottom: 0px;
			left: 0px;
			width: 70px;
			height: 3px;
			background: #333;
			display: block;
			content: '';
		}

	#main h3 {
		font-size: 24px;
		line-height: 30px;
		margin: 0 0 50px 0;
		font-weight: normal;
		font-family: Lora, Lato, Helvetica, Arial, 'Sans Serif';
	}


	.message {
		background: #def2dd;
		padding: 10px;
		margin: 30px 0 10px 0;
	}
	.message-error {
		background: #f9eeee;
	}
		#main .message p {
			font-weight: bold;
			margin: 0px;
		}


	/* Dashboard */

	.dashboard-actions {
		padding: 10px 0 0 0;
		margin: 0 -12px 40px -12px;
	}
		.dashboard-actions li {
			display: block;
			float: left;
			padding: 0 12px 24px 12px;
			width: 25%;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
		}
			.dashboard-actions li a {
				display: block;
				background: none no-repeat center 50px #F79120;
				height: 202px;
				box-sizing: border-box;
				-moz-box-sizing: border-box;
				-webkit-box-sizing: border-box;
				text-align: center;
				font-size: 18px;
				color: #FFF;
				padding: 125px 0 0 0;
			}
			.dashboard-actions li a:hover { background-color: #333; }
			.dashboard-actions li.action-projects a {
				background-image: url(../images/icon-actions-projects.png);
			}
			.dashboard-actions li.action-add-project a {
				background-image: url(../images/icon-actions-add-project.png);
			}
			.dashboard-actions li.action-edit-profile a {
				background-image: url(../images/icon-actions-edit-profile.png);
			}
			.dashboard-actions li.action-archived-projects a {
				background-image: url(../images/icon-actions-archived-projects.png);
			}
			.dashboard-actions li.action-team a {
				background-image: url(../images/icon-meet-team-dashboard.png);
			}
			.dashboard-actions li.action-website a {
				background-image: url(../images/icon-website-dashboard.png);
			}



/* Forms */


.mrclientarea-form {
	margin: 0 0 10px 0;
	max-width: 630px;
}
	.form-row {
		margin: 0 -10px 24px -10px;
	}
		.form-row:after {
			display: block;
			width: 100%;
			height: 1px;
			clear: both;
			content: '';
		}
		.form-row .form-field {
			padding: 0 10px;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
		}
		.form-field-half {
			float: left;
			width: 50%;
		}
		.form-field-third {
			float: left;
			width: 33.33%;
		}
		.form-field-twothirds {
			float: left;
			width: 66.66%;
		}
			.mrclientarea-form .form-row .form-field label {
				display: block;
				margin: 0 0 8px 0;
				font-weight: bold;
			}
			.mrclientarea-form .form-row .form-field-error label { color: red; }
			.form-control {
				padding: 5px 8px;
				border: 1px solid #CCC;
				width: 100%;
				box-sizing: border-box;
				-moz-box-sizing: border-box;
				-webkit-box-sizing: border-box;
				-webkit-appearance: none;
				-moz-appearance: none;
				appearance: none;
				outline: none;
				border-radius: 0px;
				-moz-border-radius: 0px;
				-webkit-border-radius: 0px;
				font-size: 15px;
				line-height: 20px;
				font-weight: bold;
			}
			.form-control:disabled,
			.form-row-disabled .form-control { background: #EEE; }
			.form-row-disabled { position: relative; }
			/*.form-row-disabled:before {
				position: absolute;
				top: 0px;
				left: 0px;
				width: 100%;
				height: 100%;
				z-index: 10;
				background: transparent;
				content: '';
				display: block;
			}*/
			.form-control.form-control-loading { 
				padding-left: 30px;
				background: url(../images/ajax-loader.gif) no-repeat 10px center #FFF;
			}
			textarea.form-control { height: 106px; }
			select.form-control {
				background: url(../images/select-field.png) no-repeat right center #FFF;
				background-size: auto 7px;
			}
			.form-control:focus { border-color: #999; }
			.mrclientarea-form .form-row .form-field-error .form-control {
				border-color: red;
			}
			.form-control.datepicker {
				padding-right: 50px;
				background: url(../images/datepicker.jpg) no-repeat right center;
			}
			.mrclientarea-form .form-row .form-field span.error-message {
				display: block;
				padding: 5px 0 0 0;
				color: red;
			}
			.mrclientarea-form .form-row .form-field span.password-hint {
				display: block;
				padding: 5px 0 0 0;
				line-height: 17px;
			}
			.mrclientarea-form .form-row .form-field .form-checkboxes { padding: 5px 0; }
				.mrclientarea-form .form-row .form-field .form-checkboxes:after {
					display: block;
					clear: both;
					content: '';
				}
				.mrclientarea-form .form-row .form-field .form-checkboxes label {
					display: inline-block;
					padding: 0 0 0 26px;
					position: relative;
					line-height: 18px;
					margin: 0 60px 0 0;
					font-weight: normal;
					cursor: pointer;
				}
					.mrclientarea-form .form-row .form-field .form-checkboxes label:before {
						position: absolute;
						top: 0px;
						left: 0px;
						width: 17px;
						height: 17px;
						background: url(../images/checkbox.png) no-repeat;
						content: '';
						display: block;
					}
					.mrclientarea-form .form-row .form-field .form-checkboxes label.checked:before {
						background-image: url(../images/checkbox-checked.png);
					}
					.mrclientarea-form .form-row .form-field .form-checkboxes input { position: absolute; top: 0px; left: -9999px; }
			.mrclientarea-form .form-row .form-field .form-select {
				display: block;
				width: 100%;
				border: 1px solid #d6e2e9;
				border-radius: 2px;
				-moz-border-radius: 2px;
				-webkit-border-radius: 2px;
				position: relative;
				overflow: hidden;
				height: 30px;
				background: url(../images/select-field.png) no-repeat right center;
			}
				.mrclientarea-form .form-row .form-field .form-select select {
					position: absolute;
					top: 0px;
					left: 0px;
					width: 100%;
					height: 30px;
					border: none;
					background: none transparent;
					padding: 5px 48px 5px 8px;
					font-size: 15px;
					line-height: 20px;
					border: 1px solid #CCC;
					color: #565b5f;
					display: block;
					border: none;
					-webkit-appearance: none;
					-moz-appearance: none;
					appearance: none;
					box-sizing: border-box;
					-webkit-box-sizing: border-box;
					-moz-box-sizing: border-box;
				}
		.mrclientarea-form .form-submit {
			position: relative;
			padding: 10px 30px 0 0;
			margin: 0 0 20px 0;
		}
			.mrclientarea-form .form-submit .form-loader {
				position: absolute;
				top: 50%;
				margin-top: -8px;
				right: 0px;
				width: 16px;
				height: 16px;
				opacity: 0;
				background: url(../images/ajax-loader.gif) no-repeat;
			}
			.mrclientarea-form.submitting .form-submit .form-loader {
				opacity: 1;
			}
			.mrclientarea-form .form-submit .form-button {
				box-sizing: border-box;
				-moz-box-sizing: border-box;
				-webkit-box-sizing: border-box;
				-webkit-appearance: none;
				-moz-appearance: none;
				appearance: none;
				outline: none;
				border-radius: 0px;
				-moz-border-radius: 0px;
				-webkit-border-radius: 0px;
				font-size: 14px;
				line-height: 16px;
				font-weight: bold;
			    border: 1px solid #333;
			    background: transparent;
			    padding: 12px 30px;
			    display: inline-block;
			    position: relative;
			    cursor: pointer;
			    margin-right: 20px;
			    font-family: Lato;
			    color: #333;
			}
			.mrclientarea-form .form-submit .form-button-secondary,
			.mrclientarea-form .form-submit .form-button:hover {
				background: #333;
				color: #FFF;
			}
		.success-message {
			font-weight: bold;
			margin: 0 0 20px 0;
			line-height: 1.2em;
			color: #f79120;
			border: 2px solid #f79120;
			padding: 10px;
		}

	.mrclientarea-forgot-form { display: none; }

	body.dragging, body.dragging * {
		cursor: move !important;
	}
	.dragged {
		position: absolute;
		opacity: 0.5;
		z-index: 2000;
	}
	.form-repeater ol {
		position: relative;
		list-style: none;
		margin: 0 -50px 0 -30px;
	}
		.form-repeater ol li {
			padding: 0 35px;
			overflow: hidden;
		}
		.form-repeater ol li.placeholder {
			min-height: 10px;
			background: #fafaf0;
			margin-right: 0px;
			position: relative;
			overflow: visible;
			border-bottom: 10px solid #FFF;
		}
		.form-repeater ol li.placeholder:before {
			position: absolute;
			content: "";
			width: 0;
			height: 0;
			margin-top: -5px;
			left: -5px;
			top: -4px;
			border: 5px solid transparent;
			border-left-color: red;
			border-right: none;
		}
			.form-repeater ol li .form-row {
				margin: 0 0 10px -10px;
				float: left;
				width: 100%;
			}
				.form-repeater ol li .form-row .form-field { padding: 0 0 0 10px; }
			.form-repeater ol li .form-repeater-reorder {
				float: left;
				margin: 0 0 0 -40px;
				line-height: 32px;
				text-align: center;
				width: 32px;
				height: 32px;
				display: block;
				cursor: move;
				font-size: 12px;
			}
				.form-repeater ol li .form-repeater-reorder i { font-size: 14px; }
			.form-repeater ol li .form-repeater-remove {
				float: right;
				margin: 0 -35px 0 0;
				width: 32px;
				text-align: center;
				line-height: 32px;
				height: 32px;
				background: url(../images/icon-remove.png) no-repeat center center;
				display: block;
				font-size: 18px;
				cursor: pointer;
			}
			.form-repeater ol li i { line-height: 32px; }

	.form-uploader {
		position: relative;
	}
		.form-uploader-preview { position: relative; }
		.form-uploader-preview img {
			max-width: 100%;
			max-height: 80px;
		}
		.form-uploader-remove-image { display: none; color: red; margin-left: 10px; }
		.form-uploader .form-uploader-loader {
			position: absolute;
			top: 0px;
			right: 0px;
			width: 16px;
			height: 16px;
			display: none;
			background: url(../images/ajax-loader.gif) no-repeat;
		}

	.form-uploader .form-uploader-gallery-preview {
		list-style: none;
		margin: 0 -5px;
		overflow: hidden;
	}
		.form-uploader .form-uploader-gallery-preview li {
			display: block;
			float: left;
			width: 120px;
			height: 120px;
			overflow: hidden;
			padding: 5px 5px 5px 5px;
			cursor: pointer;
		}
		.form-uploader .form-uploader-gallery-preview li.placeholder {
			width: 10px;
			height: 120px;
			padding: 0px;
			border: 5px solid #FFF;
			background: #eeeed4;
		}
			.form-uploader .form-uploader-gallery-preview li img {
				width: 120px;
				height: 120px;
				margin-right: -20px;
				cursor: move;
				clear: both;
			}
			.form-uploader .form-uploader-gallery-preview li .form-uploader-remove-gallery-image {
				display: block;
				width: 20px;
				height: 20px;
				line-height: 20px;
				float: right;
				position: relative;
				z-index: 10;
				text-align: center;
				/*margin-top: -30px;*/
				background: red;
				color: #FFF;
				font-size: 12px;
			}
			.form-uploader .form-uploader-gallery-preview li .form-uploader-remove-gallery-image:hover {
				background: #000;
				border-color: #000;
				color: #FFF;
			}

		.file-info {
			position: relative;
			padding: 5px 0 5px 24px;
			line-height: 20px;
			font-size: 15px;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			display: block;
			margin-left: -7px;
		}
			.file-info i {
				position: absolute;
				top: 0px;
				left: 0px;
				line-height: 30px;
				font-size: 18px;
			}

		.form-uploader-upload-files,
		.schedule-add,
		.images-add,
		.updates-add {
			padding: 0 0 0 24px;
			line-height: 20px;
			font-weight: bold;
			margin: 5px 0 0 0;
			display: inline-block;
			background: url(../images/icon-add.png) no-repeat left center;
		}

	.button {
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		outline: none;
		border-radius: 0px;
		-moz-border-radius: 0px;
		-webkit-border-radius: 0px;
		font-size: 14px;
		line-height: 16px;
		font-weight: bold;
	    border: 1px solid #333;
	    background: transparent;
	    padding: 12px 30px;
	    display: inline-block;
	    position: relative;
	    cursor: pointer;
	    margin-right: 20px;
	    color: #333;
	}
	.button:hover {
		background: #333;
		color: #FFF;
	}

	table.mrclientarea-table {
		width: 100%;
		border-left: 1px solid #CCC;
		border-right: 1px solid #CCC;
		margin: 0 0 40px 0;
	}
	table.mrclientarea-table-no-blue-header { border: none; }
		table.mrclientarea-table th,
		table.mrclientarea-table td {
			padding: 25px 20px;
			font-size: 15px;
			line-height: 18px;
			border-bottom: 1px solid #CCC;
		}
		table.mrclientarea-table th {
			background: #f79120;
			color: #FFF;
			font-size: 15px;
			font-weight: bold;
			padding: 20px 20px;
		}
		table.mrclientarea-table-no-blue-header th,
		table.mrclientarea-table-no-blue-header td { padding: 10px 0; }
		table.mrclientarea-table-no-blue-header th {
			background: transparent;
			padding: 0 0 10px 0;
			color: #000;
		}
		table.mrclientarea-table td .button { margin: -10px 0; padding: 12px 0; text-align: center; display: block; }


	.project-step { display: none; }
	.project-step.active { display: block; }

	.form-row .form-field-address .form-field { padding: 0px; }
	.form-row .form-field-address .form-field .form-control { padding: 7px 8px; margin-top: -1px; }
	.form-row .form-field-address .form-field-postcode { width: 34%; margin-right: -1px; }
	.form-row .form-field-address .form-field-county,
	.form-row .form-field-address .form-field-postcode { margin-left: -1px; }

	.mrclientarea-project-form-step-b { max-width: 100%; }

	.contract-pricing {
		font-size: 18px;
		font-weight: bold;
		margin: 0 0 40px 0;
		color: #f79120;
	}
		.contract-pricing span {
			display: inline-block;
			margin: 0 40px 0 0;
		}
			.contract-pricing span span { margin: 0px; }
		.contract-remainder.minus,
		.payments-contract-remainder.minus { color: red; }

	.schedule-header {
		margin: 0 -10px;
		font-weight: bold;
		padding: 0 0 10px 10px;
	}
		.schedule-cell {
			float: left;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			padding: 0 10px 0 0;
			display: block;
			width: 20%;
		}
		.schedule-cell-start-date { width: 15%; }
		.schedule-cell-end-date { width: 15%; }
		.schedule-cell-work { width: 15%; }
		.schedule-cell-payment { width: 11%; }
		.schedule-cell-status { width: 14%; }
		.schedule-cell-paid { width: 10%; }
		.schedule-cell-notes { width: 20%; }
		
		.schedule-cell label { display: none; }
		table.client-schedule td label { display: none; }
		table.client-extras td label { display: none; }
		.form-repeater-schedule .form-row .schedule-cell label { display: none; }
		.form-repeater-extras .form-row .extras-cell label { display: none; }

		.mrclientarea-project-form-step-b .schedule-cell-notes { width: 44%; }

	.payments-header {
		margin: 0 -10px;
		font-weight: bold;
		padding: 0 0 10px 10px;
	}
		.payment-cell {
			float: left;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			padding: 0 10px 0 0;
			display: block;
			width: 20%;
		}
		.payment-cell-date { width: 15%; }
		.payment-cell-amount { width: 15%; }
		.payment-cell-notes { width: 70%; }

	.form-repeater-schedule ol li .form-row { margin-left: -15px; }

	.form-repeater-payments { padding-right: 40px; }
	.form-repeater-payments ol li { padding: 0 30px; }

	.mce-tinymce { border: 1px solid #CCC!important; }

	.form-field .append {
		position: absolute;
		top: 23px;
		right: 20px;
		line-height: 30px;
		text-align: right;
		z-index: 1;
	}
	.form-field-percentage,
	.form-field-days { position: relative; }
	.form-field-percentage .form-control {
		padding-right: 25px;
	}
	.form-field-days .form-control {
		padding-right: 45px;
	}

	.form-hint { display: block; line-height: 18px; padding: 5px 0 0 0; }

	.contract-holder {
		overflow: auto;
		border: 1px solid #CCC;
		padding: 20px;
		height: 300px;
		background: #f9f9f9;
		margin: 0 -400px 0 10px;
	}
	.under-contract { margin: 0 -400px 40px 0; color: #f79120; }
	@media all and (max-width: 1040px) and (min-width: 0px) {
		.contract-holder,
		.under-contract { margin-right: -10px; }
	}
		#main .contract-holder h3 {
			font-size: 20px;
			line-height: 24px;
			font-weight: bold;
			margin: 0 0 15px 0;
			padding: 0px;
		}
		#main .contract-holder h4 {
			font-size: 17px;
			line-height: 20px;
			font-weight: bold;
			margin: 0 0 15px 0;
			padding: 0px;
		}
		#main .contract-holder p {
			font-size: 14px;
			line-height: 18px;
			margin: 0 0 15px 0;
			padding: 0px;
		}
		#main .contract-holder ul {
			font-size: 14px;
			line-height: 18px;
			margin: 0 0 15px 20px;
			list-style: disc outside;
			padding: 0px;
		}
		#main .contract-holder ol {
			font-size: 14px;
			line-height: 18px;
			margin: 0 0 15px 20px;
			list-style: decimal outside;
			padding: 0px;
		}

	.project-added,
	.project-updated { display: none; }

	.toggle-retention { display: none; }


	/* View Project */

	.project-actions {
		position: absolute;
		top: 0px;
		right: 0px;
	}
		.project-actions .button {
			margin: 0 0 0 20px;
		}

	.update-project-status-form {
		float: right;
		width: 324px;
		display: none;
		position: absolute;
		right: 1px;
		top: 50px;
	}
		.update-project-status-form .form-submit { text-align: right; }
		.update-project-status-form .form-submit .form-button { padding-left: 15px; padding-right: 15px; }

	.project-header {
		border-bottom: 1px solid #CCC;
		padding: 20px 0 10px 0;
		margin: 0 0 50px 0;
	}
		#main .project-header h3 {
			float: left;
			max-width: 50%;
			margin: 0px;
			padding: 0px;
		}
		#main h3 .edit-project-link {
			margin-left: 10px;
			font-size: 0.7em;
			font-weight: normal;
		}
		.project-header .project-prices {
			float: right;
			max-width: 50%;
			text-align: right;
			font-size: 16px;
		}
			.project-header .project-prices span.price {
				font-size: 24px;
				font-weight: bold;
				color: #39a900;
			}
			.project-header .project-prices span.original-price { color: #333; }
			.project-header .project-prices span.amended-price { color: #f79120; }

	.project-details {
		padding: 0 0 40px 0;
	}
		.project-details .details-col {
			float: left;
			width: 50%;
			margin: 0 0 20px 0;
		}
			.project-details .details-col h4 {
				font-size: 18px;
				font-weight: bold;
				margin: 0 0 20px 0;
				color: #f79120;
			}
			.project-details .details-col ul li {
				position: relative;
				padding: 0 0 0 120px;
				line-height: 18px;
				font-size: 14px;
				display: block;
			}
				.project-details .details-col ul li span {
					position: absolute;
					top: 0px;
					left: 0px;
					line-height: 18px;
				}
	
	.project-tabs {

	}
		.project-tab-buttons {
			display: block;
			margin: 0 -10px;
			position: relative;
			z-index: 1;
		}
			.project-tab-buttons li {
				float: left;
				width: 16.66%;
				/*width: 14.286%;*/
				/*width: 12.5%;*/
				padding: 0 10px;
				display: block;
				box-sizing: border-box;
				-moz-box-sizing: border-box;
				-webkit-box-sizing: border-box;
			}
			.project-tab-buttons li a {
				display: block;
				background: #f79120;
				line-height: 50px;
				border: 1px solid #CCC;
				border-bottom: none;
				text-align: center;
				font-weight: bold;
				color: #FFF;
			}
			.project-tab-buttons li a.active {
				background: #FFF;
				color: #333;
			}

		.project-tab-panes {
			border: 1px solid #CCC;
			padding: 30px;
			position: relative;
			margin: -1px 0 40px 0;
		}
			.project-tab-pane { display: none; }
			.project-tab-pane.active { display: block; }

		#main .project-tab-pane h3 { margin: 0 0 20px 0; }
		#main .project-tab-pane h4 { margin: 0 0 20px 0; font-size: 16px; }
		#main .project-tab-pane .mrclientarea-form .form-submit { margin-bottom: 0px; }

		#tab-messages {
			padding: 30px 160px 0 160px;
		}
		.message-thread {
			max-height: 300px;
			overflow: auto;
			padding-right: 20px;
			margin: 0 0 40px 0;
		}
		.message-thread.loading {
			background: url(../images/ajax-loader.gif) no-repeat center center;
			min-height: 100px;
		}
			.message-thread blockquote {
				padding: 0 0 20px 80px;
				position: relative;
				border-bottom: 1px solid #CCC;
				margin: 0 0 30px 0;
			}
				.message-thread blockquote img {
					position: absolute;
					top: 0px;
					left: 0px;
					width: 60px;
					height: auto;
				}
			.message-thread blockquote:last-child { margin: 0px; border: none; padding: 0px 0 0 80px; }
				.message-thread blockquote h5 {
					margin: 0 0 5px 0;
					font-weight: bold;
					font-size: 18px;
					line-height: 22px;
				}
				.message-thread blockquote h6 {
					margin: 0 0 10px 0;
					color: #999;
					font-weight: normal;
					font-style: italic;
					font-size: 14px;
					line-height: 18px;
				}
				.message-thread blockquote p {
					margin: 0 0 10px 0;
					font-size: 14px;
					line-height: 18px;
				}

		.send-message-form { max-width: 100%; margin: 0 0 0 80px; }
		.send-message-form h4 {
			font-size: 18px;
		    font-weight: bold;
		    margin: 0 0 20px 0;
		    color: #f79120;
		}

		.upload-project-images-form { max-width: 100%; }
			.upload-project-images-form .form-submit {
				padding: 0px;
				margin: 0px;
				position: absolute;
				top: 30px;
				right: 20px;
			}
		.form-repeater-images {
			padding:0 20px;
			margin: -10px 0;
		}
			.form-repeater-images ol { 
				overflow: hidden;
				padding: 10px;
			}
			.form-repeater-images ol li {
				display: block;
				float: left;
				width: 150px;
				height: 200px;
				padding: 0px;
				margin: 0 20px 0 0;
			}
			.form-repeater-images ol li.placeholder { width: 10px; }
				.form-repeater-images ol li .image-holder { position: relative; }
				.form-repeater-images ol li img {
					width: 150px;
					height: 150px;
					display: block;
				}
				.form-repeater-images ol li .image-holder .image-zoom {
					position: absolute;
					top: 0px;
					left: 0px;
					width: 50%;
					height: 100%;
					line-height: 150px;
					background: rgba(255, 255, 255, 0.6);
					float: none;
					margin: 0px;
					opacity: 0;
				}
				.form-repeater-images ol li .image-holder .image-zoom:hover { background: rgba(255, 255, 255, 0.8); }
					.form-repeater-images ol li .image-holder .image-zoom i {
						line-height: 150px;
						font-size: 26px;
						width: 100%;
					}
				.form-repeater-images ol li .image-holder .form-repeater-reorder {
					position: absolute;
					top: 0px;
					left: 50%;
					width: 50%;
					height: 100%;
					line-height: 150px;
					border-left: 1px solid rgba(0,0,0,0.1);
					background: rgba(255, 255, 255, 0.6);
					float: none;
					margin: 0px;
					opacity: 0;
				}
					.form-repeater-images ol li .image-holder .form-repeater-reorder i {
						line-height: 150px;
						font-size: 26px;
					}
				.form-repeater-images ol li .image-holder:hover .image-zoom,
				.form-repeater-images ol li .image-holder:hover .form-repeater-reorder { opacity: 1; }
			.form-repeater-images ol li .form-repeater-remove {
				float: right;
				margin: -33px 0 0 0;
				position: relative;
			}

	.extras-header {
		margin: 0 -10px 10px -10px;
		font-weight: bold;
		padding: 0 0 10px 10px;
		border-bottom: 1px solid #CCC;
	}
		.extras-cell {
			float: left;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			padding: 0 10px 0 0;
			display: block;
			width: 20%;
		}
		.extras-cell-description { width: 30%; }
		.extras-cell-schedule { width: 10%; }
		.extras-cell-paid { width: 10%; }
		.extras-cell-invoiced { width: 10%; }
		.extras-cell-cost { width: 10%; }
		.extras-cell-duration { width: 10%; }
		.extras-cell-status-text { width: 15%; }
		li .extras-cell-status { line-height: 30px; }
	.extras-header .extras-cell { padding-left: 10px; }
	.extras-header .extras-cell-schedule { padding-left: 20px; }
	.extras-header .extras-cell-description { padding-left: 25px; }

	.form-repeater-extras ol li .form-repeater-remove {
		float: left;
		margin: 0 0 0 -35px;
		width: 32px;
		text-align: center;
		line-height: 32px;
		height: 32px;
		background: url(../images/icon-remove.png) no-repeat center center;
		display: block;
		font-size: 18px;
		cursor: pointer;
	}
	.form-repeater-extras ol { padding-left: 23px; }



	.updates-header {
		margin: 0 10px 10px -10px;
		font-weight: bold;
		padding: 0 0 10px 10px;
		border-bottom: 1px solid #CCC;
	}
		.updates-cell {
			float: left;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			padding: 0 10px 0 0;
			display: block;
			width: 20%;
		}
		.updates-cell-date { width: 20%; }
		.updates-cell-update { width: 80%; }
	/*.updates-header .updates-cell { padding-left: 10px; }*/

	/*.form-repeater-updates ol li .form-repeater-remove {
		float: left;
		margin: 0 0 0 -35px;
		width: 32px;
		text-align: center;
		line-height: 32px;
		height: 32px;
		background: url(../images/icon-remove.png) no-repeat center center;
		display: block;
		font-size: 18px;
		cursor: pointer;
	}
	.form-repeater-updates ol  { padding-left: 23px; }*/
	.form-repeater-updates ol { margin-right: -20px; }
	.form-repeater-updates ol li { padding-right: 45px; }
	.form-repeater-updates ol li .form-row { margin-left: -15px;  }
	.form-repeater-updates ol li .form-row .form-field label { display: none; }
	.update-updates-form .form-repeater-updates ol li .form-repeater-remove { margin: -5px -15px 0 -20px; }



	.update-schedule-form .form-repeater-schedule ol li .form-repeater-reorder { margin-left: -35px; }
	.update-schedule-form .form-repeater-schedule ol li .form-repeater-remove { margin: 0 -15px 0 -20px; }

	.pay-retention { padding: 20px 0 0 0; }
		.pay-retention p { font-size: 18px; margin: 0 0 10px 0; }

	.contract-accepted {
		font-size: 16px;
		line-height: 20px;
		margin: 0 0 20px 0;
	}

	.under-contract { margin: -10px 0 0 0; }
		.under-contract p { font-size: 16px; line-height: 20px; color: #333; }

	.client-images {
		margin: 0 -10px;
	}
		.client-images li {
			display: block;
			float: left;
			padding: 0 10px;
		}
			.client-images li a {
				display: block;
				float: left;
				position: relative;
			}
				.client-images li a img {
					width: 150px;
					height: 150px;
					display: block;
				}

	.client-documents {
		margin: 0 0 -20px 0;
	}
		.client-documents li {
			display: block;
			margin: 0 0 20px 0;
		}
			.client-documents li a {
				font-size: 18px;
				display: inline-block;
			}
				.client-documents li a span.notes {
					display: block;
					font-size: 13px;
					line-height: 16px;
					color: #333;
					padding: 3px 0 0 24px;
				}


@media all and (max-width: 1100px) and (min-width: 0px) {
	.project-tab-buttons { margin: 0 -2px -1px -2px; }
	.project-tab-buttons li { padding: 0 2px; }
	#tab-messages { padding-left: 0px; padding-right: 0px; }
	#header nav { float: none; padding-top: 20px; clear: both; margin-left: -20px; }
	#header nav li { padding-left: 20px; padding-right: 20px; }
	#main .project-header h3,
	.project-header .project-prices { float: none; max-width: 100%; text-align: left; }
}


@media all and (max-width: 1023px) and (min-width: 0px) {

	.form-repeater-schedule ol { margin-right: -30px; margin-left: -20px; }
	.form-repeater-schedule ol li { margin-bottom: 20px; padding-left: 70px!important; }
	.form-repeater-schedule ol li .form-repeater-reorder { color: #FFF; background: #f79120; margin-left: -50px!important; }
	.form-repeater-schedule ol li .form-repeater-remove { margin-right: -25px!important; }
	.form-repeater-schedule .schedule-header { display: none; }
	.form-repeater-schedule .form-row .schedule-cell { display: block; float: none; width: auto; margin-bottom: 10px; }
	.form-repeater-schedule .form-row .schedule-cell label { display: block; }

	.form-repeater-extras ol li .form-repeater-remove { margin-top: -6px!important; }
	.form-repeater-extras .extras-header { display: none; }
	.form-repeater-extras .form-row .extras-cell { display: block; float: none; width: auto; margin-bottom: 10px; }
	.form-repeater-extras .form-row .extras-cell label { display: block; }
	li .extras-cell-status { line-height: 18px; }
	.contract-pricing span { margin-right: 20px; }

	table.client-extras th { display: none; }
	table.client-extras td { display: block; }
	table.client-extras td label { font-size: 13px; font-weight: bold; display: block; }

	table.client-schedule th { display: none; }
	table.client-schedule td { display: block; }
	table.client-schedule td label { font-size: 13px; font-weight: bold; display: block; }

	.dashboard-actions li { float: none; width: auto; display: block; }

	#main .project-tab-pane .mrclientarea-form .form-submit { margin-top: 0px!important; }


}

#header .mobile-phone { display: none; }

@media all and (max-width: 767px) and (min-width: 0px) {

	.contract-pricing > span { margin: 0 0 10px 0; display: block; }

	.project-tab-buttons li { float: none; width: auto; }

	.project-actions { position: static; }
	.project-actions .button { margin: 0 10px 10px 0; }

	#main h1 { font-size: 22px;}
	#main h3 { font-size: 16px; line-height: 20px; }
	.project-header .project-prices span.paid-so-far,
	.project-header .project-prices span.original-price { clear: left; display: block; padding-top: 8px; }
	.project-details .details-col { float: none; width: auto; }

	.project-table table th,
	.project-table table td { display: none; }
	.project-table table th.cell-project-title,
	.project-table table th.cell-action,
	.project-table table td.cell-project-title,
	.project-table table td.cell-action { display: table-cell; }

	.form-row { padding-bottom: 0px; margin-bottom: 0px; }
	.form-row .form-field { padding-bottom: 0px; }
	.form-row .form-field-half { float: none; width: auto; padding-bottom: 20px; }

	.form-repeater-files { margin-right: 40px; }

	#mobile-nav {
		position: fixed;
		background: #f79120;
		display: block;
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 270px;
	    height: 100%;
	    z-index: 0;
	    overflow-y: auto;
	    overflow-x: hidden;
	}
	#header .container { text-align: center; }
	#header nav { display: none; }
	#header .mobile-phone { display: block;     display: block;
    text-align: center;
    font-weight: 300;
    padding: 20px 0 15px 0;
    font-size: 18px; color: #999; }
    #header .logo { margin: 0 auto; float: none; }
    #header img { float: none; width: 193px; margin: auto; }

.toggle-nav {
margin: 8px auto 0px auto;
position: relative;
height: 45px;
display: block;
width: 20px;
padding: 0 0 0 50px;
}
.toggle-nav:before {
font-family:"FontAwesome";
display:block;
content:"\f0c9";
padding:8px 0 0 0px;
text-align:center;
margin-left:-1px;
font-size:18px;
}
.toggle-nav:after {
    content: 'Menu';
    position: absolute;
    left: 2px;
    font-size: 16px;
    font-weight: bold;
    color: #222;
    top: 7px;
}

	body.nav-active { overflow: hidden; }

	#wrapper { width: 100%; position: relative; z-index: 100; background: #FFF; }

	#mobile-nav li {
		color: #666;
	    border-top: 1px solid rgba(255,255,255,0.05);
	    border-bottom: 1px solid rgba(0,0,0,0.35);
	}
	#mobile-nav li a {
		display: block;
		/*padding: 10px 0 10px 28px;*/
		line-height: 22px;
		font-size: 14px;
		text-align: left;
	    padding: 10px 20px 13px 20px;
	    text-transform: uppercase;
		font-family: Montserrat, Lato, Helvetica, Arial, 'Sans Serif';
		color: #FFF;
	}
	/*#mobile-nav li.nav-projects { border: none; }*/
	/*#mobile-nav li.nav-profile a {
		background: url(../images/nav-icon-profile.png) no-repeat left center;
	}
	#mobile-nav li.nav-dashboard a {
		background: url(../images/nav-icon-dashboard.png) no-repeat left center;
	}
	#mobile-nav li.nav-projects a {
		background: url(../images/nav-icon-projects.png) no-repeat left center;
	}
	#mobile-nav li.nav-logout a {
		background: url(../images/nav-icon-logout.png) no-repeat left center;
	}*/

}


@media all and (max-width: 480px) and (min-width: 0px) {

	#header nav li a,#header nav li { display: block; margin: 0 0 5px 0; }

}

