/* global */

body {
    background: url(pattern3.png) repeat;
}

form {
	margin-right: auto;
	margin-left: auto; 
}

#main {
    border-style: groove;
    border-color: #000066;
    width: 98%;
    margin-right: auto;
    margin-left: auto;    
}

.classes
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #003366;
	border: 2px solid #000000;
	padding: 5px;
	background: url(classes.jpg) repeat;
   min-height: 200px; 
   height: auto!important;		
}

.mainHeadLbl {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border: none;
    font: normal 2em/normal "Arvo", Helvetica, sans-serif;
    color: rgb(228, 243, 249);
    text-align: center;
    -o-text-overflow: clip;
    text-overflow: clip;
    text-shadow: -2px -2px 1px rgb(255,255,255), -1px -1px 1px rgb(255,255,255), 1px 1px 1px rgba(232,247,255,0.901961), 1px 1px 0 rgb(42,101,139), 2px 2px 0 rgb(41,99,138), 2px 2px 0 rgb(40,97,136), 3px 3px 0 rgb(39,95,133), 4px 4px 0 rgb(38,93,131), 5px 6px 0 rgb(35,84,121), 6px 6px 0 rgb(31,76,113), 7px 7px 0 rgb(30,72,108), 8px 8px 1px rgba(28,67,103,0.498039), 9px 9px 10px rgba(5,13,20,0.498039);
    -webkit-transition: all 201ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
    -moz-transition: all 201ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
    -o-transition: all 201ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
    transition: all 201ms cubic-bezier(0.42, 0, 0.58, 1) 10ms;
}

h1 {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    width: 98%;
    padding: 8px;
    overflow: hidden;
    border: none;
    font: normal normal bold 16px/1 Verdana, Geneva, sans-serif;
    color: rgba(0,0,0,1);
    text-align: center;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #e6ebed;
    -webkit-box-shadow: 5px 5px 1px 0 rgba(0,0,0,0.3);
    box-shadow: 5px 5px 1px 0 rgba(0,0,0,0.3);
}

h2 {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    width: 90%;
    padding: 8px;
    overflow: hidden;
    border: none;
    font: normal normal bold 14px/1 Verdana, Geneva, sans-serif;
    color: rgba(0,0,0,1);
    text-align: center;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #e6ebed;
    -webkit-box-shadow: 5px 5px 1px 0 rgba(0,0,0,0.3);
    box-shadow: 5px 5px 1px 0 rgba(0,0,0,0.3);
}

h3 {
    font: normal normal bold 12px/1 Verdana, Geneva, sans-serif;
}

.modal
    {
        position: fixed;
        top: 0;
        left: 0;
        background-color: black;
        z-index: 99;
        opacity: 0.8;
        filter: alpha(opacity=80);
        -moz-opacity: 0.8;
        min-height: 100%;
        width: 100%;
    }
    
.loading
    {
	padding: 4px;
	font-family: Arial;
	font-size: 12pt;
	border: 5px solid #669999;
	width: 200px;
	height: 150px;
	display: none;
	position: fixed;
	background-color: White;
	z-index: 999;
    }

.calendar {
    border: ridge 3px #004F72; 
    position: relative;   
}

