.dialog-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.25em 0;
}

.dialog-content .icon {
    margin-right: 10px;
    padding: 10px;
    margin-left: -10px;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button[type="submit"] {
    font-weight: inherit;
}

label {
    font-variant: initial;
    font-size: 0.8rem;
    color: #909090;
    margin-top: 1.2rem;
    display: block;
    letter-spacing: 0.7px;
}

fieldset {
    border: none;
}

input[type='color'] {
    width: 150px;
    height: 28px;
}

.btn {
    padding: 1.3rem 2rem;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-family: Roboto;
}

.btn-primary, .btn-primary:active, .btn-primary:link, .btn-primary:visited {
    background: #3a8dc5;
    color: white;
}

.btn-primary:hover {
    background: #7cbbf9;
    color: white;
}

button svg, button i {
    margin-right: 0.2em;
}

input[type="text"],
input[type="password"],
textarea,
select {
    font-size: 12pt;
    font-size: 1.2rem;
    background-color: #ffffff;
    border: 1px solid #c9c9c9;
    color: #2060a0;
    border-radius: 5px;
    padding: 0.5rem 0.4rem;
    margin: 0;
    line-height: 100%;
}

select {
    padding-right: 0.95rem;
}

div.mandatory:before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #f04040;
    position: relative;
    left: -6px;
    top: 5px;
    margin-top: -5px;
    margin-left: -5px;
}

.mandatory-empty input[type="text"],
.mandatory-empty input[type="password"],
.mandatory-empty input[type="file"],
.mandatory-empty textarea,
.mandatory-empty select
{
    border-color: #e0a0a0;
    /*background-color: #ff2020;*/
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: #5b9dd9;
    box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
    color: #303030;
    background-color: #fffff5;
}

input[type="text"]:disabled,
input[type="password"]:disabled,
textarea:disabled,
select:disabled
{
    background-color: #f0f0f0!important;
    border: 1px solid #e0e0e0;
    color: #a0a0a0;
    box-shadow: none;
}

input[type="file"] {
    color: #a0a0a0;
    box-shadow: none;
}

input[type="text"].displayonly,
textarea.displayonly,
select.displayonly
{
    border-color: transparent;
    background-color: transparent;
    color: #605060!important;
    box-shadow: none;

}

div.forced {
    padding-top: 10px;
    padding-bottom: 10px;
    background: #ffa0a0;
}

.edit_form div.caption {
    display:block;
    font-weight: 500;
    margin-right: 0.3rem;
    text-align: right;
}

.edit_form div.subtle_caption {
    display:block;
    font-weight:normal;
    font-size: 0.9rem;
    color: #505050;
    margin-right: 4px;
}

.edit_form div.field {
    display: flex;
    color: #777;
}

.edit_form div.block {
    margin: 5px 0 10px 40px;
}

.edit_form div.static {
    margin-bottom: 15px;
    font-size: 1rem;
}

div.edit_form table.ED_table_clear .separator_a {
    margin-top: 10px;
    border-top: 1px solid #e5e5e5;
    margin-bottom: 10px;
}

div.edit_form table.ED_table_clear .separator_b {
    margin-top: 10px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 10px;
}

tr.separator_b > td {
    padding-bottom: 6px;
}

tr.separator_a > td {
    padding-top: 6px;
}

td.section {
    padding-top: 5px;
}

.block div.caption {
    font-size: 100%;
    padding: 0.2rem 0;
}
/*
.edit_form .btn {
    color: white;
    padding: 0.8rem 4rem;
    box-shadow:inset 0px 1px 0px rgba(255,255,255,0.3), 0px 1px 2px #515151;
    text-shadow:0px 1px 0px rgba(0,0,0,0.3);

    background-color:#569cf3;
    background-image:linear-gradient(to bottom, #569cf3 0%, #569cf3 50%, #1e5da9 100%);
}

.edit_form .btn:hover {
    background-color:#6bbeff;
    background-image:linear-gradient(to bottom, #6bbeff 0%, #6bbeff 50%, #569cf3 100%);
}

.edit_form .btn:active {
    background-color:#4894ea;
    background-image:linear-gradient(to bottom, #4894ea 0%, #4894ea 50%, #6bbeff 100%);
}
*/
.ED_span {
  padding-top: 4px;
}

.edit_form label {
    display: block;
    font-variant: small-caps;
    letter-spacing: 0.8px;
    font-size: 0.8rem;
    color: #2070a0;
    margin-top: 0.8rem;
}

.edit_form .choices label {
    display: inline;
    font-variant: normal;
}


div.vertical + div.vertical {
    margin-top: 1rem;
}

