/*
Change History:
		==	========  ======================================
		1   12/10/21	JT: Modified styles to add a 3rd banner graphic announcing Eton is now part of Codex DNA to the banner carousel, and make the new graphic first in the rotation. Added the .hero_img0 style definition.
		2  12/13/21	JT: Deleted the 3rd image in banner carousel by direction of Tony C.
*/

/********************************

MOBILE VIEW

 *********************************/

/*========= (a) landing hero section (start) ==========*/

.hero__landing-page{
  margin: 0 auto;
  width: 100%;
  position: absolute;
  top: 80px;
  z-index: 1;
  text-align: center
}
.hero__landing-wrapper{
  overflow: hidden;
  width: 100%;
  height: 480px;
  float: left;
  position: relative;
}

.button--hero{
  color: white;
  background: rgb(45, 76, 134);
  padding: 10px;
  border-radius: 5px;
  transition: all .3s;
}

.hero__text {
  position:relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__text p {
  max-width: 90%;
  color: white;
  margin-bottom: 10px;
}

.hero__text h1 {
  line-height: 95%;
  max-width: 90%;
  margin-top: 10px;
  font-size: 40px;
  margin-bottom: 10px;
}

.hero__text span {
  font-size: 25px;
}

.hero_title-container {
  margin-top: 30px;
  animation-delay: .3s;
}

.hero_button-container {
  animation-delay: .6s;
}

.hero_subtext-container {
  width: 90%;
  text-align: right;
  margin-top: 60px;
  animation-delay: .9s;
}

.hero_button-container {
  transform: translateZ(.1px);
  position: relative;
  top:30px;
  z-index: 10;
}

.hero_img0 {
	background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.3)), 			url(template/images/hero__image0.jpg) no-repeat;
}

.hero_img1 {
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.3)), url(template/images/hero__image.jpg) no-repeat;
}


.zoomin {
  width: 100%;
  height: 100vh;
  position: relative;
  animation: zoomin 30s forwards;
  overflow: hidden;
  background-size: contain,cover;
  float: left;
  background-position: 100%;
}

.clear{
  clear:both;
}

.hero__landing-wrapper:after{
  background: white;
  content: "";
  height: 40rem;
  left: -5%;
  position: absolute;
  right: -5%;
  top: 90%;
  transform-origin: 0 0;
  z-index: 0;
}

@keyframes zoomin{
  0% {
    transform: scale(1);
  }

  50%{
    transform: scale(1.2);
  }

  100%{
    transform: scale(1);
  }
}

/* The dots/bullets/indicators */

.caro-dots {
  text-align: center;
  position: absolute;
  bottom: 60px;
  width: 100%;
  z-index: 1;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/*========= (a) landing hero section (start) ==========*/

/*=============== (b) core services (start) ===========*/
.services {
  text-align: center;
  padding-bottom: 45px;
}

.services__head{
  color: rgb(45, 76, 134);
  text-align: center;
}

.services__body img{
  width: 100px;
  padding: 20px 0;
}

.services__body--landing-page{
  background: none;
}

.services__body__service{
  margin: 0 auto;
  min-width: 300px;
}

.services__body__service h3, a{
  color: rgb(45, 76, 134);
}

.services__body__service ul{
  padding-top: 20px;
  font-size: 20px;
  line-height: 37px;
}
.services__body__service ul li{
  color: rgb(45, 76, 134);
}
/*=============== (b) core services (end) ===========*/

/*=============== (c) mobile view testimonials (start) ===========*/

.testimonials{
  position: relative;
  margin: 0 auto;
  min-width: 320px;
  text-align: center;
  padding-top:20px;
  padding-bottom: 20px;

}

/*.testimonials_div {
width: 75%;
display: block;
vertical-align: top;
margin-bottom: 2em;
margin-left: auto;
margin-right:auto;
}  */

blockquote {
  /*display: block;
  font-family: Georgia, serif;
  font-size: 15px;*/
font-style: italic;
/*width: auto;*/
/*margin: 1.00em 0;
padding: 0.15em 20px;
text-align: left;
line-height: 1.45;
position: relative;
color: #383838;*/
}

blockquote:before {
  display: inline-block;
  content: "\201C";
  font-size: 35px;
  position: absolute;
  left: -20px;
  top: -10px;
  color: #7a7a7a;
}

/*=============== (c) mobile view testimonials (end) ===========*/


/*========== (d) other services (start) =============*/

.other-services {
  background: #f2f2f2;
  padding-bottom: 30px;
}

.other-services__service img{
  width: 70px;
}

.other-services__service {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  height: 186px;
  margin-bottom: 64px;
}

.other-services__list{
  text-align: center;
}

.other-services__service-img {
  display: block;
  width: auto;
  vertical-align: top;
}

.other-services__service-body-content {
  width: 82%;
  display: inline-block;
}

.other-services__service-body{
  vertical-align: top;
  text-align: center;
}

.other-services__service-body-description{
  height: 70px;
  font-size: 14px;
  line-height: 20px;
  margin-top: 12px
}

.other-services__service-body-header{
  font-size: 20px;
  font-weight: bold
}

.other-services__service-body a{
  border: 2px solid black;
  border-radius: 5px;
  padding: 8px 10px;
  color: black;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
  transition: all .3s;
}

.other-services__service-body a:hover{
  background: #456aac;
  color: white;
  border: 2px solid #456aac;
}

.other-services__head h2{
  text-align: center;
  padding: 75px 0;
}

/*========== (d) other services (end) =============*/

/*=============== (e) products (start) =================*/
.products {
  text-align: center;
  padding: 45px 0;
}

.products__head{
  text-align: center;
}

.products__head #line, .services__head #line{
  border-top: 1px solid #20457d;
}
.products__head h2, .services__head h2{
  position: relative;
  top: -20px;
  margin: 0 auto;
  background: white;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: rgb(45, 76, 134);
  padding: 0 5px;
}

