/* 
Theme Name: Megafinance
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: ToffeeDev Team | Dwivy Andre
Author URI: https://toffeedev.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*Global*/
span.form-information {
    margin: 10px 0;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #f46f21;
    font-style: italic;
}

.meta-team {
    margin: 20px 0;
    color: #f99e1d;
    font-weight: 700;
}

.image-team img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.15);
}

body {
    margin-top: 100px !important;
}

#main-header-navigation {
    position: fixed;
    top: -100px; /* Initially hide the header above the viewport */
    transition: top 0.3s;
    width: 100%;
    z-index: 1000; /* Ensure the header is above other content */
}

#main-header-navigation.show {
    top: 0px;
}

button#btn-toggle {
    z-index: 1;
    position: absolute;
    transform: rotate(-90deg);
    left: -80px;
    top: 180px;
    border-radius: 10px 10px 0px 0px;
    border: none;
    font-size: 14px;
    background: #646464;
    outline: none;
    
}

.wrapper-menu-float {
    transition: 0.3s all;
}

.wrapper-menu-float.active {
    right: 0 !important;
}

.cw-chat-window.opened.login {
    right: 10% !important;
    z-index: 999999;
}

select.select_program {
    background: unset;
    border: unset;
    padding: 10px;
    font-family: 'Lato';
    font-size: 40px;
    color: #fff;
    border-bottom: 1px solid;
    border-radius: unset;
    margin-left: 20px;
    font-weight: 700;
}

select.select_program option {
    color: #000;
}

select.select_program:focus {
    outline: unset;
}

select.dropdown-megafinance {
    padding: 10px 20px;
    border-radius: 15px;
    border: 1px solid #f99e1d;
    font-family: 'Lato';
}

.form-footer .gform_wrapper.gravity-theme .gform_footer, 
.form-footer .gform_wrapper.gravity-theme .gform_page_footer {
    display: none;
}

.card-loop a {
    width: 100%;
}

.orange-shape {
    position: relative;
}

.orange-shape:before {
    content:'';
    width: 80%;
    height: 100%;
    background: #F99D1C;
}

span.swiper-pagination-bullet {
    width: 50px;
    height: 5px;
    border-radius: 5px;
    transition: 0.3s all;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 80px;
    background: #f99e1d;
}

/*Slider Homepage*/
.item-carousel-homepage {
    position: relative;
}

.meta-carousel-homepage {
    position: absolute;
    bottom: 20%;
    width: 35%;
    background: #737272eb;
    padding: 2em;
    color: #fff;
    font-family: 'Lato';
    border-radius: 20px;
}

.image-carousel-homepage {
    width: 90%;
    right: 0;
    top: 0;
    margin-left: 10%;
}

.image-carousel-homepage img {
    height: 600px;
    object-fit: cover;
    border-radius: 30px;
}

.meta-carousel-homepage > h3 {
    font-weight: 700;
    font-size: 40px;
}

.meta-carousel-homepage > p {
    margin: 20px 0;
}

.meta-carousel-homepage > a {
    padding: 10px 25px;
    border-radius: 10px;
    display: inline-block;
    color: #fff;
    font-weight: 700;
    background-image: linear-gradient(to right, #FFD400 20%, #F99D1C  100%);
    font-size: 15px;
}

.carousel-homepage .owl-nav {
    position: absolute;
    right: 0;
    bottom: 5%;
    right: 5%;
}

.carousel-homepage .owl-nav > button > span {
    font-size: 30px;
}

.carousel-homepage .owl-dots button {
    margin-right: 10px;
}

.carousel-homepage .owl-dots span {
    height: 7px;
    width: 40px;
    background: #CBCBCB;
    display: inline-block;
    border-radius: 10px;
    transition: 0.3s all;
}

.carousel-homepage .owl-dots button.active span,
.carousel-homepage .owl-dots button:hover span {
    width: 70px;
    background: #fa9f1d;
}

.carousel-homepage .owl-dots {
    position: absolute;
    bottom: 5%;
    left: 15%;
}

/*Grid Product*/
.grid-product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-family: 'Lato';
}

