/**
 * GENERAL
 */
label, input, h1, h2, h3, h4, h5, table {
    font-family: -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif !important;
}


label, input, select, table {
    font-size: 11pt;
}

h2 {
    margin: 0 0 4px;
    font-size: 14pt;
    color: darkblue;
}

h3 {
    margin: 0 0 4px;
    font-size: 11pt;
    color: darkblue;
}

*[class*=":noBreak"] {
    white-space: nowrap;
}

/**
 * LABELs
 */
label[class*=":red"] {
    color: darkred;
}

label[class*=":bolder"] {
    font-weight: bolder;
}

label[class*=":preWidth"] {
    display: inline-block;
    width: 250px;
}

label[class*=":littleFontSize"] {
    font-size: 10pt;
}

/**
 * INPUT
 */
input[class*=":full"] {
    width: 100%;
}

input[class*=":marginpadding"] {
    margin-top: 20px;
    padding: 5px;
}

input[class*=":onlyPadding"] {
    padding: 5px;
}

input[class*=":borderradius"] {
    border: 1px solid lightgray;
    border-radius: 5px;
    border-spacing: 5px;
}

*[class*=":defaultWidth"] {
    width: 400px;
    padding: 2px;
}

.global_txt_search {
    border-radius: 4px;
    border: 1px solid lightgray;
    width: 200px;
    height: 14px;
    background-image: url("../3_ressources/3_1_images/3_1_buttons/btn_search.png");
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 2px 2px 2px 20px;
}

/**
 * BUTTONs
 */
button[class*=":defaultButton"] {
    width: 150px;
    min-width: fit-content;
    padding: 2px;
    height: 22px;
    background-size: contain;
    background-position: center;
    border: 1px solid lightgray;
    border-radius: 4px;
    margin-bottom: 5px;
    margin-top: 5px;
    vertical-align: top;
    background-color: white;
}

button[class*=":defaultButton"]:hover {
    background-color: lightgray;
    border-color: black;
}

button {
    cursor: pointer;
    color: black;
    background-color: lightgray;
    border-color: lightgray;
}

button:disabled {
    cursor: not-allowed;
}

button:hover {
    border-color: black;
}

.global_btn_clearForm, .global_btn_save, .global_btn_copy, .global_btn_delete {
    width: 150px;
    border: 1px solid lightgray;
    border-radius: 4px;
    margin: 5px;
    padding: 2px 15px;
}

.global_btn_clearForm {
    color: black;
    background-color: white;
}

.global_btn_clearForm:hover {
    background-color: lightgray;
}

.global_btn_save {
    color: white;
    background-color: darkgreen;
}

.global_btn_copy {
    color: white;
    background-color: darkblue;
}

.global_btn_delete {
    color: white;
    background-color: darkred;
}

.global_btn_status {
    position: relative;
    cursor: pointer;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #ccc;
}

.global_btn_status::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background-color: darkgray;
}

.global_btn_status.connected::after {
    background-color: green !important;
}

.global_btn_status.disconnected::after {
    background-color: red !important;
}

.global_btn_status.somethingnotavailable::after {
    background-color: orange !important;
}

/**
 * TABLE / TH / TD / TR
 */
td[class*=":center"] {
    text-align: center;
}

td[class*=":right"] {
    text-align: right;
}

/**
 * DIVs
 */
.global_div_buttons {
    overflow: auto;
    width: auto;
    vertical-align: center;
    display: block;
    padding: 5px;
}

.global_div_buttons * {
    margin: 4px;
}