﻿


/* form-table */
.form-table {
    border: 1px solid gray;
    border-radius: 4px;
    box-shadow: 2px 2px 10px gray;
    background-color: rgb(211, 232, 238);
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 1.1em;
    margin: 20px auto;
    padding: 2px;
}

.form-table th {
    text-align: right;
    font-weight: normal;
    font: inherit;
    white-space: nowrap;
}

.form-table td {
}

.form-table {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 2px;
    border-width: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    font: inherit;
}

.btn-form-table {
    background-color: rgb(45, 106, 205);
    color: white;
    border: none;
    border-radius: 2px;
    box-shadow: 1px 1px 5px gray;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 1.1em;
}

.btn-form-table:hover {
    background-color: rgb(82, 140, 235);
}

.btn-form-table[disabled] {
    background-color: darkgray;
}

/* btn-square */
.btn-square {
    width: 120px;
    height: 120px;
    font-size: 1.2em;
    font-family: "Segoe UI", Tahoma, sans-serif;
    margin: 20px;
    background-color: rgb(45, 106, 205);
    color: white;
    border: none;
    border-radius: 4px;
    box-shadow: 1px 1px 5px gray;
}

.btn-square:hover {
    background-color: rgb(82, 140, 235);
}

/* btn-hyperlink */
.btn-hyperlink {
    border: none;
    background-color: transparent;
    color: dodgerblue;
    font-size: 0.8em;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.btn-hyperlink:hover {
    color: skyblue;
}

/* editor-table */
.editor-table {
    border-collapse: collapse;
    border: 1px solid black;
    margin-left: auto;
    margin-right: auto;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 16px;
}

.editor-table th {
    border: 1px solid black;
    background-color: lightblue;
    text-align: center;
}

.editor-table td {
    border: 1px solid black;
}

.editor-input-box {
    width: 100%;
    border: none;
    font: inherit;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.editor-table td:first-child {
    background-color: lightblue;
    text-align: center;
    min-width: 40px;
}




.login-container {
    direction: rtl;
    width: 400px;
    max-width: 90%;
    margin: auto;
    padding: 8px;
    font-family: "Segoe UI";
    border: 1px solid gray;
    border-radius: 4px;
    box-shadow: 2px 2px 10px gray;
    background-color: rgb(211, 232, 238);
    overflow: auto;
}

.login-container input {
    margin: 4px 0;
    width: 100%;
    padding: 2px;
    border-width: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.login-container button {
    float: left;
    margin: 8px 0 0 0;
    padding: 4px 12px;
    background-color: rgb(45, 106, 205);
    color: white;
    border: none;
    border-radius: 2px;
    box-shadow: 1px 1px 5px gray;
    font-family: inherit;
}

.login-container button:hover {
    background-color: rgb(82, 140, 235);
}

.error-msg {
    margin: 8px;
    border: 1px solid gray;
    background-color: #ff4c4c;
    color: black;
    text-align: center;
    font-weight: bold;
    padding: 4px;
    border-radius: 12px;
}

.message-msg {
    margin: 8px;
    border: 1px solid gray;
    background-color: #70bcf5;
    color: black;
    text-align: center;
    font-weight: bold;
    padding: 4px;
    border-radius: 12px;
}

.data-table {
    margin: auto;
    border-collapse: collapse;
    border: 2px solid gray;
    font-family: "Segoe UI", Tahoma, sans-serif;
    max-width: 600px;
}

.data-table tr:hover {
    background-color: lightgray;
}

.data-table tr.selected {
    background-color: dimgray;
    color: white;
}

.data-table th {
    border-bottom: 1px solid gray;
    border-right: 1px solid gray;
    background-color: lightblue;
    padding: 2px 8px;
    text-align: center;
}

.data-table td:first-child {
    text-align: center;
}

    .data-table td {
        border-bottom: 1px solid gray;
        padding: 2px;
    }

.data-table input {
    /*min-width: 0;*/
    width: 99%;
    
}

/*@media screen and (min-width: 900px) {
    .data-table {
        min-width: 820px;
    }
}*/

@media screen and (max-width: 600px) {
    .data-table {
        font-size: 0.75rem;
    }

    .data-table td {
        padding: 0;
    }

    .data-table th {
        padding: 0;
    }
}