.formTable {
	border:1px solid #999;
	border-top-width:0px;
	border-bottom-width:0px;
    border-radius: 6px;
}

.formTable th{
    background-color: #4e73df;
    color: white;
    font-weight: 800;
    text-align: center;
    padding: 10px;
}

.formTable td {
	background-color:#fff;
	border-bottom:1px solid #999;
    vertical-align: top;
}

.formTable textarea,
.formTable select {
    width: 98%;
}
.formTable select option {
    color: black;
}
.formTable select option:disabled {
    color: grey;
}

.formTable .instruction {
    text-align: center;
    color: #060;
}

.formTable input[type="text"] {
    width: 98%;
}
.formTable input[type="text"].num {
    width: 50px;
}

.formTable .formInputTd input[type="text"] {
    display: inline-block;
}



/* ---- Sortable list ------ */
#sortable_orig, #sortable_sel {
    border: 1px solid #eee;
    width: 35%;
    min-height: 80px;
    list-style-type: none;
    margin: 0;
    padding: 5px 0 0 0;
    float: left;
    margin-right: 10px;
}
#sortable_sel {
    width: 60% !important;
    background-color: #359fde;
}

#sortable_orig li, #sortable_sel li {
    margin: 0 5px 5px 5px;
    padding: 5px;
    font-size: 14px;

}
#sortable_sel li {
    background-color: #fff;
}


/* ---------------- TABLES ---------------- */
.list_table {
    width: 100%;
    margin: 5px 0;
}
.list_table .btn {
    margin-left: 12px;
}
.list_table th {
    vertical-align: bottom;
    color: #fff;
    border: 1px solid transparent;
    padding: 3px 5px;
    background: #4e73df;
}
.list_table th.bottom {
    vertical-align: top;
}

.list_table tr {
}
.list_table tr:hover {
    background-color: #f1f1ff;
}

.list_table td {
    vertical-align: bottom;
    color: #333;
    border: 1px solid transparent;
    border-bottom: 1px solid #2b53c5;
    padding: 4px 5px;
}

.list_table th.options {
    text-align: right;
}
.list_table td.options {
    text-align: right;
}

.list_table .td_archived {
    background-color: #ddd;
}

/* ----- Buttons ---- */
.list_table a.hideFormButton {
    visibility: hidden;
}

/* --------- FILE UPLOAD -------- */
.form_file_delete_box {
    display: inline-block;
    clear: both;
    float: right;
    padding: 5px 10px;
    border: 1px solid red;
    background-color: rgba(255,0,0,0.2);
}

.form_file_delete_box label {
    display: inline-block;
    margin: 0;
}

.form_file_preview {
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #ccc;
}


/* ------------- Image uploader ----------- */
#image-holder img.thumb-image {
    height: 200px;
    width: auto;
}
img.preview_image {
    height: 200px;
    width: auto;
}

.image-with-overlay {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
}

.image-with-overlay::after {
    content: "\f002"; /* Font Awesome nagyító ikon kódja */
    font-family: "Font Awesome 5 Free"; /* Font Awesome font család */
    font-weight: 900; /* Vastag ikon */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem; /* Nagy ikon méret */
    color: white;
    opacity: 0;
    pointer-events: none; /* Az ikon ne legyen kattintható */
    transition: opacity 0.3s ease-in-out;
}

.image-with-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* 20% fekete takaró */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-with-overlay:hover::after,
.image-with-overlay:hover::before {
    opacity: 1;
}



/* ------------- List filter ----------- */
.listFilterForm .formTable{
    width: 100%;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 8px;
}
.listFilterForm .formTable tr {
    display: flex !important;
    width: 100%;
}

.listFilterForm .formTable td {
    border: 0;
    width: max-content;
}
.listFilterForm .formTable select {
    display: inline-block !important;
    width: auto !important;
}



    /* ------------- Help info ----------- */
[sxf-element="info_icon_area"] {
    position: relative;

}
[sxf-element="info_icon_area"].active {
    z-index: 999;
}
[sxf-element="info_icon_area"] [sxf-part="info_area"] {
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
    background-color: white;
    color: #31407c;
    border: 1px solid #31407c;
    padding: 10px 10px;
    min-width: 40vw;
    -webkit-box-shadow: 0px 3px 22px 5px rgba(0,0,0,0.5);
    box-shadow: 0px 3px 22px 5px rgba(0,0,0,0.5);
}
[sxf-element="info_icon_area"] [sxf-part="info_icon"] {
    color: orangered;
    margin-right: 5px;
    cursor: pointer;
    font-size: 16px;
}
[sxf-element="info_icon_area"] [sxf-part="close_icon"] {
    float: left;
    color: orangered;
    margin-right: 10px;
    cursor: pointer;
}

/* ------------- Color input ----------- */
.color-input-preview-box {
    float: left;
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 1px solid lightgrey;
    border-radius: 3px;
    margin-right: 1em;
}

