/***** Flash & error messages ****/
#errorExplanation, div.flash, .nodata, .warning {
    padding: 4px 4px 4px 30px;
    margin-bottom: 12px;
    font-size: 1.1em;
    border: 2px solid;
}

div.flash {
    position: fixed;
    top: 30px;
    width: 942px;
    z-index: 20000;
}

div.flash.error, #errorExplanation {
    background: url(../images/false.png) 8px 5px no-repeat;
    background-color: #ffe3e3;
    border-color: #dd0000;
    color: #550000;
}

div.flash.notice {
    background: url(../images/true.png) 8px 5px no-repeat;
    background-color: #dfffdf;
    border-color: #9fcf9f;
    color: #005f00;
}

div.flash.warning {
  background: url(../images/warning.png) 8px 5px no-repeat;
    background-color: #FFEBC1;
    border-color: #FDBF3B;
    color: #A6750C;
    text-align: left;
}

.nodata, .warning {
    text-align: center;
    background-color: #FFEBC1;
    border-color: #FDBF3B;
    color: #A6750C;
}

#errorExplanation ul { font-size: 0.9em;}

.myform .for_input {
    float: left;
    text-align: left;
}

.myform {
/*    text-align:center;*/
    padding-top: 10px;
}

.myform select,input {
    margin-top: 0px;
    text-align:left;
}

.myform select {
    width: 204px;
}

.myform input[type="text"], .myform input[type="password"] {
    width: 200px;
    height: 18px;
}

/* Правило для Internet Explorer */
.myform input {
    width: expression(this.type=='text' || this.type=='password' ? '200px' : '');
}

.myform input[type="checkbox"] {
    margin-left: 0px;
/*    margin-top: 7px;*/
}

/* Правило для Internet Explorer */

#remember {
/*    !margin-left: 0px;
    !margin-top: -2px;
*/
    margin-top: 0;
    margin-left: 5px;
}

.myform textarea{
    margin-top: 5px;
    text-align:left;
    height: 200px;
    width: 440px;
    margin-bottom: 10px;
}

.myform .expr {
    position: relative;
    top: 1px;
    display: inline-block;
    width: 40px;
}

.myform label {
    margin-top: 1px;
    margin-left: 5px;
/*    width:225px;*/
    width: 280px;
    float:left;
    text-align:left;
    padding-top: 5px;
}

.myform label.star {
    width: 700px;
}

.myform input.input_myerror {
    border: 1px solid #ff9c00;
}

.myform select.input_myerror {
    border: 1px solid #ff9c00;
}

.myform textarea.input_myerror {
    border: 1px solid #ff9c00;
/*    border: 1px solid #EB737A;*/
}

.nodisplay {
    display: none;
}

.display {
    display: block;
}

#commentForm {
    display: none;
    margin-top: 15px;
}

.myerror {
    /*margin: 5px 5px 5px 5px;*/
/*    background-color: White;*/
    font: bold 15px;
    color: #ff9c00;
    text-align:left;
}

.noerror {
    visibility: hidden;
}

.border_black {
    border: 1px solid black;
}

.message_div {
    background: White url(/images/message.png) no-repeat scroll 8px 2px;
    margin:8px 10px 12px;
    border:2px solid #457ebe;
    padding:2px 4px 4px 30px;
    font-size:12px;
    height: 12px;
}

.formtitle {
    height:20px;
    text-align: center;
    color: Black;
    font-size : 12px;
    padding-top: 8px;
    font-weight: bold;
}

.submitbtn {
    margin: 10px;
}

*html .fixed_message {
position: absolute;
top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

#donation {
    position:fixed;
    left: 0px;
    top:31%;
    display: none;
    cursor: hand;
    cursor: pointer;
    padding: 0px;
    z-index: 99999;
    opacity: 0.6;
    filter: alpha(opacity=60);
    height: 150px;
}

#donation:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

#donation div {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0px;
    z-order: 10000;
}

*html #donation {
   position: absolute;
   top: expression( ( document.documentElement.clientHeight / 2 - 100 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

body {
    background-image: url('/images/bg_main.jpg');
    font-family: Tahoma;
    margin-top: 0px;
    margin-bottom: 0px;
}

#donation_form label, #donation_form input {
    height: 20px;
    margin-left: 0;
    margin-top: 8px;
}

#donation_form label {
    width: 125px;
}

#header {
    position: relative;
}

.main_page {
   height:345px;
}

.inside_page {
    padding-top: 7px;
    font-family: Verdana,sans-serif;
    font-size: 12px;

    height: 35px;
}

#blogtitle{
    position:absolute;
    overflow:hidden;
    left:490px;
    top: 15px;
    width:490px;
    height:40px;
    margin:0;
    padding:0;
    font-family: Arial,Verdana; 
    font-size:30px; 
    font-weight:bold;
    text-align:center;
}

#blogtitle a, #blogtitle a:hover {
    font-family: Arial,Verdana; 
    color:#C5591B; 
    text-decoration:none;
}

#div_login_form {
    margin-right: 70px;
    padding-top: 60px;
    float: right;
}