.item-grid-product {
    width: 48%;
    border-radius: 10px;
    overflow: hidden;
    padding: 1em;
    margin-bottom: 1.5em;
    height: 220px;
    position: relative;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.item-grid-product > h5 {
    font-size: 30px;
    font-weight: 600;
}

.item-grid-product > p {
    transition: 0.3s all;
}

.item-grid-product > a {
    padding: 10px 20px;
    background: #f36f22;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 10px 0px 0px 0px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s all;
    bottom: -40px;
    opacity: 0;
}

.item-grid-product:hover > a {
    bottom: 0;
    opacity: 1;
    color: #fff;
}

/*Carousel*/
.owl-dots button {
    margin: 0 5px;
}

.owl-dots span {
    height: 7px;
    width: 40px;
    background: #CBCBCB;
    display: inline-block;
    border-radius: 10px;
    transition: 0.3s all;
}

.owl-dots button.active span,
.owl-dots button:hover span {
    width: 70px;
    background: #fa9f1d;
}

.owl-nav > button > span {
    padding: 10px;
    background: #fa9e1d;
    color: #fff;
}

.owl-carousel button,
.owl-carousel button:focus {
    outline: unset;
}

.owl-nav > button:hover > span,
.owl-nav > button.disabled > span {
    background: #fecc06;
}

.owl-nav > button.owl-prev > span {
    border-radius: 10px 0px 0px 10px
}

.owl-nav > button.owl-next > span {
    border-radius: 0px 10px 10px 0px
}

.carousel-promo .owl-nav {
    position: absolute;
    left: -44%;
    top: 40%;
}

.carousel-award .owl-nav {
    position: absolute;
    left: -44%;
    top: 60%;
}

.item-carousel-manfaat {
    height: 350px;
    background-size: cover;
    background-position: center;
    padding: 1em;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.item-carousel-manfaat:before {
    content:'';
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0.9;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(255,255,255,1) 100%);
}

.meta-carousel-manfaat {
    position: relative;
    margin-bottom: 1em;
    font-family: 'Lato';
    font-weight: 700;
    color: #fa9f1d;
}

.meta-carousel-manfaat > h4 {
    color: #646464;
    font-weight: 700;
}

.carousel-manfaat .owl-nav {
    position: absolute;
    right: 0;
    top: -20%;
}

.carousel-manfaat .owl-stage {
    margin: 0 auto;
}

/*Kalkulator Angsuran Roda Dua*/
.inline-form {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 10px 0;
}

.inline-form > select {
    width: 50%;
    border-radius: unset;
    border: unset;
    border-bottom: 1px solid;
    color: #FF9800;
    font-weight: 700;
}

.wrap-kalkulator-angsuran img {
    width: 85%;
    margin-top: -120px;
}

.wrap-kalkulator-angsuran .row > div {
    position: relative;
}

.meta-hasil-angsuran {
    position: absolute;
    bottom: 30%;
    width: 70%;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    padding: 1em;
    background: #F3F3F3;
    border-radius: 15px;
}

.wrap-kalkulator-angsuran {
    margin-top: 3em;
    background: #fff;
    padding: 2em;
    border-radius: 20px;
    -webkit-box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.1);
}

.wrap-kalkulator-angsuran * {
    font-family: 'Lato';
    font-size: 20px;
}

.wrap-kalkulator-angsuran h3 {
    font-weight: 700;
    font-size: 25px;
    color: #FF9800;
}

.wrap-kalkulator-angsuran input[type="text"] {
    width: 50%;
    border: unset;
    border-bottom: 1px solid;
    border-radius: unset;
    color: #FF9800;
    font-weight: 700;
}

.inline-form > select:focus,
.wrap-kalkulator-angsuran input[type="text"]:focus {
    outline: none;
}

.wrap-kalkulator-angsuran button {
    border: unset;
    font-size: 16px;
    display: block;
    width: 100%;
    margin-top: 3em;
    padding: 1em;
}

.wrap-kalkulator-angsuran > .row {
    align-items: center;
}

