/*
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    /* killing 300ms touch delay in IE */
    -ms-touch-action: manipulation;
    touch-action: manipulation;
		}

body {
    font-size: 10px;
    line-height: 1;
}

textarea, input, select{
    font-family        : Helvetica, Arial, sans-serif;
    -webkit-box-sizing : border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing    : border-box; /* Firefox, other Gecko */
    box-sizing         : border-box; /* Opera/IE 8+ */
}

/*
 * 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: 0 25%;
    padding: 0;
    width: 50%;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
	font-family: 'Lato', sans-serif;
	color: #222;
	height:100%;
	min-width:800px;
	min-height:600px;
	width:100%;
	overflow:auto;
	overflow-y:scroll;
	overflow-x:hidden;
   
	}
	
	/*scrollbar*/
	::-webkit-scrollbar {
		width: 12px;
	}
 
	::-webkit-scrollbar-track {
		-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
		border-radius: 10px;
		-moz-border-radius: 10px;
	}
	 
	::-webkit-scrollbar-thumb {
		border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
	}
	
/* ==========================================================================
   Constant Sticky Header and Footer
   ========================================================================== */	
/* Make Header Sticky */
header {
    position: fixed;
    background: #ebeff0;
    height: 16em;
    padding: 0;
    margin: 0;
    left:0;
	width:100%;
	top:0;
	z-index:4;
	}
.topContainer {
    padding: 0 10%;
}
nav {
	clear:both;
    background:#464646;
	border-bottom: .2em solid black;
    border-top: .2em solid black;
	margin:7.7em 0 0 0;
	padding:0 7%;
	height:3.5em;
    width:100%;
	}
nav	a {
    float:left;
	text-decoration:none;
	color:white;
	font-size:1.4em;
	font-weight:500;
	text-transform:uppercase;
	padding:.75em 2.4%;
    margin-top: -.7em;
	}
nav a:hover, .color a:hover {
	background-color:dimgrey;
	}
.onpage a{
	background:#58815d;
    }
.logo {
    float: left;
    padding: 2.6em;
    }
.logo-pic {
    max-width: 10%;
}
#right {
    float: right;
    text-align: right;
    }
#social {
    margin: 1em 2em;
	}
#social a{
    padding: .5em;
	}
#social a:hover{
	opacity:1;
	}
.address {
    color: #58815d;
    font-size: 1.7em;
    font-weight: 600;
    padding: 1em;
    /*background: red;*/
}
.address a{
    color: #58815d;
    font-size: 1em;
    font-weight: 600;
    padding: 0;
    text-decoration: none;
}
.address a:hover{
	color: black;
	}
/* Make Footer Sticky */
footer {
    clear:both;
    height: 15em;
    width: 104%;
    background-image: url(../img/footerBigGhomeWhite.png);
     background-size: 100% 100%;
	}
.bgimg {
    clear:both;
    height: 15em;
    width: 104%;
    background-image: url(../img/footerBigGhome.png);
     background-size: 100% 100%;
	}
.copy {
	text-align:center;
	font-size:1.2em;
	padding:7em 0 0 0;
    font-weight: 600;
	}
.copy a {
	text-decoration:none;
	color:#464646;
	font-size:1.2em;
    font-weight: 600;
	text-transform:capitalize;
	}
.copy a:hover{
	color:black;
	}

 
/* ==========================================================================
   Content (Dynamic) for all other pages
   ========================================================================== */	
/* CSS for the content of page. I am giving top and bottom padding of 8em to make sure the header and footer do not overlap the content.*/
section {
	margin-top:18.4em;
	}
b {
    font-weight: 700;
	}
p {
    text-align: center;
	font-size: 1.3em;
	}
em {
	color: #a1a1a1;
    font-weight: 300;
	}
h1 {
	font-size: 3em;
    text-align: center;
	}
h2 {
	font-family: open-sans-condensed, sans-serif;
    text-align: center;
    font-size: 2.7em;
	}
h3 {
    font-size: 2.5em;
	}
h4 {
	font-size: 2.5em;
    text-align: center;
	}
h5 {
	font-size: 1.3em;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
	}
