/*
Theme Name:   SourceDynamics
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
*/



/*---[ START - New ] ---*/

.sd-curve {
  -webkit-clip-path: polygon(0 0,100% 0,100% calc(100% - 12%),50% 100%,0 calc(100% - 12%));
  clip-path: polygon(0 0,100% 0,100% calc(100% - 12%),50% 100%,0 calc(100% - 12%));
}

.sd-curve-2 {
  -webkit-clip-path: polygon(0 0,100% 0,100% calc(100% - 12%),50% 100%,0 calc(100% - 12%));
  clip-path: polygon(0 0,100% 0,100% calc(100% - 12%),50% 100%,0 calc(100% - 12%));
}

.Header-video .header-text span {
color:#2ff030;
  font-weight: 900;
}

.Header-video .header-text h2 {
      -webkit-filter: drop-shadow(5px 5px 5px rgba(1,18,62,0.75));
      filter: drop-shadow(5px 5px 5px rgba(1,18,62,0.75));
}


.et-show-more-content {
  display: none;
}

.et-fb .et-show-more-content {
  display: block;
}

.et-show-more-toggle {
  cursor: pointer;
}


.dipi-pi-item-image, .sd-button {
  -webkit-filter: drop-shadow(7px 7px 10px rgba(90,91,94,0.20));
  filter: drop-shadow(7px 7px 10px rgba(90,91,94,0.20));
  } 

.dipi-pi-item-image:hover, .sd-button:hover {
  -webkit-filter: drop-shadow(3px 3px 8px rgba(90,91,94,0.20));
  filter: drop-shadow(3px 3px 8px rgba(90,91,94,0.20));
  } 

/*---[ START change color of text highlight ] ---*/
::-moz-selection {
  color: #fafafa;
  background: #394de9
}
::selection {
  color: #fafafa;
  background: #394de9
}

/*---[ START -  Custom text styles ] ---*/
/* */
h1, h2, h3, h4, h5, h6 {
  margin: 10px 0 25px 0;
  padding-bottom: 0
}

#sd-contact-form h3 {
  margin: 10px 0 15px 0;
}

body #sd-contact-form .custom-styled-text p:first-of-type {
  margin-top: 0px !important
}

.custom-styled-text p {
  margin: 0 0 20px;
}

body .custom-styled-text p:first-of-type {
  margin-top: 20px !important
}

body .custom-styled-text p:last-of-type {
/*   margin-bottom: 10px !important */
}

.custom-styled-text ul {
  margin: 28px 0 0;
  list-style-type: none !important;
  list-style-position: inside;
  padding-left: calc(2em + 14px) !important;
  padding-bottom: 0em;
}

.custom-styled-text ol ul {
  margin: 7px 0 5px;
}

.custom-styled-text ol ul li {
  padding: 3px 0;
}

.custom-styled-text ul>li {
  padding: 5.5px 0;
}

.custom-styled-text ol ul li:before {
  margin-right: 15px !important;
  margin-left: -43px !important;
}

.custom-styled-text ul>li:before {
  content: '\e052';
  color: #2ff030;
  font-family: 'ETMODULES';
  margin-right: 12px;
  margin-left: -29px;
  font-size: 1.2em;
  padding: 5.5px 0;
  position: relative;
  top: 4px;
}

.custom-styled-text ol {
  margin: 28px 0 0;
  list-style-position: inside;
  padding-left: 27px !important;
  counter-reset: item;
  padding-bottom: 0em;
}

.custom-styled-text ol>li {
  margin: 0;
  padding: 5.5px 0 5.5px 1.5em;
  text-indent: -1.5em;
  list-style-type: none;
  counter-increment: item;
}

body .custom-styled-text ol>li>ul>li {
  text-indent: .2em;
}

.custom-styled-text ol>li:before {
  display: inline-block;
  width: 1em;
  padding-right: 0.5em;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
}

.custom-styled-text:before {
  display: block;
  content: '';
  background: #2ff030;
  height: 3px;
  width: 55px;
  margin-bottom: 20px;
}

.custom-styled-text.line-remove:before {
  display: none;
}



