/* HTML RESET
///////////////////////////////////////////// */

/*
   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {border-collapse: collapse;border-spacing: 0;}

/* END HTML RESET
///////////////////////////////////////////// */


/* TYPE PRESETS
///////////////////////////////////////////// */
/*
_______________________________
Columnal - TYPE (basic settings to make type look nice) */

body {	
	font-family: "Century Gothic", Helvetica, Arial, sans-serif;
	font-size: 90%;
	color: #224c23;
	
/*	line-height: 1.6em;  from cssgrid.net */
	-webkit-text-size-adjust: none;		/* from cssgrid.net */ /* Stops the iPhone scalling type up - from cssgrid.net */
	}

	/* Add back in basic text markup (after removal by reset) */
strong { font-weight: bold; }
em { font-style:italic; }
pre { font-family: "Courier New", Courier, monospace; font-size: 13px; font-weight:bold; }

/* link colors */
a { color: #005080; text-decoration:none; }
a:visited { color:#6ea0be; text-decoration:none; }
a:hover { color:#eb6721; text-decoration:none; }
a:focus { outline:1px dotted #79160d; }

h1 {
  font-size: 250%;
  line-height: 100%;
}
h2 {
  font-size: 150%;
}
p {
  line-height: 1.8em;
  padding-bottom: 0.5em;
}

/*
_______________________________
IMAGE basics */
object, embed {margin-bottom: 20px;}
a img {display: block;		/* Stops image links getting text link styles */}

/* END TYPE PRESETS
///////////////////////////////////////////// */

.row {clear: both; width: 100%; max-width: 960px; margin: 0 auto; overflow: hidden;}
.clear {clear: both;}
img, object, embed {max-width: 100%;}

/* CUSTOM
////////////////////////////////////////////// */

/* General Styles */
.show-mobile {
  display: none;
}
.show-desktop {
  display: inherit;
}
.page-icon {
  float: left;
  width: 11%;
  margin: 0 0.5em 0 2em;
}
.page-title {
  float: left;
  padding: 1em 0 0.5em 0;
}
.page-image {
  float: left;
  width: 71%;
  margin: 1em 0 0 2em;
  background-color: #b4b28a;
  border: solid 0.3em #b4b28a;
  border-radius: 0.4em;
}
.info-text {
  line-height: 1.8em;
  text-align: justify;
  margin: 1em 5% 2em 5%;
  width: 90%;
}

/* Header bar and links */
#trustmark {
  float: left;
  margin: 0.25em 0.5% 0 1.5%;
  width: 18%;
}
.left-header-links {
  float: left;
  width: 72.5%;
  margin: 0 0.5% 0 0%;
  font-size: 1.61em;
  line-height: 1.8em;
}
#email-link {
  width: 100%;
  text-align: right;
  border-bottom: 0.1em solid #0A320A;
}
#contact-link {
  width: 100%;
  padding-top: 0.15em;
  text-align: right;
}
#fmb {
  float: left;
  width: 6%;
  margin: 0.25em 0 0 0;
}
#gap {
  float: left;
  width: 1.4%;
  margin: 0 0.2% 0 0.1%;
}
#gap-top {
  width: 100%;
  border-bottom: 0.1em solid #0A320A;
}
#masterbond {
  float: left;
  width: 6.8%;
  margin: 0.25em 0.2em 0 0;
}
.right-header-links {
  float: left;
  width: 22%;
  margin-left: 5%;
  font-size: 1.6em;
  line-height: 1.8em;
}
.phone-link {
  width: 96%;
  padding: 0 0 0 0.3em;
  border-bottom: 0.1em solid #0A320A;
}
#about-link {
  width: 96%;
  padding: 0.15em 0 0 0.3em;
}
.left-header-links p, .right-header-links p {
  padding-bottom: 0;
}
.title-spacer {
  clear: both;
  width: 100%;
  padding: 1em;
}

/* Home Page */
.menu-links {
  float: left;
  width: 52%;
  padding: 0 0 3em 3%;
}
.menu-link-image {
  float: left;
  width: 21%;
  text-align: right;
  margin-bottom: 1.6em;
}
.menu-link-text {
  float: left;
  font-size: 2.1em;
  padding: 0 0 0 0.25em;
  margin: 0;
  line-height: 1em;
}
.page-text {
  float: left;
  width: 42%;
  font-size: 1.1em;
  line-height: 1.8em;
  text-align: justify;
  padding: 0 3% 3em 0;
}

/* About Page */
#the-team {
  clear: both;
  padding: 0 0 0.5em 3%;
}

