@import "preview.css";

* {
	font-size: 10pt;
	font-family: Georgia, "Times New Roman", Times, sans-serif;
}

#top_menu ul li {
}

h3 {
	padding-top: 0;
}

.wide {
	float: none !important;
	width: auto !important;
}

/**
 * General form properties.
 */
.form-div {
	background:#F2E6E6 url(../images/work_permit_fon.gif) repeat-x scroll 0 0;
}
.form {
	background: transparent url(../images/work_permit_fon.gif) repeat-x scroll 0 100%;
	color: #666666;
	font-size: 13px;
	padding: 20px 0 15px;
}
.step_count {
	color: #666666;
	font-size: 24px;
	margin-bottom: 5px;
}
#form ul li {
	margin-bottom: 1px;
	background: none;
}
.form ul {
	list-style-type: none;
	width: 100%;
}
.form li {
	overflow: hidden;
}
.form label {
	position: relative;
	display: block;
	float: left;
	top: 2px;
}
.form ul input, textarea {
	background: #ffffff;
	padding: 1px;
	border: 1px solid #cccccc;
}

/**
 * General classes for both forms.
 */
.formInput-span {
	font-weight: bold;
	line-height: 18px;
	margin: 0pt 5px 0pt 0pt;
	padding: 0pt;
	top: 2px;
}
.description {
	display: block;
	text-align: center;
	font-size: 10px;
	margin-left: 5px;
}
.description.thin-line {
	line-height: 1.6em;
}

.gService ul input, textarea {
	width: 642px;
}
.gService ul input.fullname-shortened {
	width: 262px;
}

/**
 * InfoService classes.
 */
.iService label {
	text-align: left;
}
.iService ul input, textarea {
	width: 410px;
}

/**
 * GeneralService form properties.
 */
.gService label {
	line-height: 17px;
}

/*
 * Wide form classes
 */
.wide .formInput-span {
	width: 270px;
}
.wide .formInput-select, .wide option {
	width: 665px;
}
.wide option {
	float: none;
}
.wide textarea {
	width: 642px;
}


/**
 * General services form classes.
 */
.iService .formInput-span {
	width: 165px;
}

.gService .full-width {
	width: 950px;
	float: none;
	margin-bottom: 2px;
}
.gService .variant {
	width: 940px;
	float: none;
	margin-bottom: 4px;
}
.gService .variant option {
	width: 940px;
}
div.empty-label {
	width: 470px;
	padding-left: 170px;
}

.formInput-input input {
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 1px;
	height: 17px;
	width: 239px;
}

.gService ul input {
	height: 17px;
}

.gService .formInput-input.validation-error {
	border:2px ridge #ff0000;
}

.gService .formInput-input {
	margin-bottom: 2px;
	float: left;
}

.gService .formInput-date {
	width: 153px;
	float: none;
}

.gService .formInput-time {
	width: 153px;
	float: none;
}

.gService .description-date {
	margin-left: 260px;
	width: 200px;
}

.gService .description-question {
	margin-left: 277px;
	width: 660px;
}

.gService .description-textarea {
	margin-left: 277px;
	width: 660px;
}

.gService .description-checkbox {
	margin-left: 23px;
	text-align: left;
}

.formInput-select {
	width: 416px;
}

.formInput-select {
	width: 416px;
}

.gService .question-select {
	width: 60px;
}

.gService .question-input {
	width: 507px;
}

/*
 * Input checkbox classes.
 */
.iService .formInput-checkbox, .iService .formInput-checkbox.validation-error {
	width: 16px;
	height: 16px;
	border: none;
	background-color: transparent;
}
.gService .formInput-checkbox, .gService .formInput-checkbox.validation-error {
	width: 16px;
	height: 16px;
	border: none;
	background-color: transparent;
}
.gService .formInput-checkboxSpan {
	width: 900px;
	line-height: 13px;
}
.iService .formInput-checkboxSpan {
	width: 560px;
	line-height: 13px;
}
.formInput-checkboxSpan {
	font-weight: bold;
	line-height: 13px;
	margin-left: 5px;
	width: 100px;
}

/*
 * Input date range classes.
 */
.gService .date-range {
	width: 100px;
}
.gService .second-span {
	width: 18px;
	margin-left: 70px;
	z-index: 1;
}

.color-red, .gService .color-red {
	color: #A6001C;
}
.bold {
	font-weight: bold;
}

/*
 * General composite control classes.
 */
