body 
{
    font-family: "Arial","Lucida Grande","Verdana","Sans-Serif";
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 12px;
    color: black;
	text-align: left;
}

p
{
    font-size: 16px;
}

li
{
    font-size: 16px;
}

tt
{
    font-size: 16px;
}

h3
{
    font-size: 18px;
}

a {
	color: rgb(25, 88, 33);
}

a:hover {
	color: rgb(25, 87, 136);
}

a:visited {
	color: black;
}	

body {
	background: url("grad_grey_d.jpg") repeat-x #555555;
	margin: 3px;
}

#main-cont {
	padding: 1px 0;
	display: inline-block;
	min-width: 100%;
}

#container {
	box-shadow: rgba(104, 104, 104, 1) 0px 0px 70px 5px;
	border: 1px solid #696969;
	background: rgb(253,253,253); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(253,253,253,1) 32%, rgba(225,223,223,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(32%,rgba(253,253,253,1)), color-stop(100%,rgba(225,223,223,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(253,253,253,1) 32%,rgba(225,223,223,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(253,253,253,1) 32%,rgba(225,223,223,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(253,253,253,1) 32%,rgba(225,223,223,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(253,253,253,1) 32%,rgba(225,223,223,1) 100%); /* W3C */
	margin: 2px;
	padding: 0 5px 5px 5px;
	width: auto;
	position: inherit;
}

#header {
	background: rgb(195,195,195); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(195,195,195,1) 0%, rgba(207,207,207,1) 15%, rgba(232,232,232,1) 32%, rgba(248,248,248,1) 48%, rgba(246,246,246,1) 55%, rgba(238,238,238,1) 64%, rgba(214,214,214,1) 83%, rgba(196,196,196,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(195,195,195,1)), color-stop(15%,rgba(207,207,207,1)), color-stop(32%,rgba(232,232,232,1)), color-stop(48%,rgba(248,248,248,1)), color-stop(55%,rgba(246,246,246,1)), color-stop(64%,rgba(238,238,238,1)), color-stop(83%,rgba(214,214,214,1)), color-stop(100%,rgba(196,196,196,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(195,195,195,1) 0%,rgba(207,207,207,1) 15%,rgba(232,232,232,1) 32%,rgba(248,248,248,1) 48%,rgba(246,246,246,1) 55%,rgba(238,238,238,1) 64%,rgba(214,214,214,1) 83%,rgba(196,196,196,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(195,195,195,1) 0%,rgba(207,207,207,1) 15%,rgba(232,232,232,1) 32%,rgba(248,248,248,1) 48%,rgba(246,246,246,1) 55%,rgba(238,238,238,1) 64%,rgba(214,214,214,1) 83%,rgba(196,196,196,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(195,195,195,1) 0%,rgba(207,207,207,1) 15%,rgba(232,232,232,1) 32%,rgba(248,248,248,1) 48%,rgba(246,246,246,1) 55%,rgba(238,238,238,1) 64%,rgba(214,214,214,1) 83%,rgba(196,196,196,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(195,195,195,1) 0%,rgba(207,207,207,1) 15%,rgba(232,232,232,1) 32%,rgba(248,248,248,1) 48%,rgba(246,246,246,1) 55%,rgba(238,238,238,1) 64%,rgba(214,214,214,1) 83%,rgba(196,196,196,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c3c3c3', endColorstr='#c4c4c4',GradientType=0 ); /* IE6-9 */
	padding: 7px 7px;
}

#logo {
	margin-top: 7px;
	display: inline;
	float: left;
}

#header h1 {
	text-shadow: rgba(146, 146, 146, 0.6) 0px 4px 8px;
	font-size: 16px;
	margin-top: 15px;
}

/************* MENU ***************/
#main-menu {	
	margin-left: 70px;
	display: block;
}

#main-menu ul {
	margin: 0;
}

#main-menu ul li {
	list-style: none;
	background: #6d9fcf; /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(225,232,234,1) 0%, rgba(80,151,195,1) 5%, rgba(98,181,247,1) 40%, rgba(101,184,254,1) 56%, rgba(81,154,197,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(225,232,234,1)), color-stop(5%,rgba(80,151,195,1)), color-stop(40%,rgba(98,181,247,1)), color-stop(56%,rgba(101,184,254,1)), color-stop(100%,rgba(81,154,197,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(225,232,234,1) 0%,rgba(80,151,195,1) 5%,rgba(98,181,247,1) 40%,rgba(101,184,254,1) 56%,rgba(81,154,197,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(225,232,234,1) 0%,rgba(80,151,195,1) 5%,rgba(98,181,247,1) 40%,rgba(101,184,254,1) 56%,rgba(81,154,197,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(225,232,234,1) 0%,rgba(80,151,195,1) 5%,rgba(98,181,247,1) 40%,rgba(101,184,254,1) 56%,rgba(81,154,197,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(225,232,234,1) 0%,rgba(80,151,195,1) 5%,rgba(98,181,247,1) 40%,rgba(101,184,254,1) 56%,rgba(81,154,197,1) 100%); /* W3C */
	box-shadow:  rgb(179, 189, 196) 0 5px 8px 1px;
	border-bottom: rgb(58, 122, 138) 1px solid;
}

#main-menu ul li a, #main-menu ul li.active  {
	text-decoration: none;
	padding: 3px 25px 0 25px;
	font-weight: bold;
	font-size: 14px;
	height: 19px;
	display: block; 
	color: rgb(0, 14, 0);
	text-shadow: rgb(181, 228, 233) 0px 0px 4px;
}

#main-menu ul li a.current, #main-menu ul li.active {
	background: url("g_bl_light1.jpg") repeat-x center !important;
	box-shadow: inset -1px -2px 6px 1px rgba(4, 65, 94, 0.27)
}

#main-menu ul li a:hover {
	background-color: rgba(0, 0, 0, 0.15);
}

#logout {
	display: inline-block;
	float: right;
}

