/* ------------------- */
/* Brand Variables */
:root {
  --dd: #ff6C00;
  /* Digital Displays */
  --en: #8ec427;
  /* Engineering */
  --it: #00b2ff;
  /* IT Services */
  --iot: #aa44aa;
  /* IoTs */
  --tr: #dddd00;
  /* Transport */
  --gy: #6e7882;
  /* Default */
  --pi: #ff0074;
  /* Passenger #bf3071 */
}

.dd {
  color: var(--dd);
}

.en {
  color: var(--en);
}

.it {
  color: var(--it);
}

.iot {
  color: var(--iot);
}

.tr {
  color: var(--tr);
}

.pi {
  color: var(--pi);
}

/* ------------------- */
/* Declerations for fonts and icons - externally loaded */


/* Hanken Grotesk is loaded from Google Fonts; local HKGrotesk files removed */

/* Nunito and Montserrat are loaded via Google Fonts for better cache delivery */

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(/css/materialicons.woff2) format('woff2');
  font-display: swap;
}

/* fallback */
@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  src: url(/css/materialiconsoutlined.woff2) format('woff2');
  font-display: swap;
}


.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.material-icons-outline {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.contactSection i {
  padding-right: 0.5rem;
}

/* ------------------- */
/* Our own styling for the site */

h1,
h2 {
  font-family: 'Hanken Grotesk', sans-serif;
}

body,
div,
p,
h3 {
  font-family: 'Hanken Grotesk', sans-serif;
}


body,
html {
  font-size: 16px;
  font-display: swap;

  height: 100vh;
  width: 100vw;
  line-height: normal;
  /*background:#141414;*/
  background: url(/images/pattern4.png) #141414;
  font-family: nunito;
}

.homeBox>h2 {
  color: var(--it);
  text-shadow: 0 0 10px black;
}

.homeBox>p {
  color: #e4e4e4;
  text-shadow: 0 0 10px black;
}

/* Link colours for sectors i.e. <section class="w3-white it-services">... */
.engineering a {
  color: var(--en);
}

.digital-displays a {
  color: var(--dd);
}

.it-services a {
  color: var(--it);
}

.transport a {
  color: var(--tr);
}

.iot a {
  color: var(--iot);
}

.passenger a {
  color: var(--pi);
}

.whiteout {
  filter: brightness(10) grayscale(1);
}

.topDD,
.topIT,
.topPI,
.topEN {}

.topDD:after {
  background: linear-gradient(to bottom, rgba(255, 108, 0, 0) 0%, rgba(255, 108, 0, 0) 25%, rgba(255, 108, 0, 0.55) 100%);
}

.topEN:after {
  background: linear-gradient(to bottom, rgba(142, 196, 39, 0) 0%, rgba(142, 196, 39, 0) 25%, rgba(142, 196, 39, 1) 90%, rgba(142, 196, 39, 1) 100%);

}

.topIT:after {
  background: linear-gradient(to bottom, rgba(0, 178, 255, 0) 0%, rgba(0, 178, 255, 0) 25%, rgba(0, 178, 255, 0.85) 100%);
}

.topPI:after {
  background: linear-gradient(to bottom, rgba(170, 68, 170, 0) 0%, rgba(170, 68, 170, 0) 25%, var(--pi) 100%);
}

.topDD:after,
.topIT:after,
.topPI:after,
.topEN:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
}

.bgimg-1 {
  /*background-image: url("/images/hero-polys.jpg");*/
  /*background-repeat: no-repeat;*/
  /*background-position: 50%;*/
  position: relative;
  background-attachment: scroll;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-content: space-around;
}


@keyframes mymove {
  from {
    transform: rotate(-25deg)
  }

  to {
    transform: rotate(32deg)
  }
}

.bgimg-1:before {
  /* Prefer WebP if available, fall back to JPEG for older browsers */
  background-image: -webkit-image-set(url('/images/hero-polys.webp') 1x type('image/webp'), url('/images/hero-polys.jpg') 1x);
  background-image: image-set(url('/images/hero-polys.webp') type('image/webp') 1x, url('/images/hero-polys.jpg') type('image/jpeg') 1x);
  background-repeat: no-repeat;
  /* background-position: 50%; */
  background-attachment: scroll;
  background-size: cover;
  animation: mymove 100s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  content: "";
  position: absolute;
  width: 200%;
  min-height: 200vh;
  top: -40%;
  left: -60%;
  z-index: -1;
  transform: rotate(-25deg);
  overflow: hidden;
}

