/* Table of Content
==================================================
	#Reset & Basics
	#Basic Styles
	#Typography
	#Site Styles
	#Links
	#Tables
	#Lists
	#Images
	#Forms
	#Buttons
	#Misc 
*/

/* #Basic Styles
================================================== */
body {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline; 
	background: #fff;
	color: #444;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
  	border-top-style: none;
  	background-color: #F5F5F5;
  	background-repeat: repeat-x;  	
}

img {
    max-width: 100%;
    height: auto;
    width: auto;
}

/* Make Firefox images scale with screen width. The width:100% messes up on Safari */
@-moz-document url-prefix() {  
    img {   
        width: 100%;
    }
}
/*
table {
  table-layout: fixed;
}
*/
hr { 
    border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; 
}

p {
    padding: 0;
}


/* #Typography
================================================== */
body {
    font-family: "Roboto Condensed", sans-serif;
}

h1,h2,h3,h4,h5,h6,p {
    line-height: 1.0;
}

h1 { font-size: 1.0em; }
h2 { font-size: 0.85em; }
h3 { font-size: 0.7em; }
h4 { font-size: 0.55em; }
h5 { font-size: 0.3em; }
h6 { font-size: 0.15em; }

#embossed h1 {
	text-shadow: -1px -1px 1px #fff, 1px 1px 1px #000;
	color: #9c8468;
	opacity: 0.3;
	font-size: 1.5em;
	font-weight: bold;
	margin: 0px;
}

#embossedred h1 {
	text-shadow: -1px -1px 1px #fff, 1px 1px 1px #000;
	color: #B10C25;
	font-size: 1.5em;
	font-weight: bold;
	margin: 0px;
}

#titleunderline {
    width: 100%;
    height: 25px;
    margin: 0px;
    padding-left: 0px;
    padding-top: 0px;
    background-repeat: repeat-x;
    border-bottom: solid #154C8B 2px;
}

.redtext {
    color: #B10C25;
}               
.bluetext {
    color: #154C8B;
}               

/* #Site Styles
================================================== */
.box {
    text-align: center; 
	border-radius: 15px;
    -moz-border-radius-topright: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-bottomright: 15px;
    -moz-border-radius-bottomleft: 15px;
    -webkit-border-top-right-radius: 15px;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-bottom-right-radius: 15px;
    -webkit-border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    flex: 1;
}

.box p {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    margin: 0px;
}

.blueborder {
	border: 2px solid #154C8B;
}
.redborder {
	border:2px solid #B10C25;
}

.boxblueheader {
	background: #154C8B; 
	color: white; 
	padding: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-top: 0px;
}
.boxredheader {
	background:#B10C25; 
	color:white; 
	padding:5px;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    margin-top: 0px;
}
.countdown {
    background: #DDD none repeat scroll 0% 0%;
    color: #333;
    padding: 5px;
    /*position: absolute;*/
    vertical-align: baseline;
	bottom: 0px;
	margin: 2px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.boxlogos {
	width: 100%;
	border: 1px solid #CCCCCC;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row; /* works with row or column */
    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    /*justify-content: flex-start | flex-end | center | space-between | space-around;*/
	background-color: #154C8B;
    -moz-border-radius-topright: 15px;
    -moz-border-radius-topleft: 15px;
    -webkit-border-top-right-radius: 15px;
    -webkit-border-top-left-radius: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.boxbottom {
	width: 100%;
	border: 1px solid #CCCCCC;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row; /* works with row or column */
    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    /*justify-content: flex-start | flex-end | center | space-between | space-around;*/
	background-color: #154C8B;
   -moz-border-radius-topright:15px;
   -moz-border-radius-topleft:15px;
   -moz-border-radius-bottomright:15px;
   -moz-border-radius-bottomleft:15px;
   -webkit-border-top-right-radius:15px;
   -webkit-border-top-left-radius:15px;
   -webkit-border-bottom-right-radius:15px;
   -webkit-border-bottom-left-radius:15px;
   border-top-left-radius:15px;
   border-top-right-radius:15px;
   border-bottom-left-radius:15px;
   border-bottom-right-radius:15px;  
}

.headermiddle {
	width: 100%;
	display: inline;
	float: left;
	position: relative;
	border: 2px solid #EEEEEE;
	background-color: #CCCCCC;
    word-wrap: normal;
    font-size: 3.5vw;
    font-weight: bold;
    letter-spacing: 10px;
    word-wrap: normal;
    text-align: center;
    color: #B10C25;
    text-shadow: 0px 2px 1px #154C8B;   
    filter: dropshadow(color=#154C8B, offx=1, offy=1);    
}

/* IMAGE SHOWER */
/*
#thumbwrap {
	margin:75px auto;
	width:100%; 
	height:100%;
}
.thumb {
	float:left;
	position:relative;
	margin:3px;
}
.thumb img { 
	border:1px solid #000;
	vertical-align:bottom;
}
.thumb:hover {
	border:0;
	z-index:1;
}
.thumb span { 
	position:absolute;
	visibility:hidden;
}
.thumb:hover span { 
	visibility:visible;
	top:37px; 
	left:37px; 
}
*/
#thumbwrap {
	position:relative;
	margin:75px auto;
	width:252px; height:252px;
}
.thumb img { 
	border:1px solid #000;
	margin:3px;
	float:left;
}
.thumb span { 
	position:absolute;
	visibility:hidden;
}
.thumb:hover, .thumb:hover span { 
	visibility:visible;
	top:0; left:250px; 
	z-index:1;
}


/* THE DIV TO TABLE TECHNIQUE */

#tablecontainer {
    width: 100%;
    padding: 0;
    display: table;
}

#tablerow {
    display: table-row;
}

