/**
 * General styles
 */
@font-face {
  font-family: 'AvenirNextLTPro-Medium';
  src: url("/static/fonts/AvenirNextLTPro-Medium.otf") format("opentype");
  }
@font-face {
  font-family: 'AvenirNextLTPro-Regular';
  src: url("/static/fonts/AvenirNextLTPro-Regular.otf") format("opentype");
  }
body {
  background: #fff;
  overflow: hidden;
  width: 100%;
  height: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body, button, input, select, textarea {
  color: #797979;
  font-family: 'AvenirNextLTPro-Regular', Helvetica, Arial, sans-serif;
  font-size: 14px;
}
strong, .strong {
  color: #222222 !important;
}
.disable a.active {
  color: #797979 !important;
}
a, a:visited {
  color: #797979;
  text-decoration: none;
}
a:hover,
.header a.active{
  color:#222222;
}
a:focus {
  outline: none;
}
h1, h2, h3 {
  font-weight: normal;
  text-align: center;
  font-size: 21px;
  line-height: 21px;
}
input {
  font-size: inherit;
}

/**
 * Grid container
*/
#tiles {
  list-style-type: none;
  position: relative; /** Needed to ensure items are laid out relative to this container **/
  margin: 0;
  padding: 0;
}

/**
  * Grid items
  */
#tiles li {
  width: 212px;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
}
#tiles li.loaded {
  opacity: 1;
}
#tiles li a {
  display: block;
}
#tiles li img {
  display: block;
  width: 100%;
}
@media (max-width: 767px) {
  #tiles li img {
    height: auto;
  }
  #tiles {
    margin-left: 40px;
    margin-right: 40px;
  }
  #tiles li {
    width: 42.5%;
  }
}
@media (max-width: 480px) {
  #tiles {
    margin-left: 40px;
    margin-right: 40px;
  }
  #tiles li {
    width: 100%;
  }
}

/**
  * Grid item text
  */
#tiles li p {
  margin: 0;
  padding: 16px 0;
  width: 100%;
  text-align: center;
}

/* removed opacity on hover so that the pictures do not appear 'milky' */
#tiles li:hover img {
  /*opacity: .75;*/
}
#tiles li:hover p {
  color: #222222;
}

/* Styles for non-javascript view */
#tiles li.static {
  opacity: 1;
  position: relative;
  float: left;
  margin: 0px 30px 20px;
}
#tiles li.static p {
  position: static;
}

/** General page styling **/
#main {
  position: relative;
  width: 100%;
  padding: 7px 0 30px 0;
}

.header {
  background: #fff;
  padding: 21px 20px 0 20px;
  z-index: 3;
  position: relative;
}

.header h1 {
  text-align: center;
  font-weight: normal;
  line-height: 20px;
  margin: 30px 0 3px 0;
}

.header h3, .header p {
  text-align: center;
  margin: 0px auto;
  max-width: 800px;
}
.header .nav h3 {
  margin-top: -12px;
}
.header h3 > a {
  display: inline-block;
}
.header h3 {
  margin-bottom: 13px;
}
.header .nav-phone h3 {
  margin-bottom: 0;
  line-height: 1.3em;
}
.header .nav h3 a {
  margin-left: 6px;
  margin-top: 12px;
}
header .nav h3 {
  margin-top: -12px;
}
.header .nav h3 a:first-child {
  margin-left: 0;
}
.header .nav-phone h3:first-child {
}
.header .nav-phone {
  margin-top: -10px;
  margin-bottom: 10px;
}
.header p {
  margin-bottom: 13px;
}
.header #results {
  margin-bottom: 0;
}
.hide {
  display: none;
}
.hide.in {
  display: block;
}
#page-comments {
  bottom: 38px;
  color: #222222;
  height: 12px;
  position: fixed;
  left: 0;
  margin-left:5px;
  width: 10px;
  z-index: 10000;
}

#search {
  background: #fff;
  width: auto;
  text-align: center;
  border: none;
  margin-top: -1px;
}
#search:hover,
#search:focus,
#search:active {
  color: #222222;
  border: none;
  outline: none;
}

