/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* custom font for freight sans */
@import url("https://use.typekit.net/vor8osx.css");

.uppercase {
  text-transform: uppercase !important;
}

.strong {
  font-weight: 700 !important;
}



/* .nectar-highlighted-text[data-color="#ffc627"]:not([data-style="text_outline"]) em {
  position: relative;
  background-image: none;
  &::after {
    content: '';
    position: absolute;
    bottom: -0.125rem;
    left: -0.5rem;
    right: -0.5rem;
    height: 0.75rem;
    z-index: -1;
    background-image: url('underline.svg');
    background-repeat: no-repeat;
    background-size: cover;
  }
} */


/* bubbles in nectar slider */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 12;
	width:100%;
    height:100%;
  pointer-events: none; /* need this for the buttons to work */

}
.buttons {
	position: relative;
  z-index: 2; 
}
.material .wpb_content_element, .material .wpb_row {
    margin-bottom: 0;/* salient garbage for particles*/
}
.wpb_wrapper>div {
    margin-bottom: 0;/* salient garbage for particles*/
}
.nectar-shape-divider-wrap svg {
	transition: all linear .2s;
}

/*
*
* Used for the News Page to make featured image 
* show wider
*
*/
@media only screen and (max-width:690px) {
  .post-area.featured_img_left .article-content-wrap .post-featured-img-wrap {
    height: 350px;
  }  
}

/*
*
* Used for the History Page and the
* Coke Bottle Cap Timeline
*
*/

.timeline {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 0;
  background: url('coke-contour-bubbles.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: #999999;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline .history_container {
  padding: 15px 30px;
  position: relative;
  background: inherit;
  width: 30%;
  background: none;
  margin-top:-65px;
  }

.timeline .history_container:first-child {
    margin-top: 0px;
}

.timeline .history_container.left {
  left: 0;
}

.timeline .history_container.right {
  left: 70%;
}

.timeline .history_container::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 8px);
  right: -235px;
  background: #999999;
  border: 2px solid #999999;
  border-radius: 16px;
  z-index: 1;
}

.timeline .history_container.right::after {
  left: -235px;
}

.timeline .history_container::before {
  content: '';
  position: absolute;
  width: 288px;
  height: 2px;
  top: calc(50% - 1px);
  right: -228px;
  background: #999999;
  z-index: 1;
}

.timeline .history_container.right::before {
  left: -228px;
}

.timeline .history_container .date {
  position: absolute;
  display: inline-block;
  top: calc(50% - 75px);
  text-align: center;
  padding-top:50px;
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 1px;
  z-index: 1;
  height:150px;
  width:150px;
  background: url('coca-cola-bottle-cap.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.timeline .history_container.left .date {
  right: -175px;
}

.timeline .history_container.right .date {
  left: -175px;
}

.timeline .history_container .icon {
  display: inline-block;
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  top: calc(50% - 5px);
  right: -8px;
  background: #ffffff;
  border-radius: 10px;
  z-index: 1;
}

.timeline .history_container.left .icon {
  right: 56px;
}

.timeline .history_container.right .icon {
  left: 56px;
}

.timeline .history_container .history_content {
  padding: 20px 45px 20px 20px;
  background: #ffc627;
  position: relative;
  border-radius: 15px;
}

.timeline .history_container.right .history_content {
  padding: 20px 20px 20px 45px;
  border-radius: 15px;
}

.timeline .history_container .history_content h2 {
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: bolder;
  color: #000;
  line-height: 1.3em;
}

.timeline .history_container .history_content p {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
}

/*
*
* Used for the History Page and the 
* Coke Bottle Cap Timeline RESPONSIVE
* Breakpoint: 1300px
*
*/

@media (max-width: 1000px) {
  .timeline {
    background-position: left center;
  }
  .timeline::after {
    left: 135px;
  }

  .timeline .history_container {
    width: 100%;
    padding-left: 120px;
    padding-right: 30px;
    margin-top: 4%;
    margin-left:4%;
  }

  .timeline .history_container.right {
    left: 0%;
  }

  .timeline .history_container.left::after,
  .timeline .history_container.right::after {
    left: 82px;
    display:none;
  }

  .timeline .history_container.left::before,
  .timeline .history_container.right::before {
    left: 100px;
    border-color: transparent #999999 transparent transparent;
    display: none;
  }

  .timeline .history_container.left .date,
  .timeline .history_container.right .date {
    right: auto;
    left: 15px;
  }

  .timeline .history_container.left .icon,
  .timeline .history_container.right .icon {
    display:none;
    right: auto;
    left: 146px;
  }

  .timeline .history_container.left .history_content,
  .timeline .history_container.right .history_content {
    padding: 30px 30px 30px 90px;
    border-radius: 500px 0 0 500px;
  }
}

/*
*
* Used for the Location Page
*
*/

.locations {
  text-align: center
}
.location_block {
  display: inline-block;
  margin: .5rem;
  max-width: 22%;
  width:22%;
}
.location_block h3 {
  padding: 1rem 0;
  margin: 0 !important;
  margin-bottom: 0 !important;
}
.location_thumb {
  height: 8rem;
  background:no-repeat;
  background-position: center;
  background-size:cover;
  margin-bottom: 0 !important;
}
.location_action {
  background-color: #F2F2F3 !important;
}
.location_action h6 {
  padding: 1rem 0;
  margin-bottom: 0;
}
.location_block .top-radius-half-rem {
  border-top-right-radius: .5rem;
  border-top-left-radius: .5rem;
}
.location_block .bottom-radius-half-rem {
  border-bottom-right-radius: .5rem;
  border-bottom-left-radius: .5rem;
}
.hover-reverse {
  color: #ff0000;
  transition: 0.3s;
}
.hover-reverse:hover {
  color: #919396;
}



/*
*
* Responsive for Location Page
*
*/

@media (max-width: 788px) {
  .location_block {
    display: inline-block;
    margin: .5rem;
    width: 45%
  }
  .location_block {
    display: inline-block;
    margin: .5rem;
    max-width: 45%;
    width:45%;
  }
}

@media (max-width: 400px) {
  .location_block {
    display: inline-block;
    margin: .5rem;
    width: 100%
  }
  .location_block {
    display: inline-block;
    margin: .5rem;
    margin-left: 0;
    max-width: 100%;
    width:100%;
  }
}


