
/* utf8 łódź */


* {
  box-sizing: border-box;
}


html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Calibri, sans-serif;
  font-size: 16px;
  overflow-y: scroll;
}


body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #dedede;
}

body, input, select, button {
  font-family: Calibri, sans-serif;
  font-size: 1rem;
}


form {
  margin: 0;
}

h1, h2, h3, h4, h5, h6, h7, p, pre, blockquote, ul, ol, dl {

}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, h7:first-child, p:first-child, pre:first-child, blockquote:first-child, ul:first-child, ol:first-child, dl:first-child {
  margin-top: 0;
}
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, h7:last-child, p:last-child, pre:last-child, blockquote:last-child, ul:last-child, ol:last-child, dl:last-child {
  margin-bottom: 0;
}




#all {
  padding: 30px;
}

#page {
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  margin: auto;
  background: #fff;
  min-height: 100%;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0, 0.2);  
}


#core-log {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: red;
  font-family: monospace;
}
#core-log:hover {
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 10px;
  overflow: auto;
}
#core-log table {
  width: 100%;
  border-collapse: collapse;
}
#core-log td {
  border: 1px solid #ccc;
  vertical-align: top;
  padding: 5px;
}


h1 {
  text-align: center;
}


input[type=date] {
  text-transform: uppercase;
}

.inpt, select {
  width: 100%;
  min-width: 100px;
  max-width: 430px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px 15px;
}

.inne {
  padding-left: 5px;
  padding-top: 5px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(forms/arrow-down.png) 96%  50% no-repeat #fff;
}
select::-ms-expand { 
  display: none; /* remove default arrow on ie10 and ie11 */
}

select:invalid {

}
select option[value=""] {
  color: #999999;
}

.btn {
  background: #eee;
  color: #000;
  cursor: pointer;
  padding: 10px 20px;
  border: 0;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1rem;
  /* dla <a> */
  display: inline-block;
  text-decoration: none;
}
.btn:hover {
  background: #ddd;
}


.btn-next, .btn-submit {
  background: #001f8e;
  color: #fff;
}
.btn-next:hover, .btn-submit:hover {
  background: #504bc4;
}

.inpt:focus, select:focus, .btn:focus {
  box-shadow: 0px 0px 5px 0px rgba(0,0,0, 0.2);
}


.error {
  color: #d00;
  font-weight: bold;
}




.form-checkbox {
  display: flex;
  flex-wrap: wrap;
}

.form-field > *, .form-checkbox > * {
  padding: 10px;
}
/* 1 */
.form-field > .label {
}
.form-checkbox > .input {
  width: 60px;
  text-align: right;
  padding-top: 15px;
}
/* 2 */
.form-field > .error, .form-checkbox > .error {
  width: 100%;
  padding-bottom: 0;
}
.form-field > .error:empty, .form-checkbox > .error:empty {
  display: none;
}

/* 3 */
.form-field > .input {

}
.form-field > .yesno label, .form-field > .checkboxes label {
  display: inline-block;
  padding: 8px;
  padding-left: 2px;
  cursor: pointer;
}
.form-field > .checkboxes {
  padding-top: 15px;
}
.form-field > .checkboxes label {
  padding: 3px;
  padding-left: 2px;  
}

.form-checkbox .label {
  width: calc(100% - 60px);
}
.form-info {
  width: 100%;
  height: 300px;
  display: table;
}
.form-info > div {
  display: table-cell;
  vertical-align: middle;
  padding: 20px;
  text-align: center;
}



@media (min-width: 700px)
{
  .form-field, .form-checkbox {
    display: flex;
    flex-wrap: wrap;
  }
  .form-field > *, .form-checkbox > * {
    display: inline-block;
    padding: 10px;
    vertical-align: top;
  }
  .form-field > .label {
    width: 40%;
    text-align: right;
    padding-top: 17px;
  }
  .form-field > .input {
    width: 60%;
  }
  .form-field > .error {
    width: 60%;
    margin-left: 40%;
    order: -1;  
  }  
  .form-checkbox > .error {
    width: calc(100% - 60px);
    margin-left: 60px;
    order: -1;
  }  
}


.form-header {
  background: #001f8e;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0;
  padding: 5px 10px;
  text-align: center;
}



.form-submits {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 20px;
  padding-top: 20px;
}
.form-submits-hidden {
  position: absolute;
  left: -10000px;
  top: -10000px;
}
.form-submits .btn {
  margin: 10px;
}


h1 {
  border-bottom: 1px solid #ddd;
  margin: 0;
  padding-bottom: 20px;
}
.form-step {
  padding: 10px;
  text-align: right;
}















