/*
 * HTML5 Boilerplate
 *
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	background-color: #009800;
	
}


html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background-color: #fff;

}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

::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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Mike's custom styles
   ========================================================================== */
   
body {
	color: #444;
	font: 16px/24px 'Open Sans', sans-serif;
	font-weight: 400;
}

body {
	/*background: url(../img/12pxbaseline.png) repeat;*/
}

p, h1, h2, h3, h4, h5, h6, ol, ul{
	margin: 0;
	padding: 0;
}

p {

	padding-top: 5px;
	margin-bottom: 7px;
}

h1 {
	font: 48px/60px 'Maven Pro', sans-serif;
	padding-top: 2px;
	margin-bottom: 10px;
  font-weight: 400;
}

h2 {
	font: 38px/48px 'Maven Pro', sans-serif;
	padding-top: 12px;
  font-weight: 400;
}

h3 {
	font: 24px/36px 'Maven Pro', sans-serif;
	padding-top: 9px;
	margin-bottom: 3px;
  font-weight: 500;
}

h4 {
	font: 21px/36px 'Maven Pro', sans-serif;
	padding-top: 4px;
	margin-bottom: 8px;
  font-weight: 400;
}

h5 {
	font: 18px/36px 'Maven Pro', sans-serif;
  font-weight: 400;
}

h6 {
	font: 16px/24px 'Maven Pro', sans-serif;
	padding-top: 7px;
	margin-bottom: 5px;
  font-weight: 400;
}

ol, ul {
	padding-top: 5px;
	margin-bottom: 7px;
	list-style-position: outside;
	list-style-type: disc;
	padding-left: 60px;
}

pre {
		padding-top: 5px;
		margin-bottom: 7px;
}

blockquote {
	padding-left: 60px;
	font-style: italic;
	font-weight: 600;
}

strong {
	font-weight: 600;
}

em {
	font-style: italic;
}
   
/* ==========================================================================
   Header
   ========================================================================== */

header {
	background-color: #009800;
	color: #fff;
	padding-bottom: 12px;
	border-bottom: 1px solid #060;
}

header a {
	color: #fff;
	text-decoration: none;
}

#lmslogo {
	margin-top: 40px;
	display: block;
	width: 270px;
	height: 72px;
	padding-top: 0px;
	padding-bottom: 0px;
	background: url(../img/lmslogo.png) no-repeat;
}

#address {
	text-align: right;
	padding-top: 12px;
}

#address p {
	font: 14px/24px 'Open Sans', sans-serif;
	padding-top: 7px;
	font-weight: 400;
}

/* ==========================================================================
   Hero
   ========================================================================== */
   
.hero {
	background-color: #666;
  text-align: center;
  color: #fff;
  padding-top: 90px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  min-height: 300px;

}

.hero h2 {
  text-shadow: 1px 1px 1px #000;
}

.slideshowback {
  background-color: #444;
}

.backstretch {
  zoom: 1;
  filter: alpha(opacity=60);
  opacity: 0.6;
}



/* ==========================================================================
   Teaser
   ========================================================================== */
   
.teaser {
	text-align: center;
	margin-bottom: 24px;
	 margin-top: 24px;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

textarea, input {
	width: 80%;
	margin-bottom: 12px;
	padding: 6px;
}

textarea:focus, input:focus {
	border: 2px solid #009800;

}

label {
	display: block;
	margin-bottom: 12px;
}

.error {
	display: block;
	margin-bottom: 12px;
	font-weight: 700;
	color: #009800;
}

.success {
	margin-top: 48px;
}

#form1_submit {
	width: auto;
	border: none;
	margin-top: 24px;
	background-color: #009800;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: 12px;
	text-transform: uppercase;
	border-radius: 2px 2px 2px 2px;
	-webkit-transition: all 200ms ease-out;  
    -moz-transition: all 200ms ease-out;  
    -o-transition: all 200ms ease-out;  
    -ms-transition: all 200ms ease-out;  
    transition: all 200ms ease-out;  
}

