HTML {
    width: 100%;
    height: 100%;
    margin: 0 0;
    padding: 0 0;
    overflow: hidden;
}


/*
LABEL {
	font: bold 12px Arial, Helvetica, sans-serif
}
*/

#loading_wrap {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    background-color: rgba(127, 127, 127, 0.25);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: url('Engine/resources/waiting.gif');
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    user-select: none;
}

#loading_wrap::after {
    margin-top: 40px;
    border-radius: 5px;
    padding: 1px 10px;
    background-color: rgba(191, 191, 191, 0.50);
    color: rgba(31, 31, 31, 0.75);
    font: italic bold 16px calibri, sans-serif;
    content: "Loading, please wait.";
    user-select: none;
}

INPUT,
TEXTAREA,
SELECT {
    background: #EEEEEE;
    color: #52585B;
    font: bold 11px Arial, Helvetica, sans-serif;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px inset;
    margin: 1px 1px;
    padding: 1px 5px;
}

option {
    font: bold 11px Arial, Helvetica, sans-serif;
}

INPUT:focus,
TEXTAREA:focus,
SELECT:focus {
    outline: none;
    border-color: black;
}

textarea,
input[type=text],
input[type=password] {
    background: #FFFFEF;
}

.ScrollView {
    height: 100%;
    overflow: auto;
}


/*
textarea {
	height: 300px;
	overflow: auto;
}

INPUT[type="submit"] {
	color: #52585B;
	font: bold 14px Arial, Helvetica, sans-serif
}

INPUT[type="text"],INPUT[type="password"] {
	background-color: #FFFFEE;
}

H2 {
	font: bold 20px Arial, Helvetica, sans-serif
}
*/

TABLE.Form {
    width: 515px;
    border: 1px solid #AAAABB;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #FAFAFA;
    padding-bottom: 2px;
}

TABLE.Form TH {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-bottom: 1px solid #BBBBCC;
    background-color: #D9D9EA;
    background-image: url(Resources/wheader_gradient.svg);
    background-image: linear-gradient(top, #E9E9FA, #C9C9DA);
    background-image: -moz-linear-gradient(top, #E9E9FA, #C9C9DA);
}

TABLE.Form TD {
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 1px;
    min-height: 20px;
}

BODY,
TABLE {
    font: bold 12px Arial, Helvetica, sans-serif;
    color: #52585b;
}


/*
button {
	width: 100px;
}

button table {
	cursor: default;
}

button table td {
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 16px !important;
}
*/

BODY {
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    margin: 0 0;
    padding: 0 0;
    overflow: hidden;
}


/*
H2,FORM {
	text-align: center;
	padding: 0 0;
	margin: 0 0
}
*/

FORM.parameters {
    height: 100% !important;
    padding: 0 0;
    margin: 0 0
}

#navbar {
    height: 30px;
    border-top: 1px solid #CCCCCC;
}

.shadow {
    -moz-box-shadow: 3px 3px 4px #52585b;
    -webkit-box-shadow: 3px 3px 4px #52585b;
    box-shadow: 3px 3px 4px #52585b;
}

.sponsor {
    border-radius: 10px;
    min-width: 100px;
    max-width: 2000px;
    padding: 1px 5px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}

.sponsorvalue {
    background: #EEEEEE;
    cursor: pointer;
    border: 1px solid #EEEEEE;
}

.sponsorvalue:active {
    background: #CCCCCC;
    border: 1px inset;
}

.sponsorcvalue {
    background: #EEEEEE;
    cursor: pointer;
    border: 1px solid #0000FF;
}

.sponsorcvalue:active {
    background: #CCCCCC;
    border: 1px inset;
}

.sponsorsvalue {
    background: #777777;
    color: #FFFFFF;
    cursor: pointer;
    border: 1px solid #777777;
}

.sponsorsvalue:active {
    background: #CCCCCC;
    border: 1px inset;
}

.sponsordvalue {
    background: #CCCCCC;
    color: #777777;
    cursor: not-allowed;
    border: 1px solid #CCCCCC;
}

TABLE.Icon {
    border-radius: 5px;
    background: #EEEEEE;
    cursor: pointer;
    border: 2px outset white;
    width: 100px;
    user-select: none;
}

TABLE.Icon:active {
    border: 2px inset white;
}

TD.Icon {
    min-width: 150px;
    height: 150px;
    background: #FFFFFF;
    text-align: center;
}

IMG.Icon {
    min-width: 100px;
    min-height: 50px;
    max-width: 150px;
    background: #FFFFFF;
}

TD.IconText {
    text-align: center;
    vertical-align: middle;
    height: 30px;
    color: rgb(80, 116, 190);
}

.selspec {
    color: red;
}

.selidle {
    color: royalblue;
}

.selconst {
    background: #DDDDDD !important;
    color: #666666;
}

.consult,
.kbdconst {
    border: none;
    text-align: center;
    background: transparent !important;
}

.FormFieldL {
    width: 20%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(80, 116, 190);
    user-select: none;
}

TABLE.FormField,
TABLE.FormFieldC {
    table-layout: fixed;
    max-width: inherit;
    margin: 1px 1px;
}

TABLE.FormFieldC {
    border-bottom: 1px dotted silver;
}

TABLE.FormFieldC TD.FormFieldL {
    border-right: 1px dotted silver;
}

Table.SubForm {
    border-spacing: 0px;
}

Table.SubForm td {
    padding: 0 0;
}

TABLE.SubForm CAPTION:empty {
    display: none;
}

TABLE.SubForm CAPTION {
    background: #CCCCDD;
    font-weight: bold;
    padding: 5px 0px;
    color: black;
    border-radius: 3px;
}

Table.FormFieldSelect {
    table-layout: fixed;
    width: 100%;
    min-width: 500px;
    max-width: 2000px;
}

Table.FormFieldText {
    min-width: 500px;
    max-width: 2000px;
    width: 100%;
}

TD.FormFieldText {
    padding: 1px 10px;
}

Table.FormFieldRText {
    min-width: 500px;
    max-width: 2000px;
    width: 100%;
}

TD.FormFieldRText {
    padding: 1px 10px;
}

TD.FormFieldSponsor {
    padding: 1px 10px;
}

TD.FamTitle {
    font: bold 30px calibri, sans-serif;
    height: 140px;
    text-align: center;
    vertical-align: middle;
    color: rgb(80, 116, 190);
    border-bottom: 1px solid rgb(80, 116, 190);
    background: none;
    user-select: none;
}

IMG.FamLogo {
    position: absolute;
    top: 0px;
    right: 0px;
    max-height: 140px;
    z-index: -1;
    user-select: none;
}

TD.SelTitle {
    font: bold 30px calibri, sans-serif;
    height: 100px;
    text-align: center;
    vertical-align: middle;
    color: rgb(80, 116, 190);
    border-bottom: 1px solid rgb(80, 116, 190);
    background: none;
    user-select: none;
}

IMG.SelLogo {
    position: absolute;
    top: 0px;
    right: 0px;
    max-height: 100px;
    z-index: -1;
    user-select: none;
}

TD.ConsDesi {
    font: bold 30px calibri, sans-serif;
    height: 100px;
    text-align: center;
    vertical-align: middle;
    color: rgb(80, 116, 190);
    border-bottom: 1px solid rgb(80, 116, 190);
    background: none;
}

IMG.ConsLogo {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: -1;
    user-select: none;
}

IFRAME[name=eed_szone_html] {
    border: none;
    border-left: 1px solid rgb(80, 116, 190);
    width: 200px;
    height: 100%;
    user-select: none;
}

#external_viewer {
    padding: 0 0;
    margin: 0 0;
    overflow: hidden;
}

