@charset "utf-8";

* {margin: 0; padding:0; }

body{
 //background: #c6cdb1;
 background: #8d8b8b;
}

table{
 border-collapse: collapse;
}

td{
 padding-left: 2px;
 padding-right: 2px;
}

th{
 background:#a1d9c3;
 padding-left: 1px;
 padding-right: 1px;
}

input {
 outline: none;
}

.box{
 width: 100px;
 background:#29604a;
 border: 1px;
 border-radius: 5px;
}

.tables{
 font-size: 10pt;
 padding: 1px;
}

.lists{
 padding: 0 5px 5px 0; /* верхний, правый, нижний, левый */
 margin-left: 15px;
}

.adv_image {
 border-radius: 10px;
}

a, a:visited{
 color: #113c1e; /* Цвет ссылок */
}

#shadow {
  background: #000;
  height: 100%;
  opacity: 0.7;
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
}

#message{
 display: none;
 position: fixed;
 opacity: 1.0;
 background:#c1ecdb;
 padding: 15px;
 width: 300px;
 height: 200px;
 top: 200px;
 left: 40%;
 color: #f00;
 z-index: 101;

 -webkit-border-radius: 3px;
 -moz-border-radius: 3px;
 -ms-border-radius: 3px;
 -o-border-radius: 3px;
 border-radius: 3px;
}

#auth, #reg{
 position: relative;
 left: 335px;
 top: 175px;
 width:300px;
 border:1px solid #28604a;
 border-radius: 5px 5px 5px 5px;
 padding: 0px 15px;
 background:#c1ecdb;
 z-index: 10;
}

#auth {height: 170px;}
#reg {height: 210px;}

/* #auth input[type="submit"] { */
.btnSubmit {
 background:#a1d9c3;
 border-radius: 3px;
 border: none;
 position: relative;
// top: 15px;
 left: 120px;
 font-weight: bold;
 padding: 9px 30px;
}

/* #auth input[type="submit"]:hover { background: #28604a; color: #fff;} */
.btnSubmit:hover { background: #28604a; color: #fff;}
.btnSubmit:focus { outline: none;}

#auth h3 {
//	background-color: #a1d9c3;
	background-color: #28604a;
	border-radius: 5px 5px 0 0;
	font-size: 16px;
	font-family: Arial;
        color: #fff;
	padding: 15px;
	margin: -15px;
	text-align: center;
	text-shadow: black 2px 2px 3px;
	text-transform: uppercase;
}

#reg h3 {
//	background-color: #a1d9c3;
	background-color: #28604a;
	border-radius: 5px 5px 0 0;
	font-size: 16px;
	font-family: Arial;
        color: #f8d900;
	padding: 15px;
	margin: -15px;
	text-align: center;
	text-shadow: black 2px 2px 3px;
	text-transform: uppercase;
}

#img_about: hover {src: "/img/mb_about_a.png"}

.btnClose {
 position: relative;
 top: -34px;
 border-radius: 3px;
 border: none;
 padding: 9px 30px;
 background:#a1d9c3;
 text-decoration: none;
}

.btnClose:hover { background: #28604a; color: #fff;}
.btnClose:focus { outline: none;}

#user_name {
 color:green;
}

#clock {
 color: #ffffff;
 background:29604a;
 margin: 5px 5px;

 -webkit-border-radius: 7px;
 -moz-border-radius: 7px;
 -ms-border-radius: 7px;
 -o-border-radius: 7px;
 border-radius: 7px;
}

#main{
 background: #ffffff;
 width:1000px;
 margin: 0 auto;
// height: 600px;
 font-family: Tahoma, Verdana, Arial;
 -webkit-box-shadow: 0 0 30px #3c3c3c;
 -moz-box-shadow: 0 0 30px #3c3c3c;
 box-shadow: 0 0 30px #3c3c3c;
}

#header{
 background: #c6cdb1;
 padding: 0 10px 0 0;
 height:60px;
/*
 padding-right:15px;
 width:1000px;
 text-align:center;
 color:#FFFFFF;
 font-size:24px;
*/
}

#content{
// position: relative;
// height: 500px;
 padding:10px;

}

#footer{
 background: #c6cdb1;
 //clear:both;
 width:1000px;
 height:30px;
 text-align:center;
 color:#113c1e;
 font-size:14px;
 padding-top:15px;
}

