/************************************* Tags ************************************/
body
{
	margin: 0px;
	font-family: 'Open Sans', Lucida Sans Unicode, Sans serif;
	font-size: 13px;
}

header
{
	width: 1020px;
	height: 250px;
}

menu
{
	width:990px;
	padding: 5px 15px;
	height: 35px;
	background: #468CC8;
	margin: 0px;
	text-align: center;
	position: relative;
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.4);
}

menu:before
{
  position: absolute;
  left: 0;
  bottom: -10px;
  content:'';
  border-top: 10px solid #326794;
  border-left: 10px solid transparent;
}

menu:after
{
  position: absolute;
  right: 0;
  bottom: -10px;
  content:'';
  border-top: 10px solid #326794;
  border-right: 10px solid transparent;
}

menu a.btn
{
	border: 1px solid #e0e0e0;
	color: #e0e0e0;
	border-radius: 7px;
}
menu a.btn:hover
{
	border-color: #fff;
	color: #fff;
}

aside
{
	width: 210px;
	float: left;
	margin-left: 30px;
	text-align: center;
	background: rgba(70,140,210,1) url('../img/flag.jpg');
	height: 480px;
}

aside hr
{
	width: 80%;
}

footer
{
	border-top: 2px solid black;
	background: #505050;
	min-height:100px;
	width: 970px;
	padding: 15px;
}

footer h5
{
	color: #f0f0f0;
	text-align: center;
}

footer small
{
	color: #f0f0f0;
}

h1
{
text-align: center;
font-family: 'Open Sans Condensed';
}
h2
{
color: #468CC8;
font-size: 1.2em;
}
h3
{
	color: #505050;
//text-align: right;
}

h4
{
	font-size: 1.15em;
	font-weight: normal;
}
table
{
	font-size: 1em;
}

th
{
	background: rgba(0,0,0,0.2);
	padding: 3px;
}

td 
{
	vertical-align: top;
}

input[type="text"]
{
	width: 180px;
	padding: 6px;
	margin-bottom: 8px;
	border-radius: 3px;
	border: 1px solid #d0d0d0;
	font-family: 'Open Sans', Lucida Sans Unicode, Sans serif;
}

input[type="password"]
{
	width: 180px;
	padding: 6px;
	margin-bottom: 8px;
	border-radius: 3px;
	border: 1px solid #d0d0d0;
	font-family: 'Open Sans', Lucida Sans Unicode, Sans serif;
}

input[type="date"]
{
	width: 180px;
	padding: 6px;
	margin-bottom: 8px;
	border-radius: 3px;
	border: 1px solid #d0d0d0;
	font-family: 'Open Sans', Lucida Sans Unicode, Sans serif;
}

input[type="submit"]
{
	width: 180px;
	padding: 6px;
	margin-bottom: 8px;
	border-radius: 3px;
	border: 1px solid #d0d0d0;
	font-family: 'Open Sans', Lucida Sans Unicode, Sans serif;
}

textarea
{
	min-width: 180px;
	padding: 6px;
	font-size: 0.85em;

	margin-left:-1px;
	border-radius: 3px;
	border: 1px solid #d0d0d0;
	font-family: 'Open Sans', Lucida Sans Unicode, Sans serif;
}
/*******************************************************************************/
/******************************* Identificators ********************************/
#wrapper
{
	
	//float:left;
	width: 1000px;
	margin: 0px 10px;
	box-shadow: 0px -7px 10px rgba(0,0,0, 0.3)
	-moz-box-shadow: 0px -7px 10px rgba(0,0,0, 0.3);
	-webkit-box-shadow: 0px -7px 10px rgba(0,0,0, 0.3)
}

#off_wrapper
{
	margin: 0px auto;
	width: 1020px;
}

#banner
{
	height: 205px;
	background: #f9f9f9;
	margin: 0px 10px;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
}

#main
{
	width: 700px;
	padding: 15px;
	float:left;
}

#main .btn
{
	border: 1px solid #7a7a7a;
	background: beige;
	color: #7a7a7a;
}

#main .btn:hover
{
	border: 1px solid #505050;
	color: #505050;
}

#main p
{
	text-indent: 30px;
	text-align: justify;
}

