/*body, body a{
    font-size:16px;
    width: 100%;
    margin:0;
}*/
textarea {
    font-size:16px;
}
input[readonly="readonly"] {
    background: #ebece4;
}

h1,h2,h3{
    margin: 0 0 3px 0;
}

h1{
    font-size: 28px;
    color: #078A7C;
    border-bottom: 1px solid #078A7C;
}
h2{
	text-align: center;
	font-size: 17px;
    color: #808080;
}

/*input[type="submit"] {
    background: #000;
    color: #fff;
    border: 3px double #ccc;
    border-radius: 20px;
    padding: 2px 15px;
    cursor: pointer;
    font-size: 16px;
}*/
#header, #content, #footer{
    width: 96%;
    margin: 0 auto;
    background: #F7F7F7;
    padding: 10px;
    border-radius: 5px;
}
#content{
    min-height: 400px;
    background: none;
}

#header{
    margin-top: 20px;
    margin-bottom: 20px;
    background: #ffffff;
    background: -moz-linear-gradient(top,  #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%);
    background: -webkit-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
    background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 );

    -webkit-box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.75);
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.75);
}
#footer{
    margin-top: 20px;
}
#logo{
    border:0;
    font-size:20px;
    margin: -1px 30px 0px 0;
    text-align: center;
    line-height: 19px;
    float: left;
    padding-left: 20px;
}
.buttons {
    width: 100%;
    text-align: right;
}

ul.menu {
    display: inline-block;
    margin:0;
}
.menu-dev {
    height: 39px;
    background: #bcbcbc;
    width:3px;
    margin: 0 10px;
}
.menu li{
    list-style: none;
    float: left;
    display: block;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.menu li a{
    display: inline-block;
    color: #000;
    text-decoration: none;
    height: 37px;
    width: 100px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    text-transform: uppercase;
    letter-spacing: .0666em;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #ccc;
}
.menu li a:hover {
    background: rgba(7, 138, 124, 0.45);
    color: #fff;
}
.menu li a.site{
    color:#078A7C;
}
.part{
    padding: 10px;
    border: 1px solid #ccc;
    min-width:200px;
    max-width:600px;
    margin: 0 auto;
}

.to-left {
    float:left;
    margin-right: 10px;
}
.to-right {
    float:right;
    margin-left: 10px;
}
.clear{
    clear:both;
}

.none {
    display: none;
}

.coub.c1 {
    background:#ffe3e3;
    border-color: #ff7f7f;
}
.coub.c2 {
    background:#c7fdce;
    border-color: #5bc568;
}
.coub.c3 {
    background:#fde8c7;
    border-color: #ffb94a;
}
.coub.c4{
    background:#ececec;
    border-color: #9c9c9c;
}
.coub {
    width: 48%;
    border: 5px double #DDDDDD;
    margin-bottom: 10px;
    list-style: none;
    padding: 0;
    float: left;
    /*height: 520px;
    overflow-x: auto;*/
    margin-left: 10px;
}
.coub.second .tit {
    width:94.7%;
}
.coub.second .open-spoiler {
    width:95%;
}

.coub:nth-child(2n) {
    /*margin-left: 10px;*/
}
.coub .head {
	height: 20px;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	overflow: hidden;
}
.coub div.head DIV {
    /*text-transform: uppercase;*/
    padding: 1px 0;
    border-left: 1px solid #ccc;
    float: left;
}
.coub div.head DIV, .open-spoiler {
    /*width: 46.5%;*/
    width: 91%;
    height: 20px;
    overflow: hidden;
}
.coub div:nth-child(2n).head DIV {
    background:rgba(173, 173, 173, 0.2);
}
.coub .open-spoiler:hover {
    background:rgba(234, 178, 84, 0.18);
    border-top: 1px solid red;
    border-bottom: 1px solid red;
    height: 19px;
}

.coub div.head .sbutton {
    width: 4%;
}
.open-spoiler {
	background: rgba(222, 222, 222, 0.18);
	height: 21px;
	position: relative;
    margin: -22px 0 1px 0px;
}
.coub div a.edit, .coub div a.delete {
    position:relative;
    z-index: 999;
    display: block;
    height: 18px;
    width: 18px;
    line-height: 18px;
    font-size: 12px;
    text-decoration: none;
    text-align: center;
}
.coub div a.edit {
    background: yellow;
    background: url(/image/edit.png) no-repeat center center;
    background-size: cover;
}
.coub div a.delete {
    background: #ccc;
    background: url(/image/delete.png) no-repeat center center;
    background-size: cover;
}

.hr-dev {
	min-height:5px;
	width:100%;
	text-align:center;
	border:0;
	background:#abb7ff;
	margin-bottom:18px;
	font-size: 20px;
	background: linear-gradient(to bottom, rgba(171,183,255,1) 0%,rgba(255,255,255,0) 100%); 
}

.spoiler_link {
	cursor: pointer;
}

    .spoiler_body {
        clear: both;
    }
    .content {
        margin:0 auto;
        text-align: justify;
        padding: 10px;
        background: #fff;
    }
    .hint {
        font-size: 15px;
        font-weight: 800;
        text-align: center;
        border-bottom: 1px solid;
        margin-bottom: 5px;
    }
    /*.content p {
        font-size: 15px !important;
        text-align: justify !important;
        line-height: 107%;
        font-family: Arial,sans-serif !important;
        background: none;
    }*/

	#menu {
		border: 1px double #fefefe;
        border-radius: 0 5px 5px 0;
        box-shadow: 1px 2px 8px #0e4ca1;
		position: fixed;
		top:15%;
		left:0;
		background: rgba(204, 204, 204, 0.7);
        /*max-width: 18%;*/
	}
	#menu_c {
		border: 1px double #fefefe;
        /*border-radius: 0 5px 5px 0;*/
        box-shadow: 1px 2px 8px #0e4ca1;
		position: fixed;
        width:5px;
        height:100%;
        top:0;
		/*top:50%;
        margin-top:-20px;*/
		left:0;
		background: rgba(204, 204, 204, 0.7);
	}
    #menu button{
        margin-right: 3px;
    }

	#menu ul{
		list-style: none;
    	margin: 0;
	    padding: 0;
	}
    #menu ul li{
        padding: 5px;
    }
    .coub .head.stat1{
        background: rgba(0, 255, 0, 0.3);
    }
    .coub .head.stat2{
        background: rgba(255, 250, 0, 0.3);
    }
    .coub .head.stat3{
        background: rgba(27, 27, 27, 0.3);
    }