.button1 {
    text-decoration: none;
    text-align: center;
    padding: 6px 10px;
    border: solid 1px #004F72;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font: 12px Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #E5FFFF;
    background-color: #3BA4C7;
    background-image: -moz-linear-gradient(top, #3BA4C7 0%, #1982A5 100%);
    background-image: -webkit-linear-gradient(top, #3BA4C7 0%, #1982A5 100%);
    background-image: -o-linear-gradient(top, #3BA4C7 0%, #1982A5 100%);
    background-image: -ms-linear-gradient(top, #3BA4C7 0%,#1982A5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1982A5', endColorstr='#1982A5',GradientType=0 );
    background-image: linear-gradient(top, #3BA4C7 0%,#1982A5 100%);
    -webkit-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
    -moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
    box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
}

.buttonfilter
{
	text-decoration: none;
	text-align: center;
	padding: 6px 20px;
	border: solid 1px #004F72;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font: 12px Arial, Helvetica, sans-serif;
	
	color: #000080;
	background-color: #CCCCFF;
	-webkit-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	-moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr= '#1982A5' , endColorstr= '#1982A5' ,GradientType=0 );
}

.RacesView
{
	text-decoration: none;
	text-align: left;
	padding: 2px 2px;
	border: solid 1px #004F72;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font: 8pt Arial, Helvetica, sans-serif;
	color: #000000;	
	-webkit-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	-moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr= '#1982A5' , endColorstr= '#1982A5' ,GradientType=0 );
}

.RacesTxt
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #666666;
}

.RacesChamp
{
	text-decoration: none;
	text-align: left;
	padding: 2px 10px 2px 10px;
	border: solid 1px #004F72;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 5px;
	font: 10pt Arial, Helvetica, sans-serif;
	-webkit-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	-moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=            '#1982A5' , endColorstr= '#1982A5' ,GradientType=0 );
	color: #FFFFFF;
	font-weight: bold;
	background-color: #669999;
}

.RacesPay
{
	margin: 0px;
	border-width: 0px;
	text-decoration: none;
	text-align: left;
	padding: 0px 0px;
	font: 8pt Arial, Helvetica, sans-serif;
	color: #000000;
	border-spacing: 0px;
}

.mGridRaces
{
	width: 100%;
	margin: 5px 0 10px 0;
	border: solid 1px #525252;
	border-collapse: collapse;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	border-radius: 5px;
	background: #F4F4F4 repeat-x top;
}

.buttongrid
{
	text-decoration: none;
	text-align: left;
	padding: 5px 5px;
	border: solid 1px #004F72;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 5px;
	font: 10pt Arial, Helvetica, sans-serif;
	-webkit-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	-moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=      '#1982A5' , endColorstr= '#1982A5' ,GradientType=0 );	
}

.ListViewChkBox {
    display:none;
}

.TextBox
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: #000000;
    padding: 2px 5px 2px 5px;    
    height:20px;
}

.chkBox {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    color: #FF0000;
    font-weight: bold;
}

.LblBox {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 10pt;
    color: #000000;    
}

.LblErrBox
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #FF0000;
	font-weight: bold;
}

.AlertBox
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #FF0000;
	font-weight: bold;
}
.FileUploadClass input[type=text]
    {
        display: none;
    }
    
.Hidden
{
	display: none;
}    

.TextTable
{
	padding: 0px 5px 0px 2px;
	border-style: inset;
	border-width: thin;
	border-color: inherit;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9pt;
	background-color: #F9FCFF;
}

.LblTable
{
	border: medium inset #C0C0C0;
	font-family: 'Times New Roman' , Times, serif;
	font-size: 12pt;
	background-color: #336699;
	font-weight: bold;
	color: #FFFFFF;
}

.Photo
{
	border: 4px groove #000080;
	max-height: 120px;
	height : auto;
	max-width: 120px;
	width: auto;
}

.PhotoC
{
	border: 4px groove #000080;
	max-height: 200px;
	height : auto;
	max-width: 200px;
	width: auto;
}


.mGrid
{
	width: 100%;
	margin: 5px 0 10px 0;
	border: solid 1px #525252;
	border-collapse: collapse;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	border-radius: 5px;
	background-color: #F4F4F4;
}

    .mGrid td
{
	border-width: 1px;
	border-color: #c1c1c1;
	padding: 4px;
	color: #717171;
	border-top-style: solid;
	border-bottom-style: solid;
}

    .mGrid th {
        padding: 4px 2px;
        color: #fff;
        background: #424242 url(grd_head.png) repeat-x top;
        border-left: solid 1px #525252;
        font-size: 0.9em;
    }

    .mGrid .pgr {
        background: #424242 url(grd_pgr.png) repeat-x top;
    }

        .mGrid .pgr table {
            margin: 5px 0;
        }

        .mGrid .pgr td {
            border-width: 0;
            padding: 0 6px;
            border-left: solid 1px #666;
            font-weight: bold;
            color: #fff;
            line-height: 12px;
        }

        .mGrid .pgr a
{
	color: #C0C0C0;
	text-decoration: none;
}

            .mGrid .pgr a:hover {
                color: #000;
                text-decoration: none;
            }

/* Calendar */

#calendar {
}

#calendar caption {
	padding-bottom: 5px;
	font-weight: bold;
}

#calendar table {
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid #24130F;
	border-left: 1px solid #24130F;
	border-right: 1px solid #24130F;
}

#calendar thead th {
	padding: 5px 0;
	text-align: center;
	border-top: 1px solid #24130F;
	border-left: 1px solid #24130F;
	background: #24130F;
}

#calendar tbody td {
	padding: 5px 0;
	text-align: center;
	border-top: 1px solid #24130F;
	border-left: 1px solid #24130F;
	border-bottom: 1px solid #24130F;
}

