.js-template-container,
.js-signature-container,
#container-create-ticket-for-user {
    z-index: 2000;
    /* 20000 */
    position: fixed;
    right: 0;
    margin: 0 0 0 auto;
    background-color: #84899F;
    height: 100vh;
    /* width: 50%;
    min-width: 600px; */
    padding: 15px;
    /* color: black; */
    /* max-width: 700px; */
    border-radius: 4px;
    box-sizing: border-box;
    overflow-y: scroll;
}

.js-signature-container,
#container-create-ticket-for-user {
    width: 50%;
    min-width: 600px;
}

.js-search {
    width: 100%;
}

mark {
    background-color: #48ff0056;
    padding: 2px;
}

@media only screen and (max-width: 660px) {

    /* .js-template-container, */
    .js-signature-container,
    #container-create-ticket-for-user {
        width: 100%;
        height: 100%;
        margin: 0;
        min-width: unset;
    }
}

@media only screen {

    #table-templates-list-insert {
        overflow-y: scroll;
        overflow-x: hidden;
        position: absolute;
        height: 87%;
        width: 94%;
        /* border: 1px solid black;		 */
        box-sizing: border-box;
    }

    #table-templates-list-insert>table>tbody {
        margin-right: 1mm;
    }

    #table-templates-list-insert>table>tbody>tr {
        /* background-color: #f0f8ffCC; */
        background-color: #FFF;
        color: black;
        /* border-left: 2px solid #fb9678; */
    }

    #table-templates-list-insert>table {
        color: black;
    }

    #table-templates-list-insert>.table-bordered,
    #table-templates-list-insert>.table-bordered>tbody>tr,
    #table-templates-list-insert>.table-bordered>tbody>td {
        border: unset;
    }

    /* Force table to not be like tables anymore */
    #table-templates-list-insert>table,
    #table-templates-list-insert>table>thead,
    #table-templates-list-insert>table>thead>th,
    #table-templates-list-insert>table>thead>td,
    #table-templates-list-insert>table>thead>tr,
    #table-templates-list-insert>table>tbody,
    #table-templates-list-insert>table>tbody>th,
    #table-templates-list-insert>table>tbody>td,
    #table-templates-list-insert>table>tbody>tr {
        display: block;
    }

    #table-templates-list-insert>table>tbody>td[data-title=keywords],
    #table-templates-list-insert>table>tbody>td[data-title=number] {
        display: inline-block;
    }

    #table-templates-list-insert>table>tbody>td[data-title=body] {
        line-height: 15px;
    }

    #table-templates-list-insert>table>tbody>td[data-title=statuses] {
        display: none;
    }

    #table-templates-list-insert>table {
        width: 100% !important;
    }

    #table-templates-list-insert>table>tbody>tr {
        /* margin-bottom: 3mm; */
        border: 2px solid transparent;
        padding: 2mm;
        /* background-color: #FFFFFF18;         */
        box-sizing: border-box;
        margin-bottom: 2mm;
    }

    #table-templates-list-insert>table>tbody>tr:hover {
        /* border: 1mm solid white; */
        border: 2px solid #fb9678;
        /* color: white; */
    }


    /* Hide table headers (but not display: none;, for accessibility) */
    #table-templates-list-insert>table>thead>tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }


    #table-templates-list-insert>table>tbody>td {
        /* Behave  like a "row" */
        border: none;
        /* border-bottom: 1px solid #eee;  */
        position: relative;
        /* padding-left: 32mm;  */
        white-space: normal;
        text-align: left;
        padding-top: 1px;
        padding-bottom: 1px;
    }

    /* #table-templates-list-insert td:nth-child(4) {
		font-weight: bold; 
	} */

    #table-templates-list-insert>table>tbody>td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        /* top: 6px; */
        left: 6px;
        /* width: 45%;  */
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        padding-top: 1px;
        padding-bottom: 1px;
        /* font-weight: bold; */
    }

}

@media only screen and (max-width: 660px) {


    #table-like-cards-small .table-bordered {
        border: unset;
    }

    /* Force table to not be like tables anymore */
    #table-like-cards-small table,
    #table-like-cards-small thead,
    #table-like-cards-small tbody,
    #table-like-cards-small th,
    #table-like-cards-small td,
    #table-like-cards-small tr {
        display: block;
    }

    #table-like-cards-small table {
        width: 100% !important;
    }

    #table-like-cards-small tbody tr {
        /* margin-bottom: 3mm; */
        border: 2px solid transparent;
        padding: 2mm;
        background-color: #FFFFFF18;
        box-sizing: border-box;
        margin-bottom: 2mm;
    }

    #table-like-cards-small tbody tr:hover {
        /* border: 1mm solid white; */
        border: 2px solid #fb9678;
        color: white;
    }


    /* Hide table headers (but not display: none;, for accessibility) */
    #table-like-cards-small thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }


    #table-like-cards-small td {
        /* Behave  like a "row" */
        border: none;
        /* border-bottom: 1px solid #eee;  */
        position: relative;
        padding-left: 32mm;
        white-space: normal;
        text-align: left;
        padding-top: 1px;
        padding-bottom: 1px;
    }

    /* #table-like-cards-small td:nth-child(4) {
        font-weight: bold; 
    } */

    #table-like-cards-small td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        /* top: 6px; */
        left: 6px;
        /* width: 45%;  */
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        padding-top: 1px;
        padding-bottom: 1px;
        /* font-weight: bold; */
    }

    /*
	Label the data
	*/
    #table-like-cards-small td:before {
        content: attr(data-title);
    }
}