/*
Theme Name:   MPASA
Theme URI:    http://lucidity.design
Description:  A 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
*/

/*#fixed-wave {
  padding-bottom: 0;
  margin-bottom:-10vh;
}*/

.et_pb_section {
  background-color: rgb(255 255 255 / 0);
}

.btn-inline .et_pb_button_module_wrapper {
  display: inline-block;
  margin: 0 5px;
}

.drts-bs-btn-group-toggle .drts-bs-btn-outline-secondary span {
  display: none;
}

/* .drts .drts-bs-btn {
  font-size: 82% !important
} */
.et_pb_blurb_0.et_pb_blurb .et_pb_main_blurb_image {
  width: 65px;
  height: 65px;
}

/* memebrs directory */
.drts-view-entities-list-row .drts-display-element:not(:first-child) {
  display: inline-block;
  margin: 0 20px;
  /*width: 18%;
  max-width: 200px;
  min-width: 1em;*/
}

.drts-view-entities-list-grid .drts-display-element:not(:first-child) {
  margin: 0 20px;
  /*width: 18%;
  max-width: 200px;
  min-width: 1em;*/
}

.drts-entity-field-label-type-icon {
  display: none;
  /*float: left;*/
}

/* .drts-entity {
   text-align:  center;
  font-size: 12px;
} */
body .drts-entity {
  padding-bottom: 20px !important;
  border: 0 !important;
}

body .drts-display-element-entity_field_post_title-1 {
  background-color: #1a47b7;
  color: #fff;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 15px;
}

body .drts-display-element-entity_field_post_title-1 a {
  color: #fff;
  text-transform: uppercase;
}

body .drts-view-entities-list-grid .drts-display-element-entity_field_post_title-1 {
  text-align: center;
  font-size: 13px !important;
}

/*- */
.et_pb_blurb_1.et_pb_blurb .et_pb_main_blurb_image {
  width: 68px;
}

body .faq2_venus .et_pb_column_2_3 .et_pb_promo.deactive_item {
  display: block;
}

/* #fixed-wave {
  position: fixed;
  width: 100%;
  bottom: 0px;
  z-index: 99999;
}
#main-footer {
  position: fixed;
  width: 100%;
  bottom: 0;
  z-index: 999999;
} */
/* @media screen and (min-width: 1024px) {
  #fixed-wave {
    bottom: -50px;
  }

} */
#comment-wrap .form-submit .et_pb_button {
  color: #fff !important;
}

@media only screen and (min-width: 1100px) {
  #mpasa-header .et_pb_fullwidth_header_container {
    margin-right: 0 !important;
    margin-left: 0 !important;
    /*margin-top: 5%;*/
    z-index: 9999999 !important;
    min-width: 100%;
    max-width: 1910px;
    width: 800px !important;
  }

  #mpasa-header .header-logo {
    margin-bottom: 20px !important;
  }
}

@media only screen and (max-width: 1100px) {
  #mpasa-header .header-logo {
    width: 100%;
    max-width: 980px;
    margin-top: 50px;
    margin-bottom: 20px;
  }

  /* #fixed-wave, #main-footer {
  position: relative !important;
} */
}

.et_pb_fullwidth_header_scroll {
  top: 20% !important;
}

.et_pb_fullwidth_header_subhead {
  width: 80%;
  max-width: 800px;
  margin: 20px auto;
  margin-top: 20px;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
  width: 100%;
  max-width: 1920px;
  margin: 20px auto;
}

/*
.et_pb_fullwidth_header .header-image {
        margin-right: 0!important;
    margin-left: 0!important;
    margin-top: 5%;
    z-index: 9999999!important;
    min-width: 100%;
     max-width: 1910px;
    width: 800px !important;
}
.et_pb_section_parallax:not(.et_pb_fullwidth_menu), .et_pb_slider_parallax {
    overflow: visible !important;
}

.et_pb_fullscreen .et_pb_fullwidth_header_container {
    width: 100%;
}
*/
/*----------Custom Divi Gallery----------*/
.et_overlay {
  display: none;
}

.mfp-title {
  display: none;
}

.et_pb_gallery_grid .et_pb_gallery_item img {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: transform 0.5s, opacity 0.5s;
  transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}

.et_pb_gallery_grid .et_pb_gallery_item img:hover {
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
  opacity: 1;
}

.et_pb_gallery_grid .et_pb_gallery_item {
  padding: 2px;
  width: 50% !important;
  clear: right !important;
}

@media only screen and (max-width: 479px) {
  .et_pb_column .et_pb_grid_item:nth-child(n) {
    width: 33% !important;
  }
}

