div.popup, div.popup_active {
  position: absolute;
  z-index: 10;
  display: none;
  width: 300px;
  font-size: 1.1em;
  padding: 1px;
  color: #666;
  background: #FBFBE5;
  border: 1px solid #C3C3C3
}

div#expo_desc {
	position: absolute;
	display: none;
	width: 540px;
	background-color: rgb(255, 245, 243);
	border: 3px solid #E3DFDC;
	padding: 10px;
	left: 40%;
	top: 550px;
	font-size: 17px;
	line-height: 25px;
	z-index:9999;
}

div#pay_desc {
	position: fixed;
	display: block;
	width: 40%;
	max-width: 600px;
	background-color: #fff;
	border: 2px solid #000;
	border-radius: 10px;
	padding: 20px;
	left: auto;
	right: auto;
	top: 40%;
	text-align: center;
	font-size: 20px;
	line-height: 29px;
	z-index:9999;
}

#body h5 {
	font: bold 11pt tahoma;
	color: black;
}

div.popup_active { display: block }

.splCont {
   display:none;border:1px solid #cccccc;padding:3px 5px; background-color: #fff;
}

table#zags_form h3 {
    text-align: center;
	font: normal 12pt tahoma;
	margin-bottom: 1em;
}

#foot-bar {
    margin-top: 0!important;
}

#body {
    background: transparent url(/images/zags/bg.jpg) left bottom no-repeat;
    margin-top: -1em!important;
    padding-bottom: 2em!important;
    padding-top: 1.5em!important;
}

#body a,#body a:link,#body a:visited {
    color: #333!important;
    text-decoration: none!important;
    border-bottom: 1px dotted #f00!important;
}

#body a:hover {
    color: red;
}

#no_content {
    color: #a00;
    font: bold 8pt tahoma;
    padding: 1em 0 3em 2em;
}

input.default {
    margin-right: .5em!important;
}

table.zags_zajav {
	display: table!important;
}

#body input#submit_next {
    width: auto!important;
}

#body hr {
    margin: 1.5em 1.7em 1em;
    border: 1px solid #fff!important;
    border-top: 1px solid #ccc!important;
    padding: 0;
    background: #fff!important;
}

table#zags_default,table#zags_form {
    font-size: 10pt;
    width: 100%;
    border-collapse: collapse;
}

table#zags_form {
    display: none;
}

table#zags_form td,table#zags_default td,table#zags_default th {
    font-weight: normal;
    vertical-align: top;
    text-align: justify;
    padding: 0 1.7em 0 2.2em;
}

table#zags_default th {
    width: 10em;
    font-size: 12px;
    line-height: 20px;
}

table#zags_default td h1,table#zajav td h1 {
    color: black;
    font: bold 12pt tahoma;
    margin: 0 0 5px 0;
}

table#zags_default h5 {
    color: black;
    margin: 1.5em 0.5em 0.5em;
    font: bold 11pt tahoma;
}

table#zags_default th h5 {
    margin: 1em 0 0;
    padding: 0 0 .5em;
}

table#zags_default p {
    padding: 0;
    margin: 0;
}

table#zags_default td p.alone {
    padding: 1.3em 0 0 0;
}

table#zags_default td p.comment,table#zajav p.comment {
    color: #666;
    font: 8pt tahoma;
    margin: 0;
    padding: 0 0 .7em 0;
}

table#zags_default td ol {
    margin: 0;
    padding: 0 0 0 1.7em;
    /padding-left: 2.2em;
}

table#zags_form td td {
    font: 9pt tahoma;
    padding: .3em .3em .3em .3em;
    text-align: left!important;
}

table#zags_form td th {
    padding: 1.5em .1em .1em .3em;
    text-align: left!important;
}

table#zags_form td#calend {
    padding-right: 0!important;
}

table#zags_form td div#block_calend {
    padding-right: .5em;
    border-right: 1px solid #e1ded5;
}

table#zags_form td#form {
    border-left: 1px solid #e1ded5;
}

table#zags_form td#form td {
    padding: 0!important;
}

table#zags_form td#form td label#pass,table#zags_form td#form td label#pass_sub {
    padding-top: 2em;
}

table#zags_form td#form td#top {
    padding-top: 1.3em!important;
}

table#zags_form td#info_para {
    padding: 0 2em 0 1.3em!important;
    color: #383838!important;
    margin: 0!important;
}

table#zags_form td#info_para table td {
    margin: 0!important;
    padding: 0!important;
    font-size: 7pt!important;
    line-height: 1;
    /line-height: 1.2;
}

table#zags_form td#info_para table td span {
    display: block;
    color: #767474;
    padding: 0 0 0 .5em!important;
}

table#zags_form table tr td p {
    font-size: 8pt!important;
    color: #383838;
    padding: 1em 0 .5em .3em;
}