/* LCP hero image: position absolutely so it doesn't shift layout */
#heroLCP {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* keep content above the image */
}


.bgimg-2 {
  background-repeat: no-repeat;
  background-position: 50%;
  background-attachment: scroll;
  background-size: cover;
}

.w3-bar .w3-button {
  padding: 16px;
}

.navShadow {
  text-shadow: 0px 0px 3px #000;
}

.navTight {
  line-height: 0.9;
}

.navFiller {
  display: flex;
  gap: 2em;
  padding: 0 4em 0 1em;
  /*flex-wrap: wrap;*/
  /*outline:1px red solid;*/
}

.navFiller>div {
  flex: 1 1 160px;
}

.shom {
  display: flex;
}

.shom2 {
  height: 100%;
  /* take full height */
  float: right;
  /* the below will allow the text to wrap around */
  shape-outside: inset(calc(100% - 135px) 0 0 0);
  /* 135px is an approximation of the figure height */
  /* move image and caption to bottom (the area kept by shape-outside) */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.symHome {
  max-width: 100px;
  padding-bottom: 1em;

}

.navFiller>span {
  font-size: 14px;
  color: var(--it);
}

.navFiller .bob {
  font-size: 50px;
  animation: bob 2s ease infinite;
  color: white;
}

@keyframes bob {
  0% {
    margin-top: -10px;
  }

  50% {
    margin-top: 5px;
  }

  100% {
    margin-top: -10px;
  }
}


.w3-button:hover {
  color: var(--dd) !important;
  background-color: #252525 !important;
}

.noSelect {
  user-select: none;
}

@keyframes colorfade {
  0% {
    background-color: #ff6C00;
    /* Red */
  }

  25% {
    background-color: #00b2ff;
    /* Orange */
  }

  50% {
    background-color: #bf3071;
    /* Blue */
  }

  75% {
    background-color: #8ec427;
    /* Green */
  }

  100% {
    background-color: #ff6C00;
    /* Back to Red */
  }
}


/* ----------------- */

#navHome {
  background-position: center center;
  background-size: contain;
  background-image: url(/images/favicon.png);
  background-repeat: no-repeat;
  color: rgba(0, 0, 0, 0);
  image-rendering: pixelated;
}

.navSideButton {
  flex-grow: 0;
  height: 50px;
  width: 50px;
  text-align: center;
  padding: 10px 6px;
}

.navSideButton I {
  font-size: 30px !important;
  background-size: 74%;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  flex-direction: column;
  /*filter:saturate(0%);*/
  width: 100%;
  background-color: #242424;
  border-radius: 8px;
  box-shadow: 0px 0px 2px inset #808080;
}

.navSideButton I:hover {
  /*filter: brightness(10) grayscale(100%);*/
  background-color: black;
}

footer {
  /*background-color: rgba(0,0,0,0.9);*/
  background: url(/images/pattern4.png) #141414;
}

.navMenuBar {}

.navMenuBar,
.optionMenuClose {
  background: #252525;
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  position: fixed;
  z-index: 100;
  color: white;
  font-size: 30px;
}


#optionMenu {
  background: rgb(0 0 0 / 85%);
  backdrop-filter: blur(4px);
  border-right: 1px solid #202020;
  box-shadow: 0 0 25px 10px black;
  justify-content: space-between;
  text-align: center;
  /*align-items:center;*/
  position: fixed;
  color: white;
  font-size: 20px;
  display: none;
  z-index: 150;
}

.optionMenuClose {
  position: relative;
}