.main_page {
/*    background-image: url("/images/main_left.jpg");
    background-repeat: no-repeat;*/
    background-color: white;
}

/********** menu **********/
#menu {
    bottom: 0px;
    font-size: 16px;
    background-image: url('/images/menu.jpg');
    position: absolute;
}

#menu a {
    color: white;
}

#menu .menu_element, #congratulations_link {
    float: left;
    padding-top: 22px;
    text-align: center;
    width: 180px;
    height: 43px;
}

#menu img {
    float: left;
    height: 65px;
    width: 2px;
}

#menu .menu_element:hover {
    background-image: url('/images/menu_button_mouseover.jpg');
}

#menu .menu_element a:hover, #congratulations_link:hover {
    text-decoration: none;
}

.loginform {
    margin-right:2px;
    margin-left:auto;
    text-align:center;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
}

.login {
    /*width:635px;*/
    font-family:Arial, Helvetica, sans-serif;
    font-size:28px;
    text-align:right;
}

.shadchan_enter {
    font-size: 25px;
    padding-left: 50px;
    padding-right: 16px;
    text-align: center;
}

#forgotPasswordBtn {
    color: black;
    float: left;
}

.clear {clear: both; margin-bottom:7px;}

.login input {
    margin-top: 5px;
}

#login_btn {
/*    background-color: #019616;*/
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 5px;
    text-align: center;
    width: 90px;

    margin: 0px;
}

#login_btn:hover {
    cursor: pointer;
    cursor: hand;
}

#wrapper {
    margin: auto;
    width: 980px;
/*    background-color: white;*/
}

/***** Layout *****/
#top-menu {
    background: url('/images/bg_menu.jpg');
    height: 60px;
    font-size: 18px;
    padding: 2px 0px 0px 0px;

    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
}
#top-menu ul {margin: 0;  padding: 0;}
#top-menu li {
  float:left;
  list-style-type:none;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  white-space:nowrap;
}
#top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
#top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }

#account {
    float: right;
    margin-top: 18px;
}

#quick-search {float:right;}

#main-menu {/*position: absolute;  bottom: 0px; margin-right: -500px; width: 980px;*/
    margin-top: -10px;
    height: 45px;
    float: left;
}
#main-menu ul {
    margin: 0;  
    padding: 0;
    float: left;
}       
#main-menu li {
  float:left;
  list-style-type:none;
  margin: 0px;
  padding: 0px;
  white-space:nowrap;
  font-size: 12px;
/*  font-family: Arial;*/

    border-top-right-radius: 13px;
    border-top-left-radius: 13px;
    -moz-border-top-right-radius: 13px;
    -moz-border-top-left-radius: 13px;
    -webkit-border-top-right-radius: 13px;
    -webkit-border-top-left-radius: 13px;
    background-image: url('/images/bg_menu.jpg');

    height: 22px;
    margin-top: 13px;

    padding-top: 5px;
    padding-bottom: 5px;

    margin-right: 1px;

    margin-right: 1px \0/;
}
#main-menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
/*  font-weight: bold;*/
  margin: 0;
  padding: 4px 4px;
  font-size: 11px;
}

/*#main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}*/

#main-menu li.selected, #main-menu li:hover {
/*    height: 29px;
    margin-top: 6px;
*/
    height: 22px;
    margin-top: 7px;
    padding-top: 11px;
}

#weddings_link {
    float: left;
    font-size: 14px;
    margin-left: 8px;
    margin-top: -2px;
    text-decoration: underline;
}

#quick_search_name_top {
/*    position: absolute;
    top: -20px;
    right: 12px;
    color: gray;
    width: 140px;
    font-size: 12px;
*/
    color: gray;
    width: 140px;
    font-size: 16px;
    float: left;
    margin-top: 11px;
    height: 35px;
    border: 0px;
    padding-left: 15px;
    !padding-top: 12px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    outline: none;
    background-image: url('/images/search.jpg');
    background-repeat: no-repeat;
    background-position-x: 160px;
    background-position-y: center;
    background-position: 160px center;
    padding-right: 40px;
}

#quick_search_name_top {
    padding-top: 8px \0/;
    height: 27px  \0/;
}

.non_read_kolvo {
    color: #ff9c00;
    font-weight: bold;
}

#forum_button {
    position:fixed;
    right: 0px;
    display: none;
    cursor: hand;
    cursor: pointer;
    padding: 0px;
    z-index: 99999;
    opacity: 0.6;
    filter: alpha(opacity=60);
    height: 150px;
}

#forum_button:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

#eng, #eng_active, #rus, #rus_active {
    float: right;
    width: 35px;
    margin-left: 1px;
    margin-right: 1px;
}

#eng, #rus {
    height: 24px;
}

#eng:hover, #rus:hover {
    height: 35px;
}

#rus:hover {
    background: url('/images/rus_active.png');
}

#eng:hover {
    background: url('/images/eng_active.png');
}

#eng_active, #rus_active {
    height: 35px;
}

#eng {
    background: url(/images/eng.png);
    cursor: hand;
    cursor: pointer;
}

