/* ELEMENT */

html{
    scroll-behavior: smooth;
}

body {
    background-image: url('../assets/img/patern/4.png');
}

/* ID */

#topbar{
    background-color:#009933;
    font-size: 14px;
}

#topbar a{
    color: white;
}

#navbar{
    background-color: white;
}


#wabtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 220px;
    right: 27px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #00cc33;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    width:40px;
    height: 40px;
    font-size: 14px;
    animation: fadeIn 0.5s;
}

#telbtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 175px;
    right: 27px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: rgb(146, 98, 98);
    color: white;
    cursor: pointer;
    border-radius: 10px;
    width:40px;
    height: 40px;
    font-size: 14px;
    animation: fadeIn 0.5s;
}

#igbtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 130px;
    right: 27px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: rgb(42, 42, 165);
    color: white;
    cursor: pointer;
    border-radius: 10px;
    width:40px;
    height: 40px;
    font-size: 14px;
    animation: fadeIn 0.5s;
}

#upbtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 27px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    cursor: pointer;
    border-radius: 100%;
    width:40px;
    height: 40px;
    font-size: 14px;
    animation: fadeIn 0.5s;
}

@media (max-width: 576px) { 
    #card-info{
        margin-top: -2vh;
    }
}

@media (min-width: 576px) { 
    #card-info{
        margin-top: -5vh;
    }
}

/* CLASS */

.btn-green{
    color: white;;
    background-color:#00cc33;
}

.btn-green:hover{
    color: white;;
    background-color:#006e1c;
}

.font-header{
    font-weight: bold;
}

.nav-item.active a{
    color: #00cc33 !important;
}

@media (max-width: 576px) { 
    .banner-img{
        height: 20vh;
    }
}

@media (min-width: 576px) { 
    .banner-img{
        height: 75vh;
    }
}

@media (max-width: 576px) { 
    .kamar-img{
        height: 30vh;
    }

    .partner-img{
        width: 20vh;
        display: inline-block;
        border: 2px solid #009933;
        border-radius: 10px;
    }
    
    .tentang-img{
        height: 40vh;
    }

    .table-jadwal{
        height: 75vh;
    }
}

@media (min-width: 576px) { 
    .kamar-img{
        height: 60vh;
    }

    .partner-img{
        width: 30vh;
        display: inline-block;
        border: 2px solid #009933;
        border-radius: 10px;
    }

    .radius20left{
        border-top-left-radius:20px;
        border-bottom-left-radius:20px;
    }
    
    .radius20right{
        border-top-right-radius:20px;
        border-bottom-right-radius:20px;
    }

    .tentang-img{
        height: 50vh;
    }

    .dokter-card{
        height: 45vh;
    }

    .table-jadwal{
        height: 50vh;
    }
}

.radius20{
    border-radius:20px;
}

.radius10{
    border-radius:10px;
}

.radius20top{
    border-top-left-radius:20px;
    border-top-right-radius:20px;
}

.radius10top{
    border-top-left-radius:10px;
    border-top-right-radius:10px;
}

.berita-img{
    height: 50vh;
}

.berita-img-small{
    height: 15vh;
    border-radius: 10px;
}

.profile-dokter-img {
    border: 3px solid goldenrod;
    margin: 0 auto;
    padding: 3px;
    width: 100px;
}

/* ANIMATION */

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideout {
    from {
        margin-right: 50%;
    }

    to {
        margin-right: 100%;
    }
}