* {
  margin: 0;
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body {
  background-color: #212121;
  margin: 0;
  padding: 0;
  color: white;
  width: 100vw;
}

a {
	text-decoration: none;
	color: inherit;
}

@font-face {
  font-family: 'OsBlack';
  src: url("/fonts/OstrichSans-Black.otf");
  src: url("/fonts/OstrichSans-Black.svg");
  src: url("/fonts/OstrichSans-Black.woff");
  font-weight: normal;
}

@font-face {
  font-family: 'OsBold';
  src: url("/fonts/OstrichSans-Bold.svg");
  src: url("/fonts/OstrichSans-Bold.otf");
  src: url("/fonts/OstrichSans-Bold.woff");
  font-weight: bold;
}

@font-face {
  font-family: 'OsMedium';
  src: url("/fonts/OstrichSans-Medium.otf");
  src: url("/fonts/OstrichSans-Medium.svg");
  src: url("/fonts/OstrichSans-Medium.woff");
  font-weight: normal;
}

@font-face {
  font-family: 'Bryant-Reg';
  src: url("/fonts/BryantPro-Regular.otf");
  font-weight: normal;
}

@font-face {
  font-family: 'Bryant-Bold';
  src: url("/fonts/BryantPro-Bold.otf");
  font-weight: bold;
}

@font-face {
  font-family: 'Bryant-Light';
  src: url("/fonts/BryantPro-Light.otf");
  font-style: italic;
}

.osBold {
  font-family: 'OsBold';
}

.osMedium {
  font-family: 'OsMedium';
}

.osBlack {
  font-family: 'OsBlack';
}

.orangeText {
  color: #db7c0b;
}

header {
  margin: 0;
  padding: 0;
  height: 10vh;
  width: 100vw;
  position: absolute;
  top: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 10;
}

nav {
  margin: 0;
  text-align: right;
  padding: 0 0 3vh 0;
  font-family: 'OsBlack';
}

nav a {
  display: inline-block;
  padding: 1.5vh 1.2vw 3vh 1.2vw;
  text-shadow: none;
  font-size: 1.1vw;
  border-right: solid 0.25vh #313030;
  border-bottom:solid 0.3vh rgba(0,0,0,0.3);
  height:10vh;
  width:7.5vw;
  margin:0;
  text-align: center;
  background-image: url("/side_texture.png");
  background-color: rgba(0,0,0,0.3);
}

nav a:hover:not(.active)  {
  background-image: url("/side_texture.png");
  background-color: rgba(0,0,0,0.5);
  text-shadow: 0.1vw 0.1vw 0.25em rgba(255, 165, 0, 0.6);
  border-bottom:solid 0.3vh #db7c0b;
  transition: border-color 0.25s ease-in-out;
}

nav a img {
  width: 1.5vw;
  display: block;
  margin: auto;
  padding-bottom: 1vh;
}

nav #menu_open {
  display: none;
}

header #mobile_text {
  display: none;
}

#mobile_nav {
  display: none;
  position: absolute;
  top:0;
  width:100vw;
  height:100vh;
  background-color: rgb(0,0,0);
}

details {
  display: none;
}

main {
  display: flex;
  flex-direction: row;
  align-content: stretch;
  flex-wrap: nowrap;
  width: 100vw;
  height: 100%;
}

main #phone_number {
  height:6vh;
  width: 16vw;
  font-size: 2vw;
  position: absolute;
  border-radius: 0.5vw;
  top:8vh;
  left:10vw;
  background-color: rgb(0, 0, 0);
  padding: 1vh 1vw 1vh 3vw;
  border: solid 0.1vw #db7c0b;
  background-image: url("/telephone_icon.png");
  background-position: -2vw 50%;
  background-size: contain;
  background-origin: content-box;
  background-repeat: no-repeat;
  text-align: center;
  z-index: 999;
}

main #phone_number h1 {
  font-size:90%;
  padding:0;
  display: block;
} 

details {
  display: none;
}

main video {
  filter: opacity(70%);
  z-index: -1;
  border-bottom: solid 0.25vh #313030;
}

aside {
  padding: 2vh 0.5vw 2vh 0.5vw;
  min-width: 50px;
  margin: 0;
  z-index: 1;
  flex-shrink: 0;
  background-color: rgb(0, 0, 0);
  background-image: url("/side_texture.png");
  border-right: solid 0.25vh #313030;
  z-index: 11;
}