#eng_active {
    background: url('/images/eng_active.png');
}

#rus {
    background: url(/images/rus.png);
    cursor: hand;
    cursor: pointer;
}

#rus_active {
    background: url(/images/rus_active.png);
}

#localization {
    height: 35px;
    width: 130px;
    z-index: 1000;

    float: left;
    font-size: 11px;
    margin-left: 2px;
    margin-top: 12px;

    padding-top: 11px;
    background-repeat: no-repeat;
    padding-left: 3px;
}

#donate_quick {
    float: right;
    padding: 7px;
    background: #019616;
    border: 1px solid #CCC;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    width: 130px;
    height: 50px;
    padding-right: 3px;
}
.donate_why {
    font-size: 13px;
    color: white;
    margin-bottom: 6px;
}
#don_amount, .don_amount {
/*    background: #fff url('/images/dollar.png') no-repeat 0 3px;
    padding-right: 5px; 
    width: 55px;
    border: 0px;
    height: 25px;
    float: left;
    text-align: right;
    color: #555;
    font-size: 12px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
*/
    background: #fff url('/images/dollar.png') no-repeat -4px 1px;
    padding-left: 5px;
    width: 32px;
    border: 0px;
    height: 18px;
    color: black;
    font-size: 12px;
    margin-left: 15px;
    margin-top: 9px;
    text-align: center;
    outline: none;
    display: none;
}

#donate_quick .button {
    padding-left: 5px;
    margin-left: 5px;
    padding-right: 5px;
    color: white;
    height: 30px;
    float: left;
    font-size: 12px;
    background-color: #f48b00;
    border: 1px solid #e47b00;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    cursor: hand;
    cursor: pointer;
}

#account a {
    font-size: 12px;
}

a img {border: none; }

  .about_example-tipsy { font-size: 14px; padding: 5px; position: absolute; z-index: 100000; }
  .about_example-tipsy-inner { padding: 5px 8px 4px 8px; background-color: #EEE; color: Black; max-width: 400px; text-align: left; border: 1px solid Black}
  .about_example-tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; }
  .about_example-tipsy-arrow { position: absolute; background: url('aabout_example-tipsy.gif') no-repeat top left; width: 9px; height: 5px; }
  .about_example-tipsy-n .about_example-tipsy-arrow { top: 0; left: 50%; margin-left: -4px; }
  .about_example-tipsy-nw .about_example-tipsy-arrow { top: 0; left: 10px; }
  .about_example-tipsy-ne .about_example-tipsy-arrow { top: 0; right: 10px; }
  .about_example-tipsy-s .about_example-tipsy-arrow { bottom: 0; left: 50%; margin-left: -4px; background-position: bottom left; }
  .about_example-tipsy-sw .about_example-tipsy-arrow { bottom: 0; left: 10px; background-position: bottom left; }
  .about_example-tipsy-se .about_example-tipsy-arrow { bottom: 0; right: 10px; background-position: bottom left; }
  .about_example-tipsy-e .about_example-tipsy-arrow { top: 50%; margin-top: -4px; right: 0; width: 5px; height: 9px; background-position: top right; }
  .about_example-tipsy-w .about_example-tipsy-arrow { top: 50%; margin-top: -4px; left: 0; width: 5px; height: 9px; }

a, input {
   outline: 0;
}

.google_adsense_up {
    width: 234px;
    height:60px;
    float: left;
    margin-top: -1px;
    margin-left: 20px;
    display: none;
}

.google_adsense_up iframe {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

.icon-refresh, #next, #back, .or_btn {
    background-repeat: no-repeat; 

    background-color: #ff9c00;
    text-decoration: none;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    padding: 12px;
    padding-left: 25px;
    font-weight: bold;
    color: white;
    font-size: 16px;
/*    margin-left: 158px;*/
    background-position: 5px center;
    cursor: hand;
    cursor: pointer;
}

.bl_btn {
    background-color: #00a779;
}

#next, #back, .or_btn {
    height: 45px;
    background-image: none;
    padding-right: 25px;
}

.ow_orange {
    font-size: 18px;
    position: relative;
    top: -4px;
}

.arrow_box {
    position: relative;
    background: #ff9c00;
/*    border: 4px solid #c2e1f5;*/
    border: 4px solid #00a779;

    width: 112px;
    height: 20px;
    font-size: 15px;
    color: white;
    font-weight: bold;
    padding: 13px;
    margin-left: 22px;
    text-align: center;

    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
}
.arrow_box:after, .arrow_box:before {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(255, 156, 0, 0);
    border-right-color: #ff9c00;
    border-width: 20px;
    margin-top: -20px;
}
.arrow_box:before {
    border-color: rgba(0, 167, 121, 0);
    border-right-color: #00a779;
    border-width: 26px;
    margin-top: -26px;
}

.vip_header {
    float: left;
    margin-top: 11px;
    margin-left: 3px;
    background: #ff0505;
    width: 250px;
    height: 30px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    color: white;
    padding-top: 7px;
    text-align: center;
}