.optionMenuList {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.optionMenuContact {
  position: fixed;
  bottom: 15px;
  font-size: 12px;
  padding-left: 10px;
  display: block;
  text-align: right;

}

/* ----------------- */

.navSolutions {
  background: #141414;
  color: white;
  padding-top: 10vh;
  min-height: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.navSolutions H1 {
  padding-bottom: 60px;
  font-weight: bold;
  font-size: 10vh;
}

.navSolutions H2 {
  font-weight: bold;
  font-size: 3vmin;
  margin-top: 10px;
  line-height: 0.8em;
}

.navSolutions P {
  font-size: 1.8vh;
}

.navSolutionSection,
.navSolutionSection {
  padding-bottom: 5vh;
}

.navSolutionSection IMG {
  width: 17vmin;
}

.navSolutionMore {
  padding-top: 35px;
}

.navSolutionMore I {
  line-height: 0.7em;
  font-size: 130px;
  vertical-align: middle;
}

.navSolutionMore SPAN {
  vertical-align: middle;
  position: relative;
  top: 5px;
  padding-right: 15px;
  font-size: 25px;

}

/* ----------------- */

.navProducts {
  background: #ffffff;
  color: black;
  padding-top: 10vh;
  min-height: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.navProductsSection IMG {
  width: 18vmin;
  /*  border:1px solid #444;  */
  /*  box-shadow:2px 2px #999; */
  margin-top: 6.5vh;
}

/* ----------------- */

.card_dd {
  background: linear-gradient(135deg, rgba(87, 87, 87, 0.7) 0%, rgba(3, 3, 3, 0.7) 50%, rgba(255, 108, 0, 0.7) 100%);

}

.card_it {
  background: linear-gradient(135deg, rgba(87, 87, 87, 0.7) 0%, rgba(3, 3, 3, 0.9) 50%, rgba(0, 178, 255, 0.9) 100%);

}

.card_pi {
  background: linear-gradient(135deg, rgba(87, 87, 87, 0.7) 0%, rgba(3, 3, 3, 0.7) 50%, rgba(191, 48, 113, 0.7) 100%);

}

.card_en {
  background: linear-gradient(135deg, rgba(87, 87, 87, 0.7) 0%, rgba(3, 3, 3, 0.7) 50%, rgba(142, 196, 39, 0.7) 100%);

}

.card_io {
  background: linear-gradient(135deg, rgba(87, 87, 87, 0.7) 0%, rgba(3, 3, 3, 0.7) 50%, rgba(255, 215, 50, 0.7) 100%);

}

.cardh h3 {
  font-size: 36px;
}

.cardh {
  backdrop-filter: blur(3px);
  transition: transform 0.3s;
}

.cardh:hover {
  box-shadow: 0 0 10px 0 rgba(0, 148, 255, 0.4);
  transform: scale(1.05);
}


.navMast {
  line-height: 1.3em;
  font-family: Sans-serif;
  font-weight: 100;
  letter-spacing: -1px;
}

#contentBox {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1;
}


#sectionContent {
  position: absolute;
  /* background:white; */
  min-height: 100vh;
  width: 100vw;
  left: -100vw;
  top: 0px;
  transition: left 0.4s;
  z-index: 30;
  padding: 0px;
  margin: 0px;
  display: none;
  overflow: hidden;
}

#home {
  position: absolute;
  width: 100%;
  left: 0px;
  top: 0px;
  transition: left 0.4s;
  z-index: 1;
  overflow: hidden;
}

#topMenuBar {
  position: fixed;
  top: 0px;
  z-index: 60;
  right: 15px;
  width: 650px
}

#navbar {
  display: block;
}

#sectionContent SECTION {
  min-height: 100vh;
  width: 100vw;
  /* background: white; */
  /* color:#141414; */
  padding: 0px 10px 10px 50px;
}

SECTION H1 {
  font-size: 8vh;
  line-height: 1em;
  font-family: montserrat;
  font-weight: 900;
  letter-spacing: -2px;
  padding-bottom: 0px;
}

SECTION H2 {
  line-height: 1em;
}


SECTION ARTICLE H1 {
  float: left;
}

SECTION ARTICLE HR {
  clear: both;
  height: 50px;
  border: none;
}

SECTION ARTICLE P {
  /*float:left;*/
  /*width:50vw;*/
  /*clear:left;*/
}

SECTION ARTICLE IMG {
  /*width:40vw; */
  /*float:right;*/
  /*padding-right:0vw;*/
  /*padding-top:20px;*/
  /*border-radius: 8px;*/
  /*margin: 5px 20px;*/
}

.imbs {
  border-radius: 8px;
  box-shadow: 0 0 8px white;
  border: 1px solid lightgrey;
  background-color: white;
  margin: 10px;
}

.zoomin:hover {
  cursor: zoom-in;
}

SECTION A {
  color: var(--dd);
  cursor: pointer;
  text-decoration: none;
}


/* ------------------------------*/
/* Contact Page */
.contactRow {
  width: 100%;
  display: flex;
  padding: 0 1em;
}