/* Highlighted Link Animation Effect */
.et-l--footer .custom-styled-text a,
body .custom-styled-text p>a:link {
  text-decoration: none;
  color: #394de9;
  background-image: linear-gradient(#394de9, #394de9), linear-gradient(#2ff030, #2ff030);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px, 100% 2px;
  transition: background-size .16s;
  position: relative;
}

.et-l--footer .custom-styled-text a:hover,
.et-l--footer .custom-styled-text a:focus,
.custom-styled-text p>a:link:hover,
.custom-styled-text p>a:link:focus {
  background-size: 100% 2px, 100% 100%;
  color: #394de9;
}



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

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

  html,
  body {
    overflow-x: hidden;
  }

  body {
    position: relative
  }
}



/* Canvas Header #5 */
.canvas-header-5 .et_pb_row>.et_pb_column {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.canvas-header-5 .canvas-menu {
  flex-grow: 1;
}

@media (max-width:400px) {
  .canvas-header-5 .et_pb_button_module_wrapper {
    margin-top: 20px;
    flex-basis: 100%;
    order: 3;
  }
}
/* Canvas Menu (All sections) */
.canvas-menu.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
  margin-top: 16px;
}

.canvas-menu.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
  padding-bottom: 16px;
}

.canvas-menu .et-menu-nav>ul>li:not(.mega-menu) ul.sub-menu:not(.mega-menu) {
  padding: 10px 0 20px;
}

.canvas-menu .et-menu-nav>ul>li:not(.mega-menu) ul.sub-menu li a {
  padding: 10px 0 0;
}

.canvas-menu .et-menu-nav>ul>li ul.sub-menu li a {
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}

.canvas-menu.et_pb_menu ul.sub-menu li a:hover {
  background: none;
  opacity: 1;
}

/* Fullscreen Menu Trigger */
.canvas-fullscreen-menu-trigger .et_pb_code_inner,
.et-fb .canvas-fullscreen-menu-trigger .et_pb_code_inner>div {
  height: 100%;
}

.dl-hamburger {
  width: calc(100% - 4px);
  left: 2px;
  height: 50%;
  top: 25%;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.dl-hamburger-inner,
.dl-hamburger-inner::before,
.dl-hamburger-inner::after {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--canvas-dark-color, #000);
  border-radius: 2px;
  position: absolute;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.white .dl-hamburger-inner,
.white .dl-hamburger-inner::before,
.white .dl-hamburger-inner::after {
  background-color: #fff;
}

.dl-hamburger-inner {
  top: auto;
  bottom: 0;
  margin-top: -1px;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition-duration: 0.13s;
  transition-delay: 0s;
}

.dl-hamburger-inner::before {
  content: "";
  top: -10px;
  transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.dl-hamburger-inner::after {
  content: "";
  top: -20px;
  transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0s linear;
}

.dl-hamburger.is-opened .dl-hamburger-inner {
  -webkit-transform: translate3d(0, -10px, 0) rotate(-45deg);
  transform: translate3d(0, -10px, 0) rotate(-45deg);
  transition-delay: 0.22s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.dl-hamburger.is-opened .dl-hamburger-inner::after {
  top: 0;
  opacity: 0;
  transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0s 0.22s linear;
}

.dl-hamburger.is-opened .dl-hamburger-inner::before {
  top: 0;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Canvas Fullscreen Menu Section */
body:not(.et-fb) .canvas-fullscreen-menu {
  opacity: 0;
  position: fixed;
  visibility: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all .3s ease-in-out;
  overflow: scroll;
}

@media (min-width:783px) {
  body:not(.et-fb).admin-bar .canvas-fullscreen-menu {
    top: 32px;
  }
}

body:not(.et-fb) .canvas-fullscreen-menu.is-opened {
  opacity: 1;
  visibility: visible;
}


/* Canvas Footer #2 */
.canvas-footer-2 .et_pb_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width:980px) {
  .canvas-footer-2 .et_pb_row {
    flex-direction: column-reverse;
  }
  .canvas-footer-2 .et_pb_column.et-last-child {
    order: -1;
  }
}
/* Canvas Text Module Styles (all Text modules) */
.canvas-text.et_pb_text .et_pb_text_inner a:not(:hover) {
  text-decoration-color: transparent;
}

.canvas-text.et_pb_text .et_pb_text_inner a {
  transition: all .3s ease-in-out;
  text-underline-offset: .2em;
}