@charset "UTF-8";
/*   Maria's Horse Trekking MOBILE FIRST CSS   */

/* COLOURS

turquoise  #81bcb6
orange     #ca6c18
olive      #a7be39
dark green #5c7625

*/

body {
	background-color: white;
}
html, body {
	height: 100%;
	/* overflow: hidden; */
}
body, p, th, td, li, legend, input, label {
	font: normal 16px/1.5em 'Jost', sans-serif;
	color: #666;
	text-align: left;
}
strong {
	font-weight: 500;
	letter-spacing: -0.01em;
}
a:link, a:visited {
	color: #006699;
	text-decoration: none;
}
a:hover, a:active, a:focus {
	text-decoration: underline;
}
.wrapper {
	height: 100%;
}
ol li {
	list-style: decimal;
}

/* HEADER */
/* ====== */

header {
  background-color: white;
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}
header h1 {
	text-indent: -20000px;
	line-height: 0px;
	height: 0px;
}
header > .header-wrapper {
  display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	height:  13vh; /*  header height  */
	padding: 2vh 15px;
}
header ul {
  margin: 0; /*  overrule general ul margin  */
}
#logo-mobile {
	display: block;
}
#logo-full {
	display: none;
}
/* MENU button and nav links */
#menu-icon {
	width: 7vw;
	margin-left: 5vw;
	display: block; /* removes img pixel gap */
}
.header-wrapper > .nav-links {
  font-size: 14px;
  position: absolute;
  /* display: block; */
  width: 100%;
  height: 0px;
  overflow-y: hidden;
  top: 13vh;
  left: 0;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

/*  nav LINK styles   */
header a:link, header a:visited {
  width: 100%;
  display: block;
  color: white;
  background-color: #5c7625;
  border-bottom: 1px solid white;
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	font-size: 1.7em;
	line-height: 2.5em;
	text-align: center;
	text-decoration: none;
}
/* all active states + current */
header a:hover, header a:active, header a:focus, header a.current {
  color: white;
	background-color: #a7be39;
  /* border-bottom: 1px solid white; */
}
.header-wrapper > #nav-check {
  display: none;
}
.header-wrapper > #nav-check:not(:checked) + .nav-links {
  height: 0px;
}
.header-wrapper > #nav-check:checked + .nav-links {
  height: auto;
  overflow-y: auto;
}

/* HEADINGS */

p, h2, h3, h4, h5, h6, ol, ul {
	margin-bottom: 0.7em;
}

