/* ==== Temporary Styles during build ==== */

body,html {
  position: relative;
  height:100%;
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
  line-height: 1;
  /*background: #272324;*/
}

html * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
	background: url(../images/background-texture.png) repeat ;
}
/* ===  Below Adds Momentum Scrolling on iOS Overflow Elements ====
***** this seems to prevent the overlays sitting on top of the header? **** */
/*html {
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}*/
/* End momentum */

/* bring logo text back from indent */
/*p#logo.h1 {
  position: relative;
  text-indent: 0;
}*/


/* line 2224 of style.css comes from line 945, ../scss/breakpoints/_base.scss -- see ref below:
 #logo-image {
  width: 400px;
  height: auto;
  margin: 0;
} */
/*This style for narrow iPhone only*/
p#logo.h1 {
  position: absolute;
  text-indent: -99999px;
  height: 50px;
  top: -50px;
  margin: 0;
}
#logo-image {
  margin: 8px 0 7px 0;
  width: 200px;
  height: 39px;
}

a.socialicon {
  visibility: hidden;
	position: absolute;
	top: 7px;
	right: 50px;
	color: #d1d1d1;
	font-size: 1.8em;
	line-height: 1.5;
}

a.socialicon:hover {
	color: #c0c0c0;
}

a.socialicon.linkedin {
    right: 90px;
}

i.fa.fa-facebook-square {
}


/*======= Main Wrapper - Beak Point =======*/
/* line 72, ../scss/breakpoints/_base.scss */
.wrap {
  width: 94%;
  margin: 0 auto;
}

#container {
  position: relative; /* to place it somewhere on the screen */
  margin: 0;
  padding: 0;
  top:0px;
  bottom:0px; /* makes it lock to the bottom */
  height: 100%;
  /*background: url(../images/background-texture.png) repeat ;*/
}

/* ===== Header and Nav Bar Styles =====*/
.header {
  position: relative;
  background-color: #fafafa;
  margin-bottom: 0px;
  z-index: 1;
  width: 100%;
}

#inner-header {
  position: relative;
}

#navstrip {
  bottom: 0;
  position: relative;
  background-color: #272324;
  padding: 0.2em 0;
  width: 100%;
}

nav.wrap{
  position: relative;
}

.nav li a {
  color: #8C8988;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  line-height: 1;
  margin-right: 0;
  border-right: 2px solid #8C8988;
  padding: 0 1.3em;
  background-color: #272324;
  -o-transition: color 500ms ease;
  -ms-transition: color 500ms ease;
  -moz-transition: color 500ms ease;
  -webkit-transition: color 500ms ease;
  transition: color 500ms ease;
}

.nav li a:hover {
  color: #80C19B;
  text-decoration: none;
}
.nav li.current_page_item a{
	color: #80C19B;
}
.nav li .current-menu-parent a{
	color: red;
}
.nav li:first-of-type a {
  padding-left: 0;
}

.nav li:last-of-type a {
  border-right: 0;
}

/* ===== Fullpage Image Styles - Incl. CSS Animations ==== */
div#fullimage {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
	-webkit-backface-visibility: hidden;
    -webkit-animation: imageAnimation 4s linear;
    -moz-animation: imageAnimation 4s linear;
    -o-animation: imageAnimation 4s linear;
    -ms-animation: imageAnimation 4s linear;
    animation: imageAnimation 4s linear;

}

@-webkit-keyframes imageAnimation {
	0% {
	    opacity: 1;
	    -webkit-transform: scale(1.12);
	    -webkit-animation-timing-function: ease-out;
	}
	100% { opacity: 1 }
}
@-moz-keyframes imageAnimation {
	0% {
	    opacity: 1;
	    -moz-transform: scale(1.12);
	    -moz-animation-timing-function: ease-out;
	}
	100% { opacity: 1 }
}
@-o-keyframes imageAnimation {
	0% {
	    opacity: 1;
	    -o-transform: scale(1.12);
	    -o-animation-timing-function: ease-out;
	}
	100% { opacity: 1 }
}
@-ms-keyframes imageAnimation {
	0% {
	    opacity: 1;
	    -ms-transform: scale(1.12);
	    -ms-animation-timing-function: ease-out;
	}
	100% { opacity: 1 }
}
@keyframes imageAnimation {
	0% {
	    opacity: 1;
	    transform: scale(1.12);
	    animation-timing-function: ease-out;
	}
	100% { opacity: 1 }
}

/* ===== Content Div Styles ===== */
#content-image {
  position: relative;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* changed from min-height on mobiles */
  /*overflow-y: auto;*/ /* commented out for mobiles */
  /*z-index:2;*/
}

#content-image {
	position: relative; /* changed from fixed to relative for mobile */
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#content {
  position: relative;
  margin: 0;
  padding: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  /*background: url(../images/background-texture.png) repeat ;*/
  padding-bottom: 60px;
}

#content p {
  margin:0;
}

#inner-content {
  position: relative;/* Making this relative (from absolute) for better flow on mobile devices, as no subnav alignment needed */
  /*top:8%;*/
  margin-top: 8%;
  width: 85%;
  padding: 7px;
  padding-left: 3%;
  background-color: rgba(0,0,0,0.45);
  margin-bottom: 38px;
}

#inner-content-scroll {
	position: relative;
	padding: 19px 3%;
}

#inner-content p {
	padding-left: 19px;
	font-size: 1em;
}

#inner-content-scroll p,
#inner-content.fleet-page p {
	font-weight: normal;
}
#inner-content ul {
	padding-left: 38px;
	margin-bottom: 9px;
}
#inner-content ul li {
	padding-left: 0px;
	list-style-type: disc;
	list-style-position: outside;
}

/* Style unordered lists for news and general pages */
#inner-content-scroll ul {
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 40px;
	font-weight: normal;
}
#inner-content-scroll ul.slides { /* Prevent 40px margin on slider panels*/
	padding-left: 0;
}
#inner-content-scroll ol {
	list-style-type: decimal;
	list-style-position: outside;
	padding-left: 40px;
	font-weight: normal;
}
/* End list styles*/

#inner-content p.homepage-strapline {
	padding-left: 0;
	margin-top: 9px;
	font-size: 1.1em;
}
/* Styling links in full background page copy */
#inner-content p a,
#inner-content-scroll p a {
	color: #F1EEEB;
	text-decoration: none;
	font-weight: 800;
	border-bottom: 1px solid rgba(241, 238, 235, 0);
  -webkit-transition: border 500ms ease;
  -moz-transition: border 500ms ease;
  -ms-transition: border 500ms ease;
  -o-transition: border 500ms ease;
  transition: border 500ms ease;
}
#inner-content p a:hover,
#inner-content-scroll p a:hover {
	color: #F1EEEB;
	text-decoration: none;
	border-bottom: 1px solid rgba(241, 238, 235, 1);
}
/* End Styling links in full background page copy */
.copyright {
  position: fixed;
  right: 9px;
  bottom: 9px;
  font-size: 0.6em;
  color: rgba(241,238,235,0.5);
}
p.copyright.contact {
	margin: 0;
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	padding: 19px;
	background: url(../images/background-texture.png) repeat ;
	clear: left;
	text-align: right;
}
.entry header {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, p, li, .searchform label {
  color: #F1EEEB;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
  margin:0;
}

#inner-content p + p,
#inner-content-scroll p + p,
#inner-content-scroll P + img,
#inner-content-scroll img + p {
	margin-top: 9px;
}

h1 {
  font-family: 'Bitter', serif;
  font-size: 1.8em;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 8px;
}

h2 {
  font-size: 1.1em;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 19px;
  /* -- removed the "clear: left;" as this messed with the Senior Leadership text wrap -- NOT SURE why there in first place? May have been to deal with headings within News posts... -- */
  /*clear: left;*/
}

/* Add margin above h2 in project or post only */
.project-post h2 {
	margin-top: 19px;
}

h3 {
	font-size: 1.5em;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-top: 38px;
  margin-bottom: 19px;
	text-transform: none;
}
.career-page .project h3.project-title {
	margin-top: 0;
}
p, li {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.career-page h3 {
	clear: both;
	margin: 19px 0 !important;
}


/*====== Home Page Styles =====*/

.homepage-heading {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2.5em;
  line-height: 1.1176;
  letter-spacing: 0.03em;
  font-weight: 400;
  text-transform: none;
}

.homepage-strapline {
  font-size: 1em;
  line-height: 1.5833;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding-left: 0 !important;
}

h1.page-title {
	margin: 0;
}

/* ShiftNav Hamburger Toggle */
#shiftnav-toggle-mainxx {
	z-index: 1; /* make sure Hamburger icon doesn't appear over a green overlay */
}


/*====== Sub Nav Styles =====*/
/* This version (below) changed from fixed to relative for mobiles  - NOT for wider screens */
#subnav {
position: relative;
margin: 38px 0 38px 3%;
width: 50%;
padding: 0 0 38px 0;
}

/* This version (below) for wider screens with subnav on right - NOT for mobiles */
/*#subnav,
#sidebar1 {
position: relative;
top: 28%;
right: 0;
width: 20%;
padding: 0;
}*/

