/* imports */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Serif:ital,wght@1,300&family=Roboto+Condensed:wght@500&display=swap');

/*Globals*/
html, body {
    font-family: "Lato", sans-serif;
    margin: 0;
    padding: 0;
}

button {
    padding: 7px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid black;
}

.empty-message {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    display: none;
}

.title {
    font-size: 40px;
}

/*Group Seach Bar*/
.group-search-bar-container {
    display: none;
}

.search-icon {
    height: 28px;
    margin-left: 13px;
    margin-top: 15px;
    padding: 2px;
    position: absolute;
    
}

.group-search-bar {
    border-radius: 10px;
    padding: 11px;
    margin-top: 10px;
    text-align: center;
    width: 280px;
    font-size: 13px;

    display: inline-block;
}

.group-search-bar::placeholder {
    font-size: 12px;
    color: black
}

/*Sidebar*/
.homepage-sidebar {
    padding: 12px;
    height: 110vh;
    top: -1%;
    position: fixed;

    z-index: 2;
    
}

.initiate-sidebar-button {
    height: 30px;
    right: 0%;
    margin-top: 5px;
}

.sidebar-options {
    padding: 10px;
    margin-top: 12px;
    border-radius: 8px;
    background-color: white;
    display : none;
    text-align: center;

    width: "180px";
}

.screen-blocker {
    background-color: rgba(10, 10, 10, 0.582);
    position: fixed;
    height: 110vh;
    width: 100vw;
    
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 1;

}

.hapus-data-sidebar-button{
    margin-top: 10px;
}

.lapor-masalah-sidebar-button{
    margin-top: 50px;
    
}
/* history */

.history-search-bar-container { /* initially history search bar container is hidden */
    display: none;
}

.history-search-bar {
    border-radius: 10px;
    padding: 11px;
    margin-top: 10px;
    text-align: center;
    width: 45%;
    font-size: 13px;

    display: inline-block;
}

.history::placeholder {
    font-size: 12px;
    color: black
}

.select-year-history {
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 15%;
    margin-right: 15px;
}


.select-month-history {
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    width: 40%;
}

.no-history-message {
    display: none;
    margin-top: 20px;
}


.history-record{
    padding: 10px;
    min-height: 10px;
    min-width: 10px;
}

.history-record-card {
    border: 4px solid rgb(214, 203, 100);
    border-radius: 10px;
    padding: 10px;
    margin-top: 16px;
    margin-left: 10px;
    margin-right: 10px;
    color: white;

    display: inline-block;
    width: 300px;

    background-image: url("assets/history-card-bg.png");
    background-position: 28% 40%;

    vertical-align: top;
}

.history-picture-frame {
    border-radius: 10px;
    max-width: 80%
}

/* Page Options */

.group-container {
    margin-top: 50px;
    margin-bottom: 80px;
    padding: 15px;
    width: 93%;
    min-height: 500px;
    border-radius: 10px;
    background-color: rgb(255, 239, 249);
    border: solid 3px rgb(235, 169, 213);

    text-align: center;
}

.history-container {
    margin-top: 50px;
    margin-bottom: 80px;
    padding: 20px;
    width: 93%;
    min-height: 500px;
    border-radius: 10px;
    background-color: rgb(255, 251, 239);
    border: solid 3px rgb(228, 221, 123);

    text-align: center;
    display: none;
}

/*Card*/
.card {
    border-radius: 10px;
    min-height: 20px;
    max-width: 300px;
    border: 2px solid rgb(54, 151, 70);
    display: inline-block;
    padding: 20px;
    background-color: white;

    margin-left: 10px;
    margin-right: 10px;
    margin-top: 20px;
    margin-bottom: 20px;

    vertical-align:top;
    align-items: center;

}

.card textarea {
    font-family: sans-serif;
    padding: 10px;
    border-radius: 10px;
    text-align: center;

    line-height: 1.5;

    max-width: 80%;

    background-color: white;
}


