/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Font Face for custom fonts
   ========================================================================== */
 
@font-face {
	font-family: 'AzoSans-Light';
	src: url('../fonts/AzoSans-Light.eot');
	src: url('../fonts/AzoSans-Light.eot?#iefix') format('embedded-opentype'),
       url('../fonts/AzoSans-Light.svg#AzoSans-Light') format('svg'),
       url('../fonts/AzoSans-Light.ttf') format('truetype'),
       url('../fonts/AzoSans-Light.woff') format('woff'),
       url('../fonts/AzoSans-Light.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'ArialRoundedMTBold';
	src: url('../fonts/ArialRoundedMTBoldMTBold.eot');
	src: url('../fonts/ArialRoundedMTBold.eot?#iefix') format('embedded-opentype'),
	   url('../fonts/ArialRoundedMTBold.svg#Arial-Rounded') format('svg'),
       url('../fonts/ArialRoundedMTBold.ttf') format('truetype'),
       url('../fonts/ArialRoundedMTBold.woff') format('woff'),
       url('../fonts/ArialRoundedMTBold.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
  font-family: 'ArialRoundedMTBold';
  
  font-weight: normal;
  font-style: normal;
}
 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */

header {
	background: url("../img/south-africa.jpg");
	no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	width: 100%;
	padding-top: 66.66%;
	position: relative;
}

header img {
	padding-top: 3%;
	margin: 0 auto;
	display: block;
	width: 50%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

header h1 {
	color: #ffffff;
	text-align: center;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 auto;
	font-size: calc(22px + 45 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	padding-top: 33%;
	font-family: Arial;
	font-style: bold;
	line-height: 110%;
}

header p {
	color: #ffffff;
	text-align: center;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 auto;
	font-size: calc(16px +  45 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	padding-top: 60%;
	font-family: ArialRoundedMTBold;
	font-style: bold;
	line-height: 110%;
}

.thankYou h1 {
	color: #ffffff;
	text-align: center;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 auto;
	font-size: calc(15px + 44 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	padding-top: 22%;
	font-family: Arial;
	font-style: bold;
	line-height: 110%;
}

.thankYou p {
	color: #ffffff;
	text-align: center;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 auto;
	font-size: calc(14px +  43 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	padding-top: 30%;
	font-family: ArialRoundedMTBold;
	font-style: bold;
	line-height: 110%;
}

.privacyPolicy h1 {
	color: #000000;
	text-align: left;
	font-size: 24px;
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: ArialRoundedMTBold;
	Margin-bottom: 0;
}

.privacyPolicy h2 {
	color: #000000;
	text-align: left;
	font-size: 20px; /*calc(21px + 45 * ((100vw - 360px) / 962));*/
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: ArialRoundedMTBold;
	margin: 0;
	padding: 0;
}

.privacyPolicy h3 {
	color: #000000;
	text-align: left;
	font-size: 16px;
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: Arial;
	margin: 0;
	padding: 0;
}

.privacyPolicy h4 {
		color: #000000;
	text-align: left;
	font-size: 15px;
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: ArialRoundedMTBold;
	margin: 0;
	padding: 0;
	clear: both;
}


#homeButton {
	color: #ffffff;
	text-align: center;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 auto;
	font-size: calc(12px +  39 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	padding-top: 50%;
	font-family: ArialRoundedMTBold;
	font-style: bold;
	line-height: 110%;
}

.footerNoGap {
	margin: 0;
	padding: 0;
}

#blackBack {
	background-color: black;
}

section {
	display: block;
	width: 80%;
	margin: 0 auto;
	margin-top: -13px;
}

#title {
	margin-top: 0;
}

#title h1 {
	color: #354D11;
	text-align: center;
	font-size: calc(16px +  40 * ((100vw - 360px) / 962));
	font-family: Arial;
	margin-bottom: 10px;
}

button {
  background-color: #5A7B27;
  border: none;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: block;
  font-size: 15px;
  margin: 0 auto;
  border-radius: 5px;
  font-family: AzoSans-Light;
  clear: both;
}

a {
	text-decoration: none;
}

h1 {
	color: #000000;
	text-align: center;
	font-size: calc(21px + 45 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: ArialRoundedMTBold;
	Margin-bottom: 0;
	clear: both;
}

.cont1 {
	width: 47%;
	float: left;
}

.cont2 {
	width: 47%;
	float: right;
}

.cont3 {
	width: 47%;
	clear: right;
	float: left;
}

.cont4 {
	width: 47%;
	float: right;
}

#membership {
	font-size: calc(14px +  43 * ((100vw - 360px) / 962));
}

.cont6 {
	width: 45%;
	border-radius: 5px;
	margin: 0 auto;
	margin-bottom: 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 1px solid #888b8b;
	display: block;
}

.cont7 {
	width: 100%;
	clear: both;
	padding: 5px;
	margin-bottom: 10px;
	border-radius: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 1px solid #888b8b;
}

.cont8 {
	width: 100%;
	clear: both;
	padding: 5px;
	margin-bottom: 10px;
	border-radius: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 1px solid #888b8b;
}

section img {
	width: 100%;
	border-radius: 5px;
}

h2 {
	color: #000000;
	text-align: center;
	font-size: 21px; /*calc(21px + 45 * ((100vw - 360px) / 962));*/
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: ArialRoundedMTBold;
	margin: 0;
	padding: 0;
}

h3 {
	color: #000000;
	text-align: center;
	font-size: calc(16px + 40 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: Arial;
	margin: 0;
	padding: 0;
}

h4 {
	color: #000000;
	text-align: center;
	font-size: calc(19px + 43 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: ArialRoundedMTBold;
	margin: 0;
	padding: 0;
	clear: both;
}

p {
	color: #000000;
	font-size: 14px; /* calc(11px + 32 * ((100vw - 360px) / 962));*/
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: Arial;
	margin-top: 0;
	margin-bottom: 10px;
	padding: 0;
	line-height: 120%;
}

#phoneImages {
	display: block;
	margin: 0 auto;
	width: 40%;
}

#phoneImage {
	display: block;
	margin: 0 auto;
	width: 20%;
}

#phoneImageL {
	float: left;
	width: 47%;
}

#phoneImageR {
	float: right;
	width: 47%;
}

h5 {
	text-align: center;
	font-family: Arial;
	font-weight: bold;
	font-size: calc(15px + 36 * ((100vw - 360px) / 962));
	color: #8B8B8B;
	letter-spacing: -2px;
	margin-top: 0px;
	margin-bottom: 0px;
}

form p {
	color: #000000;
	margin: 0;
	font-family: Arial;
	font-size: calc(15px + 36 * ((100vw - 360px) / 962));
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 5px;
}


input {
	margin: 5px 0 5px 0;
	width: 100%;
	height: 40px;
	border-radius: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1px solid #888b8b;
	font-family: Arial;
	font-size: 22px;
	padding-left: 10px;
}

textarea {
	margin: 5px 0 5px 0;
	width: 100%;
	height: 100px;
	border-radius: 5px;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1px solid #888b8b;
	font-family: Arial;
	font-size: 22px;
	padding-left: 10px;
	padding-top: 10px;
}

#submitButton {
  background-color: #5A7B27;
  border: none;
  color: #ffffff;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: block;
  font-size: 15px;
  margin: 0 auto;
  border-radius: 5px;
  font-family: AzoSans-Light;
  clear: both;

}

footer {
	background-color: #000000;
	display: block;
	width: 100%;
	margin: 0 auto;
	margin-top: 5px;
	margin-bottom: 0;
}

footer p {
	color: #5E5E5E;
	font-size: calc(9px + 29 * ((100vw - 360px) / 962));
	/*font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	font-family: Arial;
	margin-top: 0;
	margin-left: 10%;
	margin-bottom: 0;
	padding: 0;
	clear: both;
}

.footerContL {
	display: block;
	float: left;
	width: 50%;
	margin: 10px 0 0 10%;
}

.footerContL p {
	font-size: calc(11px + 31 * ((100vw - 360px) / 962));
	margin-left: 0;
	color: #7D7D7D;
}

.footerContR {
	display: block;
	float: right;
	width: 30%;
	margin: 10px 10% 0 0;
}

.footerContR p {
	font-size: calc(11px + 31 * ((100vw - 360px) / 962));
	margin: 10px 0 0 10px;
	float: left;
	color: #ffffff;
}

.footerContR img {
	width: 30%;
	float: right;
}


#address {
	font-size: calc(10px + 30 * ((100vw - 360px) / 962));
	margin: 5px 0 5px 0;
	color: #5E5E5E;
}

/* ===========================================================================
	Desktop version
	========================================================================= */

@media screen and (min-width: 796px) {

	header  img{
	width: 395px;
	}

}

@media screen and (min-width: 1316px) {
	
	header h1 {
		font-size: 65px;
	}
	
}

@media screen and (min-width: 733px) {
	header p {
		font-size: 34px;
	}
}

@media screen and (min-width: 605px) {
	#title h1 {
		font-size: 26px;
	}
}

@media screen and (min-width: 880px) {
	section {
		width: 700px;
	}
	
	#footerContWrap {
		width: 700px;
		display: block;
		margin: 0 auto;
	}
	.footerContL {
		
		margin-left: 0;
	}
	footer p {
	
		margin-left: 0;
	}
	.footerContR {
		
		margin-right: 0;
	}
}

