/* CUSTOM CSS */
/* Bootstrap in use */


/* GOOGLE FONTS: import rather than use inline styles on pages */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Roboto:wght@300;400;500;700;900&display=swap');

/* ADOBE FONTS: link from Alex */
@import url('https://use.typekit.net/ofl5vfp.css');

/* BASE */


html, body {
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
	font-size: 16px;
	line-height: 18px;
}

body { background-color: #F2F2F2; /* should match footer background */ }

p, label, input, ul, ol, li { 
	font-size: 16px;
	line-height: 24px;
	color: #000000;
}


h2, h3, h4, h5, h6 { 
	font-family: 'Bangers', "Roboto", "Helvetica Neue", Arial, sans-serif !important; 
	font-weight: 400; 
	color: #000000; 
	text-transform: capitalize;
	line-height: 1.1em;
}
h1 { font-family: "din-2014", "Roboto", "Helvetica Neue", Arial, sans-serif !important; font-size:52px; letter-spacing: .05em; color:#434343; font-weight: 900; }
h2 { font-size:42px; letter-spacing: .05em; margin: 20px auto; padding: 6px 5px 5px; background-color: #ddd; max-width:36%; width:auto; text-align: center; color:#111; border-radius: 4px; }
h3 { font-size:32px; letter-spacing: .05em; }
h3.account, #news h3 { font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important; }
h4 { font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important; font-size:22px; font-weight: bold; }
h5 { font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important; font-size:18px; font-weight: bold; }
h6 { font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important; font-size:16px; font-weight: bold; }

strong, b { font-weight: 600; }
label { font-weight: 600; }
.form-check label { font-weight: normal; } /* keeps checkboxes normal text */

a {
	font-weight: 600;
	color: #4E6B07;
	text-decoration: none;
}
a:hover, a:active {
	color: #343A40;
	text-decoration: underline;
}
a:link, a:visited {
	color: #4E6B07;
	text-decoration: none;
}

@media (max-width: 766px) {
	h1 { font-size: 36px; }
	h2 { font-size: 30px; max-width:100%; padding:12px 0; }
	h3 { font-size: 24px; }
	h4 { font-size: 20px; }
	h5 { font-size: 16px; }
	h6 { font-size: 12px; }
}
@media (max-width: 322px) {
	h5,h6,html,body,p,.body{ font-size: 14px; line-height: 1.25em; }
}

@media (min-width: 576px) {
	.container { max-width: 1280px; }
}

.alert {
	line-height: 1.4em;
}

hr {
  border: none;
  height: 2px;
  background-color: #777;
}

/* HEADER */

header {
	padding:10px 0;
	background-color: #F2F2F2; /* #f2f9ff */
}

#logo {
	display:block;
	margin:20px auto;
	text-align: center;
}

#logo img {
	max-width:220px;
	margin-bottom: 10px;
}
#siteDescription { 
	font-weight:400; 
	font-style: italic; 
	margin:20px;
	line-height: 120%;
	font-size:24px;
}

/* NAV */

.navbar-brand img { 
	max-height: 60px; 
}

.navbar-brand h1 { 
	font-size:2em;
	margin: 0 20px;
}

.navbar-nav a {
	padding:12px;
	font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
	color:#4E6B07;
	font-size:20px;
	font-weight:700;
	margin:0 15px;
}

.navbar-nav a:hover, .navbar-nav a:active {
	color: #343A40;
	padding-bottom: 4px;
	border-bottom: #343A40 2px solid !important;
}

.navbar-nav #LogIn, .navbar-nav #SignUp, .navbar-nav #Account {	
	padding:12px 24px;
	border-radius: 4px;
	border-bottom: transparent 2px solid;
}
.navbar-nav #LogIn { background-color:#ccc; }
.navbar-nav #SignUp, .navbar-nav #Account { 
	background-color:#4E6B07; color:#fff;
}
a:hover #SignUp, a:hover #Account { border-bottom: #b0d5fa 2px solid !important; }


/* MOBILE MENU */

.navbar-collapse a {
	text-transform: uppercase;
}

@media (max-width: 699px) {
	.navbar { display: block; }
	
	.navbar-brand img { 
		max-height: 40px; 
	}

	.navbar-brand h1 { 
		font-size:1.4em;
	}
	
	.navbar-toggler {
		height:30px;
	}
	.navbar-toggler-icon { 
		height:30px;
		font-size:30px;
		color:#333 !important;
	}
	
	.navbar-nav a { 
		padding:10px !important; 
		margin:15px 0;
		border-bottom:none !important; 
	}
	.navbar-nav a:hover, .navbar-nav a:active { border-bottom: none !important; } 
	a:hover #SignUp, a:hover #Account { border-bottom: none !important; } 

}

@media (min-width: 700px) AND (max-width: 1199px) {
	.navbar { display: block; }

	.navbar-toggler {
		height:30px;
	}
	.navbar-toggler-icon { 
		height:30px;
		font-size:30px;
		color:#333 !important;
	}
	
	.navbar-brand img { 
		max-height: 50px; 
	}
	
	.navbar-brand h1 { 
		font-size:1.8em;
	}
	.navbar-nav a { 
		padding:10px !important; 
		margin:15px 0;
		border-bottom:none !important; 
	}
	.navbar-nav a:hover, .navbar-nav a:active { border-bottom: none !important; } 
	a:hover #SignUp, a:hover #Account { border-bottom: none !important; } 
}

@media (min-width: 1200px) AND (max-width: 1550px) {
	.navbar-nav a {
		padding:6px;
		font-size:15px;
		margin:0 10px;
	}
}


/* MAIN / CONTENT / BODY */

