
.hometabbar {
    width : 100%;
    height : 8vh;
}

.hometab
{
    border-radius:1vh 1vh 0 0;
    width:50%;
    height:100%;
    background-color:gray;
    color:white;
    font-size:2vh;
}

.home_add_product_button
{
    border-radius:1vh;
    border-style:solid;
    border-width:medium;
    border-color:black;
    width:100%;
    height:5.5vh;
    background-color:red;
    margin-top:0.25vh;
    margin-bottom:0.25vh;
}

.product_line
{
    width:100%;
    height:6vh;
}

.product_line_default
{
    width:100%;
    height:6vh;
}

.product_default
{
    width:35%;
    height:100%;
}

.product_middle
{
    width:15%;
    height:100%;
}

.product_number
{
    text-align: center;
    width:8%;
    height:100%;
}

.product_identifier
{
    text-align: center;
    width:15%;
    height:100%;
}

.product_category
{
    text-align: center;
    width:15%;
    height:100%;
}

.product_type
{
    width:15%;
    height:100%;
}

.product_service
{
    width:20%;
    height:100%;
}

.product_period
{
    width:8%;
    height:100%;
}
.product_doubleperiod
{
    width:16%;
    height:100%;
}

.product_currentservices
{
    width:8%;
    height:100%;
}

.product_maxservices
{
    width:8%;
    height:100%;
}

.product_totalservices
{
    width:8%;
    height:100%;
}

.product_edit
{
    width:100%;
    height:100%;
}

.product_x
{
    width:5%;
    height:100%;
}

.productlinetag {
}



.product_licenseplate_input
{
    width:100%;
    height:8vh;
}
.product_licenseplate_half
{
    width:50%;
    height:100%;
}

.product_select_loading_text
{
    text-align: center;
    width:100%;
    height:20%;
    font-size:1.2vh;
    color:black;
}

.product_select_up_text
{
    text-align: center;
    width:100%;
    font-size:2vh;
    color:black;
}

.product_select_licenseplate
{
    width:100%;
    height:80%;
}

.product_select_licenseplate_text
{
    width:80%;
    height:50%;
    font-size:2.2vh;
    color:black;
}


.productpopup h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.productpopup form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.productpopup form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 50px;
    color: #ffffff;
}
.productpopup form input[type="password"], .productpopup form input[type="text"] {
    -webkit-appearance: none;
    width: 80%;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.productpopup form input[type="submit"] {
    -webkit-appearance: none;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: red;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
}
.productpopup form input[type="submit"]:hover {
    -webkit-appearance: none;
    background-color: firebrick;
}

.productlinestag
{
    
}

.service_date1
{
    width:25%;
    height:100%;
}

.service_date2
{
    width:25%;
    height:100%;
}

.service_productidentifier
{
    width:15%;
    height:100%;
}

.service_provider
{
    width:15%;
    height:100%;
}


.service_type
{
    width:15%;
    height:100%;
}

.service_filler_small
{
    width:20%;
    height:100%;
}
.service_filler
{
    width:30%;
    height:100%;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}

.custom-select
{
    height:50%;
    max-height:50%;
    width:80%;
    max-width:80%;
    padding: 0px;
}

.adminbuttonstext
{
    font-size:calc(1.5vw + 0.7vh);
}



@media (min-aspect-ratio: 4/3) {
    .productlisttable
    {
        width:100%;
    }
    .serviceslisttable
    {
        width:100%;
    }
    
    table.fixedacctable {table-layout:fixed; width:205vw;}/*Setting the table width is important!*/
    table.fixedacctable th {overflow:hidden;}/*Hide text outside the cell.*/
    table.fixedacctable th:nth-of-type(1) {width:2vw;}/*Setting the width of column 1.*/
    table.fixedacctable th:nth-of-type(2) {width:5vw;}/*Setting the width of column 2.*/
    table.fixedacctable th:nth-of-type(3) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(4) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(5) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(6) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(7) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(8) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(9) {width:7vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(10) {width:7vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(11) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(12) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(13) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(14) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(15) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(16) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(17) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(18) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(19) {width:9vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(20) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(21) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(22) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(23) {width:4vw;}/*Setting the width of column 3.*/

    table.fixedacctable td {overflow:hidden;}/*Hide text outside the cell.*/
    table.fixedacctable td:nth-of-type(1) {width:2vw;}/*Setting the width of column 1.*/
    table.fixedacctable td:nth-of-type(2) {width:5vw;}/*Setting the width of column 2.*/
    table.fixedacctable td:nth-of-type(3) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(4) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(5) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(6) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(7) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(8) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(9) {width:7vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(10) {width:7vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(11) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(12) {width:8vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(13) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(14) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(15) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(16) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(17) {width:5vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(18) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(19) {width:9vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(20) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(21) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(22) {width:10vw;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(23) {width:4vw;}/*Setting the width of column 3.*/

}

@media (max-aspect-ratio: 4/3) {
    .productlisttable
    {
        width:200vw;
        overflow-x:scroll;

    }
    .serviceslisttable
    {
        width:100vw;
        overflow-x:scroll;

    }
    
    table.fixedacctable {table-layout:fixed; width:205vh;}/* PORTRAIT Setting the table width is important!*/
    table.fixedacctable th {overflow:hidden;}/*Hide text outside the cell.*/
    table.fixedacctable th:nth-of-type(1) {width:2vh;}/*Setting the width of column 1.*/
    table.fixedacctable th:nth-of-type(2) {width:5vh;}/*Setting the width of column 2.*/
    table.fixedacctable th:nth-of-type(3) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(4) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(5) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(6) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(7) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(8) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(9) {width:7vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(10) {width:7vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(11) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(12) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(13) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(14) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(15) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(16) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(17) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(18) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(19) {width:9vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(20) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(21) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(22) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable th:nth-of-type(23) {width:4vh;}/*Setting the width of column 3.*/

    table.fixedacctable td {overflow:hidden;}/*Hide text outside the cell.*/
    table.fixedacctable td:nth-of-type(1) {width:2vh;}/*Setting the width of column 1.*/
    table.fixedacctable td:nth-of-type(2) {width:5vh;}/*Setting the width of column 2.*/
    table.fixedacctable td:nth-of-type(3) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(4) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(5) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(6) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(7) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(8) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(9) {width:7vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(10) {width:7vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(11) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(12) {width:8vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(13) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(14) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(15) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(16) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(17) {width:5vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(18) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(19) {width:9vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(20) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(21) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(22) {width:10vh;}/*Setting the width of column 3.*/
    table.fixedacctable td:nth-of-type(23) {width:4vh;}/*Setting the width of column 3.*/

}

.alllisttable
{
}

.alllisttable thead th {
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
}

.productlisttable thead th {
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
}

