/* overrides for foundation */

/* Main banner across top of the page */
#banner {
	width: 100%;
	height: 110px;
	background: url(images/header1.jpg) left top repeat-x;
	overflow: hidden;
}

body {
	font-size: 0.8rem;
	max-width: 80rem;
	margin: auto;
}

a, a:focus, .link {
	color: #0060c0;
}
a:hover, .link:hover {
	color: #d00030;
}
.menu a, .menu a:focus {
	color: #60c0ff;
}
.menu a:hover {
	color: #ff4070;
}


/* Yellow Australian Cemeteries Index writing on the banner */
h1, h1 a, h1 a:focus {
	padding: 0.25rem 0 0.25rem 0.5rem;
	vertical-align: middle;
	text-align: center;
	font-size: 1.6rem;
	font-weight: bold;
	font-family: 'Times New Roman',Times,serif;
	color: gold;
	text-shadow: 1px 1px 4px black;
	letter-spacing: 0.05em;
	line-height: 1.1em;
}
h2 {
	padding-top: 0.25rem;
	padding-left: 0.5rem;
	font-size: 1.1rem;
	font-weight: 500;
}
h3 {
	padding-left: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	background-color: #f0f0f0;
}
h4 {
	padding-left: 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	background-color: #f0f0f0;
}
@media screen and (min-width: 40em) {
h1 {
	font-size: 1.8rem;
}
h2 {
	font-size: 1.2rem;
	font-weight: 400;
}
h3 {
	font-size: 1.0rem;
	font-weight: 500;
}
h4 {
	font-size: 0.9rem;
	font-weight: 600;
}}
@media screen and (min-width: 64em) {
h1 {
	font-size: 2.0rem;
}
h2 {
	font-size: 1.3rem;
	font-weight: 400;
}
h3 {
	font-size: 1.1rem;
	font-weight: 400;
}
h4 {
	font-size: 1.0rem;
	font-weight: 500;
}}

p {
	line-height: 1.4;
	padding-left: 0.5rem;
	margin-bottom: 0.8rem
}

ul, ol {
	padding-left: 0.5rem;
}

img {
	padding-left: 0.5rem;
	padding-bottom: 0.5rem;
}

.greyback {
	background-color: #f0f0f0;
}

/* menu */
.mainmenu {
	background-color: black;
}

form {
	margin-bottom: 1rem;
}

table tbody td, table tbody th {
	padding: 0.2rem 0.5rem 0.3rem 0.5rem;
	vertical-align: top;
	line-height: 1.1rem;
}

.adsense {
	margin: 0 0.5rem 0.5rem 0.5rem;
}

#actionbar {
	margin: 0 0.5rem 0 0.5rem;
}

/* padding around inputs */
.grid-padding-x>.cell {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.accordion, .accordion-title, .accordion-content {
	border: none;
}

.accordion-title, .accordion-title:focus {
	padding: 0.7rem 0.8rem;
	background-color: #f0f0f0;
}

label {
	font-size: 0.7rem;
	color: #805030;
	line-height: 0.9rem;
}

label.error {
	color: #d80000;
}

/* size of input boxes */
input:not([type]), input[type="text"], input[type="password"], input[type="date"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"], input[type="color"], textarea, select {
	margin: 0 0 0.25rem 0;
	height: 1.4rem;
	padding: 0 0.2rem;
	font-size: 0.8rem;
	line-height: 1.1em;
}

/* colour readonly and disabled input boxes like normal ones but with paler border */
input:not([type])[readonly], input[type="text"][readonly], input[type="password"][readonly], input[type="date"][readonly], input[type="month"][readonly], input[type="week"][readonly], input[type="email"][readonly], input[type="number"][readonly], input[type="search"][readonly], input[type="tel"][readonly], input[type="url"][readonly], input[type="color"][readonly], textarea[readonly],
input:not([type]):disabled, input[type="text"]:disabled, input[type="password"]:disabled, input[type="date"]:disabled, input[type="month"]:disabled, input[type="week"]:disabled, input[type="email"]:disabled, input[type="number"]:disabled, input[type="search"]:disabled, input[type="tel"]:disabled, input[type="url"]:disabled, input[type="color"]:disabled, textarea:disabled, select:disabled {
	background-color: #fff;
	border: 1px solid #e0e0e0;
}

/* form text that matches the style of input text boxes but can contain clickable links, with fixed height of 1 line */
.likeinput1 {
	margin: 0 0 0.25rem 0;
	height: 1.4rem;
	padding: 0 0.2rem;
	box-sizing: border-box;
	width: 100%;
	font-size: 0.8rem;
	color: #000000;
	border: 1px solid #e0e0e0;
	box-shadow: inset 0 1px 2px rgba(10,10,10,.06);
	border-radius: 0;
	transition: box-shadow .5s,border-color .25s ease-in-out;
}

/* form text that matches the style of input text boxes but can contain clickable links, with variable height */
.likeinput {
	margin: 0 0 0.25rem 0;
	min-height: 1.4rem;
	padding: 0 0.2rem;
	box-sizing: border-box;
	width: 100%;
	color: #000000;
	border: 1px solid #e0e0e0;
	box-shadow: inset 0 1px 2px rgba(10,10,10,.06);
	border-radius: 0;
	transition: box-shadow .5s,border-color .25s ease-in-out;
}

.required {
	font-weight: bold;
	color: #d80000; /* darkish-red */
}

/* containers for resizing iframes */
.map {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 75%;
}
.map iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}