@media screen and (min-width: 1180px) {
	button {
	font-size: 18px;
	}
}

@media screen and (min-width: 750px) {
	h1 {
		font-size: 40px;
	}
}

@media screen and (min-width: 675px) {
	.cont1 {
		width: 23.5%;
		margin-right: 2%;
	}
	
	.cont2 {
		width: 23.5%;
		float: left;
		margin-right: 2%;
	}
	
	.cont3 {
		width: 23.5%;
		margin-right: 2%;
	}
	
	.cont4 {
		width: 23.5%;
		float: left;
	}
	
	.cont5 {
		width: 15.6%;
	}
	
	.cont6 {
		width: 36%;
		float: left;
		margin-left: 1.2%;
	}
	
	.cont7 {
		width: 61%;
		float: right;
		clear: none;
	}
	
	.cont8 {
		width: 100%;
	}
}

@media screen and (min-width: 500px) {
	#membership {
	font-size: 21px;
	}
}

@media screen and (min-width: 800px) {
	h3 {
		font-size: 35px;
	}
}

@media screen and (min-width: 715px) {
	h4 {
		font-size: 35px;
	}
}

@media screen and (min-width: 713px) {
	#phoneImages {
		width: 220px;
	}
	
	#phoneImage {
		width: 116.5px;
	}	
}

@media screen and (min-width: 600px) {

	h5 {
		
		font-size: 24px;
	}	
}

@media screen and (min-width: 680px) {
	
	form p {
	
		font-size: 27px;
	}
}

@media screen and (min-width: 520px) {
	
	input {
	
		height: 60px;
	}
}

@media screen and (min-width: 570px) {
	
	footer p {
		
		font-size: 15px;
	}	
	.footerContL p {
		
		font-size: 15px;
	}
	#address {
		
		font-size: 15px;
	}
}

@media screen and (min-width: 500px) {
	
	.footerContR p {
		
		font-size: 15px;
	}
}
@media screen and (min-width: 455px) {

	.footerContR {
		
		width: 130px;
	}
}

@media screen and (max-width: 415px){
	
	h2 {
		font-size: 18px;
	}
}

 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