#archives-2.widget.widget_archive {
	padding: 0;
}
nav#subnav.extra_menu ul {
	margin: 0; /* removes top & bottom margins to side menus */
}
.extra_menu ul li {
	display: block;
	margin-bottom: 4px;
}
.extra_menu ul li a {
	display: block;
	margin: 0;
	padding: 7px 19px;
	text-decoration: none;
	color: #F1EEEB;
	font-weight: 700;
	font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  background-color: rgba(39,35,36,0.75);
  -o-transition:background 500ms ease;
  -ms-transition:background 500ms ease;
  -moz-transition:background 500ms ease;
  -webkit-transition: background 500ms ease;
  transition:background 500ms ease;
}
.extra_menu ul li a:hover {
	color: #F1EEEB;
	background-color: #53aa73;
}
.extra_menu ul li a:active, .extra_menu ul li.current_page_item a {
  background-color: #80C19B;
  color: #F1EEEB;
}
/* ===== SubNav and Page Link DIV Styles ===== */
#nav-links {
	position: relative;
	margin: 38px 0 38px 3%;
	padding:0 0 38px 19px;
	width: 56%;
}
#nav-links.route-map-above {
	margin-top: 0;
}
/* To make the new styled page links and download links work properly */
#nav-links a {
  display: flex;
}
#subnav a {
  align-items: center;
}
#subnav a i {
  padding: 0;
  margin: 0 10px 0 0;
}
/* ===== Download Link Styles ===== */
.download-link {
  font-size:0;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
  margin-bottom: 19px;
  padding-right:19px;
}
.download-symbol {
  display:inline-block;
  padding:3px 8px;
  color: #f1eeeb;
  background-color:rgba(85,175,200,1);
  font-family:"Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight:700;
  font-size:0.8rem;
  /* width: ; */
}
.fa-download {
  margin-right:3px;
}
.download-label {
  display:inline-block;
  background-color:rgba(39,35,36,0.75);
  color: rgba(241,238,235,1);
  font-family:"Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight:600;
  font-size:0.8rem;
  letter-spacing:1px;
  border-left: 0;
  padding:3px 9px;
  width: 65%;
}
a .download-label {
	color: #f1eeeb;
	-o-transition:color 500ms ease;
	-ms-transition:color 500ms ease;
	-moz-transition:color 500ms ease;
	-webkit-transition: color 500ms ease;
	transition:color 500ms ease;
}
a .download-label:hover {
	color: rgba(85,175,200,1);
}
/* Styles for ZIP Download on Career Overlays */
.download-link span {
	display: inline-block;
}
.download-link.application {
	font-size: 0 !important;
	margin: 0 !important;
	width: auto;
	padding: 0;
}
.application .download-symbol {
	fomt-size:0;
  padding:3px 8px;
  background-color:#5C9162;
  width: auto;
  margin: 0;
}
.application .download-label {
	fomt-size:0;
  background-color:#f1eeeb;
  color: rgba(128,193,155,1);
  border-left: 0;
  padding:3px 8px;
  width: auto;
  text-transform: uppercase;
  margin: 0;
  font-weight: 700;
}
a .application .download-label:hover {
	color: #5C9162;
}


/* ===== Page Link Styles ===== */
#page-links {
position: relative;
width: 100%;
padding: 0;
}
.page-link:before {
  content:'\f054';
  display:inline-block;
  padding:6px 5px;
  margin-right:10px;
  color: #f1eeeb;
  background-color:rgba(85,175,200,1);
  font-family: FontAwesome;
  font-weight:normal;
  font-size:0.8rem;
}
.page-link {
  display:block;
  background-color:rgba(39,35,36,0.75);
  color: rgba(241,238,235,1);
  font-family:"Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight:600;
  font-size:0.8rem;
  letter-spacing:1px;
  padding: 0px 8px 0px 0px;
  margin-bottom:19px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
  text-decoration:none;
}

a.page-link {
	color: #f1eeeb;
	-o-transition:color 500ms ease;
	-ms-transition:color 500ms ease;
	-moz-transition:color 500ms ease;
	-webkit-transition: color 500ms ease;
	transition:color 500ms ease;
}
a.page-link:hover {
	color: rgba(85,175,200,1);
}
/* Update page/download links to make work better Jul 2022 */
.page-link-2 {
  padding: 0px 0px 0px 0px;
  margin-bottom:19px;
  text-decoration:none;
}
.page-link-2 i.fa {
  padding:0 12px;
  display:flex;
  align-items: center;
  justify-content: center;
  color: #f1eeeb;
  background-color:rgba(85,175,200,1);
  font-family: FontAwesome;
  font-weight:normal;
  font-size:0.8rem;
  margin-right: 0;
}
.page-link-txt {
  background-color:rgba(39,35,36,0.75);
  color: rgba(241,238,235,1);
  font-family:"Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight:600;
  font-size:0.8rem;
  letter-spacing:1px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
  padding:6px 18px;
  width:100%;
}


/* ====== Leadership Page Styles ===== */

/* --- over ride entry in line 1700 of style.css
that is base style for .hentry ---*/
header.article-header {
  padding: 0;
}
section.entry-content {
  padding: 0;
}
.leadership-person {
	margin-top: 19px;
	padding-top: 0px;
	border-top: 0px solid #f1eeeb;
}
.leadership-profile-photo {
  /*float: left;*/
  width: 100%;
  height: 228px;
  overflow: hidden;
}

.leadership-profile-photo img {
  width: 100%;
  min-height: 100%;
}
.leadership-person h2 {
	margin-top: 19px;
	margin-bottom: 0;
	text-transform: capitalize;
	font-family: Bitter, Serif;
	font-weight: bold;
}
.leadership-person h3 {
	margin-top: 7px !important;
	margin-bottom: 8px;
	font: italic 1em "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.leadership-person p {
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
}
/*====== Trade Route Page Styles =====*/
#inner-content.clearfix.trade-routes {
	z-index: 1;
}

img.the-route-map {
	position: relative;
	top: -55px;
	width: 100%;
	height: auto;
	padding: 0px;
}

#table-liner.trade-routes #inner-content {
	top: 40%;
	background-color: transparent;
}

/* ===== Love The Ship Branding ===== */
.love-the-ship-branding {
  position: absolute;
  top: 45.5%;
  padding: 9px 19px;
  padding-left: 3%;
  background-color: rgba(0,0,0,0.35);
}
h4.love-the-ship, h4.best-people {
	font: 2em "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; /*put back to 2.5 for larger screens*/
	line-height: 1.2;
	margin: 0;
	color: #F1EEEB;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
}
h4.best-people {
	font-style: italic;
	font-size: 1.2em; /*put back to 1.5 for larger screens*/
}

/* ===== Careers At Sea ===== */
/* ===== TABLE ====== */
/* ===== Join Our Team DIV Table ===== */
.div-table {
  color: #f1eeeb;
  width: 100%;
  /* border-spacing: ;cellspacing:poor IE support for  this */
  border-collapse: collapse;
  margin-bottom: 38px;
}
.div-table-row {
  position: relative;
  width: 100%;
  background-color: rgba(25,25,25,1);
  margin: 0;
  margin-bottom:4px !important;  border-collapse: collapse;
}
.div-table-row.hover:hover {
	position: relative;
	height: auto;
  background-color: #80C190;
  margin: 0;
  cursor: pointer;
}
.div-table-cell {
  position: relative;
  display: table;
  vertical-align: middle;
  display: inline-block;
  padding: 7px 0 7px 19px;
  background-color: transparent;
  border-collapse: collapse;
  margin: 0;
}
.div-table-cell h4 {
	margin: 7px 0;
}
.div-table a {
	color: #f1eeeb;
	text-decoration: none;
}

.div-table a:hover {
	color: #f1eeeb;
	text-decoration: none;
}
.div-table-cell img {
	width: 30px;
	height: 30px;
	text-align: center;
	margin: 0;
}
.col-1-sea {
	position: relative;
	width:20%;
	padding: 7px;
	margin: 0;
}
.col-1-sea img {
	display: table-cell;
	position: relative;
	margin: 0 auto;
	text-align: center;
}
.col-2-sea {
	position: relative;
	width: 50%;
	margin: 0;
	font-weight: 600;
	font-size: 1.05em;
}
.col-3-sea {
	position: relative;
	width: 20%;
	padding: 7px;
	text-align: center;
	margin: 0;
}


/*====== Careers Application Info Graphic  =====*/
.info-graphic {
	margin: 19px 0 30px 0;
	clear: both;
}
.do-it {
  position:relative;
  width:33%;
  float:left;
  margin: 0 0;
  padding:0 0;
  text-align: center;
  font-family:sans-serif;
  color: #f1eeeb;
  font-weight:normal;
}
.do-it .do-it-title {
  font-weight: bold;
  text-transform: uppercase;
}
.instruct {
font-size: 0.9rem;
padding:0 9px;
	text-align: center;
}
.circle-wrapper {
  position:relative;
  width:100%;
  height:auto;
}
.line-rule {
  position:absolute;
  top:50%;
  width:100%;
  height:2px;
  background-color:#f1eeeb;
}
.circle {
margin-left: auto;
margin-right: auto;
border-radius: 50%;
width: 35%;
position: relative;
  margin-bottom:19px;
}

.circle-border {
border: 1px solid black;
}

.circle-solid{
background-color: whitesmoke;
}

