/**/
/**/
/**/
/**/
/**/
/**/




@font-face {
    font-family: 'Proxima Nova';
        src: url('https://www.mpmadirectory.org.my/templates/mpma_directory/fonts/ProximaNova-Reg.otf'),
        url('https://www.mpmadirectory.org.my/templates/mpma_directory/fonts/ProximaNova-Reg.ttf');
}

body {
  font-family: 'Proxima Nova','Merriweather', 'serif' !important;
  font-size: 15px !important;
}



/* Top Bar */
#sp-top-bar {
  background-color: #117ffb;
  color: #fff;
}

#sp-top-bar.menu-fixed {
  position: fixed;
  z-index: 9999;
  top: 0;
  width: 100%;
}

#sp-top-bar.menu-fixed-out #sp-logo-sticky {
  height: 20px;
  visibility: hidden;
}

#sp-top-bar.menu-fixed #sp-logo-sticky {
  height: 38px;
}


.animated {
  -webkit-animation-duration: 10s !important;
  animation-duration: 10s !important;
  -webkit-animation-fill-mode: both !important;
  animation-fill-mode: both !important;
}

         @-webkit-keyframes fadeInDown {
            0% {
               opacity: 0;
               -webkit-transform: translateY(-20px);
            }
            100% {
               opacity: 1;
               -webkit-transform: translateY(0);
            }
         }
         
         @keyframes fadeInDown {
            0% {
               opacity: 0;
               transform: translateY(-20px);
            }
            100% {
               opacity: 1;
               transform: translateY(0);
            }
         }
         
         .fadeInDown {
            -webkit-animation-name: fadeInDown;
            animation-name: fadeInDown;
         }


#sp-top-bar.menu-fixed-out .logo-sticky-desktop {
  display: none;
}

#sp-top-bar.menu-fixed .logo-sticky-desktop {
  display: block;
}


#sp-top-bar.menu-fixed-out .logo-sticky-desktop img {
  display: none;
}

#sp-top-bar.menu-fixed .logo-sticky-desktop img {
  display: block;
  width: 80%;
  transition-delay: 300ms;
  -webkit-animation: 500ms ease 0s normal forwards 1 fadein;
  animation: 500ms ease 0s normal forwards 1 fadein;
}

@keyframes fadein{
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
}

@-webkit-keyframes fadein{
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
}




.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  line-height: 20px;
}

.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  color: #fff;
}

.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li:hover > a {
  color: #f9a61a;
}

#sp-top-bar.menu-fixed-out .sp-megamenu-parent > li {
  line-height: auto;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#sp-top-bar.menu-fixed .sp-megamenu-parent > li {
  line-height: 40px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

@media (max-width: 991px) {
  #sp-top-bar {
    padding: 6px 20px;
  }
  
  #sp-top-bar.menu-fixed-out #sp-logo-sticky {
    height: 38px;
  }
  
  #sp-top-bar .menu-fixed-out .row>* {
    width: auto;
  }
  
  #sp-menu {
    position: absolute !important;
    right: 0;
  }
  
  #sp-header {
    padding: 0 30px;
  }
  
  #sp-top-bar .sp-module {
    margin-left: 0 !important;
  }
}



/* Offcanvas */
#offcanvas-toggler {

}

@media (max-width: 991px) {
  #offcanvas-toggler {
    float: right;
    line-height: 40px;
    margin-left: 15px;
    font-size: 20px;
  }
}

.offcanvas-inner {
  padding-top:40px;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li a {
  -webkit-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
  padding: 5px 20px;
  font-size: 14px;
  text-transform: none;
  color: #fff;
  font-weight: 500;
  line-height: 20px;
}

.offcanvas-menu .offcanvas-inner .sp-module:not(:last-child) {
  margin-bottom: 0px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.offcanvas-menu .offcanvas-inner .sp-module {
  margin: 0;
    margin-bottom: 0px;
  padding: 10px 30px 30px;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li a {
  -webkit-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
  padding: 5px 20px;
  font-size: 14px;
  text-transform: none;
  color: #444;
  font-weight: 500;
  line-height: 20px;
}

.offcanvas-menu .offcanvas-inner .sp-module .sp-module-title {
  font-family: 'Proxima Nova','Merriweather', 'serif' !important;
  font-weight: normal;
  color: #fff;
  font-size: 1.5rem;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li:hover a,
.offcanvas-menu .offcanvas-inner .sp-module ul > li:focus a {
  background: none !important;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li a:hover,
.offcanvas-menu .offcanvas-inner .sp-module ul > li a:focus {
  background: none !important;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li.active > a,
.offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li:hover > a,
.offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li:focus > a {
  background: none !important;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li > a:hover,
.offcanvas-menu .offcanvas-inner .sp-module ul > li ul > li > a:focus {
  background: none !important;
}



/* Header */
#sp-header {
  height: auto;
}

#sp-header .logo img {
  width: 88%;
}

@media (max-width: 992px) {
  .logo-image {
    height: auto !important;
  }
}

@media (min-width: 991px) {
  .logo-sticky-mobile {
    display: none;
  }
}

@media (max-width: 991px) {
  .logo-sticky-desktop {
    display: none !important;
  }
  
  #sp-header .logo img {
    width: 100%;
  }
  
  #sp-top-bar.menu-fixed #sp-logo-sticky img {
    width: 60%;
  }
}



/* Footer */
#sp-footer {
  background: #163544;
}



/* Search */
#sp-search .fc_cid_label {
  display: none;
}

#sp-search fieldset.cat-select {;
  width: 26%;
  float: left;
}

