/*
Theme Name: Cargo Mariners
Theme URI: http://www.beamtwenty3.co.uk
Description: Wordpress Theme By Neil Brown for Cargo Mariners
Version: 1.0
Author: Neil Brown
Author URI: http://www.beamtwenty3.co.uk
Text Domain: cargo-mariners
*/

/* #Reset & Basics (Inspired by E. Meyers) */

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


/* #Basic Styles */

body {
	background: #efefef;
	font: 14px 'Merriweather Sans', sans-serif;
	color: #484848;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
	border-top: solid 3px #1d5fbc;
}

.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.loader {
	  position: fixed;
	  left: 0px;
	  top: 0px;
	  width: 100%;
	  height: 100%;
	  z-index: 1000000;
	  background: url(images/ani-1.gif) center no-repeat #fff;
  }

main {
	background: url(images/bg.jpg);
	background-repeat: no-repeat;
	background-position: top right;
	padding-bottom: 80px;
}
 
/* #Typography */

h1, h2, h3, h4, h5, h6 {
	color: #484848;
	font-weight: 700;
	font-family: 'Merriweather', serif;
}


h1 { 
	font-size: 40px;
	line-height: 50px;
	margin: 40px 0px 40px 0px;
	padding: 0px;
}


h2 {
	font-size: 28px;
	line-height: 40px;
	margin: 20px 0px 20px 0px;
	padding: 0px;
}

h3 {
	font-size: 23px;
	line-height: 27px;
	margin: 0px 0px 20px 0px;
}

h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }


p {
    margin: 0 0 20px 0;
    color: #484848;
    font-size: 16px;
    line-height: 32px;
    font-weight: 300;
}

address {
	margin: 0;
	color: #484848;
	font-size: 16px;
	line-height: 30px;
	font-weight: 400;
	text-align: left;
}


em { 
	font-style: italic;
}

strong { 
	font-weight: 600;
}

small { 
	font-size: 80%;
}

/*	Blockquotes  */

blockquote, blockquote p { font-size: 17px; line-height: 30px; color: #5f5f5f; font-style: italic; }
blockquote { margin: 20px 0 20px 0; padding: 9px 20px 0 19px; border-left: 1px solid #ef9d32; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }

hr { 
	border: solid #ececec;
	border-width: 1px 0 0;
	clear: both;
	margin: 20px 0 20px 0;
	height: 0;
}


/* #Links */

a, a:visited { 
	color: #ef9d32; 
	text-decoration: none;
	outline: 0;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-ms-transition: all .1s linear;
	transition: all .1s linear;
}

a:hover, a:focus { 
	color: #ef9d32; 
	text-decoration: underline;
}



/* #Lists */

ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }

li { 
	line-height: 18px;
}

.main-page ul {
	margin: 20px 0px 40px 0px;
}

li  {
	margin: 0 0 10px 0;
	color: #484848;
	font-size: 16px;
	line-height: 22px;
	font-weight: normal;
	list-style: none;	
}

.main-page ul li::before {
    content: "\2022";
	color: #1d5fbc;
	font-size: 22px;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0;
    margin-top: 10px;
}

/* #Images */

img  {
	max-width: 100%;
	height: auto;
	display: inline-block;
}



/* Video */

.google-map {
	position: relative;
	padding-bottom: 23.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	z-index: 1;
	margin-top: 40px;
}

.google-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/* Buttons */

a.button, .button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 43px;
  padding: 0 30px;
  color: #fff;
  background: #1d5fbc;	
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 46px;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box; 
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  -o-transition: all .1s linear;
  -ms-transition: all .1s linear;
  transition: all .1s linear;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #fff;
  background: #0d3b7c;	
  outline: 0;
  border: 0;
}

a.button:hover {
	text-decoration: none;
}

a.button.reverse {
	color: #484848;
	background: #fff;	
}

a.button.reverse:hover {
	color: #fff;
	background: #760b11;
}


/* Forms */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  box-shadow: none;
  box-sizing: border-box;
  width: 98%;
  }
  
input.wpcf7-mathcaptcha {
  width: 100px;	
}


/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="button"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

textarea {
  min-height: 120px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #379cc0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: 0;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
}


.full-width {
	width: 100%;
	margin: 0 auto;
	height: calc(100vh - 180px);
	position: relative;
	z-index: 10;

}

