body,
html {
    background: rgb(250, 250, 250);
}

#complaint-container {
    height: 100%;
}


/* Header changes */

header {
    background: rgb(250, 250, 250);
    position: fixed;
    top: 0;
    width: 100%;
    -webkit-transition: top 0.3s;
    transition: top 0.3s;
    min-height: 0;
    z-index: 99999;
}

.navigation li a:link,
.navigation li a:visited {
    color: #555;
}

header nav{
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef;
}

header img {
    margin-top: -16px;
    margin-left: -20px;
    width: 170.39px;
    height: 91.25px;
    -webkit-filter: brightness(1);
            filter: brightness(1);
    cursor: pointer;
}


/* complaint-body */

#complaint-section {
    min-height: 100vh;
    height: auto;
}

#complaint {
    width: 100%;
    display: -webkit-box;
    display: flex;
    padding-top: 7em;
}

#complaint__titles {
    -webkit-box-flex: 0;
            flex: 0 0 20%;
}

#complaint__content {
    -webkit-box-flex: 1;
            flex: 1;
    background-color: rgb(250, 250, 250);
}

.complaint__section-header {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-flex: 0;
            flex: 0 0 15%;
}


/* section */

#complaint-section-content{
    padding: 1.5em 2em 0 2em;
}

#complaint__header-text h5 {
    font-size: 100%;
    margin-bottom: 1em;
}

#complaint__header-text p {
    /* font-size: 90%; */
    font-weight: 400;
    line-height: 1.45em;
}

#complaint__form{
    padding-top: 1em;
    display: -webkit-box;
    display: flex;
}

#complaint__form__first-column{
    -webkit-box-flex: 0;
            flex: 0 0 30%;
    position: relative;
}

.complaint__form__input{
    width: 100%;
    height: 3.5em;
    margin-bottom: 15px;
    padding-left: 10px;
    border: 1px solid lightgray;
}

#complaint__form__second-column{
    -webkit-box-flex: 1;
            flex: 1;
    padding: 0 0 15px 30px;
    position: relative;
}

#complaint__form__text{
    width: 100%;
    height: 100%;
    padding: 10px;
    font-family: Arial;
    border: 1px solid lightgray;
}

#complaint__required-text{
  display: flex;
  justify-content: space-between;
}

#complaint__required-text label{
    display: -webkit-box;
    display: flex;
    font-size: 80%;
}

#complaint__required-text label div{
    color: red !important;
    margin-right: 5px;
    font-size: 170%;
}

#file-selector{
  width: 220px;
}

#complaint__alert{
    padding-top: 20px;
}

#complaint__alert p{
    font-size: 90%;
    font-style: italic;
}

#complaint__agreement{
    display: -webkit-box;
    display: flex;
    padding-top: 15px;
}

#complaint__agreement__checkbox {
    -webkit-box-flex: 0;
            flex: 0 0 30px;
    text-align: center;
}

#complaint__agreement__checkbox input {
    -webkit-transform: scale(1.5);
            transform: scale(1.5);
}

#complaint__agreement__text{
    font-size: 70%;
    -webkit-box-flex: 1;
            flex: 1;
}

#complaint__buttons-container{
    display: -webkit-box;
    display: flex;
    margin-top: 20px;
}

#complaint__captcha{
    background: lightgray;
    width: 12em;
    height: 3em;
    padding: 5px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    border: 1px solid rgb(200, 200, 200);
    margin-right: 30px;
}

#complaint__captcha__checkbox{
    -webkit-box-flex: 0;
            flex: 0 0 15%;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
}

#complaint__captcha__checkbox input{
    transform: scale(1.5);
}

#complaint__captcha__text {
    text-align: center;
}

#complaint__submit{
    background: #3949ab;
    width: 12em;
    height: 3em;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
}

#complaint__submit p{
    color: white;
}

.star {
    position: absolute;
    left: 97%;
    color: red;
    font-size: 150%;
}

.star-name {
    left: 95%;
}

.star-email {
    top: 20%;
    left: 95%;
}

.star-date {
    top: 60%;   
    left: 95%;
}

/* pole daty zdarzenia */
 [type="date"] {
    background:#fff url("../resources/images/calendar.png")  94% 50% no-repeat;
    box-shadow: none;
    border: 1px solid lightgray;
  }
  [type="date"]::-webkit-inner-spin-button {
    display: none;
  }
  [type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 8%;
    cursor: pointer;
  }
  
#complaint__form__date {
    padding: 3px 10px;
    font-family: Arial, Helvetica, sans-serif;
}


input[type="date"]::before { 
    content: attr(data-placeholder);
    width: 100%;
    color: gray;
}

input[type="date"]:focus::before,
input[type="date"]:valid::before { display: none }


/* alert window */

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px 20px 20px 20px;
    border: 1px solid #888;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .modal-content p{
    text-align: center;
  }
  
  .close {
    background: #3949ab;
    color: white;
    display: none;
    width: 100px;
    justify-content: center;
    align-items: center;
    flex: 0 0 40px;
    margin-top: 40px;
  }
  
  .close:hover,
  .close:focus {
    background: #273381;
    cursor: pointer;
  }

  /* loader */
  .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #3949ab;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
  
  
/* section-fv */

#fv-section {
    min-height: 100vh;
    height: auto;
    padding-top: 7em;
}

.fv__section-header {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-flex: 0;
            flex: 0 0 15%;
}

#fv-content {
    padding: 2.5em 2em 2em 2em;
    line-height: 1.45em;
}

#fv-content a{
    color: #3949ab;
    text-decoration: none;
}