/* =================================================================== */
:root {
    --blue: #4e73df;
    --cyan: #36b9cc;
    --teal: #009688;
    --red: #e74a3b;
    --green: #1cc88a;
    --purple: #6f42c1;
    --deep-purple: #673ab7;
    --orange: #fd7e14;
    --light-blue: #03a9f4;
    --light-green: #8bc34a;
    --amber: #ffc107;
    --black: black;
}

::-webkit-scrollbar {
    width: 0.5rem;
    background-color: #F1F1F1;
}

::-webkit-scrollbar-thumb {
    background-color: #4285F4;
}
/* =================================================================== */
.blue-text-c {
    color: var(--blue);
} 
.red-text-c {
    color: var(--red);
} 
.purple-text-c {
    color: var(--purple);
} 
.green-text-c {
    color: var(--green);
} 
.orange-text-c {
    color: var(--orange);
}
.cyan-text-c {
    color: var(--cyan);
}
.teal-text-c {
    color: var(--teal);
}
.deep-purple-text-c {
    color: var(--deep-purple);
}
.light-blue-text-c {
    color: var(--light-blue);
}
.light-green-text-c {
    color: var(--light-green);
}
.amber-text-c {
    color: var(--amber);
}
.black-text-c {
    color: var(--black) !important;
}

.bg-black {
    background-color: var(--black);
}
/* =================================================================== */
body, html {
    height: 100vh;
}

.content {
    border-top: 4px solid #007bff;
}

.gambar-profile {
    margin-top: -0.2rem;
    padding: 1rem;
}

.field-icon {
    position: absolute;
    display: inline-block;
    cursor: pointer;
    right: 1.1rem;
    top: 0.5rem;
    color: black;
    z-index: 2;
}  
/* =================================================================== */
.opacity {
    opacity: 0.6;
}

.soal img {
	max-width: 100%;
}

/* .active {
    color: #007bff !important;
}

.page-link:focus {
    background-color: #4285f4 !important;
}

.href:hover {
    background-color: #007bff;
    color: white !important;
    transition: 0.3s ease-in;
} */
.table-border-gray th, .table-border-gray td{
	border-color: #dddddd !important;
}

.table-border-black th, .table-border-black td{
	border-color: #000 !important;
}
/* =================================================================== */
.progress-label {
    margin-top: 1em;
    margin-bottom: 0;
}

.progress-label:first-of-type {
    margin-top: 0;
    margin-bottom: 0;
}
/* =================================================================== */
.tabs {
    color: white!important;
}

.tabs.active {
    border-radius: 0;
    background-color: white!important;
    color: #007bff!important;
}

.tabs-2 {
    /* border-radius: 0 !important; */
    color: black!important;
    background-color: #EFEFEF;
}

.tabs-2.active {
    background-color: #007bff!important;
    color: white!important;
}
/* =================================================================== */
@media (min-width: 576px) {
    .card-columns {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .card-columns {
        column-count: 3;
    }
}
/* =================================================================== */
.group_soal {
    display: none;
}

.soal_active {
    display: block !important; 
}

.min-height {
    min-height: 85vh;
}

/* The container */
.option {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: auto;
    margin-right: .25rem;
}

/* Hide the browser's default radio button */
.option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35px;
    width: 35px;
    text-align: center;
    border: 1px solid gray;
    background-color: white;
    border-radius: 50%;
}

.icon {
    display: none;
    color: white;
}

.checkmark-label {
    display: inline-block;
    height: 100%;
}

.checkmark.r_1 .checkmark-label {
    padding-top: .5vh;
}

.checkmark.r_2 .checkmark-label {
    padding-top: .7vh;
}

.checkmark.r_3 .checkmark-label {
    padding-top: 1vh;
}

.checkmark.r_4 .checkmark-label {
    padding-top: 1.1vh;
}

.checkmark.r_5 .checkmark-label {
    padding-top: 1.3vh;
}

.r_1 {
    height: 3.5vh;
    width: 3.5vh;
}

.r_2 {
    height: 4vh;
    width: 4vh;
}

.r_3 {
    height: 4.5vh;
    width: 4.5vh;
}