#main_about, #main_news, #main_articles{
 position: relative;
// top: 10px;
// left: 10px;
}

.ch_menu {
 position: relative;
 float: left;
 margin: 10px 0 0 0;
 z-index: 3;
}

.ch_content {
 position: relative;
 float: left;
 width: 730px;
 margin: 10px 10px 0 10px;
 z-index: 2;
}

.ch_add {
 position: relative;
 z-index: 1;
}

#pp_main { 
// position: relative;
// min-height:100%;
// background:#c1ecdb;
// height:auto;
}

#pp_left_c, #pp_left_p, #pp_left_prf, #pp_left_pst, #pp_left_nws, #pp_left_lgs {
position: relative;
background:#c1ecdb;
//float:left;
width:960px;
min-height:440px;
margin:10px 0 0 0px;
//outline:1px solid black;
padding:10px;
//overflow:auto;
}

#messages{
 min-height:330px;
 overflow:scroll;
}

#logs, #news {
 height:360px;
 overflow:auto;
}

#pp_right{
position: relative;
left: 450px;
background:#c1ecdb;
//border:1px solid black;
//border-right:none;
//border-bottom:none;
//display:inline-block;
margin:10px 0 0 10px;
padding:10px;
//min-width:280px;
width:500px;
min-height:440px;
//clear:both;
}

.panel {
//    background-color: #444;
//    height: 34px;
//    padding: 10px;
}

.panel a#msg_pop {
//    border: 2px solid #aaa;
//    color: #fff;
//    display: block;
//    float: right;
//    margin-right: 10px;
//    padding: 5px 10px;
//    text-decoration: none;
//    text-shadow: 1px 1px #000;

//    -webkit-border-radius: 10px;
//    -moz-border-radius: 10px;
//    -ms-border-radius: 10px;
//    -o-border-radius: 10px;
//    border-radius: 10px;
}

a#msg_pop:hover {
    border-color: #eee;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1;

    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    background-color: #fff;
    border: 1px solid #fff;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
    top: 40%;
    visibility: hidden;
    z-index: 10;

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;

    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;

    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
}

.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}

.close {
 position: absolute;
 top: 144px;
 left: 15px;
 border: none;
 padding: 7px 30px;

 background:#a1d9c3;
// height: 20px;
 line-height: 20px;

 text-align: center;
 text-decoration: none;

 -webkit-border-radius: 3px;
 -moz-border-radius: 3px;
 -ms-border-radius: 3px;
 -o-border-radius: 3px;
 border-radius: 3px;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
//    content: "X";
    font-size: 20px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
 background-color: rgba(64, 128, 128, 0.8);
}

.popup p, .popup div {
    margin-bottom: 10px;
}
.popup label {
    display: inline-block;
    text-align: left;
    width: 120px;
}

.textinput {
 border: none;
 width: 170px;
 background: #a1d9c3;
}

.msgbox {
 font-family: "Trebuchet MS",Tahoma,Arial,sans-serif;
 font-size: 13px;
 background-color:rgb(255,255,255);
 color: #787474;
 padding: 10px 0 0 10px;
 width:448px;
 height:90px;
 border-color:rgb(182,182,182);
 border-width:1px;
 border-style:solid;
 -moz-box-shadow:0px 1px 0px 0px rgba(255,255,255,0.5) ,inset 0px 1px 2px 0px rgba(0,0,0,0.2);
 -webkit-box-shadow:0px 1px 0px 0px rgba(255,255,255,0.5) ,inset 0px 1px 2px 0px rgba(0,0,0,0.2);
 box-shadow:0px 1px 0px 0px rgba(255,255,255,0.5) ,inset 0px 1px 2px 0px rgba(0,0,0,0.2);
 -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX = 0,OffY = 1,Color = #80ffffff,Positive = true)";
 filter:progid:DXImageTransform.Microsoft.dropshadow(OffX = 0,OffY = 1,Color = #80ffffff,Positive = true);
 position: relative;
// top: 150px;
// left: 40px;
 border-radius: 3px;
 -moz-border-radius: 3px;
}

.stripy {
}

/* нечетная строка таблицы класса stripy */
.stripy tr:nth-child(2n+1){
 background:#ffffee; 
}

/* четная строка таблицы класса stripy */
.stripy tr:nth-child(2n){
// background:#a1d9c3;
 background:#eeffee;
}