﻿@charset "utf-8";
/* CSS Document */

.babyGriff {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 70px !important;
  z-index: 9990;
}

.introWrapper {
  background-image: url(/cisiweb2/image/ethics/slide-bg.jpg);
  background-position: center center;
}

.videoLeft {
  float: left;
  margin-right: 40px;
  margin-top: 20px;
}
.squares {
  float: right;
  margin-left: 40px;
  width: 35% !important;
  margin-top: -100px;
}

.quote {
  background-image: url("/cisiweb2/image/ethics/charnock.jpg");
  background-size: cover;
  background-position: 50% !important;
  background-attachment: fixed;
  padding: 0 5%;
  margin-top: 30px;
}
.quoteCopy {
  color: #ffffff;
  width: 50%;
  font-size: 20px;
}
.quote h2 {
  color: #ffffff !important;
  font-size: 28px !important;
  margin-top: 70px;
}

video#myVideo2 {
  position: absolute;
  left: 0;
  z-index: 2;
  filter: opacity(1);
  width: 100%;
  /* height: 64vh; */
  object-fit: cover;
}

@media (max-width: 1599px) {
  .squares {
    float: right;
    margin-left: 40px;
    width: 40% !important;
    margin-top: 0px;
  }
  .quote h1 {
    font-size: 28px !important;
  }
  .quoteCopy {
    font-size: 18px;
  }

}

@media (max-width: 1199px) {
  .quote h1 {
    font-size: 24px !important;
  }
  .quoteCopy {
    font-size: 14px;
  }
  .quote {
    background-size: cover;
    background-attachment: scroll !important;
    background-position: 50% !important;
    padding: 0;
    margin-top: 30px;
  }

}

@media (max-width: 991px) {
  .videoLeft {
    float: none;
    margin: 0px 0px 20px 0px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }
  .videoLeft iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  video#myVideo2 {
    top: -90px;
  }
  .squares {
    float: none;
    margin-left: 0px;
    width: 100% !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
}

@media (max-width: 767px) {
  .introWrapper {
    background-position-y: -80px;
    min-height: 700px !important;
    background-color: #122934;
  }
  video#myVideo2 {
    top: 0px;
    height: 400px !important;
  }
  .quoteCopy {
    color: #ffffff;
    width: 60%;
    font-size: 13px;
  }
  .quote h1 {
    color: #ffffff !important;
    font-size: 19px !important;
  }
 
}

/*--------------------------------------------------------------------------------------------------*/

video#myVideo2 {
  height: 100%;
}