.circle:before {
content: "";
display: block;
padding-top: 100%;
}

.circle-inner {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
text-align: center;
}

.score-text {
margin: auto;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
height: 1em;
line-height: 1em;
font-size: 2rem;
font-weight:bold;
color:rgba(128,193,155,1);
}

/* ===== Fleet Page Styles ===== */
img.the-fleet-page {
	width: 100%;
	height: auto;
	padding: 7px;
}

#inner-content.fleet-page {
	position: relative;
	width: 100%;
	top: 0;
	padding: 0 3% 19px 3%;
	background-color: transparent;
}

#inner-content.fleet-page p {
	padding: 0;
	margin-top: 9px;
	/*text-indent: 19px;*/
}

#inner-content.fleet-page p:first-of-type {
	text-indent: 0;
}
table #tablepress-2 {
	margin-top: 38px;
}
.tablepress {
	margin-top: 38px;
	color: #F1EEEB;
	border: 0;
}

.tablepress td {
	padding: 3px;
	font-size: 0.75em;
	color: rgb(241,238,235) !important; /* Added 10Dec24 to resolve black txt issue after plugin update? */
}

.tablepress thead th, .tablepress tfoot th {
	background: rgba(241,238,235,0.3);
	border: 0;
	font-size: 0.75em;
	padding: 3px;
	color: #F1EEEB !important;
}

.tablepress tbody tr.odd td {
	background: rgba(241,238,235,0.1);
	border: 0;
}

.tablepress tbody tr.even td {
	background: transparent;
	border: 0;
}

.tablepress thead tr .column-4,
.tablepress thead tr .column-5,
.tablepress tbody tr .column-4,
.tablepress tbody tr .column-5,
.tablepress tfoot tr .column-4,
.tablepress tfoot tr .column-5  {
	text-align: right;
}

.tablepress .row-hover tr:hover td {
	background-color: rgba(39,35,36,0.75);
}

/* These styles added 1 Feb 23 to resolve issue with
table text reverting to black - not sure why, maybe due
to a plugin update*/
.tablepress > :where(tbody) > .even > * {
  color: rgb(241, 238, 235);
}

.tablepress > :where(tbody) > .odd > * {
  color: rgb(241, 238, 235);
}

.tablepress > .row-hover > tr:hover > * {
  color: rgb(241, 238, 235);
}

.tablepress > :where(thead, tfoot) > * > th {
  color: rgb(241, 238, 235);
}


/* Ship Tech Spec Tables Only */
.ship-profile .tablepress {
	margin: 0 0 19px 0;
}
.ship-profile .tablepress td {
	padding: 3px 9px;
	font-size: 1em;
	color: rgb(241,238,235) !important; /* Added 10Dec24 to resolve black txt issue after plugin update? */
}
/*Have removed this style until we can make all table rows consistent*/
/*.ship-profile .row-9, .ship-profile .row-19 {
	font-weight: 600;
	border-top: 1px solid rgba(241,238,235,0.4);
}*/
.ship-profile thead th, .ship-profile tfoot th {
	text-transform: uppercase;
}
.ship-profile td.column-2 {
	text-align: right;
}
/* Ship Profile Pages */
img.ship-profile-feature-image {
	width: 100%;
	margin-bottom: 19px;
}
img.reg-flag.alignleft {
	width: 30%;
	margin-top: 0;
	margin-right: 4%;
}
.ship-tech-spec {
	margin: 19px 0;
}
.max-load {
	/*display: inline-block;
	border: 1px solid rgba(241,238,235,0.4);
	padding: 8px;*/
}

/* Button > Overlay Styles */

button,
input#searchsubmit  /* search submit button */ {
  background: rgba(128,193,155,1);
  border: 0;
  margin-left: 19px;
  margin-top: 8px;
  padding: 6px 19px;
  color: #F1EEEB;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  font-size: 1em;
  line-height: 1.25;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  -o-transition:background 500ms ease;
  -ms-transition:background 500ms ease;
  -moz-transition:background 500ms ease;
  -webkit-transition: background 500ms ease;
  transition:background 500ms ease;
}

button:first-of-type {
  margin-left: 19px;
  margin-top: 0;
}

i.fa {
  font-weight: bold;
  padding-left: 4px;
}

button:hover,
input#searchsubmit:hover /* Hover effect for search submit button */ {
	background-color: #53aa73;
}
/* Values button on Ethos Page */
.ethos-page button#trigger-overlay-one {
	margin-top: 19px;
	margin-bottom: 0;
}
.apply-button {
	margin: 19px 0 0 0!important;
	line-height: 1.5;
}
/* Overlay Styles
==== Can we use .overlay-huge instead of listing 5 overlays? ==  */
.overlay-one,
.overlay-two,
.overlay-three,
.overlay-four,
.overlay-five {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(128,193,155,1);
  z-index: 1000;
  overflow-y: auto;
}

/* Overlay closing cross
==== Can we use .overlay-huge instead of listing 5 overlays? ==  */
.overlay-one .overlay-close,
.overlay-two .overlay-close,
.overlay-three .overlay-close,
.overlay-four .overlay-close,
.overlay-five .overlay-close {
  width: 100px;
  height: 23px;
  position: fixed;
  right: 38px;
  top: 38px; /* Closer to top on mobile devices */
  overflow: hidden;
  border: none;
  background: url(../images/close-button-200x46.png) no-repeat center center;
  background-size: 100%;
  /* background-color: ; */
  text-indent: 200%;
  color: transparent;
  outline: none;
  z-index: 1001;
}

/* Overlay Berge Bulk logo
===== Can we use .overlay-huge instead of listing 5 overlays? ==  */
/* ======
===== LOGO NOT SHOWN ON NARROWEST DEVICE ==== */
.overlay-one .overlay-logo,
.overlay-two .overlay-logo,
.overlay-three .overlay-logo,
.overlay-four .overlay-logo,
.overlay-five .overlay-logo {
  /*width: 300px;
  height: 47px;
  position: fixed;
  left: 20px;
  top: 20px;
  overflow: hidden;
  border: none;
  background: url(../images/berge_bulk_logo_801x156_white.png) no-repeat center center;
  background-size: 75%;*/
  text-indent: -200%;
  /*outline: none;
  z-index: 1002;*/
}

/* Menu style
===== Can we use .overlay-huge instead of listing 5 overlays? == */
.overlay-one article,
.overlay-two article,
.overlay-three article,
.overlay-four article,
.overlay-five article {
  text-align: left;
  position: relative;
  top: 50%;
  padding: 0 6%;
  height: 60%;
  /* font-size: 54px; */
  -webkit-transform: translateY(-50%);
  /*== these browser specific prefixs seem to mess up IE
  -moz-transform: translate(-50%,0);
	-ms-transform: translate(-50%,0);
	-o-transform: translate(-50%,0);*/
  transform: translateY(-50%);
}

.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  height: 100%;
  position: relative;
}

.overlay ul li {
  display: block;
  height: 20%;
  height: calc(100% / 5);
  min-height: 54px;
}

.overlay ul li a {
  font-weight: 300;
  display: block;
  color: #fff;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
  color: #e3fcb1;
}

/* Effects */
.overlay-huge {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
  transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay-huge.open {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  z-index: 1000;
}

.overlay-huge article {
  -webkit-perspective: 1200px;
  perspective: 1200px;
  padding-bottom: 38px;
  margin-bottom: 38px;
}

.overlay-huge article ul,
.overlay-huge article h3,
.overlay-huge article p {
  opacity: 0.4;
  -webkit-transform: translateY(-25%) rotateX(35deg);
  -moz-transform: translateY(-25%) rotateX(35deg);
  -ms-transform: translateY(-25%) rotateX(35deg);
  -o-transform: translateY(-25%) rotateX(35deg);
  transform: translateY(-25%) rotateX(35deg);
  -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
  transition: transform 0.5s, opacity 0.5s;
}

.overlay-huge.open article ul,
.overlay-huge.open article h3,
.overlay-huge.open article p {
  opacity: 1;
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
-ms-transform: rotateX(0deg);
-o-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

.overlay-huge.close article ul,
.overlay-huge.close article h3,
.overlay-huge.close article p {
  -webkit-transform: translateY(25%) rotateX(-35deg);
  -moz-transform: translateY(25%) rotateX(-35deg);
  -ms-transform: translateY(25%) rotateX(-35deg);
  -o-transform: translateY(25%) rotateX(-35deg);
  transform: translateY(25%) rotateX(-35deg);
}

/* ===== Overlay Specific Typography ===== */
.overlay h1, .overlay h2, .overlay h3, .overlay p {
  font-size: 100%;
}

.overlay-huge article h3 {
  font: normal bold 1.75rem Bitter, Serif !important;
  line-height: 1.1 !important;
  text-transform: capitalize;
  color: #F1EEEB;
  margin: 0 0 19px 0;
  text-shadow: none;
}

.overlay-huge article h4 {
  font: normal 600 "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  text-transform: capitalize;
  color: #F1EEEB;
  margin: 0 0 19px 0;
  text-shadow: none;
}
.overlay-huge article h5 {
  text-transform: capitalize;
  color: #F1EEEB;
  margin: 8px 0 0 0;
  text-shadow: none;
	font-family: Bitter, Serif;
	font-weight: 600;
	font-size: 1.25rem;
}
#container .overlay-huge article p,
#container .overlay-huge article a,
#container .overlay-huge article p,
#container .overlay-huge article a {
  color: #F1EEEB;
  margin: 0;
  font-style: normal;
  font-size: 1.1rem;/*put back to 1.2rem for larger screens*/
  font-weight: 400;
  line-height: 1.2;/*put back to 1.5 for larger screens*/
  padding: 0 !important;
  text-shadow: none;
  text-indent:0px;
}
#container .overlay-huge article a,
#container .overlay-huge article a {
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid rgba(241, 238, 235, 0);
  -webkit-transition: border 500ms ease;
  -moz-transition: border 500ms ease;
  -ms-transition: border 500ms ease;
  -o-transition: border 500ms ease;
  transition: border 500ms ease;
}
#container .overlay-huge article a:hover,
#container .overlay-huge article a:hover {
	color: #F1EEEB;
	text-decoration: none;
	border-bottom: 1px solid rgba(241, 238, 235, 1);
}
.overlay-huge article p + p { margin-top: 8px !important; }