#fade {
  width: 100%;
  display: none;
  height: 100%;
  background: rgba(255,255,255,0.85);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 48px auto;
  text-align: left;
  line-height: 125%;
}
.wrapper.article-contact {
  max-width: 535px;
  text-align: center;
}
.wrapper .media {
  margin-top: 0;
  margin-left: 20px;
  margin-right: 20px;
}
.wrapper .media img {
  max-width: 100%;
  height: auto;
}
.wrapper h1, h2, h3, h4, h5, h6 {
  color: #222222;
}
.wrapper h2 {
  margin: 18px 0;
  margin-top: 41px;
}
.wrapper h2:first-child {
  margin-top: 18px;
}
.wrapper h3 {
  font-size: 14px;
  line-height: 125%;
  text-align: center;
}
.wrapper p, .wrapper blockquote {
  margin-bottom: .75em;
  margin-left: 20px;
  margin-right: 20px;
  color: #222222;
}
.wrapper blockquote {
  text-align: center;
}
.wrapper table {
  margin-bottom: .75em;
  margin-left: 20px;
  margin-right: 20px;
  color: #222222;
  width: auto !important;
}
.error404 {
  padding-top: 100px;
}
.playicon:before {
  content: "";
  background: url(/static/img/playknapp.png) transparent scroll center center no-repeat;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.single-media {
  text-align: center;
  margin: 0px auto;
  width: 100%;
  margin: 0px 0px 40px;
}
.single-media img {
  height: 660px;
}
.single-media-info-text {
  margin: 13px 0 0 7px;
  text-align: center;
}
#subnav a {
  padding: 0 1px;
  margin-right: 3px;
}
ul.media-list {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 23px auto;
  text-align: center;
  padding: 0;
}
ul.media-list li {
  margin: 0;
  display: inline;
  text-align: center;
  list-style-type: none;
  position: relative;
}
ul.media-list li img {
  margin: 0 30px 50px;
}
ul.media-list li:hover img {
  opacity: .75;
}
ul.media-list .playicon:before {
  height: 65px;
  z-index: 10;
}
td {
  padding-right: 10px;
}
.icon-cog {
  width: 12px;
  height: 14px;
  background: url(/static/img/icon_cog.png) transparent center center no-repeat;
  display: inline-block;
}
.form-wrapper {
  width: 200px;
  margin: 0 auto;
}
legend, .control-group {
  margin: 10px 0;
}
.loader {
  z-index: 1;
  height: 32px;
  width: 100%;
  background: url(/static/img/indicator.gif) no-repeat center transparent;
}

/* Carousel */
.carousel {
  width: 100%;
  height: 100%;
  margin: 0px auto 20px;
  z-index: 50;
  position: fixed;
  top: 0;
  background: #fff;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}
.carousel-container img {
  -moz-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}
.carousel-stage {
  position: relative;
  top: 0px;
  height: calc(93svh - 32px);
  width: 100%;
  overflow: hidden;
  z-index: 1;
}
.carousel-images {
  z-index: 2;
}
.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 38px 5svw;
}
.carousel-image.current {
  opacity: 1;
}
.carousel-image.prev {
  opacity: 0;
}
.carousel-image.next {
  opacity: 0;
}
.ie-ancient .carousel-image.current {
  display: block;
}
.ie-ancient .carousel-image.prev {
  display: none;
}
.ie-ancient .carousel-image.next {
  display: none;
}
.touch .carousel-stage {
  top: 0;
  width: 100%;
  height: 100%;
}
.touch .carousel-images {
  width: 100%;
  height: 100%;
  -webkit-perspective: 1000;
  -webkit-backface-visibility: hidden;
}
.touch .animate {
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  -moz-transition: -moz-transform 0.2s ease-in-out;
  -o-transition: -o-transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
}
.touch .noanimate {
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
  transition: none;
}
.touch .carousel-image {
  margin: 0;
}
.touch .carousel-image.prev {
  opacity: 1;
}
.touch .carousel-image.next {
  opacity: 1;
}
.carousel-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-image img {
  position: absolute;
  z-index: 2;
  display: block;
}
.carousel-image iframe {
  border: none;
  position: absolute;
  z-index: 2;
  display: block;
}
.carousel-image video {
  position: absolute;
  z-index: 4;
  display: block;
}
.notouch .carousel-image {
  /*
  -webkit-transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
  */
}
.notouch .carousel-image img {
  /*
  -webkit-transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
  */
}
.carousel-loader {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  height: 32px;
  width: 32px;
  margin: -16px 0 0 -16px;
  background: url(/static/img/indicator.gif) no-repeat 0 transparent;
}
.carousel-info {
  z-index: 2;
  position: relative;
  margin-bottom: -15px;
  -webkit-transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
  opacity: 1;
}
.carousel-info-text {
  background-color: transparent;
  padding: 0px;
}
.carousel-info-title {
  padding: 18px 20px 6px 20px;
  font-size: 21px;
  line-height: 1.3em;
  text-align: center;
  color: #797979;
}
.carousel-info-title a:hover {
  color: #222222;
}