h2, h3, h4, h5, h6 {
	font-family: 'Jost', sans-serif;
	font-weight: 400;
	color: #5c7625;
	padding-bottom: 0.2em;
	line-height: 1.3em;
	clear: both;
}
h2 {
	font-size: 1.5em;
	letter-spacing: 2px;
}
h3 {
	color: #a7be39;
	font-size: 1.3em;
	line-height: 1.3em;
	letter-spacing: 1px;
}
h2, h3 {
	padding-bottom: 5px;
	border-bottom-width: 1px;
  border-bottom-style: solid;
  border-image: linear-gradient(90deg, #a7be39, white) 1;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
ul.list li {
	font-size: 0.95em;
	padding-left: 25px;
	background-size: 12px;
	background-position: left 4px;
	background-repeat: no-repeat;
	background-image: url("../images/bullet-horseshoe.svg");
}
ul.list li a {
	color: #5c7625;
}
ul.plus li {
	background-image: url("../images/bullet-plus.svg");
}
ol.numbers li {
	color: #a7be39;
	font-size: 0.9em;
	font-weight: bold;
	margin-left: 20px;
	padding-left: 5px;
}
ol.numbers li span {
	color: #666;
	font-weight: normal;
}
.italic {
	font-style: italic;
	font-size: 0.9em;
}

.smallprint {
	font-size: 13px;
	font-style: italic;
}

.turquoise {color: #81bcb6;}
.orange 	 {color: #ca6c18;}
.olive     {color: #a7be39;}
.darkgreen {color: #5c7625;}


/* STRUCTURE */

main {
	background-color: white;
	padding-top: 13vh; /* space for header */
	margin: 0 auto;    /* center for responsive */
	padding-left: 20px;
	padding-right: 20px;
}
.main-columns {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
section {
	margin-bottom: 50px;
}
.multi-box {
	display: flex;
	flex-direction: column;
}

/* Action panel */

.action {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-color: #f3fad5;
	margin: 0 -20px;
	padding: 5px 10px;
}
.telephone-numbers {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	border-bottom: 1px dotted #a7be39;
}
.link-telephone, .link-email {
	color: #a7be39;
	font-family: 'Oswald', sans-serif;
  text-align: center;
	font-size: 5.1vw;
	line-height: 8vw;
	margin: 0;
}
.link-telephone a, .link-email a {
	color: #5c7625;
	padding: 3px 0;
}
.link-email a {
	padding-left: 7vw;
	background-size: 5.5vw;
	background-position: 0 11px;
	background-repeat: no-repeat;
	background-image: url("../images/contact-email.svg");
}
.link-no-border img {
	border: none;
}
.link-telephone a:hover,
.link-email a:hover,
.link-telephone a:active,
.link-email a:active {
	color: #ca6c18;
	text-decoration: none;
}

/*   TABLE LISTS (tuition and bookings)  */

.price-list {
	width: 100%;
}
.price-list td {
	color: #5c7625;
	padding: 5px 0;
}
.price-list tr td:first-of-type {
	width: 50%;
	padding-left: 20px;
}
.price-list tr:nth-child(odd) {
	background-color: #f3fad5;
}
.price-list.price-school tr td:first-of-type {
	width: 20%;
	padding-right: 1.5em;
}
.price-list.price-school tr td:last-of-type {
	width: 80%;
	padding-left: 1.5em;
}

/*   HORSE LIST  */
.horse-family {
	margin: 0 auto;
}
.horse-family th {
	color: #a7be39;
	font-weight: 500;
	background: white;
}
.horse-family th,
.horse-family td {
	vertical-align: middle;
}
.horse-family tr:nth-child(odd) {
	background-color: #f3fad5;
}
.horse-family th, .horse-family td {
	padding: 5px 10px;
}
.horse-family th:nth-child(1),
.horse-family td:nth-child(1),
.horse-family th:nth-child(2),
.horse-family td:nth-child(2) {
	text-align: center;
}
.horse-family td:nth-child(1) a {
	color: #5c7625;
	font-weight: 500;
}

.livery {
	justify-content: flex-end;
}


/* ANCHORS - offset anchors to start under nav */

.anchor {
  display: block;
  position: relative;
  top: -13vh; /* postion under header */
  visibility: hidden;
}
.anchor-top {
	float: right;
	padding: 0;
}
.anchor-top img {
	width: 0.6em;
}
.anchor-text {
	float: none;
}

/* LISTS */

main li {
	margin-bottom: 0.5em;
}
main ol, main ul {
	padding-left: 20px; /* left margin */
	line-height: 1.2em;
	list-style-image: url(../images/icon-bullet-plus.svg);
	margin-bottom: 2em;
}

/* IMPORTANT BOX */

.important-box {
	text-align: center;
	padding: .8em 1em;
	margin: 2em 0 2em 0;
	background-color: #FFFFE6;
	border: 2px solid #ffcc66;
	border-radius: 8px;
}
.important-box h3 {
	text-align: center;
	color: #ca6c18;
	border-bottom: none;
	margin-bottom: 0;
}
.important-box p {
	text-align: center;
	margin-left: 0;
	margin-right: 0;
}
.important-box a {
	color: #5c7625;
}

.link-box .important-box {
	margin: 50px 0 !important;
}
.link-box h3, .link-box:hover {
	padding-bottom: 0;
	text-decoration: none !important;
}


/*  IMAGES  */

figure {
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: 1.5em;
}
figure img {
	display: block;
}
figcaption {
	color: #666;
	text-align: center;
	padding: 8px 20px 8px 20px;
	margin: 0;
	background-color: #e5e5e5;
}
.credit {
	height: 20px;
	margin-top: -20px;
	padding-right: 10px;
	font-size: 10px;
	color: white;
	text-align: right;
}
.photo-group {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
}
.photo-group img {
	width: 33%;
}
.photo-group-box {
	padding: 0 !important;
	border-radius: 8px;
	overflow: hidden;
}

/*   MAPS   */
.map {
	margin-top: 1em;
	margin-bottom: 1.5em;
	line-height: 1em;
}
.map p {
	color: #999;
	font-size: 0.8em;
	line-height: 1.1em;
}
.map-box {
	border: 1px solid #ccc;
	line-height: 0;
}
.map-box iframe {
	width: 100%;
	height: 100vw;
}

/* FOOTER */

footer {
	text-align: center;
	padding: 0 0 1em 0;
}
footer p {
	color: #999;
	font-size: 0.7em;
	line-height: 1.5em;
	text-align: center;
}
footer p a:link, footer p a:visited {
	color: #999;
}
.line-gradient {
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, white, #a7be39, white);
	margin: 1em auto;
}

/* RIGHT HAND PANEL */

.aside-box {
	text-align: center;
	background-color: white;
	margin: 0 auto 1.5em auto;
	padding: 1.5em 1em;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
}
.aside-box h2, .aside-box p, .aside-box a {
	letter-spacing: normal;
	text-align: center;
	padding: 0.3em 0;
	border: none;
}
.aside-box h2 {
	color: #4267b2;
	font-size: 1.6em;
	line-height: 1em;
}
.downloads {
	font-size: 0.9em;
	text-transform: uppercase;
	margin-bottom: 0;
}
.aside-box .downloads img {
	width: 30%;
	box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.3);
	margin: 0.5em 0 0 0;
}
.promo-box {
	background-color: #FFFFE6;
	border: 2px solid #ffcc66;
}
.promo-box h2 {
	color: #ca6c18;
}
.promo-box p {
	font-size: 0.9em;
}
.promo-box .link-telephone {
	font-size: 1em;
	color: #ca6c18;
	line-height: 1.3em;
}
.promo-box img {
	width: 100%;
}
#facebook-box {
	background: none;
	background-color: white;
}
#facebook-box h2 {
	color: #4267b2;
}
.facebook {
	text-align: center;
	margin: 2em 0 1em 0;
	padding: 0.75em 0;
	display: block;
	background-color: white;
	border: 1px solid #4267b2;
	border-radius: 5px;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
}
.facebook img {
	width: 60%;
}
.summer-school {
	background: linear-gradient(180deg, white, white, 50%, #f3fad5);
	border: 1px solid #a7be39;
}
.summer-school a {
	display: block;
}
.summer-school p {
	color: #5c7625;
	padding: 0;
	font-size: 15px;
}

/*  MISC  */

.intro {
	font-size: 1.1em;
}
.brown {
	color: #ca6c18;
}
a.brown-link:link, a.brown-link:visited {
	color: #ca6c18;
}
.underline {
	text-decoration: underline;
}
.mobile-full-width {
	margin-left: -20px;
	margin-right: -20px;
}
.mobile-only {
	display: block;
}
.mobile-tablet {
	display: block;
}
.larger-screens {
	display: none;
}



/*  MEDIA QUERIES   */
/* ================ */

/*  MEDIUM screens  */
@media screen and (min-width: 600px) {
	body {
		font-size: 16px;
		background-color: #e6e6e6;
	}
	header {
	  position: static;
	}
	header > .header-wrapper {
		height: 250px;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		padding: 0;
	}
	#logo-mobile {
		display: none;
	}
	#logo-full {
		display: block;
		height: 170px;
		margin-top: 20px;
	}
	.header-wrapper > #nav-check:not(:checked) + .nav-links {
	  height: 40px;
		position: static;
		box-shadow: none;
	}
  .header-wrapper > .nav-btn {
    display: none;
  }
  .header-wrapper > .nav-links {
		text-align: center;
    overflow-y: visible;
		background-color: #5c7625;
  }
  header ul {
		display: inline-block;
  }
  header li {
    display: inline; /* horizontal list */
  }
  header a:link, header a:visited {
		height:      40px;
		line-height: 40px;
  	width: auto;
		display: inline-block;
    color: #a7be39;
    background: none;
		border: none;
  	font-size: 1.4em;
		padding: 0 10px;
  }
	/* hover and focus - yellow */
	header a:hover, header a:focus {
		color: #ffff99;
	}
	/* active and current - red */
	header a:active, header a.current {
	  color: white;
	}

	/* COLUMN WIDTHS */

	main {
		max-width: 100%;
		padding: 0; /* static header */
		background-color: white;
	}
	article {
		flex-basis: 62.5%; /* 600/960 */
	}
	aside {
		flex-basis: 27.083333%; /* 260/960 */
	}
	.main-columns {
		flex-direction: row;
		justify-content: space-evenly;
		padding-top: 1em;
	}

	/* Action panel */
	.action {
		flex-direction: row;
		width: 100%;
		margin: 0;
		padding: 15px;
		justify-content: center;
	}
	.telephone-numbers {
		border-bottom: none;
	}
	.link-telephone, .link-email {
	  margin: 0 10px;
		text-align: left;
		font-size: 1.1em;
		line-height: 1em;
	}
	.link-telephone a, .link-email a {
		padding: 0;
	}
	.link-email a {
		padding: 0 0 0 25px;
		background-size: 20px;
		background-position: 0 8px;
	}
	.price-list td {
		padding: 5px 0;
	}
	.price-list tr td:first-of-type {
		width: 46%;
		padding-left: 10px;
		padding-right: 5px;
	}

	figure {
		margin: 0 0 2em 0;
	}
	figure.heading-image {
		margin-bottom: 1em;
	}
	figure figcaption {
		margin-top: -10px; /*  10px underlap  */
		padding-top: 18px; /*  8px + 10px underlap  */
		border-radius: 0 0 5px 5px;
	}
	figure img {
		border-radius: 5px;
	}

	.mobile-full-width {
		margin-left: 0;
		margin-right: 0;
	}
	.mobile-only, #logo-horse, #logo-text {
		display: none;
	}
	.larger-screens {
		display: inline;
	}
	.multi-box {
		flex-direction: row;
	}
	.multi-box .ul:first-child {
		width: 30%;
	}
	.intro {
		margin-bottom: 1.5em;
	}
	.important-box {
		margin-left: auto;
		margin-right: auto;
	}
}


/*  LARGER screens  */
@media screen and (min-width: 960px) {
	main {
		max-width: 960px;
	}
	.mobile-tablet {
		display: none;
	}
	article {
		padding: 0 50px;
	}
	figure {
		margin-left:  -50px;
		margin-right: -50px;
	}
}

/*   huge screens, eg. iMac Pro   */
@media screen and (min-width: 1700px) {
	body, p, th, td, li, legend, input, label {
		font-size: 22px;
		line-height: 1.6em;
	}
	header > .header-wrapper {
		height: 300px;
	}
	main {
		max-width: 1152px;
	}
	#logo-full {
		height: 204px;
		margin-top: 26px;
	}
	header-wrapper > #nav-check:not(:checked) + .nav-links {
	  height: 60px;
	}
	header a:link, header a:visited {
  	font-size: 1.2em;
		padding: 0 30px;
  }

}