.overlay-huge article img {
	width: auto;
}
.overlay-huge article ul {
  color: #F1EEEB;
  margin: 0 0 9px 0;
  font-style: normal;
  font-size: 1.1rem;/*put back to 1.2rem for larger screens*/
  font-weight: 600;
  padding: 0 0 0 38px;
  text-shadow: none;
  list-style-type: disc;
  list-style-position: outside;
  margin-top: 9px!important;
}
.overlay-huge article li {
	text-shadow: none;
	font-weight: normal;
	line-height: 1.2; /*put back to 1.5 for larger screens*/
  margin-top: 2px!important;
}
.career-page .overlay-huge.values article ul {
  margin: 0 0 19px 0;
  font-family: Bitter, Serif;
  font-size: 1.4rem;
  font-weight: normal;
  padding: 0 0 0 38px;
  text-shadow: none;
}
/*Hide values graphic on smaller screens*/
.overlay-huge.values article img.values-diag {
	display: none;
}
.overlay-huge article p,
.overlay-huge article li,
.overlay-huge article li .value {
  font-size: 1em;
  line-height: 1.1;
}
/* Style Value descripions */
.overlay-huge.values.open article ul li span.value {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: italic;
	font-size: 1rem;
	line-height: 1;
}
/* Style the APPLY HERE button */
#container .overlay-huge article a.job-application-button,
#container .overlay-huge article a.job-application-button:hover,
#container .overlay-huge article a.job-application-button:focus,
#container .overlay-huge article a.job-application-button:active {
  border: none;
  background-color: #F1EEEB;
  color: rgba(128,193,155,1);
  padding: 6px 16px !important;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-transition: border 500ms ease;
  -moz-transition: border 500ms ease;
  -ms-transition: border 500ms ease;
  -o-transition: border 500ms ease;
  transition: border 500ms ease;
}
#container .overlay-huge article a.job-application-button:hover,
#container .overlay-huge article a.job-application-button:focus,
#container .overlay-huge article a.job-application-button:active {
  background-color: #E0E7DF;
}

/* ===== Job Vacancy Styles */

.job-vacancies {
	position: relative;
  background-color: rgba(25,25,25,1);
  padding: 9px 19px;
  margin-bottom: 4px;
}
h3.job-title {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.2em!important;
	margin: 0 !important;
	/*border-bottom: 1px solid #f1eeeb;
	display: inline-block;*/
}
.job-vacancy {
	margin-bottom: 7px;
}
.job-vacancy h2 {
	font-size: 1em !important;
	font-weight: 600;
	text-transform: none;
	font-style: italic;
	border-bottom: 1px solid #6f6e6d;
	padding-bottom: 9px;
}
.job-vacancy p {
	font-weight: normal;
	text-indent: 0;
	line-height: 1.5;
}


/* =====
 * FlexSlider Specific Styles
 * =====
*/

/* ===== My styles ===== */

/* remove bullets to flex-direction-nav */
#inner-content-scroll ul.flex-direction-nav {
  list-style-type: none;
}

h3.job-heading,
h3.carousel-heading {
  background-color: rgba(25,25,25,1);
  padding: 9px 19px;
  margin: 19px 0 4px 0 !important;
}
h3.carousel-heading {
	margin-top: 38px !important;
}
.quote-slider .flex-direction-nav { /* Remove nav arrows on quote sliders */
  display: none;
}

.carousel-item {
  position: relative;
  background-color: rgba(25,25,25,1);
  width: 100%;
}

.quote-photo {
  float: none;
  width: 100%;
  height: 228px;
  overflow: hidden;
  margin-right: 19px;
}

/* ===== ImageFill Edits to original CSS so it works OK ===== */
.flexslider .slides .quote-photo img {
  /*min-width: 100%; REMOVED to make IMAGEFILL work */
  /*min-height: 100%; REMOVED to make IMAGEFILL work */
}

.quote {
  position: relative;
  padding: 19px;
}

.quote h3 {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 1.3rem;
	line-height: 1.5;
	margin-top: 0 !important;
}
.quote-name {
	font-size: 1.25em;
	font-weight: 600 !important;
	padding-top: 0;
		line-height: 1;
}
.quote-ship {
	font-style: italic;
	text-indent: 0;
	line-height: 1;
	margin-top: 0 !important;
}

/* ===== Non Full Page Header Images ===== */
#top-photo {
  position: relative;
  width: 100%;
  height: 285px; /*set as a percentage for wider screens*/
  overflow: hidden;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
/* ===== CHECK !!!!!!! =====*/

/*#top-photo img {
  width: 100%;
  height: auto;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}*/



/* ===== Health & Safety Page Styles ===== */

/* on small screen remove .safety-message  */
.safety-message {
	display: none;
}
img.bulk-character {
	position: absolute;
	height: 90%;
	width: auto;
	top:120px;
	right: 3px;
}

.ss-logo-size img.alignleft.size-full {
	width: auto;
	margin: 0;
}


/*===== News Page Styles =====*/
/*===== Incl. PHILANTHROPY Project Styles =====*/
.large-news-item, .news-item {
	position: relative;
	margin-top: 19px;
	padding-top: 0px;
	background-color: rgba(25,25,25,1);
}
.project-item {
	position: relative;
	margin-top: 0;
	padding-top: 0px;
	background-color: rgba(25,25,25,1);
	border: 0;
}
.large-news-item {
	margin-top: 0;
}
.feature-photo {
	position:relative;
  width: 100%;
  /*height: 228px;*/
  height: 247px;
  overflow: hidden;
  border: 0;
	display: inline-block;
  	text-align: center;
}
.large-news-item .feature-photo {
	/*height: 285px;*/
  height: 360px;
}
/* ===== ImageFill Edits to original CSS so it works OK ===== */
.feature-photo img {
/*position: absolute; REMOVED to make IMAGEFILL work */
/*display: block; REMOVED to make IMAGEFILL work */
/*width: 100%; REMOVED to make IMAGEFILL work */
/*min-height: 100%; REMOVED to make IMAGEFILL work */
/*top: 50%; Removed as we only want to center horizontally*/
/*left: 50%; REMOVED to make IMAGEFILL work */
/*-webkit-transform: translate(-50%,0); REMOVED to make IMAGEFILL work */
/*-moz-transform: translate(-50%,0); REMOVED to make IMAGEFILL work */
/*-ms-transform: translate(-50%,0); REMOVED to make IMAGEFILL work */
/*-o-transform: translate(-50%,0); REMOVED to make IMAGEFILL work */
/*transform: translate(-50%,0); REMOVED to make IMAGEFILL work */
/*transform: translate(-50%,-50%); Changed the second 50% to 0 to not alter vertical positioning*/
}
h1.news-heading, #inner-content-scroll .project h3 {
	margin: 0;
	margin-bottom: 7px;
	text-transform: capitalize;
	font-family: Bitter, Serif;
	font-weight: bold;
	font-size: 1.2em;
	padding: 8px 7px 0 7px;
}
#inner-content-scroll .project h3.project-title {
	margin-top: 0 !important;
}
#inner-content-scroll .project h3.job-heading {
	margin-bottom: 4px !important;
}

.large-news p.news-date,
.news p.news-date {
	font: italic 1em "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 7px;
}
.large-news p,
.news p,
p.project-excerpt {
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
	padding: 0 7px;
}
.news p + p {
	text-indent: 0;
}

p.news-link,
p.project-link {
	padding: 7px;
	text-indent: 0;
}

#inner-content-scroll .large-news a,
#inner-content-scroll .news a,
#inner-content-scroll a.news,
#inner-content-scroll .project-link a,
#inner-content-scroll .wpcf7-submit,
.news-link a {
	display: inline-block;
	background-color: #80c198;
	padding: 7px 19px;
	margin: 0;
	color: #f1eeeb;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
	text-indent: 0;
	line-height: 1;
	  -o-transition:background 500ms ease;
  -ms-transition:background 500ms ease;
  -moz-transition:background 500ms ease;
  -webkit-transition: background-color 500ms ease;
  transition:background 500ms ease;
}
#inner-content-scroll .large-news a:hover,
#inner-content-scroll .news a:hover,
#inner-content-scroll a.news:hover,
#inner-content-scroll .project-link a:hover,
#inner-content-scroll .wpcf7-submit:hover,
.news-link a:hover {
	background-color: #53aa73; /*#5eb080*/
	color: #f1eeeb;
	border-bottom: 1px solid #53aa73;
}
#inner-content-scroll .wpcf7-submit {
	margin-top: 19px;
}
#inner-content-scroll .wpcf7-submit:hover {
	border-bottom: 0;
}
.project-item {
	margin-top: 19px;
}
.project,
.large-news,
.news {
	padding: 9px;
}

