/* Reset by */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
  box-sizing: border-box;
}
body {
	line-height: 1;
    min-width: 350px;
}
ol, ul {
	list-style: none;
  box-sizing: border-box;
}
blockquote, q {
	quotes: none;
  box-sizing: border-box;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* End Reset */

:root{
  scroll-behavior: smooth;
}

strong{
  font-weight:bold;
}

a,
a:active,
a:visited{
  color:inherit;
}

.relative{
  position: relative;
}

.center{
  text-align: center;
}

article h2{
  font-size:1.1em;
  font-weight: bold;
  padding:20px 0 5px 0;
}

section.contact h2{
  font-size:1.5em;
  font-weight: bold;
  padding:10px 0 10px 0;
}

body{
  font-family: sans-serif;
  background:#0A2B76;
  color:#133279;
}

header{
  background-color: rgba(10, 43, 118 , 0.95);
  color:#ffffff;
  position: fixed;
  top:0;
  right:0;
  left:0;
  z-index: 100;
  min-width: 270px;
}

header #fixedNavContainer{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  backdrop-filter: blur(6px);
}

header #logoWide{
  padding:20px;
  max-width:185px;
}

header #logoNarrow{
  padding:20px;
  max-width:185px;
  display:none;
}

nav{
  position:absolute;
  right:0;
  top:0;
  padding:32px 40px 0 0;
}

header nav a{
  text-decoration: none;
  text-shadow: 0 2px 1px rgba(0,0,0,0.15);
  margin-right:15px;
}

header nav a:last-child{
  margin-right:0;
}

em{
  font-style: italic;
}

div#home{
  padding-top:73px;
  width:100%;
  margin:0 auto;
  background-image:url('images-261009/hoistline-laxey-wheel-banner.jpg');
  background-position:left bottom;
  background-size:cover;
}

div#homeContainer{
  position: relative;
  width:100%;
  max-width:1000px;
  margin:0 auto;
}

#home #badge{
  position:absolute;
  right:120px;
  bottom:-40px;
  width:20%;
  max-width:205px;
}

#home #tagLine{
  position:absolute;
  left:9%;
  bottom:105px;
  width:40%;
  max-width:385px;
}

#home #heroWide{
  display:block;
  width:100%;
  max-width:1000px;
  margin:0 auto;
  padding:0 0 0 0;
}

#home #heroNarrow{
  display: none;
  width:100%;
  max-width:1000px;
  margin:0 auto;
  padding:0 0 0 0;
}

section{
  padding:40px;
  background:#ffffff;
}

section.blue{
  background-color:#133279;
  color:#ffffff;
}

article{
  max-width:920px;
  margin:0 auto;
}

article p{
  line-height:1.4em;
}

article p:not(:last-child){
  margin-bottom:5px;
}
  
.accentSmall{
  display:none;
  max-width:40%;
  margin:25px auto;
}

article img.accentRight{
  padding-left:20px;
  max-width:250px;
  padding-bottom:30px;
}

article img.accentRight.accentSticky{
  box-sizing: border-box;
  padding-left:40px;
  max-width:250px;
}

.buttonHolder{
  text-align: center;
}

a.highlightLink{
  color:yellow;
}

a.button{
  padding:1em 1.8em;
  background:#D4D4D4;
  color:#4D4D4D;
  border-radius: 0.7em;
  font-size:1.3em;
  font-weight: bold;
  display:inline-block;
  text-decoration: none;
}

a.button.green{
  background:#148151;
  color:#ffffff;
  margin-top:20px; 
  margin-bottom:20px; 
}

a.button.white{
  background:#ffffff;
  color:#0e255c;
  margin-top:0; 
  font-size:1em;
}

h1{
  font-size:1.9em;
  margin:10px auto 30px auto;
  font-weight: bold;
  text-align: center;
}

.offsetAnchor{
  display: block;
  position: relative;
  top: -120px;
  visibility: hidden;
}

.cardsHolder{
  max-width:700px;
  margin:0 auto;
}

.cardsHolder .card{
  display:inline-block;
  width:100%;
  max-width:46.99%;
  vertical-align: top;
  background: rgba(0,0,0,0.10);
  padding-bottom:20px;
}

.cardsHolder .card:nth-child(odd){
  margin:0 5% 5% 0;
}

.cardsHolder .card:nth-child(even){
  margin:0 0 5% 0;
}

.cardsHolder .card img{
  display:block;
  width:100%;
}

.cardsHolder .card p{
  padding:15px 15px 0 15px;
}

address{
	margin:0.5em;
	line-height: 1.5;
}

span.emoji{
	font-size: 2em;
}

img#map{
  width:100%;
  max-width:500px;
}

footer{
  background:#0A2B76;
  color:rgba(255,255,255,0.20);
  text-align: center;
  padding:30px;
}

#floatNav{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  background-color: rgb(5 23 67 / 0.95);
  backdrop-filter: blur(2px);
  color:#ffffff;
  display:none;
  z-index: 200;
}

#floatNavItemsHolder{
  background-color:#0A2B76;
  width:80%;
  margin-left:20%;
  height:100%;
  padding:35px 0 0 0;
  position: relative;
}

#floatNav a{
  text-decoration: none;
  display:block;
  padding:0.75em;
  width:100%;
  text-align: center;
  margin-bottom:20px;
}

#floatNav a:last-child{
  margin-bottom:0px;
}

#floatNav .floatNavClose{
  position:absolute;
  top:0px;
  right:0px;
  padding:0.8em;
  font-size:1.6em;
  color:#ffffff;
}

#navFloatOpen{
  position:absolute;
  top:7px;
  right:15px;
  padding:0.8em;
  font-size:1.6em;
  display:none;
}

.darkSubSection{
  padding:15px;
  margin:20px 0;
  background: rgba(0,0,0,0.15);
}

.fauxLink{
  cursor:pointer;
}

.historyPhoto{
  width:80%;
}

div.clear{
  clear: both;
}

@media only screen and (max-width: 700px) {
  
  header nav{
    display:none;
  }
  
  div#home{
    background-image:none;
  }

  #home #heroWide{
    display:none;
  }

  #home #tagLine{
    /*display:none;*/
    position:absolute;
    left:25%;
    top:50px;
    width:50%;
    max-width:290px;
  }

  #home #heroNarrow{
    display: block;
  }
  
  header #logoWide{
    display: none;
  }

  header #logoNarrow{
    display:inline-block;
  }
  
  #home #badge{
    right:5%;
    bottom:-40px;
    width:28%;
  }
  
  article img.accentRight.accentSticky{
    float:none;
	display:block;
	margin:0 auto;
	max-width:140px;
	padding-left:0;
  }
  
  section#overviewCopy{
    /*background-image:url('images/isle-of-man-access-narrow.jpg');
    background-position:center 40px;
    background-repeat: no-repeat;
    background-size:contain;*/
  }

  #navFloatOpen{
    display:block;
    top:3px;
  }
  
}

@media only screen and (max-width: 600px) {
  
  header nav{
    display:none;
  }

  .cardsHolder .card{
    display:inline-block;
    width:100%;
    max-width:100%;
  }
  
  .accentRight:not(.accentSticky){
    display:none;
  }
  
  .accentSmall{
    display:block;
  }

  .cardsHolder .card:nth-child(odd){
    margin:0 0% 15% 0;
  }

  .cardsHolder .card:nth-child(even){
    margin:0 0 15% 0;
  }

  .cardsHolder .card:last-child{
    margin:0 0 0 0;
  }
  
}











































