
@import "googleapis.css";

/*color*/
/*#3498db (purple)
#2980b9 (accent)

#3498db (blue peter river)
#2980b9 (accent)*/

html, body {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

* {
    box-sizing: border-box;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.divider-welcome {
    width: 60%;
}

.download-link {
    color: #3498db;
    cursor: pointer;
    transition: .3s;
}


.download-link:visited {
    color: #3498db;
    outline: 0;
}

.download-link:hover {
    color: #2980b9;
    outline: 0;
}

.download-link:active {
    color: #3498db;
    outline: 0;
}

.download-link:focus {
    color: #3498db;
    outline: 0;
}

#form-content {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

.table-shadow {
    margin: 0;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

table th {
    text-align: center;
}

table tr {
    background-color: #fff;
}

table td {
    background-color: #fff;
    transition: .3s;
}

dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
dt {
    text-align: right;
    width: 25%;
    padding-right: 10px;
}
dd {
    margin-left: auto;
    width: 75%;
}

.dt-keluarga {
    width: 26% !important;
}

.dd-keluarga {
    width: 74% !important;
}

#footer {
    background-color: #777;
    padding-left: 250px;
    margin-top: 20px;
    width: 100%;
    font-size: 12px;
    color: #fff;
    transition: 0.3s;
}

#footer.active {
    padding-left: 0px;
}

.wrapper {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.select2-container {
    width: 100% !important;
}

.my-statistik {
    font-family: 'Arial'
}

.my-card {
    border: 1px solid #3498db;
}

.my-card2 {
    box-shadow: none;
    border: none;
}

.my-card-header {
    color: #fff;
    background-color: #3498db;
    cursor: pointer;
    transition: all 0.3s;
}

.my-card-header:hover {
    background-color: #2980b9;
}

.sub-my-card-header {
    color: #000;
    background-color: #fff;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.sub-my-card-header:hover {
    background-color: #ddd;
}

.sub-card-body {
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.padding-sub-card {
    margin-top: 10px;
}

.card-header-dashboard {
    height: 40px; 
    width: 90%; 
    position: absolute; 
    background-color: #3498db; 
    top: -20px; 
    color: #fff; 
    border-radius: 3px; 
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

.card-header-text {
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50% , -50%); 
    -webkit-transform: translate(-50%, -50%);
}

.row .dashboard-spacing-35 {
    margin-bottom: 0px;
}

hr.dashboard-spacing-35 {
    margin-bottom: 35px;
}

.sm-overlay {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.sm-overlay.active {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
}

.loading-overlay {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 80; 
    height: 100%; 
    width: 100%; 
    background-color: rgba(255, 255, 255, 0.7);
    display: none;
} 

.loading-overlay.active {
    display: block;
} 

.loader {
    top: 44px;
    height: 4px;
    width: 100%;
    z-index: 85; 
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    display: none;
}
.loader.active {
    top: 44px;
    height: 4px;
    width: 100%;
    z-index: 85; 
    position: relative;
    overflow: hidden;
    background-color: #ddd;
    display: block;
}
.loader:before{
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: #3498db;
    animation: loading 2s linear infinite;
}
  
@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}

/*+---------------------------+
  |                           |
  |    Landing Page & Login   |
  |                           |
  +---------------------------+*/

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: #eee;
}

.login-wrapper {
    width: auto; 
    height: auto; 
    background-color: rgba(0, 0, 0, .3); 
    border: 1px solid #fff; 
    border-radius: 5px; 
    padding: 35px 20px 20px 20px;
}

.form-login-input::placeholder {
    color: rgba(255,255,255,.5);
    opacity: 1;
}

.form-login-input {
    background-color: transparent;
    border: 1px solid #fff; 
    color: white;
}

.form-login-input:focus {
    background-color: rgba(0,0,0,.3);
    border: 1px solid #fff; 
    color: white;
}

.btn-login {
    border-radius: 5px;
    border: 1px solid white;
    width: 100%;
    background-color: transparent;
    color: #fff;
    outline: 0;
    padding: 7px 10px;
    cursor: pointer;
    transition: .3s;
}


.btn-login:hover {
    background-color: rgba(255,255,255,.3);
    outline: 0;
}

.btn-login:disabled {
  background-color: rgba(0,0,0,.7);
  color: #666666;
  outline: 0;
  cursor: not-allowed;
}

.password-login {
    margin-bottom: 10px;
    margin-top: 20px;
}

.error-login {
    color: #ff0000;
    font-size: 14px;
}

.btn-show-pw {
    outline: none;
    cursor: pointer;
}

.btn-show-pw:hover {
    background-color: #ddd;
}

.btn-batuan {
    border: 1px solid white;
}
.btn-batuan:hover {
    color: white;
    background-color: rgba(255,255,255,.3);
    outline: 0;
}



/*+---------------------------+
  |                           |
  |          Sidebar          |
  |                           |
  +---------------------------+*/

  #sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    position: fixed;
    overflow-y: auto;
    top: 0;
    left: 0;
    z-index: 90;
    background: #3498db;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px
}

.sidebar-user {
    background-color: #2980b9;
    margin: 10px 10px 10px 10px;
}

.sidebar-user a{
    display: block;
    padding: 20px 20px 0px 20px;
    margin: 0px;
    font-size: .9em;
    transition: all .1s;
}

.sidebar-user span{
    display: block;
    padding: 0px 10px 20px 20px;
    margin: 0px;
    font-size: .8em;
    transition: all .1s;
}

#sidebar .sidebar-header a {
    display: block;
    padding: 6px 0px;
    margin: 0px;
    font-size: 20px;
    align-items: center;
    text-align: center;
    transition: all .1s;
}

