/* 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;
    z-index: 999;
    left: 0;
}
.zp-page-wraper .zp-modal-layer{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: black;
    z-index: 999;
    opacity: .5;
    left: 0;
}
.zp-page-wraper .zp-modal-close-button{
    font-size: 24px;
    position: absolute;
    right: 15px;
    cursor: pointer;
}
.zp-page-wraper .zp-modal-content{
    width: 80%;
    height: calc(100vh - 150px);
    min-height: 300px;
    margin: 125px auto 0px;
    background: var(--portal_primary_bg_color);
    z-index: 999;
    display: block;
    position: relative;
    padding: 15px;
    border-radius: 5px;
    max-height: max-content;
}
.zp-page-wraper .zp-modal-body-content{
    height: 100%;
    overflow: auto;
    max-height: max-content;
}
.zp-page-wraper .zp-show-related-records{
    cursor: pointer;
}
.zp-page-wraper input:disabled {
    cursor: not-allowed;
    background-color: #f1f1f1;
}