table#zags_form table tr td mes {
	display: block;
    margin: .5em 0 .5em .5em;
}

.null-top,.null-bottom {
    display: none;
}

table#zags_form td div#block_calend td {
    color: #666;
    text-align: center!important;
    vertical-align: middle;
}

table#zags_form td div#block_calend del {
    color: #ccc!important;
    text-decoration: none!important;
}

table#zags_form td div#block_calend a,table#zags_form td div#block_calend a:link,table#zags_form td div#block_calend a:visited {
    color: #000!important;
    border: 0!important;
    text-decoration: underline!important;
}

table#zags_form td.coolday {
    border: 1px solid #fddabc;
    background: url(/images/zags/coolday.png);
    /background: #fddabc;
}

table#zags_form td#currdate {
    -moz-border-radius: 3px;
    color: #000!important;
    background: transparent;
    border: 1px solid #d04933!important;
}

table#zajav {
    margin: 0 2.3em 0 2.3em;
    font: 8pt tahoma;
}

table#zajav input.deny {
    background-color: #ffe5e5;
}

table#zajav p.comment {
    margin-bottom: 2em;
}

table#zajav select.default,table#zajav input.default {
    margin: .2em 0 0 0!important;
}

table#zajav select {
    font: 8pt tahoma;
}

table#zajav td.she,table#zajav td.he {
    width: 34em;
    padding: 0 0 .4em .8em;
}

table#zajav input.default {
    width: 27em;
}

table#zajav input#f_military_g,table#zajav input#f_military_g_yes,table#zajav input#f_military_n,table#zajav input#f_military_n_yes {
    width: auto!important;
    vertical-align: bottom;
}

table#zajav td.info {
    font: 8pt tahoma;
    color: #333;
    vertical-align: top;
    width: 15em;
    padding: .4em 0 .1em 1.5em!important;
}

table#zajav td.info span {
    display: block;
    font: 8pt tahoma;
    color: #ccc;
}

table.all_child {
    width: 27em;
}

table.all_child td {
    white-space: nowrap;
}

a#new_child {
    cursor: pointer;
    display: block;
    float: left;
    margin: .5em 0 .8em 0;
}

table.dop_table,table.dop_table td {
    padding: 0;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    vertical-align: top;
}

label.default {
    font: 7pt tahoma!important;
    margin: 0 0 .3em 0!important;
}

table.dop_table td input#c_nac_doc_g,table.dop_table td input#c_nac_doc_n {
    width: 8em;
    margin-right: .8em!important;
}

table.dop_table td input#d_nac_doc_g,table.dop_table td input#d_nac_doc_n {
    width: 17.9em;
}

table.dop_table td select#motherland_tae_g,table.dop_table td select#motherland_tae_n,table.dop_table td select#live_tae_g,table.dop_table td select#live_tae_n,table.dop_table td select#tae_parent {
    width: 10em;
    margin-right: .8em!important;
}

table.dop_table td input#motherland_ae_g,table.dop_table td input#motherland_ae_n,table.dop_table td input#live_ae_g,table.dop_table td input#live_ae_n,table.dop_table td input#ae_parent {
    width: 18.3em;
}

table.dop_table td select#motherland_tnp_g,table.dop_table td select#motherland_tnp_n,table.dop_table td select#live_tnp_g,table.dop_table td select#live_tnp_n,table.dop_table td select#tnp_parent {
    width: 15em;
    margin-right: .8em!important;
}

table.dop_table td input#motherland_np_g,table.dop_table td input#motherland_np_n,table.dop_table td input#live_np_g,table.dop_table td input#live_np_n,table.dop_table td input#np_parent,table.dop_table td input#live_ul_n_text,table.dop_table td input#live_ul_g_text {
    width: 14.3em;
}

table#zajav select#t_family_stat_doc_g,table#zajav select#t_family_stat_doc_n,table#zajav select#k_family_stat_g,table#zajav select#k_family_stat_n {
    width: 34.1em;
}

table.dop_table td input#live_c_house_g,table.dop_table td input#live_c_corp_g,table.dop_table td input#live_c_flat_g,table.dop_table td input#live_c_flat_n,table.dop_table td input#live_c_house_n,table.dop_table td input#live_c_corp_n,table.dop_table td input#c_house_parent,table.dop_table td input#c_corp_parent,table.dop_table td input#c_flat_parent {
    width: 4em;
    margin-right: .8em!important;
}

table.dop_table td input#live_c_flat_g,table.dop_table td input#live_c_flat_n,table.dop_table td input#c_flat_parent {
    margin-right: 1.4em!important;
}

table.dop_table td input#live_c_year_live_begin_g,table.dop_table td input#live_c_year_live_begin_n {
    width: 11em;
}

