/* ****************************************************************************
   Cascading Style Sheet for the TournamentSR website.

   Dependencies in this folder:
   - FaqSupport.js (required by faq.html)
   - form.css (required by dynamically generated pages)
   - forum.css (required by boardhost customization)
   - MenuBar.js
   - TournamentSR.jpg (used by PayPal checkout page)
   - TournamentSRsmall.jpg (used by PayPal checkout page)

   Dependencies in the ../media folder:
   - backsolid.jpg
   - bluegrey.jpg (required by form.css)
   - chrome2.jpg
   - greyblue.jpg (required by form.css)
   - icon_error.gif (required by form.css)
   - icon_error-note.gif (required by form.css)
   - icon_info.gif (required by form.css)
   - logodark.jpg (also required by SitePageRenderer.java)
   - nav.jpg
   - navon.jpg
   - nav_bg.png
   - required_bg.gif (required by form.css)

   Dependencies in the ../media folder from static and dynamic site pages:
   - ChromeTsrDownloadBar.png (required by SitePageRenderer.java)
   - EdgeTsrDownloadPopup.png (required by SitePageRenderer.java)
   - EdgeTsrDownloadWarning.png (required by SitePageRenderer.java)
   - FirefoxTsrDownloadIcon.png (required by SitePageRenderer.java)
   - IEDownloadComplete.png (required by SitePageRenderer.java)
   - IEDownloadWarning.png (required by SitePageRenderer.java)
   - MacChromeTsrDownloadBar.png (required by SitePageRenderer.java)
   - SafariTsrDownloadIcon.png (required by SitePageRenderer.java)
   - SmartRunSystemsLogo.png (required by help.html and index.html)
   - TsrDesktopIconMac.png (required by SitePageRenderer.java)
   - TsrDesktopIconOldMac.png (not required now, but maybe used in the future)
   - TsrDesktopIconWindows.png (required by SitePageRenderer.java)

 Dated:      Developer:           Comments:
 ----------  -------------------- ---------------------------------------------
 02/16/2022  Alex Phillips        Creation based on the TournamentSR website
                                  designed by Debbie at CompanyV.com.
 03/25/2022  Alex Phillips        Cleanup to remove extra padding and changed
                                  the FAQ coloring.
 04/13/2022  Alex Phillips        Removed outdated filter in yellowbox class.
**************************************************************************** */

/* The entire page defaults to a dark grey background */
body {
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	background-color: #303030;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 16px;
}

/* Parts of the navigation menu bar */
.menu-container {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	min-width: 800px !important;
	font-size: 11px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	background-image: url(../media/nav_bg.png);
}
.menu-container > a {
	display: block;
	float: left;
	color: #FFFFFF;
	height: 26px;
	text-decoration: none;
	padding: 8px 12px 0 12px;
}
.menu-container > a:hover, .navactive {
	color: #FFFFFF;
	background: url(../media/nav_bg.png) 0px -35px no-repeat;
}
.menuButton {
	display: block;
	height: 26px;
	color: white;
	font-size: 22px;
	background-image: url(../media/nav_bg.png);
	border: none;
	padding: 4px 24px 0 12px;
}
.menuButtonContainer {
	position: relative;
	display: inline-block;
}
.menuButtonContent {
	display: none;
	position: absolute;
	background-color: #404040;
	min-width: 160px;
	z-index: 1;
}
.menuButtonContent a {
	color: white;
	padding: 8px 8px;
	text-decoration: none;
	display: block;
}
.menuButtonContent a:hover {
	background-color: black;
}
.menuButtonContainer:hover .menuButtonContent {
	display:block;
}
.menuButtonContainer:hover .menuButton {
	background-color: black;
	background-image: none;
}

/* Area below the menu bar that is centered using 95% of the available width */
div.wrapper {
	text-align: left;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	padding: 1%;
	min-width: 800px !important;
}