#logout a {
	text-decoration: none;
	font-weight: bold;
	padding: 0 16px;
	padding-top: 2px;
	font-size: 14px;
	color: rgb(0, 14, 0); 
	height: 20px;
	display: inline-block;
	text-shadow: rgb(181, 228, 233) 0px 0px 4px;
}

#logout a:hover {
	background-color: rgba(0, 0, 0, 0.15);
}

#menu-2 {
	background:  url("grad_gr_darker.jpg") repeat-x;
	color: rgb(0, 14, 0);
	border-bottom: 1px solid #3a7a39;
	border-top: 1px solid #389532;
	text-shadow: rgb(208, 238, 205) 0px 0px 4px;
	padding: 2px 0px;
	box-shadow: rgba(136, 135, 135, 0.36) 0px 5px 5px 1px;
	margin: 30px -25px 25px -25px;
	height: 18px;
}

#menu-2 ul {	
	margin-top: -2px;
	margin-left: -15px;
	display: inline-block;
}

#menu-2 ul li {
	list-style: none;
	display: inline-block;
}
#menu-2 ul li a {
	text-decoration: none;
	padding: 3px 20px 0 20px;
	color: rgb(0, 14, 0);
	text-shadow: rgb(208, 238, 205) 0px 0px 4px;
	font-weight: bold;
	font-size: 15px;
	height: 19px;
	display: inline-block; 
	margin-left: -3px;
}

#menu-2 ul li a.current {
	background: #96D083;
	background: url("grad_green_long.jpg") repeat-x center !important; 
	box-shadow: inset rgba(76, 111, 77, 1) 2px 3px 10px;
	border-right: 1px solid rgba(126, 201, 124, 0.87);
	border-left: 1px solid #3a7a39;
	margin-top: -1px;
	border-top: 1px solid rgba(82, 99, 82, 0.89);
}

#menu-2 ul li a:hover {
	background-color: rgba(0, 0, 0, 0.15);
}

/************* INSIDE ***************/
.h2-long h2 {
	padding: 2px 20px 2px 15px;
	font-size: 15px;
	background: url("grad_gr_darker.jpg") repeat-x;
	color: rgb(0, 14, 0);
	display: inline;
	border-right: 1px solid rgb(97, 143, 86);
}