table.dop_table td input#n_doc_seria_g,table.dop_table td input#n_doc_seria_n,table.dop_table td input#n_doc_seria_parent {
    width: 5em;
    margin-right: .8em!important;
}

table.dop_table td input#c_doc_g,table.dop_table td input#c_doc_n,table.dop_table td input#c_doc_parent {
    width: 10em;
    margin-right: .8em!important;
}

table.dop_table td input#d_doc_g,table.dop_table td input#d_doc_n,table.dop_table td input#d_doc_parent {
    width: 9.8em;
}

table.dop_table td input#d_doc_registr_g,table.dop_table td input#d_doc_registr_n {
    width: 13em;
    margin-right: .8em!important;
}

table.dop_table td input#c_doc_registr_srok_g,table.dop_table td input#c_doc_registr_srok_n {
    width: 12.8em;
}

table.dop_table td select#live_rn_g,table.dop_table td select#live_rn_n,table.dop_table td select#rn_parent {
    width: 15em;
    margin-right: .8em!important;
}

table.dop_table td select#live_ul_g,table.dop_table td select#live_ul_n,table.dop_table td select#ul_parent {
    width: 18.3em;
}

td.bottom_mess {
    padding: 0 0 2em .8em;
}

td.bottom_mess p {
    padding: 1.5em 0 .7em 0;
}

label.check {
    color: black!important;
    font: 9pt tahoma!important;
    margin: 0 2em 0 0!important;
}

.group4 td table td {
    border: 0;
    border-collapse: collapse;
    padding-left: 0!important;
    padding-right: 1em;
}

.group4 td table td input {
    padding-right: .33em;
    display: block;
}

.group4 td table td label {
    padding-left: 1em;
}

.group4 td table td span {
    padding-left: 1em;
}

.group0 td,.group0 th {
    background-color: #4496ff;
    color: white;
    text-align: left;
    padding-left: .8em;
}

.group1 td,.group2 td,.group3 td,.group4 td,.group5 td,.group6 td,.group7 td {
    border-top: .4em solid transparent;
    /border-top: .4em solid white;
    padding-left: .8em;
}

.group1 th,.group2 th,.group3 th,.group4 th,.group5 th,.group6 th,.group7 th {
    vertical-align: top;
    width: 1.8em;
    padding: .4em .2em .4em .2em;
    font: bold 9pt tahoma;
    text-align: center;
    color: white;
    border-top: .4em solid white;
}

.group1 th {
    background-color: #fcc455;
}

.group2 th {
    background-color: #fede5e;
}

.group3 th {
    background-color: #5fce5a;
}

.group4 th {
    background-color: #6fd2f6;
}

.group5 th {
    background-color: #6f9cf6;
}

.group6 th {
    background-color: #a092f9;
}

.group7 th {
    background-color: #d96d6d;
}

.group1 td {
    border-bottom: 1px solid #fcc455;
}

.group2 td {
    border-bottom: 1px solid #fede5e;
}

.group3 td {
    border-bottom: 1px solid #5fce5a;
}

.group4 td {
    border-bottom: 1px solid #6fd2f6;
}

.group5 td {
    border-bottom: 1px solid #6f9cf6;
}

.group6 td {
    border-bottom: 1px solid #a092f9;
}

.group7 td {
    border-bottom: 1px solid #d96d6d;
}

table#print {
    font: 9pt tahoma;
}

span#dop_live_ul_g label,span#dop_live_ul_n label {
    cursor: pointer!important;
}

#dop_n_ul_g,#dop_n_ul_n {
    display: none;
}
#body input {
    width: 16em;
}

input#is_mobile,input#is_city {
    width: 1em;
}
input.zapom {
    width: auto!important;
}
label.zapom {
    display: compact!important;
    padding-top: 10px!important;
    vertical-align: top;
    font-weight: normal;
    color: #696969;
}

#error {
    color: red!important;
}

#capcha-pic {
    padding: 1em 0;
}

div.agree {
	text-align: justify;
	margin: 0 10%;
	font-size: 11pt;
	line-height: 20px;
}

div.agree input{
	width: auto!important;
	cursor: pointer;
}

div.agree label{
	cursor: pointer;
	border-bottom: 1px dotted #f00!important;
}

div#str_desc {
	position: fixed;
	display: block;
	width: 40%;
	max-width: 600px;
	background-color: #fff;
	border: 2px solid #000;
	border-radius: 10px;
	padding: 20px;
	left: auto;
	right: auto;
	top: 40%;
	#text-align: center;
	font-size: 20px;
	line-height: 29px;
	z-index:9999;
}
.more-info{
	cursor: pointer; 
	margin-top: -24px; 
	color: blue; 
	text-decoration: underline;
}


