/**
 * @author mcosta
 */

/* Browser Viewport
----------------------------------------------------------------------------------------------------*/

html,
body,
#content {
	height: 100%;
}

body { background: #fff url(../../up/images/body_background.png) no-repeat center 25px; }

/* Containers
----------------------------------------------------------------------------------------------------*/

#content { min-height: 100%; }

#footer { margin-top: -94px; }

/* Global classes
----------------------------------------------------------------------------------------------------*/

.terms {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	height: 200px;
	border: 1px solid #D9D9D9;
	background: #f2f2f2;
	padding: 10px 10px 0 10px;
	margin-top: 20px;
}

a.edit {
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	text-indent: -9999px;
	color: #fff;
	text-decoration: none;
	padding: 0 4px;
	line-height: 14px;
	display: inline-block;
	width: 8px;
	height: 14px;
}

a.edit { background: #F99F1C url(../../up/images/edition_icon.png) center center no-repeat; }

a.edit:hover { background: #F9851C url(../../up/images/edition_icon.png) center center no-repeat; }

a.edit.hover { background: #F9851C url(../../up/images/edition_icon.png) center center no-repeat; }

a.add {
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	text-indent: -9999px;
	color: #fff;
	text-decoration: none;
	padding: 0 3px;
	line-height: 15px;
	display: inline-block;
	width: 9px;
}

a.add { background: #F99F1C url(../../up/images/add_icon.png) center center no-repeat; }

a.add:hover { background: #F9851C url(../../up/images/add_icon.png) center center no-repeat; }

.empty {
	margin: 0 0 10px 0;
	padding: 20px 0 21px 0;
	background: url(../../up/images/empty_box_background.png) 0 0 repeat;
}

a.remove {
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	text-indent: -9999px;
	color: #fff;
	text-decoration: none;
	padding: 0 3px;
	line-height: 14px;
	display: inline-block;
	width: 9px;
	height: 14px;
}

a.remove { background: #FF5757 url(../../up/images/remove_icon.png) center center no-repeat; }

a.remove:hover { background: #EA2F31 url(../../up/images/remove_icon.png) center center no-repeat; }

/*
.empty .edit {
	position: relative;
	top: -8px;
	right: -10%;
	margin-left: 10px;

}
*/

.left { float: left; }

.right { float: right; }

.hidden { display: none; }

.help {
	width: 15px;
	height: 15px;
	display: inline-block;
	background: url(../../up/images/help_icon.png) no-repeat;
}

.close,
.delete,
#dialog-header .close-dialog {
	display: block;
	width: 8px;
	height: 8px;
	overflow: hidden;
	position: absolute;
	top: 5px;
	right: 5px;
	background: url(../../up/images/close_icon.png) no-repeat;
}

.check {
	clear: both;
	margin: 20px 0 0 0;
	padding-left: 25px;
	float: left;
	background: url(../../up/images/tick_icon.png) no-repeat;
}

.overflow {
	overflow: auto;
	overflow-x: hidden;
}

.tick { margin: 0; }

.tick li {
	margin-bottom: 10px;
	padding-left: 25px;
	background: url(../../up/images/tick_icon.png) no-repeat;
}

/*.clear { 
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}*/

.clearfix:after { /* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
	clear: both;
	content: ' ';
	display: block;
	visibility: hidden;
	width: 0;
	height: 0;
}

* html .clearfix { height: 1%; }

/* Containers
----------------------------------------------------------------------------------------------------*/

#header {
	height: 180px;
	background: url(../../up/images/header_bar_background.png) repeat-x 0 bottom;
}

#main-navigation {
	height: 180px;
	position: relative;
}

#content { background: url(../../up/images/content_background.png) repeat-x; }

#content h2 {
	margin-bottom: 20px;
	padding-bottom: 5px;
	border-bottom: 1px solid #D1D2D3;
}

#content h2.layout-text {
	margin-bottom: 0;
	top: 0;
	padding-bottom: 0;
	border-bottom: none;
}

#footer {
	clear: both;
	height: 94px;
	background: url("../../up/images/footer_background.png") repeat-x;
	position: relative;
}

/* Content
----------------------------------------------------------------------------------------------------*/

h1#useprofessionals-logo {
	width: 580px;
	margin: 142px auto 0 auto;
	height: 192px;
	background: url("../../up/images/useprofessionals_logo.png") no-repeat;
	text-indent:-9999px
}

/* Create Account */

#create-account h2 {
	width: 247px;
	height: 107px;
	position: absolute;
	top: 30px;
	left: 40px;
	background: url("../../up/images/create_account.png") no-repeat;
}

form label { display: block; }
 
form ul { overflow: visible; }
	
form ul li {
	margin: 0 0 10px 0;
	position: relative;
}

form ul li:last-child { margin-right: 0; }

form ul li.left {
	width: 48%;
	margin-right: 4%;
}

form ul li.left.last { margin-right: 0; }

form input[type=text],
form input[type=password] {
	padding: 3px 0 4px 0;
}

form .medium-input { width: 255px; }

form .full-input { width: 537px; }

form .full-page-input { width: 930px; }

form .medium-select {
	width: 120px;
	margin-right: 10px;
}

form .medium-select:last-child { margin-right: 0; }

form .small-select {
	width: 60px;
	margin-right: 10px;
}
form input[type=checkbox] { margin: 0; }

form input.error {
	background: #fddedd;
	padding:4px 0 5px;
}

form input.warning {
	background: #ffee8f;
	padding:4px 0 5px;
}

form button.submit {
	border: 0 none;
	overflow: visible;
	cursor: pointer;
	display: inline;
	padding: 0 38px 0 0;
	position: relative;
	left: 50%;
	margin-left: -20%;
	background: transparent url(../../up/images/link_right_background.png) right 0 no-repeat;
}

form button.submit span {
	position: relative;
	display: block;
	height: 91px;
	padding: 0 0 0 40px;
	background: transparent url(../../up/images/link_left_background.png) left 0 no-repeat;
}

form .button {
	margin: 20px 0 20px 10px;
	overflow: visible;
	cursor: pointer;
	display: inline-block;
	padding: 0 20px 0 0;
	background: transparent url(../../up/images/button_right_background.png) right 0 no-repeat;
}

form .button span {
	position: relative;
	display: block;
	height: 34px;
	padding: 0 0 0 20px;
	background: transparent url(../../up/images/button_left_background.png) left 0 no-repeat;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	/* Safari and Google Chrome only - fix margins */
	form button.submit { padding-right: 40px; }
	form button.submit span {
		margin-top: -1px;
	}
}

form button.submit:hover { background-position: 100% -91px; }

form button.submit:hover span {
	cursor: pointer;
	padding: 0 0 0 40px;
	background-position: 0 -91px;
}

form .button:hover { background-position: 100% -34px; }

form .button:hover span {
	cursor: pointer;
	padding: 0 0 0 20px;
	background-position: 0 -34px;
}

/* Link */

.link {
    display: block;
	margin-top: 10px;
	overflow: hidden;
    padding: 0 40px 0 0;
    background: url(../../up/images/link_right_background.png) right 0 no-repeat;
}

.link:hover { text-decoration: none; }

.link span {
    height: 91px;
    display: block;
	cursor: pointer;
    padding: 0 0 0 40px;
    background: url(../../up/images/link_left_background.png) left 0 no-repeat;
}

.link:hover { background-position: 100% -91px; }

.link:hover span {
	cursor: pointer;
	padding: 0 0 0 40px;
	background-position: 0 -91px;
}

.link-small {
    display: block;
	overflow: hidden;
}

#wrap-content .link-small {
	padding: 0 10px 0 0;
    background: url(../../up/images/link-small_right_background.png) right 0 no-repeat;
}

