/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
	 Base styles: opinionated defaults
	 ========================================================================== */

html {
		color: #222;
		font-size: 1em;
		line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
		background: #b3d4fc;
		text-shadow: none;
}

::selection {
		background: #b3d4fc;
		text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
		display: block;
		height: 1px;
		border: 0;
		border-top: 1px solid #ccc;
		margin: 1em 0;
		padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
		vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
		border: 0;
		margin: 0;
		padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
		resize: vertical;
}

/* ==========================================================================
	 Browser Upgrade Prompt
	 ========================================================================== */

.browserupgrade {
		margin: 0.2em 0;
		background: #ccc;
		color: #000;
		padding: 0.2em 0;
}

/* ==========================================================================
	 Author's custom styles
	 ========================================================================== */
html,body{
	font-size: 12pt;
	position: relative;
  height: 100%;
  margin: 0px;
  padding: 0px;
  z-index: 0;
}

h1
{
	font-size: 2em;
}
h2
{
	font-size: 1.5em;
}
h3
{
	font-size: 1.25em;
}

.wrapper
{
	position: relative;
	min-height: 99%;
	z-index: 1;
	padding-bottom: 5em;
	border: 1px solid rgba(1,1,1,0.0);
}
/* ==========================================================================
	 flex box classes
	 ========================================================================== */
.myflex-container{
	position: relative;
	width: 100%;

	display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;

  justify-content: center;
	flex-flow: row wrap;
	align-items: flex-start;
}

.myflex-col-container{
	position: relative;
	width: 100%;

	display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;

  justify-content: center;
	flex-flow: column;
}


.myflex-item-stretch
{
	flex-grow: 2;
}

.myflex-col-container div
{
	position: relative;
	width: 600px;
	margin: 0px auto;
}

.input-widget{
	margin: 1em 1em;
	border: 5px double rgb(37, 161, 98);
	color: rgb(37, 161, 98);
}

.my-content{
	width: 600px;
}

.max-width-1200{
	width: 100%;
	margin: 0px;
}

.standard-form
{
	width: 100%;
}

.table-legend
{
	margin-top: 1em;
	font-size:10pt;
	color: rgb(200,200,200);
}


.input-widget h2{
	color: rgb(255,255,255);
	margin: 0px;
	padding: 0px;
}

.input-widget h3{
	color: rgb(37, 161, 98);
	padding-left: 0.75em;
}

.input-widget h2{
	color: rgb(255,255,255);
	background-color: rgb(37, 161, 98);
	line-height: 2em;
	padding-left: 0.5em;
}


.rounded-5
{
	border-radius: 5px;
	padding: 0em 0em 0.25em 0em;
	margin-bottom: 0.5em;
}

/*******************************************************************************************/
@media screen and (min-width: 800px)
{
	body{
		font-size: 13pt;
	}

	.input-widget{
		width: 45%;
	}

	.standard-form
	{
		width: 600px;
	}
}

/*******************************************************************************************/
@media screen and (min-width: 1200px)
{
	body{
		font-size: 14pt;
	}

	.input-widget{
		margin: 1em 0.25em;
		width: 32%;
	}
	.max-width-1200{
		width: 1200px;
		margin: 0px auto;
	}
}
/*******************************************************************************************/

/*******************************************************************************************/
@media screen and (max-width: 512px)
{
	body{
		font-size: 12pt;
	}

	.input-widget{
		width: 100%;
	}

	.myflex-col-container div
	{
		position: relative;
		width: 100%;
		margin: 0px auto;
	}

	.myflex-container
	{

	}

	h1, h2, h3, h4
	{
		margin: 0.25em 0.25em;
	}

	.rounded-5
	{
		margin-bottom: 0em;
		border-radius: 1px;
	}

	.input-widget
	{
		margin: 0.0em 0em;
	}

	.input-widget h2
	{
		line-height: 1.5em;
	}
	.input-widget h3
	{
		line-height: 1.5em;
		padding: 0em;
	}
	p
	{
		margin: 0.0em 0.5em;
	}

}
/*******************************************************************************************/

.input-label-text{
	width: 3em;
}