.form ul li div {
	float: left;
}
.gService-input {
	width: 660px;
	padding-bottom: 1px;
}
.child-label {
	padding-left: 15px;
	width: 245px;
	padding-right: 15px;
}
.fullwidth-description {
	padding: 0;
	font-size: 10px;
}
.fullwidth-label {
	padding: 0;
	font-weight: bold;
	margin-top: 5px;
	margin-bottom: 2px;
}

/*
 * "inputBorderCross" control classes.
 */
.gService .input-table-cell div.input-bordercross {
	width: 160px;
	padding: 0 5px 0 3px;
}

/*
 * "inputTable" control classes.
 */
.input-table {
	margin-top: 5px;
	width: 940px;
}
.input-table th, td {
	text-align: center;
	font-size: 0.8em;
	line-height: 15px;
}
#right .input-table-cell ul li {
	padding-left: 0;
	padding-right: 5px;
}
#right .date-type.input-table-cell ul li {
	width: 160px;
	padding-left: 0;
	padding-right: 5px;
}
#right .date-type.input-table-cell {
	width: 160px;
}
.gService .input-table-cell ul li div.validation-error {
	width: 100px;
}
.gService .input-table-cell ul li div.error-hint-div div {
	width: 196px;
}
.gService .input-table-cell ul li div.error-hint-div div.error-hint-body {
	width: 191px;
}
.gService .input-table-cell ul li div {
	width: 100%;
}
.gService .input-table-cell ul li div.date-year {
	width: 60px;
}
.gService .input-table-cell ul li div.date-month {
	margin-right: 2px;
	width: 90px;
}
.gService .date-type ul li div.date-div {
	width: 165px;
}
.gService .dic_list-type ul li div {
	width: 100%;
}
.gService .input-table-cell.dic_list-type ul li div.validation-error {
	width: 95%;
}
.input-table .input-table-cell .date-type {
	width: 100px;
}
.input-table-cell .gService-input {
	width: 93%;
}
.input-table-cell .formInput-date {
	width: 135px;
}
.input-table-cell .formInput-select {
	width: 100%;
}
.input-table-cell option {
	width: 360px;
}
.input-table td textarea {
	width: 82%;
	margin-left: 2px;
}
.input-table-cell.string-type .gService-input {
	width: 90%;
}
.row-button-container {
	width: 100%;
	text-align: right;
}
.row-button {
	background: transparent url(../images/button.png) no-repeat scroll 0;
	height: 24px;
	width: 100px;
	border: 1px solid #FFFFFF;
	cursor: pointer;
	margin-top: 2px;
}
#right .row-button p {
	padding-top: 2px;
	text-align: center;
	margin: 0;
	font-weight: bold;
	font-size: 11px;
	width: 100px;
}
#right .row-button.disabled-button {
	cursor: default;
}
#right .row-button.disabled-button p {
	color: #aaaaaa;
}
.table-item {
	margin: 0;
	padding: 0;
}

/*
 * "inputDate" control classes.
 */
.date-month {
	width: 90px; float: left;
}
.date-year {
	width: 60px; float: left;
}
.date-month option {
	width: 90px;
}
.date-year option {
	width: 60px;
}

/*
 * "inputQuestion" control classes.
 */
.question-selector {
	width: 260px;
	text-align: right;
	padding-right: 15px; 
}
.question-selector select option {
	width: 100px;
}
.gService .formInput-input.shorter-input {
	width: 302px;
}
.gService .extra-input {
	width: 305px;
	margin-left: 30px;
}

/*
 * "inputTable" classes.
 */
td.input-table-cell {
	padding: 0;
	vertical-align: top;
}
#right .input-table-cell ul li {
	padding: 0;
}

/*
 * "inputFullName" control classes.
 */
.input-fullname label, input {
	float: left;
}
.input-fullname label {
	display: block;
}
.input-fullname .first-span {
	padding-left: 15px;
	padding-right: 20px;
	text-align: right;
	width: 240px;
}
.input-fullname .shortened-span {
	padding-left: 15px;
	padding-right: 20px;
	text-align: right;
	width: 80px;
}
.gService .input-table-cell div.input-fullname {
	width: 160px;
	padding: 0 5px 0 3px;
}
.input-table-cell .input-fullname .gService-input {
	width: 140px;
}
.input-table-cell .input-fullname .first-span {
	width: 105px;
	text-align: left;
	font-size: 0.75em;
	padding-left: 0;
}
td.input-table-cell.person_name-type {
	width: 170px;
}

/*
 * "inputBorderCross" control classes.
 */