p.byline.vcard {
	padding-bottom: 19px;
}

/* ===== Focus Area Panels - Blue Matters & Innovative Tech ==== */
.focus-area {
  padding: 18px;
}
.focus-area-heading {
	line-height: 1.2;
	/*padding-left: 7px;*/
}
.focus-area p {
	padding-left: 0 !important;
}
.news {

}
/* ===== Post Page ==== */
h1.capitalize {
	text-transform: capitalize;
}
/* ===== Archive Page Styles ===== */
.archive article {
	border-top: 1px solid rgba(241,238,235,0.4);
}
.archive .article-header {
	margin-top: 19px;
}
.article-header h3.h2.entry-title {
	margin-bottom: 0px !important;
}
h3.h2.entry-title a {
	font-weight: bold;
	color: #f1eeeb;
	font-family: Bitter, Serif;
	border-bottom: 1px solid rgba(241, 238, 235, 0);
	-webkit-transition: border 500ms ease;
	-moz-transition: border 500ms ease;
	-ms-transition: border 500ms ease;
	-o-transition: border 500ms ease;
	transition: border 500ms ease;
}
h3.h2.entry-title a:hover {
	border-bottom: 1px solid rgba(241, 238, 235, 1);
}
p.byline {
	color: #f1eeeb;
}

.archive .entry-content img.attachment-thumbnail.wp-post-image {
	margin-top: 9px;
	margin-bottom: 9px;
}

/* ===== Archive Widget in Sidebar ===== */
/*.sidebar {
	position: relative;
	margin: 0;
	padding: 0;
}*/
.sidebar, .widget_archive {
	position: relative;
	width: 100%;
	padding: 0 3%;
	margin: 0;
}
h4.widgettitle,
li.ship-profile-title {
	font-family: Bitter, Serif;
	font-size: 1.1em;
	font-weight: bold;
	color: #f1eeeb;
	border: 0;
	margin: 0;
	padding-left: 7px;
}
.widget_archive ul li {
	display: block;
	margin-bottom: 7px;
	width: 100%;
	background-color: rgba(39,35,36,0.75);
}
.widget_archive ul li a {
	display: inline-block;
	padding: 7px;
			color: #f1eeeb;
	font-weight: bold;
	text-decoration: none;
	text-shadow: none;
}

a.button.trigger-link {
	display: block;
	width: 70%;
	padding: 6px 19px;
	color: #f1eeeb;
	font-weight: bold;
	text-decoration: none;
	text-shadow: none;
	background-color: rgba(39,35,36,0.75);
	margin: 9px 0 19px 19px;
}
a#trigger-link-one {
	margin-top: 19px;
	margin-bottom: 8px;
}

/* ===== Marshall Foundation Page =====*/
img.size-large {
	margin-top: 19px;
	display: block;
}
img.size-full {
	display: block;
	width: 100%;
	height: auto;
	margin: 19px 0 19px 0;
}
.all-projects h5 {
	font-family: Bitter, Serif;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.15;
	margin-top: 9px;
	font-size: 0.8em;
}
.all-projects p + p {
	text-indent: 0;
}
.all-projects p, .all-projects p + p {
	margin-top: 2px !important; font-size: 0.8em; line-height: 1; }

.education-projects,
.health-projects,
.environmental-projects,
.financial-projects {
	width: 48%;
	float: left;
	margin-top: 19px;
}
.education-projects {
	border-top: 3px solid #f4be06;
	margin-right: 4%;
}
.health-projects {
	border-top: 3px solid #b7d6db;
}
.environmental-projects {
	border-top: 3px solid #d25c4f;
	margin-right: 4%;
}
.financial-projects {
	border-top: 3px solid #97b03a;
}

/* ====== Projects - Individual ===== */
#inner-content-scroll img.feature-image {
	width: 100%;
	height: auto;
	margin-bottom: 19px;
}
#inner-content-scroll h2 {
	margin-bottom: 9px;
	font-size: 1.25em;
	line-height: 1.25;
}
#inner-content-scroll h3 {
	font-size: 1.2em;
	line-height: 1.25;
	margin: 19px 0 9px 0;
}
img.aligncenter {
	float: left;
	width: 100%;
	height: auto;
	margin: 19px 0;
	padding: 0;
}
img.alignleft {
	float: left;
	width: 100%;
	height: auto;
	margin: 8px 8px 0 0; /* before edit below */
	margin: 19px 0;
}
img.alignright {
	float:right;
	width: 100%;
	height: auto;
	margin: 8px 8px 0 0; /* before edit below */
	margin: 19px 0;
}


/* ===== Application Form ===== */
input.wpcf7-text,
textarea.wpcf7-textarea {
	background-color: rgba(25,25,25,1);
	color: #888888;
	font-size: 0.9em;
	width: 100%;
	margin-top: 7px;
	padding: 0 8px 0 19px;
}
.wpcf7-form {
	margin-top: 19px;
}
.wpcf7-form p {
	font-family: Bitter, Serif;
	text-indent: 19px;
}
.wpcf7-form p.file-type {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.8em;
	line-height: 1;
	padding-left: 19px;
	text-indent: 0;
}
.wpcf7-submit {
	border: 0;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: 1px;
	line-height: 1;
	margin-top: 19px;
	padding: 7px 19px;
}
::-webkit-input-placeholder {
   color: #888888;
   letter-spacing: 0.1em;
   	text-shadow: none;
	font-size: .8em;
}
:-moz-placeholder { /* Firefox 18- */
   color: #888888;
   letter-spacing: 0.1em;
   	text-shadow: none;
	font-size: 0.8em;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #888888;
   letter-spacing: 0.1em;
   	text-shadow: none;
	font-size: 0.8em;
}
:-ms-input-placeholder {
   color: #888888;
   letter-spacing: 0.1em;
   	text-shadow: none;
	font-size: 0.8em;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus{
	background-color: #f1eeeb;
	color: #888888;
}
-input[type=file] {
	background-color: rgba(25,25,25,1);
	margin-top: 9px;
	margin-left: 19px;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1em;
}

span.wpcf7-not-valid-tip {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: rgba(242,212,115,1);
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
	color: rgba(25,25,25,1);
	background-color: rgba(242,212,115,1);
	padding: 7px 19px;
	border-style: none;
	border-width: 0;
}
.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
	color: rgba(241,238,235,1);
	background-color: #5eb080;
	padding: 7px 19px;
	border-style: none;
	border-width: 0;
}


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

/* Styles for email and URL links on contact page */
#inner-content-scroll .email a,
#inner-content-scroll .career-email a,
#inner-content-scroll .agent-contact a,
#inner-content-scroll .company-details a {
	font-weight: 600;
	border-bottom: 1px dotted #f1eeeb;
}
#inner-content-scroll .email a:hover,
#inner-content-scroll .career-email a:hover,
#inner-content-scroll .agent-contact a:hover,
#inner-content-scroll .company-details a:hover {
	font-weight: 600;
	border-bottom: 1px solid #f1eeeb;
}



/* Map Styles */

#inner-content-scroll .simpleTabs {

}
.map-wrapper {
    position: relative;
    /*padding-bottom: 56.25%; /* 16:9 */
    height: 266px;
}
.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Start Rough Styling of Tab 1 Content */
/* Type Styles */
.tab-content-block.top {
		width:100%;
		padding: 0;
		margin-top: 19px;
		margin-bottom: 38px;
		padding-left: 19px;
}
.tab-content-block h5, .agent-details h5 {
	font-size: 1.0625rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-decoration: none;
	margin-bottom: 9.5px;
	}
.tab-content-block {
	margin-bottom: 38px;
}
.tab-content-block:last-of-type {
	margin-bottom: 0;
}
.tab-content-block h5:first-of-type {
	margin-top: 0;
}
.tab-content-block p + p {
	margin-top: 0 !important;
}
.other-contacts {
	clear: left;
	border: 1px solid rgba(241,238,235,0.4);
	padding: 19px;
}
.intro {
	padding: 0 0 9.5px 0;
}
.phone,
.fax,
.email,
.name,
.position,
.agent-address p,
.agent-contact p {
	padding: 0;
	text-indent: 0;
}
.name {
	font-weight: 600;
}
.position {
	font-style: italic;
}
/*This edited in wider styles*/
.company-names,
.company-address {
	/*float: left;*/
	/*width: 30%;*/
	/*margin-right: 2%;*/
	margin-top:8px;
}
.company-names p,
.company-address p,
.company-details p {
	padding: 0;
}
.company-names p{
	font-weight: 600 !important;
}
.company-details {
	padding-top: 0px;
}
.career-email p,
.agent-address p,
.agent-contact p {
	padding: 0;
	margin: 0 !important;
}
.agents h4 {
	font-size: 1.0625rem;
	padding: 9.5px 19px;
}
.agents {
	clear: left;
	margin-top: 19px;
	padding-bottom: 19px;
	border: 1px solid rgba(241,238,235,0.4);
}
.agent-details {
	margin-top: 19px;
	border-top: 1px solid rgba(241,238,235,0.4);
	padding: 19px 19px 0 19px;
}
.agent-details:first-of-type {
	margin: 0;
}
.agent-contact {
	margin-top: 9.5px;
}
.career-email {
	margin-top: 9.5px;
}

