/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

body {
    font-size: 1em;
    line-height: 1.4;
}

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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

@import url(http://fonts.googleapis.com/css?family=Open+Sans);

@font-face {
    font-family: 'Museo Slab';
    src: url('../fonts/museo_slab_500-webfont.eot');
    src: url('../fonts/museo_slab_500-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/museo_slab_500-webfont.woff') format('woff'),
         url('../fonts/museo_slab_500-webfont.ttf') format('truetype'),
         url('../fonts/museo_slab_500-webfont.svg#museo_slab500') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
	font-family: 'Open Sans', sans-serif;
}

.container {
	width: 960px;
	margin: 0 auto;
}

header {
	position: relative;
	padding: 20px 0;
	z-index: 9999;
	background: #115999;
}

.logo {
	float: left;
	margin-top: 17px;
}

header .details {
	background: url(rgba.php?r=0&g=0&b=0&a=50) repeat;
	background: rgba(0, 0, 0, 0.5);	
}

header.banner .details {
	background: url(rgba.php?r=17&g=89&b=153&a=50) repeat;
	background: rgba(17, 89, 153, 0.5);	
}

.details {
	float: right;
	padding: 5px;
	margin: -20px 0 20px 0;
}

.details p {
	margin: 0;
	text-align: center;
	color: #fff;
}

.details p a {
	color: #fff;
	}

.details .line1 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
}

.details .line2 {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.3;
}

.details .line3 {
	font-size: 10px;
	font-weight: 300;
	line-height: 1.5;
}

header nav {
	position: relative;
	float: right;
	clear: right;
	min-width: 561px; /*IE7*/
}

header nav ul {
	margin: 0;
	padding: 0;
}

header nav ul li {
	position: relative;
	float: left;
}

header nav a {
	display: block;
	float: left;
	color: #fff;
	text-decoration: none;
	padding: 8px 15px;
	text-transform: uppercase;
	background: #115999;
}

header nav a:hover, header nav .active > a {
	background: #0d487c;
}

nav ul li ul {
	position:absolute; 
	top:38px; 
	width:136px;
	left: 0;
}

nav ul li ul li a {
	display:block; 
	width: 106px; 
	background: url(rgba.php?r=17&g=89&b=153&a=80) repeat;
	background: rgba(17, 89, 153, 0.8);
	font-size: 14px; 
	text-transform: none;
}
nav ul li ul.fallback {
	display:none;
}

nav ul li:hover ul.fallback {
	display:block;
}
	
.banner {
	height: 395px;
	padding-top: 120px;
}

.caption {
	clear: both;
	margin: 0 auto;
	width: 768px;
	padding: 20px 0;
	background: url(rgba.php?r=0&g=0&b=0&a=50) repeat;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	text-align: center;
}

.caption a {
	font-weight: bold;
	color: #fff;
	text-decoration: underline;
}

.caption h1 {
	margin: 0;
	text-transform: uppercase;
}

.caption p {
	margin: 5px 20px;
}

h1, h2, h3, h4, h5 {
	font-family: 'Museo Slab';
	font-weight: 500;
	margin: 0;
}

h1 {
	font-size: 34px;
	margin-bottom: 10px;
}

h2 {
	font-size: 30px;
}

h2.dashed {
	border-top: 1px dashed #000;
	border-bottom: 1px dashed #000;
	margin-bottom: 10px;
	clear: both;
}
h3 {
	font-size: 24px;
}

h4 {
	font-size: 18px;
}

p {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 20px 0;
}

a {
	color: #115999;
	text-decoration: none;
}

.grey .one-third {
	background: #d5d2c9;
	margin-bottom: 30px;
	min-height: 500px;
	position: relative;
}

.section {
	padding: 40px 0;
}

.beige {
	background: #d5d2c9;
}

.centered {
	width: 80%;
	margin-left: 10%;
}

.grey .one-third .button {
	position: absolute;
	bottom: 20px;
}

.title {
	margin-bottom: 20px;
}

.title h2 {
	font-family: 'Museo Slab';
	font-size: 36px;
	text-align: center;
	font-weight: 500;
	margin: 0 0 10px 0;
}

.title hr {
	width: 230px;
	margin: 0 auto;
	height: 3px;
	opacity: 0.1;
	background: #333;
}

.one-third {
	width: 300px;
	margin-right: 30px;
	float: left;
	position: relative;
}

.two-thirds {
	margin-left: 30px;
	width: 600px;
	float: left;
	position: relative;
}

.last {
	margin-right: 0;
}

.padding20 {
	padding: 20px;
}