.products__body__product {
  text-align: left;
}

.products__body__product {
  margin: 10px auto;
  max-width: 250px;
  border-radius: 5px;
  position: relative;
}

.products__body--landingPage{
  background: none;
}

.products__body__product img {
  position: relative;
  border-radius: 5px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.products__body__product-txt{
  color: white;
  position: absolute;
  z-index: 1;
  padding-bottom: 10px;
  padding-left: 5px;
  bottom: 0;
}
/*=============== (e) products (end) =================*/

/*=============== (f) banner (start) =================*/
.banner{
  text-align: center;
  color: rgb(45, 76, 134);
  line-height: 28px;
  padding-bottom: 40px;
}

.banner p {
  padding-top: 20px;
  font-size: 22px;
  line-height: 35px;
}
.banner span {
  color: #83ce44;
}
/*=============== (f) banner (end) =================*/

/********************************

DESKTOP VIEW

 *********************************/
@media only screen and (min-width: 768px) {

  /*============ hero landing section (start) ============*/
  .hero__landing-page {
    top: 213px;
  }

  .hero__text h1 {
    line-height: 100%;
    top: 40px;
    text-align: left;
    font-size: 45px;
  }

  .hero__text span {
    font-size: 30px;
  }

  .hero--homepage {
    background-attachment: fixed;
    height: 800px;
  }

  .hero_subtext-container {
    width: 80%;
    margin-top: 100px;
  }

  .hero__zoomin{
    height: 800px;
  }

  .caro-dots {
    bottom: 100px;
  }

  .dot {
    height: 15px;
    width: 15px;
    margin: 0 3px;
  }
  /*============ hero landing section (end) ============*/

  /*============ core services section (start) ============*/
  .services {
    position: relative;
  }

  .services__body--landing-page h3{
    font-size: 27px;
  }

  .services__body--landing-page ul{
    font-size: 22px;
    line-height: 37px;
  }

  .services__body--landing-page ul li a{
    transition: .3s all;
  }

  .services__body--landing-page ul li a:hover{
    color: #83ce44
  }

  .services__body__service{
    width: 30%;
    display: inline-block;
    vertical-align: top;
  }
  /*============ core services section (end) ============*/
  /*============ other services section (start) ============*/

  .other-services__service{
    width: 30%;
    height: 245px;
    margin-bottom: 10px;
  }

  .other-services__service-body{
    text-align: left;
  }

  .other-services__service-body-description {
    margin-bottom: 6px;
  }

  .other-services__service-img{
    width: 20%;
    display: inline-block;
    margin: 0 10px;
  }

  .other-services__service-body-content{
    width: 70%;
  }

  .other-services__service {
    width: 45%;
  }

  /*============ other services section (end) ============*/

  /*============ products section (start) ============*/
  .products__body__product img {
    position: relative;
    max-width: 250px;
  }

  .products__body__product{
    display: inline-block;
    margin: 10px;
  }


  .products__body__product-txt{
    -webkit-transition: 3s all;
    -o-transition: 3s all;
    transition: 3s all;
  }

  .products__body__product-txt.fadeIn{
    animation: fadeIn 6s;
    left:0;
  }
  /*============ products section (end) ============*/

  /*============ Animations for other services section (start) ============*/
  @keyframes fadeIn {
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }

  @-webkit-keyframes fadeIn { /* Safari and Chrome */
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }
  /*============ Animations for other services section (end) ============*/
}

@media only screen and (min-width: 1024px){
  .hero__text p {
    margin-bottom: 20px;
  }

  .hero__text h1 {
    margin-top: 20px;
    font-size: 50px;
    margin-bottom: 20px;
  }

  .hero__text span {
    font-size: 35px;
  }

  .hero_subtext-container {
    width: 60%;
  }

  .other-services__service {
    width: 30%;
  }

  .other-services__service-body-description {
    margin-bottom: 10px;
  }
}

@media only screen and (min-width: 1200px){
  .other-services__service-body-description {
    margin-bottom: 0px;
  }

  .other-services__service-img {
    margin: 0;
  }
}
