/* $Id$ */

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


#container /* the big block, which includes all other blocks */
{
        position:absolute; 
        z-index:0;
        width: 96%;
        margin-left: 30px;        
}

#l11 /* the block, which contains the logo */
{
        position: absolute;
        left: 0px;
        top: 30px;
        width: 120px;
        height: 120px;        
        background-color: #FFFFFF;
}
#l12 /* the common block for the title and menu lines */
{
        position: absolute;
        left: 0px;
        top: 30px;
        width: 100%;
        height: 100px;
        display: block;
}

#l13 /* the main block which contains information about server, footer and the content of the page between them */
{
        position:relative; 
        z-index:0;
        width: 100%;	
        top: 150px;
        left: 0px;
}

div.main_phrase /* the title of the current page */
{
        font-family: "Verdana", "Arial";
        font-weight: 800;
        font-size: 16px;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left:130px;
}

div.user_actions /* top menu line */
{ 
        background-color: rgb(102, 204, 255);
        width: 100%;
}
	 
div.white_empty_block /* white line */
{
        width: 100%;
}
	 
div.contest_actions /* bottom menu line */
{ 
        background-color: rgb(102, 204, 255);
        width: 100%;
}


div.user_action_item /* one item in the top menu line */
{
        font-family: "Verdana","Arial";
        font-size: 11px;
        font-weight: 800;
        text-align: center;
        padding-left:10px;
        padding-right:10px;
}
	 
div.contest_actions_item /* one item in the bottom menu line */
{
        font-family: "Verdana","Arial";
        font-size: 11px;
        font-weight: 800;
        text-align: center;
        padding-left:10px;
        padding-right:10px;
}
	 
select
{ 
        font-family: "Verdana","Arial";
        font-weight: normal;
        font-size: 9px;
        padding: 0px 0px 0px 0px;
}

button
{ 
        font-family: "Verdana","Arial";
        font-weight: normal;
        font-size: 9px;    
        padding: 0px 0px 0px 0px;
}

input
{ 
        font-family: "Verdana","Arial";
        font-weight: normal;
        font-size: 9px;    
        padding: 0px 0px 0px 0px;
}

#footer /* copyright, etc...*/
{
        width: 750px;
        padding: 10px 10px 10px 10px;
}
	 
p.ejudge_copyright /* just copyright */
{
        font-family: "Verdana","Arial";	 	
        font-size: 10px;    
}
	 
div.server_status_on /* server status block when the server is up */
{
        background-color: #aaffaa;
        padding: 0px 10px 10px 10px;
}

div.server_status_off /* server status block when the server is down */
{
        background-color: #aaaaaa;
        padding: 0px 10px 10px 10px;
}

div.server_status_alarm /* server status block when the server is up */
{
        background-color: #ffffaa;
        padding: 0px 10px 10px 10px;
}

div.dotted
{
	border-style: dotted;
	border-width: 1px;
	padding: 0px 10px 10px 10px;
	margin: 10px 10px 10px 10px;
}

div.big_string /* the header for some content section */
{
        font-family: "Verdana","Arial";
        font-weight: normal;
        font-size: 14px;    
        padding: 10px 2px 10px 2px;	
}

A.menu /* menu link should not be underlined */
{
        color: #000000;
        text-decoration: none;
}

A.menu:visited /* menu item should not change the color when visited */
{
        color: #000000;
}

A.menu:hover /* menu link is highlighted when mouse is on */
{
        background-color: #FFFFFF;
}

A /* common link should be underlined */
{
        color: #000000;
        text-decoration: underline;
}

A:visited /* common link should be marked if visited */
{
        color: #696969;
}

table.menu /* menu table has no border */
{
        border-style: none;
        margin-left: 130px;
}

td.menu /* menu table item has no border */
{ 
        border-style: none;
}

table /* common table has no border */
{
        border-style: none;
}

td /* common table item has no border */
{
        border: none;
        margin: 1px;
}

th /* common table item has no border */
{
        border: none;
        margin: 1px;
}

p.fixed_width
{
        width: 750px;
}

