/* `XHTML, HTML4, HTML5 Reset
----------------------------------------------------------------------------------------------------*/

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, font, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, meter, nav, object, ol, output, p, pre, progress, q, rp, rt, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video, xmp {
	border: 0;
	margin: 0;
	padding: 0;
	font-size: 100%;
	outline:none;
}
html, body {
	color:#333
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	/*
  Override the default (display: inline) for
  browsers that do not recognize HTML5 tags.

  IE8 (and lower) requires a shiv:
  http://ejohn.org/blog/html5-shiv
*/
	display: block;
}
a:link, a:visited {
	text-decoration:none
}
b, strong {
	/*
  Makes browsers agree.
  IE + Opera = font-weight: bold.
  Gecko + WebKit = font-weight: bolder.
*/
  font-weight: bold;
}
img {
	color: transparent;
	font-size: 0;
	vertical-align: middle;
	/*
  For IE.
  http://css-tricks.com/ie-fix-bicubic-scaling-for-images
*/
	-ms-interpolation-mode: bicubic;
}
ul {
	margin:0	
}
li {
	/*
  For IE6 + IE7.
*/
	list-style:none;
	display: list-item;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
th, td, caption {
	font-weight: normal;
	vertical-align: top;
	text-align: left;
}
q {
	quotes: none;
}
q:before, q:after {
	content: '';
	content: none;
}
sub, sup, small {
	font-size: 75%;
}
sub, sup {
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
svg {
	/*
  For IE9.
*/
	overflow: hidden;
}
.hidetext {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.break {
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
.ellipsis {
	width: 250px;
	white-space: nowrap;
	overflow: hidden;
	-ms-text-overflow: ellipsis; /* Required for IE8 */
	-o-text-overflow: ellipsis; /* Required for Opera */
	text-overflow: ellipsis;
}
.hide {
	position: absolute !important;
	top: -9999px !important;
	left: -9999px !important;
}



/* Fonts
----------------------------------------------------------------------------------------------------*/

body {
	font-family:Helvetica, Arial, sans-serif;
	font-size:14px;
	color:#666666;
	padding-top:100px
}

h1,
h2,
h3 {
	color:#333	
}

h1,
h2 {
	
	font-family: 'Josefin Sans', sans-serif;
	font-weight:300
}

h1 {
	font-size:48px;
	color:#000;
	margin-bottom:10px
}

h2,
h3,
p {
	margin-bottom:15px
}

h2 {
	font-size:28px
}

h3 {
	font-size:16px	
}

p {
	line-height:18px
}

p a,
td a {
	color:#29ABE2
}

/* Main Layout
----------------------------------------------------------------------------------------------------*/

.container, .content {
	position:relative;
	display:block;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box
}

.container {
	width:100%;
	min-width:1150px
}

.content {
	margin:0 auto;
	width:960px;
	padding-left:10px;
	padding-right:10px;
	padding-top:90px;
	padding-bottom:80px
}

.minheight {
	min-height:400px
}

/* Background Themes */

.overlay {
	background:url(../images/bg-theme-pattern.png)
}

.bg-theme-a {
	background:url(../images/bg-theme-a.png) no-repeat center top;
	background-size:100%	
}

.bg-theme-b {
	background:url(../images/bg-theme-b.png) no-repeat center top;
	background-size:100%
}


/* Header
----------------------------------------------------------------------------------------------------*/

#header {
	position:absolute;
	top:0;
	padding:20px 50px;
	background:url(../images/bg-header.png);
	z-index:99999
}

/* Header Logo */

#header a#logo {
	display:block;
	width:448px;
	height:62px;
	float:left;
	background:url(../images/logo-jc-marine.png) no-repeat center center
}

#header a#logo img {
	float:left;
	margin-right:20px	
}

/* Header Navigation */

#header ul#header-navigation {
	float:right;
	margin-top:14px
}

#header ul#header-navigation > li {
	position:relative;
	float:left;
	margin-left:4px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px
}

#header ul#header-navigation > li > a {
	display:block;
	height:40px;
	line-height:45px;
	padding:0 20px;
	font-weight:bold;
	color:#000
}

#header ul#header-navigation > li,
#header ul#header-navigation > li a {
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	transition: all 200ms linear
}

#header ul#header-navigation > li.subnav-parent {
	-webkit-border-bottom-right-radius: 0;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-bottomright: 0;
	-moz-border-radius-bottomleft: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

#header ul#header-navigation > li.active,
#header ul#header-navigation > li:hover {
	background-color:#6F2C90
}

