/*Theme Name: Avada Child Theme
Description: Child theme for Avada
Author: GSSI
Author URI: http://graphicallyspeaking.ca
Template: Avada
*/

/* STICKY FEATURED BUTTON -- START */

.sticky-featured-button {
  position: fixed;
  bottom: 0;
  left: 20px;
  width: 300px;
  text-align: center;
  color: #fff;
  z-index: 100;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 99999;
}

.sticky-featured-button.show {
  opacity: 1;
  visibility: visible;
}
@media screen and (min-width: 640px) {
  .sticky-featured-button {
    left: 30px;
    width: 330px;
  }
}

.sticky-featured-button .title {
  margin-bottom: 0px !important;
}

.sticky-featured-button .title,
.featured-button {
  font-size: 14px;
  padding: 12px 20px 12px 45px;
  position: relative;
  background-color: #000000;
  cursor: pointer;
  color: #fff;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  font-family: Source Sans Pro;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 2px;
  transition: 0.3s;
}
.sticky-featured-button .title:hover,
.featured-button:hover {
  background-color: #bb8a0b;
}

.sticky-featured-button .title:before,
.featured-button:before {
  /*content:'\f0aa';*/
  /*font-family: 'Font Awesome 5 Pro';*/
  content: "";
  background-image: url(images/newspaper-solid.svg);
  background-size: 100% 100%;
  /*font-size: 22px;*/
  position: absolute;
  left: 18px;
  /*top:50%;*/
  /*transform:translateY(-50%);*/
  font-weight: 700;
  color: #fff;
  z-index: 1;
  line-height: 1;
  width: 25px;
  height: 25px;
  filter: invert(1);
}
/*      .sticky-featured-button .title:after, .featured-button:after{
        content:'';
        position: absolute;
        left:20px;
        top:50%;
        transform:translateY(-50%);
        width:18px;
        height: 18px;
        border-radius: 50%;
        background-color: #263947;
    }*/
.sticky-featured-button.open .title:before {
  /*content:'\f057';*/
  background-image: url(images/times-circle.svg);
}
@media screen and (min-width: 640px) {
  .sticky-featured-button .title,
  .featured-button {
    /*font-size: 22px;*/
    padding: 20px 28px 20px 68px;
  }
  .sticky-featured-button .title:before,
  .featured-button:before {
    /*font-size: 30px;*/
    left: 35px;
    width: 32px;
    height: 25px;
  }
  /*   .sticky-featured-button .title:after, .featured-button:after{
                left:31px;
                width:20px;
                height: 20px;
            }*/
}

@media screen and (max-width: 700px) {
  .sticky-featured-button {
    left: calc(50% - 150px);
  }
}

.sticky-featured-button .content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.sticky-featured-button.open .content {
  max-height: 850px;
}
.sticky-featured-button .content .inner {
  background-color: #ffffff;
  font-size: 14px;
  padding: 1px 20px 18px;
  color: #58595b;
  border: 1px solid #58595b;
  border-top: none;
}

.sticky-featured-button .content .inner .gform_title {
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.63;
  letter-spacing: 2px;
  font-style: normal;
  font-size: 28px;
  color: #8d8d8d;
  border-bottom: 1px solid #8d8d8d;
  opacity: 0.7;
}

.sticky-featured-button p {
  margin-bottom: 8px;
}
.sticky-featured-button .link {
  font-weight: 700;
  display: inline-block;
  font-size: 15px;
  color: #fff;
  text-decoration: underline;
}
.sticky-featured-button .link:hover {
  text-decoration: none;
}
@media screen and (min-width: 640px) {
  .sticky-featured-button .content .inner {
    background-color: #ffffff;
    font-size: 16px;
    padding: 1px 30px 25px;
  }
  .sticky-featured-button p {
    margin-bottom: 12px;
  }
  .sticky-featured-button .link {
    font-size: 20px;
  }
}
/* STICKY FEATURED BUTTON -- END */

/* HOME */
.home .never-miss-container #gform_wrapper_1 {
  margin-top: 0px;
}

.home .never-miss-container #gform_fields_1 {
  display: flex;
  flex-wrap: wrap;
}

.home .never-miss-container #field_1_1 {
  display: none;
}

.home .never-miss-container .ginput_container_email input {
  width: 350px !important;
}

.home .never-miss-container .gfield_label,
.home .never-miss-container .gform_wrapper .gfield_required {
  color: #999999;
  font-size: 14px;
  font-weight: normal;
}

.home
  .never-miss-container
  .gform_wrapper
  .gfield
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
    [type="button"]
  ):not([type="image"]):not([type="file"]) {
  border-color: #999999;
  background-color: #353840;
  color: #ffffff;
}

.home .never-miss-container .gform_button {
  color: #7f7f7f;
  background: #ffffff;
}

.monthly-ticker p {
  font-size: 13px;
  padding-top: 7px;
}

/* ARCHIVE*/

.archive #main {
  padding-top: 80px;
}