strong p{
    max-width: 10%;
    margin: 0 15%;
    font-size: 1em;
    font-weight: 600;
}

/*home*/
    .sliderbg {
        background: #74c221;
        width: 103.5%;
        padding:2em 0;
        z-index: -1;
    }
    .about {
        width: 75%;
        padding: 2em 15%;
        background: #ebeff0;
        margin: 0 auto;
    }
    .about p {
        width:80%;
        padding: 0 10%;
        line-height: 1.3em;
        font-size: 1.3em;
        text-align: left;
        }
    @media only screen and (max-device-width: 800px), screen and (max-width: 800px) {
      .about {
        width: 80%;
        padding: 2em 10%;
      } 
    }
    .services {
        width: 103%;
        padding:2em 0;
    }

/*Boat Wraps*/
.inquire {
    background: #74c221;
    padding: 2.6% 0;
    margin-right: .7%;
    position: fixed;
    right: 0;
    max-width: 12%;
}

.inquire img {
    width: 100%;
}
.boat_menu {
    background: #14632F;
    padding: .4em .3em;
    margin: 9% 23%;
    font-size: 1.6em;
}
.boat_menu a, .boat_menu-last a{
    color: white;
    text-decoration: none;
    font-style: italic;
    font-family: "Georgia", Georgia, Serif;
    text-align: center;
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}
.boat_menu a:hover {
    opacity: .3;
}
.boat_menu-last {
    margin: 9% 23% 0 23%;
    background: #14632F;
    padding: .4em .3em;
    font-size: 1.6em;
}
.boat_submenu{
    background: #1C8A43;    
    margin: 0 23% 9% 23%;
    padding: 0;
    font-size: 1.2em;
}
.boat_submenu li{
    text-align: right;
    padding: .5em 1em;
}
.boat_submenu a {
    color: white;
    text-decoration: none;
    font-style: italic;
    font-family: "Georgia", Georgia, Serif;
}
.boat_submenu :hover {
    background: #14632F;
}
.anchor li{
    padding-top: 16em;
    margin-top: -16em;
}
.social_menu img{
    width: 13%;
    margin: 1% 40%;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}
.social_menu img:hover {
    opacity: .9;
}
.phone {
    display: none;
}