#header ul#header-navigation > li.active a,
#header ul#header-navigation > li:hover a {
	color:#fff
}


/* Header Subnavigation */

ul.header-subnavigation {
	display:block;
	position:absolute;
	top:40px;
	background-color:#6F2C90;
	-webkit-border-radius: 5px;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius: 5px;
	-moz-border-radius-topleft: 0;
	border-radius: 5px;
	border-top-left-radius: 0;
	padding:10px 0;
	z-index:9999;
	opacity:0;
	visibility:hidden;
	transition-duration: 200ms;
	transition-property: opacity, visibility;
	transition-delay: 200ms, 200ms, 0;
	-webkit-transition-timing-function: linear;
	transition-timing-function: linear
}

#header ul#header-navigation > li:hover ul.header-subnavigation {
	opacity:1;
	visibility: visible
}

ul.header-subnavigation li a {
	display:block;
	white-space:nowrap;
	padding:10px 20px;
	color:#fff;
	font-weight:100	
}

ul.header-subnavigation li a:hover {
	background-color:#612684	
}

/* Header Detached */

#header.detached {
	position:fixed;
	padding:15px 50px
}

#header.detached a#logo {
	width:55px;
	height:51px;
	background:url(../images/logo-jc-marine-sml.png) no-repeat center center
}

#header.detached ul#header-navigation {
	margin-top:5px
}

/* Content
----------------------------------------------------------------------------------------------------*/

/* Global Classes
----------------------------------------------------------------------------------------------------*/


a.readmore,
a.rounded-link {
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	transition: all 200ms linear
}

a.readmore {
	display:inline-block;
	height:12px;
	color:#00AFEF;
	font-weight:bold;
	padding:0 15px 0 0;
	background:url(../images/icon-blue-arrow.png) no-repeat center right
}

a.readmore:hover {
	color:#FF0000;
	background:url(../images/icon-red-arrow.png) no-repeat center right
}

a.rounded-link {
	display:inline-block;
	height:40px;
	line-height:45px;
	padding:0 40px;
	font-weight:bold;
	color:#fff;
	background-color:#00AFEF;
	-webkit-border-radius:20px;
	-moz-border-radius:20px;
	border-radius:20px
}

a.rounded-link:hover {
	background-color:#FF0000	
}

/* List Styles */

ul.bullet-list {
	margin-bottom:30px	
}

ul.bullet-list li {
	margin-bottom:5px;
	padding-left:10px;
	background:url(../images/icon-list-square.png) no-repeat 0 3px
}

ul.bullet-list > li ul {
	padding-left:2px;
	margin-top:6px;
	margin-bottom:0
}

ul.bullet-list.list-arrow > li {
	background:url(../images/icon-list-arrow.png) no-repeat 0 4px
}

/* Google Maps Canvas */

#map-canvas {
	display:block;
	width:100%;
	height:500px
}

/* BxSlider Custom Override */

.bx-wrapper {
	margin:0;
	padding:30px 0 60px
}

.bx-wrapper .bx-viewport {
	padding:0
}

.bx-viewport {
	width:940px !important;
	margin:0 auto;
	min-height:490px
}

.bx-wrapper .bx-pager {
	padding-top:0
}
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
	bottom: 30px
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background:#ccc
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background:#ED1C24
}

.bx-wrapper .bx-controls-direction a {
	height: 73px;
	margin-top:0;
	top: 42%;
	width: 44px
}

.bx-wrapper .bx-prev {
	background:url(../images/icon-slider-arrow-prev.png) no-repeat 0 0;
	left:30px;
}

.bx-wrapper .bx-prev:hover {
    background-position: 0 -79px;
}

.bx-wrapper .bx-next {
	background:url(../images/icon-slider-arrow-next.png) no-repeat 0 0;
	right:30px;
}

.bx-wrapper .bx-next:hover {
    background-position: 0 -79px;
}

/* BxSlider Custom Text Area */

.slider-text {
	position:absolute;
	top:0;
	padding:30px
}

.slider-text.left {
	left:0
}

.slider-text.right {
	right:0
}

.slider-text a.readmore {
	padding-left:4px	
}


/* Enquiry Form */

.form {
	display:block;
	width:100%
}

.form .container {
	position:relative;
	text-align:left;
	min-width:inherit;
	padding-bottom:10px;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box
}

.form .container.divided {
	width:50%;
	float:left	
}

.form .container.divided:nth-child(2n) label {
	text-align:center
}