.h2-long, #menu-inside  {
	background: url("grad_green_long.jpg") repeat-x;
	color: rgb(0, 14, 0);
	border-bottom: 1px solid #3a7a39;
	border-top: 1px solid #389532;
	text-shadow: rgb(208, 238, 205) 0px 0px 4px;
	padding: 2px 0px;
	box-shadow: rgba(136, 135, 135, 0.36) 0px 5px 5px 1px;
	margin: 30px -25px 25px -25px;
	height: 18px;
	margin-left: -5px;
	margin-right: -5px;
}

.icons, .icons-1 {
	margin: -25px -25px -33px -25px; 
	padding: 0;
	overflow: hidden;
}

.icons-1 {
	margin: 0 -25px;
	border-top: 1px solid rgb(168, 168, 168);
	box-shadow: inset rgba(170, 164, 164, 0.36) 0px 5px 5px 1px;
}

.icons a, .icons-1 a {
	margin-left: -4px;
	display: inline-block;
	border-left: 1px dotted rgb(206, 206, 206);
}

.icons img, .icons-1 img {
	border: none;
	height: 45px;
	padding: 2px 13px;
	padding: 6px 13px; /* для иконок без тени*/
	padding: 6px 9px; /* для иконок с тенью*/
}

.icons a:hover , .icons-1 a:hover {
	background: rgba(162, 162, 162, 0.2);
}

.icons a:last-child, .icons-1 a:last-child {
	padding-right: 10px;
}

.icons a:first-child, .icons-1 a:first-child {
	border-left: none;
}

.icons-menu-txt {
	margin-top: 20px;
}

.icons-menu-txt a {
	padding: 0 5px;
}

.icons-menu-txt a:first-child {
	border-left: 1px dotted rgb(206, 206, 206);
}

.margin-top-25 {
	margin-top: -25px;
}

table {
	font-size: 15px;
}

.ejudge_copyright {
	font-size: 12px;
	margin: 3px 0px
}

/**************** TABLES ******************/

.table, .table-info, .info-table {
	margin: 20px 0;
	border-collapse: collapse;
	box-shadow: rgb(209, 209, 209) 0px 0px 20px 3px;
	background: rgba(255, 255, 255, 0.37);
}

.table th, .table td, .table-info th, .table-info td {
	padding: 3px 7px; 
}

.table th {
	background: rgb(185,211,232); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(185,211,232,1) 0%, rgba(118,178,228,1) 4%, rgba(122,184,234,1) 33%, rgba(106,154,201,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(185,211,232,1)), color-stop(4%,rgba(118,178,228,1)), color-stop(33%,rgba(122,184,234,1)), color-stop(100%,rgba(106,154,201,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(185,211,232,1) 0%,rgba(118,178,228,1) 4%,rgba(122,184,234,1) 33%,rgba(106,154,201,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(185,211,232,1) 0%,rgba(118,178,228,1) 4%,rgba(122,184,234,1) 33%,rgba(106,154,201,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(185,211,232,1) 0%,rgba(118,178,228,1) 4%,rgba(122,184,234,1) 33%,rgba(106,154,201,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(185,211,232,1) 0%,rgba(118,178,228,1) 4%,rgba(122,184,234,1) 33%,rgba(106,154,201,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9d3e8', endColorstr='#6a9ac9',GradientType=0 ); /* IE6-9 */
	color: rgb(16, 35, 63);
	border: 1px solid rgb(56, 120, 189);
}

.table td{
	border: 1px solid rgb(151, 151, 151);
	background: rgba(255, 255, 255, 0.36);
	padding-top: 4px;
	padding-bottom: 4px;
}

.closed {
	background: rgb(174,174,174); /* Old browsers */
}

.table-info td, .info-table td {
	padding-top: 7px;
	padding-bottom: 10px;
}

.table-info tr, .info-table tr{
	border-bottom: 1px solid rgb(199, 199, 199);
}

.table-info tr:last-child, .info-table tr:last-child  {
	border-bottom: transparent;
}

.info-table {
	box-shadow: rgba(209, 209, 209, 0.55) 0px 2px 12px 5px;
}

.info-table th, .info-table td  {
	padding: 3px 10px;
}

.info-table td {
	border: 1px solid rgba(191, 191, 191, 0.53);
	background: rgba(255, 255, 255, 0.49);
	padding-top: 4px;
	padding-bottom: 4px;
}

#footer {
	margin-bottom: 20px;
}

hr, #header {
	margin: 0 -5px;
}

/**************** FRAME *************************/
.frame {
	margin-top: 10px;
	padding: 15px;
	border: 1px solid rgba(152, 152, 152, 0.45);
	display: inline-block;
	background: rgba(255, 255, 255, 0.60);
	box-shadow: rgba(149, 149, 149, 0.2) 0px 2px 12px 5px;
}

/************* VIEW SOURCE ************************/
#info-brief .table-scroll{
	background: none;
}

.table-scroll .table {
	margin: 0;
	box-shadow: none;
	font-size: 14px;
}

#info-brief .table td  {
	padding: 3px 5px;
}

#brief-actions {
	margin-top: 3px;
	margin-bottom: -13px;
}

#brief-actions p {
	margin: 5px 0;
}