/* === Block Styles === */
div.simpleTabs {
	margin: 0px;
}

div.simpleTabsContent {
	padding: 9px 19px  19px 19px;
	}
.tab-content-block {
	margin-top: 0px;
}

/*Lloyds List Register Panel*/
.lloyds-wrapper * {
	color: rgba(25,25,25,1);
	text-shadow: none;
}
.lloyds-wrapper h6 {
	font-size: 1em;
	letter-spacing: 0.1em;
	margin: 0;
}
.lloyds-wrapper p {
	font-size: 0.8em;
}
.lloyds-wrapper ul {
	color:left;
	font-size: 0.8em;
	padding-left: 19px;
	margin: 0;
	list-style-type: disc;
	list-style-position: inside;
}
.lloyds-wrapper {
	position: relative;
	padding: 19px 28px;
	background-color: rgba(128,193,155,1);
}
.lloyds-wrapper img {
	margin-right: 9.5px;
	margin-bottom: 19px;
}

/* Lloyds List register - Enironment Page */
.environ-lloyds-wrapper {
	padding-left: 19px;
	margin-top: 38px;
	position: relative;
}
.iso-award-logo {
	margin-right: 9px;
	margin-bottom: 9px;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
	width: 120px;
	height: 76px;
}
.iso-award-logo .st00 {
	fill:#F1EEEB;
}
#inner-content .environ-lloyds-text h5 {
	margin-bottom: 4px;
	line-height: 1;
}
#inner-content .environ-lloyds-text p,
#inner-content .environ-lloyds-text ul {
	font-size:0.6em;
	padding-left: 0;
}
#inner-content .environ-lloyds-text ul{
	margin: 0;
}
#inner-content .environ-lloyds-text li{
	list-style-position: inside;
}

/* Style slideshow on fleet page */
/* PLUS Next-Gen-Gallery Specific Styles */
.slideshowlink a {
	font-weight: normal !important;
}
.ngg-slideshow {
	margin-top: 19px;
}


/* Our Values Page styles */
.seven-values {
}
.values-list h3 {
	font-size: 1.2em;
	margin: 9px 0 0 0;
	padding-left: 19px;
}

/* 404 and search pages */
footer.article-footer {
	padding: 19px 0;
}

input#searchsubmit {
	margin-left: 0;
}
.searchform input {
	margin-top: 9px;
}
.page-numbers {
	background-color: #80c198;
	border: 0;
}
.page-numbers.current {
	border: 0;
	font-weight: bold;
	color: #f1eeeb;
	background-color:  #53aa73;
}
.pagination a:hover, .pagination a:focus, .pagination span:hover, .pagination span:focus {
  background-color: #53aa73;
}

/* Photo/Image Captions
	start .wp-caption */
.wp-caption {
  max-width: 100%;
  background: rgba(25,25,25,1);;
  padding: 0 0 5px 0;
  margin-bottom: 19px;
  /* images inside wp-caption */
}
.wp-caption img {
  max-width: 100%;
  margin-bottom: 0;
  width: 100%;
  height: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 0.85em;
  margin: 4px 0 7px;
  text-align: left;
  font-style: italic;
  padding-left: 9px;
}
.wp-caption.aligncenter {
	min-width: 100%;
	height: auto;
}
/* end .wp-caption */


/* [Object] Modal
 * =============================== */
.modalLL {
  opacity:0;
  visibility: hidden;
  position: absolute;
  text-align: left;
  background: rgba(0,0,0,0.1);
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}
.modal__bg {
  position: relative;
  top: 0;
  right: 0;
  cursor: pointer;
}
.modalLL.openModal {
  opacity: 1;
  visibility: visible;
}
.modal__inner {
  display: inline-block;
  transition: top .25s ease;
  position: absolute;
  bottom: 20px;
  left: 0px;
  width: 200px;
  opacity:1;
  background: rgba(25,25,25,1);
  padding: 1em 2em;
}
label svg:hover {
  cursor: pointer;/* make cursor a pointer as you hover over svg logos */
}
.modal__inner:after /* triangle decoration */
{
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #111;
content: '';
position: absolute;
left: 50%;
bottom: -10px;
margin-left: -10px;
}
.modal__close {
  position: absolute;
  right: 1em;
  top: 0.5em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}
.modal__close:before {
  content: '\f00d';
  font-family: FontAwesome;
  font-size: 1.52em;
  color: #80c198;
  position: absolute;
  width: 1.1em;
  height: 1.1em;
  display: block;
  text-align: center;
}
.modal__close:hover:before {
  color: #53aa73;
}

/* This positions the overlay buttin on the Fuel Saving page */
.page-id-70 button#trigger-overlay-one {
	display: block;
	clear: both;
	margin-top: 19px;
	float: none;
}

/* ===== Comment Styles ===== */

header.comment-author.vcard { /* remove left & right padding to commentor name and date */
	padding-left: 0;
	padding-right: 0;
}
.comment .vcard { /* remove margin where avatar sat */
  margin-left: 0px;
}

.comment_content p {
	color: #767C8E;
	text-shadow: none;
}

a.comment-reply-link, .comment-form p.form-submit input#submit.submit {
	background-color: #80c198;
}

a.comment-reply-link:hover, .comment-form p.form-submit input#submit.submit:hover {
	background-color: #53aa73;
}

#cancel-comment-reply-link {

}

#reply-title,
#cancel-comment-reply-link,
#commentform label,
.comment-notes,
#comment,
p.logged-in-as {
	color: #767C8E;
	text-shadow: none;
}

#cancel-comment-reply-link,
#commentform p.logged-in-as a {
	color: #80c198;
}

#respond {
	margin-top: 38px;
	background-color: rgba(248,249,250,1);
	border-top: 6px solid #53aa73;
}


/*****
Specific styles for weFroms form on Responsible Business Report Download page
*****/
.weforms-8945 {
	margin-top: 2em;
}
#inner-content .weforms-8945 ul li {
	list-style: none;
}
.weforms_submit_btn {
	border-radius: 6px;
	background: #0077BE;
	padding: 20px 40px;
	font-weight: normal;
	line-height: 1;
	margin-top: 1em;
	margin-bottom: 2em;
	color: #fff;
	font-size: 1em;
	border: 0;
	transition:0.3s;
}
.weforms_submit_btn:hover,
.weforms_submit_btn:active {
	background-color: #00629c;
}


/*********************
iPhone LANDSCAPE
This is for MOBILES in landscape. We will make social icons visible
as there's space to show them.
*********************/

@media only screen and (min-width: 470px) {
/*START STYLES*/
  a.socialicon {
    visibility: visible;
  }
/*END STYLES*/
}








/*********************
LARGER MOBILE DEVICES
This is for devices like the Galaxy Note or something that's
larger than an iPhone but smaller than a tablet. Let's call them
tweeners.
*********************/

@media only screen and (min-width: 481px) {
/*START STYLES*/
#logo-image {
  margin: 8px 0 7px 0;
  width: 240px;
  height: 47px;
}
a.socialicon {
	top: 10px;
}
#inner-content {
  /*top: 12%;*/ /*Remove this for mobile and replace with margin below*/
  margin-top:8%;
  width: 90%;
  padding: 7px;
  padding-left: 3%;
}
.homepage-heading {
	font-size: 4em;
}
.homepage-strapline {
  font-size: 1.4em;
}
h1 {
  font-size: 2.25em;
  line-height: 1;
}
h2 {
  font-size: 1.3em;
  line-height: 1.5;
  margin-bottom: 19px;
}
p, li {
  font-size: 1.25em;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: 600;
}
#table-liner.trade-routes #inner-content {
	top: 55%;
	background-color: transparent;
}
.leadership-profile-photo {
  position: relative;
  width: 40.5%;
  height: 263px;
  float: left !important;
  margin: 0 19px 0 0;
}
.leadership-profile-photo img {
	position: absolute;
	left: -19%;
  width: auto;
  min-height: 100%;
}
.leadership-person h2 {
	margin-top: 0;
}
img.the-fleet-page {
	padding-bottom: 19px;
}
.tablepress td {
	padding: 4px;
	font-size: 1.1em;
}
.tablepress thead th, .tablepress tfoot th {
	padding: 4px;
	font-size: 1.1em;
}
.overlay-one article,
.overlay-two article,
.overlay-three article,
.overlay-four article,
.overlay-five article {
  top: 50%;
  padding: 0 12%;
  height: 60%;
}
#inner-content .overlay-huge article p,
#inner-content .overlay-huge article li {
  font-size: 1.3rem;
  line-height: 1.25;
}
a.button.trigger-link {
	width: 35%;
	padding: 7px 19px;
	margin: 9px 0 0px 19px;
	display: inline-block;
}
a#trigger-link-one {
	margin-top: 19px;
	margin-bottom: 8px;
}
img.marshall-diag {
	clear: both;
	display: block;
	margin-left: 14%;
	margin-right: auto;
	width: 70%;
}
.project-item,
.news-item {
	width: 48%;
	float: left;
	margin-right: 3.8%; /* This should be 4% but makes wrap fail with flexbox */
}
.news-item:nth-child(even) {
	margin-right: 0;
}
.flexbox .project-item:nth-of-type(even) {
	margin-right: 0;
	/*background-color: red;*/
}
.flexbox .project-item:nth-of-type(odd) {
	/*background-color: yellow;*/
}