.contactSection A {
  text-decoration: none;
  /*font-size:2vmin;*/
}

.contactSection H1 {
  font-size: 8vmin;
  font-weight: bold;
  /*padding-left: 50px;*/
}

.contactSection H2 {
  padding-top: 10px;
  font-size: 3vmin;
  font-weight: bold;
}

.contactIcon {
  width: auto;
}

.contactType {
  width: 100%;
}

.contactIcon I {
  font-size: 15vmin;
}

.contactType I {
  line-height: 0.8em;
  font-size: 24px;
  text-align: right;
  align-items: right;
}

.contactTrow {
  display: flex;
  padding-bottom: 5px;
}

.contactSmi {
  width: 30px;
}

@media (max-width: 768px) {

  /* mobile */
  .contactRow {
    padding: 10px;
  }

  .contactSection H1 {
    /*padding-left: 40px;*/
  }

}


/*ABOUT*/

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0px;
  position: relative;
  /* border-left: 3px solid #2196F3; /* Create vertical line */
  padding-left: 8px;
  /* Ensure space for markers */
}

.timeline-container:before {
  border-left: 3px solid #000000;
  /* Create vertical line */
  position: absolute;
  width: 10px;
  height: 100%;
  content: "";
  left: 90px;
}

.timeline-event {
  display: flex;
  align-items: center;
  scroll-snap-align: center;
  /* Snap the element to the center of the viewport */
  padding: 20px 0;
  position: relative;
  transition: transform 0.3s, background 0.3s;
}

.timeline-event:hover,
.timeline-event:focus-within {
  /* transform: scale(1.05); */
  /* background: #2196F3; */
  color: rgb(254, 137, 10);
  border-radius: 5px;
}

.timeline-year {
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 20px;
  text-align: right;
  flex-shrink: 0;
  /* width: 100px; */
}

.timeline-marker {
  width: 25px;
  height: 22px;
  background: #ffffff;
  border: 3px solid black;
  border-radius: 50%;
  margin-right: 20px;
  /* position: absolute; */
  left: 0px;
  /* Position the marker against the line */
  transition: background 0.3s;
}

.timeline-event:hover .timeline-marker,
.timeline-event:focus-within .timeline-marker {
  background: #fd8809;
  /* Highlight color for marker */
}

.timeline-details {
  background: #f1f1f1;
  color: slategrey;
  padding: 15px;
  border-radius: 5px;
  width: 100%;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-details:hover,
.timeline-details:focus-within {
  background: #ffffff;
  color: black;
  font-weight: bold;
}


/* ------------------------------*/

#_navMenuOpen {
  color: #00800000;
  background-color: #00ffff00;
  background-image: url(/images/anim-n.png);
  box-shadow: none;
}

.scrmet {
  background: -webkit-linear-gradient(left, #86358b, #e41027, #e54b14);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) .w3-col.m6,
.w3-half {
  width: 47.99999% !important;
}

@media (min-width: 769px) {

  /* desktop */
  .bgimg-1 {
    background-position: 85% bottom;
    background-attachment: fixed;
    background-size: cover;

  }


  .navMenuBar {
    flex-direction: column;
    height: 100vh;
    width: 52px;
    top: 0px;
    padding: 10px 10px 10px 10px;
    border-right: 2px solid #494949;
    animation: animateleft 0.4s
  }

  .navOffset {
    margin-left: 50px;
  }

  .homeBox {
    padding: 10px 10px 15px 15px;
    max-width: 50%;
    font-size: 2.5vmin;
  }


  #optionMenu {
    flex-direction: row;
    animation: animateleft 0.2s;
    left: 0px;
    top: 0px;
    bottom: bottom;
    /*width:300px;*/
    height: 100vh;
  }

  .optionMenuClose {
    flex-direction: column;
    /*width:100px;*/
    height: 100vh;
    padding: 10px 0;
  }

  .optionMenuList {
    align-items: flex-start;
    justify-content: flex-start;
    padding-right: 40px;
    padding-top: 14px;
  }

  .navMast {
    font-size: 1em;

    letter-spacing: 1px;
  }

  .navMast img {
    max-width: 400px;
  }

  #sectionContent {
    /*margin-left:50px;*/
  }
}

