
body {
	padding: 0;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	line-height: 1.2em;
	min-height: 100vh;
	min-height: 100%;
}

@media only screen and (max-width: 500px) {
	body {
		line-height: 1.2em;
	}
}
@media only screen and (min-width: 770px) {
	body {
		font-size: 11px;
		line-height: 1.3em;
	}
}

@media only screen and (min-width: 970px) {
	body {
		font-size: 12px;
		line-height: 1.3em;
	}
}


@media only screen and (min-width: 1224px) {
	body {
		font-size: 16px;
		line-height: 1.3em;
	}
}

@media only screen and (min-width: 1824px) {
	body {
		font-size: 20px;
		line-height: 1.3em;
	}
}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Mouse Memoirs', sans-serif;
	font-weight: normal;
	margin: 0.7em 0;
	line-height: 1.2em;
}

a {
	color: #2448aa;
}

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

.full-width {
	width:100%;
	height:auto;
}

.red {
	color: #fe3636;
}
.green {
	color: #70b11f;
}
.blue {
	color: #2549ab;
}

#nav {
	background: #2448aa;
}
#main {
	background: #eff2f5;
	position: relative;
}

/* Tablet or Better */
#nav {
	float: left;
	width: 20%;
	position: fixed;
	height: 100%;
}
#nav h1 {
	margin: 0;
	font-size: 1em;
}
#nav h1 a {
	color: #fff;
	display: block;
	padding: 1em;
	
}
#nav h1 a img {
	max-width: 100%;
	height: auto;
	border: none;
}

#nav ul,
#nav ul li {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#nav ul {
	border-bottom: 0.1em solid #3e66ca; /* same as #nav ul li a border-bottom */
}
#nav ul li {
}
#nav ul li a {
	color: #fff;
	text-decoration: none;
	text-shadow: 0.1em 0.1em 0.1em #133799;
	display: block;
	padding: 1em 0.3em;
	border-left: 0.3em solid transparent;
	border-top: 0.1em solid #3e66ca;
	border-bottom: 0.05em solid #133799;
}
#nav ul li a:hover {
	background: #133799;
}
#nav ul li a.active {
	background: #133799;
	border-left: 0.3em solid #ffd35c;
}
#nav ul li a i {
	margin-right: 0.4em;
}

@media only screen and (max-width: 500px) {
	#nav {
		width: 100%;
		height: auto;
		position: relative;
		float: none;
		display: block;
	}
	#nav ul {
		display: table;
		width: auto;
		width: 100%;
	}
	#nav ul li {
		display: table-cell;
		margin: 0;
	}
	#nav ul li a span {
		display: none;
	}
	#nav ul li a {
		float: none;
		display: inline-block;
		width: auto;
		padding: 1em;
		margin: 0;
		border-left: none;
		border-bottom: 0.3em solid transparent;
		border-right: 0.1em solid #3e66ca;
		border-left: 0.05em solid #133799;
	}
	#nav ul li a.active {
		background: #133799;
		border: none;
		border-bottom: 0.3em solid #ffd35c;
	}
}

#main {
	float: right;
	width: 80%;
	min-height: 110%;
}

@media only screen and (max-width: 500px) {
	#main {
		float: none;
		width: 100%;
		min-height: 85%;
	}
}


#notif_center {
	z-index: 95 !important;
	background: #fff;
	padding: 0.5em 1em;
	max-height: 2em;
	height: 2em;
	line-height: 2em;
	box-shadow: 0 0 0.2em #dee1e4;
	
	position: fixed;
	width: 78%;
	width: calc( 80% - 2em );
}
#notif_center a {
	text-decoration: none;
	color: inherit;
	margin-left: 1.5em;
}
#notif_center_account {
	float: right;
	max-height: 100%;
}
#notif_center_account img {
	vertical-align: middle;
	height: 2em;
	width: auto;
	border-radius: 50%;
	border: none;
	margin-left: 0.3em;
}
#notif_center_alerts {
	float: right;
	position: relative;
}

#notif_center_alerts i {
	vertical-align: middle;
	position: relative;
}
#notif_center_alerts sup {
	font-size: 0.5em;
	background: #ff0000;
	color: #fff;
	padding: 0.3em;
	border-radius: 1em;
	border: none;
	width: 1em;
	height: 1em;
	line-height: 1em;
	text-align: center;
	display: inline-block;
}

@media only screen and (max-width: 500px) {
	#notif_center {
		padding: 1em;
		position: relative;
		width: auto;
	}
	#notif_center a {
		margin: 0;
	}
	#notif_center_account {
		float: left;
	}
}

#header {
	border-left: 0.5em solid #ffd35c;
	clear: both;
	text-transform: uppercase;
	background: #fdfdfd;
	
	padding: 1em 0;
	margin: 3.6em 0 0.6em 0;
	box-shadow: 0 0 0.2em #dee1e4;
	
	height: 6em;
	line-height: 1em;
	
	cursor: default;
}

#header h1 {
	float: left;
	font-size: 1em;
	height: 6em;
	line-height: 6em;
	margin: 0;
	padding-left: 1em;
	max-width: 57%;
	overflow: hidden;
	word-wrap: break-word;
}

#header h1 img {
    height: 1em;
    width: auto;
    border-radius: 100%;
    position: relative;
    top: 0.1em;
}

#header h1 strong {
	font-size: 3em;
}
#header h1 .show_teams {
	position: relative;
	margin-left: 0.2em;
	font-size: 2em;
	padding: 0.8em;
	color: #aaa;
}

#header .action_center {
	height: 6em;
}

