/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-tmp iframe, .fancybox-tmp object {
	vertical-align: top;
	padding: 0;
	margin: 0;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	padding: 0;
	margin: 0;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	padding: 0;
	margin: 0;
	position: relative;
	outline: none;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 10px;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	margin: 0;
	vertical-align: top;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('/images/fancybox/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8020;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('/images/fancybox/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	background: transparent url('/images/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 20px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 20px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -9999px;
	left: -9999px;
	padding: 0;
	overflow: visible;
	visibility: hidden;
}
/** close */
.fancybox-close {
	height: 23px;
	padding: 0 1px !important;
	position: absolute;
	right: 18px;
	top: 18px;
	cursor: pointer;
	z-index: 1004
}
.fancybox-close span {
	display: block;
	font-size: 15px;
	text-align: center;
	line-height: 16px;
	padding: 3px 5px
}
.fancybox-close:hover {
	background-color: #18919a
}
.fancybox-close:hover {
	background-position: 0 -155px
}

/* Overlay helper */

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: #000;
}

#fancybox-overlay.overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}
/**
 * 	modal
 */
div.modal-content {
	background: #f7f7f7
}
div.modal-content .modal-title {
	padding: 15px 20px;
	background: #dfeced;
	position: relative;
	z-index: 3;
	margin-bottom: 0
}
div.modal-content .modal-title h2 {
	padding: 0
}
div.modal-content .modal-title h2 > a {
	padding-right: 30px;
	background: url("/images/sprites.png") 100% -155px no-repeat;
	float: left
}
div.modal-content .modal-title h2 > a:hover {
	background-position: 100% -177px
}
div.modal-content .modal-title h2 > span {
	color: #333;
	float: left;
	margin-bottom: 10px
}
div.modal-content .modal-title form#new-post-form > div, div.modal-content .modal-title form#new-post-form > fieldset {
	background: none
}
div.modal-content .modal-messages {
	background: #dc5968;
	position: absolute;
	top: 58px;
	z-index: 1;
	width: 100%;
	overflow: hidden;
	height: 0;
	padding-left: 63px;
	margin: 0
}
div.modal-content .modal-messages > li {
	float: left;
	color: white;
	font-weight: 600;
	margin-right: 30px;
	line-height: 31px;
	list-style: decimal;
	margin-left: 20px
}
div.modal-content .modal-body {
	position: relative;
	z-index: 2;
	padding: 32px 20px 15px;
	clear: both;
	background: transparent url("/images/fancybox/message-header.png") 0px 0 no-repeat;
}
div.modal-content .modal-footer {
	background: #f7f7f7;
	font-size: 10px;
	line-height: 12px;
	padding: 0 20px 15px;
	clear: both
}
div.modal-content .modal-footer p {
	margin-bottom: 10px
}
/* mesage */
div.modal-content #message-header h2 ul.autosuggest-results, ul.autosuggest-results {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0;
	margin: 0;
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	display: block;
	line-height: 38px;
	background-color: #fff;
	-webkit-box-shadow: 0 1px 1px 0 #aaa;
	-moz-box-shadow: 0 1px 1px 0 #aaa;
	box-shadow: 0 1px 1px 0 #aaa;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px
}
div.modal-content #message-header h2 ul.autosuggest-results a, ul.autosuggest-results a {
	display: block;
	font-size: 12px;
	color: #666;
	padding: 10px;
	background: #fff;
	overflow: hidden;
	width: 100%;
	vertical-align: middle;
	outline: none
}
div.modal-content #message-header h2 ul.autosuggest-results a img, ul.autosuggest-results a img {
	max-width: 38px;
	height: 38px;
	border: 1px solid white;
	background-color: white;
	display: block;
	float: left;
	margin-right: 10px;
	-webkit-box-shadow: 0px 1px 1px 0px silver;
	-moz-box-shadow: 0px 1px 1px 0px silver;
	box-shadow: 0px 1px 1px 0px silver
}

div.modal-content #message-header h2 ul.autosuggest-results a span, ul.autosuggest-results a span {
	position: relative;
	top: 8px
}
div.modal-content #message-header h2 ul.autosuggest-results a b, ul.autosuggest-results a b {
	color: #000
}
div.modal-content #message-header h2 ul.autosuggest-results a:hover, ul.autosuggest-results a:hover {
	background: #e0e0e0
}
div.modal-content #message-header h2 ul.autosuggest-results a:active, ul.autosuggest-results a:active {
	outline: none
}
div.modal-content #message-header h2 ul.autosuggest-results a.no-results, ul.autosuggest-results a.no-results {
	padding: 0px 10px
}
div.modal-content #message-header h2 ul.autosuggest-results li, ul.autosuggest-results li {
	padding: 0;
	margin: 0;
	list-style: none;
	width: 100%;
	background: #fff;
	display: block;
	float: left
}
div.modal-content #message-header h2 ul.autosuggest-results li.active a, ul.autosuggest-results li.active a {
	background: #e0e0e0
}

div.modal-content #modal-notification {
	font-size: 0.9em;
	font-weight: bold;
	padding: 0.5em;
	margin: 0.2em 0em;
}
#modal-notification.error{
	color:#fff;
	background:#df5865;
}
div.modal-content #modal-notification .error {
	color: #fff;
	background: #940000;
	border: 1px solid #efefef;
}
div.modal-confirmation .modal-body, div.modal-alert .modal-body {
	text-align:center;
}
div.modal-alert,div.modal-confirmation{display:none}
/*div.modal-body .input.text.required.error{float:left; margin:0px;}*/
div.modal-body .input.text.required.error input{margin-top:0px;}

