/*
Theme Name:   Co-Insight
Theme URI:    http://lucidity.design
Description:  This is a custom child theme of Divi.
Author:       Richard George Davis
Author URI:   http://lucidity.design
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li.dipi-cta-button-menu-item {
  margin-top: 0px;
}

@media screen and (min-width: 1075px) {
  body .co-insight-header .cta-link {
    display: none !important;
  }
}

.co-insight-header .et_pb_column,
.co-insight-flex-center .et_pb_column {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 1075px) {
  .et_pb_menu--style-left_aligned.et_pb_text_align_right .et_pb_menu__wrap {
    justify-content: center;
  }

  body .co-insight-header .et_pb_column {
    display: unset;
  }
}

.co-insight-header {}

body nav>ul>li>a.dipi-cta-button {
  border: 3px solid #f9423a !important;
}

.dipi_advanced_tabs [class*="agsdix-fas-"]:before,
.dipi_advanced_tabs [data-icon*="agsdix-fas"]:before {
  display: none !important;
}

/* Menu Hover Effects Style 1 */
.et-menu a:hover {
  opacity: 1;
}

.co-insight-menu-style ul.et-menu>li>a {
  position: relative;
  z-index: 1;
}

.co-insight-menu-style ul.et-menu>li>a:before {
  position: absolute;
  content: '';
  display: block;
  z-index: -1;
  background: #f9423a;
  width: 0;
  height: 5px;
  bottom: 22px;
  border-radius: 5px;
  left: 50%;
  transition: 0.4s cubic-bezier(0.25, 0.1, 0, 2.02);
  top: 20px;
}

.co-insight-menu-style ul.et-menu>li>a:hover:before {
  width: calc(100% + 5px);
  left: calc(5px / -2);
}

body .co-insight-menu .co-insight-button .btn_container {
  flex-direction: unset !important;
  justify-content: flex-end !important;
  margin-left: auto;
}

@media only screen and (max-width: 767px) {
  .co-insight-numbers:before {
    padding-right: 5px !important;
  }
}

.co-insight-numbers:before {
  font-family: 'Archia', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  displaY: block;
  font-size: 40px;
  font-weight: 400;
  line-height: 70%;
  position: absolute;
  border-right: 3px solid #f9423a !important;
  padding-right: 12px;
  padding-bottom: 31px;
  padding-top: 10px;
  margin-top: 8px;
  color: #493736;
}

