body{
}
/*-------- login area ----------------*/
.frame_login{
    border-radius: 10px;
    padding: 5px 5px;
    width: 50%;
    max-width: 500px;
    min-width: 300px;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
}
.header_login{
    float:left;
    margin:5px 5px 0px 5px;
    width:98%;
    background:#3c763d;
/*    background:#0000ff;*/
    padding:10px;
    border-radius:5px 5px 0px 0px;
    color:white;
}
.main_login{
    float:left;
    clear:both;
    margin:0px 5px;
    padding:20px;
    width:98%;
    border-left:solid 1px #CCCCCC;
    border-right:solid 1px #CCCCCC;
}
.footer_login{
    float:left;
    clear:both;
    margin:0px 5px 5px 5px;
    width:98%;
    min-height:50px;
    padding:20px 20px 0px 20px;
    background:#3c763d;
/*    background:#0000ff;*/
    border-radius:0px 0px 5px 5px;

}
/*------------- halaman utama -----------------*/
.wrapper{
    width:100%;
}
.header{
    width:100%;
    float:left;
    background:#3c763d;
/*    background:#0000ff;*/
    position: fixed;
    z-index: 100;
    color:white;
    box-shadow: 10px 10px 5px white;
    padding: 10px;
}
.header img{
    width:50px;
    height:auto;
    margin-left: auto;
    margin-right: auto;
}
.header_login img{
    width:70px;
    float:left;
    position: relative;
    height:auto;
}
.content{
    width:100%;
    float:left;
    margin-top:10px;
}
.footer{
    width:100%;
    float:left;
    position: inherit;
}
.mainmenu{
    padding-top: 105px;
    float:left;
    min-width: 230px;
    margin-left:10px;
    margin-right:15px;
    z-index: 3;
    position: fixed;
    display: block
}
.list-group{
    max-height: 500px;
    overflow: auto;
}
.modals{
    z-index: 4;
}

.content_area{
    padding-top: 105px;
    float:right;
    width:100%;
    z-index: 2;
    padding-left: 250px;
    position: absolute;
    padding-right:8px;
}
.header_stock{
    width:50px;
}

/*btn-menu*/
.btn-menu{
    background-color: #3c763d;
    color: white;
    border: black;
}
.btn-menu:hover{
    color: white;
    background-color: red;
}
.btn-menu:focus{
    color: white;
}

/*header fixed*/
.fixed{
    top:0;
    position:fixed;
    width:auto;
    display:none;
    border:none;
    background-color:white;
}

#header-fixed {
    position: fixed;
    top: 0px; display:none;
    background-color:white;
}

/*fixed search*/
.wrap {
    width: 320px;
    border: 1px solid #ccc;
    height: 480px;
    overflow: auto;
    position: relative;
}
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 60px;
    .menu-icon {
        position: absolute;
        top: 0;
        right: 0;
        padding: 18px 20px;
    }
    .fix-search & {
        background: #eee;
    }
}

.search {
    position: absolute;
    top: 155px;
    left: 20px;
    right: 20px;
    input {
        width: 265px;
        border: 1px solid #ccc;
        padding: 8px;
        font-size: 15px;
        transition: width 0.2s;
        -webkit-appearance: none;
    }
    .fix-search & {
        position: fixed;
        top: 10px;
        input {
            width: 250px;
        }
    }
}

.top {
    height: 250px;
    padding-top: 40px;
}
.hero {
    width: 200px;
    height: 100px;
    background: #ccc;
    margin: 0 auto;
}

main {
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    div {
        width: 125px;
        height: 80px;
        background: #ccc;
        margin: 0 0 20px 0;
    }
}

/*PAGINATION*/
#pagination li{
    list-style: none;float:left;
}
#pagination li a{
    padding: 10px;margin: 2px;
    text-decoration: none;
    background: #3c763d;
    float:left;
    color: white;
}
#pagination li a:hover{
    padding: 10px;margin: 2px;
    text-decoration: none;
    background:burlywood;
    color: white;
    float:left;
}
#pagination li strong{
    padding: 10px;margin: 2px;
    background: burlywood;list-style: none;float:left;
}