/* Area within "wrapper" used for page-specific content on a white background */
div.main {
	background-color: white;
	width: 100%;
	color: black;
	padding: 0px 0px 10px 0px;
	min-width: 750px;
	min-height: 450px;
	margin-top: -10px;
	text-align: left;
}

/* Footnote information usually associated with a superscript digit */
div.footnote {
	width: 90%;
	text-align: left;
	vertical-align: bottom;
	font-size: 70%;
}

/* List item and table data styles for pages that split "main" into 2 halves */
.fiftyfifty ul li {
	list-style: square;
	list-style-position: outside;
	width: 90%;
	text-align: left;
	vertical-align: top;
	font-size: 90%;
	margin: 10px;
}
.fiftyfifty ol li {
	list-style-position: outside;
	list-style-type: decimal;
	width: 90%;
	text-align: left;
	vertical-align: top;
	font-size: 90%;
	margin: 10px 10px 10px 25px;
	font-size: 90%;
}
.fiftyfifty {
	padding: 0px;
}
.fiftyfifty td {
	padding: 5px;
	width: 50%;
	text-align: left;
	vertical-align: top;
}

/* Styles for the left and right sections of "fiftyfifty" */
div.left {
	float: left;
	width: 45%;
	padding: 20px 15px 20px 20px;
	text-align: left;
	font-size: 90%;
	background-color: white;
	vertical-align: top;
}
div.right {
	float: right;
	margin-right: 15px;
	width: 45%;
	padding: 5px 20px 20px 15px;
	text-align: left;
	vertical-align: top;
	font-size: 90%;
}
.right p, .left p, p {
	width: 90%;
	text-align: left;
	vertical-align: top;
	font-size: 90%;
	margin: 10px;
}

/* Areas within "main" used for the results page */
div.fullsize {
	background-color: #FFF;
	width: 100%;
	height: 600px;
	color: #000;
	vertical-align: top;
}
div.leftresults {
	float: left;
	width: 43%;
	padding: 5px;
	text-align: left;
	max-height: 600px !important;
	overflow: auto scroll;
	background-color: white;
	vertical-align: top;
}
div.rightresults {
	float: right;
	margin-right: 10px;
	width: 52%;
	padding: 5px;
	text-align: left;
	vertical-align: top;
	font-size: 90%;
	max-height: 600px !important;
}

/* Usually used for the page-specific content title line */
h1 {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 20px;
	text-align: center;
	padding-bottom: 0px !important;
}

/* Class for consuming all of "main" */
.fullpage {
	margin: 0px 15px 0px 15px;
}

table.display {
	margin: 15px;
}
table.display td {
	vertical-align: top;
	text-align: left
}
tr.odd {
	background-color: #b3bccc;
}
tr.even {
	background-color: #dbe3f0;
}

/* Table used for displaying program version information */
table.prettydata2 {
	border-collapse: collapse;
	padding: 10px;
	font-family: verdana, arial, sans-serif;
	font-size: 0.75em;
	line-height: 1.25em;
}
.prettydata2 th {
	border: 1px dotted Black;
	text-align: center;
	background-color: White;
}
.prettydata2 td {
	color: #000;
	font-weight: normal;
	text-decoration: none;
	text-align: left;
	padding: 10px;
}
.prettydata2 td.left {
	padding: 10px;
	text-align: left;
	vertical-align: top;
	width: 30%;
}
.prettydata2 td.right {
	padding: 10px;
	text-align: left;
	vertical-align: top;
	width: 70%;
}