.full-width img {
	display: block;
	width: 100%;
}

  
/* Header */

header {
	width: 100%;
	margin: 0 auto;
	background: #fff;
	padding: 40px 0 40px 0;
	border-bottom: solid 3px #1d5fbc;
}

img.logo {
	display: inline;
	margin: 0;
	width: 240px;
}

/* Home Page */

.home-calls {
	margin-top: 40px;
}

.home-calls, .news {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.home-call, .news-feed {
	flex-grow: 1;
	width: 31%;
	margin: 10px 1% 10px 1%;
	background: #fff;
	display: flex;
	flex-direction: column;
	border-bottom: solid 3px #1d5fbc;
}

p.push-button {
	flex-grow: 1;
}

a.home-button, a.news-button {
	background: #1d5fbc;
	width: auto;
	display: block;
	color: #fff;
	padding: 20px;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
    outline: 0;
	border: 0;
}

a.home-button:hover, a.news-button:hover {
  color: #fff;
  background: #0d3b7c;	
  outline: 0;
  border: 0;
}

.news-feed.blank {
	background: none;
	border-bottom: none;
}

.news-feed h2 {
	margin: 10px 0 0 20px;
}

.home-call h3 {
	margin: 20px 0 20px 20px;
}

.home-call p, .news-feed p {
	margin: 0 20px 20px 20px;
}

.vessel-images img {
	display: block;
	border-bottom: solid 4px #1d5fbc;
}

/* Vessels */

p.imo {
	color: #1d5fbc;	
}

.container.vessels {
	margin-top: 40px;
}

h1.vessel-name {
	margin: 0;
}

h2.imo-number {
	color: #1d5fbc;
	margin: 0 0 30px 0;
}

h3.vessel-spec {
	font-size: 23px;
	margin: 0 0 30px 0;
}

.specification {
	margin: 20px 40px 40px 0;
}

.specification ul {
	display: block;
	width: 100%;
	margin: 0px;
	float: left;
}

ul.my-table {
	margin-bottom: 40px;
}

.specification li {
	float: left;
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	padding: 10px;
	list-style: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.specification li.col1 {
	width: 100%;
	font-weight: 700;
}

.specification li {
  background: #fff;
}

.specification li.col1:nth-child(even) {
  background: #ddd;
}

li.col3 {
	color: #fff;
	margin: 0;
	font-size: 18px;
	font-weight: normal;
	background: #1d5fbc;
	width: 100%;
	padding: 10px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.col1 span {
	float: right;
	font-weight: 400;
}

.vessel-images {
	position: -webkit-sticky;
	position: sticky;
	top: 100px;
	margin-top: 20px;
}

.vessel-images img {
	display: block;
	margin: 0 0 20px 0;
}

/* Pages */

/* Slideshow */

.banner-image img {
	width: 100%;
}

.slick-dotted.slick-slider {
	margin-bottom: 60px !important;
}

.slick-dots {
	> li {
		display: inline-block;
	}
	> li:only-child {
		display: none;
	}
}

.slick-dots {
	left: 0px;
	bottom: -40px;
	text-align: center;
	width: 100%;
}

.slick-dots li button:before {
	color: #1d5fbc;
	opacity: .55;
	font-size: 18px;
}

.slick-dots li.slick-active button:before {
	color: #1d5fbc;
}

.slick-dots li button:hover:before, .slick-dots li button:focus {
	outline: none;
	color: #1d5fbc;
}

/* Gallery */

.gallery img, .news-feed img {
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
	-moz-transform: rotate(0);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery img:hover, .news-feed img:hover {
	opacity:0.6;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	-moz-transform: rotate(0);
}

#swipebox-overlay {
    background: #fff !important;
}

#swipebox-bottom-bar, #swipebox-top-bar {
    text-shadow: none !important;
    background: #1d5fbc;
    opacity: 1;
}

#swipebox-slider .slide img {
    max-height: 90%;
}

/* Sidebar */

.side-block {
	width: 80%;
	float: left;
	margin: 0 0 40px 20%;
}

/* Main Navigation */

#main-nav {
	width: 100%;
	padding: 0px;
	margin: 0 auto 0 auto;
}

