@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC&display=swap');
/********** Template CSS **********/
:root {
    --primary: white;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

h6{
    font-family: 'Roboto';
}

.font-roboto{
    font-family: 'Roboto';
}

.text-dark{
    color: #333333!important;
}

.margin-top-default{
    margin-top: 100px;
}

.padding-nav{
    padding: 20px;
}

.width-28{
    width: 28%!important;
}

.background-blue{
    background-color: #2975A0;
}

.bg-outline-blue{
    border: 2px solid #2975A0;
}

.color-blue{
    color: #2975A0!important;
}

.radius-10{
    border-radius: 10px;
}

.radius-5{
    border-radius: 5px;
}

.no-border{
    border: 0px;
}



.color-green-pastel{
    color: #0D5964;
}

.w-47{
    width: 47%;
}

.height-4{
    height: 4px!important;
}

.height-2{
    height: 2px!important;
}

.border-left-0{
    border-left: 0px;
}

.border-right-0{
    border-right: 0px;
}

.new-section{
    border-top:  3px solid #f2f2f2;
    border-bottom:  3px solid #f2f2f2;
}

/* FONT SIZE */

.font-size-12{
    font-size: 12px;
}

.font-size-40{
    font-size: 40px;
}

.font-size-50{
    font-size: 50px;
}

.font-size-60{
    font-size: 60px;
}

/* FONT WEIGHT */

.font-weight-500{
    font-weight: 500;
}

.font-weight-600{
    font-weight: 600;
}

/* SWEET ALERT */

.swal2-confirm{
    color:black!important;
    width: 100px!important;
    border: 1px solid #888888!important;
}

.swal2-cancel{
    width: 100px!important;
}

.bg-gradient-orange{
    background: linear-gradient(180deg, rgba(255,147,0,0.1) 0%, rgba(255,192,0,1) 10%, rgba(255,197,0,1) 100%);
}

.mt--20{
    margin-top:-20%;
}

.mt--23{
    margin-top:-23%;
}

@media (min-width: 900px) {
    body{
        margin-left: 450px;
        margin-right: 450px;
        background: white!important;
    }
    .padding-nav{
        margin-left: 450px;
        margin-right: 450px;
        border: 1px solid #f2f2f2;
        border-bottom: 0px;
    }

    .background{
        border: 1px solid #f2f2f2;
    }

    .insert_border{
        border: 1px solid #f2f2f2;
    }

    .for-loading{
        position: fixed;
        z-index: 2000;
        display: none;
        background-color:rgba(0, 0, 0, 0.5);
        width: 100%;
        height: 100vh;
        margin-left: -460px;
    }

    .loading {
        display: block;
        top: 40%;
        left: 50%;
        border: 10px solid #f3f3f3;
        border-radius: 50%;
        border-top: 10px solid #2975A0;
        width: 80px;
        height: 80px;
        -webkit-animation: spin 2s linear infinite; /* Safari */
        animation: spin 2s linear infinite;
        position: relative;
        z-index: 99;
    }
}

.ps-10px{
    padding-left: 10px!important;
}

@media (max-width: 768px) {
    .for-loading{
        position: fixed;
        z-index: 3000;
        display: none;
        background-color:rgba(0, 0, 0, 0.5);
        width: 100%;
        height: 100vh;
    }

    .loading {
        display: block;
        top: 30%;
        left: 40%;
        border: 10px solid #f3f3f3;
        border-radius: 50%;
        border-top: 10px solid #2975A0;
        width: 80px;
        height: 80px;
        -webkit-animation: spin 2s linear infinite; /* Safari */
        animation: spin 2s linear infinite;
        position: relative;
        z-index: 99;
    }
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gradient-background{
    position:absolute;
    width: 90%;
    top:0;
    bottom: 0;
    right: 0px;
    border-radius: 10px;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 10%, rgba(0,0,0,0.7) 100%);
}

.label-kelas{
    font-size: 24px;
    font-weight: 500;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0%, -50%); text-align: end;
}

.img-fit{
    width: 100%;
    height: 150px;
    object-position: center;
    object-fit: none;
}


/* for mcu */

.border-radius-10{
    border-radius: 10px;;
}

.footer-mcu{
    height: 40px;
    border-radius:0px 0px 10px 10px;
    background:rgba(0, 0, 0, 0.5);
}

.detail-mcu{
    top:10px;
    right:10px;
    border-radius:10px;
    background:rgba(0, 0, 0, 0.5);
}

.desc-mcu{
    top:70px;
    font-size:12px;
}

.card-detail-mcu{
    background: rgb(105,204,252);
    background: linear-gradient(145deg, rgba(105,204,252,1) 34%, rgba(21,178,254,1) 100%);
}

.min-height-200{
    min-height: 200px;
}

.frb-group {
    /*margin: 15px 0;*/
}

/*.frb ~ .frb {
    margin-top: 15px;
}*/

.frb input[type="radio"]:empty,
.frb input[type="checkbox"]:empty {
    display: none;
}

.frb input[type="radio"] ~ label,
.frb input[type="checkbox"] ~ label {
    position: relative;
    cursor: pointer;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 20px;
    background-color: #f2f2f2;
}

.frb input[type="radio"] ~ label:before,
.frb input[type="checkbox"] ~ label:before {
    font-family: FontAwesome;
    content: '';
    position: absolute;
    top: 35%;
    margin-top: -11px;
    left: 15px;
    font-size: 22px;
    color:#b0b0b0;
    font-size: 32px;
}

.frb input[type="radio"]:checked ~ label:before,
.frb input[type="checkbox"]:checked ~ label:before {
    content: '';
    color:#085C54;
    font-size: 32px;
}

.frb input[type="radio"]:checked ~ label,
.frb input[type="checkbox"]:checked ~ label {
    color: #fafafa;
}

.frb input[type="radio"]:checked ~ label,
.frb input[type="checkbox"]:checked ~ label {
    background-color: #f2f2f2;
}

.frb.frb-default input[type="radio"]:checked ~ label,
.frb.frb-default input[type="checkbox"]:checked ~ label {
    color: #333;
}

.frb.frb-primary input[type="radio"]:checked ~ label,
.frb.frb-primary input[type="checkbox"]:checked ~ label {
    background-color: #2975A0;
    box-shadow: 0 5px 20px 0 rgba(136, 144, 195, 0.3);
}


.frb input[type="radio"]:empty ~ label span,
.frb input[type="checkbox"]:empty ~ label span {
    display: inline-block;
}

.frb input[type="radio"]:empty ~ label span.frb-title,
.frb input[type="checkbox"]:empty ~ label span.frb-title {
    font-size: 16px;
    font-weight: 700;
    /*margin: 5px 5px 5px 5px;*/
}

.frb input[type="radio"]:empty ~ label span.frb-description,
.frb input[type="checkbox"]:empty ~ label span.frb-description {
    font-weight: bold;
    /*font-style: italic;*/
    color: #999;
    /*margin: 0px 5px 5px 5px;*/
}

.frb input[type="radio"]:empty:checked ~ label span.frb-description,
.frb input[type="checkbox"]:empty:checked ~ label span.frb-description {
    color: #fafafa;
}

.frb.frb-default input[type="radio"]:empty:checked ~ label span.frb-description,
.frb.frb-default input[type="checkbox"]:empty:checked ~ label span.frb-description {
    color: #999;
}