.carousel-info-description {
  text-align: center;
  margin: 4px auto 6px;
  max-width: 660px;
}
.inactive .carousel-info {
  opacity: 0;
}
.touch .carousel-info {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  background: #fff;
  padding-top: 1px;
  -webkit-transform: translate3d(0px, -1px, 0);
  -moz-transform: translate3d(0px, -1px, 0);
  -o-transform: translate3d(0px, -1px, 0);
  transform: translate3d(0px, -1px, 0);
  padding-bottom: 10px;
  pointer-events: none;
}
.touch .carousel-info-text {
  display: none;
  pointer-events: none;
}
.touch.touched .carousel-info-text {
  display: block;
  pointer-events: auto;
}
.touch .carousel-share-links {
  display: none;
  pointer-events: none;
}
.touch .models {
  display: none;
  pointer-events: none;
}
.touch.touched .models {
  display: block;
  pointer-events: auto;
}
.touch.touched .carousel-share-links {
  display: block;
  pointer-events: auto;
}
.touch.touched .carousel-info {
  opacity: 0.85;
}
.carousel-image-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  -webkit-transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
  opacity: 1;
}
.inactive .carousel-image-nav {
  opacity: 0;
}
.carousel-image-nav.video {
  z-index: 1;
}
.carousel-image-nav-left,
.carousel-image-nav-right {
  cursor: pointer;
  width: 5svw;
  height: 100%;
  position: absolute;
  left: 15px;
  z-index: 2;
  /*background-position: 0 46px;*/
  background: url(/static/img/Arrow_Back_Grey.jpg) left center no-repeat scroll transparent !important;
}
.carousel-image-nav-right {
  left: auto;
  right: 15px;
  /*background-position: -254px 46px;*/
  background: url(/static/img/Arrow_Forward_Grey.jpg) right center no-repeat scroll transparent !important;
  z-index: 2;
}
.carousel-image-nav-left:hover {
  background-image: url(/static/img/Arrow_Back_Black.jpg) !important;
}
.carousel-image-nav-right:hover {
  background-image: url(/static/img/Arrow_Forward_Black.jpg) !important;
}

.video iframe {
  pointer-events:all;
}
.video .carousel-images {
  z-index: 2;
}
.video .carousel-image-nav {
  z-index: 1;
}

.carousel-share, .carousel-share-links {
  cursor: pointer;
  text-align: center;
  z-index: 2;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 32px;
  -webkit-transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
  opacity: 1;
}
.carousel-share-links a {
  margin-left: 8px;
  margin-right: 8px;
}
.inactive .carousel-share, .inactive .carousel-share-links {
  opacity: 0;
}
.touch .carousel-share, .touch .carousel-share-links {
  display: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: white;
  z-index: 1;
}

#tiles li {
  height: auto; /* set height to 'auto' so the height is based on the content */
}

#tiles li a {
  display: block; /* make the 'a' element a block-level element so it fills the 'li' element */
}

#tiles li img {
  max-width: 100%; /* make sure images don't exceed the width of the 'a' element */
}

.cookie-banner .text-container {
  display: flex;
  max-width: 80%;
  justify-content: center;
  margin: 0 auto;
  align-items: flex-end;
}

.cookie-banner .button-click {
  cursor: pointer;
}

.cookie-banner a {
  text-decoration: underline;
}

a.nav-collapse-toggle:hover {
  color: #797979;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner span {
  margin-left: 14px;
}

.collapse {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.25s ease-in-out;
  -moz-transition: max-height 0.25s ease-in-out;
  -o-transition: max-height 0.25s ease-in-out;
  transition: max-height 0.25s ease-in-out;
}
.collapse.in {
  max-height: 500px;
}
.article .collapse {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.5s ease-in-out;
  -moz-transition: max-height 0.5s ease-in-out;
  -o-transition: max-height 0.5s ease-in-out;
  transition: max-height 0.5s ease-in-out;
}
.article .collapse.in {
  max-height: 1500px;
}
.visible-phone {
  display: none;
}
.nav-collapsed {
  display: none;
}
.collapsed .nav-collapsed {
  display: block;
}
.nav-expanded {
  display: block;
}
.collapsed .nav-expanded {
  display: none;
}
.collapse-toggle:before {
  content: "\25BE";
  display: inline;
  padding-right: 2px;
}
.collapse-toggle.collapsed:before {
  content: "\25B8";
  display: inline;
}
h3.collapse-toggle {
  margin-bottom: 0;
  margin-top: 40px;
}

.special-image {
  height: 180px;
  max-height: 180px;
  width: auto !important;
  max-width: 100%;
  object-fit: cover;
}

.special-wrapper {
  margin: 24px auto 24px auto;
}

.read-more-button {
  text-align: center;
  margin-top: 10px;
}

.models {
  text-align: center;
  width: 100%;
  padding: 15px;
  position: absolute;
  bottom: 32px;
  max-width: calc(100svw - 30px);
}

.forms form {
  min-height: 50vh;
}

.forms form {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.forms form input {
  max-width: 200px;
  font-size: 21px;
  line-height: 100%;
  border: 0;
  background: transparent;
  color: black;
  text-align: center;
  outline: 0;
}

.forms form input::placeholder {
  color: black;
}

.forms form input::focus-visible {
  border: 0;
  outline: 0;
}

.forms form input:focus::placeholder {
  color: transparent;
}

.forms form button {
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 21px;
  color: black;
  line-height: 100%;
  outline: 0;
} 

@media (max-width: 767px) {
  .visible-phone {
    display: block;
  }
  .hidden-phone {
    display: none !important;
  }
  ul.media-list {
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
  }
  ul.media-list li img {
    margin-bottom: 40px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    height: auto;
  }
  #search {
    width: auto !important;
  }
  .models {
    margin-top: -100px;
    z-index: 51;
    color: #222222 !important;
  }
  .carousel-image {
    margin: 38px;
  }
}