@media (max-width: 768px) {

  .bgimg-1 {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 19%, rgba(0, 0, 0, 0.90) 100%),
      url('/images/hero-polys.jpg') no-repeat;
    height: auto;
    background-repeat: no-repeat;
    background-position: 55% bottom;
    background-attachment: fixed;
    background-size: cover;
  }

  .navFiller {
    flex-direction: column;
    padding: 0 1em;

  }

  .navFiller>div {}


  /* mobile */

  .navSideButton {
    flex-grow: 1;
    justify-content: center;
    flex-direction: column;
    width: unset;
    height: unset;
  }

  .navSideButton {
    padding: 0px 10px;
  }

  .navSideButton I {
    background-size: contain;
    box-shadow: 0px 0px 0px inset #808080;
  }

  .navOffset {
    margin-left: 0px;
  }

  #_navMenuOpen {
    background-size: contain;
  }

  .navMenuBar {
    flex-direction: row;
    justify-content: center;
    padding: 0px;
    width: 100vw;
    height: 50px;
    top: auto;
    bottom: 0px;
    border-top: 2px solid #494949;
    animation: animatebottom 0.4s
  }

  .homeBox {
    padding: 10px 0px 0px 15px;
    max-width: 100%;
    font-size: 24px;
  }

  .navSolutions P {
    font-size: 5vw;
  }

  .navSolutions H2 {
    font-size: 8vw;
    line-height: 2.2rem;
  }

  .navSolutionSection IMG {
    width: 40vmin;
  }

  .navSolutionMore {
    padding-top: 0px;
    padding-bottom: 10px;
  }

  #optionMenu {
    flex-direction: column-reverse;
    animation: animatebottom 0.2s;
    left: 0px;
    top: auto;
    bottom: 0px;
    width: 100vw;
    height: 350px;
  }

  .optionMenuClose {
    flex-direction: row;
    width: 100vw;
    height: 50px;
  }

  .optionMenuList {
    align-items: center;
  }

  .optionMenuContact {
    display: none;
  }

  .navMast {
    font-size: 60px;
  }

  #topMenuBar {
    display: none;
  }


  #sectionContent SECTION {
    min-height: 100vh;
    /*padding: 0px;*/
  }
}

.navTopBar A {
  padding: 2px 10px !important;
  margin-top: 20px;
}



/* ------ about/news timeline -----------*/

.newsTop {
  background: white;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row;
  padding-right: 0px !important;
}

#newsBar {
  display: flex;
  background: white !important;
  color: black;
  justify-content: center;
  flex-basis: 25%;
  width: 25%;
  flex: 1;
  overflow-y: scroll;
  height: 200%;
}

#newsPane {
  padding-top: 80px;
  flex-basis: 75%;
  width: 75%;
  flex: 1;
}

#newsArticle p {
  line-height: 1.5em;
}


.aboutMain {
  display: flex;
  /* background:black !important; */
  color: white;
  justify-content: center;
}

.aboutCardBox {
  flex-basis: 80%;
}

.aboutYearBox {
  display: flex;
  flex-direction: column;
}

.aboutLineBox {
  background: #141414;
  background: linear-gradient(to right, #141414 0%, #141414 44%, #ffffff 44%, #ffffff 56%, #141414 56%, #141414 100%);
}

#newsLineBox {
  background: #141414;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 44%, #141414 44%, #141414 56%, #ffffff 56%, #ffffff 100%);
  flex-basis: 30%;
  height: 200%;
}

#newsYearBox {
  flex-basis: 30%
}

#newsCardBox {
  flex-basis: 40%
}

#newsYearBox,
#newsLineBox,
#newsCardBox {
  padding-top: 80px;
}


.aboutCardBox P,
.aboutLineBox P,
.aboutYearBox P,
#newsCardBox P,
#newsLineBox P,
#newsYearBox P {
  height: 150px;
  margin-top: 0px;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#newsCardBox P,
#newsLineBox P,
#newsYearBox P {
  height: 100px;
  flex-basis: 100px;
  margin-top: 0px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  z-index: 40;
}

.aboutCardBox P,
.aboutTitle {
  padding: 20px;
  background: var(--dd);
  border-radius: 8px;
  margin-left: 20px;
  margin-right: 20px;
  font-weight: bold;
}

.aboutYearBox P {
  font-size: 4vmax;
}



#newsYearBox P {
  padding: 30px 0px 0px 10px;
  display: block;
  height: 100px;
  font-weight: bold;
  font-size: 1.3vmax;
}