.item-carousel-laporan {
    height: 400px;
    background-size: cover;
    padding: 2em;
    border-radius: 20px;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.item-carousel-laporan:before {
    content: '';
    height: 100%;
    width: 100%;
    background: #000;
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0.2;
}

.item-carousel-laporan > h4 {
    color: #fff;
    font-family: 'Lato';
    font-weight: 700;
    font-size: 35px;
    position: relative;
}

.carousel-laporan .owl-dots,
.carousel-gallery .owl-dots {
    padding: 2em 0;
    text-align: center;
}

.item-carousel-gallery img {
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

.wrap-tab-surat .nav-pills .nav-link.active, 
.wrap-tab-surat .nav-pills .show>.nav-link,
.wrap-tab-surat .nav-pills .nav-link:hover {
    background: unset;
    color: #fff;
    transition: 0.3s all;
}

.wrap-tab-surat .nav-pills .nav-link {
    padding: 0.6em 0;
    border-bottom: 1px solid #ffffff42;
    border-radius: unset;
    color: #fff;
    font-size: 20px;
    
}

.wrap-tab-surat .nav-pills .nav-link > img {
    height: 30px;
    float: right;
    margin-right: 20px;
    transition: 0.3s all;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}

.wrap-tab-surat sup {
    font-weight: 700;
    margin-right: 10px;
}

.wrap-tab-surat .nav-pills .nav-link.active img, 
.wrap-tab-surat .nav-pills .show>.nav-link img,
.wrap-tab-surat .nav-pills .nav-link:hover img {
    margin-right: 0;
    filter: unset;
}

div#v-pills-tab {
    padding: 0.8em;
    background: #646464;
    border-radius: 15px;
}

.wrap-tab-surat {
    padding: 1em 0;
    font-family: 'Lato';
}

.wrap-tab-surat .content-tab {
    padding: 1em 0;
}

.header-content-tab {
    font-size: 25px;
    font-weight: 700;
}

.header-content-tab sup {
    color: #A0A0A0;
    font-weight: 400;
}

div#v-pills-tabContent {
    padding: 1em;
}

ul#nav-team {
    justify-content: center;
    font-family:'Lato';
}

ul#nav-team li {
    margin: 5px;
}

ul#nav-team.nav-pills .nav-link {
    border-radius: 15px;
    padding: 0.5em 1.5em;
    font-weight: 700;
    margin: 0 10px;
    border: 1px solid #646464;
    color: #646464;
}

ul#nav-team.nav-pills .nav-link.active, 
ul#nav-team.nav-pills .show>.nav-link {
    background: #646464;
    color: #fff;
    -webkit-box-shadow: 0px 0px 19px -6px rgba(0,0,0,0.43);
    -moz-box-shadow: 0px 0px 19px -6px rgba(0,0,0,0.43);
    box-shadow: 0px 0px 19px -6px rgba(0,0,0,0.43);
}

div#tab-team {
    font-family:'Lato';
}

div#tab-team.tab-content>.tab-pane > h4 {
    font-weight: 700;
    color: #646464;
    margin: 1em 0;
    font-size: 30px;
}

div#tab-team.tab-content>.tab-pane {
    padding:unset;
}

/*Carousel Milestone*/
.item-carousel-milestone {
    font-family: 'Lato';
    position: relative;
    padding: 0 20px;
}

.item-carousel-milestone:before {
    content:'';
    width: 100%;
    height: 1px;
    background: #CBCBCB;
    position: absolute;
    top: 10%;
}

.owl-item:last-child .item-carousel-milestone:before {
    display: none;
}

.title-bullet {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    width: 40%;
    padding: 0.5em;
    border-radius: 10px;
    -webkit-box-shadow: 0px 10px 12px -3px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 10px 12px -3px rgba(0,0,0,0.25);
    box-shadow: 0px 10px 12px -3px rgba(0,0,0,0.25);
}

.title-bullet img {
    height: 20px;
    width: auto !Important;
}

.title-bullet h5 {
    margin: 0 10px;
    font-size: 15px;
    font-weight: 700;
}

.meta-milestone > h2 {
    font-weight: 700;
    color: #fa9f1d;
    margin: 1em 0;
}

.carousel-milestone {
    padding-top: 3em;
}

.carousel-milestone .owl-nav {
    position: absolute;
    right: 0;
    top: 0;
}

#nav-nilai.nav-pills .nav-link {
    font-weight: 700;
    font-family: 'Lato';
    font-size: 20px;
    border-radius: 10px;
    background: #fff;
    color: #A0A0A0;
}

#nav-nilai.nav-pills .nav-link:hover,
#nav-nilai.nav-pills .nav-link.active, 
#nav-nilai.nav-pills .show>.nav-link {
    background-color: #646464;
    color: #fff;
}

#nav-nilai li.nav-item {
    margin: 0px 5px;
}

.content-nilai {
    font-family: 'Lato';
    display: flex;
    padding: 1em 0;
}

.content-nilai img {
    height: 40px;
    margin-right: 20px;
}

.meta-nilai {
    color: #fff;
}

.meta-nilai h6 {
    font-weight: 700;
    font-size: 25px;
}

/*Map Cabang*/
.wrap-map-cabang {
    background-position: center;
    background-size: cover;
    height: 500px;
    display: block;
    position: relative;
    font-family: 'Lato';
}

