html, body {
    font-family: 'Helvetica Neue', Verdana, Arial, sans-serif;
    line-height:1.6;
    background-image: url(/images/Hintergrundpic.png);
}



form div table td {
    padding:4px;
}



html body form div table td {
    
    overflow-wrap: break-word;
    max-width: none;
    min-width: auto;
    padding-right: 200px;
    vertical-align: middle;

}


.top-row label {
  margin-top:18px;
}


a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

input,
select,
textarea {
     margin-bottom: 3px;
     box-sizing: border-box;
     border-radius:5px;
}
form label {
  display: grid;
  grid-template-columns: 320px;
  column-gap: 15px;
  row-gap: 10px;
  align-items: center;
  
}

textarea {
  min-height: 150px;   
  width: 350px;         
  font-size: 16px;     
  padding: 10px 12px;  
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;   
  box-sizing: border-box;
}

form input[type="submit"],
form button {
  background:#ca0505;
  color:white;
  margin-top: 35px;
  width:180px;
  padding:14px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

form input[type="submit"]:hover,
form button:hover {
    background: #6b0112;              
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}
form input[type="submit"]:active,
form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}


.bottom-row {
    padding: 10px;
    text-align: center;
    background-color: #f7f7f7;
    color: black;
}
.bottom-row a  {
    
    color: black;
}
     

.top-row {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:flex-end;
    background-color:#f9f9f9;
    padding:59px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius:0 0 10px 10px;
}

.top-row ::before{
    content: "";
  position: absolute;
  left: 20px;                       
  top: 50%;
  transform: translateY(-50%);
  width: 300px;                     
  height: 400px;                     
  background-image: url("/images/qualityaustria_Logo.png"); 
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  pointer-events: none;
}

h1 {
  position: relative; 
    margin-bottom:1rem;
    white-space:pre-line;
    max-width:600px;
}

h1 + p{
    margin-bottom:10rem;
}


h1::before {
  content: "";
  position: absolute;
  top: -70px;                 
  right: -90%;                   
  width: 520px;               
  height: 1000px;               
  background: url("/images/complaint.svg") no-repeat right top / contain;
  pointer-events: none;       
}



.content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 40px;
  max-width: 1200px;
  margin: 50px auto;
  width: 100%;
}
h1:focus {
    outline: none;
    
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44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3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
    
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}





input[type="checkbox"][name="Model.PrivacyAccepted"] {
  transform: scale(1.93);
  transform-origin: right;
  accent-color: #006bb7;
}


td label input[type="file"] {
     text-wrap:balance;
}


@media (max-width: 640px){


    .top-row ::before{
      display:none;
    }

      .top-row{
    
    padding: 8px 12px !important;

  }

  .top-row select
  
  {
    height: 34px;
    font-size: 13px;
    line-height: 1.2;
    max-width: 150px;

  }
  

  input[type="checkbox"][name="Model.PrivacyAccepted"] {
    display:flex;
    margin-top:10px;
    transform-origin: right;
}
  
  .top-row::before{
    display: none;
    content: none;
    background: none;
    width: 0;
    height: 0;
  }
 .top-row select,
  .top-row a{
    font-size: 12px;
    padding: 2px 6px;
    line-height: 1.2;
    margin: 0 9px 0 0;
    white-space: nowrap;
  }

 
  body{
    margin-top: 100px; 
      }

  .content{
    position: relative;
    margin: 12px auto;
    padding: 16px;
    max-width: 100%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.1);
  }
  .content::before{
    content: "";
    display: block;
    width: 280px;              
    height: 100px;
    margin: 6px auto 12px;      
    background: url("/images/qualityaustria_Logo.png") no-repeat center / contain;
    pointer-events: none;
  }
  
  h1{
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: center;
    margin: 0 0 10px 0;
    white-space: normal;
  }
  h1::before, h1::after{
    display:none; 
    content:none; 
  }
  h1 + p{
    font-size: .95rem;
    text-align: center;
    margin-bottom: 14px;
  }

  form{
    display: grid ;
    grid-template-columns: 1fr ;
    row-gap: 8px;
    font-size: 14px;
    
  }
  form label{
    /* display:block; */
    text-align:left;
    margin-bottom:2px;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.3;
    font-weight:500;
    font-size:13px;
  }
  input, select, textarea{
   /* min-height:34px; */
   padding:6px 8px;
   font-size:14px;
   border-radius:5px;
   box-sizing:border-box;
  }
  textarea{ 
    min-height: 80px; 
  }
  form input[type="submit"], form button{
    width:100%;
    padding:10px;
    font-size:14px;
    margin-top:10px;
  }

  form table tr {
  display: block;
  margin-bottom: 10px;
}

form table td {
  display: block;
  width: 100%;
  padding: 0 !important;
}

form table td:first-child {
  margin-bottom: 4px;
}
}

@media (min-width:640px) and (max-width: 1100px){

      .top-row{
    margin-bottom:80px;
  }

  .top-row select
  
  {
    height: 30px;
    font-size: 13px;
    line-height: 1.2;
    max-width: 100px;

  }

  .top-row ::before{
    content: "";
  position: absolute;
  left: 20px;                       
  top: 50%;
  transform: translateY(-50%);
  width: 250px;                     
  height: 300px;                     
  background-image: url("/images/qualityaustria_Logo.png"); 
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  pointer-events: none;
}
  
 .top-row select,
  .top-row a{
    font-size: 12px;
    padding: 2px 6px;
    line-height: 1.2;
    margin: 0 9px 0 0;
    white-space: nowrap;
  }



  .content{
    position: relative;
    margin: 12px auto;
    padding: 54px 260px 40px 40px;
    max-width: 100%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.1);
  }

  


h1 {
  position: relative; 
    margin-bottom:1rem;
    white-space:pre-line;
    max-width:600px;
}

h1 + p{
    margin-bottom:10rem;
}


h1::before {
  content: "";
  position: absolute;
  top: -80%;                 
  right: -45%;                   
  width: 420px;               
  height: 900px;               
  background: url("/images/complaint.svg") no-repeat right top / contain;
  pointer-events: none;       
}


  form{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 8px;
    font-size: 14px;
  }
  form label{
    /* display:block; */
    text-align:left;
    margin-bottom:2px;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.3;
    font-weight:500;
    font-size:13px;
  }
  input, select, textarea{
   /* min-height:34px; */
   padding:6px 8px;
   font-size:14px;
   border-radius:5px;
   box-sizing:border-box;
  }
  textarea{ 
    min-height: 80px; 
  }
  form input[type="submit"], form button{
    width:100%;
    padding:10px;
    font-size:14px;
    margin-top:10px;
  }

  form table tr {
  display: block;
  margin-bottom: 10px;
}

form table td {

  width: 100%;
  padding: 0 !important;
}


}

@media (max-width: 840px){
  h1::before{
    display:none;
  }
}