/**

body.vision #body{
    background: none!important;
}


/* Запись в ЗАГС */
body.vision  #body{
    background: none!important;
}

body.vision table#zags_default, table#zags_form{
    font-size: inherit;
}

body.vision table#zags_default td h1, table#zajav td h1{
    font-size: inherit;
    color: inherit;
}

body.vision table#zags_default td p.comment, table#zajav p.comment{
    font-size: inherit;
    color: inherit;
}

body.vision table#zags_default h5{
    font-size: inherit;
}

body.vision table#zags_default h5{
    font-size: inherit;
    color: inherit;
}

body.vision table#zags_default th{
    font-size: inherit;
}

body.vision #body a, body.vision #body a:link, body.vision #body a:visited{
    border-color: inherit!important;
    color: inherit!important;
    line-height: 1.3;
}

body.vision.imagesoff #expobanner{
    display: none;
}

body.vision #body hr{
    border-color: inherit!important;
}

body.vision #body h5{
    font-size: inherit;
    color: inherit;
}

body.vision div.agree label{
    border-color: inherit!important;
}



body.vision table#zags_form td td,
body.vision #body label.block, #body label.default{
    font-size: inherit;
}


body.vision table#zags_form td div#block_calend td{
    color: inherit;
}

body.vision table#zags_form td.coolday{
    border-color: inherit;
    background: #000;
    color: #fff!important;
}

body.vision table#zags_form td.coolday a{
    color: #fff!important;
}



body.vision #currdate{
    border-color: inherit!important;
}

body.vision table#zags_form td#currdate{
    border-color: inherit!important;
}

body.vision table#zags_form td.coolday{

}

body.vision table#zags_form td div#block_calend td.coolday a, 
body.vision table#zags_form td div#block_calend td.coolday a:link{
    color: #fff!important;
}

body.vision table#zags_form td div#block_calend td#currdate a,
body.vision table#zags_form td#currdate a{
    color: #000!important;
}

body.vision table#zags_form td#form,
body.vision table#zags_form td div#block_calend{
    border-color: inherit;
}

body.vision table#zags_form table tr td p{
    font-size: inherit!important;
    color: inherit;
}


body.vision table#zags_form td#info_para{
    color: inherit!important;
}

body.vision.fontsize-big #registration table#zags_form td#info_para,
body.vision.fontsize-big #registration table#zags_form td, 
body.vision.fontsize-big #registration table#zags_default td, 
body.vision.fontsize-big #registration table#zags_default th{
    padding: 0!important;
}

body.vision.fontsize-big.spacing-big #body #registration input.default{
    margin-right: 0!important;
}

body.vision.fontsize-big table#zags_form td#form, 
body.vision.fontsize-big table#zags_form td div#block_calend{
    border: none;
}

body.vision label.zapom{
     color: inherit;
}

body.vision table#zags_form td#info_para table td{
    font-size: inherit!important;
}

body.vision table#zags_form td#info_para table td span{
    color: inherit;
}

body.vision #info_para tr:nth-child(1) td{
    display: block;
}



body.vision.color2 table#zags_form td.coolday {background: #fff;color: #000!important;}
body.vision.color3 table#zags_form td.coolday {background: #002d56;color: #c8e5ff!important;}
body.vision.color4 table#zags_form td.coolday {background: #301700;color: #fff5e6!important;}
body.vision.color5 table#zags_form td.coolday {background: #a9dd38;color: #3b2715!important;}


body.vision.color2 table#zags_form td div#block_calend td.coolday a, 
body.vision.color2 table#zags_form td div#block_calend td.coolday a:link {
    color: #000!important;}


body.vision.color3 table#zags_form td div#block_calend td.coolday a, 
body.vision.color3 table#zags_form td div#block_calend td.coolday a:link {
    color: #c8e5ff!important;}


body.vision.color4 table#zags_form td div#block_calend td.coolday a, 
body.vision.color4 table#zags_form td div#block_calend td.coolday a:link {
    color: #fff5e6!important;}


body.vision.color5 table#zags_form td div#block_calend td.coolday a, 
body.vision.color5 table#zags_form td div#block_calend td.coolday a:link {
    color: #3b2715!important;}



body.vision.color2 table#zags_form td div#block_calend td#currdate a,
body.vision.color2 table#zags_form td#currdate a{
    color: #fff!important;
}

body.vision.color3 table#zags_form td div#block_calend td#currdate a,
body.vision.color3 table#zags_form td#currdate a{
    color: #002d56!important;
}

body.vision.color4 table#zags_form td div#block_calend td#currdate a,
body.vision.color4 table#zags_form td#currdate a{
    color: #301700!important;
}


body.vision.color5 table#zags_form td div#block_calend td#currdate a,
body.vision.color5 table#zags_form td#currdate a{
    color: #a9dd38!important;
}