/*
	Colors
		Red: #B40000
		Blue: #000092
		Dark Gray: rgb(51,51,51)
		Medium Gray: rgb(179,179,179)
		Light Gray: #D9D9D9
*/

/* For mobile phones: */
html, body, div, a, ol, ul, li,
menu, nav, p
{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

[class*="col-"] 
{
	width: 100%;
	float: left;
	padding: 10px;
	/* border: 1px solid red; */
}

* {
	box-sizing: border-box;
  }

.row::after 
{
content: "";
clear: both;
display: table;
}

html 
{
	font-family: "Lucida Sans", sans-serif;
}

body
{
	background: #D9D9D9;
	font-size: 12pt;
	color: rgb(51,51,51);
}

/* Header */
header 
{
	background-color: #333333;
	color: #ffffff;
	padding: 20px 0 10px 0;
	margin: 0 auto;
}

header .header-title
{
	font-weight: bold; 
	font-size: 32px;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: rgb(179,179,179);
}

/* Navigation */
#menu img
{
	vertical-align: bottom;
	max-width: 25%;
	height: auto;
}

#menu ul {
	margin: 0;
	padding: 0;
}

#menu .main-menu {
	display: none;
}

#tm:checked + .main-menu {
	display: block;
}

#menu input[type="checkbox"], 
#menu ul span.drop-icon {
	display: none;
}

#menu li, 
#toggle-menu {
	border-width: 0 0 1px;
}

#menu .sub-menu {
	background-color: #444;
	border-width: 1px 1px 0;
	margin: 0 1em;
}

#menu .sub-menu li:last-child {
	border-width: 0;
}

#menu li, 
#toggle-menu, 
#menu a {
	position: relative;
	display: block;
	color: rgb(179,179,179);
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
	text-decoration: none;
}

#menu, 
#toggle-menu {
	background-color: rgb(51,51,51);
}

#toggle-menu, 
#menu a {
	padding: 1em 1.5em;
}

#menu a {
	transition: all .125s ease-in-out;
	-webkit-transition: all .125s ease-in-out;
}

#menu a:hover {
	background-color: rgb(179,179,179);
	color: rgb(51,51,51);
}

#menu .sub-menu {
	display: none;
}

#menu input[type="checkbox"]:checked + .sub-menu {
	display: block;
}

#menu .sub-menu a:hover {
	color: #444;
}

#menu label.drop-icon, #toggle-menu span.drop-icon {
	border-radius: 50%;
	width: 1em;
	height: 1em;
	background-color: rgba(0, 0, 0, .125);
	text-shadow: 0 0 0 transparent;
	color: rgba(255, 255, 255, .75);
}

#toggle-menu>div
{
	position: relative;
}

#toggle-menu>div>.drop-icon
{
	position: absolute;
	bottom: 5px;
	right: 0;
}

#menu .drop-icon {
	line-height: 1;
	text-align: center;
	float: right;
}

#Display table
{
	width: 95%;
	margin: 0 auto;
	border: 1px solid rgb(51,51,51);
	border-radius: 7px;
	font-size: 12px;
	border-collapse: collapse;
}

table .header
{
	text-align: left;
	background-color: rgb(51,51,51);
	color: rgb(179,179,179);
}

table th>span
{
	display: inline-block;
}

table .bottom-section
{
	padding-bottom: 15px;
}

table .center
{
	text-align: center;
}

table .right
{
	text-align: right;
}

table button
{
	font-size: 12px;	
	background-color: rgb(51,51,51);
	color: #D9D9D9;
	font-weight: bold;
	border: 0px;
	cursor: pointer;
	border-radius: 7px;
	min-height: 16px;
	padding: 5px;
	vertical-align: center;
}

#Modal table input
{
	width: 50px;
	text-align: right;
}

button
{
	font-size: 14px;	
	background-color: rgb(51,51,51);
	color: #D9D9D9;
	font-weight: bold;
	border: 0px;
	cursor: pointer;
	border-radius: 7px;
	min-height: 18px;
	padding: 7px;
	vertical-align: center;
}

#played-card
{
	font-size: 14px;	
	background-color: rgb(51,51,51);
	color: #D9D9D9;
	font-weight: bold;
	border: 0px;
	border-radius: 7px;
	min-height: 18px;
	padding: 7px;
	vertical-align: center;
}