.input-label{
	width: 1em;
	line-height: 2em;
}

.input-label-button{
	width: 6em;
}

.input-flag{
	min-width: 2.5em;
}

.input-flag img
{
	height: 2em;
	border: 1px solid rgb(37, 161, 98);
}

.input-button input{
	margin-left: 5px;
	margin-right: 5px;
}

.input-label-text input
{
	width: 3em !important;
	color: rgb(0, 0, 0);
	height: 2em;
	line-height: 2em;
}

.input-label-text img
{
	height: 2em;
}

.align-left
{
	text-align: left;
}
.align-right
{
	text-align: right;
}
.align-center
{
	text-align: center;
}

.green
{
	color: rgb(0,255,0);
}

.red
{
	color: rgb(255,0,0);
}

.odd
{
	background-color: rgb(200,200,200);
}

.even
{
	background-color: rgb(233,233,233);
}

.running
{
	background-color: rgb(180,20,50);
}

.ready
{
	background-color: rgb(255,255,255);
}

.highlight:hover{
	background-color: rgb(233,233,233);
}

.input-error
{
	border-color: rgb(255,0,0);
}

.img-flag-sm
{
	height: 1em;
}

.bg-blue
{
	background-color: rgb(54, 149, 250);
}

.bet-entry
{
	color: rgb(255, 255, 255);
}

.bet-input-area
{
	margin: 1em;
}

.bet-entry h1,
.bet-entry h2,
.bet-entry h3,
{

}

.error-message
{
	padding: 0.5em;
}

.footer-area
{
	position: absolute;
	bottom: 0px;
	left:0px;
	right:0px;
	min-height: 2em;
	background-color: rgba(180, 180, 180, 0.05);
	border-top: 1px solid rgba(50,50,50, 0.2);
	margin-top: 1em;
	padding-top: 0.25em;
	z-index: 100;
	clear: both;
}

.footer-text
{
	font-size: 10pt;
	color: rgb(180, 180, 180);
	line-height: 2em;
}

/* ==========================================================================
	 Helper classes
	 ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
		display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
		border: 0;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
		clip: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		position: static;
		width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
		visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
		content: " "; /* 1 */
		display: table; /* 2 */
}

.clearfix:after {
		clear: both;
}

/* ==========================================================================
	 EXAMPLE Media Queries for Responsive Design.
	 These examples override the primary ('mobile first') styles.
	 Modify as content requires.
	 ========================================================================== */

@media only screen and (min-width: 35em) {
		/* Style adjustments for viewports that meet the condition */
}

@media print,
			 (-webkit-min-device-pixel-ratio: 1.25),
			 (min-resolution: 1.25dppx),
			 (min-resolution: 120dpi) {
		/* Style adjustments for high resolution devices */
}

/* ==========================================================================
	 Print styles.
	 Inlined to avoid the additional HTTP request:
	 http://www.phpied.com/delay-loading-your-print-css/
	 ========================================================================== */

@media print {
		*,
		*:before,
		*:after {
				background: transparent !important;
				color: #000 !important; /* Black prints faster:
																	 http://www.sanbeiji.com/archives/953 */
				box-shadow: none !important;
				text-shadow: none !important;
		}

		a,
		a:visited {
				text-decoration: underline;
		}

		a[href]:after {
				content: " (" attr(href) ")";
		}

		abbr[title]:after {
				content: " (" attr(title) ")";
		}

		/*
		 * Don't show links that are fragment identifiers,
		 * or use the `javascript:` pseudo protocol
		 */

		a[href^="#"]:after,
		a[href^="javascript:"]:after {
				content: "";
		}

		pre,
		blockquote {
				border: 1px solid #999;
				page-break-inside: avoid;
		}

		/*
		 * Printing Tables:
		 * http://css-discuss.incutio.com/wiki/Printing_Tables
		 */

		thead {
				display: table-header-group;
		}

		tr,
		img {
				page-break-inside: avoid;
		}

		img {
				max-width: 100% !important;
		}

		p,
		h2,
		h3 {
				orphans: 3;
				widows: 3;
		}

		h2,
		h3 {
				page-break-after: avoid;
		}
}