/****** Vertically center rows in sections and modules in columns *******/
.bbd-valign-center-row .et_pb_column,
.bbd-valign-center-section,
.bbd-valign-center-module {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*change color of text highlight*/
::-moz-selection {
  color: #f7f8fb;
  background: ##f9423a;
}

::selection {
  color: #f7f8fb;
  background: #f9423a;
}

/* */
h1, h2, h3 {
  margin: 10px 0 25px 0;
  padding-bottom: 0;
}

.co-insight-text p {
  margin: 0 0 20px;
  padding-bottom: 0;
}

.co-insight-tag {}

body .co-insight-text p:first-of-type {
  margin-top: 20px !important;
}

body .co-insight-text p:last-of-type {
  margin-bottom: 0px !important;
}

.co-insight-text ul li {
  padding: 5.5px 0;
}

.co-insight-text ul li:before {
  content: '\e052' !important;
  color: #f9423a;
  font-family: 'ETMODULES' !important;
  margin-right: 10px !important;
  margin-left: -30px !important;
  font-size: 1.2em !important;
  padding: 5.5px 0 !important;
  position: relative;
  top: 4px;
}

.co-insight-text ul {
  margin: 28px 0 0;
  list-style-type: none !important;
}

.co-insight-text ul li:before {
  content: '\e052' !important;
  color: #f9423a;
  font-family: 'ETMODULES' !important;
  margin-right: 10px;
  margin-left: -14px;
  font-size: 1.2em !important;
  height: 180px;
}

.co-insight-copy-highlight:before {
  display: block;
  content: '';
  background: #f9423a;
  height: 3px;
  width: 55px;
  margin-bottom: 20px
}

/* Highlighted Link Animation Effect */
.co-insight-text p>a:link {
  text-decoration: none;
  color: #f9423a;
  background-image: linear-gradient(#f9423a, #f9423a), linear-gradient(#493736, #493736);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px, 100% 2px;
  transition: background-size .16s;
  position: relative;
}

.co-insight-text p>a:link:hover,
.co-insight-text p>a:link:focus {
  background-size: 100% 2px, 100% 100%;
  color: #f7f8fb;
}

/* co-insight-button */
.co-insight-button .buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: left;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.co-insight-button .btn_container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 240px;
}

.co-insight-button-btn {
  letter-spacing: 0.1em;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 45px;
  max-width: 160px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}

.co-insight-button-btn:hover {
  text-decoration: none;
}

/* button background*/
.co-insight-button-effect {
  --uismLinkDisplay: var(--smLinkDisplay, inline-flex);
  display: var(--uismLinkDisplay);
  color: #fff;
  outline: solid 2px #fff;
  position: relative;
  transition-duration: 0.4s;
  overflow: hidden;
}

.co-insight-button-effect::before,
.co-insight-button-effect span {
  margin: 0 auto;
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-duration: 0.4s;
}

.co-insight-button-effect:hover {
  background-color: #fff;
}

/* HOVER */
.co-insight-button-effect:hover span {
  -webkit-transform: translateY(-400%) scale(-0.1, 20);
  transform: translateY(-400%) scale(-0.1, 20);
}

.co-insight-button-effect::before {
  content: attr(data-sm-link-text);
  color: #493736;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-transform: translateY(500%) scale(-0.1, 20);
  transform: translateY(500%) scale(-0.1, 20);
}

/* HOVER */
.co-insight-button-effect:hover::before {
  letter-spacing: 0.05em;
  -webkit-transform: translateY(0) scale(1, 1);
  transform: translateY(0) scale(1, 1);
}

/*--- [ Contact form ] ---*/
.et_pb_contact_form .input {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 98%, #f9423a 4%);
  background-position: -1050px 0;
  background-repeat: no-repeat;
  transition: border-bottom 0.3s ease, background 0.3s ease;
}

.et_pb_contact_form .input:focus {
  background-position: 0 0;
}

.et_pb_contact_field textarea.et_pb_contact_message {
  padding-top: 30px
}

.et_pb_contact_field textarea.et_pb_contact_message:focus {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 99%, #f9423a 4%) !Important;
  transition: border-bottom 0.3s ease, background 0.3s ease;
}

::-webkit-input-placeholder {
  -webkit-transition: .3s ease !important;
  transition: .3s ease !important;
}

::-moz-placeholder {
  -moz-transition: .3s ease !important;
  transition: .3s ease !important;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
  font-size: 0.8em !Important;
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
}

.et_pb_contact p .et_contact_error {
  border: none !important;
  border-bottom: 1px solid #f9423a !important;
}

.et_contact_bottom_container {
  width: 100% !important;
}

.et_pb_contact_submit {
  overflow: hidden;
  transition: .3s ease !important;
}

/*---[ START - Legal terms & conditions and privacy policy pages ] ---*/
.legal ol {
  list-style-position: outside;
}

.legal ul {
  padding: 0 0 2px 2em;
}

.legal ul li:last-child, .legal ol li:last-child {
  margin-bottom: 0 !important;
}

.legal ol li, .legal ul li {
  margin-bottom: 8px !important;
  margin-top: 10px;
  margin-left: 5px !important;
}

.legal.co-insight-text ul {
  margin: 8px 0 0;
  list-style-type: none !important;
}

/*-- [START - Horizontal Scroll-Bar Bug] ---*/
#page-container {
  overflow: hidden;
}

@media all and (max-width: 980px) {

  html,
  body {
    overflow-x: hidden;
  }

  body {
    position: relative
  }
}

/**-- [ floating lines ] --**/
/*===== Hero =====*/
/* Floating lines styling - these are the lines used in both the hero section, how it works, and footer CTA */
.floating-line {
  height: 30px;
  border-radius: 15px;
  position: absolute;
}

#floating-line-1 {
  width: 250px;
  left: -40px;
  top: -150px;
  background: #F48825;
  -webkit-animation: floating-line-1 5s infinite;
  animation: floating-line-1 5s infinite;
}

#floating-line-2 {
  width: 100px;
  left: -40px;
  top: -70px;
  background: #37586E;
  -webkit-animation: floating-line-2 5s infinite;
  animation: floating-line-2 5s infinite;
}

#floating-line-3 {
  width: 150px;
  left: 90px;
  top: -20px;
  background: #D8E1E9;
  -webkit-animation: floating-line-3 5s infinite;
  animation: floating-line-3 5s infinite;
}

#floating-line-4 {
  width: 50px;
  right: 200px;
  top: -50px;
  background: #D8E1E9;
  -webkit-animation: floating-line-4 5s infinite;
  animation: floating-line-4 5s infinite;
}

#floating-line-5 {
  width: 200px;
  right: -30px;
  top: -50px;
  background: #F48825;
  -webkit-animation: floating-line-5 5s infinite;
  animation: floating-line-5 5s infinite;
}

#floating-line-6 {
  width: 100px;
  right: 20px;
  top: 0px;
  background: #37586E;
  -webkit-animation: floating-line-6 5s infinite;
  animation: floating-line-6 5s infinite;
}

/* Floating lines animations */
@-webkit-keyframes floating-line-1 {
  0% {
    left: -40px;
  }

  50% {
    left: -10px;
  }

  100% {
    left: -40px;
  }
}

@keyframes floating-line-1 {
  0% {
    left: -40px;
  }

  50% {
    left: -10px;
  }

  100% {
    left: -40px;
  }
}

@-webkit-keyframes floating-line-2 {
  0% {
    left: -40px;
  }

  50% {
    left: -10px;
  }

  100% {
    left: -40px;
  }
}