div.panel {
    padding: 20px 60px;
    margin: 10px auto;
    background: none;
    background: #f9f9f9;
    border: 1px solid #d0d0d0;
    box-shadow: 1px 1px 1px #c0c0c0;
    border-radius: 11px;
    background: linear-gradient(to bottom, #ffffff 20%, #f0f0f0 100%);
}

div.panel.report-heading {
    margin: 0;
    border: 1px solid #9aacb6;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
}

div.panel h1, .panel h2, .panel h3 {
    margin-top: 0;
    text-align: center;
}

div.panel-tight {
    padding: 10px 30px;
}

div.panel  input[type="text"],
div.panel  input[type="password"],
div.panel  select
{
    box-sizing: border-box;
}

.full-width  input[type="text"],
.full-width  input[type="password"],
.full-width  select {
    width: 100%;
}

.panel div.field {
    margin-top: 5px;
}

div.legend {
    font-size: 13px;
    letter-spacing: 1px;
    color: #e09090;
    margin: 20px 0 0 0;
    display:flex;
    justify-content: stretch;
    font-family: Tahoma, Verdana;
    font-variant: small-caps;
    font-weight: normal;
}

.block div.legend  {
    margin-top: 50px;
}

div.legend::before,
div.legend::after {
    display: inline-block;
    content: "";
    border-top: 1px solid #e0e0e0;
    flex-grow: 1;
    transform: translateY(50%);
}

div.legend::before {
    margin: 0 8px 0 0;
}
div.legend::after {
    margin: 0 1px 0 8px;
}

.panel div.block {
    margin: 5px 0;
}

.form_panel {
    width: 100%;
}

.floating-tip {
    background-color: #fffff4;
    border: 1px solid #f0f0f0;
    padding: 15px 25px;
    color: #303030;

    z-index: 9999;
    font-size: 10.5pt;
    border-radius: 5px;
    box-shadow: 4px 4px 4px #b0b0b0;

    max-width: 500px;
}

.floating-error {
    background-color: #ffd0c0;
    color: #902020;
    border: 2px solid #c04040;

    z-index: 9999;
    padding: 8px 15px;
    font-size: 10.5pt;
    border-radius: 5px;
    box-shadow: 4px 4px 4px #b0b0b0;

    max-width: 500px;
    overflow: auto;
}



input[type="radio"]
{
     appearance:none;
    -moz-appearance: none;
    -webkit-appearance: none;

    display: inline-block;
    border: none;
    outline: none;
}

input[type="radio" i] {
    margin: 0;
    margin-right: 5px;
}

input[type="radio"]:after  {
    font: normal normal normal 22px/1 FontAwesome;
    content: "\f10c"; /* fa-circle-o */

    color: #b4d6ed;
}
input[type="radio"]:checked:after {
    font: normal normal normal 22px/1 FontAwesome;
    content: "\f192"; /* fa-dot-circle-o */
    color: #4ae;
}

input[type="radio"]:disabled {
  opacity:0.4;
}

/*
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
     -o-appearance: none;
        appearance: none;
}

.select {
    position: relative;

    align-items: center;
    justify-content: center;
}

.select:after {
    font-family: FontAwesome;
    content: '\f107';
    position: absolute;
    right: 20px;
    color: #434B67;
    pointer-events: none;

}

select::-ms-expand {
  display: none;
}
*/



::placeholder { /* Most modern browsers support this now. */
   color:   #ffa0a0;
   opacity: 0.6;
}


input[type="checkbox"]{
  appearance:none;
  -moz-appearance: none;
  -webkit-appearance: none;

  width: 1.5rem;
  height: 1.5rem;

  position:relative;
  display:inline-block;
  vertical-align:middle;
  box-sizing:border-box;
  margin-right: 0.9rem;
  outline: none;

  flex-grow: 0;
  flex-shrink: 0;
  margin-bottom: 3px;
}

input[type="checkbox"]:after{
  content:'';
  position:absolute;

  width: 1.5rem;
  height: 1.5rem;

  background: white;
  border: 2px solid #ccc;
  border-radius: 5px;
}

input[type="checkbox"]:checked:after{
    font-family: 'Font Awesome 5 Pro';
    content: "\f00c";
    font-weight: bolder;
    color: #5070C0;
    font-size: 1.2rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="checkbox"]:disabled{
  opacity:0.4;
}

/* Waiting overlay for submit buttons */

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }


.wait, .wait:hover {
    color: transparent;
    background: #d0d0d0;
}

.wait::after {
    font-family: 'Font Awesome 5 Pro';
    content: "\f110";
    animation: spin 2s infinite linear;
    color: #606060;
    font-size: 26px;
    position: absolute;

    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;

    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  100% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }

  50% {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
  }

  100% {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }
}

.faa-pulse.animated {
  -webkit-animation: pulse 2s linear infinite;
  animation: pulse 2s linear infinite;
}

.faa-spin.animated {
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}


label.error {
    color: #f04040;
    margin: 0;
    font-size: 10pt;
    font-weight: normal;
    display: block;
}



#top .main_color input[type="text"].error,
#top .main_color input[type="password"].error,
#top .main_color input[type="email"].error,
#top .main_color textarea.error,
#top .main_color select.error
{
    border-color: #f0a0a0;
}

#top .main_color input[type="text"].error:focus,
#top .main_color input[type="password"].error:focus,
#top .main_color input[type="email"].error:focus,
#top .main_color textarea.error:focus,
#top .main_color select.error:focus
{
    background-color: #ffe4e4;
    box-shadow: 0 0 2px rgba(220, 140, 130, 0.8);
}


input[type="checkbox"].error::after {
    background-color: #ffe4e4;
    border-color: #f0a0a0;
}


.dd-selected {
    font-weight: normal;
}

.dd-selected,
.dd-option
{
    display: flex;
}

.dd-selected:hover,
.dd-option:hover {
    text-decoration: none;
}

.dd-selected label,
.dd-option label
{
    margin: 0; padding: 0; color: #404040; font-family: Roboto; font-size: 1.2rem!important;
    display: inline-block;
    flex-grow: 1;
}

.dd-selected small,
.dd-option small
{
    display: inline-block;
    margin: 0; padding: 0; color: #808080; font-family: Roboto; font-size: 1rem!important;
    margin-right: 35px;
    color: #538abd;
}

.dd-options {
    z-index: 1000;
}

.dd-container {
    background: transparent;
}

.dd-pointer {
    margin: 0;
    top: 0;
    right: 0;
    display: flex;
    align-items:center;
    width: 25px;
    height: 100%;
}


.dd-pointer-down:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 18px;
    content: "\f078";
    color: #49c;
    position: relative;
}


.dd-pointer-up:before {
    font-family: "Font Awesome 5 Pro";
    font-size: 18px;
    content: "\f077";
    color: #49c;
    position: relative;
}