#sidebar .sidebar-header a:hover {
    background-color: #2980b9;
}

#sidebar hr {
    margin: 0px 20px;
    border-bottom: 1px solid ;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar  .my-ul {
    margin: 20px 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: .8em;
    display: block;
    color: #fff;
    transition: all 0.3s;
}
#sidebar ul li a:hover {
    color: #fff;
    background-color: #2980b9;
}

#sidebar ul ul li a {
    padding: 10px;
    display: block;
    color: rgba(255,255,255,.5);
    transition: all 0.3s;
    font-size: 0.8em;
    padding-left: 30px !important;
    background: #2980b9;
}
#sidebar ul li a:hover {
    color: rgb(255,255,255);
    background-color: #2980b9;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #2980b9;
}

#sidebar ul li a i {
    width: 20px;
    text-align: center;
}

#sidebar ul li a span {
    padding-left: 10px;
}

.side-icon {
    line-height: 1.5em;
    float:right;
}

.my-notif {
    font-style: normal;
    font-size: .8em;
    font-family: Arial, Helvetica, sans-serif;
    background-color: red;
    color: white;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/*+---------------------------+
  |                           |
  |           Header          |
  |                           |
  +---------------------------+*/

#header {
    background: #ffffff;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
    z-index: 90;
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 250px;
    padding-right: 250px;
    transition: all .3s;
    width: inherit;
}

#header.active {
    margin-left: 0px;
    padding-right: 0px;
}

.navbar {
    height: 44px;
    padding: 10px;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
    cursor: pointer;
}

#sidebarCollapse {
    width: 30px;
    height: 30px;
    background: transparent;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.3s ease-in-out;
}

#sidebarCollapse span:first-of-type {
    /* rotate first one */
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    /* second one is not visible */
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    /* rotate third one */
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    /* no rotation */
    transform: none;
    /* all bars are visible */
    opacity: 1;
    margin: 3px auto;
}

.input-lg {
    display: block;
}

.input-mn {
    display: none;
}

.nama-lg {
    display: inline-block;
    line-height: 2.6em;
}

.nama-mn {
    display: none;
}

/*+---------------------------+
  |                           |
  |          Content          |
  |                           |
  +---------------------------+*/
  
  #content {
    width: 100%;
    padding: 64px 0px 20px 250px;
    min-height: 100vh;
    margin-bottom: -44px;
    transition: all 0.3s;
}

.dashboard-table {
    width: 250px;
}

.page-item {
    z-index: 10;
}

#content.active {
    padding: 64px 0px 5px 0px;
}

