/*!
Theme Name: etherio
Theme URI:
Author: The Creative Momentum - John Marco Alcaria
Author URI: https://www.thecreativemomentum.com/
Description: Child Theme for etherio Custom WordPress Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: etherio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
/*Global*/

.vc_row-has-fill
  + .vc_row-full-width
  + .vc_row
  > .vc_column_container
  > .vc_column-inner,
.vc_row-has-fill + .vc_row > .vc_column_container > .vc_column-inner,
.vc_row-has-fill > .vc_column_container > .vc_column-inner {
  padding-top: 0 !important;
}

.vc_row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.row {
  position: relative;
}

.rev_slider_wrapper {
  z-index: 7 !important;
  overflow: hidden !important;
}

.vc_section {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
}

.wpb_button,
.wpb_content_element,
ul.wpb_thumbnails-fluid > li {
  margin-bottom: 0 !important;
}

.wpb_single_image {
  position: relative;
}

/* Custom css for footer popup */
.single-resources .post_thumbnail .item_image {
  max-width: unset !important;
}

/* CSS rule needs to be more explicit as this affects other pages of the site - See fix at bottom of CSS file */
/*.item_image 
{
  max-width: 100px;
  height: auto;
}*/

.image-footer {
  max-width: 50px;
  height: auto;
}

.col {
  padding: 0 0px;
}

/*.footer-ribbon {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999999;
}*/

.magazine-submit .form-text-check {
  color: white;
}

.gform_wrapper.gravity-theme .gfield-choice-input + label {
  color: white;
}

button,
input,
select,
textarea {
  background-color: #f26f24;
  color: white;
}

.gform_wrapper.gravity-theme
  .ginput_complex:not(.ginput_container_address)
  fieldset:not([style*="display:none"]):not(.ginput_full),
.gform_wrapper.gravity-theme
  .ginput_complex:not(.ginput_container_address)
  span:not([style*="display:none"]):not(.ginput_full) {
  padding-left: 0%;
  padding-right: 2%;
}

.gform_wrapper.gravity-theme
  .left_label
  .gfield:not(.gsection):not(.gfield_html):not(fieldset),
.gform_wrapper.gravity-theme
  .right_label
  .gfield:not(.gsection):not(.gfield_html):not(fieldset) {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: left;
}

.footer-ribbon
  .gform_wrapper.gravity-theme
  .gform_fields.right_label
  fieldset
  .ginput_container {
  width: 100% !important;
  gap: 1% !important;
}

.footer-ribbon .gform_wrapper.gravity-theme .right_label #field_submit,
.footer-ribbon .gform_wrapper.gravity-theme .right_label .gfield_label,
.footer-ribbon
  .gform_wrapper.gravity-theme
  .right_label
  div.gfield
  > div:not(.ui-resizable-handle):not(.gfield-admin-icons) {
  width: 100% !important;
  justify-content: flex-end;
}

.gform_wrapper.gravity-theme {
  font-size: 9px !important;
  padding: 9px !important;
}

.gform_wrapper input[type="submit"].gform_button {
  display: flex !important;
  outline: none !important;
  font-size: 18px !important;
  line-height: 25px !important;
  min-width: auto !important;
  justify-content: left !important;
  text-align: left !important;
  padding: 15px 25px !important;
  margin-bottom: 0 !important;
  margin-left: -42%;
}
/*.gform_confirmation_wrapper {
    display: none!important;
}*/

/* Fix for Team Grid and Resources */
.team_grid .item_image,
.resources .item_image,
.meetings_grid .item_image,
.heritage .item_image {
  max-width: unset;
}
.subscribe-modal-open {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #11291d;
  opacity: 0.6;
}

/* Custom css for Vcard button on Listing */
.v-card-wrapper.single-vcard {
  position: absolute;
  bottom: -60px;
  left: 10px;
}
.v-card-wrapper.single-vcard a {
  position: relative;
  display: flex;
  background: #f26f24;
  color: #fff;
  gap: 2px;
  padding: 6px 14px !important;
  font-size: 14px;
  width: 168px !important;
  border-radius: 2px;
  margin-top: 10px;
  line-height: 30px;
  border: 3px solid transparent !important;
  font-weight: 500;
  height: 48px;
}
.v-card-wrapper.single-vcard a:before {
  content: "";
  background: url("/wp-content/themes/etherio/images/plus-icon.png");
  width: 30px;
  height: 30px;
  display: block;
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  top: 0;
}

