/* ################################### common ####################################### */

:root
{
    --colorError:#e82d2d;
    --colorWarning:#e87e2d;
    --colorNotification:#1c911f;
    --buttonFontSize:16px;
    --modalFontColor:var(--colorMainFont);
}

html, body{
  overscroll-behavior: none; 
}

input[type="text"],input[type="email"],select,option{
  background-color:inherit;
  border:1px solid var(--colorLineBackground);
  color: var(--colorMainFont);
  padding:10px;
  width:100%;
}

input.error         {color:var(--colorError) !important;border:1px solid var(--colorError) !important;}


img.icon {width:30px;height:30px;} /* default is 40px in sys.css */ 




/* ################################### modal ######################################### */


.modal {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    font-size:14px;
  
    
  }
  
  /* Modal Content */
  .modal-content {
    background-color: var(--colorMainBackground);
    margin: auto;
    padding: 20px;
    border: 0px solid var(--colorMainFont);
    width: 80%;
    position:relative;
    font-size:16px;
    border-radius:5px;
    text-align:center;
    max-width:600px;
    overflow:hidden;
  
  }
  
  .modal-content .paragraph
  {
      border-top:1px solid var(--modalFontColor);
      margin-top:20px;
      color:var(--modalFontColor);
      font-size:16px;
      padding-top:20px;
      padding-bottom:10px;
  }
  
  .modal-content .header_message
  {
      display:inline-block;
      position:absolute;
      top:0px;
      left:0px;
      color:var(--modalFontColor);
      text-align:left;
      width:calc(100% - 40px);
      white-space: nowrap;
      overflow:hidden;
      padding-top:10px;
      padding-left:18px;
      font-size:16px;
  }
  
  /* The Close Button */
  .close {
    position:absolute;
    top:5px;
    right:8px;

  }
  .close img.icon 
  {    
    width:18px;
    height:18px;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-button
  {
      display:inline-block;
      min-width:200px;
      border:0px;
      padding:8px;
      color:var(--colorMainBackground);
      cursor:pointer;
      border-radius:5px;
      font-size: var(--buttonFontSize);
      font-weight:bold;
      margin-bottom:10px;
  }
  
  @media (max-width: 600px) 
  {
      .modal-button
      {
          width:90%;
      }
  }