.gService .input-table-cell div.input-bordercross {
	width: 340px;
	padding: 0 5px 0 3px;
}
.gService .input-table-cell ul li .input-bordercross div {
	width: auto;
	float: none;
}
.input-table-cell .input-bordercross .bc-location-input {
	width: 210px;
}
.input-table-cell .input-bordercross .date-input {
	width: 80px;
}
.input-table-cell .input-bordercross select {
	width: 340px;
}
.input-table-cell .input-bordercross .description-date {
	margin: 0;
	width: 80px;
}
.input-table-cell .input-bordercross .date-container {
	float: none;
}
.input-table-cell .formInput-select span.description {
	width: 340px;
}
td.input-table-cell.border_cross-type {
	width: 350px;
}

/*
 * "inputPassport" control classes.	
 */
.input-passport label, input {
	float: left;
}
.input-passport label {
	display: block;
}
.input passport div {
	margin-bottom: 5px;
}
.input-passport .first-span {
	padding-left: 15px;
	padding-right: 20px;
	text-align: right;
	width: 240px;
}
.input-passport input.first-input {
	width: 120px;
	float: none;
}
.input-passport .second-span {
	padding-right: 15px;
	text-align: right;
	width: 50px;
}
.input-passport .second-span.after-by {
	margin-left:56px;
    padding-right: 15px;
	text-align: right;
	width: 130px;
}
.input-passport .third-span {
	padding-right: 15px;
	text-align: right;
	width: 120px;
	margin-left: 30px;
}
.input-passport .second-span.after-date {
	width: 214px;
	text-align: right;
	padding-right: 15px;
}
.input-passport input.second-input {
	width: 120px;
	float: none;
}
.input-passport .date-span {
	width: 135px;
}
.input-passport .date-input {
	width: 80px;
}
.input-passport textarea {
	float: none;
	width: 628px;
}
.input-passport .first-row-container {
	width: 100%;
	clear: both;
	margin: 0;
}
.passport-date-container {
	width: 110px;
}
.table-date-container {
}

/*
 * "inputOtherCitizenship" control classes.
 */
.select-question {
	width: 60px;
	margin-right: 5px;
}
.select-country {
	width: 595px;
}
.select-country-short {
	width: 515px;
}

/*
 * "inputAddress" control classes.
 */
.input-address label, input {
	float: left;
}
.input-address label {
	display: block;
}
.input-address .first-span {
	padding-left: 15px;
	padding-right: 20px;
	text-align: right;
	width: 240px;
}
.input-address input.numeric-input {
	width: 60px;
}
.input-address input.short-input {
	width: 40px;
	margin-left: 21px;
}
.input-address .shorter-row {
	margin-left: 154px;
}
.input-address input.street-input {
	width: 270px;
}
.input-address input.location-input {
	width: 555px;
	margin-left: 22px;
}
.input-address input.wider-street-input {
	width: 447px;
}
.input-address input.wider-location-input {
	margin-left: 0;
	width: 642px;
}
.input-address input.phone-input {
	width: 150px;
	margin-left: 23px;
}

.input-address div.street-input, div.wider-street-input, div.numeric-input {
	overflow: hidden;
}
.input-address div.location-input {
	margin-left: 0;
}
.input-address div.short-input {
    margin-left: 0;
}
.input-address div.phone-input {
    margin-left: 0;
}

.location-input .description {
	margin-left: 22px;
	width: 560px;
}
.short-input .description {
	margin-left: 22px;
	width: 42px;
}
.phone-input .description {
	margin-left: 22px;
	width: 154px;
}

.iService .street-input {
	width: 140px;
}
.iService .wider-street-input {
	width: 245px;
}
.iService .location-input {
	width: 315px;
}
.iService .wider-location-input {
	width: 380px;
}

/*
 * Input date range classes.
 */
.iService .date-range {
	width: 100px;
}
.iService .second-span {
	width: 18px;
	margin-left: 70px;
}

/*
 * Error message classes.
 */
#error_div {
}
#error_div .error-control-block {
}
#error_div .error-description {
	cursor: pointer;
	color: #0088CC;
}
.error-description-text {
	color: #666666;
	float: left;
}
#error_div .error-image {
	cursor: pointer;
}
.error-message ul li {
	font-weight: bold;
}
.form ul input.validation-error, div.validation-error, textarea.validation-error {
    border: #ff0000 1px ridge;
}
.form ul select.validation-error {
    border: none;
}
.form ul div.validation-error {
	margin-bottom: 1px;
}
.form ul input.disabled, textarea.disabled, select.disabled {
	background-color: #e0e0e0;
	color: #606060;
}