/*optin 1*/
/*Lolipop Optin Module*/
.optin_module1_venus .et_pb_newsletter {
  display: block !important;
}

.optin_module1_venus .et_pb_newsletter_form {
  position: relative
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_description {
  width: 100% !important;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p {
  padding: 0 !important;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p input {
  padding: 11px 64px 11px 0 !important;
}

body .optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p .et_pb_newsletter_button:before {
  content: url("./include/newsletter-icon.png") !important;
  transition: 0s !important;
  font-size: 16px !important;
}

.optin_module1_venus .et_pb_blurb .et_pb_blurb_content:hover .et_pb_main_blurb_image .et-pb-icon {
  background-color: #51a4fc !important;
}

.optin_module1_venus .et_pb_blurb .et_pb_main_blurb_image .et-pb-icon {
  padding: 20px !important;
  transition: 0.3s;
}

.optin_module1_venus .et_pb_blurb .et_pb_blurb_container {
  background-color: #ffffff;
  border-radius: 6px 6px 6px 6px;
  padding: 15px 22px !important;
  position: absolute;
  top: -70px;
  left: 0;
  overflow: visible;
  transition: 0.4s;
  z-index: 11;
  opacity: 0;
}

.optin_module1_venus .et_pb_blurb .et_pb_blurb_container:after {
  content: "";
  display: block;
  background-color: #fff;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: -8px;
  left: 20px;
  right: 0;
  z-index: -1;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.optin_module1_venus .et_pb_blurb .et_pb_blurb_content:hover .et_pb_blurb_container {
  top: -51px;
  opacity: 1;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form:before {
  content: "";
  display: block;
  background-color: #1c4cb6;
  width: 100px;
  height: 170px;
  position: absolute;
  top: -70px;
  left: -30px;
  -webkit-transform: rotate(45deg) translate(-140px, 0);
  transform: rotate(45deg) translate(-140px, 0);
  transition: 0.4s !important;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form:after {
  content: "";
  display: block;
  background-color: #1c4cb6;
  width: 100px;
  height: 170px;
  position: absolute;
  bottom: -72px;
  right: -34px;
  -webkit-transform: rotate(45deg) translate(140px, 0);
  transform: rotate(45deg) translate(140px, 0);
  z-index: 0;
  transition: 0.4s !important;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form .et_pb_newsletter_fields {
  z-index: 99;
  position: relative;
  display: block;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form.filled,
.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form.focus {
  background-color: #1a2c56;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form.filled:after,
.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form.focus:before,
.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form.filled:before,
.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form.focus:after {
  -webkit-transform: rotate(45deg) translate(0, 0);
  transform: rotate(45deg) translate(0, 0);
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p label {
  display: flex !important;
  position: absolute;
  text-align: left;
  pointer-events: none;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  left: 0;
  color: #fff;
  font-size: 16px;
  z-index: 2;
  transition: all .4s ease-in-out;
  line-height: 100%;
  font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p.filled label,
.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p.focus label {
  -webkit-transform: translate(120px, -50%);
  transform: translate(120px, -50%);
  opacity: 0;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p input::-webkit-input-placeholder {
  color: transparent !important;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p input::-moz-placeholder {
  color: transparent !important;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p input:-ms-input-placeholder {
  color: transparent !important;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form p input:-moz-placeholder {
  color: transparent !important;
}

.optin_module1_venus .et_pb_newsletter .et_pb_newsletter_form .et_pb_newsletter_error {
  z-index: 99;
  position: relative;
  text-align: left;
  font-weight: 400;
}

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

  /*Form 1*/
  #page-container .optin_module1_venus .et_pb_row {
    max-width: 475px !important;
  }
}

@media only screen and (max-width: 480px) {

  /*Form 1*/
  #page-container .optin_module1_venus .et_pb_row {
    width: 90% !important;
  }

  #page-container .optin_module1_venus .et_pb_subscribe .et_pb_newsletter_form {
    padding: 25px 20px !important;
  }

  #page-container .optin_module1_venus .et_pb_blurb {
    margin-left: -10px !important;
  }
}

.contact_form2_venus .et_pb_column_2_3 {
  width: 65.5% !important
}

.contact_form2_venus .et_pb_column_1_3 {
  width: 28% !important
}

.contact_form2_venus .et-pb-icon-circle {
  padding: 12px;
  box-shadow: 19.799px 19.799px 60px 0 rgba(0, 0, 0, 0.4)
}

.contact_form2_venus .et_pb_contact_form p[data-type=checkbox] label i:before {
  color: #fff !important
}

.contact_form2_venus .et_pb_contact_form p[data-type=checkbox] label i {
  background-color: #0197f6 !important;
  border-color: transparent !important;
  border-radius: 3px !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 12px !important;
  vertical-align: text-bottom
}

#page-container .contact_form2_venus .et_pb_contact_form p[data-type=checkbox] label a:hover {
  opacity: .5
}

#page-container .contact_form2_venus .et_pb_contact_form p[data-type=checkbox] label a {
  font-weight: 400;
  text-decoration: none !important
}

#page-container .contact_form2_venus .et_pb_contact_form p[data-type=checkbox] label {
  color: #595f6f !important;
  font-weight: 400
}

.contact_form2_venus .et_pb_contact_form p[data-type=checkbox] span.et_pb_contact_field_options_title {
  display: none !important
}

#page-container .contact_form2_venus .et_pb_contact_form {
  margin-left: 0 !important
}

#page-container .contact_form2_venus .et_pb_contact_form p {
  position: relative;
  padding: 0 !important;
  margin-bottom: 1px !important
}

#page-container .contact_form2_venus .et_pb_contact_form p.et_pb_contact_field_half.et_pb_contact_field_last {
  margin-right: 0
}

#page-container .contact_form2_venus .et_pb_contact_form p.et_pb_contact_field_half {
  width: 48%;
  margin-right: 4%;
  margin-bottom: 0 !important
}

#page-container .contact_form2_venus .et_pb_contact_form p[data-type=checkbox] {
  margin-top: 9px
}

#page-container .contact_form2_venus .et_pb_contact_form .et_contact_bottom_container {
  margin-top: 0 !important
}

.contact_form2_venus .et_pb_contact_form p:not([data-type=checkbox]):not([data-type="radio"]) .form__placeholder span, .contact_form2_venus .et_pb_contact_form p:not([data-type=checkbox]):not([data-type="radio"]) label span {
  flex: none;
  white-space: pre
}

.contact_form2_venus .et_pb_contact_form p:not([data-type=checkbox]):not([data-type="radio"]) label span {
  opacity: 0
}

.contact_form2_venus .et_pb_contact_form p:not([data-type=checkbox]):not([data-type="radio"]) label {
  display: flex !important;
  color: #595f6f;
  font-size: 15px;
  font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  pointer-events: none !important
}

.contact_form2_venus .et_pb_contact_form p:not([data-type=checkbox]):not([data-type="radio"]) .form__placeholder {
  display: flex !important;
  position: absolute;
  text-align: left;
  pointer-events: none;
  bottom: 16px;
  left: 20px;
  color: #595f6f;
  font-size: 16px;
  z-index: 2;
  transition: all .4s ease-in-out;
  line-height: 100%;
  font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400
}

.contact_form2_venus .et_pb_contact_form p[data-id="message"]:not([data-type=checkbox]):not([data-type="radio"]) .form__placeholder {
  bottom: 202px
}

#page-container .contact_form2_venus .et_pb_contact_form p textarea::-webkit-input-placeholder, #page-container .contact_form2_venus .et_pb_contact_form p input::-webkit-input-placeholder {
  color: transparent !important
}

