﻿@CHARSET "UTF-8";

/* ---------------------------- General --------------------- */
body {
	font-family : Verdana,Helvetica,Arial,sans-serif;
	font-size : 84%;
	background:#B7BBCC url(stripes_body.png) repeat scroll 0 0;
	margin:0;
	color : #223344;
}

h1 {
	font-size : 2em;
	margin: 7px 0 7px 0;
}

h2 {
	font-size : 1.7em;
	margin: 7px 0 7px 0;
	padding:0;
	color : #777777;
}

a, a:visited {
	color : #a00;
	text-decoration: none
}

a:hover {
	text-decoration: underline;
	text-shadow : 1px 1px 3px #ccc;
}

/* ---------------------------- Header ---------------------- */
div.header {
	padding: 0 21px 0 21px;
	background:#AAAABB url(header_back.png) no-repeat bottom;
	font-family : 'Times New Roman',Times,serif;
	font-weight : normal;
}

.sponsor {
	margin: 0 7px 0 7px;
	float: right;
	z-index: 2;
	position: relative;
}

.sponsor  img {
	border: 1px solid #CCC;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	padding: 0px;
	background-color: white;
	border-bottom-right-radius: 14px;
	border-bottom-left-radius: 14px;
	box-shadow: 0 0 7px #353535;
	animation: fadein 0.5s ease-in;
	-webkit-animation: fadein 2.1s ease-in; /* Safari and Chrome */
}
@keyframes fadein
{
from {opacity: 0;}
to {opacity: 1;}
}
@-webkit-keyframes fadein /* Safari and Chrome */
{
from {opacity: 0;}
to {opacity: 1;}
}

.title {
	padding: 14px 0 0px 14px;
	font-size : 3.5em;
	font-weight:bold;
	color:#C82A00;
	white-space: nowrap;
	text-shadow: 3px 3px 7px #978;
}

.subtitle {
	padding: 0 0 14px 21px;
	font-size : 1.5em;
	color:#353535;
	font-style:italic;
	white-space: nowrap;
}
/* ---------------------------- Sidebar --------------------- */
.sidebar {
	margin: 49px 0 0 7px;
	width: 17em;
	float: left;
	z-index: 2;
	position: relative;
	background:#655E5A;
	color:#FFFFFF;
	line-height : 170%;
	border-radius : 5px;
}

#menu {
	padding:17px 0px 17px 17px;
	margin:0px;
}

#menu > li {
	cursor:pointer;
	list-style:none;
	list-style-position:outside;
	padding:0.1em 7px;
	border-bottom:1px solid white;
	display: none;
}

#menu > li.menufirst {
	border-top:1px solid white;
}

#menu > li.menuover {
	background:#AAAAAA;
}

#menu > li.menuselected {
	background:#E83A00;
}

#menu > li > a,
#menu > li > a:hover {
	text-decoration : none;
	color : white;
}

#langchoice {
	text-align:right;
	margin: 0 17px 7px 17px;
}

#langchoice > li{
	list-style:none;
	list-style-position:outside;
	border:none;
	display:inline;
	padding:0px;
	margin:4px;
}

#langchoice > li a {
	cursor: pointer;
}

/* ---------------------------- Center ---------------------- */
.center {
	margin: 21px 21px 0 19em;
	padding: 1em 1em 1em 3em;
	background: #EFEFEF;
	min-height: 700px;
	border-radius: 5px;
}

#main img {
	border:1px solid #ccc;
	border-right:1px solid #999;
	border-top:1px solid #ccc;
	border-bottom:1px solid #999;
	padding:7px;
	background-color:#fff;
	border-radius:5px;
	box-shadow:0 0 7px #ccc;
}

img.loader {
	display: block;
	margin : 21px auto;
}

/* ---------------------------- Footer ---------------------- */
.footer {
	margin-top: 14px;
	background:#AAAABB;
	color:#212121;
	padding: 1em;
	text-align:center;
	font-size: 70%;
}

/* ---------------------------- Answers table --------------- */
table.tablesorter {
	margin:10px 0pt 15px;
	width: 90%;
	text-align: left;
}

table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	font-weight: bold;
	color: white;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background: #E83A00;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr.odd td {
	background-color:#FAFAE0;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(http://www.mathconf.org/tablesorter/sortable_asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(http://www.mathconf.org/tablesorter/sortable_desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #D82A00;
background-position:95% 42%;
background-repeat:no-repeat;
}

/* ---------------------------- Forms ----------------------- */
form div {
	margin : 14px;
}

form div:focus {
	border:1px solid #ccc;
	border-right:1px solid #999;
	border-top:1px solid #ccc;
	border-bottom:1px solid #999;
	background-color:#fff;
	border-radius:5px;
	box-shadow:0 0 7px #ccc;
}

label {
	display : block;
}
label.labrequired:after {
	color:red;
	content:"*";
	vertical-align:top;
	font-size: 77%;
}
label.labhelp {
	font-size : 77%;
	color: #908070;
}
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }

fieldset, legend {
	border : 1px solid #771100;
	border-radius : 5px;
	box-shadow:0 3px 7px #ccc;
}
fieldset {
	background : #EFEFDD;
	padding : 21px;
	margin-bottom : 7px;
}
legend {
	padding : 7px;
	margin-left : 21px;
	background : #E83A00;
	color : white;
	font-weight : bold;
	box-shadow:0 3px 7px #ccc;
}

textarea {
	width : 100%;
}

#save, .submit {
	margin: 21px 7px 70px 7px;
	padding: 7px 21px;
}

/* ------------------------ for Print ----------------------- */
@media print {
	* {
		background: none !important;
		color: black !important;
		text-shadow: none !important;
	}
	a {
		text-decoration: underline !important;
	}
	img {
		border : solid 1px gray !important;
		border-radius: 0px !important;
	}
	.sidebar {
		display: none !important;
	}
	.header {
		padding: 0px !important;
		text-shadow: none !important;
		text-align: center !important;
	}
	.header .title {
		font-size: 210% !important;
	}
	.header .subtitle {
		font-size: 140% !important;
	}
	.center {
		margin: 0px !important;
	}
	.footer {
		display: none !important;
	}
}

