/* Responsive grid - vantech.uk 2013-2017 */

html
{
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  height: 100%;
}

*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header, nav, section, footer, figure, figcaption
{
  display: block;
}

[hidden], .old-IEs-inline, .old-IEs-block, .old-IEs
{
  display: none;
}

a
{
  text-decoration: none;
}

a img
{
  border: none;
}

strong
{
  font-weight: bold;
}

i
{
  font-style: normal;
}

q
{
  quotes: "\201C" "\201D" "\2018" "\2019";
}

small
{
  font-size: 1.25rem;
}

sub, sup
{
  font-size: 1.25rem;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup
{
  top: -0.5rem;
}

sub
{
  bottom: -0.25rem;
}

img
{
  border: 0;
}

svg:not(:root)
{
  overflow: hidden;
}

/* Tables */

table
{
  border-collapse: collapse;
  border-spacing: 0;
}

h1, h2, h3, h4, h5, h6
{
  font-family: Roboto Slab;
  margin: 0 0 .75em 0;
  letter-spacing: -0.025em;
  color: #567FDD;
}

p, dl
{
  margin-bottom: 1em;
}

ul
{
  margin-left: 0;
  padding-left: 2em;
}

/* ========== END NORMALIZE. BEGIN =========== */

.mobile-only, .tablet-only
{
  display: none;
}

.desktop-only
{
  display: block;
}

.desktop-only.inline
{
  display: inline;
}

body
{
  width: 100%;
  margin: 0 auto;
  padding: 0;
  color: #40434A;
  background-color: #fff;
  min-height: 101%;
  font-size: 1.325rem;
}

.set-width, nav ul
{
  width: 100%;
  padding: 0;
  max-width: 986px;
  margin: 0 auto;
}

header, nav, section, footer
{
  width: 100%;
  margin: 0;
}

a
{
  color: #3D5DA6;
  transition: 0.35s;
}

a:hover
{
  color: #1B2948;
}

header .set-width
{
  display: flex;
  background-color: #fff;
  justify-content: space-between;
}

#top-left
{
  display: block;
  width: 25%;
}

/* 585 x 293 */

#logo
{
  position: relative;
  display: block;
  width: 25%;
  padding-bottom: 12.5%;
  margin: 1.5rem auto 1rem auto;
  transition: all 0.35s;
}

#home-link
{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: transparent url(../graphics/logo.png) 50% 50% no-repeat;
  background-size: 100% auto;
  transition: all 0.35s;
}

header.scroll-hidden #home-link
{
  margin: 0 auto 0 50%;
  width: 0;
}

/* ======== NAVIGATION ======== */

nav
{
  position: static;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: Roboto Slab;
  font-size: 1.5rem;
  background-color: #E1E1E1;
}

nav.nav-fixed
{
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
}

nav ul
{
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  background-color: #567FDD;
}

nav li
{
  display: block;
  margin: 0;
  padding: 0;
  background-image: none;
}

nav a, #trigger-touch-nav
{
  display: block;
  padding: 1rem 1.5rem;
  transition: background-color 0.5s;
  color: #fff;
  cursor: pointer;
}

nav a.active, nav a.active:hover
{
  color: #000;
  cursor: default;
}

nav ul.dropdown
{
  position: absolute;
  display: block;
  width: 20rem;
  z-index: 9999;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.75s;
  text-align: left;
  font-family: "Montserrat", sans-serif;
}

nav ul.dropdown li
{
  width: 100%;
  border-bottom: 1px solid #C8C8C8;
  background-color: #ECECEC;
}

nav ul.dropdown li:last-child
{
  border-bottom: 0.25em solid #567FDD;
}

nav ul.dropdown li a
{
  padding: 0.75rem 1.5rem 0.75rem 1rem;
  color: #424242;
}

nav li.has-dropdown:hover ul.dropdown
{
  opacity: 1;
  max-height: 35rem;
}

#trigger-touch-nav
{
  display: none;
  background-color: #567FDD;
}

#trigger-touch-nav .fa-bars
{
  font-size: 2rem;
  display: inline-block;
}

nav li:hover > a, #trigger-touch-nav:hover
{
  color: #fff;
  background-color: #3F68C6;
}

nav ul.dropdown li a:hover
{
  background-color: #E0E0E0;
  color: #212121;
}

/* ============ General ==================== */

#content
{
  line-height: 1.5;
  padding: 2.5rem 0;
}

body.no-padding-top #content
{
  padding-top: 0;
}

.flex-wrap, .flex-gallery, .col .flex-control
{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
}

.vertical-align-top .flex-control
{
  align-self: flex-start;
}

.flex-off
{
  display: block;
}

.unit.text img
{
  width: auto;
}

.unit
{
  width: 100%;
  padding: 0;
  margin-bottom: 1.25rem;
}

.unit.img *
{
  display: block;
}

.unit.img img
{
  width: 100%;
  height: auto;
}

/* Gallery images */

.unit.g-img
{
  margin-bottom: 1.25rem;
}

.unit.g-img img, .fb-img img, .unit.pd img
{
  display: none;
}

.unit.g-img .figure, .fb-img .figure, .unit.pd .figure, .unit.svg .figure
{
  background-image: url(../graphics/no-image.png);
  display: block;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
}

.unit.fb
{
  display: flex;
  flex-flow: row wrap;
}

.unit.fb.stacked
{
  display: block;
}

.unit.fb.side-by-side .fb-img
{
  width: 33.33%;
}

.unit.fb.side-by-side .text-part
{
  width: 66.66%;
}

.unit.fb.reverse .fb-img
{
  order: 2;
}

.unit.svg .figure
{
  background-size: contain;
}

.unit.svg img
{
  visibility: hidden;
}

.unit.media.video .video-thumb
{
	position: relative;
	height: 0;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 120% auto;
}

.unit.media.video a.video-trigger
{
  display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  border: none;
  background: transparent url(../graphics/video-play.svg) 50% 50% no-repeat;
  background-size: 5rem auto;
  cursor: pointer;
}

.unit.media.video a.video-trigger:hover
{
  background-image: url(../graphics/video-play-hover.svg);
}

div.video-part
{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

div.video-part:target
{
	display: block;
	outline: none;
}

div.video-part .video-size
{
  position: relative;
  height: 0;
  width: 80%;
  padding: 0 0 calc(80% * .5625) 0;
	margin: 10vh auto 0 auto;
}

.video-size iframe
{
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

.video-close
{
  display: block;
  position: fixed;
  top: 10vh;
  left: 90%;
  padding: 0 0.5rem 0.5rem 0.5rem;
  margin: 0;
  font-size: 3rem;
  line-height: 3rem;
  color: #C8C8C8;
  cursor: pointer;
  z-index: 9999;
  transition: color 0.35s;
}

.video-close:hover
{
  color: #D36B77;
}

.unit *:last-child, .unit.col
{
  margin-bottom: 0;
}

.unit.col .unit:last-child
{
  margin-bottom: 1.5rem;
}

.unit .text-part
{
  padding: 1.5rem 0;
  font-size: 0.9em;
}

.unit.padding-all, .unit.padding-text-only .text-part, .unit.color, .unit.border-all
{
  padding: 1rem;
}

.unit.border-bottom
{
  padding-bottom: 1.5rem;
}

/* CUSTOM CLASSES */ /* MOVE THESE */

.center, .center *
{
  text-align: center;
}

.right
{
  text-align: right;
}

.text.vertical-middle
{
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.unit.padding-none, .unit.padding-none .text-part, .unit.padding-text-only
{
  padding: 0;
}

.grey
{
  color: #313131;
  background-color: #DEDEDE;
}

.black
{
  color: #F7F7F7;
  background-color: #2E3338;
}

.black a, .black a:visited
{
  color: #466FEF;
}

.black a:hover
{
  color: #A2B5F1;
}

.warning, p.warning-box
{
  color: #FB3365;
}

.unit.warning, p.warning-box
{
  background-color: #FFDFEB;
}

.border-all, p.warning-box
{
  border: 1px solid #A5ADB6;
}

.border-bottom
{
  border-bottom: 1px solid #2E3338;
}

.black.border-all, .black.border-bottom
{
  border-color: #1C1D1E;
}

.warning.border-all, .warning.border-bottom, p.warning-box
{
  border-color: #B76584;
}

p.warning-box
{
  padding: 0.75em;
}

/* Flex end fill: */

.flex-fill
{
  margin: 0;
  padding: 0;
  height: 0;
}

/* ---- Custom stuff ----- */

a.phone-link-disabled
{
  color: inherit;
}

/* CUSTOM: Sponsors, log-in */

#head-aux
{
  padding-top: 3rem;
  width: 25%;
  text-align: right;
}

#sponsors
{
  position: relative;
  width: 80%;
  margin-left: 20%;
  padding-bottom: 32%;
  overflow: hidden;
}

#sponsors .splide
{
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 0 0 120%;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: contain;
  opacity: 0;
  transition: margin 0.5s, opacity 1.5s;
}

#sponsors .splide.active
{
  opacity: 1;
  margin: 0;
}

.splide span
{
  display: none;
}

#sponsor-1
{
  background-image: url(../graphics/sponsors/find-on-fb.png);
}

#sponsor-2
{
  background-image: url(../graphics/sponsors/perkins-logo.png);
}

#sponsor-3
{
  background-image: url(../graphics/sponsors/daiwa-logo.png);
}

#sponsor-4
{
  background-image: url(../graphics/sponsors/koden-logo.png);
}

/* Trip Advisor */

.trip-advisor
{
  width: 160px;
  margin: 0 0 0 auto;
}

/* CUSTOM: Login ctrls */

ul#member-nav
{
  padding: 0.75em 0 0 0;
  margin: 0;
  list-style: none;
}

ul#member-nav li
{
  display: inline-block;
  margin: 0;
  padding: 0;
  background-image: none;
}

ul#member-nav li:first-child:after
{
  content: ' | ';
}

/* END CUSTOM */

hr
{
  display: block;
  width: 100%;
  height: 0;
  border: none;
  border-top: 1px solid #89A5E4;
  margin-bottom: 1rem;
}

h1, h2, h3, h4
{
  margin-bottom: 0.5em;
}

h1
{
  font-size: 1.75em;
}

h2
{
  font-size: 1.5em;
}

h3
{
  font-size: 1.25em;
}

h4
{
  font-size: 1.125em;
}

a h2, a h3, a h4, h3 a
{
  color: inherit;
}

ul
{
  list-style: none;
  margin: 0 0 0 0.75em;
  padding: 0;
}

ul ul
{
  margin-top: 1em;
}

#content ul li, ul.tight-list li:last-child
{
  padding: 0 0 1em 1em;
  margin: 0;
  background: transparent url(../graphics/list-marker.png) 0 0.35em no-repeat;
}

ol li
{
  padding: 0;
  margin: 0 0 1em 3em;
}

ol li:last-child
{
  padding-bottom: 1.5em;
}

ul.tight-list li
{
  padding-bottom: 0.25em;
}

p strong
{
  font-weight: bold;
}

iframe
{
  border: none;
  margin: 0 0 1rem 0;
}

input[type=text]
{
  font: inherit;
  border: 1px solid #7D7D7D;
  color: #141414;
  min-height: 2.75rem;
  padding: 0.5rem;
}

input[type="submit"], input[type="reset"], button, .button
{
  display: inline-block;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0 0.5rem 0.5rem 0;
  padding: 0.5rem 1.5rem;
  border: none;
  background-color: #567FDD;
  color: #fff;
  transition: background-color linear 0.35s;
  cursor: pointer;
}

p.search-box
{
  display: flex;
  width: 30rem;
  max-width: 100%;
  border: 1px solid #7D7D7D;
  min-height: 3rem;
  justify-content: space-between;
}

p.search-box input
{
  border: none;
  min-height: 100%;
  margin: 0;
  width: 27rem;
}

p.search-box .button
{
  border: none;
  min-height: 3rem;
  width: 3rem;
  margin: 0;
}

button:hover, .button:hover
{
  background-color: #4368BF;
  color: #fff;
}

.button-light
{
  background-color: #DADADA;
  color: #333333;
}

.button-light:hover
{
  background-color: #C6C6C6;
  color: #272727;
}

/* Folder display */

ul#folder-list
{
  list-style: none;
  padding: 0;
  margin: 0;
}

ul#folder-list li
{
  display: block;
  margin: 0;
  padding: 0 0 1em 1em;
  background-image: none;
}


/* media.php - displays full-size image / videos */

html
{
  min-height: 600px;
}

#media-top
{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 100%;
}

#media-title
{
  display: block;
  width: 90%;
}

#media-close-button
{
  display: block;
  width: 10%;
  text-align: right;
  font-family: FontAwesome !important;
  font-size: 3rem;
  border: none;
}

#media-wrap
{
  display: inline-block;
  max-width: 100%;
  width: auto;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: 0;
}

.media-canvas
{
  position: relative;
}

.media-canvas img
{
  width: auto;
  height: auto;
  max-height: 100vh;
  max-width: 100%;
  margin: 0;
}

.media-canvas .video
{
  width: 100%;
  height: auto;
}

#media-nav
{
  position: absolute;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  background-color: transparent;
  transition: background-color 0.5s linear;
}

.media-canvas:hover #media-nav
{
  background-color: rgba(1,1,1,0.4);
}

#media-nav a, #media-nav span
{
  display: inline-block;
  font-size: 3.5rem;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.0125);
}

.media-canvas:hover #media-nav a, .media-canvas:hover #media-nav span
{
  color: rgba(255,255,255,0.4);
}

.media-canvas #media-nav a:hover
{
  color: rgba(255,255,255,0.75);
}

/* END media.php...  */


/* PAGE NUMBERS (plain text) */

.pg-numbers
{
  color: #A5A5A5;
}

.pg-numbers a:before, .pg-numbers span:before
{
  content: 'Page ';
}

.pg-numbers a:after, .pg-numbers span:after
{
  content: ' | ';
}

.pg-numbers a:last-child:after, .pg-numbers span:last-child:after
{
  content: '';
}

footer .set-width
{
  padding-top: 2.5rem;
  min-height: 30rem;
  font-size: 1.4rem;
  text-align: center;
  background-color: #E1E1E1;
}

body.no-border-bottom footer .set-width
{
  border-top: none;
}

footer, footer p, footer a
{
  color: #4A4A4A;
}

footer a:hover
{
  color: #346CC2;
}

#aux-nav, #social
{
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}

#aux-nav li
{
  display: inline;
  margin: 0;
  padding: 0;
  background-image: none;
}

#aux-nav li:after
{
  content: ' \00b7  ';
  font-size: 2rem;
  vertical-align: -0.075em;
}

#aux-nav li:last-child:after
{
  content: '';
}

#social
{
  margin-bottom: 1.5rem;
}

#social li
{
  display: inline-block;
  margin: 0;
  padding: 0;
  background-image: none;
}

a.vma
{
  width: 3.5rem;
  height: 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}

a.vma:hover
{
  color: #fff;
}

a.vm-facebook
{
  background-color: #3B5998;
}

a.vm-twitter
{
  background-color: #00ACED;
}

a.vm-linkedin
{
  background-color: #18679E;
}

a.vm-instagram
{
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

a.vm-facebook:hover
{
  background-color: #354669;
}

a.vm-twitter:hover
{
  background-color: #0D88B6;
}

a.vm-linkedin:hover
{
  background-color: #1A4F74;
}

a.vm-instagram:hover
{
  background: linear-gradient(45deg, #EF8210 0%, #E2511E 25%, #C00925 50%, #A4154E 75%, #97146E 100%);
}

.credit
{
  font-size: 1.125rem;
  text-transform: lowercase;
}

/* ===== CUSTOM CLASSES ======= */

p.quotation, p.quoted-by
{
  font-style: italic;
}

p.quotation
{
  font-size: 1.75rem;
}


/* ===== END CUSTOM CLASSES ======= */

.w-1-4 { width: calc(25% - 0.75rem); }
.w-1-3 { width: calc(33.333333% - 0.75rem); }
.w-1-2 { width: calc(50% - 0.5rem); }
.w-2-3 { width: calc(66.666666% - 0.375rem); }
.w-3-4 { width: calc(75% - 0.1875rem); }
.w-1-1 { width: 100%; }


/* ==== With no 'margins' ==== */

.w-1-4.margin-none, .w-1-4.margin-bottom { width: 25%; }
.w-1-3.margin-none, .w-1-3.margin-bottom { width: 33.333333%; }
.w-1-2.margin-none, .w-1-2.margin-bottom { width: 50%; }
.w-2-3.margin-none, .w-2-3.margin-bottom { width: 66.666666%; }
.w-3-4.margin-none, .w-3-4.margin-bottom { width: 75%; }
}

.margin-none
{
  margin-bottom: 0;
}

#mobile-detect
{
  display: block;
  width: 0;
  height: 0;
}


@media all and (max-width: 1000px)
{

  html
  {
    font-size: 70%;
  }

  #logo
  {
    width: 28%;
    padding-bottom: 15%;
  }

  #content
  {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* But full-width top image extend to match nav */
  
  body.no-padding-top .unit.img.w-1-1
  {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
  }
  
  /* ...but not if in column... */
  
  body.no-padding-top .unit.col .unit.img.w-1-1
  {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #head-aux
  {
    padding-right: 1rem;
  }
}

@media all and (max-width: 801px)
{

  .w-1-4, .w-1-3
  {
    width: calc(50% - 0.5rem);
  }

  .w-1-4.margin-none, .w-1-4.margin-bottom, .w-1-3.margin-none, .w-1-3.margin-bottom
  {
    width: 50%;
  }

  .w-2-3, .w-3-4, .w-2-3.margin-bottom, .w-3-4.margin-bottom, .w-2-3.margin-none, .w-3-4.margin-none
  {
    width: 100%;
  }

  .unit, .unit.g-img
  {
    margin-bottom: 1rem;
  }

  .trip-advisor
  {
    margin: 0 auto 0 -10px;
  }

  .tablet-only
  {
    display: block;
  }

}

@media all and (max-width: 621px)
{

  header .set-width
  {
    display: block;
  }

  #logo
  {
    width: 37.5%;
    padding-bottom: 19%;
  }

  #head-aux
  {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  ul#member-nav
  {
    margin: 0 auto;
    padding: 0.5rem 0;
  }
  
  #sponsors
  {
    display: none;
  }

  #trigger-touch-nav
  {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
  }

  #mobile-detect
  {
    position: absolute;
    width: 1px;
    height: 1px;
  }

  #main-nav
  {
    position: relative;
  }

  #main-nav.nav-active ul ul
  {
    display: none;
  }

  #main-nav ul.top-level
  {
    font-family: "Montserrat", sans-serif;
    font-size: 1.75rem;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 1s;
  }

  #main-nav.nav-active #trigger-touch-nav
  {
    opacity: 0;
  }

  #main-nav.nav-active ul.top-level
  {
    display: block;
    position: absolute;
    top: 0;
    max-height: 25rem;
    text-align: center;
  }

  #main-nav.nav-active ul.top-level a
  {
    display: block;
    margin-bottom: 1px;
    width: 100%;
    color: #fff;
    background-color: #567FDD;
  }

  #main-nav.nav-active ul.top-level a:hover
  {
    background-color: #3F68C6;
  }

  .w-1-4, .w-1-3, .w-1-2, .w-2-3, .w-3-4, .w-1-4.margin-bottom, .w-1-3.margin-bottom, .w-1-2.margin-bottom, .w-2-3.margin-bottom, .w-3-4.margin-bottom, .w-1-4.margin-none, .w-1-3.margin-none, .w-1-2.margin-none, .w-2-3.margin-none, .w-3-4.margin-none
  {
    width: 100%;
  }

  body.folder-contents #content .w-1-3
  {
    width: calc(50% - 0.5rem);
  }

  body.folder-contents #content .w-1-3 .text-part
  {
    text-align: center;
  }

  body.folder-contents #content .w-1-3 .text-part h3
  {
    font-size: 1.35rem;
  }

  .mobile-only
  {
    display: block;
  }

}
