/* Common */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #cccccc;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #cccccc;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #cccccc;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:    #cccccc;
}
::-ms-input-placeholder { /* Microsoft Edge */
    color:    #cccccc;
}
::placeholder { /* Most modern browsers support this now. */
    color:    #cccccc;
    font-style: italic;
}
.page-zportals input,
.page-zportals input:focus,
.page-zportals select,
.page-zportals textarea,
.page-zportals textarea:focus{
    outline: none;
    background: #FFF;
    box-shadow: none;
}
.clr{
    clear: both;
    width: 1px;
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.zp-row{
    margin-left: -10px ;
    margin-right: -10px ;
}
.zp-col-6{
    width: 50%;
    float: left;
}
.zp-row .zp-col-12{
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    float: left;
}
.zp-row .zp-col-9{
    width: calc(75% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    float: left;
}
.zp-row .zp-col-8{
    width: calc(66.66% - calc(20px + 0.0%));
    margin-left: 10px;
    margin-right: 10px;
    float: left;
}
.zp-row .zp-col-6{
    width: calc(50% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    float: left;
}
.zp-row .zp-col-4{
    width: calc(33.33% - calc(20px + 0.11%));
    margin-left: 10px;
    margin-right: 10px;
    float: left;
}
.zp-row .zp-col-3{
    width: calc(25% - 20px);
    margin-left: 10px;
    margin-right: 10px;
    float: left;
}

.zp-btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid #8c8f94;
    border-radius: 4px;
}
.zp-btn-default{
    background-color: #338cf0;
    border: 1px solid #338cf0;
    color: rgb(255 255 255);
}
.zp-btn-default:hover{
    background-color: #015dc5;
    border: 1px solid #015dc5;
    color: rgb(255 255 255);
}

/*  */
.zp-error-message{
    color: red;
}

/* Card */
.zp-card{
    border: solid 1px rgb(221 221 221);
    border-radius: 10px;
    box-shadow: 0px 0px 11px -3px rgb(204 204 204);
    margin-bottom: 15px;
    background-color: rgb(255 255 255);
}
.zp-card-header{
    padding: 20px;
    border-bottom: solid 1px #CCCCCC;
}
.zp-card-header-text{
    float: left;
}
.zp-card-header-right{
    float: right;
}
.zp-card-body{
    min-height: 50px;
    padding: 20px ;
}

/* Tab */
.zp-tab-items{
    width: 100%;
    border-bottom: solid 2px #CCCCCC;
}
.zp-tab-item{
    cursor: pointer;
    width: max-content;
    padding: 10px 0px;
    float: left;
    margin-right: 20px;
    border-bottom: solid 2px transparent;
}
.zp-tab-item:hover,
.zp-tab-item.zp-active{
    color: #0db285;
    border-bottom: solid 5px #0db285;
    margin-bottom: -2px;
}
.zp-tab-label{
    float: left;
}
.zp-tab-badge{
    float: left;
    margin-left: 10px;
    border: solid 1px #fc6a6a;
    background-color: #fc6a6a;
    color: #FFFFFF;
    padding: 0px 5px;
    border-radius: 10px;
}
.zp-tab-item-data{
    display: none;
}
.zp-tab-item-data.zp-active{
    display: block;
}

/* Table */
.zp-table{
    width: 100%;
}

table.zp-table thead{
    text-align: left;
}
table.zp-table thead th{
    border-bottom: none;
}


.ribbon-wrapper-new {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.ribbon-new {
    font-size: 14px;
    text-align: center;
    transform: rotate(313deg);
    -webkit-transform: rotate(313deg);
    -moz-transform: rotate(313deg);
    -ms-transform: rotate(313deg);
    -o-transform: rotate(313deg);
    position: relative;
    padding: 6px 0;
    left: -50px;
    top: 15px;
    width: 155px;
    color: rgb(255, 255, 255);
    background: rgb(148, 165, 166);
    border-color: rgb(148, 165, 166);
}

.ribbon-new.sent {
    background-color: rgb(38, 141, 221);
    border-color: rgb(28, 114, 180);
}

.ribbon-new.paid {
    background-color: rgb(31, 205, 109);
    border-color: rgb(24, 161, 85);
}

.ribbon-new.overdue {
    background-color: rgb(245, 157, 0);
    border-color: rgb(194, 124, 0);
}

.ribbon-new.void {
    background-color: rgb(71, 71, 71);
    border-color: rgb(255, 255, 255);
}

.ribbon-new.accepted {
    background-color: rgb(26, 175, 93);
    border-color: rgb(19, 131, 69);
}

.ribbon-new.declined {
    background-color: rgb(245, 157, 0);
    border-color: rgb(194, 124, 0);
}

/* Modal */
.zp-page-wraper .zp-modal-wraper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 20px;
    box-sizing: border-box;
}
.zp-page-wraper .zp-modal-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
}
.zp-page-wraper .zp-modal-close-button {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}
.zp-page-wraper .zp-modal-close-button:hover {
    background-color: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.75);
}
.zp-page-wraper .zp-modal-content {
    position: relative;
    z-index: 1000;
    width: 100%;
    max-width: 820px;
    max-height: calc(100vh - 80px);
    min-height: 300px;
    background: var(--portal_primary_bg_color);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.zp-page-wraper .zp-modal-header {
    flex-shrink: 0;
    padding: 18px 52px 18px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    min-height: 60px;
    box-sizing: border-box;
}
.zp-page-wraper .zp-modal-header-text {
    font-family: "Plus Jakarta Sans";
    font-size: 17px;
    font-weight: 700;
    color: rgb(15, 23, 42);
    line-height: 1.2;
}
.zp-page-wraper .zp-modal-body-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: unset;
    padding: 0;
}
.zp-page-wraper .zp-modal-footer {
    display: none;
}
.zp-page-wraper .zp-show-related-records{
    cursor: pointer;
}
.zp-page-wraper input:disabled {
    cursor: not-allowed;
    background-color: #f1f1f1;
}