#files 
{
	background: #efefef; 
	border: 1px solid #ccc; 
	padding: 10px; 
	margin: 10px;
}

#files a
{
	text-decoration: none;
	color: #a00;
	font-size: 1.15em;
}

#files a:hover
{
	text-decoration: underline;
}
/*********************************************************************************/
/************************************** Classes **********************************/

.img
{
	margin: 10px;
	width: 200px;
	padding: 5px;
	border: 1px solid grey;
}

.left 
{
	float: left;
}

.right
{
	float: right;
}

.menu_before
{
	margin-top: 205px;
	float: left;
}
.menu_after
{
	margin-top: 205px;
	float: right;
}

.log_form
{
	border-radius: 0px 0px 5px 5px;
	display: inline-block;
	position: relative;
	margin-top: 40px;
	padding: 0px 10px 20px 10px;
	width: 190px;
	//background: rgba(70,140,210,1);
	//background: url('../img/jeans.jpg');
}

.log_form  input
{
	width: 180px;
	padding: 6px;
	margin-bottom: 8px;
	border-radius: 3px;
	border: none;
	font-family: 'Open Sans', Lucida Sans Unicode, Sans serif;
}

.log_form .btn
{
	border: 1px solid #e0e0e0;
	color: #e0e0e0;
	background: transparent;
}

.log_form a.btn
{
	width: 168px;
}

.log_form .btn:hover
{
	border: 1px solid #fff;
	color: #fff;
}

.log_form h2
{
	color: #fff;
	background: #fa0;
	font-weight: normal;
	padding: 8px 0px;
	margin-bottom: 5px;
}

.log_form h2
{
	margin-top: 10px;
	position: relative;
	text-indent: 0px;
	margin-left: -20px;
	margin-right: -20px;
	font-weight: bold;
	padding: 15px 30px;
	background: #fa0;
	color: #fff;
}
.log_form h2:after{
  position: absolute;
  left: 0;
  bottom: -10px;
  content:'';
  border-top: 10px solid #555;
  border-left: 10px solid transparent;
}

.log_form h2:before{
  position: absolute;
  right: 0;
  bottom: -10px;
  content:'';
  border-top: 10px solid #555;
  border-right: 10px solid transparent;
}


.date
	{
		display: inline-block;
		text-align: center;
		background: #fa0;
		color: #fff;
		width: 36px;
		font-size: 1.2em;
		-moz-border-radius:50%;
		-webkit-border-radius:50%;
		border-radius:50%;
		padding: 11px 15px;
		font-family: 'Open Sans Condensed', 'Open Sans', Lucida Sans Unicode, Sans serif;
		margin-top: 5px;
		margin-right: 15px;
		
	}

.btn 
{
	transition: 0.5s ease-out;
	//background: #468CC8;
	border-radius: 3px;
	padding: 5px;
	text-decoration: none;
	display: inline-block;
	color: #505050;
	font-size: 1.2em;
	border: none;
	cursor: pointer;
	border: 1px solid grey;
}

.btn_m
{
	transition: 0.5s ease-out;
	background: #468CC8;
	border-radius: 3px;
	padding: 5px;
	text-decoration: none;
	display: inline-block;
	color: #fff;
	font-size: 0.85em;
	border: none;
	cursor: pointer;
}

.btn_m:disabled
{
	background: #C0C0C0;
	color: #505050;
}

.btn:hover
{
	//color: #000;
}

.hidden
{
	display: none;
}

.shown
{
	display: auto;
}

.profile table
{
	border-collapse: collapse;
}
.profile table td
{
	padding: 5px;
}

.profile a
{
	color: #505050;
	text-decoration: none;
	transition: 0.5s ease-out 0.5s;
}

.profile a:hover
{
	color: #f60;
}

textarea.input
{
	resize: none;
	width: 450px;
	height: 150px;
}
input.input
{
	width: 450px;
}
select.input
{
	width: 298px;
	border: 1px solid #d0d0d0;
	border-radius: 3px;
	font-family: 'Open Sans', Lucida Sans Unicode, Sans serif;
	padding: 3px;
}
/*********************************************************************************/

.firstPageTable tr td:first-child {
	background: #eee;
}
.firstPageTable {
	font-size: 0.85em;
}