/*
Theme Name:   The Greens
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 ] ---*/
body .custom-styled-text {
  font-size: clamp(15px, 3vw, 18px) !important;
    line-height: 2em;
  }
  
  body .custom-styled-text h1 {
    font-size: clamp(32px, 8vw, 52px) !important;
    text-wrap: balance;
      line-height: 1em;

  }
  
  .custom-styled-text h2 {
   font-size: clamp(28px, 7vw, 40px) !important;
   text-wrap: balance;
      line-height: 1em;
  }
  
  .custom-styled-text h3 {
    font-size: clamp(22px, 8vw, 32px) !important;
    text-wrap: balance;
        line-height: 1em;
  }
  
  .custom-styled-text h4 {
    font-size: clamp(20px, 6vw, 26px) !important;
    text-wrap: balance;
        line-height: 1em;
  }
  
  .custom-styled-text h5 {
    font-size: clamp(18px, 5vw, 22px) !important;
    text-wrap: balance;
        line-height: 1em;
  }
  
  .custom-styled-text h6 {
  font-size: clamp(16px, 4vw, 18px) !important;
  text-wrap: balance;
        line-height: 1em;
  }


/*---[ START change color of text highlight ] ---*/
::-moz-selection {
  color: #f6f4f4;
  background: #0A1414
}
::selection {
  color: #f6f4f4;
  background: #0A1414
}

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

/* body .uzziel-text-block {
  margin-bottom: 18px;
  color: #f6f4f4 !important;
  background: #0A1414;
  padding:13px 5px 7px;
  display:inline-block;
  line-height: 1em;
  text-transform: uppercase;
} */

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

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

body .custom-styled-text p:last-of-type {
  margin-bottom: 0px !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' !important;
  color: #B9B9B9;
  font-family: 'ETMODULES' !important;
  margin-right: 12px !important;
  margin-left: -34px !important;
  font-size: 1.2em !important;
  padding: 5.5px 0 !important;
  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;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
  color: #B9B9B9;
  margin-right: 15px !important;
  margin-left: -10px !important;
  padding: 3px 0 !important;
  top: 4px;
}

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

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

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



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

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

  html,
  body {
    overflow-x: hidden;
  }

  body {
    position: relative
  }
}



.et-show-more-content {
  display:none;
}
.et-fb .et-show-more-content {
  display:block;
}
.et-show-more-toggle {
  cursor:pointer;
}

@keyframes milly-shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0)
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0)
  }

  30%, 50%, 70% {
    transform: translate3d(-3px, 0, 0)
  }

  40%, 60% {
    transform: translate3d(3px, 0, 0)
  }
}

.et_pb_section .milly-shake {
  animation: milly-shake 1.5s infinite;
  margin-right: 20px !important;
}

.et_pb_section .milly-shake:hover {
  animation: none;
}
@media only screen and (min-width: 980px)  {
.milly-inline-module, .et_pb_button_module_wrapper {
  display: inline-block;
}
.milly-inline-modules .et_pb_column {
  display: flex;
  flex-wrap: wrap;
}
}

.milly-close-this-section {
  cursor: pointer;
}

.vertical-align {
  display: flex;
  flex-direction: column;
  justify-content: center;
}