#form1_submit:hover {
	background-color: #444;
}

#contactdetails {
	background
}

#contactdetails a{
	color: #009800;
	text-decoration: none;
}

#contactdetails a:hover {
	text-decoration: underline;
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer {
	background-color: #009800;
	color: #fff;
	text-align: center;
	border-top: 1px solid #060;
	padding-top: 12px;
	padding-bottom: 12px;
}

footer p {
	
font: 14px/24px 'Open Sans', sans-serif;
	padding-top: 7px;
	font-weight: 400;
	}

footer a {
	color: #fff;
	text-decoration: none;
}

/* ==========================================================================
   Page Specific
   ========================================================================== */

.main {
	padding-bottom: 24px;
}

.container img {
	max-width: 100%;
	height: auto;
}


#maintestimonial {
	background-color: #f9f9f9;
	border-top: 1px solid #ebeaeb;
	margin-top: 12px;
	padding-top: 60px;
	padding-bottom: 60px;
}

#maintestimonial img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 12px;
}

#testimonial1 {
	margin-bottom: 24px;
}

.testimonial em {
	margin-left: 12px;
	color: #777;
	font-size: 14px;
}

.links a {
	color: #009800;
		-webkit-transition: all 200ms ease-out;  
    -moz-transition: all 200ms ease-out;  
    -o-transition: all 200ms ease-out;  
    -ms-transition: all 200ms ease-out;  
    transition: all 200ms ease-out; 
}

.links a:hover {
	color: #444;
}

/* ==========================================================================
   Hover Boxes on Main Page
   ========================================================================== */

.badge {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: -48px;
	position: relative;
	z-index: 9999;
}

a.blocklink{
	text-decoration: none;
	display: block;
	margin-bottom: 24px;
	color: #fff;
	background-color: #009800;
	padding-bottom: 12px;
	-webkit-transition: all 200ms ease-out;  
    -moz-transition: all 200ms ease-out;  
    -o-transition: all 200ms ease-out;  
    -ms-transition: all 200ms ease-out;  
    transition: all 200ms ease-out; 
}

a.blocklink:hover {
	background-color: #060;
}

a.blocklink h3 {
	text-align: center;
}

.box { 
	margin-bottom: 12px;
    cursor: pointer;  
    height: 300px;   
    position: relative;  
    overflow: hidden;  
    width: 100%;
}  
  
.box img {  
    position: absolute;  
    left: 0;  
    -webkit-transition: all 300ms ease-out;  
    -moz-transition: all 300ms ease-out;  
    -o-transition: all 300ms ease-out;  
    -ms-transition: all 300ms ease-out;  
    transition: all 300ms ease-out;  
}

.box img:hover {
	zoom: 1;
	filter: alpha(opacity=50);
	opacity: 0.5;
}    

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {

	.tinynav { display: block }
    #nav { display: none }

    select {
    	margin: 0px auto;
    	width: 80%;
    	color: #444;
		font: 16px/24px 'Open Sans', sans-serif;
		font-weight: 400;
    }

    .badge {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: -48px;
  position: relative;
  z-index: 9999;
}

.box { 
  margin-bottom: 12px;
    cursor: pointer;  
    height: 200px;   
    position: relative;  
    overflow: hidden;  
    width: 100%;
} 

}



	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
	
	#lmslogo {
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	width: 270px;
	height: 72px;
	padding-top: 0px;
	padding-bottom: 0px;
	background: url(../img/lmslogo.png) no-repeat;
}
	
#address {
	text-align: center;
	padding-top: 0px;
}

.hero h2 {
	font: 21px/36px 'Maven Pro', sans-serif;
	padding-top: 4px;
	margin-bottom: 8px;
}

h3 {
	font: 21px/36px 'Maven Pro', sans-serif;
	padding-top: 4px;
	margin-bottom: 8px;
}
}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {}


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

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

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