/*
Theme Name:  Margin Partners
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 3.0.14
Description: DTAWorldwide is a child theme of Divi.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");

body {
  line-height: 1.55 !important;
  letter-spacing: -0.01em !important;
}

.et_fixed_nav.et_show_nav #page-container {
  padding-top: 56px !important;
}

#main-header {
  -webkit-transition: none !important;
  transition: none !important;
}

#main-header * {
  -webkit-transition: none !important;
  transition: none !important;
}

#main-footer {
  background-color: #98999d;
}
#logo {
  max-height: 50%;
}
ul.sub-menu li:last-child a {
  border: 0px !important;
  color: rgba(0, 0, 0, 0.6) !important;
}
#et-top-navigation {
  font-weight: 500;
}

#et-top-navigation nav#top-menu-nav #top-menu li:last-child a {
  padding: 13px 18px;
  border: 0px;
  background: #413d5f;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
  margin-top: -10px;
}
@media only screen and (min-width: 981px) {
  .et-fixed-header #top-menu a,
  .et-fixed-header #et_search_icon::before,
  .et-fixed-header #et_top_search .et-search-form input,
  .et-fixed-header .et_search_form_container input,
  .et-fixed-header .et_close_search_field::after,
  .et-fixed-header #et-top-navigation .et-cart-info {
    color: #ffffff !important;
  }
}
@media only screen and (min-width: 981px) {
  .et-fixed-header #top-menu li.current-menu-ancestor > a,
  .et-fixed-header #top-menu li.current-menu-item > a,
  .et-fixed-header #top-menu li.current_page_item > a {
    color: #a35600 !important;
  }
}
.sub-menu li:last-child a {
  padding: 6px 20px !important;
  margin-top: 0px !important;
}
#footer-widgets h4 {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}

#footer-widgets .footer-widget li {
  list-style: none;
  padding: 0px;
  text-align: left;
  vertical-align: top;
  text-transform: capitalize;
  font-size: 14px;
}
#footer-bottom {
  border-top: none;
  padding: 0px;
}
#footer-bottom .doctrine {
  text-align: center;
  padding: 32px 0 0;
  border-top: 1px solid #5c5780;
  font-style: italic;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
#footer-bottom .legal {
  margin-top: 24px;
  padding-bottom: 14px;
  font-size: 12px;
  color: #a8a2c8;
  text-align: center;
  letter-spacing: 0.04em;
}

@media (min-width: 981px) {
  .et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget {
    margin-bottom: 0;
  }
}
@media (max-width: 980px) {
  #footer-widgets .footer-widget .fwidget {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  #footer-widgets .footer-widget:nth-child(n),
  #footer-widgets .footer-widget .fwidget {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  #footer-widgets .footer-widget,
  .et_pb_gutters1 #footer-widgets .footer-widget {
    width: 100% !important;
    margin-right: 0 !important;
    margin-top: 25px !important;
  }
}

/* fixes added here */

.et_pb_row {
  padding: 0 0 !important;
}

.et_pb_section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

html,
body {
  font-size: 18px !important;
  transform: none !important;
  zoom: 1 !important;
  letter-spacing: normal !important;
  line-height: normal !important;
}