#prog {
	background: white;
}

#msg_text {
	width: auto;
	height: 100px;
}

input {
	font-size: 13px;
	padding: 1px 6px;
}

/**************** BUTTONS ***************/

.buttons input {
	margin-bottom: 3px;
}

.a-button-style {
	background: rgb(247,247,247); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(247,247,247,1) 0%, rgba(221,221,221,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(247,247,247,1)), color-stop(100%,rgba(221,221,221,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(221,221,221,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(221,221,221,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(221,221,221,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(247,247,247,1) 0%,rgba(221,221,221,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
	font-family: "Verdana", "Arial";
	font-size: 13px;
	padding: 2px 6px 2px 6px;
	text-align: center;
	text-decoration: none;
	color: buttontext;
	display: inline-block;
	border: 1px solid #929292;
	background-clip: border-box;
	font: -webkit-small-control;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-indent: 0px;
	text-shadow: none;
	min-height: 16px;
	border-radius: 2px;
}

input[type="button"], input[type="submit"], input[type="reset"], button {
	background: rgb(247,247,247); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(247,247,247,1) 0%, rgba(221,221,221,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(247,247,247,1)), color-stop(100%,rgba(221,221,221,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(221,221,221,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(221,221,221,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(221,221,221,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(247,247,247,1) 0%,rgba(221,221,221,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
	font-family: "Verdana", "Arial";
	font-size: 13px;
	padding: 1px 6px 1px 6px;
	border: 1px solid #929292;
	border-radius: 2px;
	margin: 2px;
	display: inline-block;
	background-clip: border-box;
	font: -webkit-small-control;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-indent: 0px;
	text-shadow: none;
	height: 22px;
}

.a-button-style:hover, .a-button-style:visited {
	color: black;
}

.a-button-style:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover, button:hover {
	border: 1px solid #737373;
	background: rgb(244,244,244); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(244,244,244,1) 0%, rgba(208,208,208,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(244,244,244,1)), color-stop(100%,rgba(208,208,208,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(244,244,244,1) 0%,rgba(208,208,208,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(244,244,244,1) 0%,rgba(208,208,208,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(244,244,244,1) 0%,rgba(208,208,208,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(244,244,244,1) 0%,rgba(208,208,208,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#d0d0d0',GradientType=0 ); /* IE6-9 */
}

td.a-button-style, td.a-button-style:hover {
	background: rgb(172, 172, 172);
	border: 1px solid rgb(172, 172, 172);
	text-shadow: rgb(194, 194, 194) 0 1px;
}

/*************** MENU-INSIDE **********************/
#menu-inside {
	margin-top: 0px;
}

#menu-inside li {
	list-style: none;
	display: inline-block;
}

#menu-inside li a {
	text-decoration: none;
	padding: 2px 15px;
	font-weight: bold;	
	font-size: 15px;
	color: black !important;
}

#menu-inside li a.current {
	padding: 2px 15px;
	background: url("grad_gr_darker.jpg") repeat-x;
	color: rgb(0, 14, 0);
	display: inline;
	border-right: 1px solid rgb(97, 143, 86);
	border-left: 1px solid rgb(97, 143, 86);
}

#menu-inside li a:hover {
	background-color: rgba(0, 0, 0, 0.15);
}
