/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Dec 30, 2023, 8:27:02 AM
    Author     : jcoch
*/

/* These Classes are for background colors and borders on the certificate "4 corners" */
.publishedCert{
    background-color: rgba(237, 225, 43, .1);
}

/* aka draft */
.registeredCert{
    background-color: rgba(15, 30, 255, 0.1);
}

.transferredCert{
    background-color: rgba(15, 255, 30, 0.1);

}
/*aka Cleared*/
.redeemedCert{
    background-color: rgba(15, 31, 30, 0.1);

}

.cancelledCert{
    background-color: rgba(255, 31, 15, 0.1);

}



#certImages{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

#certImages > iframe{
    margin-top: 5px;
    margin-right: 5px;
}

#certStatusMessage{
    font-size: large;
    color: rgba(15, 30, 255, 0.9);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 0 5px 0;
    width: 100%;
    text-align: center;
}

#tokenCertificate{
    margin-top: 10px;
    padding: 10px 5px 10px 5px;
    border: 5px solid rgba(237, 225, 43, .93);
}



#tokenTags{
    margin-left: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

#certHeaderRow{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

#certHeaderRow > div{
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    font-size: large;
}

#certHeaderRow span{
    letter-spacing: 1px;
}

#tokenCertificate span{
    font-weight: 900;
    margin-left: 3px;
    background-color: rgba(15, 30, 255, 0.01);

}

#certBody{
    margin-left: 20px;
    margin-top: 20px;
    padding-bottom: 50px;
}

.canceled span{
    text-decoration: line-through;
}

.waterMark{
    background-image: url(../images/ACESwatermarkWHITE.png);
    background-position: left top;

}

#certBody > div{
    margin-top: 10px;
    width: 80%;
}

#QRDiv{
    width: 150px;
    height: 150px;
    margin: auto;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(125,125,125,0.8);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;

}

#certLogo{
    width: 40px;
    height: 40px;
}

#tokenCertActions{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 10px 0;
    margin: auto;
    margin-top: 5px;
    flex-wrap: wrap;

}

#tokenCertActions button{
    padding: 5px 20px 5px 20px;
    font-size: large;
    color: white;
    font-variant: small-caps;

}

#tokenCertActions button:disabled{
    background-color: lightgray;
}


#uploadForm{
    margin: auto;
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    width: 90%;
    max-width: 480px;

}

#uploadForm button{
    padding: 20px;
    border: 2px solid white;
    background-color: black;
    color: white;
    font-weight: 800;
}

#image{
    padding: 10px;
    border: 2px solid black;
    font-weight: 800;
}


#imageProof{
    width: 100px;
    height: 100px;
    background-position: center;
    background-size: contain;
}

#imageFileDiv > div > div{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#uploadPicButton{
    width: 80px;
}

#uploadPicButton:disabled{
    background-color: gray;
}

.certImageDiv{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid black;
    padding: 2px;
    margin-bottom: 12px;
}

.certImageDiv button{
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: red;
    border: 2px solid black;
    color: white;
    font-weight: 600;
}

.redeemClass div{
    width: 100%;
    display: flex;
    justify-content: center;
}

.redeemClass button{
    padding: 5px 20px 5px 20px;
    font-size: large;
    background-color: black;
    color: white;
    font-variant: small-caps;
    margin-top: 10px;

}

.redeemClass button:disabled{
    background-color: lightgray;
}

.redeemCodeVerifyNumberBox{
    width: 30px;
    font-size: x-large;
    margin-left: 10px;
    text-align: center;
}

.logo{
    background-position: center;
    background-size: contain;
    background-image: url(../images/ACES_v4.png);
}

.classTagDiv{
    padding: 5px;
    background-color: rgba(55, 155, 0, 0.3);
    border: 1px solid blue;
    border-radius: 15px;
    color: blue;
    width: 120px;
    text-align: center;
    margin-left: 5px;
}

.reClassDiv{
    background-color: rgba(35, 155, 155, 0.3);
    color: black;
}

.redeemCodeDiv{
    display: flex;
    justify-content: center;
    font-size: x-large;
    font-weight: 900;
    letter-spacing: 5px;
    font-variant-caps: unicase;
}

.loadBarAnimation{
    animation-name: loading;
    animation-duration: 2s;
    width: 240px;
    height: 32px;
    margin: auto;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;

}


#confirmRemovePictureModal{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index:9999;
    background-color: rgba(0,0,0,.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#confirmRemovePictureModal > button{
    padding: 20px 50px 20px 50px;
    background-color: rgba(240, 255, 240, 1);
}

#confirmRemovePictureModal > div{
    border: 2px solid black;
    background-color: white;
    width: 320px;
    height: 150px;
    padding: 10px 20px 10px 20px;
    border-radius: 12px;

}

#confirrmRemovePictureModal > div button{
    background-color: black;
    color: white;
    font-weight: 800;
    font-size: large;
    
}

.confirmActionBox{
    margin-top: 20px;
    width: 80%;
    border: 1px solid black;
    padding: 15px;

}

.hiddenDiv{
    display: none;
}

.redButton{
    background-color: red;
}

.blackButton{

    background-color: black;
}


@keyframes loading {
    0%{
        background-image: linear-gradient(to right, black, black, black, black, black);
        color: rgba(255,255,255,1);
    }
    20%{
        background-image: linear-gradient(to right, white, black, black, black, black);
        color: rgba(255,255,255,1);
    }
    40%{
        background-image: linear-gradient(to right, white, white, black, black, black);
        color: rgba(175,175,175,1);
    }
    50%{
        background-image: linear-gradient(to right, white, white, black, black, black);
        color: rgba(75,75,75,1);
    }
    60%{
        background-image: linear-gradient(to right, white, white, white, black, black);
        color: rgba(0,0,0,1);
    }
    80%{
        background-image: linear-gradient(to right, white, white, white, white, black);
        color: rgba(0,0,0,1);
    }
    100%{
        background-image: linear-gradient(to white, white, white, white, white, white);
        color: rgba(0,0,0,1);
    }
}

@media all and (max-width: 560px){
    #certHeaderRow > div{
        font-size: small;
    }
}