
/*---------------------------------------------*/
/*             BASE SET UP SECTION             */
/*---------------------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #fff;
  color: #555;
  font-family: 'Lato','Arial', sans-serif;
  font-weight: 300;
  font-size: 20px;
  text-rendering: optimizeLegibility;
}

/*---------------------------------------------*/
/*         REUSABLE COMPONENTS SECTION         */
/*---------------------------------------------*/

blockquote.style1 {
  font-size: 120%;
  padding: 20px;

  margin-top: 70px;
  background-image: url(img/openquote1.gif);
  background-position: top left;
  background-repeat: no-repeat;
  text-indent: 23px;
  }
  blockquote.style1 span.quote {
     display: block;
     background-image: url(img/closequote1.gif);
     background-repeat: no-repeat;
     background-position: bottom right;
   }

   .caption{
     font-size: 75%;
   }
.yellow{
  background-color: #faebbc;
  border-top: 1px solid #e1cc89;
  border-bottom: 1px solid #e1cc89;
}

.red{
  background-color: #ffaaaa;
  border-top: 1px solid #d46a6a;
  border-bottom: 1px solid #d46a6a;
}

.row{
  max-width: 1140px;
  margin: 0 auto;
}

/*---------------------------------------------*/
/*              HEADER SECTION                 */
/*---------------------------------------------*/
header {
  position: relative;
  background-image: linear-gradient(to top, rgba(230,230,230,.2),rgba(230,230,230,0)), url(img/hero.png);
  background-size: cover;

  background-position: center;
  height: 100vh;
}
.hero-text-box {
  position: absolute;
  text-align: center;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 90%;
  width: 1140px;
  line-height: 140%;
  font-weight: 400;
}

.logo {
  height: 41px;
  width: auto;
  float: left;
  margin-top: 20px;
}

/*main nav*/
.main-nav {
  margin-top: 25px;
  float: right;
  list-style: none;
}

.main-nav li {
  display: inline-block;
  margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
  color: #ab0000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 70%;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-bottom 0.25s;
  transition: border-bottom 0.25s;
  padding: 4px 0;
}

.main-nav li a:hover,
.main-nav li a:active {
  border-bottom: 2px solid #ab0000;
}

.bot-link:link,
.bot-link:visited {
  color: #ab0000;
  text-decoration: none;
}


.italic {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

.photos,
.contact {
  padding: 50px 0;
}

/*---------------------------------------------*/
/*              HEADER SECTION                 */
/*---------------------------------------------*/

.intro {
  background: #fff;
  padding: 50px 0;
  
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

h1,h2 {
  font-weight: 300;
  color:#ab0000;
  letter-spacing: 1px;

}
h1{
  font-size: 1.5rem;
  word-spacing: 4px;
}

h2 {
  font-size: 1.25rem;
  word-spacing: 2px;
}
.section-heading{
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
}

.section-heading:after{
display: block;
height: 2px;
background-color: #ab0000;
content: " ";
width: 100px;
margin: 0 auto;
margin-top: 30px;
}

.long-copy {
  line-height: 120%;
  width: 70%;
  margin-left: 15%;
}

.long-copy-contact {
  line-height: 120%;
  width: 70%;
  margin-left: 15%;
  margin-bottom: 20px;
}

.img-box {
  width: 60%;
}
.img-item{
  width: 100%;
}

footer {
  padding: 25px 0;
  background-color: #ab0000;
  color: #fff;
  text-align: center;
  font-size: 70%;

}

/*---------------------------------------------*/
/*             TIMELINE SECTION                */
/*---------------------------------------------*/

.timeline ul {
  background: #fff; /*#456990;*/
  padding: 20px 0;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 20px;
  background: #ab0000;
  color: #fff;
}

.timeline ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  background: #ab0000;
}

.timeline ul li div::before {
  content: '';
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent #ab0000 transparent transparent;
}

.timeline ul li:nth-child(even) div {
  left: -439px;
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #ab0000;
}

time {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.p-timeline {
  margin-top: 5px;
}


/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li::after {
  transition: background .5s ease-in-out;
}
/*timeline circle*/
.timeline ul li.in-view::after {
  background: #ab0000;
}

.timeline ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all .5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
}


/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
  .timeline ul li div {
    width: 250px;
  }
  .timeline ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}

@media screen and (max-width: 600px) {
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: calc(100vw - 91px);
  }
  .timeline ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #ab0000 transparent transparent;
  }
}