#calendar tfoot td {
	padding: 5px;
	border-left: 1px solid #24130F;
	border-bottom: 1px solid #24130F;
}

#calendar tfoot #next {
	border-top: 1px solid #24130F;
	text-align: right;
}

#calendar tfoot #prev {
	border-top: 1px solid #24130F;
}

#calendar .pad {
	border-bottom: 1px solid #24130F;
}

#calendar #today {
	background: #24130F;
}

.buttonSM {
    -moz-box-shadow: inset 0px 0px 14px -3px #f2fadc;
    -webkit-box-shadow: inset 0px 0px 14px -3px #f2fadc;
    box-shadow: inset 0px 0px 14px -3px #f2fadc;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dbe6c4), color-stop(1, #9ba892));
    background: -moz-linear-gradient(top, #dbe6c4 5%, #9ba892 100%);
    background: -webkit-linear-gradient(top, #dbe6c4 5%, #9ba892 100%);
    background: -o-linear-gradient(top, #dbe6c4 5%, #9ba892 100%);
    background: -ms-linear-gradient(top, #dbe6c4 5%, #9ba892 100%);
    background: linear-gradient(to bottom, #dbe6c4 5%, #9ba892 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dbe6c4', endColorstr='#9ba892',GradientType=0);
    background-color: #dbe6c4;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid #b2b8ad;
    display: inline-block;
    cursor: pointer;
    color: #003366;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #ced9bf;
}

    .buttonSM:hover {
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #9ba892), color-stop(1, #dbe6c4));
        background: -moz-linear-gradient(top, #9ba892 5%, #dbe6c4 100%);
        background: -webkit-linear-gradient(top, #9ba892 5%, #dbe6c4 100%);
        background: -o-linear-gradient(top, #9ba892 5%, #dbe6c4 100%);
        background: -ms-linear-gradient(top, #9ba892 5%, #dbe6c4 100%);
        background: linear-gradient(to bottom, #9ba892 5%, #dbe6c4 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9ba892', endColorstr='#dbe6c4',GradientType=0);
        background-color: #9ba892;
    }

    .buttonSM:active {
        position: relative;
        top: 1px;
    }

.loginpanel {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    width: 600px;
    padding: 20px;
    overflow: hidden;
    border: none;
    font: normal 16px/1 Verdana, Geneva, sans-serif;
    color: rgba(255,255,255,1);
    text-align: center;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #a9c7d3;
    -webkit-box-shadow: 10px 10px 6px 1px rgba(0,0,0,0.4), 1px 1px 1px 0 rgba(0,0,0,0.3);
    box-shadow: 10px 10px 6px 1px rgba(0,0,0,0.4), 1px 1px 1px 0 rgba(0,0,0,0.3);
}

.button {
    display: inline-block;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    position: relative;
    cursor: pointer;
    top: 0;
    padding: 0 25.600000381469727px;
    border: 1px solid rgb(225,225,225);
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font: normal normal 300 15px/32px "Electrolize", Helvetica, sans-serif;
    color: rgb(102, 102, 102);
    text-align: center;
    -o-text-overflow: clip;
    text-overflow: clip;
    background: -webkit-linear-gradient(0deg, rgb(243,243,243) 0, rgb(233,233,233) 100%), rgb(238, 238, 238);
    background: -moz-linear-gradient(90deg, rgb(243,243,243) 0, rgb(233,233,233) 100%), rgb(238, 238, 238);
    background: linear-gradient(90deg, rgb(243,243,243) 0, rgb(233,233,233) 100%), rgb(238, 238, 238);
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
    -webkit-box-shadow: 0 1px 0 0 rgba(255,255,255,0.298039) inset, 0 -1px 1px 0 rgba(255,255,255,0.14902) inset, 3px 3px 0 0 rgb(187,187,187), 0 3px 3px 0 rgba(0,0,0,0.2);
    box-shadow: 0 1px 0 0 rgba(255,255,255,0.298039) inset, 0 -1px 1px 0 rgba(255,255,255,0.14902) inset, 3px 3px 0 0 rgb(187,187,187), 0 3px 3px 0 rgba(0,0,0,0.2);
    -webkit-transition: all 0.1s cubic-bezier(0.25, 0.25, 0.75, 0.75);
    -moz-transition: all 0.1s cubic-bezier(0.25, 0.25, 0.75, 0.75);
    -o-transition: all 0.1s cubic-bezier(0.25, 0.25, 0.75, 0.75);
    transition: all 0.1s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}

.GridDownLoad {
    background-image: url('../images/download.png') !important;    
}