/* this style sheet is linked to all 3 of my weppages which creates a coherent theme throughout*/
* {
	font-family: monospace;
	/*this makes the font family monospace*/
}
body {
	background-color: beige;
	border: 10em;
	border-color: white;
	/*this sets the background color to beige in the event that the image which i am using does not load correctly and creates a border around the page*/
}
header {
	/* this style makes the header tag have a white background, black text, a bottom border and keeps it sticking to the top corner in front of any other content*/
	color: black;
    background-color: white;
    clear: left;
    text-align: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid #85865F;

}
#menu a {
	/*this makes the links in the menu have black text, no underligning which links often have, and a box around them*/
	color: black;
	text-decoration: none;
	font-size: 14px;
	background-color: white;
	padding-top: 19px;
	padding-bottom: 22px;
	padding-left: 10px;
	padding-right: 10px;
	transition: 0.5s;/* the links will take 0.5s to change color when hovered over*/
}

#menu a:hover {
	background-color: grey;
	/*this changes the links background colour when they are hovered over*/
}

.button1{
	/*this styles the buttons in the menu*/
	border:none;
	display:inline-block;
	padding:8px 8px;
	vertical-align:middle;
	overflow:hidden;
	text-decoration:none;
	color:inherit;
	background-color:inherit;
	text-align:center;
	cursor:pointer;
	white-space:nowrap;
}
.button2{
	/*this styles the subtitle buttons*/
	border:none;
	display:inline-block;
	padding:8px 8px;
	vertical-align:middle;
	overflow:hidden;
	text-decoration:none;
	color:inherit;
	background-color:inherit;
	text-align:center;
	cursor:pointer;
	white-space:nowrap;
	width: 100%
}

p {
	/*this sets the font, text color and margins of paragraphs*/
	font-family: monospace;
	color: black;
	margin-left: 25%;
	margin-right: 25%;
}
.subtitle a{
	/*this  styles the links in subtitles*/
	text-align: center;
	background-color: grey;
	color: black;
	padding:5px;
	position: relative;
	left: 0px;
	transition: 0.5s;/*the link takes 0.5s to change color when hovered over*/
}

.subtitle a:hover {
	background-color: #85865F;
	/*this changes the background color of the subtitle to green*/
}

/********************************************************************
All of the following codes for the dropdown links to my sign up page
*********************************************************************/
.dropbtn {
    background-color: white;
    color: black;
    padding-top: 19px;
	padding-bottom: 22px;
	padding-left: 10px;
	padding-right: 10px;
    font-size: 14px;
    border: none;
    transition: 0.5s;
}

.dropdown {
    position: relative;
    display: inline-block;
    transition: 0.5s;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    transition: 0.5s;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: 0.5s;
}

.dropdown-content a:hover {
	background-color: black;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropdown:hover .dropbtn {
	background-color: grey;
}

/*this styles the background image class and tells it not to move and stay behind all other content*/
#bgthing{
	position: fixed;
	left: 0;
	top: 0;
	z-index: -1

}
/*this creates a scrollable class of content which is transparent*/
.content{
	position: relative;
	top: 500px;
	bottom: 0px;
	left: 0px;
	width: 100%;
	text-align: center;
	z-index: 0;
	padding-right: 10px
	padding-left: 10px;	
}
.opaque{
	/*this styles the opaque area of the content div to be white*/
	background-color: white;
	padding-right: 10px;
	padding-left: 10px;	
}

input[type=text], select {
	/*this styles all of the text input boxes on the sign up box */
  	width: 50%;
  	padding: 12px 20px;
  	margin: 8px 0;
  	display: inline-block;
  	border: 1px solid #ccc;
  	border-radius: 4px;
  	box-sizing: border-box;
  	align-self: center;
}
/*these next two styles make sure that the text color of the selection boxes are the correct colors*/
option{
	color:grey;
}

select{
	color: grey;
}
/*this styles the submit button in effectively the same way as the subtitles*/
#submit{
	text-align: center;
	background-color: #85865F;
	color: black;
	padding:5px;
	position: relative;
	left: 0px;
	transition: 0.5s;/* this makes the color change last 0.5s*/
}
/*this changes the color of the submit button when you hover over it*/
#submit:hover {
	background-color: green;
	border: 8px black;
}

/*this styles the selector buttons for the sport tabs */
.selector div{
	color: black;
	text-decoration: none;
	font-size: 14px;
	background-repeat: no-repeat;
	padding-top: 19px;
	padding-bottom: 22px;
	padding-left: 10px;
	padding-right: 10px;
}

/*this styles the images in the sport tabs*/
.tabimg {
	width: 60%;
	height: auto;

}

/*I have commented out the following since it is no longer necessary*/
/*
.sporttab{

}
*/

/*INTERNAL LINKS are styled so that they begin as a light green and then turn dark green when the user hovers over them
NOTE: the same class is also used for an EXTERNAL LINK*/
.intlink{
	color: #85865F;
	text-decoration: none;
	transition: 0.5s;/*this takes 0.5s to change color*/
}

.intlink:hover{
	color: green;
}