header .container,
.et-l--header .container {
  max-width: 1080px !important; /* Divi default */
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* old styles below this line */
ul.book-bullet-b {
  list-style-type: none;
  padding: 0px 17px 0px;
  display: table;
}
ul.book-bullet-b li {
  padding-bottom: 5px;
  margin-bottom: 7px;
  display: table;
}
ul.book-bullet-b li:before {
  color: #00aeef;
  content: "\f046";
  font-family: FontAwesome;
  line-height: 1.2;
  margin-right: 10px;
  display: table-cell;
  padding-right: 10px;
}
ul.book-bullet-a {
  list-style-type: none;
  padding: 20px 0px;
  display: table;
}
ul.book-bullet-a li {
  padding-bottom: 7px;
  margin-bottom: 7px;
  display: inline-flex;
}
ul.book-bullet-a li:before {
  color: #fff;
  content: "\f058";
  font-family: FontAwesome;
  line-height: 1.2;
  margin-right: 10px;
  display: table-cell;
  padding-right: 10px;
}
.logos-ul li {
  display: inline-block;
  width: 13%;
  padding-left: 15px;
  vertical-align: middle;
  margin-top: 20px;
}
.footer-a-social {
  background-color: #00adef !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}
.footer-a-social .et_pb_social_media_follow li a.icon::before {
  color: #00adef;
  font-size: 26px;
  padding-top: 5px;
  width: 45px;
  height: 45px;
}
.footer-a-social .et_pb_social_media_follow li a.icon {
  box-sizing: content-box;
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 50px !important;
  background: white;
}
.footer-a-social .et_pb_button_0 {
  background: #fff;
  color: #67686b !important;
  border: 0px;
  font-size: 17px;
  margin: 0px auto 5px;
  padding: 13px 13px;
}
.footer-a-social .et_pb_button_0:hover {
  padding: 13px 2em 13px 13px;
  border: 0px;
}
#footer-info {
  padding-bottom: 10px;
  text-align: center;
  color: #fff;
  float: none;
  text-transform: uppercase;
}

#nav_menu-4 {
  width: 100%;
}
#footer-widgets .footer-widget li:before {
  display: none;
}
.footer-widget:last-child {
  /*display:none*/
}
#menu-footer-menu {
  width: 100%;
  text-align: center;
  display: block;
}
.infusion-field input[type="text"],
.infusion-field input[type="email"],
.infusion-field textarea {
  width: 98%;
  background: #f1f5f9;
  border-radius: 3px;
  color: #2f2f2f;
  margin-bottom: 10px;
  height: 2em;
  padding: 3px;
}
.infusion-field textarea {
  height: 75px;
}
.infusion-submit input[type="submit"] {
  height: auto !important;
  width: 98%;
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 5px;
  border: 0;
  drop-shadow: 0 !important;
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  background: #1c75b0;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  cursor: pointer;
}
.box {
  border: 2px solid #0091d0;
  padding: 16px;
  width: 90%;
  margin: 16px auto;
  border-radius: 5px;
}
#top-menu {
  text-transform: none;
}
.col-3 {
  width: 33%;
  color: white;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  padding: 40px 10px 60px;
  vertical-align: top;
}
.col-3 .fa:before {
  font-size: 26px;
  margin-right: 10px;
}

.col-3 .fa {
  width: 40px;
  text-align: center;
}
#footer-info {
  background: black !important;
  text-align: center;
  padding: 10px 0px;
}
@media screen and (max-width: 640px) {
  #footer-widgets .footer-widget li {
    width: 100%;
  }
  .footer-widget {
    margin-bottom: 0px !important;
  }
  #footer-bottom .col-3 {
    width: 100%;
    padding: 20px 10px 30px;
  }
  .logos-ul {
    padding-left: 0px;
  }
  .logos-ul li {
    display: inline-block;
    width: 70%;
    padding-left: 0px;
    text-align: center;
  }
}
.em01 {
  font-size: 38px;
}

.list-icon-article {
  border-width: 2px;
  border-style: groove;
  border-color: #1591c4;
  border-image: initial;
  padding: 25px 0px 0px;
  margin: 20px auto;
  max-width: 1078px;
  border-radius: 5px;
  text-align: center;
}
.list-icon-article legend {
  margin: 0px auto;
  font-size: 27px;
  padding: 0px 15px;
  font-weight: 600;
  color: #0f8ec3;
  text-transform: uppercase;
}
.list-icon-article ul li,
.bio-list li {
  display: inline-block;
  list-style: none;
  margin-right: 15px;
  vertical-align: middle;
  text-align: center;
}
.list-icon-article ul li:last-child {
  margin-right: 0px;
}
.col-3 a {
  color: white;
}
.sticky-book {
  position: fixed;
  right: 40px;
  bottom: 30px;
  z-index: 10;
}
.clickb {
  display: block;
  text-align: right;
  float: right;
}
.sticky-book .close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: #00aeef;
  padding: 3px 10px;
  border-radius: 115px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}