/* Flexbox to make news-itmes same height */
.flexbox {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;

-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
news-item {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
/* End Flexbox */

/* ===== ImageFill Edits to original CSS so it works OK ===== */
.large-news-item .feature-photo img {
/*width: 100%; REMOVED to make IMAGEFILL work */
/*height: auto; REMOVED to make IMAGEFILL work */
/*top: 50%; REMOVED to make IMAGEFILL work */
/*left: 50%; REMOVED to make IMAGEFILL work */
/*-ms-transform: translate(-50%,-50%); REMOVED to make IMAGEFILL work */
/*-moz-transform: translate(-50%, -50%); REMOVED to make IMAGEFILL work */
/*-webkit-transform: translate(-50%, -50%); REMOVED to make IMAGEFILL work */
/*transform: translate(-50%, -50%); REMOVED to make IMAGEFILL work */
}

/* ===== ImageFill Edits to original CSS so it works OK ===== */
.feature-photo img {
  /*width: auto; REMOVED to make IMAGEFILL work */
  /*min-width: 100%; REMOVED to make IMAGEFILL work */
  /*height: 100%; REMOVED to make IMAGEFILL work */
}

p.project-link {
	font-size: 1em;
}
img.alignleft {
	float: left;
	width: 48%;
	height: auto;
	margin-top: 9px;
	margin-right: 19px;
}
img.alignright {
	float: right;
	width: 48%;
	height: auto;
	margin-top: 9px;
	margin-left: 19px;
}
#nav-links {
	width: 50%;
}
.modal__inner { /* Sets wider width to ISO logo modal box */
   width: 400px;
}

/* Wider FlexSlider Specific Styles */
.quote-photo {
	position: relative;
	top: 0;
	left: 0;
	float: left;
	width: 40%;
	height: 328px !important;
	overflow: hidden;
	margin-right: 0px;
}

/* ===== ImageFill Edits to original CSS so it works OK ===== */
.flexslider .slides .quote-photo img {
	/*max-height: 100%; REMOVED to make IMAGEFILL work */
	/*width: auto; REMOVED to make IMAGEFILL work */
 }

.quote {
	float: left;
	position: relative;
	padding: 19px;
	width: 60%;
}

.quote h3 {
	font-size: 1.25rem !important;
	line-height: 1.5;
	margin-top: 0 !important;
}
.quote-name {
	font-size: 1rem !important;
}
.quote-ship {
	margin-top: 4px !important;
	font-size: 0.8rem !important;
}
/* End Quote Flexslider */

/*END STYLES*/
}





/*********************
STYLES TO MAKE INTERMEDIATE SCREEN WIDTHS WORK WELL
 *********************/
@media only screen and (min-width: 653px) {
/*START STYLES*/

.leadership-profile-photo {
  position: relative;
  width: 210px; /*33.5%*/
  height: 263px;
  float: left;
  margin: 0 19px 0 0;
}
.leadership-profile-photo img {
	position: absolute;
	left: -16%;
  width: auto;
  min-height: 100%;
}
.leadership-person p {
	position: relative;
	padding-left: 229px;
}

/*END STYLES*/
}






/*********************
LARGER TABLETS AND iPADS
This is for devices like the early iPads and medium sized tablets. *********************/
@media only screen and (min-width: 768px) {
/*START STYLES*/
#logo-image {
  margin: 10px 0 9px 0;
  width: 250px;
  height: 49px;
}
a.socialicon {
	right: 0;
}
a.socialicon.linkedin {
    right: 40px;
}
#navstrip {
  padding: 10px 0;/*increased top & bottom padding to give depth to nav*/
}
#content-image {
	position: fixed; /* changed from relative to fixed for non-mobile */
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow-y: auto;
}
#inner-content {
position: relative;/*Added for wider screens*/
top: 30%; /*Put this back for wider screen and remove margin below*/
margin-top: 0%;
width: 70%;
padding: 19px;
padding-left: 3%;
overflow-y: auto;
}
#shiftnav-toggle-mainxx {
	display: none; /* Remove Hamburger Icon on larger Screens */
}
#nav-links, .widget_archive {
position: fixed;
top: 30%;
right: 0;
width: 26.5%;
padding: 0;
margin: 0;
}
#subnav {
position: relative;
  /*top: 30%;
  right: 0;*/
  top:0;
  width: 100%;
  margin: 0;
}
#page-links {
position: relative;
/*width: 100%;*/
padding: 0 19px 0 0;
}
.download-link {
	margin-right: 19px;
	width: 90%;
	padding-right: 0;
}
.extra_menu ul li a {
  padding: 7px 7px 7px 19px;
}
.homepage-heading {
	font-size: 4em;
}
.homepage-strapline {
  font-size: 1.4em;
}
h1 {
  font-size: 2.25em;
  line-height: 1;
}
h2 {
  font-size: 1.3em;
  line-height: 1.5;
}
p, li {
  font-size: 1em;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: 600;
}
#inner-content-scroll,
#inner-content.fleet-page {
	position: relative;
	width: 70%;
	padding: 19px 19px 57px 3%;
}

#inner-content-scroll.simpleTabs {
	width: 100%;
	margin: 38px 0;
	padding: 0 3%;
}
#table-liner.trade-routes #inner-content {
	top: 5%;
	background-color: transparent;
	/*background-color: rgba(0,0,0,0.35);*/
}
#inner-content.clearfix.trade-routes {
	top: 10%;
}
img.the-route-map {
	top: 60px;
	width: 84%;
	height: auto;
}
.leadership-profile-photo {
  position: relative;
  width: 210px;/*40.5%*/
  height: 263px;
  float: left;
  margin: 0 19px 0 0;
}
.leadership-profile-photo img {
	position: absolute;
	left: -19%;
  width: auto;
  min-height: 100%;
}
.leadership-person h2 {
	margin-top: 0;
}
img.the-fleet-page {
	width: 75%; padding: 19px 0 19px 0px;
}
/* Fleet List Table */
.tablepress td {
	padding: 4px;
	font-size: 1em;
}
.tablepress thead th, .tablepress tfoot th {
	padding: 4px;
	font-size: 1em;
}
/* Ship Tech Spec Tables */
.ship-profile .tablepress {
	width: 60%;
	margin-bottom: 0;
	margin-right: 2.5%;
	float: left;
}
.ship-profile img.reg-flag {
	width: 20%;
	margin: 0 17.5% 9px 0 ;
}

button {
  margin-left: 19px;
  margin-top: 10px;
}
button:first-of-type {
  margin-left: 19px;
  margin-top: 0;
}
.overlay-one .overlay-logo,
.overlay-two .overlay-logo,
.overlay-three .overlay-logo,
.overlay-four .overlay-logo,
.overlay-five .overlay-logo {
  width: 300px;
  height: 47px;
  position: fixed;
  left: 20px;
  top: 58px;
  overflow: hidden;
  border: none;
  background: url(../images/berge_bulk_logo_801x156_white.png) no-repeat center center;
  background-size: 75%;
  text-indent: -200%;
  outline: none;
  z-index: 1002;
}
.overlay-one .overlay-close,
.overlay-two .overlay-close,
.overlay-three .overlay-close,
.overlay-four .overlay-close,
.overlay-five .overlay-close {
  top: 69px;
}

.overlay-one article,
.overlay-two article,
.overlay-three article,
.overlay-four article,
.overlay-five article {
  top: 50%;
  padding: 0 12%;
  height: 60%;
}
.overlay-huge article p,
.overlay-huge article li,
.overlay-huge article li .value {
  font-size: 1em;
  line-height: 1.25;
}
/* Style Value descripions */
.overlay-huge.values.open article ul li span.value {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-style: italic;
	font-size: 1rem;
	line-height: 1;
}
/*Show values graphic on larger screens and hide UL list*/
.overlay-huge.values article img.values-diag {
	display: inline-block;
}
.overlay-huge.values article ul.values-list {
	display: none;
}
a.button.trigger-link {
	width: 35%;
	padding: 7px 19px;
	margin: 9px 0 0px 19px;
	display: inline-block;
}
a#trigger-link-one {
	margin-top: 19px;
	margin-bottom: 8px;
}
img.marshall-diag {
	clear: both;
	display: block;
	margin-left: 14%;
	margin-right: auto;
	width: 70%;
}

/*.safety-message {
	display: block;
	position: absolute;
	height: 18%;
	left: 3%;
	bottom: 14%;
}*/
img.bulk-character {
	position: absolute;
	height: 85%;
	width: auto;
	top:110px;
	right: 12%;
}
/* Not sure we need these ????
==================
project-item,
news-item {
	width: 48%;
	float: left;
	margin-right: 4%;
}
project-item:nth-child(even),
news-item:nth-child(odd) {
	margin-right: 0;
}
===================*/

