
/*------------------------general browser settings ------------------------*/
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: tt_font1;
    src: url(app_assets/aldrich.ttf);
}

body {
    margin: 0px;
    background-color:white;
}
input {
    width:100%; height:100%;
    padding: none;
    border: none;
}
/*----------*/


/*-------------------------application elements----------------------------*/
/*load progress*/
.tt_loading {
    position:absolute;left: calc(50% - 60px);top: calc(40% - 60px); width: 120px; height: 120px;
    z-index: 21;
    display: none;
}
.tt_loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #c0a76d;
    border-bottom: 16px solid rgb(0, 0, 0);
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*message and dialog box */
.msg_box {
    position: absolute;
    top: 25%;
    left: 10%;
    width: 80%;
    height: 50%;
    background-color: #f0f0f0;
    border-radius: 6px;
    box-shadow: 0px 0px 10px 1px #000000;
    z-index: 20;
    display: none;
    flex-direction: column;
    padding: 20px;
}
.msg_txt {
    flex: 1; /* Takes all available space */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #333;
    height:100%;
    min-height:88%;
    overflow-y: auto; /* if content exceeds */
}

.msg_okbtn {

    flex: 1; /* Takes all available space */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bolder;
    z-index: 2; font-size: 20px;
    color: #000000;
    text-decoration: underline;

    /* Center horizontally */
    align-self: center;
}

.dlg_box {
    position: absolute;  top: 25%; left: 10%; width: 80%; height: 50%;box-shadow:  0px 0px 10px 1px #000000;
    background-color: #f0f0f0; border-radius: 3px;
    z-index: 20;
    display: none;
}
.dlg_txt {
    position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 80%; height: 50%;font-family: Arial, Helvetica, sans-serif;
    margin: auto; text-align: center;
    font-size: 12px;
}

.r_micon {
    position: absolute;
    top: 10px;
    left: 10px;
    display: none;
    z-index: 20;
}
.r_miconl {
    background-color: #c0a76d;
    width: 35px;
    height: 5px;
    margin: 6px;
    z-index: 120;
}
.r_cbtn { /*close button*/
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    display: none;
    z-index: 20;
}

/*application body*/
.tt_body {
    position: absolute; left:0px; top:0px; width: 100%; height: 100%; overflow:hidden;
    /*font-family: Arial, Helvetica, sans-serif;
    /*pointer-events:none;*/
    opacity: 1; background-color:#f1f1f1;
}

/*general page */
.tt_page{
    position:absolute; left:-100%; top:0px; width:100%; height:100%;
    background-color:#FFF;
    overflow-y:scroll;
    z-index:2;
    transition: 0.5s;
}
/*header place holder*/
.hp_holder { background:white; z-index:500; position:fixed; width: 100%; height: 60px; text-align: center; line-height: 60px; font-weight: bold; font-size:15px; box-shadow: 0 4px 2px -2px rgba(0,0,0,.2); }
/*.hp_holder { width: 100%; height: 60px; text-align: center; line-height: 60px; font-weight: bold; z-index:125;  font-family: Arial, Helvetica, sans-serif;}*/

/*paragraph*/
.tt_pgh { width: 100%; height: auto; padding:2%;}

.tt_imgw100xa {
    width: calc(100% - 1px);
    height: auto;
}
.ttmnu_list { /* fixed height */
    width: 100%;
    height: 75px;
    background-color: #ffffff;
    padding: 15px 5px;
    text-align: left;
    border-bottom: solid #cacaca 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 25px;
}


.tt_listah { /* auto height */
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 15px;
    text-align: left;
    border-bottom: solid #cacaca 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 25px;
}

.tt_listah { /* auto height */
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 15px;
    text-align: left;
    border-bottom: solid #cacaca 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 25px;
}

/*tt_card*/
.tt_card50x100 {
    width: 50%; height: 100%;
    float: left;
}
.tt_card300xa{
    width: 300px; height: auto;
}
.k_80xa { width: 80px; height: auto;}
.k_120x50 {width: 120px; height: 50px;}