.sticky-book .contentb {
  background: white;
  padding: 9px 10px;
  margin: 10px auto;
  position: relative;
  border-radius: 3px;
  text-align: center;
  display: none;
  max-width: 335px;
  line-height: 1.3;
  font-size: 10px;
}
.book-button {
  border: 2px solid #1276a5;
  background: #157fb0;
  font-size: 12px;
  padding: 4px;
  display: block;
  color: white;
  width: 87%;
  margin: 6px auto;
}
.contentb:hover {
  display: inline-block !important;
}
.sticky-book h4 {
  /* OLD
	 * background: #0091d1;
    padding: 16px 0px;
    border-radius: 106px;
    color: white;
    font-size: 12px;
    text-align: center;
    width: 55px;
    float: right;
    top: -40px;
    position: absolute;
    right: -22px;
    font-weight: bold;*/

  background: #1c2029;
  padding: 4px 0px;
  border-radius: 0px;
  color: white;
  font-size: 12px;
  text-align: center;
  width: 100%;
  float: none;
  top: -20px;
  position: absolute;
  right: 0px;
  font-weight: bold;
}
#event-page .leftD {
  width: 45%;
  float: left;
}
#event-page .rightD {
  width: 52%;
  float: right;
  height: 432px;
}
#event-page .leftD p:first-child {
  line-height: 1.2 !important;
  padding-bottom: 20px;
  font-weight: bold;
}
#event-page .leftD p:nth-child(2) {
  color: #00aeef;
  font-size: 42px;
  font-weight: 700;
  padding-bottom: 0px;
}
@media screen and (max-width: 640px) {
  #event-page .leftD p:nth-child(2) {
    font-size: 20px !important;
  }
  #event-page .leftD p:first-child {
    padding-bottom: 10px;
  }
  #event-page .leftD p:last-child {
    font-size: 14px !important;
    padding-bottom: 10px;
  }
  #event-page .leftD,
  #event-page .rightD {
    width: 100% !important;
    float: none !important;
  }
  #event-page .rightD {
    height: 230px;
  }
  .em01 {
    font-size: 18px;
  }
  .sub-menu li:last-child a {
    padding: 10px 5% !important;
  }
  .list-icon-article {
    border: 0px !important;
    margin: 0 !important;
  }
  .list-icon-article ul li {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }
}
ul.book-check-square-a {
  list-style-type: none;
  padding: 10px 0px;
  display: table;
}
ul.book-check-square-a li {
  display: table-row;
}
ul.book-check-square-a li:before {
  color: #375c85;
  content: "\f046";
  font-family: FontAwesome;
  line-height: 1.2;
  margin-right: 10px;
  display: table-cell;
  padding-right: 10px;
}
.webinar-btn {
  width: 100%;
  padding: 10px 40px;
  vertical-align: middle;
  background: #c6a04d;
  box-shadow: 3px 3px 3px #222;
  height: auto !important;
  max-width: 250px;
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 5px;
  border: 0;
  drop-shadow: 0 !important;
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
}
.sticky-book-webinar {
  position: fixed;
  left: 40px;
  bottom: 30px;
  z-index: 10;
}
.bio-name h1,
.bio-name h3 {
  color: #fff;
}
.bio-list li {
  margin-bottom: 10px;
}
.bio-parent {
  background-image: url(https://marginpartners.com.au/wp-content/uploads/2019/06/background-bio-1.jpg);
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}
.companylogo {
  padding-bottom: 0px;
  width: 92px !important;
  height: 92px;
  background-size: 96%;
  background-position: center center;
  background-color: white;
  border-radius: 0px !important;
  border: 1px solid #bbbbbb !important;
  background-repeat: no-repeat;
}
.companylogo {
  width: 15%;
}
.companyheadshot {
  width: 15%;
  height: min-content;
}
.companytestimonial {
  width: 70%;
  margin-left: 25px;
  margin-right: 25px;
}
.companylogo,
.companytestimonial,
.companyheadshot {
  display: inline-block;
  vertical-align: top;
}
.company_author .et_pb_testimonial_author,
.company_author .et_pb_testimonial_meta {
  text-align: center;
}
.company_author .et_pb_testimonial_meta {
  font-style: italic;
}
@media screen and (max-width: 640px) {
  .bio-name.et_pb_text_0 {
    margin: 0px;
    padding: 0px !important;
  }
  .bio-name h1,
  .bio-name h3 {
    color: #666;
  }
  .bio-list {
    margin-top: 10px;
  }
  .bio-list li {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  .bio-list li:last-child {
    margin-bottom: 0px;
  }
  .bio-parent {
    background-color: white !important;
    background: white !important;
  }
  .companylogo,
  .companytestimonial,
  .companyheadshot {
    display: block;
    vertical-align: top;
    width: 100%;
    margin: 8px auto;
  }
  .companyheadshot {
    text-align: center;
  }
}