#smackleft {
    width: 50px;
    padding: 10px;
    display: table-cell;
    text-align: center;
    vertical-align: top;
}

#smackright {
    width: 50px;
    padding: 10px;
    display: table-cell;
    text-align: center;
    vertical-align: top;
}

#smackmiddle {
    padding: 10px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
}

#ownerleft {
    width: 10%;
    padding: 10px;
    display: table-cell;
    text-align: center;
    vertical-align: top;
}

#ownerright {
    width: 30%;
    padding: 10px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
}

#ownermiddle {
    padding: 10px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
}

#champleft {
    width: 20%;
    padding: 10px;
    display: table-cell;
    text-align: center;
    vertical-align: top;
}

#champright {
    padding: 10px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
}

#twocolumn {
    width: 50%;
    padding: 10px;
    display: table-cell;
    text-align: center;
    vertical-align: top;
}

#fourcolumn {
    width: 24%;
    padding: 2px;
    display: table-cell;
    text-align: center;
    vertical-align: top;
}

#fivecolumn {
    width: 18%;
    padding: 2px;
    display: table-cell;
    text-align: center;
    vertical-align: top;
}

#homeresultsteam {
    width: 100px;
    padding-left: 10px;
    display: table-cell;
    text-align: left;
    vertical-align: top;
}

#homeresultsnumber {
    width: 20px;
    padding-right: 5px;
    display: table-cell;
    text-align: right;
    vertical-align: top;
}

span.step {
    background: #CCCCCC;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #B10C25;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 5px;
    text-align: center;
    width: 1.6em; 
}

/* #Links
================================================== */

a:link { 
    color: #B10C25; 
    text-decoration: none; 
    text-transform: uppercase; 
    font-weight: normal;
}

a:active {
}
a:visited {
}
a:hover { 
	color: #154C8B; 
}

.mb a:link { 
	color: #333333; 
	text-decoration: none; 
	text-transform: uppercase; 
	font-weight: normal;
}
.mb a:active {
}
.mb a:visited {
	color: #154C8B;
}
.mb a:hover {
	color: #B10C25;
}