.v-card-wrapper a:before {
  content: "";
  background: url("/wp-content/themes/etherio/images/contact.svg");
  width: 55px;
  height: 55px;
  display: block;
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  top: 1px;
  left: 2px;
}
.v-card-wrapper a {
  display: inline-block;
  position: relative;
  display: flex;
  background: #bfbfbf;
  color: #fff;
  gap: 2px;
  padding: 2px;
  font-size: 0;
  width: 60px;
  margin-top: 10px;
  position: absolute;
  top: 39%;
  z-index: 9;
  right: 10px;
  border-radius: 100px;
  height: 60px;
}
.v-card-wrapper a:hover {
  background: #ff5d00;
  outline: none !important;
}

/* Custom css for vcf tooltip */
.vcftooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.vcftooltip::after {
  content: attr(
    aria-label
  ); /* Use the content from the data-tooltip attribute */
  position: absolute;
  top: -35px; /* Position the tooltip above the link */
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 5px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 1;
}

.vcftooltip:hover::after {
  opacity: 1;
  visibility: visible;
}
.hbspt-form .form-columns-1 select,
.hbspt-form .form-columns-2 select {
  color: #505050 !important;
}
.recaptcha-wrap .gfield_label {
  display: none !important;
}
.page-meet-our-team .team_grid .item_content .post_excerpt .additional_info {
  /*margin-bottom: 0!important;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  -moz-line-clamp: 5;
  overflow: hidden*/
  display: none !important;
}