.single-post.blog #menu-main-navigation li:nth-child(5) > a:after,
.single-post.postcasts #menu-main-navigation li:nth-child(5) > a:after {
  content: " ";
  position: absolute;
  top: calc(50% + 1.15em);
  left: 0;
  width: 100%;
  border-top-style: solid;
  transform: scaleX(1);
  transition: transform 0.2s ease-in-out;
  border-top: 1px solid #ffffff;
}

body.search-results #main {
  padding-top: 30px;
}

body.search-results #main .search-page-search-form > .entry-title {
  line-height: 1;
}

.fusion-blog-layout-medium article {
  margin-bottom: 30px !important;
}

.search-page-search-form-top {
  margin-bottom: 30px !important;
  padding-bottom: 30px !important;
}

.archive.author #main {
  padding-top: 30px;
}

.archive.author #main .fusion-author-social {
  margin-bottom: 30px;
}

.archive.author #main .fusion-post-content-wrapper {
  padding-top: 0;
  padding-bottom: 0;
}

/* THANK YOU PAGE MENU ACTIVE -- THIS MIGHT CHANGE ON LIVE DUE TO THE PAGE ID */

.page-id-4331 #menu-about-inpage-menu > li:nth-child(4) > a {
  color: #bb8a0b !important;
}

.page-id-4331
  #menu-about-inpage-menu
  > li:nth-child(4)
  .background-default.transition-fade {
  opacity: 0;
}

.page-id-4331
  #menu-about-inpage-menu
  > li:nth-child(4)
  .background-active.transition-fade {
  opacity: 1;
}

.single-post .fusion-pagination .next:after,
.single-post .pagination-next:after,
.single-post .single-navigation a[rel="next"]:after,
.single-post .woocommerce-pagination .next:after {
  /* position: absolute; */
  /* top: 50%; */
  /* transform: translateY(-51%); */
  /* left: -1em; */
  /* right: auto !important; */
  font-family: icomoon;
  /* content: "\f104" !important; */
}

.single-post .fusion-pagination .prev:before,
.single-post .pagination-prev:before,
.single-post .single-navigation a[rel="prev"]:before,
.single-post .woocommerce-pagination .prev:before {
  /* position: absolute; */
  /* top: 50%; */
  /* transform: translateY(-51%); */
  /* right: -1em; */
  /* left: auto !important; */
  font-family: icomoon;
  /* content: "\f105" !important; */
}

/* CONTACT */

@media screen and (max-width: 700px) {
  .page-id-4053 #main {
    padding-bottom: 0px;
  }
}

/* INVESTMENT TEAM */

.fusion-column-wrapper .fusion-person-icon-bottom .fusion-social-networks {
  margin-top: 0px;
}
.person-author-wrapper .person-title {
  font-size: 17px !important;
  line-height: 1.5;
}

.person-author-wrapper .person-name {
  line-height: 1.25;
}

/* iFRAME */

.iframe-container {
  position: relative;
  overflow: hidden;
  padding-top: 65%;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* PGF-31 */

.home .gform_wrapper div.validation_error {
  text-align: left;
  padding: 5px 5px 5px 10px;
  margin: 1rem 0;
  border: none;
  background: #876c25;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
}

.home
  .gform_wrapper.gform_validation_error
  .gfield.gfield_error
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
    [type="button"]
  ):not([type="image"]):not([type="file"]) {
  border-color: #876c25;
}

.home .gform_wrapper .gfield_error .gfield_label,
.home .gform_wrapper .validation_message {
  color: #ccc;
}

.home .gform_validation_error .gform_body {
  max-width: 85%;
  margin-bottom: 50px;
}

.home .gform_validation_error .gform_body > ul {
  align-items: center;
  justify-content: space-between;
}

.home .gform_validation_error .gform_body > ul > li {
  position: relative;
}

.home .gform_validation_error .gform_body > ul > li > .validation_message {
  position: absolute;
  padding: 0;
  margin: 0;
  margin-top: 5px;
  font-size: 14px;
  color: #caa850;
}

@media only screen and (max-width: 767px) {
  .home .gform_validation_error .gform_body > ul > li > .validation_message {
    position: relative;
  }
}

.home .gform_wrapper.gform_validation_error li.gfield.gfield_error,
.home
  .gform_wrapper.gform_validation_error
  li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
  background: none;
  margin: 0 !important;
  padding: 0;
  border: none;
}

.home .gform_wrapper.gform_validation_error .top_label .gfield_error {
  max-width: 100%;
  width: auto;
}

.home .gform_wrapper .top_label .gfield_label {
  margin: 12px 0 0 !important;
}

.home .gform_wrapper.gform_validation_error ul li.gfield {
  margin: 0 !important;
}

/* POST AVADA UPDATE FIX */

.single-post .fusion-pagination .next:after,
.single-post .pagination-next:after,
.single-post .single-navigation a[rel="next"]:after,
.single-post .woocommerce-pagination .next:after,
.single-post .fusion-pagination .prev:before,
.single-post .pagination-prev:before,
.single-post .single-navigation a[rel="prev"]:before,
.single-post .woocommerce-pagination .prev:before {
  font-family: "awb-icons" !important;
}
