body.popuped {
	overflow:hidden;
}

.popup {
	width: 100%;
	height: 100%;
	background: url(../../images/common/popup/popup_shading.png);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.popup .modalwindow {
	margin: 0 auto;
	position: relative;
	top: 200px;
}

.popup .modalwindow td{
	padding: 0;
}

.modalwindow.delete-popup,
.modalwindow.remove-popup,
.modalwindow.rate-popup,
.modalwindow.password-popup,
.modalwindow.login-popup,
.modalwindow.registrationiscomplete-popup,
.modalwindow.userisexists-popup
 {
	width: 500px;
}

.modalwindow.password-reminder {
	width: 500px;
}

.modalwindow.invoice-popup {
	width: 600px;
}

.modalwindow.receipt-popup {
	width: 600px;
}

.modalwindow.delete-popup .popup-middle,
.modalwindow.remove-popup .popup-middle,
.modalwindow.rate-popup .popup-middle {
	vertical-align: middle;
}

.modalwindow .popup-middle .message {
	padding: 15px 0;
}

.title {
	padding-top: 2px;
	font-size: 13px;
	text-align: left;
	color: #7b7a75;
}

.footer_style {
	font-size: 13px;
	overflow: hidden;
}

.delete-popup .footer_style {
	padding-left: 115px;
}

.remove-popup .footer_style {
	padding-left: 180px;
}


.rate-popup .footer_style {
	padding-left: 90px;
}

.password-reminder .footer_style {
	padding-left: 62px;
}

.password-popup .footer_style {
	padding-left: 112px;
}

.login-popup .footer_style {
	padding-left: 120px;
}

.userisexists-popup .footer_style,
.registrationiscomplete-popup .footer_style {
	padding-left: 185px;
}

.userisexists-popup .content_style {
	padding-left: 70px;
	background: transparent url(../../images/common/controls/icons/email-exist-64x64.png) no-repeat left top;
}

.registrationiscomplete-popup .content_style {
	padding-left: 70px;
	background: transparent url(../../images/common/controls/icons/reg-complete-64x64.png) no-repeat left top;
}

.login-popup .header_style  .title {
	font-size: 14px;
	font-weight: bold;
	color: #000000;
}

.corner.righttop a.close {
	float: right;
	margin-right: 3px;
}

.delete-popup .footer_style button,
.remove-popup .footer_style button,
.rate-popup .footer_style button{
	float: left;
}

.footer_style div.buttons {
	float: left;
	margin: 0 auto;
}

.invoice-popup .footer_style div.buttons {
	float: none;
	margin: 0 auto;
}

.footer_style button.button div {
	background: url(../../images/common/controls/button/button-bg.png) no-repeat scroll right top transparent
}

.footer_style button.button div p{
	background: url("../../images/common/controls/button/button-span-bg.png") no-repeat scroll left top transparent
}

.footer_style button.button:hover div{
	background-position: right center;
	cursor: default;
}

.footer_style button.button.pressed div{
	background-position: right bottom;
}

.footer_style button.button:hover div p {
	background-position: left center;
}

.footer_style button.button.pressed div p {
	background-position: right bottom;
}

table.modalwindow td.popup-corner.lefttop,
table.modalwindow td.popup-corner.righttop {
	height: 43px;
	width: 30px;
	background-repeat: no-repeat;
}

table.modalwindow td.popup-corner.lefttop {
	background-position: left top;
	background-image:  url(../../images/common/popup/corner-lefttop-bg.png);
}

table.login-popup td.popup-corner.lefttop {
	background-position: left top;
	background-image:  url(../../images/common/popup/corner-lefttop-login-bg.png);
}

table.modalwindow td.popup-corner.righttop {
	background-position: right top;
	background-image:  url(../../images/common/popup/corner-righttop-bg.png);
}

table.login-popup td.popup-corner.righttop {
	background-position: right top;
	background-image:  url(../../images/common/popup/corner-righttop-login-bg.png);
}

table.modalwindow td.popup-side.top {
	background:  url(../../images/common/popup/side-top-bg.png) repeat-x top;
}

table.login-popup td.popup-side.top {
	background:  url(../../images/common/popup/side-top-login-bg.png) repeat-x top;
}

table.modalwindow td.popup-side.left {
	background:  url(../../images/common/popup/side-left-bg.png) repeat-y left;
} 

table.modalwindow td.popup-middle {
	background: #ffffff;
	text-align: left;
}

table.modalwindow .switch .popup-middle {
	padding: 6px 0 0 0;
}

table.modalwindow .switch td.popup-side.left {
	background:  url(../../images/common/popup/switch-side-left-bg.png) no-repeat left bottom;
}

table.modalwindow .switch td.popup-side.right {
	background:  url(../../images/common/popup/switch-side-right-bg.png) no-repeat right bottom;
}

table.modalwindow .switch td.popup-middle {
	background:  url(../../images/common/popup/switch-middle-bg.png) repeat-x bottom;
}

table.modalwindow .switch td.popup-middle .switch{
	overflow: hidden;
}

table.modalwindow .switch td.popup-middle .switch-style {
	padding-bottom: 20px;
	position: relative;
}

table.modalwindow .switch td.popup-middle .switch-tail {
	position: absolute;
	display: block;
	bottom: 0;
	left: 10px;
}

table.modalwindow.delete-popup td.popup-middle .message {
	padding-left: 70px;
	background:  url(../../images/common/controls/icons/delete-contact-64x64.png) no-repeat left center;
}


table.modalwindow.remove-popup td.popup-middle .message {
	padding-left: 70px;
	background:  url(../../images/common/controls/icons/delete-contact-64x64.png) no-repeat left center;
}

table.modalwindow.rate-popup td.popup-middle .message {
	padding-left: 70px;
	background:  url(../../images/common/controls/icons/rate-contact-64x64.png) no-repeat left center;
}

table.modalwindow.password-popup td.popup-middle .message {
	padding-left: 70px;
	background:  url(../../images/common/controls/icons/password-64x64.png) no-repeat left center;
}

table.modalwindow td.popup-side.right {
	background:  url(../../images/common/popup/side-right-bg.png) repeat-y right;
} 

table.modalwindow td.popup-corner.leftbottom,
table.modalwindow td.popup-corner.righbottom {
	height: 66px;
	width: 30px;
	background-repeat: no-repeat;
}

table.modalwindow td.popup-corner.leftbottom {
	background-position: left bottom;
	background-image:  url(../../images/common/popup/corner-leftbottom-bg.png);
}

table.modalwindow td.popup-corner.rightbottom {
	background-position: right bottom;
	background-image:  url(../../images/common/popup/corner-rightbottom-bg.png);
}

table.modalwindow td.popup-side.bottom {
	background:  url(../../images/common/popup/side-bottom-bg.png) repeat-x bottom;
}

table.modalwindow .intro td.popup-side.left {
 	background:  url(../../images/common/popup/intro-side-left-bg.png) no-repeat left bottom;
}

table.modalwindow .intro td.popup-side.right {
 	background:  url(../../images/common/popup/intro-side-right-bg.png) no-repeat right bottom;
}

table.modalwindow .intro td.popup-middle {
 	background:  url(../../images/common/popup/intro-middle-bg.png) repeat-x bottom;
	padding-bottom: 12px;
}

table.modalwindow td.popup-corner.righttop a.window-operation {
	margin: 0 3px 0 0;
	float: right;
}

.content_style {
	padding-top: 5px;
}

.content_style {
	padding-bottom: 18px;
}

.popup .modalwindow.invoice-popup {
	top: 50px;
}

.popup .modalwindow.receipt-popup {
	top: 150px;
}

.invoice-popup .footer_style div.buttons {
	overflow: hidden;
	margin: 0 auto;
	padding: 8px 0;
}

.receipt-popup .footer_style div.buttons {
	overflow: hidden;
	margin: 0 auto;
	padding: 8px 0;
}

.footer_style div.buttons .back {
	float: left;
}

.footer_style div.buttons .forward {
	float: right;
	margin-right: 0;
}

.message h3 {
	color: #848484;
	font-size: 16px;
	padding-top: 18px;
	padding-bottom: 0;
	font-weight: normal;
}

.receipt-popup .content_style  .viewport {
	height: 300px;
	overflow: scroll;
}

.worker .message table {
	width: auto;
}

.worker .message table td.label {
	text-align: left;
}

.worker .message tr.field.first td.label {
	padding-top: 7px !important;
}

.worker .popup .buttons button {
	float: left;
}

.popup .buttons button {
	float: left;
}

.worker .popup .form {
	width: auto;
}

.worker .popup .content_style {
	padding-bottom: 0;
}