@media only screen and (max-width: 1200px) {
  .v-card-wrapper a {
    top: 38%;
  }
}
@media only screen and (max-width: 1150px) {
  .v-card-wrapper a {
    top: 32%;
  }
}
@media only screen and (max-width: 1150px) {
  .v-card-wrapper a {
    top: 32%;
  }
}
@media screen and (max-width: 991px) {
  .single_team .item_image {
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 980px) {
  .v-card-wrapper a {
    top: 30%;
  }
}
@media only screen and (max-width: 767px) {
  .v-card-wrapper a {
    top: inherit;
    position: absolute;
  }
}
@media only screen and (max-width: 568px) {
  .v-card-wrapper a {
    top: inherit;
    position: absolute;
    margin-top: -30px;
  }
}

/* Social Icon Fixes */
.footer .social_media ul li a.fa.fa-facebook {
  font-family: "Font Awesome 5 Brands" !important;
}

/*  -----New css for Heritage section --- */
.heritage-timeline-process .process_grid {
  margin-left: 80px;
}
@media screen and (max-width: 767px) {
  .heritage-timeline-process .process_grid {
    margin-left: 40px;
  }
}
.heritage-timeline-process .process_grid .item_image,
.heritage-timeline-process .process_grid .item_content h6 span {
  display: none;
}
.heritage-timeline-process .process_grid .item_content h6 {
  color: #f26f24;
}
.heritage-timeline-process .process_grid .process_item:before {
  top: 25px !important;
}
.heritage-timeline-process .process_grid .process_item:first-child::before {
  top: 0px !important;
}
.heritage-timeline-process .process_grid .process_item:last-child {
  border-bottom: 1px solid #8d8d8d !important;
  padding-bottom: 30px;
}
.heritage-timeline-process .process_grid .process_item:last-child::after {
  height: 100%;
  display: block;
}
.heritage-timeline-process
  .process_grid
  .process_item:last-child
  .item_content::after {
  background: #f26f24;
  border-radius: 100%;
  content: "";
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  left: -56px;
  bottom: -30px;
}

/* css for AMS page  */
.page-id-5990 h1 small {
  font-size: 46px;
}
/* .what_this_section .process_grid .process_item:last-child .item_image::after {
  background: #f26f24;
  border-radius: 100%;
  content: "";
  display: block;
  position: absolute;
  width: 32px;
  height: 32px;
  left: -56px;
  bottom: -30px;
} */
/* .what_this_section .process_grid .process_item:last-child {
  border-bottom: 1px solid #8d8d8d !important;
  padding-bottom: 30px;
} */
.what_this_section .process_grid .process_item:last-child::after {
  height: 100%;
  display: block;
}
.what_this_section .process_grid .process_item .item_content h6 {
  color: #f26f24;
  font-size: 28px !important;
}
@media screen and (max-width: 767px) {
  .what_this_section .process_grid .process_item .item_content h6 {
    font-size: 22px !important;
  }
  .ams-logo {
    margin-top: 70px !important;
  }
}
.what_this_section .process_grid .process_item .item_content h6 span {
  display: none !important;
}
.what_this_section .process_grid .process_item {
  align-items: flex-start;
}
.what_this_section .process_grid .process_item:before {
  top: 30px;
}
.what_this_section .process_grid .process_item:first-child::before {
  top: 0px !important;
}
/* new header css */
.latest_news_wrap {
  background: #1d80c1;
  position: relative;
}
.header_wrapper.transparent_header, .header_wrapper.solid_header {
  padding-top: 0px !important;
}
.page-id-5990 .header_wrapper.transparent_header {
  padding-top: 19px;
}
.main-header {
  padding-top: 19px;
}
.page-id-5990 .main-header {
  padding-top: 19px;
}
.hide_news {
  position: absolute;
  right: 15px;
  top: 10px;
}
.hide_news img {
  border: 2px solid #ffffff;
  padding: 12px;
  border-radius: 50%;
  color: #000;
  width: auto;
}
.hide_news img:hover {
  cursor: pointer;
}
.main-header.sticky .fake-bg.news-header {
  top: 164px;
}
.news_wrap {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 26px 0;
  width: 50%;
  margin: 0 auto;
}
@media screen and (max-width: 1024px) {
  .news_wrap {
    width: 70%;
  }
  .news_content p {
    font-size: 14px !important;
    line-height: 17px !important;
  }
  .main-nav.mobile-nav.news-removed {
   top:56px !important;
  }
}
@media screen and (max-width: 768px) {
  .news_wrap {
    width: 95%;
  }
  .news_content p {
    font-size: 12px !important;
    line-height: 16px !important;
  }
  .main-nav.mobile-nav {
     margin-top: -19px;
  }
  .page-id-5990 .main-nav.mobile-nav {
    margin-top: 0px;
  }
  .main-nav.mobile-nav.news-removed {
   margin-top: 0px !important;
  }
}
.new_logo img {
  width: 90%;
}
.news_content h3 {
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 26px;
}
.new_logo {
  width: 60%;
}
@media screen and (min-width:569px) {
  .new_logo {
    text-align: right;
  }
}

.news_content p {
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  color: #ffffff;
  font-weight: 300;
  margin: 7px 0 0 0 !important;
  line-height: 18px;
  font-family: "Montserrat", sans-serif;
}
@media screen and (min-width:1366px) {
  .news_content h3 {
    font-size: 18px !important;
    line-height: 20px !important;
  }
  .news_content p {
    font-size: 13px;
  }
}
.news_link a {
  background: #f26f24;
  color: #fff;
  padding: 5px 20px;
  margin-top: 5px;
  display: inline-block;
  font-size: 14px;
}
@media screen and (max-width: 1080px) {
   .mobile-toggle-wrap {
    top: 90%;
  }
  .news_content h3 {
    font-size: 16px !important;
    line-height: 18px !important;
  }
}
@media screen and (max-width: 991px) {
  .news_wrap .news_content h3 {
    font-size: 18px !important;
    margin-bottom: 0px !important;
    line-height: 20px !important;
  }
  .new_logo img {
    width: 65%;
  }
  .news_wrap {
    width: 88%;
    gap: 20px;
  }
   .mobile-toggle-wrap {
    top: 90%;
  }
  .page-id-5990 .mobile-toggle-wrap {
    top: 54%;
  }
}
@media screen and (max-width: 568px) {
  .news_wrap {
    gap: 15px;
    justify-content: center;
    flex-direction: column;
  }
}
.page-id-5990 .main-header.sticky .fake-bg {
  top: 0px;
}