/* Table used for displaying program features */
table.prettydata {
	border-collapse: collapse;
	font-family: verdana, arial, sans-serif;
	font-size: 0.75em;
	line-height: 2em;
}
.prettydata caption {
	background-image: url(../media/navon.jpg);
	font-family: georgia, "times new roman", serif;
	font-size: 1.5em;
	line-height: 2.5em;
	padding-right: 0.25em;
	text-align: right;
	color: #cccccc;
	height: 44px;
}
.prettydata th {
	background-image: url(../media/backsolid.jpg);
	padding: 10px;
	border-right: 0.8em solid #666666;
	border-left: 0.8em solid black;
	border-top: 0.8em solid #000033;
	border-bottom: 0.8em solid #000033;
	text-decoration: none;
	color: #99ccff;
	text-align: right;
}
.prettydata td {
	color: #000;
	font-weight: normal;
	text-decoration: none;
	text-align: left;
	padding: 10px;
}
.prettydata .mainth {
	color: white;
	text-decoration: none;
	text-align: center;
	font-weight: bold;
}
.prettydata .tfoot {
	background-image: url(../media/chrome2.jpg);
	color: black;
	font-weight: bold;
	text-decoration: none;
	text-align: right;
	font-style: italic;
	border: 0px;
}

/* Table used for displaying tournament results */
table.results {
	padding: 10px;
	font-family: verdana, arial, sans-serif; 
	font-size: 11px; 
	border: 1px solid #d2d7dc;
	word-wrap: break-word;
	width: 350px;
}
.results th {
	text-align: center;
	background-color: #333;
	color: #CCCCCC !important;
}
.results td { 
	padding: 2px;
	word-wrap: break-word;
}

/* Iframe used to display tournament results */
iframe.results {
	min-height: 500px !important;
	height: 500px !important;
	max-height: 500px !important;
	margin-top: 0px;
	margin-bottom: 15px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	box-shadow: 2px 2px 7px #000;
	-webkit-box-shadow: 2px 2px 7px #000;
}
.resultsonly {
	width: 100%;
	color: black;
	background-color: white;
	text-align: center;
	padding: 10px !important;
}

/* Style for putting text in a highly visible yellow area */
.yellowbox {
	box-shadow: 0px 1px 0px 0px #fff6af;
	-webkit-box-shadow: 0px 1px 0px 0px #fff6af;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23));
	background: -moz-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background: -webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background: -o-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background: -ms-linear-gradient(top, #ffec64 5%, #ffab23 100%);
	background: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
	background-color: #ffec64;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	border: 1px solid #ffaa22;
	display: inline-block;
	color: #333333;
	padding: 6px 24px;
	text-shadow: 0px 1px 0px #ffee66;
	margin-bottom: 10px;
}

/* Styles for the tabs on the FAQ page */
.tab {
	overflow: hidden;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
	vertical-align: text-top;
}
.tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.2s;
	font-size: 17px;
}
.tab button:hover {
	background-color: #bbb;
}
.tab button.active {
	background-color: #000000;
	color: #ddd;
}
.tabcontent {
	display: none;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-top: none;
}

/* Styles for the Question and Answer entries on the FAQ page */
p.faqQuestion {
	background-color: #eee;
	color: #000000;
	cursor: pointer;
	padding: 10px;
	width: 96%;
	text-align: left;
	border: none;
	outline: none;
	transition: 0.2s;
	margin-bottom: 4px;
}
p.faqQuestion:after {
	content: "\2795";
	font-size: 13px;
	color: #777;
	float: right;
	margin-left: 5px;
}
p.faqQuestion.active:after {
	content: "\2796"; 
}
p.faqQuestion.active, p.faqQuestion:hover {
	background-color: #000000;
	color: #ffffff;
}
div.faqAnswer {
	padding: 0 10px;
	background-color: #ffffff;
	max-height: 0;
	overflow: hidden;
	transition: 0.2s ease-in-out;
	opacity: 0;
	margin-bottom:4px;
}
div.faqAnswer.show {
	opacity: 1;
	max-height: 500px;
}

/* Bottom of "wrapper" used for copyright and site design information */
.footer {
	background-image: url(../media/nav.jpg);
	background-repeat: repeat-x;
	font-size: 10px;
	height: 24px;
	color: black;
	min-width: 750px;
	text-align: center; 
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