#sp-search .fcclear, #flexicontent .clear {
  clear: none !important;
}

#sp-search .fc_filter_line {
  width: 100%;
  margin: 0;
  padding: 0;
}

#sp-search .fc_filter_line .fc_filter_html {
  width: 100%;
}

#sp-search div#moduleFCform_120_filter_box fieldset.fc_search_set, fieldset.fc_filter_set {
  width: 100%;
  float: left;
  display: inherit;
}

#sp-search .fc_filter_buttons_box {
  width: 30%;
}

#sp-search .fc_filter_html.fc_text_search input {
  width: 100%;
  min-height: 45px;
}

.fc_filter .fc_filter_html, .fc_filter_line .fc_filter_html {
  font-size: 100%;
}

@media (max-width: 991px) {
  #sp-search {
    width: 100%;
  }
  
  #sp-search fieldset.cat-select {
    width: 100%;
    float: none;
  }
  
  fieldset.fc_search_set, fieldset.fc_filter_set {
    margin: 0;
  }
}

.fc_filter_html .fc_text_filter, .fc_filter_html .fc_field_filter {
    width: 100%;
}



/* Filters */
form.fc_instant_filter {
  display: none;
}

.fc_filter .fc_filter_label {
  display: none;
}

.group-fcset input[type="radio"] + label, input[type="radio"].fc_checkradio + label {
  background: url(https://www.mpmadirectory.org.my/components/com_flexicontent/assets/images/checks.png) no-repeat 0 -72px !important;
}



/* Menu */
.sp-module ul.nav > li > a {
  color: #444;
  background: #bce4e5;
  padding-left: 10px;
  line-height: 30px;
  font-size: 14px;
}

.sp-module ul > li > a::before {
  margin-right: 4px;
}

.sp-module ul.nav > li > a:hover {
  color: #1b96fe;
}

.sp-module ul.nav > li {
  margin-bottom: 2px;
}

.sp-module ul.nav > li.item-133 a, .sp-module ul.nav > li.item-134 a {
  background-color: #fdeba9 !important;
}

.sp-module ul.nav > li.item-135 a {
  background-color: #f0bae7 !important;
}



/* Left */
#sp-left h3.sp-module-title {
  font-family: 'Proxima Nova','Merriweather', 'serif' !important;
  font-weight: normal;
  color: #555;
  font-size: 1.5rem;
}



/* Component */
#sp-component {
  border-left: 1px solid #ddd;
}

.about-mpma #sp-component, .contact-us #sp-component, .rate-card #sp-component {
  border-left: none;
}

#sp-component #flexicontent h2.cattitle {
  font-family: 'Proxima Nova','Merriweather', 'serif' !important;
  font-weight: normal;
  color: #555;
  font-size: 1.5rem;
}

#flexicontent h1.componentheading {
  font-family: 'Proxima Nova','Merriweather', 'serif' !important;
  font-weight: normal;
  color: #555;
  font-size: 1.5rem;
}



/* Front Page */
.homepage #sp-main-body {
  padding: 0;
}

.homepage #sp-home-page {
  padding: 50px 0;
}

.frontpgban {
  background: url('https://www.mpmadirectory.org.my/images/post/bg_center.jpg') no-repeat 48% 38%;
  height: 430px;
  position: relative;
}

.frontpgban .button-center {
  width: 100%;
  padding-bottom: 1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  text-align: center;
}

.frontpage-content h1 {
  font-weight: 700;
  line-height: 50px;
  color: #215588;
  padding-top: 20px;
  text-align: center;
}

