/*----------------------------------------------------------------------------*/
/*TABLES - ITEM COUNT FLOATER*/
/*----------------------------------------------------------------------------*/

div.itemCount {
    position: absolute;
    top: -1.2em;
    right: 0px;
    font-style: italic;
    line-height: 1.1em;
}

form.stickyCounter div.itemCount {
    position: sticky;
    float: right;
    top: 0;
    right: unset;
    left: calc(100% - 145px);/*stick to right and subtract itemCount width*/
    font-style: italic;
    line-height: 1.1em;
}

div.ticket_title {
    display: flex;
    justify-content: space-between;
}

div.ticket_title div.itemCount {
    position: relative;
    color: var(--gov-color-white);
    top: 0.25em;
    margin-left: 1em;
    height: min-content;
    text-align: right;
    font-size: 0.9em;
}

form.fit1TableLayout, form.fit3TableLayout, form.collapseButtonTarget {
    position: relative;
    padding-top: 1em;/*to display itemCount*/
    margin-top: -1em;
}

div.overviewComponent .info_table_title {
    margin-bottom: 1em;
}

div.overviewComponent form.fit1TableLayout, div.ticketListContainer form.fit1TableLayout  {
    overflow: auto!important;
    position: unset;
    padding-top: unset;/*to display itemCount*/
    margin-top: unset;
}

form.fit1TableLayout div.formWrapper, form.fit3TableLayout div.formWrapper, form.collapseButtonTarget div.formWrapper {
    overflow: auto;
    max-height: calc(24vh - 1em);/*to display itemCount*/
    position: unset;
    padding: 0;
    margin: 0;
}

/*maxH changes for other forms*/
form.collapseButtonTarget div.formWrapper {
    max-height: unset;
}

form.fit1TableLayout div.formWrapper {
    max-height: calc(80vh - 1em);
}

form.fit1TableLayout div.formWrapper div.itemCount, form.fit3TableLayout div.formWrapper div.itemCount, form.collapseButtonTarget div.formWrapper div.itemCount {
    top: 0;
}

#rightmenu div.itemCount {
    top: 0em;
    font-size: 75%;
}

.itemCountKey {
    cursor: pointer;
    color: #2e3192;
}

.itemCountKey:hover {
    text-decoration: underline;
}



/*###########CSS file for IITPT project under CDV###########*/

.tpDocumentContainer {
    width: 21cm;
    min-height: 29.7cm;
    height: min-content;
    padding: 2cm;
    margin-left: auto;
    margin-right: auto;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: #ffffff;
}

.tpDocumentContainer > * {
    color: black;
}

.tpDocumentContainer > h2 {
    margin-bottom: 1em;
}

.tpInvoiceFlexCtn{
    display: flex;
}

.tpInvoiceFlexCtn div:last-child {
    margin-left: auto
}

.tpInvoiceFlexCtn div:first-child {
    margin-right: 1em;
}

.tpInvoiceOrder {
    margin: 2em 0 2em 0;
}

.tpInvoiceOrderTable {
    margin: 1em 0 0 0;
    width: 100%;
}

.tpInvoiceOrderTable > thead {
    background-color: #91b0d0;
}

.tpInvoicePrice {
    max-height: 2em;
    line-height: 2em;
    width: 70%;
    color: white;
    background-color: #3077b7;
    text-align: center;
    padding: 0 3em 0 3em;
}

.tpInvoiceQr > img {
    max-width: 70%;
    max-height: 70%;
}

.invoiceSeparator {
    width: 100%;
    border-bottom: 1px solid black;
    height: 0.5em;
    margin-bottom: 0.5em
}

#pageContent .tpDocumentContainer .tpInvoiceSupplierTable, #pageContent .tpDocumentContainer .tpInvoicePaymentInfoTable {
    width: 100%;
    border: none!important;
    background-color: transparent;
}

.tpInvoiceOrderTable tr td {
    border-bottom: 1px solid #d9d9d9;
}

.tpInvoiceOrderTable tr:last-child td {
    border-bottom: none;
}

.tpInvoiceSupplierTable tr td:first-child, .tpInvoicePaymentInfoTable tr td:first-child {
    width: 100%;
}

.tpInvoiceSupplierTable tr td:last-child, .tpInvoicePaymentInfoTable tr td:last-child {
    min-width: max-content;
    white-space: nowrap;
    vertical-align: top;
}

.tpInvoiceOrderTable th:first-child {
    width: 50%;
}

/*tpCertificate styling*/
#pageContent .tpCertificate table.certHeadingTable, #pageContent .tpCertificate table.certFooterTable {
    border: none;
}

#pageContent .tpCertificate table.certHeadingTable {
    margin-bottom: 24%;
}

#pageContent .tpCertificate table.certFooterTable {
    margin-top: 12%;
}

table.certHeadingTable tr, table.certHeadingTable th, table.certHeadingTable td {
    border: none;
    font-size: 0.9em;
    color: #000;
    line-height: 1em;
}

table.certFooterTable tr, table.certFooterTable th, table.certFooterTable td {
    border: none;
    font-size: 0.9em;
    color: var(--gov-color-grey-dark);
    font-weight: lighter;
}

table.certHeadingTable .headerLightValue {
    color: var(--gov-color-grey-dark);
    font-weight: lighter;
}

.tpCertificate h1 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 6.75em;
    margin-bottom: -0.2em;
    text-align: center;
}
.tpCertificate h2 {
    font-size: 2.2em;
    margin-bottom: 0;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0px!important;
}

.tpCertificate h2 .separatorsContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0em 1em;
}

.tpCertificate h2 .titleSeparator {
    height: 0.15em;
    width: 4.25em;
    margin-top: 0.2em;
    background: var(--gov-color-blue-light);
}

.tpCertificate h2.participantName {
    margin-top: 8%;
    margin-bottom: 2.5%;
}

.tpCertificate div.participantInfo {
    font-size: 0.825em;
    color: var(--gov-color-grey-dark);
    text-align: center;
    margin-bottom: 6.25%;
    font-weight: lighter;
    line-height: 1.5em;
}

.isdsBoxInfo {
    background-color: var(--gov-color-blue-inactive-2);
    padding: 0.5em;
    margin-right: 1em;
}