#page-container .contact_form2_venus .et_pb_contact_form p textarea::-moz-placeholder, #page-container .contact_form2_venus .et_pb_contact_form p input::-moz-placeholder {
  color: transparent !important
}

#page-container .contact_form2_venus .et_pb_contact_form p textarea:-ms-input-placeholder, #page-container .contact_form2_venus .et_pb_contact_form p input:-ms-input-placeholder {
  color: transparent !important
}

#page-container .contact_form2_venus .et_pb_contact_form p textarea:-moz-placeholder, #page-container .contact_form2_venus .et_pb_contact_form p input:-moz-placeholder {
  color: transparent !important
}

.contact_form2_venus .et_pb_blurb .et_pb_main_blurb_image, .contact_form2_venus .et_pb_main_blurb_image .et-pb-icon {
  transition: .2s
}

.contact_form2_venus .et_pb_blurb:hover .et_pb_main_blurb_image {
  vertical-align: middle
}

.contact_form2_venus .et_pb_blurb:hover .et_pb_main_blurb_image .et-pb-icon {
  padding: 0;
  font-size: 48px;
  background-color: transparent !important;
  box-shadow: none
}

.contact_form2_venus .et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container {
  transition: .3s
}

.contact_form2_venus .et_pb_blurb:hover .et_pb_blurb_content .et_pb_blurb_container {
  -webkit-transform: translate(0, 130%);
  transform: translate(0, 130%)
}

.contact_form2_venus .et_pb_blurb:hover:before {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0)
}

.contact_form2_venus .et_pb_blurb:hover:after {
  transition-delay: .3s !important;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%)
}

