/* Custom styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
	color: #505050;
}

h1, h2, h3 {
	font-family: 'ZCOOL XiaoWei', sans-serif;
	color: #828d91;
}

.bg-dark {
  background-color: #828d91 !important;
}


body > .container {
  padding: 60px 15px 0;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

code {
  font-size: 80%;
}

.btn-primary {
  color: #fff;
  background-color: #B3B3B3;
  border-color: #B3B3B3;
}

.btn-primary:hover {
  color: #fff;
  background-color:#c9c9c9;
  border-color: #c9c9c9;
}

.btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: #d9d9d9;
  border-color: #d9d9d9;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}


/* Video styles for header */

header {
  position: relative;
  background-color: black;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.2;
  z-index: 1;
}

/* Media Query for devices withi coarse pointers and no hover functionality */

/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */

@media (pointer: coarse) and (hover: none) {
  header {
    background: url('/images/fallback.jpg') black no-repeat center center scroll;
  }

  header video {
    display: none;
  }
}

/* End of video css */