#newsYearBox SPAN {
  font-weight: bold;
  display: block;
  font-size: 2.1vmax;
  clear: both;
}

#newsCardBox P {
  text-align: right;
  justify-content: flex-end;

  align-items: center;
  padding: 0px;
  font-weight: bold;
  text-align: right;
  font-size: 5vmax;
  background: none;
}


.aboutTitle {
  height: 200px;
  background: #141414;
  padding: 0px;
  padding-left: 10px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: 0px;
  line-height: 0.9em;
}

.aboutMain HR {
  border: none;
  padding: 0px;
  margin: 0px;
}

.aboutYearBox SPAN {
  display: block;
  margin-top: 0px;
  margin-bottom: 0px;
  height: 200px;
  color: var(--dd);
  text-align: center;
  font-size: 4.5vmax;
  padding-top: 100px;
}

.aboutLineBox DIV,
#newsLineBox DIV {
  /*height: 200px;*/
}


#newsArticle {
  display: none;
  position: absolute;
  top: 35px;
  height: 90vh;
  left: 70px;
  width: 70vw;
  z-index: 50;
  background: #222;
  border-radius: 30px;
  border: 1px solid black;
  color: white;
  padding: 40px;
  overflow: auto;
}

#newsArrow {
  display: none;
  position: absolute;
  top: 120px;
  height: 20px;
  right: 22vw;
  width: 200px;
  z-index: 35;
  background: black;
}


@media (min-width: 769px) {

  /* desktop */
  .aboutTitle,
  .newsTitle {
    font-size: 6vmax;
  }

  .aboutMain HR {
    height: 30px;
  }

  .aboutMain,
  .newsMain {
    margin: 50px;
    padding-top: 0px;
  }

  .aboutCardBox P,
  #newsCardBox P {
    font-size: 1.8vmax;
  }

  .aboutCardBox P,
  .aboutLineBox P,
  .aboutYearBox P {
    height: 150px;
  }

  #newsCardBox P,
  #newsLineBox P,
  #newsYearBox P {
    height: 100px;
    flex-basis: 100px;
  }

  .aboutLineBox {
    flex-basis: 180px;
  }

  .aboutLineBox P I,
  #newsLineBox P I {
    margin: auto;
    display: block;
    border: 12px solid white;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    background: black;
    z-index: 40;

  }

}

.clep {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.cle {
  flex: 0 0 33%;
  flex-grow: 1;
  flex-direction: column;
  box-sizing: border-box;
  border: 1px solid black;
}

.solp {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.sol {
  flex: 0 0 50%;
  flex-grow: 1;
  flex-direction: column;
  box-sizing: border-box;
  /*border: 1px solid black;*/
}

@media (max-width: 600px) {

  .solp,
  .clep {
    width: 100%;
  }

  .sol,
  .cle {
    flex-basis: 100%;
  }
}


@media (min-width: 1600px) {

  /* big desktop */
  .aboutTitle {
    font-size: 100px;
  }

  .aboutCardBox P,
  #newsCardBox P {
    font-size: 30px;
  }

  .aboutYearBox P {
    font-size: 70px;
  }

  .navMast {
    font-size: 3vw;
  }
}

@media (max-width: 768px) {
  /* mobile */


  #newsPane {
    padding-top: 10px;
  }


  #newsArticle {
    top: 10px;
    height: 90vh;
    left: 10px;
    width: 68vw;
    overflow: auto;
    -webkit-overflow-scroll: touch;
  }

  #newsArrow {
    top: 100px;
    height: 20px;
    right: 22vw;
    width: 200px;
  }

  .aboutTitle {
    font-size: 29px;
  }

  .aboutMain HR {
    height: 0px;
  }

  .aboutMain,
  .newsMain {
    margin-right: 10px;
    padding-top: 10px;
  }

  .aboutCardBox P,
  #newsCardBox P {
    font-size: 14px;
    line-height: 25px;
  }

  .aboutCardBox P,
  .aboutLineBox P,
  .aboutYearBox P {
    height: 250px;
    font-size: 20px;
  }

  .aboutYearBox hr {
    height: 0px !important;
  }

  #newsCardBox P,
  #newsLineBox P,
  #newsYearBox P {
    height: 60px;
    flex-basis: 60px;
  }

  #newsYearBox P {
    padding-left: 2px;
  }

  .aboutLineBox {
    /*flex-basis:100px;*/
  }

  #newsLineBox {
    flex-basis: 100px;
  }

  .aboutLineBox P I,
  #newsLineBox P I {
    margin: auto;
    border: 8px solid white;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    z-index: 40;

    background: black;
  }

}