.toolbar {
    margin-bottom: 5px;
    background: #fff;
    padding: 10px 10px;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.toolbar .col-sm-12 {
    padding: 0px;
}

.action-btn {
    margin: 0 5px;
    outline: none !important;
    text-decoration: none;
}

.modal-footer .action-btn {
    font-size: 14px;
    padding: 10px;
}

.accordion-dashboard {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

.btn-green-age {
    background-color: #2ecc71;
    color: #fff;
    transition: all 0.3s;
    width: 100%;
}


.btn-green-age:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green-age:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-green-age:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green {
    background-color: #2ecc71;
    color: #fff;
    transition: all 0.3s;
}


.btn-green:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-green:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green:active {
    background-color: #2ecc71;
    color: #fff;
}

.btn-green i {
    padding-right: 10px;
}

.btn-yellow {
    background-color: #f1c40f;
    color: #fff;
    transition: all 0.3s;
}


.btn-yellow:visited {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow:hover {
    background-color: #f39c12;
    color: #fff;
}

.btn-yellow:focus {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow:active {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd {
    background-color: #f1c40f;
    color: #fff;
    transition: all 0.3s;
}

.btn-yellow-2nd:link {
    background-color: #f1c40f;
    color: #fff;
    transition: all 0.3s;
}

.btn-yellow-2nd:visited {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd:hover {
    background-color: #f39c12;
    color: #fff;
}

.btn-yellow-2nd:focus {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd:active {
    background-color: #f1c40f;
    color: #fff;
}

.btn-yellow-2nd span {
    padding-bottom: 2px;
    padding-top: 2px;
}


.btn-blue {
    background-color: #3498db;
    color: #fff;
    line-height: 0.9em;
    transition: all 0.3s;
}


.btn-blue:visited {
    background-color: #3498db;
    color: #fff;
}

.btn-blue:hover {
    background-color: #2980b9;
    color: #fff;
}

.btn-blue:focus {
    background-color: #2980b9;
    color: #fff;
}

.btn-blue:active {
    background-color: #3498db;
    color: #fff;
}

.btn-blue span {
    padding-bottom: 2px;
    padding-top: 2px;
}

.btn-alert {
    margin-right: -43px;
}

.btn-add {
    background-color: #2ecc71;
    color: #fff;
    transition: all 0.3s;
}


.btn-add:visited {
    background-color: #2ecc71;
    color: #fff;
}

.btn-add:hover {
    background-color: #27ae60;
    color: #fff;
}

.btn-add:focus {
    background-color: #2ecc71;
    color: #fff;
}

.btn-add:active {
    background-color: #2ecc71;
    color: #fff;
}


.btn-disable {
    background-color: rgba(18,80,44,.5)t;
    color: #fff;
    cursor: not-allowed;
}

#btn-search {
    font-size: 20px;
    line-height: 1em;
}

#btn-edit {
    background-color: #3498db;
    color: #fff;
    transition: all 0.3s;
}

#btn-edit:hover {
    background-color: #2980b9;
}

#btn-del {
    background-color: #e74c3c;
    color: #fff;
    transition: all 0.3s;
}

.btn-del-row {
    background-color: #e74c3c;
    color: #fff;
    transition: all 0.3s;
}

#btn-del:hover {
    background-color: #c0392b;
}

.btn-row-keluarga {
    margin-top: 30px;
    padding: 5px 10px;
}

#btn-submit {
    width: 200px;
}

.my-radio {
    padding-top: 7px;
}

.my-radio div label {
    padding-top: 2px;
}

.my-checkbox {
    padding-left: 10px;
    padding-bottom: 10px;
    outline: none;
}

.age-input {
    outline: none;
    border: 1px solid #aaa;
    line-height: 1.6em;
    width: 100%;
}

.search-input {
    outline: none;
    border: 1px solid transparent;
    line-height: 1.6em;
    width: 0%;
    transition: all 0.3s;
}

.search-input.active {
    width: 30%;
}

.search-input:focus {
    border-bottom: 1px solid #aaa;
}

.form-pdd {
    padding: 10px 10px 0px 10px;
}

.form-warning {
    font-family: "Arial", sans-serif;
    font-size: 14px;
    margin: -10px 0px 0px 10px;
    font-weight: bold;
}

.red-aster {
    color: #ff0000;
    font-weight: bold;
}

.table {
    margin: 0px;
    padding: 0px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.new-input {
    margin-top: 5px;
}

.span_err {
    margin: 0px;
    padding: 2px 0px 0px 5px;
    color: #ff0000;
    position: absolute;
}

.form_err {
    border: 2px solid #ff0000;
}

.float{
    position:fixed;
    width:40px;
    height:40px;
    bottom:75px;
    right:27px;
    background-color:#e74c3c;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    z-index: 10000;
    transition: all 0.3s;
}

.float:hover{
    background-color: #c0392b;
    color:#FFF;
}

.float:focus{
    color: #fff;
}

.my-float{
    margin-top:13px;
}

.alert-delete{
    margin-bottom: 0px;
    margin-top: 10px;
}

.label-keluarga {
    font-family: 'Poppins', sans-serif;
    font-size: 23px; 
}


/*+---------------------------+
  |                           |
  |        Autocomplete       |
  |                           |
  +---------------------------+*/


/*.ui-corner-all
{
    border-radius: 4px 4px 4px 4px;
}*/

.ui-widget
{
    font-size: 15px;
    font-family: "Arial", sans-serif;
    text-transform: uppercase;
}
.ui-menu
{
    display: block;
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 2px;
}
.ui-autocomplete
{
     overflow-x: hidden;
      max-height: 200px;
      width:1px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #fff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    /*-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;*/
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}
.ui-menu .ui-menu-item
{
    clear: left;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
.ui-menu .ui-menu-item a
{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    cursor: pointer;
    background-color: #ffffff;
}
.ui-menu .ui-menu-item a:hover
{
    display: block;
    padding: 3px 3px 3px 3px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    background-color: #3498db;
}
.ui-widget-content a
{
    color: #222222;
}

@media (max-width: 1023px) {
    dl {
        display: block;
        margin: 0px;
    }

    dt {
        text-align: left;
        width: 20%;
    }

    dd {
        width: 80%;
        margin: 0px 0px 10px 0px;
    }

    .dt-keluarga {
        width: 100% !important;
    }

    .dd-keluarga {
        width: 100% !important;
    }

    .container-fluid {
        margin-top: -8px;
    }

    .error-login {
        color: #ff0000;
        font-size: 14px;
        font-weight: 700;
    }

    .dashboard-table {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    #sidebar {
        overflow-y: auto;
        margin-left: -250px;
        height: 100%;
        transform: rotateY(100deg);
    }

    #sidebar.active {
        margin-left: 0;
        transform: none;
    }

    #header {
        margin-left: 0px;
        padding-right: 0px;
        transition: all 0.3s;
    }

    #header.active {
        margin-left: 250px;
        padding-right: -250px;
    }

    .container-fluid {
        margin-top: -8px;
    }

    #content {
        width: 100%;
        padding: 64px 0px 20px 0px;
        min-height: 100vh;
        margin-bottom: -44px;
        transition: all 0.3s;
    }

    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 3px auto;
        transition: all 0.3s;
    }

    #sidebarCollapse.active span {
        margin: 0 auto;
    }

    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }

    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }

    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }

    .search-input {
        outline: none;
        border: none;
        line-height: 1.6em;
        width: 0%;
        transition: all 0.3s;
    }

    .search-input.active {
        width: 50%;
    }

    .input-lg {
        display: none;
    }

    .input-mn {
        display: block;
        width: 12px;
    }

    .nama-lg {
        display: none;
    }

    .nama-mn {
        display: inline-block;
        line-height: 2.6em;
    }

    .btn-green i {
        padding: 0px;
    }

    .btn-yellow i {
        padding: 0;
        margin-left: -1px;
    }

    .btn-blue i {
        padding: 0px;
        margin-left: -1px;
    }

    .btn-del-keluarga {
        margin-top: 0px;
        height: auto;
        float: right;
    }

    dl {
        display: block;
        margin: 0px;
    }

    dt {
        text-align: left;
        width: 100%;
    }

    dd {
        width: 100%;
        margin: 0px 0px 10px 0px;
    }

    .dt-keluarga {
        width: 100% !important;
    }

    .dd-keluarga {
        width: 100% !important;
    }

    #footer {
        padding: 0px;
        margin: 20px 0px 0px 0px;
        width: 100%;
    }

    .row .dashboard-spacing-35 {
        margin-bottom: 35px;
    }

    .sm-overlay {
        position: fixed; 
        top: 0px; 
        left: 0px; 
        z-index: 80; 
        height: 100%; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.3);
        display: none;
    }
    
    .sm-overlay.active {
        position: fixed; 
        top: 0px; 
        left: 0px; 
        z-index: 80; 
        height: 100%; 
        width: 100%; 
        background-color: rgba(0, 0, 0, 0.3);
        display: block;
    }

    .accordion-dashboard {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 30px;
    }

    .my-statistik {
        font-family: 'Arial';
        padding: 0;
    }

    .h4-form {
        width: 100%;
    }
}

@media (max-width: 375px){
    .login-wrapper {
        margin-left : 20px;
        margin-right : 20px;
    }

    .divider-welcome {
        width: 90%;
    }

    .moto {
        font-size: 1em;
    }
}