/*text elements*/
.tt_font1 {font-family: tt_font1;}
.tt_font2 { font-family: Arial, Helvetica, sans-serif; font-size: 12px;}
.tt_txt1 { font-family: tt_font1;	font-size: 18px; }
.tt_txt2 { font-family: Arial, Helvetica, sans-serif; font-size: 14px;}
.tt_txt3 { font-family: Arial, Helvetica, sans-serif; font-size: 18px;}
.tt_f28 { font-size: 28px;}
.tt_f24 { font-size: 24px;}
.tt_f20 { font-size: 20px;}
.tt_f15 { font-size: 15px;}
.tt_f12 { font-size: 12px;}

.k_txt10 { font-size: 10px;}
.k_txt24 { font-size: 24px;}
.k_txt26 { font-size: 26px;}

/*line height */
.k_lnh50 {line-height: 50px;}
.k_lnh30 {line-height: 30px;}
.k_lnh24 {line-height: 24px;}
.k_lnh200 {line-height: 200px;}
.k_lnh100 {line-height: 100px;}
.k_lnh100p {line-height: 100%;}


/*text alignments */
.k_tal {text-align: left;}
.k_tar {text-align: right;}
.k_tac {text-align: center;}
.k_taj {text-align: justify;}


/*icons*/
.k_icon {width: 50px; height: 50px; overflow: hidden; color: rgb(0, 0, 0); cursor: pointer; stroke:#c0a76d; fill: #c0a76d; }
.k_iconwa {width: auto; height: 46px; overflow: hidden; color: white; cursor: pointer; stroke: white;}
.k_stroke1 {stroke:#c0a76d;}




/*other page elements*/

/*----------*/



























/* --------------------- common properties ---------------------------*/
/*background colors */
.k_bg1 { background-color: #c0a76d; }
.k_bg2 { background-color: #852033; }
.k_bg3 { background-color: #fff; }
.k_bg4 { background-color: rgb(227, 228, 230); }
.k_bg5 { background-color: #c91212; }
.k_bgrre {background-color: #c0a76d; }

/*foreground colors*/
.k_fcolor1 { color: #0a363e; }
.k_fcolor2 { color: #c0a76d; }
.k_fcolor3 { color: #000000; }
.k_fcolor4 { color: #ffffff; }
.k_fcrre {color: #c0a76d; }

/*boarders*/
.k_brdr1 {border:solid #c0a76d 1px;}
.k_brdrrre {border:solid #c0a76d 1px;}
.k_brdr5 {border:solid #c0a76d 1px; }
.k_brdrr3 {border-radius: 3px;}
.k_brdrr7 {border-radius: 7px;}
.k_brdrrre2 {border:solid #c7c7c7 1px;}
.k_brdrr5 {border-radius:5px; }



/*border radius */
.k_brdrr100 {border-radius:100px; }
.k_brdrr50 {border-radius:50px; }
.k_brdrr35 {border-radius:35px; }
.k_brdrr5 {border-radius:5px; }
.k_brdrr3 {border-radius: 3px;}
.k_brdrr7 {border-radius: 7px;}

/*paddings*/
.k_pad20 { padding: 20px;}
.k_pad16 { padding: 16px;}
.k_pad15 {padding: 15px;}
.k_pad10 {padding: 10px;}
.k_pad8 {padding: 8px;}
.k_pad5 {padding: 5px;}



/*width and height*/
.w_100p { width: 100%;}
.w_90p { width: 90%;}
.w_80p { width: 80%;}
.w_60p { width: 60%;}
.w_50p {width: 50%;}
.w_25p {width: 25%;}
.w_40p {width: 40%;}
.w_100 {width: 100px;}
.w_200 {width: 200px}
.w_70 {width: 70px}
.w_50 {width: 50px}
.w_40 {width: 40px;}
.h_50ph {height: 50vw;}
.h_80ph {height:80vw;}
.h_100ph {height:100vw;}
.w_auto {width: auto;}
.w_150 {width: 150px;}

.h_100p { height: 100%;}
.h_90p { height: 90%;}
.h_80p {height: 80%;}
.h_70p {height: 70%;}
.h_60p {height: 60%;}
.h_50p {height: 50%;}
.h_30p {height: 30%;}
.h_auto {height: auto;}
.h_45 {height:45px;}
.h_70 {height: 70px;}
.h_50 {height: 50px;}
.h_80 {height: 80px;}
.h_100 {height: 100px;}
.h_200 {height: 200px;}
.h_120 { height: 120px;}
.h_180 { height: 180px;}
.h_26 {height: 26px;}
.h_40 {height: 40px; }

.w25p {width: 25%;}
.w_10p {width: 10%;}
.w_20p {width: 20%;}
.w_5p {width: 5%;}
.w50p {width: 50%;}
.w45p {width: 45%;}

/*alignments*/
.kp_r {position: relative;}
.kp_a {position: absolute;}
.txt_c { text-align: center;}
.k_vhc {top: 50%; left: 50%; transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%);}
.k_vhc2 {top: 50%; left: 50%; transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%);}
.k_vc {  -ms-transform: translateY(-50%); transform: translateY(-50%);}
.k_hc {  -ms-transform: translateX(-50%); transform: translateX(-50%); }
.k_floatl {float: left;}
.k_floatr {float: right;}
.k_justc {justify-content: center;}
.k_aic {align-items: center;}

.k_ma {margin: auto;}
.k_mat10 { margin-top:10px;}
.k_mat20 { margin-top: 20px; }
.k_mat30 { margin-top:30px;}
.k_mab10 {margin-bottom: 10px;}
.k_mab5 {margin-bottom: 5px;}
.k_mal15 {margin-left: 15px;}
.k_mar15 {margin-right: 15px;}

/*top and left */
.k_btm20 { bottom: 20px; }
.k_lft50p { left: 50%; }
.k_top50p { top: 50%; }

/*display*/
.tt_bk {display: block;}
.ovf_h {overflow:hidden;}
.k_dipflx {display: flex;}
.k_diptbc {display: table-cell;}
.k_inlblock {display:inline-block;}
.k_dblock {display:inline-block;}

/*zindex */
.kz_10 {z-index: 10;}



.btn_pay {
    background-color: #c0a76d;
    border: none;
    color: white;
    padding: 10px 22px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.btn_pay {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.btn_pay:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}


/*--------------------------------mobile and small screens-----------------------------*/
@media (max-width: 820px){
    .tt_card50x100 {width: 100%; height: 50%;}
}


/* header top bar */
.mobile-top-header {
    height: 60px;
    width: 100%;
    background-color: transparent;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    position: fixed;
    z-index: -1;
    transition: all 0.3s;
    display: flex;
    top: 0;
    left: 0;
    box-shadow: 0px 0px 8px rgba(0,0,0,.4);
}

.mobile-top-header .logo {
    box-sizing: border-box;
    align-items: center;
    display: flex;
    justify-content: center;
    line-height: 74px;
    height: 74px;
    font-size: 24px;
    color: #212121;
    font-weight: 400;
    opacity: 1;
    width: calc(100% - 180px);
    margin-right: 0;
    padding: 20px 0;
    background: transparent;
}
.mobile-top-header .logo img {
    height: 100%;
}

.h1_title{
    font-size: 20px;
}

.k_badgecount {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #c0a76d;
    color: #fff;
    padding: 5px 10px;
    border-radius:30px;
}

.kbw-signature { width: 100%; height: 100%; background: transparent; border-radius:5px;}
#sig canvas{ width: 100% !important; height: auto; border-radius:5px; }



.main-container {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

.title {
    font-size: 16px;
    font-weight: bold;
}

.toggle-button {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

#dropdown-content,#dropdown-content2, #dropdown-content3{
    display: none;
    padding: 10px;
    width: 100%;
    height: auto;
    overflow: auto;
    background-color: white;
}

/* #dropdown-content,#dropdown-content2,#dropdown-content3 p {
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

#dropdown-content,#dropdown-content2,#dropdown-content3 p:last-child {
    border-bottom: none;
}
 */

.pdf-container {
    position: relative;
    padding-bottom: 75%; /* Adjust based on your PDF aspect ratio */
    height: 800px;
    overflow: hidden;
    max-width: 100%;
    background: #fff;
}

.pdf-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
}