#newsLineBox P I {
  border-color: black;
  background: #00B2FF;
}


/**** Breadcrumbs ****/

.breadcrumb {
  display: none;
}


ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;
  /*background-color: #eee;*/
}

ul.breadcrumb li {
  display: inline;
  font-size: 12px;
}

ul.breadcrumb li+li:before {
  padding: 8px;
  color: grey;
  content: "/\00a0";
}

ul.breadcrumb li a {
  color: grey;
  text-decoration: none;
}

ul.breadcrumb li a:hover {
  color: #607d8b;
  text-decoration: underline;
}


/* ********************* */
#galBackground {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  opacity: 1.0;
  background: rgba(10, 10, 10, 0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  visibility: hidden;
}

.galBox {
  flex-grow: 1;
  width: 80%;
  height: 80%;
  max-width: 90vw;
  max-height: 60vw;
  background: black;
  border-radius: 5px;
  border: 0px double #777;
  display: flex;
  flex-direction: column;
}

.galHead {
  height: 40px;
  flex-grow: 0;
  display: flex;
  margin: 10px 15px 5px 15px;
}

#galHeadText {
  flex-grow: 1;
  padding-left: 20px;
  font-size: 23px;
}

#galClose {
  flex-grow: 0;
  width: 40px;
  color: silver;
  font-size: 35px;
  float: right;
  cursor: pointer;
}

#galClose:hover {
  color: white;
}

.galRow {
  flex-grow: 1;
  margin: 0px 15px 0px 15px;
  align-items: center;
  justify-content: center;
  position: relative;
}

#galPrev,
#galNext {
  flex-basis: 0;
  flex-grow: 0;
  width: 80px;
  top: 46%;
  color: #444;
  cursor: pointer;
  font-size: 80px;
  position: absolute;
  z-index: 201;
  border-radius: 40px;
}

#galPrev:hover,
#galNext:hover {
  color: white;
  background: #555;
}

#galPrev {
  left: 5px;
}

#galNext {
  right: 5px;
}

.galImgBox {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: black;
  align-items: center;
  justify-content: center;
  display: flex;
}

#galImage {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 0.0;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}


.galBottom {
  flex-grow: 0;
  display: flex;
  margin: 5px 15px 10px 15px;
}

#galSummary {
  min-height: 50px;
  color: white;
  padding-left: 20px;
  font-size: 20px;
}





.gallery {
  max-width: 1000px;
  padding-left: 20px;
}

.galleryBox {
  float: left;
  text-align: center;
  padding: 30px;
}

.galleryBox IMG {
  width: 140px;
  height: 120px;
  clear: both;
  margin-bottom: 5px;
  box-shadow: 3px 3px 4px silver;
}

.galleryBox SPAN {
  clear: both;
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.workRow {
  padding-top: 40px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justiy-content: space-between;
}

.workRow DIV {
  flex: 1;
}


@media (max-width: 1030px) {
  .cardh h3 {
    font-size: 26px;
  }

  .navFiller {
    flex-wrap: wrap;
  }

  .navFiller>div {
    min-width: 45%;
  }
}



@media (max-width: 768px) {
  /* mobile */

  body {
    overflow-y: hidden;
  }

  .navMast {
    font-size: 4.4vw;
    font-family: Sans-serif;
    font-weight: lighter;
    line-height: 1.6em;
    letter-spacing: 0px;
  }

  .homeBox {
    padding: 2rem 1rem 0 1rem;

  }

  .homeBox>h2 {
    font-family: "HKbold", sans-serif;
  }

  .homeBox>p {
    font-size: 18px;
    line-height: 1.2em;
  }

  SECTION ARTICLE P {
    /*font-size: 5vw;*/
    /*line-height:2rem;*/
  }


  .galBox {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border: none;
    border-radius: 0;
  }



  .gallery {
    width: 580px;
    padding-left: 0px;
  }

  .galleryBox {
    padding: 20px;
  }

  .galleryBox IMG {
    width: 100px;
    height: 80px;
  }

  #sectionContent SECTION {
    min-height: 100vh;
    width: 100vw;
    /* background: white; */
    /* color:#141414; */
    padding: 0px;
  }
}



@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}