@media only screen and (max-width:1390px) {
  .contact_form1_venus .et_pb_row, .contact_form2_venus .et_pb_row, .contact_form3_venus .et_pb_row {
    width: 90% !important
  }

  .contact_form2_venus .et_pb_column_2_3 {
    width: 60.5% !important
  }

  .contact_form2_venus .et_pb_column_1_3 {
    width: 34% !important
  }
}

@media only screen and (max-width:980px) {
  .contact_form2_venus .et_pb_column_2_3 {
    margin-right: 5.5% !important
  }

  #page-container .contact_form2_venus .et_pb_contact_form .et_contact_bottom_container button {
    top: 0;
    left: 0;
    margin-left: 0
  }

  #page-container .contact_form2_venus .et_pb_contact_form .et_contact_bottom_container {
    text-align: left !important;
    float: none;
    margin-top: 20px !important
  }
}

@media only screen and (max-width:980px) and (min-width:768px) {
  #page-container .contact_form2_venus .et_pb_blurb {
    padding: 85px 30px 30px !important
  }

  .contact_form2_venus .et_pb_blurb .et_pb_main_blurb_image .et_pb_image_wrap {
    display: inline-block
  }

  .contact_form2_venus .et_pb_blurb .et_pb_main_blurb_image {
    display: block !important;
    position: absolute !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 10px;
    top: 30px !important;
    left: 0 !important
  }

  .contact_form2_venus .et_pb_blurb .et_pb_blurb_content {
    margin-left: 0 !important;
    position: static
  }

  .contact_form2_venus .et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container h4, .contact_form2_venus .et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container .et_pb_blurb_description {
    text-align: center !important
  }

  .contact_form2_venus .et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container {
    padding-left: 0 !important;
    display: block
  }

  body .contact_form2_venus .et_pb_blurb:after {
    top: auto;
    padding-left: 40px;
    padding-right: 40px;
    bottom: 0;
    left: 0;
    text-align: center;
    padding-bottom: 3vw
  }

  .contact_form2_venus .et_pb_blurb:hover:after {
    transition-delay: .3s !important;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0)
  }
}

@media only screen and (max-width:767px) {
  .contact_form2_venus {
    background-size: cover !important
  }

  .contact_form2_venus .et_pb_row .et_pb_column, .contact_form1_venus .et_pb_row .et_pb_column {
    width: 100% !important;
    margin-right: 0 !important
  }

  body .contact_form2_venus .et_pb_blurb {
    max-width: 380px;
    margin: 0 auto
  }
}

@media only screen and (max-width:480px) {
  #page-container .contact_form2_venus .et_pb_contact_form p.et_pb_contact_field_half {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0 !important
  }

  #page-container .contact_form2_venus {
    background-image: none !important
  }
}

/*-- [ Ordered list fix ] --*/
/* .content-lists ol li, article ul li {
  margin-bottom: 2px !important;
  margin-top: 2px;
  margin-left: 5px !important;
} */
/* article ol li, article ul li {
  margin-bottom: 8px !important;
  margin-top: 10px;
  margin-left: 5px !important;
} */
.legal ol li, .legal ul li {
  margin-bottom: 8px !important;
  margin-top: 10px;
  margin-left: 5px !important;
}

/* article ul ul {
  margin-left: 30px !important;
} */
/* #left-area ol, .comment-content ol, .entry-content ol {
  list-style-position: outside;
} */
#left-area .legal ol, .comment-content .legal ol, .entry-content .legal ol {
  list-style-position: outside;
}

/* article ol ol {
  margin-left: 30px !important;
} */
/* article ul li:last-child, article ol li:last-child {
  margin-bottom: 0 !important;
} */
.legal ul li:last-child, .legal ol li:last-child {
  margin-bottom: 0 !important;
}

/* .entry-content ul {
  padding: 0 0 2px 2em;
} */
.entry-content .legal ul {
  padding: 0 0 2px 2em;
}

/*---[ 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
}

.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 ul ul {
  margin: 10px 0 0;
  list-style-type: disc;
  list-style-position: outside;
  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: #51a4fc;
  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: 2px;
}

.custom-styled-text-x-list ul>li:before {
    content: '\e051' !important;
  color: red;
}


body .custom-styled-text ul ul>li:before {
  content: none !important;
}

.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: #51a4fc;
  height: 3px;
  width: 55px;
  margin-bottom: 20px
}

/* Highlighted Link Animation Effect */
.custom-styled-text p>a:link {
  text-decoration: none;
  color: #51a4fc;
  background-image: linear-gradient(#51a4fc, #51a4fc), linear-gradient(#1a47b7, #1a47b7);
  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: #f7f8fb;
}