.box-content .link-small,
#modal-options .link-small,
#dialog-options .link-small,
.form-list-button .link-small {
	margin-left: 10px;
}

#modal-options .link-small,
#dialog-options .link-small {
    padding: 0 15px 0 0;
    background: url(../../up/images/link-small-modal_right_background.png) right 0 no-repeat;
}

.link-small:hover { text-decoration: none; }

.link-small span {
	height: 20px;
    display: block;
	cursor: pointer;
}

#wrap-content .link-small span {
	padding: 0 0 0 10px;
    background: url(../../up/images/link-small_left_background.png) left 0 no-repeat;
}

#modal-options .link-small span,
#dialog-options .link-small span {
    height: 34px;
    padding: 0 0 0 15px;
    background: url(../../up/images/link-small-modal_left_background.png) left 0 no-repeat;
}

#wrap-content .link-small:hover { background-position: 100% -20px; }

#modal-options .link-small:hover,
#dialog-options .link-small:hover {
	background-position: 100% -34px;
}

#wrap-content .link-small:hover span {
	cursor: pointer;
	padding: 0 0 0 10px;
	background-position: 0 -20px;
}

#modal-options .link-small:hover span,
#dialog-options .link-small:hover span {
	padding: 0 0 0 15px;
	background-position: 0 -34px;
}

/* System message */

#system-message.warning-message {
	border: 1px solid #F9E58B;
	background: #FFF3BE url(../../up/images/warning_message_icon.png) no-repeat scroll 0.83em 50%;
}

#system-message.success-message {
	border: 1px solid #C2DC7C;
	background: #ECF2D6 url(../../up/images/success_message_icon.png) no-repeat scroll 0.83em 50%;
}

#system-message {
	position: relative;
	top: -50px;
	/*
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	*/
	-moz-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
	padding: 10px 10px 10px 52px;
}

#modal-content #system-message .close {
	right: 5px;
	top: 5px;
}

#system-message.warning-message .close { background-position: 0 -16px; }

#system-message.success-message .close { background-position: 0 0; }

#system-message p { margin:0; }

/* Login */

#login-button {
	position: relative;
	bottom: 7px;
	z-index: 1500;
	display: block;
	left: 127px;
	width: 101px;
	height: 47px;
	padding-top:3px;
	background: url("../../up/images/login_button.png") 0 0 no-repeat;
	color:#FFFFFF;
	font-size:13px;
	line-height:15px;
	text-align:center;
	text-decoration:none;
}

