:root{
    --docClr: #64b0d2;
}

body{
    font-family: 'Heebo', sans-serif;
    box-sizing: border-box;
}
.msg_box{
    padding: 15px;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    width: 600px;
}
.msg_box_text{
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.msg_box_description{
    text-align: center;
}
.msg_box_image{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}
.msg_box_image img{
    width: 350px;
    height: 100%;
}
.input{
    border-radius: 5px;
    border:1px solid #eee;
    padding: 10px;
    width: 100%;
}
#overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 11;
    display: none;
    justify-content: center;
    align-items: center;
}
/* HTML: <div class="loader"></div> */
.loader {
    width: 60px;
    aspect-ratio: 1;
    animation: l5-0 1s infinite steps(1);
}
.loader::before,
.loader::after {
    content: "";
    position: absolute;
    inset:0 50% 50% 0;
    transform-origin: bottom right;
    animation:
            l5-1 0.5s infinite linear alternate,
            l5-2 0.5s infinite steps(1) alternate;
}
.loader::after {
    --s:-1,-1;
}
@keyframes l5-0 {
    0%  {transform:scale(1, 1) rotate(0deg)}
    50% {transform:scale(1,-1) rotate(90deg)}
}

@keyframes l5-1 {
    0%   {transform:scale(var(--s,1)) perspective(150px) rotateX(  0deg)}
    100% {transform:scale(var(--s,1)) perspective(150px) rotateX(180deg)}
}
@keyframes l5-2 {
    0% {background:#25b09b}
    50%{background:#514b82}
}
.doc_item{
    margin: 15px;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 15px;
    background: #B3E5FC;
    cursor: pointer;
    transition: all 0.5s;
}
.doc_item:hover{
    background: #29B6F6;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}
.doc_image{
    display: flex;
    justify-content: center;
    align-items: center;
}
.doc_image img{
    width: 120px;
    height: 100%;
}
.doc_text{
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}
.doc_header{
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}
.doc_item:hover .doc_text{
    color: #fff;
}
.hide{
    display: none;
}
.sign-row{
    position: absolute;
    top: 10px;
    width: 50%;
    height: calc(100vh - 51px);
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    z-index: 5;
    display: none;
    left: 50%;
    transform: translate(-50%, 0);
}
.sing_close{
    position: absolute;
    left: 25px;
    top: 25px;
    font-size: 22px;
    z-index: 1;
}
.sing-holder{
    position: relative;
}
#doc_img{
    position: relative;
    width: 100%;
    height: 100%;
}
#doc_img img{
    width: 100%;
    height: 100%;
}
#signature-row{
    position: fixed;
    text-align: center;
    display: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    width: 380px;
    z-index: 10;
    bottom: 30px;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    right: 20px;
}
#signature{
    border: 1px solid #ddd;
    border-radius: 25px;
}
.sign_img_btn{
    position: absolute;
    bottom: 170px;
    width: 70px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid red;
    background: #f3a4a4;
    right: 250px;
}
.sign_buttons_row{
    margin-top: 15px;
}
.sign_buttons{
    display: flex;
}
.act__button{
    margin: 0 6px;
}
.doc_actions{
    display: flex;
    margin-top: 15px;
    justify-content: center;
}
.doc_action{
    background: #fff;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    width: 122px;
    cursor: pointer;
    transition: all 0.5s;
    margin-inline-end: 1rem;
}
.doc_action:hover{
    box-shadow: rgba(0, 0, 0, 0.2) 0px 60px 40px -7px;
    border-radius: 5px;
}
.doc_action:hover .doc_action_icon{
    color: red;
}
.doc_action_icon{
    text-align: center;
    font-size: 2rem;
    color: var(--docClr);
    transition: all 0.5s;
}
.doc_action_text{
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}
.docs_container{
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.docs_company_info{
    text-align: center;
}
.c_name{
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.c_logo{
    margin: 2rem 0 0.5rem 0;
}
.c_logo img{
    max-width: 300px;
}
.main_row{
    width: 700px;
}
.docs_top_container{
    min-height: 500px;
    width: 100%;
    background-image: url('/assets/images/docs_back.jpg');
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    padding: 10px;
}
.doc_info{
    background: #fff;
    width: 400px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}
.dco_info_header{
    padding: 12px;
    text-align: center;
    background: var(--docClr);
    color: #fff;
    font-weight: bold;
}
.doc_content{
    padding: 15px;
    text-align: center;
}
.doc_content_row{
    margin: 1rem;
    font-weight: bold;
    color: #555;
    font-size: 1rem;
}
#payment_frame_row{
    padding: 25px;
    background: #fff;
    margin: 0 25px 25px 25px;
    border-radius: 5px;
    display: none;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: all 0.5s;
}
#payment_frame{
    width: 100%;
}
.docs_holder{
    transition: all 0.5s;
}
.fs5{
    font-size: 5rem;
}
.fs10{
    font-size: 10rem;
}
.doc_line{
    font-size: 14px;
}
.doc_row{
    border-bottom: 1px solid #ccc;
    padding: 0 10px;
}
.bill_area{
    width: 350px;
    background: #fff;
    box-shadow: rgb(186 221 255 / 20%) 0px 8px 24px;
}
.bill_item{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 10px;
}
.bill_item div{
    margin: 0 10px;
}
.bill_item div:first-child{
    font-weight: bold;
}
.bill_totals{
    border-top: 2px solid #ccc;
    margin-top: 20px;
}
.fs-7{
    font-size: 12px;
}
.fs-8{
    font-size: 10px;
}
.ltr{
    direction: ltr;
}
.q_block_title{
    padding: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background: aliceblue;
    border-radius: 5px;
}
.q_field_row{
    display: flex;
}
.q_field_label{
    font-weight: bold;
    min-width: 150px;
}
.q_field_item{
    width: 100%;
}
.q_fields{
    padding: 15px;
}
.q_block{
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fdfdfd;
}
.field_ans{
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 7px;
}
.q_field_item_check{
    width: auto;
    margin-right: 10px;
}
.mandatory:after{
    content: '*';
    color: red;
    padding: 0 3px;
}
.doc_link{
    color: #444;
    text-decoration: none;
}

/** buttons */

.ui-button{
    width: 100%;
    padding: 0.8rem;
    border-radius: 5px;
    text-align: center;
}
.ui-button-purple{
    background: #9575CD;
    border: 1px solid #654e8c;
    color: #fff;
}
@media screen and (max-width: 450px){
    .msg_box{
        width: 350px;
    }
    #signature-row{
        right: 0;
    }
    .main_row{
        width: 100%;
    }
    .doc_info{
        width: 320px;
    }
    .doc_action{
        margin: 10px 0
    }
    #payment_frame_row{
        margin: 0;
    }
    .q_field_row{
        display: block;
    }
    .q_field_label{
        margin-bottom: 1rem;
    }
}
@media screen and (max-width: 750px) {
    .content{
        width: 100%;
    }
    #signature-row{
        width: 95%;
        margin: 0 10px;
    }
    .sign-row{
        width: 95%;
    }
    .doc_actions{
        display: block;
    }
    .msg_box{
        box-shadow: none;
    }
}