#external_viewer IFRAME {
    border: none;
    width: 100%;
    height: 100%;
    padding: 0 0;
    margin: 0 0;
}

.menu {
    border-radius: 10px;
    padding: 0px 0px;
    text-align: center;
    overflow: hidden;
    user-select: none;
    padding: 1px 1px;
    vertical-align: bottom;
    border: 1px solid transparent;
    cursor: pointer;
}

.menu:hover {
    background: #EEEEEE;
}

.menu:active {
    background: #CCCCCC;
    border: 1px inset;
}

.menu-status {
    padding-left: 2px !important;
    padding-top: 2px !important;
    text-align: center;
    width: 18px;
    user-select: none;
}

td.undo {
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    width: 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    user-select: none;
}

td.undo:hover {
    background: #EEEEEE;
}

td.undo:active {
    background: #CCCCCC;
    border: 1px inset;
}

.table {
    margin: 0;
    line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #52585b;
    cursor: pointer;
    user-select: none;
}

.table .thead-light th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.table-sm th,
.table-sm td {
    padding: 0.25rem !important;
}

.table tr.selected td {
    background-color: rgb(212, 226, 255) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

.table-bordered thead th,
.table-bordered thead td {
    border-bottom-width: 2px;
}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive-sm>.table-bordered {
        border: 0;
    }
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive-md>.table-bordered {
        border: 0;
    }
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive-lg>.table-bordered {
        border: 0;
    }
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-responsive-xl>.table-bordered {
        border: 0;
    }
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive>.table-bordered {
    border: 0;
}


/*
.dropup,
.dropright,
.dropdown,
.dropleft {
    position: relative;
}

.dropdown-toggle {
    white-space: nowrap;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
    margin-left: 0;
}
*/

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem !important;
    padding: 0.25rem 0 !important;
    margin: 0.125rem 0 0 !important;
    font-size: 0.75rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.75) !important;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.dropdown-menu-left {
    right: auto;
    left: 0;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.dropdown-menu.show {
    display: block;
}