#login-button span {
	font-size:15px;
	display:block
}

#login-button span.close {
	display: block;
	width: 14px;
	height: 14px;
	margin: 0 48%;
	background: url("../../up/images/login_arrow.png") no-repeat;
}

#login-box {
	position: absolute;
	top: 0;
	left: 0;
}

#user-login {
	padding: 0 20px;
	width: 340px;
	height: 94px;
	background: url("../../up/images/user_login_background.png") no-repeat;
}

#user-login #close {
	position: absolute;
	left: 50%;
	margin-left: -45px;
	bottom: -28px;
}

#user-login form h3 { margin: 10px 0; }

#login ul {
	overflow: hidden;
	margin-bottom: 0;
}

#login ul li {
	margin: 0 10px 0 0;
	width: auto;
}

#login input.full-input { width: 100px; }

#login input.medium-input { width: 60px; }

#login button {
	display: block;
	position: relative;
	top: -4px;
	left: -5px;
	width: 50px;
	height: 37px;
	border: none;
	cursor: pointer;
	background: url(../../up/images/go_button.png) no-repeat;
}

#new-user {
	width: 82px;
	padding: 10px 0;
}

#new-user h3 { margin: 5px 0 20px 0; }

#user-login p {
	clear: both;
	margin: 0;
}

#login-info h3 {
	padding: 5px 20px;
	background: #8DC63F;
}

#form-box {
	background: #fffded url(../../up/images/form-box_background.png) repeat-x 0 bottom;
	border: 1px solid #d8d5be;
	border-top: none;
	padding: 20px;
	float: left;
	border-bottom-right-radius: 15px 15px;
	border-bottom-left-radius: 15px 15px;
	-moz-border-radius-bottomleft: 15px;
	-webkit-border-bottom-left-radius: 15px;
	-moz-border-radius-bottomright: 15px;
	-webkit-border-bottom-right-radius: 15px;
}

#wizard-box #form-box {
	background: none;
	border: none;
	float: none;
	padding: 0;
	border-bottom-right-radius: 0 0;
	border-bottom-left-radius: 0 0;
	-moz-border-radius-bottomleft: 0;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-bottomright: 0;
	-webkit-border-bottom-right-radius: 0;
}

/* Password Strenght */

#password-strength { margin-top: 10px; }

#password-strength span {
	margin-top: 10px;
	display: block;
	width: 104px;
	height: 5px;
	overflow: hidden;
	background: url(../../up/images/password_strength_background.png) no-repeat;
}

#password-strength span.strongPass { background-position: 0 0; }

#password-strength span.goodPass { background-position: 0 -5px; }

#password-strength span.badPass { background-position: 0 -10px; }

#password-strength span.shortPass { background-position: 0 -15px; }

/* Navigation tabs */

.navigation-tabs {
	overflow: hidden;
	bottom: 10px;
	left: 0;
	position: absolute;
}

.navigation-tabs li {
	float: left;
	display: inline;
	position: relative;
	bottom: -5px;
	margin-right: 2px;
	padding: 0 0 0 20px;
	background: url(../../up/images/left_tab_background.png) left 0 no-repeat;
}

.navigation-tabs li:hover {
	cursor: pointer;
	background-position: left -30px;
}

.navigation-tabs li a {
	height: 30px;
	display: block;
	padding: 0 20px 0 0;
	background: url(../../up/images/right_tab_background.png) right 0 no-repeat;
}

.navigation-tabs li a #mn-home {
	display: block;
	position: relative;
	top: 20%;
	width: 19px;
	height: 19px;
	background: url(../../up/images/home_icon.png) no-repeat;
}

.navigation-tabs li.active {
	bottom: 0;
	background: url(../../up/images/active_left_tab_background.png) left 0 no-repeat;
}

.navigation-tabs li.active a {
	height: 35px;
	background: url(../../up/images/active_right_tab_background.png) right 0 no-repeat;
}

.navigation-tabs li.active:hover { background-position: 0 0; }

.navigation-tabs li.active:hover a {  background-position: 100% 0; }

.navigation-tabs li:hover a { background-position: right -30px; }

/* User controls */

#user-controls {
	position: absolute;
	bottom: 15px;
	right: 10px;
}

#user-controls li a { margin-left: 5px; }

#user-controls li a { color: #333; }

#user-controls li.active a{text-decoration:none;color:#8DC63F;font-weight:bold;font-size:12px}

#user-controls li:first-child:after { content: " | " }

/* Ajax Feedback */

#ajax-feedback {
	top: 0;
	left: 0;
	width: 100%;
	position: fixed;
	background: rgba(0, 0, 0, 0.7);
	z-index: 10000;
}

#ajax-feedback p {
	height: 32px;
	padding: 20px 0;
	margin-bottom: 0;
	overflow: hidden;
}

#ajax-feedback p span {
	padding-left: 40px;
	display: inline-block;
	background: url(../../up/images/ajax_feedback_icon.png) left 0 no-repeat;
}

#ajax-feedback p span.ajax-error { background-position: 0 -32px;}