.card input {
    border-radius: 10px;
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    overflow-wrap: break-word;

    max-width: 80%;
}

.card select {
    padding: 6px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
}

.card .main-group-options[disabled][saved|="Jasmine"]{
    color: white;
    appearance: none;
    background-color: rgb(217, 53, 209);
}

.card .main-group-options[disabled][saved|="BI"]{
    color: white;
    appearance: none;
    background-color: rgb(44, 151, 18);
}

.card .select-all-button {
    background-color: rgb(52, 180, 219);
    color: white;
    font-weight: bold;

    padding: 8px 18px 8px 18px;
    margin-top: 5px;
    border: none;
}

.card .gabungan-honbu-container {
    width: 80%;
    padding: 10px;
    border-radius: 10px;
    border: solid black 1px;
    display: none;

    margin-top: 10px;

}

.card .gabungan-honbu-selected-container {
    width: 95%;
    padding: 1px;
    margin: 10px;
}

.gabungan-honbu-single-unit {
    border-radius: 10px;
    border: solid black 1px;
    margin: 3px;
    margin-top: 6px;
    margin-left: 4px;
    margin-right: 4px;

    width: 42%;
    text-align: center;
    
    display: inline-block;
}

.nama-honbu-gabungan-single-unit { /* p element inside div */
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.card .delete-single-unit-honbu-gabungan {
    background-color: rgb(25, 228, 228);
    color: white;

    padding: 5px 6px 5px 6px;
    border: none;

    font-size: 9px;
    font-weight: 700;

    margin-bottom: 5px;
}

.card select, textarea, input {
    margin-top: -10px;
}

.edit-only-display {
    margin-top: 10px;
    margin-bottom: 2px; /* dont need to use br this way */
}

.group-utama {
    margin-bottom: 20px;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}


.switch-mode-button {
    margin-top: 60px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
}

.card-action-button-container {
    margin-top: -10px
}

.tambah-anggota-button {
    border: none;
    padding: 10px 30px 10px 30px;
    color: white;
    background-color: rgb(15, 184, 226);
    margin-top: -10px;
}

.delete-group-button {
    background-color: rgb(209, 0, 0);
    border-radius: 10px;
    margin-left: 3px;
    padding: 10px;
    border: none;
    color: white;

    margin-top: 40px;

}

.delete-individual-anggota-button {
    background-color: rgb(209, 0, 0);
    border-radius: 10px;
    margin-left: 3px;
    padding: 5px;
    border: none;
    color: white;

}

.select-only {
    visibility: hidden;
}

input[type="checkbox"] {
    accent-color: rgb(102, 235, 142);
    color: white;
    
}   



.upload-only-display {
    display: none;
}


/*Group actions container*/

.group-actions-container {
    position: fixed;
    right: -90px;
    bottom: 20%;
    text-align: center;

    background-color: white;
    padding: 2px 15px 2px 6px;
    height: 180px;
    border-radius: 10px;
    border: 2px solid rgb(76, 180, 206);

    transition: 0.8s;
}

.group-actions-button-container {
    display: inline-block;
    margin-top: 50%;
}

.group-actions-button-container button{
    padding: 0px 7px 0px 7px;
    border: 2px solid rgb(63, 151, 173);
}

.group-actions-arrow{
    display: inline-block;
    height: 30px;
    vertical-align: top;
    margin-top: 50%;
    margin-right: 10px;
    
}


/*Upload part of group card*/

.upload-container {
    border: 1px solid black;
    border-radius: 10px;
    margin-top: 20px;
    padding: 10px;
    transition: 1s;
}

.upload-data-button {
    background-color: rgb(15, 184, 226);
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 35px 10px 35px;
}

.upload-gambar-container {
    width: 85%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.upload-gambar-preview {
    border: 1px solid black;
    border-radius: 10px;

    min-height: 130px;

    background-image: url("assets/add-picture.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.upload-gambar-input {
    display: none;
}

.meet-date-selection {
    font-family: "Lato", sans-serif;;
}

.hapus-gambar-button {
    display: none;
    
    margin-top: 10px;
    background-color: rgb(209, 0, 0);
    color: white;
    border-radius: 10px;
    border: none;

    font-size: 10px;
}

/*footer, there is a mobile setting */ 
.footer-background {
    background-image: url('assets/footer_background.jpg');
    height: 80px;
    width: 100%;
    
    margin-top: 3vh;
}   



/*Originally invisible*/

.shibu-options-container {
    display: none;
}

.dl-options-container {
    display: none;
}

.upload-screen-blocker {
    position: fixed;
    width: 100%;
    height: 110%;
    
    background-color: rgba(10, 10, 10, 0.753);
    z-index: 5;

    margin-top: -50px;
    display: none;
}

.upload-screen-blocker .message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: 10px;
    border: 2px solid rgb(63, 63, 63);

    padding: 10px;
    width: 40%;
    min-height: 70%;

    background-color: rgb(255, 255, 255);
}

.upload-screen-blocker .message .option {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.upload-screen-blocker .message img {
    height: 90px;
}

.upload-screen-blocker .message h3 {
    font-size: 18px;
}

.upload-screen-blocker .message .hide_button {
    padding: 12px 50px 12px 50px;
    margin-top: 20px;
    font-size: 15px;
}

.upload-screen-blocker .message .suggestion-message {
    font-size: 14px;
}

/*animation for waiting text */
.waiting-text {
    animation: MoveUpDown 2s linear infinite;
}

@keyframes MoveUpDown {
    0%, 100% {
        transform: translateY(0);
      }

    50% {
        transform: translateY(-10px);
    }
}

/* animation for loading circle*/

*, ::after, ::before { -webkit-box-sizing: border-box; box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }


/* Loader 2 */
.loader-2 {
    display: block;
      height: 32px;
      width: 32px;
      -webkit-animation: loader-2-1 3s linear infinite;
              animation: loader-2-1 3s linear infinite;

  }

  @-webkit-keyframes loader-2-1 {
      0%   { -webkit-transform: rotate(0deg); }
      100% { -webkit-transform: rotate(360deg); }
  }
  @keyframes loader-2-1 {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }
  .loader-2 span {
      display: block;
      position: absolute;
      top: 0; left: 0;
      bottom: 0; right: 0;
      margin: auto;
      height: 32px;
      width: 32px;
      clip: rect(16px, 32px, 32px, 0);
      -webkit-animation: loader-2-2 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
              animation: loader-2-2 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
  }
  @-webkit-keyframes loader-2-2 {
      0%   { -webkit-transform: rotate(0deg); }
      100% { -webkit-transform: rotate(360deg); }
  }
  @keyframes loader-2-2 {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }
  .loader-2 span::before {
      content: "";
      display: block;
      position: absolute;
      top: 0; left: 0;
      bottom: 0; right: 0;
      margin: auto;
      height: 32px;
      width: 32px;
      border: 3px solid transparent;
      border-top: 3px solid #3ae8f5;
      border-radius: 50%;
      -webkit-animation: loader-2-3 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
              animation: loader-2-3 1.5s cubic-bezier(0.770, 0.000, 0.175, 1.000) infinite;
  }
  @-webkit-keyframes loader-2-3 {
      0%   { -webkit-transform: rotate(0deg); }
      100% { -webkit-transform: rotate(360deg); }
  }
  @keyframes loader-2-3 {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }
  .loader-2 span::after {
      content: "";
      display: block;
      position: absolute;
      top: 0; left: 0;
      bottom: 0; right: 0;
      margin: auto;
      height: 32px;
      width: 32px;
      border: 3px solid rgba(48, 216, 228, 0.5);
      border-radius: 50%;
  }