#main-nav ul {
	list-style: none;
	margin: 50px 0px 0px 0px;
	padding: 0px;
	width: 100%;
	text-align: right;
}

#main-nav li {
	display: inline;
	font-size: 18px;
	letter-spacing: 1px;
	padding: 0px;
	font-weight: 700;
	margin: 0px;
}

#main-nav a {
	display: inline-block;
	line-height: 30px;
	padding: 0px;
	margin: 0px 0px 0px 25px;
	text-decoration: none;
}


#main-nav a:link,
#main-nav a:visited {
	color: #484848;
}

#main-nav a:hover {
	text-decoration: none;
}

.menu-item a {
  text-decoration: none;
  position: relative;
}

header .menu-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  -webkit-transform: scaleX(0);
		  transform: scaleX(0);
  -webkit-transform-origin: right;
		  transform-origin: right;
  transition: -webkit-transform 150ms ease-in;
  transition: transform 150ms ease-in;
  transition: transform 150ms ease-in, -webkit-transform 150ms ease-in;
}

header .menu-item a:hover::after {
  -webkit-transform: scaleX(1);
		  transform: scaleX(1);
  -webkit-transform-origin: left;
		  transform-origin: left;
	background: #1d5fbc;
}


/* Footer */

.page-id-16 footer {
	margin: 0 auto;
}

footer {
	width: 100%;
	margin: 0px auto 0 auto;
	text-align: left;
	padding: 40px 0px 40px 0px;
	background: url('images/footer-bg.png') no-repeat;
	background-color: #1d5fbc;
	position: relative;
	z-index: 10000;
	background-size: cover;
	background-position: bottom center no-repeat;
}

.home footer {
	margin: 0 auto;
}

footer address {
	font-size: 16px;
	line-height: 28px;
	margin: 0 0 30px 0;
	color: #fff;
	font-weight: 500;
}

img.logo-footer {
	width: 250px;
	margin-bottom: 20px;
}

footer a:link, footer a:visited {
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
}

footer li {
	font-size: 16px;
	line-height: 20px;	
}

footer a:hover {
	text-decoration: underline;
}

footer p {
	font-size: 16px;
	line-height: 28px;
	color: #fff;
}

footer h3 {
	font-size: 20px;
	line-height: 30px;
	color: #fff;
} 

footer.copy {
	width: 100%;
	margin: 0 auto;
	text-align: left;
	background: #0a4291;
	padding: 15px 0px 15px 0px;
	border: 0;
}

footer.copy p {
	font-size: 14px;
	line-height: 18px;
	margin: 0;
	color: #fff;
	font-weight: 600;
}

footer.copy a:link, footer.copy a:visited {
	color: #fff;
	font-size: 14px;
	line-height: 18px;
}

.footer-social {
	text-align: center;
}

.social {
	font-size: 18px;
	outline: 0;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-ms-transition: all .1s linear;
	transition: all .1s linear;
	margin: 0px 12px 0px 0px;
	color: #ffffff;
}

.social:hover {
	color: #fff;
}

.connect p span {
	margin-right: 5px;
}

footer address strong {
	font-size: 18px;
}



/* =WordPress Core  */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 12px 8px 10px 8px;
    text-align: center;
	-webkit-box-shadow: 0 10px 6px -6px #ececec;
	-moz-box-shadow: 0 10px 6px -6px #ececec;
	box-shadow: 0 10px 6px -6px #ececec;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 18px;
	line-height: 24px;
	margin: 0;
	font-weight: 600;
	padding: 6px 5px 3px 5px;
}
    margin: 0;
    padding: 6px 5px 3px 5px;
}

span.wpcf7-list-item {
	margin: 0;
}

div.wpcf7 {
	margin: 0px 0px 0px 0px !important;
	padding: 0;
}

div.wpcf7-mail-sent-ok {
	border: 0px solid #398f14 !important;
	color: #666 !important;
}

div.wpcf7-mail-sent-ng {
	border: 0px solid #ff0000 !important;
	color: #666 !important;
}

div.wpcf7-spam-blocked {
	border: 0px solid #ffa500 !important;
	color: #666 !important;
}

div.wpcf7-validation-errors {
	border: 0px solid #398f14 !important;
	color: #666 !important;
}

.wpcf7 {
	position: relative;
	z-index: 1;
}

@media print {

}