#login {
    width:210px;
    background: #bbb;
    border-radius: 4px;
    position: relative;
    top: 50%;
    margin-top: -58px;
    -webkit-box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.64);
    -moz-box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.64);
    box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.64);
}
.links {
	width: 100%;
	padding: 10px 0;
	text-align: center;
	padding-bottom: 0;
}
.links a {
	text-transform: uppercase;
	font-weight: bold;
	color: #fff;
}

form p {
    float:left;
}

#content .pole-name {
    min-width: 100px;
    color:#989898;
}
#content input, #content select {
    width: 130px;
}
#content .pole-name input, #content .pole-name select {
    border: 2px solid #8cc6ff;
    border-radius: 5px;
    padding: 6px;
    color:#000;
}

form textarea {
    width: 100%;
}

.part30left{
    float:left;
    width:29%;
}
.part70left{
    float:left;
    width:69%;
    margin-left:20px;
}



/*--------------------------------*/

.appear-animation {
	opacity: 0;
}

.appear-animation-visible {
	opacity: 1;
}

.animated,
.appear-animation {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	-ms-animation-duration: 1s;
	-o-animation-duration: 1s;
	animation-duration: 1s;
}

@-webkit-keyframes fadeInDown {
	0% {
		opacity: 0;
		-webkit-transform: translateY(-20px);
	}

	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
	}
}

@-moz-keyframes fadeInDown {
	0% {
		opacity: 0;
		-moz-transform: translateY(-20px);
	}

	100% {
		opacity: 1;
		-moz-transform: translateY(0);
	}
}

@-o-keyframes fadeInDown {
	0% {
		opacity: 0;
		-o-transform: translateY(-20px);
	}

	100% {
		opacity: 1;
		-o-transform: translateY(0);
	}
}

@keyframes fadeInDown {
	0% {
		opacity: 0;
		transform: translateY(-20px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.fadeInDown {
	-webkit-animation-name: fadeInDown;
	-moz-animation-name: fadeInDown;
	-o-animation-name: fadeInDown;
	animation-name: fadeInDown;
}

@-webkit-keyframes fadeInLeft {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-20px);
	}

	100% {
		opacity: 1;
		-webkit-transform: translateX(0);
	}
}

@-moz-keyframes fadeInLeft {
	0% {
		opacity: 0;
		-moz-transform: translateX(-20px);
	}

	100% {
		opacity: 1;
		-moz-transform: translateX(0);
	}
}

@-o-keyframes fadeInLeft {
	0% {
		opacity: 0;
		-o-transform: translateX(-20px);
	}

	100% {
		opacity: 1;
		-o-transform: translateX(0);
	}
}

@keyframes fadeInLeft {
	0% {
		opacity: 0;
		transform: translateX(-20px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.fadeInLeft {
	-webkit-animation-name: fadeInLeft;
	-moz-animation-name: fadeInLeft;
	-o-animation-name: fadeInLeft;
	animation-name: fadeInLeft;
}


