/* for handphone devices */
@media screen and (max-width: 320px) {
    footer {
        text-align: center;
    }

    #f-categories {
        font-size: 12px;
    }

    #f-contactus {
        font-size: 12px;
    }

    #copyright {
        padding: 11px 0;
        background: #000d39;
        margin-top: 35px;
        font-size: 10px;
    }

    .logo {
        width: 150px !important;
        height: 22px !important;
    }

    .btn-group {
        visibility: hidden;
    }

    .nav-item {
        text-align: center !important;
        font-size: medium !important;
    }

    .nav-item>a {
        font-size: medium !important;
    }

    .dropdown-item {
        font-size: 14px !important;
    }

    .dropdown-menu {
        text-align: center !important;
    }

    #homepage {
        padding-top: 15px;
    }


    /* custom */
    .updateimg .logo {
        width: 120px !important;
        height: 18px !important;
    }


    .btn-sm {
        font-size: 6px !important;
    }
}

@media (min-width: 321px) and (max-width: 767px) {
    footer {
        text-align: center;
    }

    #f-categories {
        font-size: 12px;
    }

    #f-contactus {
        font-size: 12px;
    }

    #copyright {
        padding: 11px 0;
        background: #000d39;
        margin-top: 35px;
        font-size: 13px;
    }

    .logo {
        width: 150px !important;
        height: 22px !important;
    }

    .btn-group {
        visibility: hidden;
    }

    .dropdown-menu {
        text-align: center !important;
    }

    .nav-item {
        text-align: center !important;
        font-size: medium !important;
    }

    .nav-item>a {
        font-size: medium !important;
    }

    .dropdown-item {
        font-size: 14px !important;
    }

    #homepage {
        padding-top: 15px;
    }

    /* custom */
    .updateimg .logo {
        width: 150px !important;
        height: 22px !important;
    }
}


body {
    font-family: 'Montserrat', sans-serif !important;
}

/* navbar */
nav {
    transition: 0.3s all ease;
}

.navbar-nav>.active>a {
    color: black;
    background-color: transparent;
}

.navbar-nav>li>a {
    color: white;
    background-color: transparent;
}

.nav-item>a:hover {
    color: black;
}

.dropdown-menu {
    background-color: rgb(72, 177, 223, 0.7);
    border-color: transparent;
}

.dropdown-menu li a {
    color: white;
}

.dropdown-menu li a:hover {
    color: black;
    background-color: transparent;
}


.updatefontcolor .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(72,177,223)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* footer */
footer {
    background: #4a6dd2;
    color: white;
    padding-top: 10px;
}

footer .copyright {
    padding: 25px 0;
    background: #000d39;
    margin-top: 75px;
    font-size: 16px;
}

footer .categories li {
    margin: 19px 0;
}

#f-link:hover {
    color: black;
}

#f-link {
    color: white;
}


/* custom */
.updatefontcolor .nav-link {
    color: black !important;

}

.updatefontcolor .btn-pc {
    color: black !important;
    border-color: #48b1df !important;
}

.btn-pc:hover {
    color: black !important;
    border-color: black !important;
}

.updatefontcolor .btn-pc:hover {
    color: #48b1df !important;
    border-color: #48b1df !important;
}


.updatefontcolor .btn-lang {
    color: white !important;
    border-color: transparent !important;
    background-color: #48b1df !important;
}

.updatefontcolor .navbar-nav>.active>a {
    color: #48b1df !important;
}

.updatefontcolor .navbar-nav>li>a {
    color: black !important;
}

.updatefontcolor .nav-item>a:hover {
    color: #48b1df !important;
}

.logo {
    background-image: url('logo2.png');
    width: 280px;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
}

.updateimg .logo {
    background-image: url('logo1.png');
    width: 280px;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
}

#cover {
    position: relative;
    text-align: center;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-cta-3:hover {
    background-color: #48b1df !important;
    border-color: transparent !important;
}

.btn-cta-2:hover {
    background-color: #045689 !important;
    border-color: transparent !important;
}

.btn-cta-2:hover>a {
    color: white !important;
}

.btn-cta-1:hover {
    background-color: white !important;
    border-color: transparent !important;
}

.btn-cta-1:hover>a {
    color: #045689 !important;
}