.item_laporan{
    padding: 10px 10px;
    text-decoration: none;
    background: #c2d6d6;
    margin-right: 15px;
    text-align: center;
    color:#1f1f14;
    min-height: 60px;
    border-radius: 2px;
    font-weight: bold;
}

.item_laporan:hover{
    padding: 10px 10px;
    text-decoration: none;
    background: rosybrown;
    margin-right : 15px;
    text-align: center;
    color:#ffffff;
    border-radius: 2px;
    font-weight: bold;
}

.dasboard_message{
    padding: 50px 0px;
    text-align: center;
}

.form_area{
    border: solid 1px #CCCCCC;
    padding: 10px;
    border-radius: 2px;
    margin: 10px 0px;
}

#daftar_pengeluaran_kecil{
    display: none;
}


#form_tambah_obat{
    display: block;
}

#form_tambah_obat_mini{
    display: none;
}

#daftar_pengeluaran_obat_mini{
    display: none;
}

#daftar_pengeluaran_obat{
    display: block;
}

#instansi_penerima_kecil{
        display: none;
    }

@media only screen and (max-width: 700px) {

    .mainmenu{
        padding-top: 0px;
        float:left;
        width: 96%;
        z-index: 2;
        margin-left: 2%;
        margin-right: 2%;
        max-height: none;
        position: inherit;
        display: none;
    }


    .content_area{
        float:left;
        width:98%;
        z-index: 2;
        padding-top: 0px;
        padding-left: 0px;
        position: inherit;
        margin-left: 2%;
        margin-right: 2%;
    }

    .header{
        position: inherit;
        width:100%;
        float:left;
        background:#3c763d;
        z-index: 2;
        color:white;
        box-shadow: 10px 10px 5px white;
        padding: 10px;
    }
    .footer{
        display: none;
    }

    .list-group{
        max-height: none;
    }

    #form_tambah_faktur form table tr td{
        width: 100%;
    }


    #daftar_pengeluaran{
        display: none;
    }

    #daftar_pengeluaran_kecil{
        display: block;
    }

    .menu_but{
        display: block;
    }

    #form_tambah_obat{
        display: none;
    }

    #form_tambah_obat_mini{
        display: block;
    }

    #daftar_pengeluaran_obat_mini{
        display: block;
    }

    #daftar_pengeluaran_obat{
        display: none;
    }

    #instansi_penerima_besar{
        display: none;
    }

    #instansi_penerima_kecil{
        display: block;
    }

    /* Remove margins and padding from the list, and add a black background color */
    ul.topnav {
        list-style-type: none;
        margin: 10px 10px 10px 10px;
        padding: 0;
        overflow: hidden;
        background-color: #333;
    }

    /* Float the list items side by side */
    ul.topnav li {float: left;}

    /* Style the links inside the list items */
    ul.topnav li a {
        display: inline-block;
        color: #f2f2f2;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        transition: 0.3s;
        font-size: 17px;
    }

    /* Change background color of links on hover */
    ul.topnav li a:hover {background-color: #555;}

    /* Hide the list item that contains the link that should open and close the topnav on small screens */
    ul.topnav li.icon {display: none;}

    /* When the screen is less than 680 pixels wide, hide all list items, except for the first one ("Home"). Show the list item that contains the link to open and close the topnav (li.icon) */
    @media screen and (max-width:680px) {
        ul.topnav li:not(:first-child) {display: none;}
        ul.topnav li.icon {
            float: right;
            display: inline-block;
        }
    }

    /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens */
    @media screen and (max-width:680px) {
        ul.topnav.responsive {position: relative;}
        ul.topnav.responsive li.icon {
            position: absolute;
            right: 0;
            top: 0;
        }
        ul.topnav.responsive li {
            float: none;
            display: inline;
        }
        ul.topnav.responsive li a {
            display: block;
            text-align: left;
        }
    }


}

/* Aditional CSS for table fixed header */
.fixed_headers {
    background-color: wheat;
    color: black;
}
.content_container{
    overflow: auto;
    max-height: 400px;
}

.print_right{
    float: right;
    margin-bottom: 10px;
}
