/* --- EMERGENCY ICONS --- */
/***** Remove the class="off" from the leanModal link in the html to activate the link/connect to its pop-up *****/
.off {
    pointer-events: none;
  }
  .service-icons {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin: 20px auto;
  }
  .service-icons h3 {
    margin: 5px auto;
    font-size: 22px;
    line-height: 1.1;
  }
  .service-icons > * {
    padding: 5px;
    flex: 0 1 210px;
    margin: 10px auto;
    display: block;
  }
  .service-icons a {
    color: #2f3437;
    text-decoration: none;
  }
  .service-icons a:hover .icon .ic-color {
    fill: #3a97bb;
  }
  .service-icons a:hover h3 {
    color: #3a97bb;
  }
  .ic-color {
    fill: #3a7b56;
  }
  .sv-icon {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .has-h3 {
    clear: both;
    display: table;
    width: 100%;
    margin: 20px auto;
    text-align: left;
  }
  .has-h3 h3 {
    margin: 0 auto 10px;
    text-align: left;
  }
  @media (max-width: 750px) {
    .has-h3, .has-h3 h3 {
      text-align: center;
    }
  }
  /*==================== Modal ================*/
  #lean_overlay {
    padding: 10px;
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    overflow: scroll;
  }
  .modal-content {
    display: none;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 97%;
    flex: 0 1 97%;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    max-width: 1000px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    width: 93%;
    max-height: calc(100vh - 80px);
    overflow-y: scroll;
    padding: 10px 20px;
    overflow-x: hidden;
  }
  .modal-content h3 {
    text-align: center;
    font-size: 26px;
    margin: 15px 0 10px;
  }
  .modal-content .has_btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .modal-content .btn {
    margin: 5px;
    min-width: 430px;
  }
  .modal-content .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .modal-content .buttons > p {
    margin: 5px;
  }
  .modal-close {
    position: absolute;
    right: 0;
    top: 0;
    margin: 5px;
    z-index: 1002;
    cursor: pointer;
    color: #3a7b56;
    line-height: 1;
    width: 40px;
    height: 40px;
  }
  .modal-close span {
    display: none;
  }
  .modal-close i {
    position: relative;
    color: #3a7b56;
    font-style: normal;
    padding-bottom: 4px;
  }
  .modal-close i:before {
    font-size: 40px;
    content: '\00d7';
  }
  .modal-close:hover i {
    color: #555;
  }
  .modal-content .has_btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .modal-content .btn {
    margin: 5px;
    min-width: 350px;
  }




/* Membership Plan css*/
.mem-flex {display:flex; justify-content:space-between; margin-top:50px;}
.mem-flex .plan {flex:0 1 30%;}
.mem-flex .plan:after {background:url(assets/images/deco.png) center no-repeat; background-size:auto; background-size:contain; width:80px; height:60px; content:''; position:absolute; top:-48px; -webkit-transform:rotate(-15deg); transform:rotate(33deg);left: 0;}    
.mem-flex .plan:before {content:''; position:absolute; right:23%; left:0; top:-2px; bottom:0; z-index:-1; border-top:2px solid #3a7b56; width:100%;}
.mem-flex .plan {position:relative; margin:10px auto; padding:50px 31px; background-color:#fff;}
.plan span {position:relative;}
.plan span::before {width:183px; height:92px; content:''; position:absolute; right: -11pc;/*right:-21pc;*/ top:-25px; background:url(assets/images/deco-left.png) center no-repeat; background-size:auto; background-size:contain;}
.plan h3 {font-size:40px; color:#3A7B56; margin-top:25px;}
.plan {text-align:center;}
.plan h3.price {font-size:60px; word-spacing:-15px;}
.mem-sec span:not(.plan span) {font-size:40px; text-align:center; margin: 54px auto; display:block;}

.dis::before {content:''; position:absolute; top:0; bottom:-30px; z-index:-1; background-color:#fff; right:-1000px; left:-1000px;}
.dis {position:relative; display:table; clear:both; max-width:100%; padding:10px; margin:0 auto; text-align:center;}
.dis ul {margin-top:35px;}
.mem-sec h2 {font-size:62px; text-align:center; color:#3A7B56;font-family: "Dancing Script",cursive;}

@media (max-width:1125px) and (min-width:1025px) {
.plan span::before {right:-10pc;}
}

@media (max-width:1025px) {
.mem-flex {display:grid; justify-content:center;}

.mem-flex .plan:nth-of-type(2) {
  order: 1;
}
.mem-flex .plan:nth-of-type(1) {
  order: 2;
}
.mem-flex .plan:nth-of-type(3) {
  order: 3;
}
}