.frontpage-content h3 {
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.sp-module .sp-module-title {
  font-family: 'Proxima Nova','Merriweather', 'serif' !important;
  font-weight: normal;
  color: #555;
  font-size: 1.5rem;
}

.homepage .frontpgban a.btn {
  color: #FFF;
  padding: .5rem 2rem;
  border-color: #3A89C9;
  background: rgb(14,119,250);
  background: -moz-linear-gradient(45deg, rgba(14,119,250,1) 0%, rgba(21,135,252,1) 26%, rgba(33,162,255,1) 100%);
  background: -webkit-linear-gradient(45deg, rgba(14,119,250,1) 0%,rgba(21,135,252,1) 26%,rgba(33,162,255,1) 100%);
  background: linear-gradient(45deg, rgba(14,119,250,1) 0%,rgba(21,135,252,1) 26%,rgba(33,162,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e77fa', endColorstr='#21a2ff',GradientType=1 );
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
  border-radius: 50rem;
}

.homepage #sp-position2 {
  border-left: 1px solid #ddd;
}



/* Rate Card */
.rate-card a.btn {
  color: #FFF;
  padding: .5rem 2rem;
  border-color: #3A89C9;
  background: rgb(14,119,250);
  background: -moz-linear-gradient(45deg, rgba(14,119,250,1) 0%, rgba(21,135,252,1) 26%, rgba(33,162,255,1) 100%);
  background: -webkit-linear-gradient(45deg, rgba(14,119,250,1) 0%,rgba(21,135,252,1) 26%,rgba(33,162,255,1) 100%);
  background: linear-gradient(45deg, rgba(14,119,250,1) 0%,rgba(21,135,252,1) 26%,rgba(33,162,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e77fa', endColorstr='#21a2ff',GradientType=1 );
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
  border-radius: 50rem;
}

.rate-card a.btn:hover {
  color: rgb(14,119,250);
  padding: .5rem 2rem;
  border-color: #3A89C9;
  background: rgb(255,255,255);
  background: -moz-linear-gradient(45deg, rgba(14,119,250,1) 0%, rgba(21,135,252,1) 26%, rgba(33,162,255,1) 100%);
  background: -webkit-linear-gradient(45deg, rgba(14,119,250,1) 0%,rgba(21,135,252,1) 26%,rgba(33,162,255,1) 100%);
  background: linear-gradient(45deg, rgba(14,119,250,1) 0%,rgba(21,135,252,1) 26%,rgba(33,162,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e77fa', endColorstr='#21a2ff',GradientType=1 );
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
  border-radius: 50rem;
}



/* Main Body */
#sp-main-body {
  padding: 50px 0;
}



/* Listing Item */
div.flexi.value, .flexi.value {
  display: flex;
  float: none;
}

.type-alias-listing .flexi.bottomblock.infoblock {
  border: none;
  color: #555555;
  background-color: #ffffff;
}

.type-alias-listing .infoblock ul li.flexi {
  border-bottom: 1px solid #ddd;
  padding: 5px 0 1px;
}

body #flexicontent .flexi.label, body #flexicontent .desc-title.label {
  font-weight: 800;
}

.field_whatsapp i {
  padding-right: 10px;
  color: #28a745 !important;
  font-size: 20px;
  font-weight: 400 !important;
}

.fc_item_title a {
  display: inline-block;
  float: left;
  font-size: 16px;
  font-weight: 500;
  margin-left: 16px;
}

.fc_item_title a:hover {
  color: #1b96fe !important;
}

@media (max-width:991px) {
  #sp-component {
    margin-top: 50px;
  }
  
  body #flexicontent .desc-title {
    border-bottom: 1px solid #dee2e6 !important;
    width: 100%;
    padding: 10px;
  }
  
  body #flexicontent .desc-content {
    border-bottom: 1px solid #dee2e6 !important;
    width: 100%;
    padding: 10px;
  }
  
  body #flexicontent .flexi.label, body #flexicontent .desc-title.label {
    background-color: #efefef !important;
    color: #444;
    border-radius: 0;
  }
}



/* Ad Banner */
@media (max-width: 991px) {
  .banneritem img {
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }
}



/* Featured Item */
.fcitem_title a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  content: "\f005";
  margin-right: 8px;
  color: #ffc107;
  font-size: 20px;
  margin-left: 8px;
}

.news.mod_flexicontent_wrapper .fcitem_title, .news.mod_flexicontent_wrapper .fcitem_title a {
  font-size: 20px !important;
}

.news.mod_flexicontent_wrapper .content_featured {
  padding: 10px;
  border: 1px solid #ccc;
}



/* Whatsapp */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  right: 10px;
  background-color: #fff;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  z-index: 10;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
        box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  transition: all 0.2s ease;
}

.float:hover {
  background-color: #25d366;
        -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.8);
        -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.8);
        box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.8);
  transition: all 0.2s ease;
}

.my-float {
line-height: 60px;
font-size: 42px;
color: #25d366;
-webkit-text-stroke: 1px #25d366;
  transition: all 0.2s ease;
}

.my-float:hover {
line-height: 60px;
font-size: 42px;
color: #fff;
-webkit-text-stroke: 1px #fff;
  transition: all 0.2s ease;
}




/* Scroll Up */
.scrollup {
  width: 40px;
  height: 40px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 999;
  border: 1px solid #ddd;
  background-color: rgba(255,255,255,0.4);
}