table.b1 /* table for problem summary and logs */
{
        border-style: none;
        border-collapse: collapse;
        border: solid;
        border-width: 1px;
        border-color: #000000;
        margin: 1px;
}

td.b1 /* for summary tables */
{
        border: solid;
        border-width: 1px;
        border-color: #000000;
        margin: 1px;
}

th.b1 /* for summary tables */
{
        border: solid;
        border-width: 1px;
        border-color: #000000;
        margin: 1px;
}

table.b0
{
        border-style: none;
}
td.b0
{ 
        border-style: none;
}

/* standings view */
TABLE.standings { border-style: none; border-collapse: collapse; width: 95%; }
TH.st_team{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; font-weight: 600;}
TD.st_team{font-size: 11px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; }

TH.st_place{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; }
TD.st_place{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; }

TH.st_prob{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 0px; }
TD.st_prob{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 0px; }

th.st_avatar {font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 0px; }
td.st_avatar {font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 0px; }

TH.st_pen{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 0px; }
TD.st_pen{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 0px; }

TH.st_total{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 0px; }
TD.st_total{font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 0px; }

TH.st_score {font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; font-weight: 600;}
TD.st_score {font-size: 11px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; }

TH.st_extra {font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; font-weight: 600;}
TD.st_extra {font-size: 11px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; }

TH.st_warns {font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; font-weight: 600;}
TD.st_warns {font-size: 11px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; }

TH.st_status {font-size: 12px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; font-weight: 600;}
TD.st_status {font-size: 11px; border: solid; border-width: 1px; border-color: #000000; margin: 1px; }

td.cell_attr_first { background-color: #88ffff; }
td.cell_attr_rj { background-color: #cccc99; }
td.cell_attr_sm { background-color: #cc9999; }
td.cell_attr_pr { background-color: #bbcc99; }
td.cell_attr_dq { background-color: #ffcccc; }
td.cell_attr_tr { background-color: #ffff88; }
td.cell_attr_cf { background-color: #ff8888; }

/* tabs */

#tabs ul {
        list-style: none;
        padding: 0;
        margin: 0;
}
    
#tabs li {
        float: left;
        border: 1px solid #bbb;
        border-bottom-width: 0;
        margin: 0;
}
    
#tabs a {
        text-decoration: none;
        display: block;
        background: #eee;
        padding: 0.24em 1em;
        color: #00c;
        width: 10em;
        text-align: center;
}
	
#tabs a:hover {
        background: #ddf;
}
	
#tabs #selected {
        border-color: black;
}
	
#tabs #selected a {
        position: relative;
        top: 1px;
        background: white;
        color: black;
        font-weight: bold;
}
	
#cnts_edit_content {
	border: 1px solid black;
        clear: both;
        padding: 0 1em;
}

table.cnts_edit {
        border: none;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
}

td.cnts_edit_head {
	font-size: 12pt;
        font-family: "Sans-Serif";
        font-weight: bold;
        text-align: center;
        height: 30px;
        border: none;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
}

td.cnts_edit_legend {
	font-size: 12pt;
        font-family: "Sans-Serif";
        text-align: left;
        height: 30px;
        border: none;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
}

td.cnts_edit_data {
        border: none;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
}

div.cnts_edit_data {
	font-size: 12pt;
        font-family: "Sans-Serif";
        /* height: 30px; */
}

div.cnts_edit_inlined {
        display: inline;
	font-size: 12pt;
        font-family: "Sans-Serif";
        height: 30px;
        overflow: hidden;
}

td.cnts_edit_clear {
        border: none;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
}

pre.ip_summary {
	font-size: 10pt;
}

th.cnts_edit_legend {
	font-size: 12pt;
        font-family: "Sans-Serif";
        font-weight: bold;
        text-align: center;
        height: 30px;
        border: none;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
}

div.ej_dd {
        position: absolute;
        display: none;
        margin: 5px; padding: 5px;
        border: 1px solid #aaa;
        background-color: #efefef;
        float: none;
}

div.ej_stat_menu_item {
        display: block;
        border: 1px solid #aaa;
        font-family: "DejaVu Sans Mono", "Courier New", "Courier", "monospace";
        width: 180px;
}