.error-hint-pointer {
	width: 13px;
	height: 25px;
	background: transparent url(../images/hint_pointer.png) no-repeat scroll 0 50%;
	float: left;
}
.error-hint-div {
	position: absolute;
	z-index:1000000;
	-moz-user-select:none;
	display: none;
}
.error-hint-body {
	background-color: #A6001C;
	color: #ffffff;
	font-size: 0.7em;
	width: 191px;
	padding-left: 5px;
}
.error-hint-top {
	width: 196px;
	height: 10px;
	background: transparent url(../images/hint_top.png) repeat-x scroll 0 0;
}
.error-hint-bottom {
	width: 196px;
	height: 10px;
	background: transparent url(../images/hint_bottom.png) repeat-x scroll 0 0;
}

/*
	!
*/

.formList-header {
	text-align: left;
	font-weight: bold;
	font-style: italic;
	text-decoration: underline;
	margin-left: 40px;
}

.service-response {
	font-weight: bold;
	display: block;
	width: 520px;
	margin-left: 40px;
	color: #A6001C;
}

.captcha {
	margin-top: 9px;
}
.captcha-loader-container {
	margin: 9px 20px 0;
}

.submit-button {
}

.service-name {
	padding-top: 15px;
	margin-bottom: 5px;
	font-size: 28px;
	font-weight: normal;
	color: #a6001c;
	background-color: inherit;
	line-height: 30px;
	display: block;
}

.captcha-sign {
	margin-top: 0;
	padding-left: 17px;
	font-weight: bold;
}
.wide .captcha-sign {
	float: none;
}
.iService .captcha-sign {
	float: none;
}

.captcha-div {
	margin: 9px 0 30px 0;
	float: left;
	padding-right: 20px;
	text-align: right;
}
.wide .captcha-div {
	width: 273px;
}
.iService .captcha-div {
	width: 168px;
}

.captcha input.validation-error {
	border: 2px ridge #ff0000;
}

.gService .captcha input {
	width: 642px;
}

.captcha input {
	background: #FFFFFF none repeat scroll 0;
	border: 1px solid #CCCCCC;
	padding: 1px;
	width: 410px;
	float: none;
}

#left_bar {
	width: 310px;
}

.sidebar_menu .minor_header {
	display: block;
	background: #ffffff;
	font-weight: bold;
	font-size: 12px;
	text-transform: uppercase;
	margin: 15px 0 10px 35px;
}

#last_item {
	margin-right: 0;
}

/**
 * Classes for information pages.
 */
#right h4 hr {
	background: #CCDEE7 none repeat scroll 0;
	border: 0 none;
	color: #CCDEE7;
	height: 1px;
	margin-bottom: 0;
}
#right .text {
	margin-top: 30px;
}
#right .cell {
	background: transparent url(../images/ico_pdf.jpg) no-repeat scroll left 5px;
	min-height: 53px;
}
#right .pdf {
	padding: 0 0 20px 65px;
}


.gService .float-left {
	float: left;
}

.control-block {
	clear: both;
	overflow: hidden;
	margin-bottom: 7px;
	margin-left: 0;
}
.control-block input {
	border: medium none;
	display: block;
	float: left;
	height: 21px;
	margin-right: 0;
	margin-left: 18px;
}
.control-block input.disabled {
	background-position: 0 100%;
}
.keying_cancel {
	background: transparent url(../images/keys/keying_cancel.gif) no-repeat scroll 0 0;
	width: 115px;
}
.keying_back {
	background: transparent url(../images/keys/keying_back.gif) no-repeat scroll 0 0;
	width: 147px;
}
.keying_next {
	background: transparent url(../images/keys/keying_forward.gif) no-repeat scroll 0 0;
	width: 147px;
}
.keying_enter {
	background: transparent url(../images/official/enter.gif) no-repeat scroll 0 0;
	width: 108px;
	margin-top: 20px;
}

.control-block .button {
	width: 181px;
	height: 21px;
	border-color:transparent;
	border-radius:.3em;-moz-border-radius:.3em;-webkit-border-radius:.3em;
	background-color: #2382b9;
	background: url(../images/send_b_bg.gif) no-repeat 0 0;
	color: white;
	font-size: 11px;
	font-weight: bold;
	float: none;
	margin-bottom: 10px;
}
.control-block .button.filter {
	width: 168px;
}

.iService .button {
	margin: 0;
}


.right-calendar {
	z-index: 1000;	
}

.presignform {
	padding: 24px;
}

.presignform label.formInput-span {
	display:block;
	float:none;
}

.presignform select.formInput-select {
	width: 578px;
}
.presignform option {
	width: 578px;
}

.presignform input.gService-input {
	width: 574px;
}