main {
	background-color: #fff;
	padding:15px 0 60px;
}

/* FOOTER */

footer {
	padding:30px 0;
	background-color: #F2F2F2;	/* #fffdf2 */
}

footer #social i { font-size:180%; margin: 0 20px; }


/* FORMS & INPUTS */

input[type="submit"], input.btn, button.btn, a.btn, input.btnAlt, button.btnAlt, a.btnAlt {
	width:auto;
	min-width: 120px;
	padding:2px 10px;
	font-size: 16px;
	font-weight:600;
	text-transform: uppercase;
	text-align: center;
	border-radius: 2px;
	vertical-align: middle;
	position:relative;
/*	top:-2px;*/
}

/* main butt */
input[type="submit"], input.btn, button.btn, a.btn {
	background-color:#4E6B07;
	color:#fff;
	border:#777 1px solid;
}
input[type="submit"]:hover, input.btn:hover, button.btn:hover, a.btn:hover { border:#333 1px solid; color:#ddd; }

/* alt butt */
input.btnAlt, button.btnAlt, a.btnAlt {
	border:#4E6B07 1px solid;
	background-color:#ffffff;
	color:#4E6B07;
}
input.btnAlt:hover, button.btnAlt:hover, a.btnAlt:hover { border:#343A40 1px solid; color:#343A40; }

/* small butt */
input.btn.small, button.btn.small, a.btn.small {
	font-size: 14px;
	padding:2px 4px;
	min-width: 100px;
	text-transform: none;
}

/* mini butt (used for Edit button) */
input.btn.mini, button.btn.mini, a.btn.mini {
	font-size: 13px;
	text-transform: uppercase;
	padding:1px 6px;
	min-width: 30px;
}

/* big butt */
input.btn.big, button.btn.big, a.btn.big {
	font-size: 24px;
	padding:4px 20px;
	min-width: 250px;
	text-transform: none;
	border-radius: 4px;
}

input.btn-secondary, button.btn-secondary, a.btn-secondary {
	background-color:#dddddd;
	color:#333333;
	border-color:#dddddd;
}

input.btn-danger, button.btn-danger, a.btn-danger {
	background-color:#800000; /* 990000, 660000 */
	color:#ffffff;
	border-color:#800000;
}

@media (max-width: 575px) {
	input[type="submit"], input.btn, button.btn, a.btn, input.btnAlt, button.btnAlt, a.btnAlt, input.btn.secondary, button.btn.secondary, a.btn.secondary  { min-width:inherit; padding: 5px; }
}


.form-check label { margin:5px 10px; }
.form-check label:first-of-type { margin-left: 0; }

.form-group.required > label:after { 
	content:"*";
	color:#cc0000;
	padding-left:5px;
}
span.required { color:#cc0000; padding-left:5px; }

.custom-file { margin-bottom:1rem; }
.form-button { margin-top:5px; }
.form-inline label { margin-right: 15px; }

.requiredField {
	background-color:#fff5f5;
	border-color:#cc0000;
}

/* TABLE */

th { font-size: 18px; text-transform: uppercase; }
td { font-size: 16px; }


/* TOURNAMENT */

#summary .tournamentTitle {
	font-size:30px;
}
#summary i { margin-right: 15px; }

#tournament h4 {
	text-transform: none !important;
}

#tournament input, #tournament select { max-width: 500px; }

#tournament h5 {
	color:#444;
	margin: 20px 0 14px;
	padding-bottom: 5px;
	border-bottom: 1px #999 solid;
	text-transform: uppercase;
}
		
#overview h4 {
	line-height: 1.1em;
	margin-bottom: 1.1em;
	text-transform: none;
}
#overview h4:last-child {
	margin-bottom: 0;
}

.qr-img {
	height: 100%;
	max-height: 150px;
	width: auto;
	display: block;
}

/* SPECIAL */

#profilePic { 
	width:100%;
	max-width: 320px; 
	max-height: 320px;
	margin:10px auto; 
	padding:10px;
}

.currentVoteUp, .currentVoteDown, .currentVoteNeutral {
	font-weight: bold;
	font-size: 16px;
}
.currentVoteUp { color: #006600; }
.currentVoteDown { color: #cc0000; }
.currentVoteNeutral { color: #999999; }


.ui-datepicker { z-index: 1051 !important; }
.input-group-prepend { height: 42px; }

.fa { font-size:16px; margin-right:7px; vertical-align:baseline; }
.fa.tipIcon { font-size:120% !important; margin-left:4px; vertical-align:baseline; }

.green { color: #006600; }
.olive { color: #4E6B07; }
.red { color: #972b24; }
.red_imp { color: #972b24 !important; }
.redBack { background-color: #972b24 !important; }
.gray { color:#333333 !important; }
.grayLight { color: #777777; }
.highlightYellow { background-color: #FFFED1; }
.underline a { text-decoration: underline; }
.bold { font-weight: bold !important; }
.nobold { font-weight: normal !important; }

.redBack { background-color:#F9E6E3; padding:4px 8px;  }
.greenBack { background-color:#EDFDED; padding:4px 8px; }
.grayBack { background-color:#ccc; padding:4px 8px;  }

.noWrap, .nowrap, .nobreak { white-space:nowrap !important; }

p.devNote {
	font-size:14px;
    color: #982a1d;
    background-color:#ffffe0;
}

#overview {
	margin:10px 0 20px;
	text-align: left;
}

.icon {
	height:28px;
	vertical-align: middle;
	margin-right: 5px;
}

/* NEWS */

#newsLinks a { margin-right:20px; }
.fa-chevron-right { margin-left: 7px; }

a.currentNews.active, a.archiveNews.active { color:#333 !important; }