/* Content */
    .content  {
        max-width: 1600px;
        margin: 0 11% 0 14%;
        padding: 3em 1.9em;
    }

    .content, .content2 :before,
    .content, .content2 :after {
        content: '';
        display: table;
    }

    .content, .content2 :after {
        clear: both;
    }
    .mediabox {
        float: left;
        width: 18.2%;
        padding: 0 1.2em;
        margin-bottom: 4em;
    }

    .mediabox img {
        max-width: 100%;
        display: block;
        margin: 0 auto;
        z-index: 2;
    }

    .mediabox1 h4 {
        padding: 1em 0 0 0;
        margin: 1em 0 0 0;
        background: #ebeff0;
    }

    .mediabox p {
        padding: 2em;
         margin-top: -2.2em;
        line-height: 1.3;
        text-align: left;
        background: #ebeff0;
        opacity: .8;
        z-index: -1;
        position: relative;
    }
    .recent {
        clear: both;
        width: 100%;
        padding:2em 18% 5em 18%;
        background: #ebeff0; 
    }
    .content2  {
        max-width: 1300px;
        margin: 0;
        padding-bottom: 18%;
    }
    .mediabox1 { 
        float: left;
        width: 28%;
        padding: 2em 3em 4em 3.9em;
    }

    .mediabox1 img {
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

/* Portfolio Pages */
.description {
    background: #74c221;
    float: left;
    width:19%;
    padding: 7em 5%;
    line-height: 2em;
    font-size: 1.2em;
    }
.description p {
        text-align: left;
}
.description img {
    padding: 0 0 1.5em 1em;
}
.portfolio {
    float: left;
    width:60%;
    padding: 2.5em 1.2em;
    margin-bottom: 10%;
    }
.portfolio img {
    padding: 1em;
    max-width: 30%;
    height:25em;
    text-decoration: none;
}
.portfolio-faqs {
    float: left;
    width:53%;
    padding: 2.5em 0;
    margin-bottom: 10%;
    }
.portfolio-faqs img {
    margin: 1em 38%;
    max-width: 100%;
}
.portfolio-faqs h2 {
    text-align: left;
    font-size: 350%;
}
.portfolio-faqs h3 {
    text-align: left;
    font-size: 2em;
    font-weight: 600;
}
.portfolio-faqs p {
    text-align: left;
    font-size: 1.6em;
    line-height: 125%;
}
/* Back to Top Button */
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.cd-top {
  display: inline-block;
  height: 5.5em;
  width: 8em;
  position: fixed;
  bottom: 3.5em;
  right: 0;
  z-index: 10;
 
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #74c221 url(../img/chevron-up.png) no-repeat center right 65%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #74c221;
  opacity: 1;
}

input,  textarea {
    font: normal normal normal 12px/1.3em 'Open Sans',sans-serif;
    background-color: rgba(238, 238, 238, 1);
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #74c221;
    color: #5F5F5F;
    margin: 0 0 5px;
    width: 100%;
}
 button,  input,  textarea {
    border-radius: 0;
    padding: 5px;
}
.s10wrapper {
    min-width: 18em;
    max-width: 98em;
    max-height: 102.4em;
    width: 100%;
}

.contact {
    width: 70%;
    margin: 18.9em 15%;
    background: #ebeff0;
}
.left, .right {
    float: left;
}
.contact img {
    margin: 0 2em;
}
.contact_left { 
    float: left;
    width: 40%;
    padding: 2em;
    background: #74c221;
    margin: 2em 0 5em 7em;
    height: 100%;
}
.contact_right { 
    float: left;
    width: 40%;
    padding: 2em;
    margin: 2em;
}
form {
    clear: both;
    padding-top: 4.5em;
        
}
.info {
    padding: 2em 1em;
    width: 80%;
   
}
 #gmap_canvas { height: 100% }
/*Contact

	input, textarea, a { outline: none; }
	input {
		width: 350px;
		border: none;
		background: none;
		margin: 5px 0 20px 8px;
		font-size: 1.1em;
		color:white;
	}*/
	.input-bg {
		background: #3a3a3a;
		height: 30px;
		margin-bottom: 14px;
		position: relative;
		width:480px;
		
	}
	textarea {
		height: 10em;
	}
	.message-bg {
		background:#3a3a3a;
		height: 130px;
		width:480px;
		
	}
	label.error {
		position: absolute;
		top: -16px;
		left: 60px;
		padding: 3px;
		color: #da3939;
		font-size: 1em;
		text-align: right;
		font-style: italic;
		font-weight: normal;
	}
	input.submit-button {
		float: right;
		width: 160px;
	}


/* IMAGE LIGHTBOX SELECTOR */
#container
		{
			width: 41.25em; /* 660 */
			text-align: center;
			padding: 0 1.25em; /* 20 */
			margin: 3.125em auto 6.25em; /* 50 100 */
    }

			#container ul
			{
			}
				#container li
				{
					display: inline-block;
					margin: 0.625em; /* 10 */
				}
					#container img
					{
						width: 8.75em; /* 140 */
						height: 8.75em; /* 140 */
						border-color: #eee;
						border: 0.625em solid rgba( 255, 255, 255, .5 ); /* 10 */

						-webkit-box-shadow: 0 0 0.313em rgba( 0, 0, 0, .05 ); /* 5 */
						box-shadow: 0 0 0.313em rgba( 0, 0, 0, .05 ); /* 5 */

						-webkit-transition: -webkit-box-shadow .3s ease, border-color .3s ease;
						transition: box-shadow .3s ease, border-color .3s ease;
					}
						#container img:hover,
						#container img:focus
						{
							border-color: #fff;

							-webkit-box-shadow: 0 0 0.938em rgba( 0, 0, 0, .25 ); /* 15 */
							box-shadow: 0 0 0.938em rgba( 0, 0, 0, .25 ); /* 15 */
						}

		
		#imagelightbox
		{
			cursor: pointer;
			position: fixed;
			z-index: 10000;

			-ms-touch-action: none;
			touch-action: none;

			-webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
			box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
		}


		/* ACTIVITY INDICATION */

		#imagelightbox-loading,
		#imagelightbox-loading div
		{
			border-radius: 50%;
		}
		#imagelightbox-loading
		{
			width: 2.5em; /* 40 */
			height: 2.5em; /* 40 */
			background-color: #444;
			background-color: rgba( 0, 0, 0, .5 );
			position: fixed;
			z-index: 10003;
			top: 50%;
			left: 50%;
			padding: 0.625em; /* 10 */
			margin: -1.25em 0 0 -1.25em; /* 20 */

			-webkit-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
			box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
		}
			#imagelightbox-loading div
			{
				width: 1.25em; /* 20 */
				height: 1.25em; /* 20 */
				background-color: #fff;

				-webkit-animation: imagelightbox-loading .5s ease infinite;
				animation: imagelightbox-loading .5s ease infinite;
			}

			@-webkit-keyframes imagelightbox-loading
			{
				from { opacity: .5;	-webkit-transform: scale( .75 ); }
				50%	 { opacity: 1;	-webkit-transform: scale( 1 ); }
				to	 { opacity: .5;	-webkit-transform: scale( .75 ); }
			}
			@keyframes imagelightbox-loading
			{
				from { opacity: .5;	transform: scale( .75 ); }
				50%	 { opacity: 1;	transform: scale( 1 ); }
				to	 { opacity: .5;	transform: scale( .75 ); }
			}


		/* OVERLAY */

		#imagelightbox-overlay
		{
			background-color: #fff;
			background-color: rgba( 255, 255, 255, .9 );
			position: fixed;
			z-index: 9998;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
		}


		/* "CLOSE" BUTTON */

		#imagelightbox-close
		{
			width: 2.5em; /* 40 */
			height: 2.5em; /* 40 */
			text-align: left;
			background-color: #666;
			border-radius: 50%;
			position: fixed;
			z-index: 10002;
			top: 2.5em; /* 40 */
			right: 2.5em; /* 40 */

			-webkit-transition: color .3s ease;
			transition: color .3s ease;
		}
			#imagelightbox-close:hover,
			#imagelightbox-close:focus
			{
				background-color: #111;
			}
			#imagelightbox-close:before,
			#imagelightbox-close:after
			{
				width: 2px;
				background-color: #fff;
				content: '';
				position: absolute;
				top: 20%;
				bottom: 20%;
				left: 50%;
				margin-left: -1px;
			}
			#imagelightbox-close:before
			{
				-webkit-transform: rotate( 45deg );
				-ms-transform: rotate( 45deg );
				transform: rotate( 45deg );
			}
			#imagelightbox-close:after
			{
				-webkit-transform: rotate( -45deg );
				-ms-transform: rotate( -45deg );
				transform: rotate( -45deg );
			}


		/* CAPTION */

		#imagelightbox-caption
		{
			text-align: center;
			color: #fff;
			background-color: #666;
			position: fixed;
			z-index: 10001;
			left: 0;
			right: 0;
			bottom: 0;
			padding: 0.625em; /* 10 */
		}


		/* NAVIGATION */

		#imagelightbox-nav
		{
			background-color: #444;
			background-color: rgba( 0, 0, 0, .5 );
			border-radius: 20px;
			position: fixed;
			z-index: 10001;
			left: 50%;
			bottom: 3.75em; /* 60 */
			padding: 0.313em; /* 5 */

			-webkit-transform: translateX( -50% );
			-ms-transform: translateX( -50% );
			transform: translateX( -50% );
		}
			#imagelightbox-nav button
			{
				width: 1em; /* 20 */
				height: 1em; /* 20 */
				background-color: transparent;
				border: 1px solid #fff;
				border-radius: 50%;
				display: inline-block;
				margin: 0 0.313em; /* 5 */
			}
			#imagelightbox-nav button.active
			{
				background-color: #fff;
			}


		/* ARROWS */

		.imagelightbox-arrow
		{
			width: 3.75em; /* 60 */
			height: 7.5em; /* 120 */
			background-color: #444;
			background-color: rgba( 0, 0, 0, .5 );
			vertical-align: middle;
			display: none;
			position: fixed;
			z-index: 10001;
			top: 50%;
			margin-top: -3.75em; /* 60 */
		}
		.imagelightbox-arrow:hover,
		.imagelightbox-arrow:focus
		{
			background-color: #666;
			background-color: rgba( 0, 0, 0, .75 );
		}
		.imagelightbox-arrow:active
		{
			background-color: #111;
		}
			.imagelightbox-arrow-left
			{
				left: 2.5em; /* 40 */
			}
			.imagelightbox-arrow-right
			{
				right: 2.5em; /* 40 */
			}
			.imagelightbox-arrow:before
			{
				width: 0;
				height: 0;
				border: 1em solid transparent;
				content: '';
				display: inline-block;
				margin-bottom: -0.125em; /* 2 */
			}
				.imagelightbox-arrow-left:before
				{
					border-left: none;
					border-right-color: #fff;
					margin-left: -0.313em; /* 5 */
				}
				.imagelightbox-arrow-right:before
				{
					border-right: none;
					border-left-color: #fff;
					margin-right: -0.313em; /* 5 */
				}

		#imagelightbox-loading,
		#imagelightbox-overlay,
		#imagelightbox-close,
		#imagelightbox-caption,
		#imagelightbox-nav,
		.imagelightbox-arrow
		{
			-webkit-animation: fade-in .25s linear;
			animation: fade-in .25s linear;
		}
			@-webkit-keyframes fade-in
			{
				from	{ opacity: 0; }
				to		{ opacity: 1; }
			}
			@keyframes fade-in
			{
				from	{ opacity: 0; }
				to		{ opacity: 1; }
			}
@media only screen and (max-width: 66em) /* 660 */
		{
			#container
			{
				width: 100%;
			}
			#imagelightbox-close
			{
				top: 1.25em; /* 20 */
				right: 1.25em; /* 20 */
			}
			#imagelightbox-nav
			{
				bottom: 1.25em; /* 20 */
			}

			.imagelightbox-arrow
			{
				width: 2.5em; /* 40 */
				height: 3.75em; /* 60 */
				margin-top: -2.75em; /* 30 */
			}
			.imagelightbox-arrow-left
			{
				left: 1.25em; /* 20 */
			}
			.imagelightbox-arrow-right
			{
				right: 1.25em; /* 20 */
			}
		}
@media only screen and (max-width: 32em)  /* 320 */
    {
      .imagelightbox-arrow-left
			{
				left: .5em;
			}
			.imagelightbox-arrow-right
			{
				right: .5em;
			}
    }





/* Example MEDIA QUERIES */
@media only screen and (max-width: 140em) /* 1400 */ {
        .logo img {
            /*background: orange;*/
        }
        nav {
            padding: 0 8%;
            font-size: 100%;
        }
    
        nav	a {
            padding:.75em 2.5em;
        }

@media only screen and (max-width: 120em) /* 1200 */ {
        .content  {
            margin: 0 10% 0 13%;
            padding: 3em .5em;
        }
    
        .mediabox {
            width: 18%;
        }
    
        .recent {
            padding:2em 15% 10em 15%;
        }
    
        .mediabox1 { 
            padding: 2em 2.9em 4em 2.6em;
        }
    
        .content2  {
            max-width: 1280px;
        }
        nav {
            padding: 0 8%;
            font-size: 100%;
        }
    
        nav	a {
            padding:.75em 2.5em;
        }
    .logo img {
        /*background: blue;*/
    }
}
@media only screen and (max-width: 102.4em) /* 1030 */ {
        nav {
            padding: 0 6%;
            font-size: 100%;
        }
    
        nav	a {
            padding:.75em 2%;
        }
    
        .topContainer {
            padding: 0 5%;
            margin: 0;
        }
    
        .logo img {
            width: 81%;
            padding: .7em;
            margin: 0;
           /* background: purple;*/
        }
    
        .address {
            padding: 1.5em;
            font-size: 170%;
        }
    
        .content  {
            margin: 0 6.5% 0 8.7%;
            padding: 3em .5em;
        }
    
        .mediabox img {
            max-width: 85%;
        }
    
        .recent {
            padding:2em 12% 10em 12%;
        }
    
        .mediabox1 { 
            padding: 2em 2em 4em 2em;
        }
    
        .content2  {
            max-width: 1250px;
        }
}
@media only screen and (max-width: 90em)  {
        .content  {
            max-width: 1500px;
            margin: 0 12%;
            padding: 3em 1em;
          
        }  
        .sliderbg {
            width: 100%;          
        }
        .about {
            width: 70%;           
        }
        .about p {
            width:90%;
            padding: 0 5%;
          }
    
        .mediabox {
                width: 18%;
                padding: 0 .95em;
            }
    
        .mediabox img {
                max-width: 77%;
            }
    
        .mediabox p {
                padding: 1.5em;
            }
    
         h2 {
            font-size: 2.5em;
        }
    
        nav {
            padding: 0 4%;
            font-size: 92%;
            height:3.7em;
        }
    
        nav	a {
            padding:.8em 1.8%;
        }
    
        .logo img {
            padding: .7em;
             width: 80%;
            /*background: yellow;*/
        }
    
        section {
            margin-top:18.3em;

        }
        .mediabox1 { 
            padding: 2em 2em 4em 1.6em;
        }
    
        .content2  {
            max-width: 1080px;
        }
    
        .description {
            width:20%;
            padding: 7em 4%;
            font-size: 1.1em;
            }
        .description img {
            padding: 0 0 1.5em 2em;
             max-width: 90%;
            }
        .portfolio {
            width:62%;
            padding: 2em;
            }
    .contact {
        width: 75%;
        margin: 18.4em 12.5%;
    
    }
   
    .contact img {
        margin: .5em 1em;
    }
    .contact_left { 
        width: 45%;
        margin: 2em 0 5em 1em;
        height: 50%;
    }
    .contact_right { 
        width: 40%;
        margin: 2em 1em 5em 2em;
    }
}
@media only screen and (max-width: 76.8em)  {
        .sliderbg {
            width: 105%;
        }    
    
        .content  {
            margin: 0 9%;
            padding: 3em .8em;        
        }
    
        .mediabox img {
            max-width: 70%;
        }
        
        .mediabox {
            width: 18%;
            padding: 0 .9em;
        }
    
        .mediabox p {
            padding: 1.2em;
            margin-top: -1.5em;
        }
        
        .logo img { 
           /* background: pink;*/
        }
        .address {
            font-size: 150%;
        }
        nav {
            padding: 0 4.3%;
            font-size: 88%;
            height: 3.6em;
        }
    
        nav	a {
            padding:.8em 1.7%;
        } 
}
@media only screen and (max-width: 72em)  {
        nav {
            padding: 0 4%;
            font-size: 88%;
            height: 3.6em;
        }
    
        nav	a {
            padding:.8em 1.5%;
        }  
    
         .logo img {
            width: 81%;
            /* background: grey;*/
        }
        .address {
            padding: .6em;
            font-size: 125%;
        }
    
        footer {
            width: 107%;
        }
    
        h2 {
            font-size: 2em;
        }
    
        .sliderbg {
            width: 105%;
        }
    
        .content  {
            margin: 0 10%;
            padding: 3em 1em;   
        }
        section {
            margin-top:17.7em;

        }
    
        .mediabox {
            width: 18%;
            padding: 0 .75em;
        }
    
        .mediabox img {
            max-width: 65%;
        }
    
        .mediabox p {
            padding: 1.2em;
            margin-top: -1.1em;
        }
        
        .mediabox1 { 
            padding: 2em 1em 4em 1em;
        }
    
        .content2  {
            max-width: 900px;
        }
     .contact {
        width: 78%;
        margin: 18.4em 11%;
    }
   
    .contact_left { 
        width: 45%;
        margin: 2em 0 5em 0;
        height: 50%;
    }
    .contact_right { 
        width: 42%;
        margin: 2em 0 5em 2em;
    }
    .description img {
            padding: 0 0 1.5em 1.6em;
            }
}
    
@media only screen and (max-width: 67.2em)  {
     .description img {
            padding: 0 0 1.5em 1.4em;
            }
    
    .portfolio {
        width:60%;
        padding: 2em;
       
        }
    .portfolio img {
        max-width: 29.5%;
        height:20em;
        }
    .contact_right { 
        width: 41.5%;
        margin: 2em 0 5em 2em;
    }
     .logo img {
         width: 75%;   
         /*background: lightblue;*/
        }
    .address {
            padding: .5em;
            font-size: 130%;
        }
     nav {
            padding: 0 1.1%;
            font-size: 85%;
        }
    
    nav	a {
            padding:.8em 1.5%;
        }
    .topContainer {
            padding: 0 3%;
        }
}

@media only screen and (max-width: 60.8em)  {
       .topContainer {
            padding: 0 1%;
            margin: 0;
        }
    
        nav {
            padding: 0;
            font-size: 85%;
        }
    
        nav	a {
            padding:.8em 1.1%;
        }  
    
        .logo img {
            width: 55%;
            /*background: lightyellow;*/
        }
    
        .address {
            padding: .5em;
            font-size: 140%;
        }
        
        section {
            margin-top:17.5em;
        }
    
        .about {
        width: 95%;
        padding: 2em 3%;
        }
    
        .content  {
        margin: 0 6% 0 4%;
        padding: 3em 1em;
        }
        
        .mediabox img {
            max-width: 65%;
        }
    
        .mediabox p {
            padding: 1.2em;
            margin-top: -1.1em;
        }
        
        .recent {
            padding:2em 6% 10em 6%;
        }
        .mediabox1 { 
            padding: 2em .7em 4em .7em;
        }
    
        .content2  {
            max-width: 820px;
        }
     .description {
        width:20%;
        padding: 7em 4%;
        font-size: 1.1em;
        }
    .description img {
        padding: 0 0 1.5em 1em;
         
        }
    .portfolio {
        width:62%;
        padding: 1em;
        }
     .portfolio img {
        max-width: 45%;
        height:25em;
         }
    .contact {
        width: 90%;
        margin: 17.5em 6%;
    }
   
    .contact_left { 
        width: 46%;
        margin: 2em 0 5em 0;
        height: 50%;
        padding:1.5em;
    }
     .contact_right { 
        width: 43%;
        margin: 2em 0 5em 1em;
        
    }
}
@media screen and (max-width: 53em) {
        .content  {
        max-width: 1500px;
        margin: 0 7.5% 0 4%;
        padding: 3em 1em;
          
        }
        nav {
            padding: 0;
            font-size: 80%;
            height: 3.5em;
        }
        nav	a {
            padding:.75em 1.6em;
        }
        .topContainer {
            padding: 0;
            margin: 0;
        }
        .logo img {
            width: 70%;
            padding: .7em 0;
            margin: 0;
        }
        .address {
            padding: 1.5em;
            font-size: 130%;
        }
    
        section {
            margin-top:16.6em;

        }
    
         .about {
            width: 100%;
            padding: 2em 0;
        }
    
        .about p {
            width:87%;
            padding: 0 5%;
            line-height: 1.3em;
            font-size: 1.3em;
            text-align: left;
        }
        
        .mediabox {
            float: none;
            width: auto;
            padding: 0 0 35px 0;
            font-size: 90%;
        }

        .mediabox img {
            float: left;
            margin: 40px 0 5px 10px;
            max-width: 40%;
            
        }

        .mediabox h3 {
            margin-top: 0;
        }

        .mediabox p {
            margin-left: 40%;
            margin-left: calc(40% + 25px);
        }

        .mediabox:before,
        .mediabox:after {
            content: '';
            display: table;
        }

        .mediabox:after {
            clear: both;
        }
        .recent {
            padding:2em 4% 10em 4%;
        }
        .content2  {
            max-width: 800px;
        }
     .contact {
        width: 90%;
        margin: 17em 3%;
    }
   
    .contact_left { 
        width: 46.5%;
        margin: 2em 0 5em 0;
        height: 50%;
        padding:1.5em;
    }
    .contact_right { 
        width: 42%;
        margin: 2em 0 5em 1em;
    }
}

@media only screen and (max-width: 48em) /*iPhone Screen*/{
   section {
            margin-top:21.5em;
        }
             
    .content  {
	max-width: 1000px;
	margin: 0 5%;
    padding: 3em 1em;
       
    }
     .services {
        width: 100%;
        padding:2em 0;
    }

    footer {
        width:100%;
    }
    .sliderbg {
            width: 100%;          
        }
        .about {
            width: 100%;           
        }
        .about p {
            width:90%;
            padding: 0 7%;
          }
    .recent {
        width: 92%;    
        padding:2em 8% 10em 8%;
        }
     .description {
         float: none;
        width:90%;
        padding: 3em 5%;
        font-size: 1em;
         line-height: 1.3em;
        }
    .description img {
        padding: 0 0 1.5em 27em;
        max-width: 90%;
        }
     .portfolio img {
        width: 90%;
        height:25em;
         }
    .portfolio {
        width:100%;
        padding: 1em;
        }
     .contact {
        width: 100%;
        margin: 17em 0;
    }
   
    .contact_left { 
        width: 63%;
        margin: 0 15%;
        height: 50%;
        padding:2em;
    }
    .contact_right { 
        width: 85%;
        margin: 0 4em 5em 4em;
        
    }
     /* #menu is the original menu */
    .menu {
        display: block;
        margin: 0;
    }

    nav {
        padding:0;
        margin: 0;
        height:8.1em;
        }
    nav	a {
        padding:.9em 2.3%;
        margin-top: -.7em;
        line-height: 1.5em;
        }

     header {
        padding: 0;
        margin: 0;
        height: 18em;
	}
    
    .topContainer {
        padding: 0 8%;
        margin: 0;
    }
    
    .logo img {
        clear: left;
        float: none;
        margin: 0;
        max-width: 100%;
        padding: 0 13%;
        text-align: center;
       /* background: red;*/
        }
    .address {
        clear: left;
        float: none;
        margin: 0 auto;
		max-width: 100%;
        padding: 0 0 4% 0;
        }
    #right {
        float: none;
        text-align: center;
        padding: 0 10%;
    }
    #social {
        position: absolute;
        margin-left: 57%;
        width: 30%;
	}
    #social a img {
        width: 15%;
	}
 }