.button {
	display: inline-block;
	padding: 10px !important;
	background: #115999;
	font-family: 'Museo Slab';
	color: #fff !important;
	font-weight: 500;
	text-decoration: none;
	font-size: 14px;
}

.button:hover {
	background: #0c4373;
}

#image-section {
	width: 100%;
	height: 340px;	
}

#beige-strip {
	background: #d5d2c9;
	padding: 60px 0;
	color: #25282c;
}

#beige-strip hr {
	opacity: 0.5;
	background: #fff;
}

#beige-strip i {
	display: block;
	font-size: 36px;
	text-align: center;
	margin-bottom: 10px;
}

#beige-strip p {
	font-size: 13px;
}

#cta {
	background: #cdcbc3;
	padding: 60px 0;
	text-align: center;
}

#cta h4 {
	text-align: center;
}

#cta .button {
	display:inline-block;
	margin: 20px auto 0 auto;
	border: 1px solid #bcbbb6;
}

#content {
	padding: 60px 0;
	color: #25282c;
}

#ajax-contact-form input, #ajax-contact-form textarea {
	border: 2px solid #d8d3cb;
	color: #888;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	width: 285px;
	padding: 5px;
	margin-bottom: 10px;
	outline: none;
}

#ajax-contact-form input[type="submit"] {
	width: 300px;
}

input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}

.required {
	color: #ff0000;
}

.form_info {
	color: #767676;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 2px;
	margin-bottom: 3px;
}

.ui-state-error {
	border: 2px solid #BB1100 !important;
}

.product {
	position: relative;
	margin-bottom: 30px;
	min-height: 100px;
}

.product .title {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 140px;
	background: #115999;
	padding: 10px;
	margin: 0;
	color: #fff;
}

.product .title .view {
	font-size: 12px;
	color: #327bbc;
}

.product .title h3 {
	font-size: 14px;
	line-height: 1.2;
}

.product a {
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(rgba.php?r=0&g=0&b=0&a=0) repeat;
}


.offer-section {
	margin-bottom: 40px;
}

.offer {
	position: absolute;
	top: 0;
	right: 0;
	width: 100px;
	height: 100px;
	background: url('../img/offer.png');
	z-index: 9999;
}

#gallery img {
	margin-bottom: 20px;
}

footer {
	background: #25282c;
	padding: 20px 0;
}

footer p {
	text-align: center;
	color: #fff;
	margin: 0;
}

footer p a {
	font-size: 90%;
	color: #454e55;
	text-decoration: none;
}

/* The gallery overlay */

#galleryOverlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	opacity:0;
	z-index:100000;
	background-color:#222;
	background-color:rgba(0,0,0,0.8);
	overflow:hidden;
	display:none;
	
	-moz-transition:opacity 1s ease;
	-webkit-transition:opacity 1s ease;
	transition:opacity 1s ease;
}

/* This class will trigger the animation */

#galleryOverlay.visible{
	opacity:1;
}

#gallerySlider{
	height:100%;
	
	left:0;
	top:0;
	
	width:100%;
	white-space: nowrap;
	position:absolute;
	
	-moz-transition:left 0.4s ease;
	-webkit-transition:left 0.4s ease;
	transition:left 0.4s ease;
}

#gallerySlider .placeholder{
	background: url("../img/preloader.gif") no-repeat center center;
	height: 100%;
	line-height: 1px;
	text-align: center;
	width:100%;
	display:inline-block;
}

/* The before element moves the
 * image halfway from the top */

#gallerySlider .placeholder:before{
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right:-1px;
}

#gallerySlider .placeholder img{
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	vertical-align: middle;
}

#gallerySlider.rightSpring{
	-moz-animation: rightSpring 0.3s;
	-webkit-animation: rightSpring 0.3s;
}

#gallerySlider.leftSpring{
	-moz-animation: leftSpring 0.3s;
	-webkit-animation: leftSpring 0.3s;
}

/* Firefox Keyframe Animations */

@-moz-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-moz-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

/* Safari and Chrome Keyframe Animations */

@-webkit-keyframes rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-webkit-keyframes leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

/* Arrows */

#prevArrow,#nextArrow{
	border:none;
	text-decoration:none;
	background:url('../img/arrows.png') no-repeat;
	opacity:0.5;
	cursor:pointer;
	position:absolute;
	width:43px;
	height:58px;
	top:50%;
	margin-top:-29px;
	-moz-transition:opacity 0.2s ease;
	-webkit-transition:opacity 0.2s ease;
	transition:opacity 0.2s ease;
}

#prevArrow:hover, #nextArrow:hover{
	opacity:1;
}

#prevArrow{
	background-position:left top;
	left:40px;
}

#nextArrow{
	background-position:right top;
	right:40px;
}


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

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

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