/* #Tables
================================================== */
table.generic { border-collapse: collapse; border-spacing: 0; margin: 0 auto; width:100%;}
table.generic caption { font-size: x-large; margin: 1em auto; font-weight: bold; } 
table.generic th, table.generic td { padding: .35em; } 
table.rounded th, table.rounded td { padding: .35em; }
table.rounded th { 
	background: #154C8B;
	color: #FFFFFF;
	text-align: left;
	font-weight: bold;
	vertical-align: bottom;
}
tr.subhead { background-color: #B10C25; color: #FFFFFF; font-weight: bold; }
td.subhead { background-color: #B10C25; color: #FFFFFF; font-weight: bold; }
table.rounded th:first-child { border-radius: 9px 0 0 0; } 
table.rounded th:last-child { border-radius: 0 9px 0 0; } 
table.rounded tr:last-child td { background:#aaa; }
table.rounded tr:last-child td:first-child { border-radius: 0 0 0 9px; }
table.rounded tr:last-child td:last-child { border-radius: 0 0 9px 0; }  
table.rounded tbody tr:nth-child(odd) { background: none; }
table.rounded tbody tr:nth-child(even) { background: #ccc; }
table.rounded tbody tr:last-child { background: none; }

table.results th, table.results td { padding: .35em; text-align: center; }
table.results th:first-child { border-radius: 9px 0 0 0; } 
table.results th:last-child { border-radius: 0 9px 0 0; } 
table.results th { 
	background: #154C8B;
	color: #FFFFFF;
	text-align: center;
	font-weight: bold;
	vertical-align: bottom;
}
table.results tr, table.results td { background:#ccc; color: #154C8B; }
table.results a:link { color: #154C8B; }
table.results a:hover { color: #B10C25; }
table.results tr:last-child td:first-child { border-radius: 0 0 0 9px; }
table.results tr:last-child td:last-child { border-radius: 0 0 9px 0; } 
	
table.owner tr, table.owner td { padding: 5px; vertical-align: top; }

table.lineup { max-width: 800px; min-width: 300px; }
table.lineup th:last-child {
    border-radius: 9px 9px 0 0;
	background: #154C8B;
	color: #FFFFFF;
	text-align: left;
	font-weight: bold;
	vertical-align: bottom;    
}      
table.lineup th:first-child { border-radius: 9px 9px 0 0; }
table.lineup th { 
	background: #154C8B;
	color: #FFFFFF;
	text-align: left;
	font-weight: bold;
	vertical-align: bottom;
}      
table.lineup th:first-child { border-radius: 9px 0 0 0; } 
table.lineup th:last-child { border-radius: 9px 9px 0 0; } 
table.lineup tr:last-child td { background:#154C8B; }
table.lineup tr:last-child td:first-child { border-radius: 0 0 0 9px; }
table.lineup tr:last-child td:last-child { border-radius: 0 0 9px 0; }  
table.lineup tbody tr:nth-child(odd) { background: none; }
table.lineup tbody tr:nth-child(even) { background: #ccc; }
table.lineup tbody tr:last-child { background: none; }    	

/* #Forms
================================================== */
/*
form header {
  margin: 0 0 20px 0; 
}
form header div {
  font-size: 90%;
  color: #999;
}
form header h2 {
  margin: 0 0 5px 0;
}
form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}
form > div > label,
legend {
	width: 30%;
    float: left;
    padding-right: 10px;
}
form > div > div,
form > div > fieldset > div {
    width: 70%;
    float: right;
}
form > div > fieldset label {
	font-size: 70%;
}
fieldset {
	border: 0;
    padding: 0;
}
*/

input.rounded2 {
    -webkit-appearance: none;
    display: inline-block;
}

.inputwrap label {
    display: inline-block;
    width: 100px;
    text-align: right;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password] {
	width: 100%;
	height: 2em;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password] {
    width: 50%;
}
textarea {
	width: 80%;
	height: 4em;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
    outline: 0;
    border-color: #4697e4;
}

@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0; 
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%; 
  }
}
@media (min-width: 1200px) {
  form > div > label,
	legend {
  	text-align: right;
  }
}

/* #Button styling
================================================== */
input#bigbutton {
  /*width: 2em;*/
  background: #154C8B; /*the colour of the button*/
  padding: 8px 14px 10px; /*apply some padding inside the button*/
  border: 1px solid #3e9cbf; /*required or the default border for the browser will appear*/
  cursor: pointer; /*forces the cursor to change to a hand when the button is hovered*/
  /*style the text*/
  font-size: 1.0em;
  font-family: 'Roboto Condensed', sans-serif; 
  letter-spacing: .1em;
  text-shadow: 0 -1px 0px rgba(0, 0, 0, 0.3); /*give the text a shadow - doesn't appear in Opera 12.02 or earlier*/
  color: #fff;
  /*use box-shadow to give the button some depth - see cssdemos.tupence.co.uk/box-shadow.htm#demo7 for more info on this technique*/
  -webkit-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;
  -moz-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;
  box-shadow: inset 0px 1px 0px #3e9cbf, 0px 5px 0px 0px #205c73, 0px 10px 5px #999;
  /*give the corners a small curve*/
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

/***SET THE BUTTON'S HOVER AND FOCUS STATES***/
input#bigbutton:hover, input#bigbutton:focus {
  color: #dfe7ea;
  /*reduce the size of the shadow to give a pushed effect*/
  -webkit-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;
  -moz-box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;
  box-shadow: inset 0px 1px 0px #3e9cbf, 0px 2px 0px 0px #205c73, 0px 2px 5px #999;
}