/* ===== ImageFill Edits to original CSS so it works OK ===== */
.large-news-item .feature-photo img {
  /*width: 100%; REMOVED to make IMAGEFILL work */
  /*height: auto; REMOVED to make IMAGEFILL work */
}

/* ===== ImageFill Edits to original CSS so it works OK ===== */
.feature-photo img {
  /*width: auto; REMOVED to make IMAGEFILL work */
  /*min-width: 100%; REMOVED to make IMAGEFILL work */
  /*height: 100%; REMOVED to make IMAGEFILL work */
}

p.project-link {
	font-size: 1em;
}
/*img.alignleft {
	float: left;
	width: 48%;
	height: auto;
	margin-right: 4%;
}*/
.archive article {
	clear: left;
	position: relative;
	border-top: 1px solid rgba(241,238,235,0.4);
}
.archive .article-header {
	margin-top: 19px;
	margin-right: 19px;
	float: left;
}
.article-header h3.h2.entry-title {
	margin-bottom: 0;
}
.simpleTabsContent:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.tab-content-block {
width:48%;
float: left;
margin-right: 2%;
margin-bottom: 19px;
}
.tab-content-block:nth-child(even) {
padding-right: 0;
}
.tab-content-block:last-of-type {
margin-bottom: 0;
}

.agent-country {
width: 25%;
float: left;
}
.agent-address {
width: 75%;
float: left;
margin-right: 0;
}
.agent-contact {
	clear: both;
	padding: 9px 0 0 25%;
}
.lloyds-wrapper img {
float: left;
margin-bottom: 0;
}
.lloyds-wrapper img:last-of-type {
margin-right: 19px;
}
/*This edited in wider styles*/
.company-names {
	width: 50%;
	margin-right: 2%;
	margin-bottom: 9px;
}
.company-address {
	float: left;
	width: 48%;
	margin-right: 2%;
	margin-top: 0;
}
/*END STYLES*/
}




/*********************
STYLES TO MAKE INTERMEDIATE SCREEN WIDTHS WORK WELL
 *********************/
@media only screen and (min-width: 940px) {
/*START STYLES*/
#nav-links, .widget_archive {
width: 24%;
}

.leadership-profile-photo {
width: 200px; /*33%*/
height: 282px;
}
.leadership-profile-photo img {
left: -20%;
width: auto;
min-height: 100%;
}
.leadership-person p {
	position: relative;
	padding-left: 219px;
}
img.bulk-character {
	position: absolute;
	height: 85%;
	width: auto;
	top:110px;
	right: 20%;
}
/* Buttons and Trigger Links */
button { float: left; margin-top: 0; }
.on-shore button, .at-sea button {
	margin-bottom: 38px;
}
button:first-of-type { margin-left: 19px; }
/*Contact Page*/
.agent-country {
width: 18%;
float: left;
}
.agent-address {
width: 40%;
float: left;
margin-right: 19px;
}
.agent-contact {
clear: none;
float: left;
width: 38%;
margin: 0;
padding: 0;
}
/*END STYLES*/
}




/*********************
LARGER FOR SMALLER TABLETS AND LAPTOPS
 *********************/
@media only screen and (min-width: 1100px) {
/*START STYLES*/

/* Main Page Wrappers etc. */
.wrap { width: 70%; }
#inner-content { top: 30%; width: 75%; padding: 19px; padding-left: 15%; }
#inner-content.fleet-page,
#inner-content-scroll { width: 75%; padding-left: 15%; }
#nav-links, .widget_archive { top: 30%; width: 20%; }
/* Buttons and Trigger Links */
button { float: left; margin-top: 0; margin-bottom: 0px; }
button:first-of-type { margin-left: 19px; }
a.button.trigger-link { width: auto; display: inline-block;}
/* Team Page */
.leadership-profile-photo { position: relative; width: 210px;/*33%*/ height: 263px; float: left; margin: 0 19px 0 0; }
.leadership-profile-photo img { position: absolute; left: -19px; min-width: 100%; height: 100%; }
.leadership-person p { position: relative;	padding-left: 229px; }
/*Fleet Page Styles*/
img.the-fleet-page { width: 75%; padding: 19px 0 19px 13%; }

/* Careers Pages Styles */
#top-photo {
height: 65%;
}
.div-table {
width: 48%;
margin-right: 4%;
float: left;
margin-bottom: 19px;
}
.job-vacancies {
position: relative;
padding: 9px 19px;
}
.job-vacancies p {
width: 80%;
}
a.news {
position: absolute;
bottom: 19px;
right: 19px;
}

/* Marshall Foundation Pagw */

/* Overlay Styles */
.overlay-one article,
.overlay-two article,
.overlay-three article,
.overlay-four article,
.overlay-five article {
  top: 50%;
  padding: 0 20%;
  height: 60%;
}

/* Project Page Styles */
#inner-content-scroll img.feature-image {
	float: right;
	width: 48%;
	height: auto;
	margin-left: 4%;
}

/* Removed to see what it's like to keep full width images */
/*img.aligncenter {
	float: left;
	width: 64%;
	height: auto;
	margin: 9px 19px 9px 0 !important;
}*/

img.alignleft {
	float: left;
	width: 48%; /* was 24%, edit when tweak image alignment */
}

/*.project-item:nth-of-type(4n),*/
/*.news-item:nth-of-type(4n) { margin-right: 0; }*/
.large-news { padding: 0 19px 19px 19px; }
.news { padding: 0 19px 19px 19px; }
h1.news-heading { padding-top: 19px; line-height: 1.2;}
img.marshall-diag {	margin-left: 0%; margin-right: 2%!important; width: 40%; }
.all-projects {	float: left; width: 58%; margin:19px 0 38px 0; }
.all-projects p {
	margin-top: 0!important; /*font-size: 1em; line-height: 1.2;*/ }
.education-projects,
.health-projects,
.environmental-projects,
.financial-projects { width: 48%; margin-top: 19px; }

/* Contact Styles */
#inner-content-scroll.simpleTabs {
	padding: 0 15%;
}
/* Lloyds List register - Enironment Page */
.iso-award-logo {
	float: left;
}


/*END STYLES*/
}






/*********************
LARGER FOR WXGA TABLETS AND ULTRABOOK LAPTOPS
 *********************/
@media only screen and (min-width: 1366px) {
/*START STYLES*/

/* Main Page Wrappers etc. */
.wrap { width: 70%; }
#inner-content { top: 30%; width: 75%; padding: 19px; padding-left: 15%; }
#inner-content.fleet-page,
#inner-content-scroll { width: 75%;	padding-left: 15%; }
/* SubNav and Side Links */
#nav-links, .widget_archive {
top: 30%;
width: 17%;
}
/* Buttons and Trigger Links */
/*button { float: left; margin-top: 0; }
button:first-of-type { margin-left: 19px; }*/
/*a.button.trigger-link { width: 20%; }*/
/* Team Page */
.leadership-profile-photo { position: relative; width: 265px;/*33%*/ height: 263px; float: left; margin: 0 19px 0 0; }
.leadership-profile-photo img { position: absolute; left: 0; min-width: 100%; height: 100%; }
.leadership-person p {
	position: relative;
	padding-left: 284px; }
/* News Page & Foundation Page */
.large-news-item .feature-photo,
.feature-photo {
  width: 50%;
  /*height: 247px;*/
  height: 340px;
  overflow: hidden; }
.feature-photo { width: 100%; }

/* ===== ImageFill Edits to original CSS so it works OK ===== */
.large-news-item .feature-photo img {
/*width: 100%; REMOVED to make IMAGEFILL work */
/*height: auto; REMOVED to make IMAGEFILL work */
/*top: 50%; REMOVED to make IMAGEFILL work */
/*left: 0; REMOVED to make IMAGEFILL work */
/*-webkit-transform: translateY(-50%); REMOVED to make IMAGEFILL work */
/*transform: translateY(-50%); REMOVED to make IMAGEFILL work */
}

.large-news-item .feature-photo { float: left; margin-right: 19px; }
.large-news-item p.news-link { padding: 0; }
/* ===== Let's remove as news panels too narrow in 3 cols ===== */
/*.news-item { width: 32%; margin-right: 1.8%; }*/ /* This should be 2% but makes wrap fail with flexbox */
/*project-item { width: 49%; margin-right: 2%; }
project-item:nth-child(even) { margin-right:0; }*/
/*.news-item:nth-child(even) { margin-right: 2%; }
.news-item:nth-child(3n+3) { margin-right: 0; }*/

/*project-item:nth-child(odd),
news-item:nth-child(even) {	margin-right: 2%; }*/

.large-news { padding: 0 19px 0 0; }

/* Marshall Foundation Page */
.all-projects { margin: 19px 0 57px 0; }

/* Contact Styles */
#inner-content-scroll.simpleTabs { padding: 0 12%; }
/* Ship Tech Spec Tables */
.ship-profile .tablepress {
	width: 48%;
	margin-left: 12%;
	margin-bottom: 0;
	margin-right: 2.5%;
	float: left;
}
.ship-profile img.reg-flag {
	width: 20%;
	margin: 0 17.5% 9px 0 ;
}
/*END STYLES*/
}
