/* Reset */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul {
  list-style: none;
}
ol {
	list-style-type: decimal;
}
img {
  max-width: 100%;
  height: auto;
}

/* Clearfix */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Common */
html {
  overflow-y: scroll;
  overflow-x: hidden;
  -ms-overflow-style: scrollbar;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  font: 400 16px/1.8 "Open Sans", sans-serif;
  color: #666;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
iframe {
  border: 0;
}
.btn {
  box-shadow: none;
}
a, .btn {
  transition: all 0.125s ease-in-out 0s;
}
p, ol, ul, blockquote {
	margin: 0 0 20px;
}
ol {
  padding-left: 2rem;
}


/* Typography */
a {
  color: #111;
}

a:hover, a:focus {
  border-bottom: dotted 1px black;
  color: #aaa;
  outline: 0;
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: 400;
}

p, ol, ul, blockquote {
  margin: 0 0 20px;
}

blockquote {
  border: 0;
  font-style: italic;
  font-size: 15px;
  padding: 0;
}
.header_title, .header_subtitle,
.section_title, .section_subtitle {
  font-family: "Roboto Condensed", sans-serif;
  text-align: center;
}
.header_title {
  font-weight: 400;
  font-size: 48px;
  letter-spacing: 24px;
}
.header_subtitle {
  font-size: 15px;
  letter-spacing: 4px;
}
@media (max-width: 767px) {
  .header_title {
    font-size: 28px;
    letter-spacing: 6px;
    margin-bottom: 28px;
  }
  .header_subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }
}
.section_title, .section_subtitle {
  color: #111;
  letter-spacing: 4px;
}
.section_title {
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 35px;
}
.section_subtitle {
  font-size: 16px;
  margin-bottom: 30px;
}
.section_centred {
  font-weight: 700;
  text-align: center;
}
.grid_item_title {
  color: #fff;
  font-size: 18px;
  margin: 0 0 6px;
}
.grid_item_subtitle {
  color: #dedede;
  font-size: 18px;
}
.footer .copyright {
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 2px;
}

/* Page elements */

/* Scroll */
.scroll-up {
  background: rgba(185,185,185,40);
  position: fixed;
  display: none;
  bottom: 7px;
  right: 7px;
  z-index: 999;
}

.scroll-up a {
  display: block;
  height: 28px;
  width: 28px;
  text-align: center;
  line-height: 28px;
  font-size: 14px;
  color: #000;
  opacity: 0.6;
  border-radius: 2px;
}

.scroll-up a:hover,
.scroll-up a:active {
  opacity: 1;
  color: #000;
}

/* Navbar */
.navbar {
  background-color: rgba(10, 10, 10, 0.9);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  transition: background, padding 0.4s ease-in-out 0s;
  z-index: 1000;
}
.navbar a {
  transition: color 0.125s ease-in-out 0s;
}
.navbar-brand {
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 4px;
}
.navlia {
  border: 0;
  color: rgba(255, 255, 255, 0.7);
}
.navlia:active, .navlia:focus, .navlia:hover {
  border: 0;
  background-color: #eee;
  color: #0e0e0e;
  text-decoration: none;
}
.navbar-toggle .icon-bar {
  background: #fff;
}

@media (max-width: 767px) {
  .navbar {
    letter-spacing: 3px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .navbar-nav > li:active, .navbar-nav > li:focus, .navbar-nav > li:hover {
    background-color: #eee;
  }
  .navlia:active, .navlia:focus, .navlia:hover {
    background: rgba(255, 255, 255, 0.1) !important;
  }
}

/* Header */
.header {
  background-image: url("/static/images/scr1.jpg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: block;
  padding: 40px 0;
  position: relative;
}
.header::before {
  background: rgba(45, 45, 45, 0.45);
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.header_caption {
  padding: 40px 0;
  position: relative;
  text-align: center;
  z-index: 4;
}
.header_btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 40px;
  padding: 8px 37px;
}
.header_btn:hover, .header_btn:focus, .header_btn:active {
  background: #fff;
  border-color: transparent;
  color: #111;
}

/* Main */
main {
  margin-top: 50px;
}
section {
  padding: 40px 0;
}

/* Footer */
.footer_dark {
  background: #111;
  color: #fff;
  margin-top: 24px;
  padding: 10px 0;
}

.copyright > a {
  color: #aaa;
}
.copyright > a:hover {
  border-bottom: none;
  color: #9ce8ff;
}


/* Video grid */
.grid-item {
  margin-bottom: 10px;
  width: calc(50% - 11px);
}
@media only screen and (max-width: 640px) {
  .grid-item {
    width: 100%;
  }
}
.grid-item > a {
  display: block;
  overflow: hidden;
  position: relative;
}
.grid_img {
  position: relative;
  overflow: hidden;}
.grid_img > img {
  display: block;
  overflow: hidden;
  width: 100%;
}
.grid_img:after {
  position: absolute;
  display: block;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
.grid_caption {
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 2px;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  position: absolute;
  bottom: 100%;
  left: 0;
  text-align: center;
  width: 100%;
}
.grid_item_title {
  font-size: 18px;
  margin: 0 0 6px;
}
.grid_item_subtitle {
  font-size: 18px;
  color: #dedede;
}
.grid-item:hover .grid_img:after,
.grid-item:active .grid_img:after {
  background: rgba(50, 50, 50, 0.6);
  transition: all 0.3s ease-in-out 0s;
}
.grid-item:hover .grid_img > img,
.grid-item:active .grid_img > img {
  -webkit-filter: blur(4px);
  filter: blur(4px);
  transition: all 0.3s ease-in-out 0s;
}
.grid-item:hover .grid_caption {
  bottom: 50%;
  opacity: 1;
  -webkit-transform: translateY(50%);
  -ms-transform: translateY(50%);
  transform: translateY(50%);
  transition: all 0.3s ease-in-out 0s;
  z-index: 3;
}