#about-image-box {
  width: 95%;
  margin: 0 2% 0 3%;
}
.about-image {
  float: left;
  width: 15.8%;
  padding: 0 0.85% 0 0;
}
#testimonials {
  float: left;
  width: 27%;
  padding: 2.5em 2% 0 3%;
  font-size: 1.2em;
  line-height: 1.6em;
}
.testimonial-message {
  font-style:italic;
}
.testimonial-person {
  text-align: right;
}
#about-text {
  float: right;
  width: 62%;
  padding: 2.5em 3% 3em 2%;
  text-align: justify;
  line-height: 1.6em;
}

/* Contact page */
#contact-map {
  width: 90%;
  height: 350px;
  margin: 0 5% 2em 5%;
  overflow: hidden;
  text-align: center;
  border: 2px solid #224c23;
}
#contact-map img {
  max-width: none;
}
.contact-left {
  float: left;
  width: 6%;
  margin-left: 14%;
  text-align: right;
}
.contact-right {
  float: left;
  width: 75%;
  padding: 0.6em 0 0 0.6em;
  font-size: 1.6em;
  line-height: 1.2em;
}
.contact-last {
  padding-bottom: 3em;
}

/* Latest Jobs - Slideshow pages */
.link-panel {
  float: left;
  width: 16%;
  text-align: center;
}
.link-panel ul {
  padding: 0 10%;
}
.link-panel li {
  font-size: 0.6em;
  padding-bottom: 1em;
}
.link-panel a img {
  display: inherit;
}

.title-panel {
  float: left;
  width: 80%;
  font-size: 1.5em;
  
}
.location {
  float: right;
  font-size: 0.8em;
  padding: 1em 0 0.5em 0;
}

.slideshow-panel {
  float: left;
  width: 80%;
  background-color: #b4b28a;
  border: solid 0.25em #b4b28a;
  border-radius: 0.4em;
  margin: 0 2% 0 1%;
}

#cache-div {
  display: none;
}

/* Footer styles */
.footer {
  position: fixed;
  bottom: 0;
  z-index: 11;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #0A320A;
}
.footer-left {
  float: left;
  width: 52%;
  padding-left: 0.4em;
}
.footer-right {
  margin-left: 52%;
  padding-right: 0.4em;
  text-align: right;
}
.footer p {
  margin: 0;
  font-size: 0.75em;
  line-height: 1.4em;
  padding-top: 0.4em;
  color: #FFFFFF;
}
.footer a, .footer a:visited, .footer a:hover, .footer a:focus {
  color: #FFFFFF;
  text-decoration:none;
}


@media screen and (max-width:960px) {
  html, body, .row, .body {
	  font-size: 100%;	  
  }
}

@media screen and (max-width: 639px) {
  /* General Styles */
  .show-mobile {
    display: inherit;
  }
  .show-desktop {
    display: none;
  }
  .page-title {
    float: left;
    font-size: 2em;
    line-height: 1.2em;
  }
  .page-image {
    float: left;
    width: 100%;
    margin: 1em 0 0 0;
    border: none;
	border-radius: 0;
  }
  .info-text {
    font-size: 2em;
  }
  
  /* Header bar and links */
  #trustmark {
    margin: 1em 0.5% 0 1.5%;
  }
  #fmb {
    margin: 1em 0 0 0;
  }
  #masterbond {
    margin: 1em 0.2em 0 0;
  }
  #email-link, #contact-link, .phone-link, #about-link, #gap-top {
    padding-top: 0.3em;
  }
  .title-spacer {
    padding-top: 2em;
  }
  
  /* Home Page */
  .menu-links {
    width: 98.5%;
	padding-left: 1.5%;
  }
  .menu-link-text {
    font-size: 3.8em;
  }
  .page-text {
    width: 96%;
	font-size: 2em;
	padding: 0 2% 3em 2%;
  }

  /* About Page */
  .about-image {
    width: 32%;
  }
  #testimonials {
    font-size: 2em;
  }
  #about-text {
    font-size: 2em;
    padding-bottom: 3em;
  }

  /* Latest Jobs - Slideshow pages */
  .link-panel {
    width: 100%;
    text-align: left;
  }
  .link-panel ul {
    padding: 0;
  }
  .link-panel li {
    float: left;
	width: 14%;
    font-size: 0.8em;
	padding: 0 1em 0 1em;
    text-align: center;
  }
  .title-panel {
    float: right;
	font-size: 1.5em;
  }
  .location {
    padding: 0 0 0.5em 0;
  }
  .slideshow-panel {
    clear: both;
    width: 100%;
	margin: 0;
	border: none 0;
  }

  /* Footer styles */
  .footer p {
    font-size: 1.2em;
  }
}