﻿/* || FORM VARIABLES */
/*Colors*/
/*Radio button*/
/*Fonts*/
/*Sizes*/
/*---------------------------------------------------------------------------------*/
/*--POSITIONING--*/
/* || FORM VARIABLES */
/*Colors*/
/*Radio button*/
/*Fonts*/
/*Sizes*/
/*---------------------------------------------------------------------------------*/
/*--POSITIONING--*/
@media only screen {
  /*-----------------BUTTON 30 X 30 WITH ICON INSIDE-----------------*/
  /* || FORM VARIABLES */
  /*Colors*/
  /*Radio button*/
  /*Fonts*/
  /*Sizes*/
  /*---------------------------------------------------------------------------------*/
  /*--POSITIONING--*/
  /* || FORM VARIABLES */
  /*Colors*/
  /*Radio button*/
  /*Fonts*/
  /*Sizes*/
  /*---------------------------------------------------------------------------------*/
  /*--POSITIONING--*/
  .btn {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 2px;
  }
  .btn_content {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    border: 1px solid transparent;
    border-radius: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background-color 0.2s, border 0.2s, opacity 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn_content:hover {
    transition-delay: 0.2s;
    border: 1px solid #DBE5ED;
    background-color: rgba(255, 255, 255, 0.4);
  }
  .btn_content:active active {
    background-color: white;
  }
  /*-------------------------------BUTTON SELECTED--------------------------*/
  .btn_selected {
    border: 1px solid #DBE5ED !important;
    background-color: white !important;
  }
  .btn_disabled {
    opacity: 0.2;
    pointer-events: none;
  }
  /*-----------------------------------BUTTON WITH CUSTOM TEXT---------------------------------------*/
  btn_with_custom_text, .login_btn {
    height: 37px;
    border: 0px solid #007ee9;
    border-radius: 20px;
    background-color: #007ee9;
    cursor: pointer;
    transition: background-color 0.5s;
    color: white;
  }
  btn_with_custom_text:hover, .login_btn:hover {
    background-color: #1c8ae7;
  }
  /*BUTTON WITH CUSTOM TEXT AND ICON INSIDE CONTAINER*/
  btn_text_icon {
    height: 40px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    background-color: whitesmoke;
    width: calc(50% - 5px);
    display: flex;
    justify-content: center;
    padding: unset;
    align-items: center;
  }
  btn_text_icon:hover {
    transition-delay: 0.2s;
    border: 1px solid #DBE5ED;
    background-color: rgba(255, 255, 255, 0.4);
    color: black;
  }
  btn_container {
    display: flex;
    justify-content: space-around;
    padding: unset;
    align-items: center;
    height: 100%;
    cursor: pointer;
  }
  /* || FORM VARIABLES */
  /*Colors*/
  /*Radio button*/
  /*Fonts*/
  /*Sizes*/
  /*---------------------------------------------------------------------------------*/
  /*--POSITIONING--*/
  /* || FORM VARIABLES */
  /*Colors*/
  /*Radio button*/
  /*Fonts*/
  /*Sizes*/
  /*---------------------------------------------------------------------------------*/
  /*--POSITIONING--*/
  input-disabled, .editor-field input:-webkit-autofill, .editor-field input {
    color: black;
    background-color: whitesmoke;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    height: 25px;
    border-radius: 3px 3px;
    outline: none;
    transition: border 0.3s;
    /* Chrome, Safari, Edge, Opera */
    /* Firefox */
  }
  input-disabled::-webkit-outer-spin-button, .editor-field input:-webkit-autofill::-webkit-outer-spin-button, .editor-field input::-webkit-outer-spin-button, input-disabled::-webkit-inner-spin-button, .editor-field input:-webkit-autofill::-webkit-inner-spin-button, .editor-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  input-disabled[type=number], .editor-field input[type=number] {
    -moz-appearance: textfield;
  }
  input-disabled[type=text], .editor-field input[type=text] {
    font-size: 10pt;
  }
  input-disabled[type=password], .editor-field input[type=password] {
    font-size: 10pt;
  }
  input-disabled[type=date], .editor-field input[type=date] {
    font-size: 10pt;
    appearance: none; /* Remove default styling */
    -webkit-appearance: none; /* Safari and Chrome */
    -moz-appearance: none; /* Firefox */
  }
  input[type=number] {
    -moz-appearance: textfield;
  }
  input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  html, body {
    font-family: var(--pro_default_font), "Trebuchet MS", Calibri, Arial;
    position: absolute;
    overflow: auto;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    margin: 0px;
    background-color: var(--bg-app);
  }
  header,
  footer,
  nav,
  section {
    display: block;
  }
  fieldset {
    border: 1px solid var(--border-default);
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
  }
  legend {
    font-size: 1.2em;
    font-weight: bold;
  }
  textarea {
    min-height: 75px;
  }
  .editor-label {
    margin: 0px;
    margin-bottom: 2px;
    color: var(--color-info);
    font-size: 10pt;
  }
  .editor-field {
    display: flex;
    justify-content: start;
    padding: unset;
    align-items: center;
    border-bottom: 1px solid var(--border-hover);
    border-radius: 2px;
    background-color: var(--color-white);
    width: 310px;
  }
  .editor-field input {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, Arial, sans-serif;
    border: none !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--color-white) inset !important;
    width: 250px;
  }
  .editor-field input:-webkit-autofill {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, Arial, sans-serif;
    border: none !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--color-white) inset !important;
  }
  .field-validation-error {
    color: var(--color-danger);
  }
  .field-validation-valid {
    display: none;
  }
  .input-validation-error {
    border: 1px solid var(--color-danger) !important;
    background-color: #ffeeee !important;
  }
  .validation-summary-errors {
    font-weight: normal;
    color: var(--color-danger);
    padding: 10px;
    background-color: rgba(255, 0, 0, 0.15);
  }
  .validation-summary-errors ul {
    list-style-type: none;
    margin: 2px;
    padding-left: 30px;
  }
  .validation-summary-errors span {
    display: none;
  }
  .validation-summary-valid {
    display: none;
  }
  #logon_div, .logon_div {
    position: absolute;
    top: 50%;
    left: 50%;
    right: unset;
    bottom: unset;
    transform: translate(-50%, -50%);
    width: 518px;
    max-width: calc(100vw - 20px);
    height: 248px;
    display: inline-block;
    font-size: 10pt;
    background-color: var(--color-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  #logon_div .data_container, .logon_div .data_container {
    position: absolute;
    top: 40px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    display: flex;
    justify-content: space-evenly;
    padding: unset;
    align-items: center;
    flex-wrap: wrap;
  }
  #logon_div2, .logon_div2 {
    position: absolute;
    top: 50%;
    left: 50%;
    right: unset;
    bottom: unset;
    transform: translate(-50%, -50%);
    width: 818px;
    max-width: calc(100vw - 20px);
    height: 248px;
    display: inline-block;
    font-size: 10pt;
    background-color: var(--color-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  #logon_div2 .data_container, .logon_div2 .data_container {
    position: absolute;
    top: 40px;
    right: 0px;
    bottom: 0px;
    left: 300px;
    display: flex;
    justify-content: space-evenly;
    padding: unset;
    align-items: center;
    flex-wrap: wrap;
  }
  #logon_div2 .logo_container, .logon_div2 .logo_container {
    position: absolute;
    top: 40px;
    right: unset;
    bottom: 0px;
    left: 0px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #logon_div2 .logo_container img, .logon_div2 .logo_container img {
    max-width: 250px;
  }
  #validation_div {
    position: absolute;
    top: calc(50% + 122px);
    right: unset;
    bottom: unset;
    left: calc(50% - 255px);
    display: inline-block;
    width: 518px;
    font-size: 10pt;
    background-color: var(--color-white);
  }
  #validation_div2 {
    position: absolute;
    top: calc(50% + 122px);
    right: unset;
    bottom: unset;
    left: calc(50% - 409px);
    display: inline-block;
    width: 818px;
    font-size: 10pt;
    background-color: var(--color-white);
  }
  #sponsors_div {
    position: absolute;
    top: calc(50% + 124px);
    right: unset;
    bottom: unset;
    left: calc(50% - 409px);
    display: flex;
    width: 818px;
    flex-direction: row;
    background-color: var(--color-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  #logon_logo {
    position: absolute;
    top: 8px;
    right: 0px;
    bottom: 0px;
    left: unset;
    background-image: url("../images/protok/logoTop.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    cursor: pointer;
    height: 30px;
    width: 30px;
    width: 70px;
    height: 30px;
    background-size: 55px;
  }
  #logon_title {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: unset;
    left: 0px;
    height: 40px;
    padding: 4px;
    padding-left: 10px;
    font-size: 12pt;
    font-weight: 500;
    line-height: 30px;
    color: var(--text-secondary);
    padding-left: 10px;
  }
  #logon_header {
    position: absolute;
    top: 40px;
    right: unset;
    bottom: 20px;
    left: 0px;
    background-image: url("../config/login-logo.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    cursor: pointer;
    height: 30px;
    width: 30px;
    font-size: 20px;
    width: 220px;
    height: calc(100% - 40px);
    color: var(--color-primary);
  }
  .input_container {
    display: grid;
    justify-content: center;
    padding: unset;
    align-items: center;
  }
  .logon_middle {
    display: block;
    justify-content: center;
    padding: unset;
    align-items: center;
  }
  #logon_div_body {
    padding: 10px;
    padding-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.4);
  }
  #logon_bar {
    height: 24px;
    background-color: var(--color-warning);
  }
  #logon_bar fieldset {
    border-color: #AAF;
    background: var(--border-default);
  }
  .logon_middle_btns {
    display: flex;
    justify-content: end;
    padding: unset;
    align-items: center;
  }
  .btn_container {
    display: flex;
    justify-content: center;
    padding: unset;
    align-items: center;
    width: 100%;
  }
  #ef_uname_lb {
    background-image: url("../images/login/uname-icon.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    cursor: pointer;
    height: 30px;
    width: 30px;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s;
    margin: 2px;
  }
  #ef_pwd:focus + #ef_pwd_lb {
    opacity: 1;
  }
  #ef_pwd_lb {
    background-image: url("../images/login/pwd-icon-2.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    cursor: pointer;
    height: 30px;
    width: 30px;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s;
    margin: 2px;
  }
  .show_pwd {
    background-image: url("../images/login/show.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    cursor: pointer;
    height: 30px;
    width: 30px;
    cursor: auto;
    opacity: 0.5;
    transition: opacity 0.5s;
  }
  .hide_pwd {
    background-image: url("../images/login/hidden.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    cursor: pointer;
    height: 30px;
    width: 30px;
    cursor: auto;
    opacity: 0.5;
    transition: opacity 0.5s;
  }
  .login_btn {
    padding-left: 20px;
    padding-right: 20px;
  }
  .forgotten_password {
    margin-top: 10px;
    text-decoration: none;
    color: var(--color-primary);
  }
  .forgotten_password:hover {
    text-decoration: underline;
  }
  .login_lbl {
    width: 200px;
  }
  #top_bar {
    position: relative;
    background-color: var(--color-warning);
    height: 34px;
    border-bottom: 3px solid var(--color-warning);
  }
  #top_user {
    position: absolute;
    top: 10px;
    right: unset;
    bottom: unset;
    left: 10px;
    color: var(--color-white);
    line-height: 12px;
    font-size: 10pt;
  }
  #logoff {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: unset;
    left: unset;
    color: var(--color-white);
    line-height: 12px;
  }
  #logoff a {
    line-height: 12px;
    font-size: 10pt;
    color: var(--color-white);
    text-decoration: none;
  }
  #logoff a:hover {
    text-decoration: underline;
  }
  #app_content {
    padding: 10px;
    font-size: 9pt;
    line-height: 15pt;
    color: var(--text-secondary);
  }
}
@media only screen and (max-width: 518px) {
  #logon_div2, .logon_div2 {
    height: unset;
  }
  #logon_div2 .data_container, .logon_div2 .data_container {
    position: relative;
    top: unset;
    bottom: unset;
    left: unset;
    right: unset;
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  #logon_div2 .data_container .input_container, .logon_div2 .data_container .input_container {
    margin-bottom: 20px;
  }
  #logon_div2 .logo_container, .logon_div2 .logo_container {
    position: relative;
    top: unset;
    bottom: unset;
    left: unset;
    right: unset;
    width: unset;
    margin-top: 40px;
    margin-bottom: 20px;
    height: 180px;
  }
  #logon_div2 .logo_container img, .logon_div2 .logo_container img {
    max-height: 180px;
  }
  #sponsors_div {
    top: 435px;
    left: 0px;
    right: 0px;
    width: 100%;
  }
  .editor-field {
    width: unset;
  }
  .editor-field input {
    width: unset;
  }
}