@keyframes floating-line-2 {
  0% {
    left: -40px;
  }

  50% {
    left: -10px;
  }

  100% {
    left: -40px;
  }
}

@-webkit-keyframes floating-line-3 {
  0% {
    left: 90px;
  }

  50% {
    left: 60px;
  }

  100% {
    left: 90px;
  }
}

@keyframes floating-line-3 {
  0% {
    left: 90px;
  }

  50% {
    left: 60px;
  }

  100% {
    left: 90px;
  }
}

@-webkit-keyframes floating-line-4 {
  0% {
    right: 200px;
  }

  50% {
    right: 170px;
  }

  100% {
    right: 200px;
  }
}

@keyframes floating-line-4 {
  0% {
    right: 200px;
  }

  50% {
    right: 170px;
  }

  100% {
    right: 200px;
  }
}

@-webkit-keyframes floating-line-5 {
  0% {
    right: -30px;
  }

  50% {
    right: -60px;
  }

  100% {
    right: -30px;
  }
}

@keyframes floating-line-5 {
  0% {
    right: -30px;
  }

  50% {
    right: -60px;
  }

  100% {
    right: -30px;
  }
}

@-webkit-keyframes floating-line-6 {
  0% {
    right: 20px;
  }

  50% {
    right: 50px;
  }

  100% {
    right: 20px;
  }
}

@keyframes floating-line-6 {
  0% {
    right: 20px;
  }

  50% {
    right: 50px;
  }

  100% {
    right: 20px;
  }
}

@media (max-width:980px) {
  .reverse-columns-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
}

/*===== 50-50 sections =====*/
/* Styling of expanding lines behind each image on section mouse hover */
.expanding-line {
  height: 30px;
  border-radius: 15px;
  position: absolute;
  width: 250px;
  z-index: 1;
  transition: all 0.4s;
}

#expanding-line-1 {
  top: -300px;
  left: 0px;
  background: #F48825;
}

#expanding-line-2 {
  top: -250px;
  left: 0px;
  background: #37586E;
}

#expanding-line-3 {
  top: -180px;
  left: 0px;
  background: #f9423a;
}

#expanding-line-4 {
  top: -300px;
  right: 0px;
  background: #F48825;
}

#expanding-line-5 {
  top: -250px;
  right: 0px;
  background: #37586E;
}

#expanding-line-6 {
  top: -180px;
  right: 0px;
  background: #f9423a;
}

/* Animate expanding lines when hovering over the section with mouse */
.expanding-lines-section:hover #expanding-line-1 {
  left: -100px;
}

.expanding-lines-section:hover #expanding-line-2 {
  left: -60px;
}

.expanding-lines-section:hover #expanding-line-3 {
  left: -30px;
}

.expanding-lines-section:hover #expanding-line-4 {
  right: -100px;
}

.expanding-lines-section:hover #expanding-line-5 {
  right: -60px;
}

.expanding-lines-section:hover #expanding-line-6 {
  right: -30px;
}

/* Pill shaped lead-ins to each header - e.g. benefits */
.lead-in {
  text-transform: uppercase;
  color: white;
  padding: 7px 12px !important;
  border-radius: 15px;
  display: inline;
}

.lead-in.benefits {
	background: #F48825;
}

.lead-in.how-it-works {
	background: #D8E1E9;
	color: #333333;
}

/* Add space above and below image */
.line-image {
  padding: 60px 0;
}

/* Set image above expanding lines + bubble */
.line-image img {
  z-index: 2;
}

/* Animated bubble background of images */
.line-image:before {
  content: ' ';
  width: 120%;
  height: 120%;
  position: absolute;
  background: #d8e1e9;
  top: -10%;
  left: -10%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  -webkit-animation: morph 4s ease-in-out infinite both alternate;
  animation: morph 4s ease-in-out infinite both alternate;
}

/* Bubble animation */
@-webkit-keyframes morph {
  0% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  }

  100% {
    border-radius: 60% 40%;
  }
}

@keyframes morph {
  0% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  }

  100% {
    border-radius: 60% 40%;
  }
}

/*===== Responsivenesss =====*/
/* Remove lines on mobile */
@media (max-width:980px) {

  .expanding-line,
  .floating-line {
    /* display: none; */
  }
}


@media only screen and (max-width: 980px) {
body .et_pb_code {
/* width: 180%;
  left: -40%;
  top: 10vh;
  transform: scale(0.7); */
}
.expanding-line,
  .floating-line {
  height: 15px;
  border-radius: 15px;
}

/* #floating-line-1 {
  width: 250px;
  left: -40px;
  top: -150px;
}

#floating-line-2 {
  width: 100px;
  left: -40px;
  top: -70px;
}

#floating-line-3 {
  width: 150px;
  left: 90px;
  top: -20px;
}

#floating-line-4 {
  width: 50px;
  right: 200px;
  top: -50px;
}

#floating-line-5 {
  width: 200px;
  right: -30px;
  top: -50px;
}

#floating-line-6 {
  width: 100px;
  right: 20px;
  top: 0px;
} */


}