.presignform input.gService-input.keyboardInput {
	width: 540px;
}

img.formInput-date_trigger {
	margin-left: 2px;
	margin-top: 2px;
	vertical-align: top;	
}

.presignform .control-block {
	width: 575px;
}

.inner-block label, .inner-block input {
	margin-left: 10px;
	font-weight: normal;
}
.presignform .inner-block input.gService-input.keyboardInput {
	width: 530px;
}

.timeinterval-container {
	width: 573px;
}

.presignform #form div {
	margin-bottom: 5px;
}

/*
 * Wide form classes
 */
.wide formInput-span {
	width: 250px;
}

/*
 * Overriding classes of second_page.css
 */
h3 strong {
	font-size: 24px;
	font-weight: normal;
}

#right {
	padding-top: 0;
	padding-left: 0;
}
#right ul {
	margin-left: 0;
	margin-bottom: 0;
}
#right ul li{
	padding-right: 18px;
	margin-bottom: 5px;
}
.sidebar_menu {
	float: left;
	width: 310px;
	margin-right: 25px;
	margin-top: 10px;
}
.left {
	padding-top: 0;
}
.over_left {
	margin-bottom: 0;
}
#right .attention {
	margin-bottom: 0;
}
#right .attention p {
	/*width: 845px;*/
}
.sidebar_menu div {
	padding: 23px 5pt 18px 5px;
}
#right .doc_result {
	margin: -21px 0 0 !important;
}
#modal_error {
	position: static;
	display: block;
}
#modal_error .sub_error {
	width: auto;
}

.er_next {
	background: transparent url(../images/official/keying_forward.gif) no-repeat scroll 0;
	display: block;
	height: 21px;
	width: 145px;
}

.form {
	margin-top: 0;
}

.right-align {
	text-align: right;
}

.error-text, .required {
	color: red;
    font-weight: bold;
}

#wrap {
	overflow: visible;
	z-index: 0;
}
#right .pdf-bg {
	background: transparent url(../images/official/ico_pdf_32x30.gif) no-repeat scroll center top;
	font-size: 11px;
	width: 75px;
	height: 26px;
	float: left;
}
#right .r_result div ul li small {
	display: block;
	width: 400px;
}
#right .r_result div, .r_result ul {
	width: 610px;
}
#right .r_result ul li {
	width: 940px;
}
#right .r_result div ul li em {
	float: left;
	width: 400px;
}
#right .r_result table {
	width: 840px;
}
div.upd_div p.update_page2 {
	margin-top: 20px;
}
.form label.hidden {
	display: none;
}

.center-info {
	margin-left: 40px;
}
.rightfloat {
	float: right;
}
em.details {
	font-weight: normal;
}
span.details {
	font-size: 17px;
	line-height: 20px;
}
.r_result .input-table th, td {
	text-align: left;
}

#right .r_result .details.cv-table table {
	border: 1px solid;
	border-collapse: collapse;
}
#right .r_result .details.cv-table {
	font-size: 12px;
	font-weight: normal;
}
#right .r_result .cv-table {
	width: 940px;
	border-collapse: collapse;
}
#right .r_result .cv-table thead tr th {
	background: #E7EFF9 none repeat scroll;
	border: 1px solid #D6E2F1;
	padding: 5px;
}
#right .r_result .cv-table thead tr th a {
	font-size: 9pt;
	font-family: Arial, serif;
	color: #5979a1;
	line-height: 15px;
}
#right .r_result {
	overflow: visible;
}
.gService-filter {
	width: 170px;
}
#right input.gService-filter {
	width: 225px;
}
#right .gService-filter option {
	width: 300px;
}
#right ul.filter-ul {
	padding: 15px 0 0 18px;
}
#right ul li.gService-filter-listItem {
	background: none;
	width: 240px;
	float: left;
	padding: 0;
}
#right ul li.gService-filter-listItem label {
	font-size: 9pt;
	font-weight: normal;
}
#right ul li.gService-filter-listItem.textInput {
	background: none;
	width: 200px;
	float: left;
	padding: 0;
}
.filter-form {
	margin-bottom: 10px;
}

.r_result span {
	width: 850px;
	font-size: 1em;
}
span.details-header {
	font-size: 1.1em;
	color: #757575;
	font-weight: bold;
	text-decoration: underline;
}

#right .r_result ul.wide-result {
	width: 940px;
}

#right p {
	margin-bottom: 0;
	width: 600px;
}

.remote-service-error {
	margin-top: 12px;
	margin-bottom: 12px;
	border: 1px solid #A6001C;
	background-color: #F2E6E6;
	padding: 6px;
}