.item-point-map {
    position: absolute;
    text-align: center;
    cursor: pointer;
    display: inline-block;
}

.meta-point-map {
    cursor: auto;
    left: -240px;
    width: 500px;
    bottom: 30px;
    height: 200px;
    overflow-y: scroll;
    transition: 0.3s all;
    position: absolute;
    background: #646464;
    padding: 1em;
    border-radius: 15px;
    color: #fff;
    font-size: 14px;
    text-align: left;
    z-index: 100;
    display: none;
    margin-bottom: 5px;
}

.meta-point-map p {
    margin-bottom: 15px;
}

span.shape-point {
    display: inline-block;
    height: 20px;
    width: 20px;
    left: 0;
    right: 0;
    top: -10px;
    background: #646464;
    margin: 0 auto;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    position: absolute;
    z-index: 1;
    display: none;
}

.item-point-map.active span.bullet-point-map:before {
    content:'';
    height: 15px;
    width: 15px;
    background: #646464ad;
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    margin: 0 auto;
    clip-path: polygon(100% 0, 0 0, 50% 100%);
}

.btn-point-map.hidden {
    display: none;
}

.btn-point-map {
    position: relative;
    z-index: unset;
    visibility: hidden;
    transition: 0.3s all;
    opacity: 0;
    margin-top: 15px;
}

.item-point-map.active .btn-point-map {
    visibility: visible;
    opacity: 1;
    margin-top: 5px;
    z-index: 4;
}

a.btn-map {
    font-weight: 600;
    color: #fff;
    background: #fa9f1d;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
}

a.btn-map:hover {
    color: #fff;
}

.meta-point-map h6 {
    font-weight: 700;
}

span.bullet-point-map {
    background: #FFD400;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    border: 4px solid #707070;
    position: relative;
    cursor: pointer;
    z-index: unset;
}

.item-point-map.active span.bullet-point-map {
    z-index: 9;
    background: #f37022;
}


@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {

    .cw-chat-window.opened.login {
        right: 0% !important;
        z-index: 999999;
    }

    .meta-carousel-homepage {
        width: 50%;
    }

    .item-grid-product {
        height: 200px;
    }

}

@media only screen and (max-width: 480px) {
    .inline-form {
        display: block;
    }

    .inline-form > select {
        width: 100%;
    }
    
    .wrap-kalkulator-angsuran input[type="text"] {
        width: 100%;
    }

    .image-team img {
        height: 200px;
    }

    button#btn-toggle {
        left: -70px;
        top: 130px;
        
    }

    .cw-chat-window.opened.login {
        right: 0% !important;
        z-index: 999999;
    }
    
    .item-point-map {
        transform: scale(0.4);
    }
    
    .wrap-map-cabang {
        height: 220px;
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    .item-grid-product > a {
        opacity: 1;
        bottom: 0;
    }

    .wrap-kalkulator-angsuran * {
        font-size: 17px;
    }

    .wrap-kalkulator-angsuran {
        margin-top: unset;
    }

    .wrap-kalkulator-angsuran img {
        width: 100%;
        margin-top: 30px;
    }

    .meta-hasil-angsuran {
        bottom: 20%;
        width: 90%;
        text-align: center;
    }

    .wrap-kalkulator-angsuran input[type="text"] {
        text-align: center;
    }

    .orange-shape:before {
        width: 100%;
    }

    .image-carousel-homepage {
        margin-left: unset;
        width: 100%;
    }

    .image-carousel-homepage img {
        height: 250px;
        border-radius: 15px;
    }

    .carousel-homepage .owl-nav > button > span {
        font-size: 20px;
    }

    .meta-carousel-homepage {
        left: 0;
        right: 0;
        margin: 0 auto;
        position: relative;
        top: -70px;
        width: 90%;
    }

    .meta-carousel-homepage > h3 {
        font-size: 20px;
    }

    .carousel-homepage .owl-dots,
    .carousel-homepage .owl-nav {
        top: 22%;
        bottom: unset;
    }

    .carousel-promo .owl-nav {
        position: relative;
        left: unset;
        top: unset;
        text-align: center;
    }

    .carousel-award .owl-nav {
        position: relative;
        left: unset;
        top: unset;
        text-align: center;
    }

    .item-grid-product {
        width: 100%;
        height: 200px;
    }

    select.select_program {
        font-size: 20px;
        margin: unset;
        padding: unset;
    }

}

