/*-------------------------------------------------------
Theme Name: Brand & Demand Child Theme
Theme URI: https://www.brandanddemandsolutions.com
Description: Frost & Sullivan child theme template 
Author: Amanda Kelly
Author URI: https://www.brandanddemandsolutions.com
Template: Divi
Version: 1.0.0
----------------- ADDITIONAL CSS HERE ------------------*/
#et-main-area { overflow: hidden;} /* Hides all the items that float over the right margin */
  
    .diagonal-shadow::before,
    .diagonal-shadow::after {
        position: absolute;
        content: '';
        pointer-events: none;}
  
    .diagonal-shadow {
        z-index: 1;
        padding-top: 6em;
        background: #2072a7;}
  
    .diagonal-shadow::before,
        .diagonal-shadow::after {
        top: 0;
        left: -25%;
        z-index: -1;
        width: 150%;
        height: 75%;
        background: inherit;
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;}
  
    .diagonal-shadow::before {
        height: 50%;
        background: #535353;
        -webkit-transform: rotate(-3deg);
        transform: rotate(-3deg);
        -webkit-transform-origin: 3% 0;
        transform-origin: 3% 0;}

kb-topic .kb-topic__inner .kb-topic__title {
  font-size: 1.25em!important;
 }

.kb-topic .kb-topic__icon-image {
  max-width: 25%!important;
  }

/* Nesting Menu */


/* when mobile menu is open, change hamburger icon to x icon */

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
}
/* makes sub sub menu icon be right arrow instead of down arrow */

#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
/* the new toggle element, which is added via jQuery */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: #EA7200;
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 15px;
    right: 50px;
    cursor: pointer;
    text-align: center;
    -webkit-box-shadow: 0 2px 14px 0 rgba(0,0,0, .1);
            box-shadow: 0 2px 14px 0 rgba(0,0,0, .1);
}
/* the new toggle element when popped */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: #EA7200;
}
/* toggle icon */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: '\33';
    color: #fff;
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '\32';
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
    padding-left: 20px;
    padding-right: 20px;
}
/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 60px;
    padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}
/* make the current page's mobile menu link be different */

#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
}

/****** Code Style: Menu Full-screen ******/

/* Font Awesome */
.fa {
    margin: 10px ;
  }

@media screen and (max-width: 980px) {
  .et_header_style_centered #main-header {
    position: fixed;
  }
  .et_header_style_centered #main-header .mobile_nav {
    background-color: transparent;
  }
  .mobile_nav.closed .select_page {
    display: none;
  }
  .et-fixed-header#main-header {
    background-color: transparent !important;
  }
}
.et_mobile_menu {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 9998;
  overflow: scroll !important;
  background-color: #FFF !important;
  margin-left: -30px;
  padding: 25% 0;
  height: 100%;
  width: calc( 100% + 60px);
  border-top: none;
}
.et_mobile_menu li a {
  text-align: center;
  font-size: 1.55em;
  border: 0;
  padding: 5% 0;
  text-transform: uppercase;
  letter-spacing: 6px;
}

.mobile_nav ul#mobile_menu .current_page_item > a {
  color: #ea7200;
  background-color: #FFF;
}
.mobile_nav ul#mobile_menu li ul li a {
  font-size: 1.05em !important;
  margin: auto;
  padding-top: 0.2em;
}
.et_mobile_menu li a:hover {
  color: #999;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.mobile_nav.opened .mobile_menu_bar:before {
  content: '\4d';
  z-index: 9999;
  color: #ea7200;
}

.mobile_menu_bar {
   margin-top: -10px;
    margin-right: -15px;
}

.et_pb_post .post-content p {
display: none;
}


/* Code for slider */
/*.mnc-demo-container {
    height: 20px;
    width: 100%;
    position: relative;
    margin: 5px auto 15px;
}
.mnc-demo-grid {
    overflow: hidden;
    height: 20px;
    width: 100%;
    background-color: #e5e1df;
}
.mnc-demo-dot {
    will-change: transform;
    -webkit-animation: xAxis 6.5s infinite normal forwards;
    animation: xAxis 6.5s infinite normal forwards;
    position: absolute;
    bottom: -7px;
    left: 0px;
}
.mnc-demo-dot:after {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 20px;
    background-color: #ea7200;
}

@keyframes xAxis {
50% {
     -webkit-transform: translateX(calc((120em - 1vw)/2));
      transform: translateX(calc((120em - 1vw)/2));
  }
100% {
    -webkit-transform: translateX(calc((120em - 1vw)/2));
      transform: translateX(calc((120em - 1vw)/2));
  }
}

@-webkit-keyframes xAxis {
50% {
      -webkit-transform: translateX(calc((120em - 1vw)/2));
      transform: translateX(calc((120em - 1vw)/2));
  }
100% {
    -webkit-transform: translateX(calc((120em - 1vw)/2));
      transform: translateX(calc((120em - 1vw)/2));
  }
}*/

.mnc-demo-container {
    height: 20px;
    width: 100%;
    position: relative;
    margin: 20px auto;
}
.mnc-demo-grid {
    overflow: hidden;
    height: 20px;
    width: 100%;
    background-color: #e5e1df;
}
.mnc-demo-dot {
    animation: xAxis 18s infinite normal forwards;
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 20px;
    background-color: #ea7200;
}

@keyframes xAxis {
  0%   {left: -18px; top: -8px;}
  100% {left: calc(100% - 18px); top: -8px;}
}