.action_center,
.action_center li {
	float: right;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.action_center li {
	padding: 0.5em 1em;
	text-align: center;
	text-transform: uppercase;
}

.action_center li h2 {
	font-size: 2em;
	margin: 0.5em 0;
}

@media only screen and (max-width: 500px) {
	#header {
		height: auto;
		margin: 0.6em 0;
	}
	#header h1 {
		float: none;
		font-size: 1em;
		height: auto;
		line-height: 1.2em;
		margin: 0.5em 0;
		padding-left: 1em;
	}
	#header h1 strong {
		font-size: 2em;
	}
	#header h1 .show_teams {
		position: relative;
		margin-left: 2em;
	}

	#header .action_center {
		height: auto;
	}
		
	.action_center {
		float: none;
	}
	.action_center li {
		float: left;
	}
}

#body {
	padding-left: 2em;
	padding-right: 2em;
	min-height: 72%;
	min-height: 72vh;
}

#body > h1 {
	text-transform: uppercase;
	font-size: 3em;
	line-height: 1.2em;
	margin: 0.8em 0 0.1em 0;
}

#body h2 {
	font-size: 2.4em;
	line-height: 1.2em;
}

#body h3 {
	font-size: 1.9em;
	line-height: 1.2em;
}
#body .header_replacement h2 {
	margin-top:0;
	font-size:4em;
	line-height:1.2em;
	margin: 0 0 0.8em 0;
	text-transform: uppercase;
}


@media only screen and (max-width: 500px) {
	#body .header_replacement h2 {
		font-size: 3em;
	}
	.header_replacement .left,
	.header_replacement .right {
		float: none;
	}
}


.video_wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	padding-top: 25px;
	height: 0;
	width: 100%;
}
.video_wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.popup {
	z-index: 99 !important;
	display: none;
	position: fixed;
	top: 0;
	left: 20%;
	width: 72%;
	padding: 2em 4% 1em 4%;
	margin: 0px auto;
	background: #fff;
	min-height: 100vh;
}
.popup h1 {
	font-size: 4em;
	margin-bottom: 0;
	margin-top: 0;
}

@media only screen and (max-width: 500px) {
	.popup {
		left: 0;
		width: 96%;
		padding: 0.5em 2% 0.5em 2%;
	}
	.popup h1 {
		font-size: 2.4em;
		margin-bottom: 1em;
		margin-top: 0.7em;
	}
}

/* Success Messages */
div.message {
	border: none;
	background: #fff;
	text-align:center;
	margin:2em 0;
	box-shadow: 0 0 0.2em #cdd0d3;
	border-left: 0.6em solid #2044a0;
	border-right: 0.6em solid #2044a0;
	padding:1em;
	font-weight: bold;
}
div.message.error {
	border-left: 0.6em solid #E2303D;
	border-right: 0.6em solid #E2303D;
}
div.message.warning {
	border-left: 0.6em solid #FFD35C;
	border-right: 0.6em solid #FFD35C;
}
div.message.success {
	border-left: 0.6em solid #70B11F;
	border-right: 0.6em solid #70B11F;
}
/*
div.message.white {
	color: #fff;
	border: 0.1em solid #fff;
}
*/

/* Buttons */
.button {
	z-index: 90 !important;
	font-family: 'Mouse Memoirs', sans-serif;
	border: none;
	background: #2448aa;
	color: #fff;
	font-size: 1.7em;
	line-height: 1.1em;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: 0.1em 0.1em 0.1em #133799;
	box-shadow: 0.1em 0.1em 0.15em rgba(0,0,0, 0.1);
	padding: 0.3em 0.7em;
	margin: 0.6em 0.2em;
	position: relative;
	display: inline-block;
}
.button.submit {
	font-size: 2em;
	line-height: 1.2em;
}
.button.black {
	background: #111;
	text-shadow: none;
}
.button.red {
	background: #fe3636;
	text-shadow: 0.1em 0.1em 0.1em #ea2020;
}
.button.outlined {
	background: #ddd;
	text-shadow: 0.1em 0.1em 0.1em #bbb;
	color: #333;
}

.button:hover {
	background: #133588;
}
.button.black:hover {
	background: #000;
}
.button.red:hover {
	background: #bf0303;
}
.button.outlined:hover {
	background: #fff;
	box-shadow: inset 0 0 0.1em #133588;
	color: #133588;
}
.button:active {
	top: 0.1em;
	left: 0.1em;
	box-shadow: 0.02em 0.02em 0.15em rgba(0,0,0, 0.1);
}

/* Pods*/
.pod {
	background: #fff;
	padding: 0.6em 1em;
	box-shadow: 0.1em 0.1em 0.15em #aaa;
	margin: 0.8em 0;
	cursor: default;
}

.pod > h2 {
	float: left;
	max-width: 50%;
}

.pod > h2,
.pod .left {
	float: left;
	max-width: 60%;
	overflow: hidden;
	word-wrap: break-word;
}

.pod > h2 span {
	font-size: 1.2em;
}

.pod .action_center {
	float: right;
}

/* Footer */

#footer {
	line-height: 1.1em;
	padding: 1em 2em;
	background: #333;
	color: #aaa;
}
#footer a {
	text-decoration: none;
	color: #bbb;
	margin-left: 0.8em;
}
#footer a:hover {
	color: #eee;
}

a.plaintext {
	color:#000;
	text-decoration:none;
}


.ui-autocomplete {
	position: absolute;
	top: 0;
	left: 0;
	cursor: default;
	overflow-y: auto; 
	overflow-x: hidden;
	font-family: 'Roboto', sans-serif;
	font-size: 0.7em !important;
	max-height: 400px;
	max-height: 50vh;
}

.profile-pic {
    vertical-align: middle;
    height: 1em;
    width: auto;
    border-radius: 100%;
    border: none;
    margin-right: 0.3em;
}