aside img {
  width: 6vw;
  margin: 0;
  max-height: 1000px;
}

#content_area {
  padding: 40vw 0 0 0;
  width: 200%;
  flex-grow: 1;
  position: relative;
  overflow-x: hidden;
}

#content_area #video1 {
  position: absolute;
  width: 90%;
  top: 10vh;
  left: 0;
  transition: all 1000ms;
  z-index: 2;
}

#content_area #video2 {
  position: absolute;
  width: 90%;
  top: 10vh;
  left: 90%;
  transition: all 1000ms;
  z-index: 2;
}

#arrow {
  position: absolute;
  top: 30vh;
  left: 87.5%;
  width: 5%;
  z-index: 100;
  transition: all 1000ms;
  cursor: pointer;
}

.homepage_img {
  border-radius: 100px;
  margin-left: 3vw;
  width: 30vw;
  margin-bottom: 10vh;
  float: right;
  clear: both;
  vertical-align: top;
  display: block;
}

.image_right_float {
  border-radius: 100px;
  margin-left: 3vw;
  width: 20vw;
  margin-bottom: 5vh;
	float: right;
  clear: both;
	vertical-align: top;
  display: block;
}

.image_left_float {
  border-radius: 100px;
  margin-left: 3vw;
  width: 20vw;
  margin-bottom: 5vh;
  float: left;
  clear: right;
  vertical-align: top;
  display: block;
}

.awards_image {
  width: 50vw;
  margin: 0 5vw 5vh 5vw;
  float: right;
  clear: both;
  vertical-align: top;
  display: block;
}

.contact_image {
  border-radius: 5%;
  margin-left: 3vw;
  width: 25vw;
  margin-bottom: 10vh;
  vertical-align: top;
  position: absolute;
  right:2vw;
}

#content_area h1,
#content_area2 h1 {
  font-size: 2vw;
  margin-bottom: 0.8vh;
  margin-left: 3vw;
  position: relative;
  border-radius: 0.5vw;
  top:-5vh;
	background-color: rgb(0, 0, 0);
  background-image: url("/side_texture.png");
  display: table;
  padding: 1vh 1vw 1vh 1vw;
  border: solid thin rgb(219,124,11);
  z-index:10;

}

#content_area h2 {
  font-size: 1.3vw;
  position: relative;
  border-radius: 0.5vw;
  top:-5vh;
  left: 15vw;
  background-color: rgb(0, 0, 0);
  background-image: url("/side_texture.png");
  display: table;
  padding: 1vh 1vw 1vh 1vw;
  font-family: 'Bryant-Reg';
  text-transform: uppercase;
}

#content_area2 h2 {
  font-size: 1.3vw;
  position: relative;
  border-radius: 0.5vw;
  top:-5vh;
  left:5vw;
  background-color: rgb(0, 0, 0);
  background-image: url("side_texture.png");
  display: table;
  padding: 1vh 1vw 1vh 1vw;
  font-family: 'Bryant-Reg';
  text-transform: uppercase;
}

#content_area p,
#content_area2 p {
  font-size: 1.3vw;
  font-family: 'Bryant-Reg';
  line-height: 1.8em;
  text-align: justify;
  margin: 0 3vw 0 3vw;
  padding:0;
  line-height: 150%; 
}

#content_area a {
  font-style: italic;
  text-decoration: underline;
}

#content_area h3,
#content_area2 h3 {
  font-size: 1.5vw;
  font-family: 'Bryant-Reg';
  line-height: 1.8em;
  text-align: justify;
  margin: 0 3vw 0 3vw;
  padding:0;
  line-height: 220%;
  border-radius: 0.5vw;
  padding: 1vh 1vw 1vh 1vw;
}

#content_area2 {
  padding: 0;
  flex-grow: 1;
  position: relative;
  top: 10vw;
  height: 100%;
  padding-bottom: 15vw;
}

#phone_icon {
  height:4vh;
  margin-right: 1.3vw;
}

#envelope_icon {
  height:2vh;
  margin-right: 1.3vw;
}

#TBSR {
  height: 10vw;
}

footer {
  width: 100vw;
  text-align: center;
  background-image: url("/fires.png");
  background-repeat: no-repeat;
  background-size: 40%;
  background-position: bottom left;
  padding-top: 1vh;
  padding-bottom: 4vh;
  border-top: solid 0.25vh #313030;
}