.game
{
	margin: 10px auto;
}

.title
{
	background-color: rgb(51,51,51);
	color: #D9D9D9;
	text-align: center;
	padding: 5px 0;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
	border-top: 1px solid rgb(51,51,51);
	border-right: 1px solid rgb(51,51,51);
	border-left: 1px solid rgb(51,51,51);
}

.info
{
	background-color: #B3B3B3;
	color: rgb(51,51,51);
	padding: 5px;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	border-bottom: 1px solid rgb(51,51,51);
	border-right: 1px solid rgb(51,51,51);
	border-left: 1px solid rgb(51,51,51);
	text-align: center;
	
}

.display-title
{
	display: inline-block;
	width: 55%;
	text-align: right;
}

.display-info
{
	display: inline-block;
	text-align: left;
	width: 40%;
}

.clearfix 
{
	clear: both;
}

input
{
	border-radius: 5px;
	padding: 5px;
	border: 1px solid rgb(179,179,179);
}

/* 
-----------------------
	Filter
-----------------------
*/

#Filter
{
	background-color: #F5F5F5;
	border-radius: 5px;
	border: 1px solid rgb(51,51,51);
	padding: 10px;
	margin-left: auto;
	margin-right: auto;
}

#Filter .heading
{
	font-size: 1.1rem; 
	font-weight: bold; 
	margin: 0 auto 15px auto; 
	width: 50px;	
	text-decoration: underline;
	font-variant: small-caps;
	color: #000099;
}

#Filter .label
{
	width: 60px;
	min-height: 25px;	
	text-align: right;
	display: inline-block;
}	

#filter .field
{
	width: 50px;
}

/* 
-----------------------
	END Filter
-----------------------
*/


/* 
-----------------------
	JQuery Modal 
-----------------------
*/

.modalJQuery
{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
}

.modalJQuery h2
{
	margin: 7px 0;
	text-align: center;
}


.modalJQuery > div 
{
	width: 100%;
	position: relative;
	overflow-y: scroll;
	max-height: 450px;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: rgb(253, 245, 230);
	font-size: 14px;
}

/* 
-----------------------
	END JQuery Modal 
-----------------------
*/

@media only screen and (min-width: 600px) 
{
	/* For tablets: */
	.col-s-1 {width: 8.33%;}
	.col-s-2 {width: 16.66%;}
	.col-s-3 {width: 25%;}
	.col-s-4 {width: 33.33%;}
	.col-s-5 {width: 41.66%;}
	.col-s-6 {width: 50%;}
	.col-s-7 {width: 58.33%;}
	.col-s-8 {width: 66.66%;}
	.col-s-9 {width: 75%;}
	.col-s-10 {width: 83.33%;}
	.col-s-11 {width: 91.66%;}
	.col-s-12 {width: 100%;}
}

@media only screen and (min-width: 768px) 
{
	/* For desktop: */
	.col-1 {width: 8.33%;}
	.col-2 {width: 16.66%;}
	.col-3 {width: 25%;}
	.col-4 {width: 33.33%;}
	.col-5 {width: 41.66%;}
	.col-6 {width: 50%;}
	.col-7 {width: 58.33%;}
	.col-8 {width: 66.66%;}
	.col-9 {width: 75%;}
	.col-10 {width: 83.33%;}
	.col-11 {width: 91.66%;}
	.col-12 {width: 100%;}
}

@media only screen and (max-width: 64em) and (min-width: 52.01em) {
#menu li {
	width: 33.333%;
}

#menu .sub-menu li {
	width: auto;
}
}

@media only screen and (min-width: 52em) {
#menu .main-menu {
	display: block;
}

#toggle-menu, 
#menu label.drop-icon {
	display: none;
}

#menu ul span.drop-icon {
	display: inline-block;
}

#menu li {
	float: left;
	border-width: 0 1px 0 0;
}

#menu .sub-menu li {
	float: none;
}

#menu .sub-menu {
	border-width: 0;
	margin: 0;
	position: absolute;
	top: 100%;
	left: 0;
	width: 12em;
	z-index: 3000;
}

#menu .sub-menu, 
#menu input[type="checkbox"]:checked + .sub-menu {
	display: none;
}

#menu .sub-menu li {
	border-width: 0 0 1px;
}

#menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

#menu li:hover > input[type="checkbox"] + .sub-menu {
	display: block;
}
}