 body {
   background-image: url('../images/bg.gif'); /* Путь к фоновому изображению */
   background-color: #00A9A2; /* Цвет фона */
   margin:0;
   padding:20 0 0;
  }
  img {
    border:0;
  }
 #mywrap {
   display:block;
   -moz-opacity:.50 ; filter:alpha(opacity: 50); opacity: .50;
 }
  #main {
    
    width: 748px;
    height:720px;
    margin: 0 auto;
  }
  #topmenu {
    height:100px;
    background-color:#00A9A2;

  }
  #topmenu img{
    float:left;
    display:block;
  }
  .clear {
 clear: both; /* Отмена обтекания */
}
  #menuitems {
    float:left;
    display:block;

  }
  #menuitems img {
    margin-top:53px;
  }
  #mainbody {
    background-image:url('../images/mainbody_last.jpg');
    height:472px;
    width:748px;
    margin-left:1px;
  }
  #rulesbody {
    background-image:url('../images/rulesbody_new.jpg');
    margin-left:2px;
    height:472px;
    width:748px;
  }
  #maintext {
    margin-top:296px;
    margin-left:416px;
    position:relative;
    background-color:#007CCE;
    background-image:url('../images/textbody.jpg');
    color:#A7EFFF;
    height:87px;

  }
  #login {
    height:148px;
    background-image:url('../images/loginbody_.jpg');
  }
 #afterupload {
    height:77px;
    width:273px;
    background-image:url('../images/afterlogin_upload.jpg');
    margin-left:250px;
    display:block;
    float:left;
 }
 #afterupload img {
    margin-left:67px;
    margin-top:30px;
 }
 #afterlogin {
    height:148px;
    background-image:url('../images/loginbody_after.jpg');
    text-align:center;
 }
  #logincontrols {
    margin-left:116px;
    background-image:url('../images/logincontrols.jpg');
    height:70px;
    width:486px;
    text-align:left;
   

  }
  #logincontrols input {
        font-family:Tahoma, Arial;
    font-size:12px;
    color: #29615E;
  }

  .logininput {
    margin-left:13px;
    margin-top:34px;
    width:130px;
    border:0;
  }
    .ie .logininput{
    position:relative;
    margin-left:-105px;
    margin-top:34px;
    width:130px;
    border:0;
}
    .passwordinput {
    margin-left:40px;
    margin-top:36px;
    width:130px;
    border:0;
  }
  
   .fileinput {
    margin-left:40px;
    margin-top:36px;
    width:130px;
    border:0;
  }
  
  .oklogin {
    margin-left:17px;
    
  }
  .okreg {
    display:block;
    float:left;
    position:absolute;
    top:595px;
    margin-left:320px;
  }
  .ie .okreg {
    margin-left:10px;
  }
  .reghref {
   margin-left:100px;

  }
  .reghref a {
          font-family:Tahoma, Arial;
    font-size:12px;
    color: #D8FFFF;
    text-decoration:none;
  }
    .reghref1 {

        display:block;
    float:left;
    position:relative;
    top:35px;
  }
  .reghref1 a {
          font-family:Tahoma, Arial;
    font-size:12px;
    color: #D8FFFF;
    text-decoration:none;
  }
        #gallerybody {

    height:472px;
  }
      #leftside {
       background-image:url('../images/left.jpg');
       display:block;
       float:left;
       height:472px;
       width:323px;
      }
 #topeng {
   height:40px;
   padding-left:302px;
 }
 #topeng img {

 }
  #topeng1 {
   height:40px;
   padding-left:624px;
 }
 #topeng1 img {

 }
      #rightside {
       background-image:url('../images/right_new.jpg');
       display:block;
       float:left;
       height:472px;
       width:425px;
      }
      #bigimg{
        margin-top:78px;
        margin-left:49px;
				height:296px;
      }
    
      #imgdescr {
        margin-top:35px;
        margin-left:55px;
        width:244px;
        font-size:12px;
        font-family:Tahoma;
        color:#265C7E;
        line-height:170%;

      }
      #votetext {
        float:left;
        display:block;
        width:150px;
      }
      #votediv {
        float:left;
        display:block;
        width:94px;
      }
      #thumbs {
        width:333px;
        height:330px;
        margin-top:20px;
        margin-left:6px;

      }
      #thumbs_line {
        width:333px;
        height:110px;

      }
      #thumb {
        width:111px;
        height:110px;
        display:block;
        float:left;
        background-image:url('../images/borders_thumb.jpg');

      }
      #thumb img {
        margin-top:18px;
        margin-left:16px;

      }
    #pagination {
        width:315px;
        height:36px;
        margin-left:15px;
        _margin-left:6px;
        margin-top:16px;
        text-align:center;
        background:url('../images/paginat_2.jpg') 50% 0 no-repeat;
        _background-position:50% -4px;
        display:block;
        float:left;

      }
			 #pagination a{
							color: #fff;
							font-size:14px;
							font-family:Tahoma;
							text-decoration:none;
							font-weight:bold;

			 }
			 .current_page{
							color: #206E78;
							position:relative;
							top:10px;
								background-color: #f3d71e;
								float:left;
							 display:block;
										font-size:14px;
							font-family:Tahoma;
							text-decoration:none;
							font-weight:bold;
							margin:0 3px;
			 }
			 .allpages {
							color: #fff;
								float:left;
							 display:block;
							 font-size:14px;
							font-family:Tahoma;
							text-decoration:none;
							font-weight:bold;
							position:relative;
							top:10px;
							margin:0 3px;
			 }
			 #back {
        width:40px;
        height:36px;
        display:block;
        float:left;
      }
     #forward {
        width:43px;
        height:36px;
        display:block;
        float:left;
      }
     #numbers {
        width:132px;
        height:36px;
        display:block;
        float:left;
      }
          #footer {
      margin-top:-50px;
      font-family: Tahoma;
      font-size:10px;
      margin-left:20px;
      color:#fff;
    }
    .linksfoot {
      margin-left:290px;
    }
    .linksfoot a{
      color:#fff;
      text-decoration:none;
    }
#search {
		margin-left: 80px;
		clear: both;
	}
#search_button {
	padding-top: 20px;
}