/* ******************************************* */
/* CSS file for dryfire.com.  MJL.  01/11/2022 */
/* ******************************************* */

@import url('../fonts/weblysleekui/weblysleekui.css');

* {
	box-sizing: border-box;
	line-height: 1.25em;
}

/* ******************************** */
/* Basic definitions                */
/* ******************************** */

body {					/* Sets up full width body area - including background colour for header */
	background-color: #FFFFFF;
	font: normal 1.2em WeblySleekUILight, arial, sans-serif;
}

h1, h2, h3, h4, h5 {
	color: #B48A7C;
	font-weight: bold;
	margin: 6px 0px 6px 0px;
}

h1 {
	font-size: 200%;
}

h2 {
	font-size: 160%;
}

h3 {
	font-size: 140%;
}

h4 {
	font-size: 120%;
}

h5 {
	font-size: 100%;
}

p {
	margin: 8px 0px 8px 0px;
}

br {
	margin: 0px 0px 0px 0px;
}

a {
	color: #B48A7C;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

ul, ol {
	margin: 0px 0px 0px 0px;
}

li {
	margin: 0px 0px 8px 0px;
}

img {
	display: block;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

button {
  background-color: black;
  color: white;
  font-size: 110%;
  text-align: center;
  padding: 4px 10px;
  border-radius: 12px;
}

button:hover {
  color: black; 
  background-color: white;
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

.center {
	text-align: center;
}

#logo_colour {
	color: white;
}

#announcement {
	display: block;
	border-radius: 15px;
	border: 3px solid #CCCCCC;
	margin: 20px 10% 20px 10%;
	box-shadow: 8px 8px 5px #CCCCCC;
	padding: 10px; 
	width: 80%;
}

.distance {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  border: 3px solid #CCCCCC;
  box-shadow: 8px 8px 5px #CCCCCC;
  padding: 10px;
  text-align: center;
}

/* ******************************** */
/* Structural stuff                 */
/* ******************************** */

.page-header {				/* Sets up header area full width */
	background-color: black;	/* #107010; */
	height: 92px;
	width: 100%;
}

.header {				/* Centralises the header contents */
	background-color: #FF0000; 	/* #444444;	 #187818; */
	max-width: 1000px;
	height: 92px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

.bg-nav {				/* Sets full width background colour for navigation bar - also used for footer */
	background-color: black; 	/* #107010; */
	height: 40px;
	width: 100%;
	
}

.page-nav {				/* Sets up navigation area in centre of screen  - also used for footer */
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.nav {					/* Navigation bar */
	background-color: #666666; 	/* #208020; */
	overflow: hidden;
}

.footer {				/* Page footer */
	background-color: #666666; 	/* #208020; */
	height: 40px;
	display: block;
	color: white;
	text-align: center;
	padding: 2px 0px 0px 0px;
}

.bg-content {				/* Sets full width background colour for contents section */
	background-color: white;
	height: 100%;
	width: 100%;
}

.page-content {				/* Sets up contents area in centre of screen  */
	background-color: white;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px 10px 0px 10px;
}

.content {				/* Page contents */
	display: inline-block;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0px 10px 0px 10px;
	overflow: hidden;
}

.header h1 {
	color: white;	/* #FFFF00; */
	font-size: 250%;
	margin: 0px 0px 0px 10px;
}

.header h5 {
	color: white;	/* #FFFF00;*/
	font-size: 90%;
	font-weight: normal;
	margin: 0px 0px 0px 10px;
}

.nav a {				/* Links - white text on grey background */
	float: left;	
	display: block;
	color: white;
	padding: 8px;
	text-decoration: none;
}

.nav a:hover {				/* Hovering over links - black text on grey background */
	background-color: white;
	color: #B48A7C;
}

.nav .icon {				/* Menu icon not displayed on wide screens */
	display: none;
}

/* ******************************** */
/* Media queries for responsive     */
/* layout on narrower screens       */
/* ******************************** */

@media all and (max-width:640px){
	.nav a:not(:first-child) {
		display: none;		/* Hide all links except first */
	}

	.nav a.icon {			/* Menu icon displayed on narrow screens */
		float: right;
		display: block;
	}

	.nav.responsive {
		position: relative;
		left: 66%;
		top: 40px;
	}

	.nav.responsive a.icon {
		position: absolute;
		right: 0px;
		top: 0;
	}
  
	.nav.responsive a {
		float: none;
		display: block;
		text-align: left;
	}	
}
	