.form .container.labelless {
	padding-left:70px	
}

.form label {
	display:block;
	float:left;
	height:40px;
	line-height:40px;
	width:70px	
}

.form input {
	height:38px;
	width:370px;
	border:1px solid #808080;
	font-family:Helvetica, Arial, sans-serif;
	font-size:14px;
	font-weight:100;
	padding:0 10px;
	float:left;
	color:#4d4d4d;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius:4px
}

.form .select-moz {
	background-color:#fff;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius:4px
}

.form select {
	color:#4d4d4d;
	width:400px;
	padding:6px 25px 6px 10px;
	font-family:Helvetica, Arial, sans-serif;
	font-size:14px;
	font-weight:100;
	-webkit-appearance: none;
	-moz-appearance: window;
	border:1px solid #ccc;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius:4px;
	background-image: url(../images/bg-option-select.png);
	background-repeat: no-repeat;
	background-position: 377px center;
	background-color:transparent
}

@-moz-document url-prefix() {
.form select  {
	border:none;
	padding:7px 20px 5px 5px	
}
.select-moz {
     background-image: url(../images/bg-option-select.png);
     background-repeat: no-repeat;
	background-color:#FFF;
	background-position: 40px 8px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius:4px;
	border:1px solid #ccc;
	margin-bottom:10px;
	padding-bottom:0 !important
}
}

/* IE Hide Select Arrow */
.form select::-ms-expand {
    display: none
}

.form textarea {
	width:836px;
	height:90px;
	background:#fff;
	padding:11px;
	font-family:Helvetica, Arial, sans-serif;
	font-size:14px;
	font-weight:100;
	color:#4d4d4d;
	float:left;
	resize:none;
	border:1px solid #808080;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius:4px
}

.form div#spamtrap {
	visibility:hidden
}

.form .container-error-all {
	position:relative;
	display:block;
	height:auto !Important;
	margin-bottom:10px
}

.form .container-error-all span {
	height:auto !important	
}

.form .error {
	position:relative;
	display:block;
	margin:0;
	padding:0;
	z-index:2;
	float:none;
	clear:both
}

.form .error, .form .error-all {
	font-size: 11px;
	color: #f00;
}

.form .error-all {
	padding:0;
	line-height:15px;
	margin:0
}

.form .error span {
	display:block;
	clear:both;
	font-size:12px;
	font-weight:100;
	height:25px;
	line-height:25px;
	padding-left:81px;
	margin:0
}

.form fieldset#antispam {
	padding:2px;
	border-top:1px solid #EEE;
	border-left:0;
	border-right:0;
	border-bottom:0;
	width:350px;
}

.form fieldset#antispam legend {
	font-size: 0.8em;
	font-weight:bold;
	color:#333;
}

.form #btn-submit {
	color:#4d4d4d;
	float:left;
	padding:0 20px;
	width:auto;
	height:30px;
	line-height:30px;
	font-size:14px;
	border:1px solid #808080;
	background:url(../images/bg-btn.png) repeat-x;
	font-weight:bold;
	border-radius:3px;
	cursor:pointer
}

.form #btn-submit:hover {
	background-color:#C63F8C
}

input[type=submit]:disabled,
button:disabled {
	color:#ccc !important;
	background-color:#ccc !important;
	border-color:#ccc !important
}

input[type=submit][disabled=disabled],
button[disabled=disabled] {
	color:#ccc !important;
	background-color:#ccc !important;
	border-color:#ccc !important
}

/* spam_trap: This input is hidden. This is here to trick the spam bots*/

.form .spmhidip {
	display:none;
	width:10px;
	height:3px
}

#fg_crdiv {
	font-size: 0.3em;
	opacity: .2;
	-moz-opacity: .2;
	filter: alpha(opacity=20)
}

#fg_crdiv p {
	display:none
}


/* Footer
----------------------------------------------------------------------------------------------------*/

#footer-feature {
	text-align:center
}

#footer-feature .content {
	padding:70px 0 80px
}

#footer-feature h2,
#footer-feature p {
	color:#fff
}

#footer-feature h2 {
	margin-bottom:20px	
}

#footer-feature p {
	opacity:0.7;
	margin-bottom:30px	
}

/* Copyright Text */

#footer .content {
	padding:30px 0 20px;
	text-align:center	
}

#footer p,
#footer p span,
#footer p span a {
	color:#808080
}

#footer p {
	line-height:22px
}

#footer p span {
	opacity:0.5
}