footer h3 {
  font-size: 1.3vw;
  font-family: 'OsMedium';
}

footer h4 {
  font-size: 1vw;
  font-family: 'OsMedium';
  display: inline-block;
  margin: 0 1vw 3vh 1vw;
  width: 5vw;
}

footer h5 {
  font-size: 0.9vw;
  font-family: 'OsMedium';
  color: grey;
}

footer img {
  height: 2.5vw;
  display: inline-block;
  margin: 3vh 2vw 3vh 2vw;
}

#credits_box {
  display: flex;
  margin: 2vh 3vw 2vh 3vw;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-around;
}

#gallery_box {
  display: flex;
  margin: 2vh 3vw 2vh 3vw;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
}

#credits_box img {                  /*For pre-loading the hover images to prevent image flicker. We don't want the images to be seen however.*/
  visibility: hidden;
}

.credits_gallery {
  height: auto;
  width: 15vw;
  background-repeat: no-repeat;
  padding:0;
  display: inline-block;
  box-sizing: border-box;
  max-width: 300px;
  background-position: center;
  margin:0 0.5vw 0.5vh 0;
}

.main_gallery {
  height: auto;
  width: 9vw;
  padding:0;
  display: inline-block;
  box-sizing: border-box;
  max-width: 200px;
  background-position: center;
  margin:0 0.25vw 0.25vh 0;
}

.main_gallery img:hover {
  opacity: 0.3;
  transition: border 0.1s;
  border: solid thick white;
  border-radius: 5px;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  text-align: center;
  top:0;
  left:0;
  padding: 20vh 30vw 20vh 30vw;
  background-color: rgba(0,0,0,0.8);
}

.lightbox img {
  max-width:100%;
  max-height:100%;
  border: solid white thick;
  border-radius: 1vw;
}

.lightbox:target {
  display: block;
  outline: none;
}

#credits_1 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/skyfall.jpg");
    background-size: contain;
}
#credits_1:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/skyfall_hover.jpg");
}

#credits_2 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/ff6.jpg");
    background-size: contain;    
}
#credits_2:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/ff6_hover.jpg");
}

#credits_3 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/crown.jpg");
    background-size: contain;    
}
#credits_3:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/crown_hover.jpg");
}

#credits_4 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/pb.jpg");
    background-size: contain;    
}
#credits_4:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/pb_hover.jpg");
}

#credits_5 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/ww.jpg");
    background-size: contain;    
}
#credits_5:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/ww_hover.jpg");
}
#credits_6 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/got.jpg");
    background-size: contain;    
}
#credits_6:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/got_hover.jpg");
}
#credits_7 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/hpotter.jpg");
    background-size: contain;    
}
#credits_7:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/hpotter_hover.jpg");
}
#credits_8 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/av.jpg");
    background-size: contain;    
}
#credits_8:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/av_hover.jpg");
}
#credits_9 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/lfh.jpg");
    background-size: contain;    
}
#credits_9:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/lhf_hover.jpg");
}
#credits_10 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/legend.jpg");
    background-size: contain;    
}
#credits_10:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/legend_hover.jpg");
}
#credits_11 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/spectre.jpg");
    background-size: contain;    
}
#credits_11:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/spectre_hover.jpg");
}
#credits_12 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/hs.jpg");
    background-size: contain;    
}
#credits_12:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/hs_hover.jpg");
}
#credits_13 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/rocket.jpg");
    background-size: contain;    
}
#credits_13:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/rocket_hover.jpg");
}
#credits_14 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/br.jpg");
}
#credits_14:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/br_hover.jpg");
}
#credits_15 {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/dr.jpg");
}
#credits_15:hover {
    background-image: url("http://www.pearsonstunts.com/credits_gallery/dr_hover.jpg");
}


.award_heading {
  display: block;
  font-size: 1.3vw;
  font-family: 'Bryant-Reg';
  line-height: 1.8em;
  text-align: justify;
  margin: 0 3vw 0 3vw;
  padding:0;
  line-height: 150%;
  width: 30vw;
  color: rgb(219,124,11);

}

.award_detail {
    display: block;
    font-size: 0.9vw;
    font-family: 'Bryant-Reg';
    line-height: 1.8em;
    text-align: justify;
    margin: 0 3vw 2vh 3vw;
    padding:0 0 1vh 0;
    line-height: 150%;
    border-bottom: solid white thin;
    width: 30vw; 
}