.r_4 {
    height: 5vh;
    width: 5vh;
}

.r_5 {
    height: 5.5vh;
    width: 5.5vh;
}

.checkmark_red {
    border: 1px solid red;
}

.checkmark_green {
    border: 1px solid green;
}

.checkmark_n {
    border: double 1px transparent;
    border-radius: 80px;
    background-image: linear-gradient(white,white), linear-gradient(to right,red,green);
    background-origin: border-box;
    background-clip: content-box, border-box;
}

.agree:hover input ~ .checkmark {
    background-color: green;
}

.disagree:hover input ~ .checkmark {
    background-color: red;
}

.neutral input:checked  ~ .checkmark_n, .neutral:hover input ~ .checkmark_n {
    background-image: linear-gradient(to right, red,green), linear-gradient(to right,red,green);
}

.disagree input:checked ~ .checkmark {
    background-color: red;
}

.agree input:checked ~ .checkmark {
    background-color: green;
}

.option:hover input ~ .checkmark .checkmark-label {
    color: white;
}

.option input:checked ~ .checkmark .icon {
    display: inline;
}

.option input:checked ~ .checkmark .checkmark-label {
    display: none;
}
/* =================================================================== */
#skor {
    padding-left: 0;
    list-style: none;
    counter-reset: my-awesome-counter;
}
#skor li {
    counter-increment: my-awesome-counter;
}
#skor li::before {
    content: counter(my-awesome-counter);
    font-weight: bold;
}

.sticky-legend {
    top: 10vh;
    right: 10vw;
    position: fixed;
    font-size: 1.8vh;
}

#counter {
    top: 10vh;
    right: 10vw;
    position: fixed;
    font-size: 2vh;
}
/* =================================================================== */
.picker__select--month, .picker__select--year {
	height: 100%;
}

.picker__day {
    font-weight: 400;
}
      
/* =================================================================== */
.border-bottom-dotted {
    border-bottom: 0.5px dotted black;
}

.border-bottom-solid {
    border-bottom: 0.5px solid black;
}

.p_d, .p_i, .p_s, .p_c, 
.k_d, .k_i, .k_s, .k_c,
.c_d, .c_i, .c_s, .c_c
{
    background-color: black;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}

connection {
    border: 1px solid #007bff;
    border-radius: 31px;
}
/* =================================================================== */
.float-button {
    position: fixed;
    right: 3rem;
    bottom: 5rem;
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    line-height: 60px;
}

#free-notif {
    top: 8vh;
    right: 1vw;
    position: fixed;
    z-index: 999;
}

@media (max-width: 576px) {
    #free-notif {
        top: 5.5vh;
        right: 0;
    }

    .sticky-legend {
        top: 6vh;
        right: 10vw;
    }
}
/* =================================================================== */
.custom-loading {
    background: #efefef;
    color: #666666;
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 5000;
    top: 0;
    left: 0;
    float: left;
    text-align: center;
    padding-top: 50vh;
    opacity: .80;
}

.btn-custom-1 {
    padding: 1rem;
}

.column-auto-width {
    width: 1%; 
    white-space: nowrap;
}

.form-mhs{
    width: 100%;
}

@media (max-width: 767px) {
    #cardStyle {
        height: 100vh; /* Set the card height to fill the viewport */
        overflow-y: auto; /* Enable vertical scrolling */
        padding-bottom: 20px; /* Add padding to avoid content getting cut off by footer */
        box-sizing: border-box; /* Ensure padding and border are included in height */
    }
    
    /* Optional: Ensure the footer is positioned correctly */
    footer {
        position: relative;
        z-index: 1;
    }
    
}

@media (max-width: 1000px) {
    #cardStyle {
        height: 100vh; /* Set the card height to fill the viewport */
        overflow-y: auto; /* Enable vertical scrolling */
        padding-bottom: 20px; /* Add padding to avoid content getting cut off by footer */
        box-sizing: border-box; /* Ensure padding and border are included in height */
    }
    
    /* Optional: Ensure the footer is positioned correctly */
    footer {
        position: relative;
        z-index: 1;
    }
    
}