@media screen and (max-width: 32em)  {
	.content  {
        max-width: 1500px;
        margin: 0 8%;
        padding: 3em 1em;
    }
    
	.mediabox {
		text-align: center;
	}

	.mediabox img {
		float: none;
		margin: 0 auto;
		max-width: 100%;
	}

	.mediabox h3 {
		margin: 1.25em 0 1em;
	}

	.mediabox p {
		margin: 0;
	}
    #social {
        position: absolute;
       margin-left: 50%;
        width: 40%;
        top:0;
	}
    .logo img {
        width: 100%;
        margin: 0;
        padding: 0;
       /* background: brown;*/
        }

    header {
        height: 20em;
    }
    nav {
        height:9.8em;
        }
     nav a {
        padding:.5em 3%;
        line-height: 3.5em;
         font-size: 120%;
        margin-top: -.8em;
        }
    section {
            margin-top:31%;
        }
}

@media only screen and (max-width: 24em) {
   .logo img {
        clear: left;
        float: none;
        margin: 0 ;
        max-width: 90%;
        padding: 0;
        text-align: center;
        }
    .address {
        clear: left;
          float: none;
          margin: 0 auto;
		  max-width: 100%;
        padding: 0 0 4% 0;
        }
    #right {
        float: none;
        text-align: center;
        padding: 0 10%;
    }
    #social {
        position: absolute;
       margin-left: 50%;
        width: 30%;
	}
    #social a img {
        width: 15%;
	}
    nav {
        height:5.4em;
        }
     section {
            margin-top:24.3em;
        }
    
}


@media screen and (max-width: 20.3em) {
     nav {
        height:14.1em;
     }
    section {
            margin-top:25.6em;
        }
}





		

		
 


/* ==========================================================================
   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 only screen and (min-width: 56em) {
    /* Style adjustments for viewports that meet the condition */
}

@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;
    }
}
