.layout__header {
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8.125rem;
}

#top {
  position: absolute;
  top: 130px;
  font-size: 0.875rem;
  line-height: 2.5rem;
  margin-top: 0.625rem;
}

#top a::before {
  content: "<";
  display: inline-block;
  font-size: 1rem;
  margin-right: 5px;
}

#top h1 {
  margin-top: 10px;
}

h2 {
  margin-bottom: 10px;
}

p:last-child {
  margin-bottom: 0;
}

#page {
  margin-top: 250px;
}

#intro,
#content {
  padding: 1.875rem 2.8125rem;
}

@media screen and (max-width: 575px) {
  #intro,
  #content {
    padding: 1.5625rem 1.25rem;
  }
}

#intro {
  width: 100%;
  margin-bottom: 1.25rem;
  background-color: #ff6000;
  color: #fff;
  -webkit-box-shadow: 0 0.1rem 0.5rem 0 rgba(0, 0, 0, 0.15), 0 1rem 3rem -1.5rem rgba(128, 48, 0, 0.3);
          box-shadow: 0 0.1rem 0.5rem 0 rgba(0, 0, 0, 0.15), 0 1rem 3rem -1.5rem rgba(128, 48, 0, 0.3);
}

#intro h1 {
  color: #fff;
  font-size: 1.3rem;
}

#content {
  width: 100%;
  margin-bottom: 1.25rem;
  background-color: #fff;
  -webkit-box-shadow: 0 0.1rem 0.5rem 0 rgba(0, 0, 0, 0.1), 0 1rem 3rem -1.5rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 0.1rem 0.5rem 0 rgba(0, 0, 0, 0.1), 0 1rem 3rem -1.5rem rgba(0, 0, 0, 0.15);
}

/* ======== */
/* = Form = */
/* ======== */
label.block {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input.link {
  width: 100%;
}

p.info {
  margin-top: 5px;
}

/* Questions */
h2 + dl.question {
  margin-top: -12px;
}

dl.question {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

dl.question > dt {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 215px;
  flex: 0 0 215px;
  color: #000;
  font-weight: bold;
  float: left;
  padding-top: 20px;
}

dl.question > dd {
  -webkit-box-flex: 1;
  -ms-flex: 1 1;
  flex: 1 1;
  margin-left: 47px;
  padding: 6px;
  float: left;
}

dl.question dl:last-child {
  margin-bottom: 0;
}

dl.question dd dt,
dl.question dd dd {
  width: auto;
  float: none;
  margin: 0;
  padding: 10px 0 0 0 !important;
}

dd.invalid {
  background: #dee4ec;
}

div.checkbox,
label.checkbox {
  margin-bottom: 0.3em;
  position: relative;
  display: block;
  margin-left: 20px;
  text-indent: 0;
}

div.checkbox input.checkbox,
label.checkbox input {
  height: 13px;
  position: absolute;
  float: left;
  top: 0px;
  left: -20px;
  vertical-align: bottom;
  width: 13px !important;
  background: none;
  border: 0 none;
}

div.checkbox input.checkbox,
label.checkbox input {
  border: 0 none;
  padding: 0;
}

span.pick-date {
  width: 16px;
  height: 2.875rem;
  background: url(../images/icons/datepicker.png) 50% 50% no-repeat;
  text-indent: -10000px;
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
  margin-left: -28px;
}

dd {
  background-color: #f5f5f5;
  padding: 20px !important;
}

input[type="text"],
input[type="number"] {
  border: none !important;
  background-color: #fff !important;
  line-height: 2em !important;
  padding: 0 0.7em !important;
  color: #333 !important;
  font-size: 1rem !important;
  width: 100%;
}

input.small {
  margin-right: 10px;
}

select {
  display: block;
  width: 100%;
  height: 2.875rem;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #fff;
  border-radius: 3px;
  color: #002e66;
  border: 1px solid #999;
  padding-right: 25px;
  border: none;
  line-height: 2em;
  padding: 0 0.7em;
  font-size: 1rem !important;
}

input[type="radio"],
input[type="checkbox"] {
  margin-top: 5px;
}

input.date {
  width: 200px;
}

.diplomas li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: flex-start;
      -ms-flex-align: flex-start;
          align-items: flex-start;
  padding-bottom: 10px;
}

.diplomas li:not(:last-child) {
  border-bottom: 2px solid #fff;
}

.diplomas .left {
  margin-top: 10px;
  margin-right: 15px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1;
  flex: 1 1;
}

.diplomas .date {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 250px;
  flex: 0 0 250px;
}

.diplomas .date input.date {
  width: 150px;
  margin-left: 5px;
}

.diplomas .date label {
  margin-bottom: 0;
}

.submit {
  text-align: right;
}

.submit button {
  margin-top: 20px;
}

button,
.button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  vertical-align: top;
  height: 2em;
  min-width: 6.875rem;
  padding: 0 0.8em;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background-color: #002e66;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  white-space: nowrap;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  overflow: hidden;
}

button:link,
.button:link,
button:hover,
.button:hover,
button:active,
.button:active,
button:focus,
.button:focus  {
  color: #fff;
}

@media screen and (max-width: 1000px) {
  .question {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .question dt {
    width: 100% !important;
  }
  .question dd {
    width: 100% !important;
    margin-top: 10px;
    margin-left: 0 !important;
  }
}

.toggle,
.link {
  cursor: pointer;
}

#question_employment_part_time_value dd {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.small {
  width: 200px !important;
}

#footer {
  width: 100%;
  margin-bottom: 20px;
}

#generated_at {
  float: right;
  color: #999;
}

dl.question dd p.error {
  margin-top: -20px;
}

dl.question .diplomas li.invalid {
  position: relative;
  padding-top: 40px;
}

dl.question .diplomas p.error {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin-top: 0;
}

p.error {
  background-color: #fcc;
  color: #f00;
  font-weight: bold;
  padding: 10px 20px;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: 6px;
  line-height: 1.2;
}

/* =========== */
/* = Toolbar = */
/* =========== */
#toolbar {
  position: absolute;
  top: 150px;
  right: 0;
  margin-top: 3px;
}

@media screen and (max-width: 575px) {
  #toolbar {
    top: 223px;
  }
}

#toolbar a.print,
#toolbar a.share {
  color: #999;
  text-decoration: none;
  font-weight: bold;
  float: left;
  margin-left: 35px;
  line-height: 16px;
  background: url(../images/backgrounds/icons.png) 0 -195px no-repeat;
  padding-left: 33px;
  padding-top: 5px;
}

#toolbar a.share {
  background-position: 0 5px;
}

#toolbar .inactive dt a.share {
  background-position: 0 1px;
  color: #999;
}

#toolbar dt a.share {
  margin-left: 0;
  padding-top: 0;
  background-position: 0 -100px;
  color: #002e66;
}

#toolbar dl.dropdown dt {
  margin-left: 35px;
}

#toolbar dl.dropdown,
#toolbar dl.dropdown dt {
  float: left;
}

/* ============ */
/* = Dropdown = */
/* ============ */
dl.dropdown {
  margin-bottom: 0;
}

dl.dropdown dd {
  background: #f5f5f5;
  border: 1px solid #dee4ec;
  padding: 10px;
}

dl.dropdown dt {
  z-index: 2;
  margin-bottom: -1px;
  border: 1px solid #dee4ec;
  border-bottom: 0;
  background: #f5f5f5;
}

dl.dropdown dt,
dl.dropdown dt span {
  float: left;
  background-color: #f5f5f5;
  position: relative;
}

dl.dropdown dt span {
  background-position: 100% -500px;
  margin-left: 7px;
  padding: 5px 7px 10px 0;
}

dl.dropdown dd {
  position: absolute;
  clear: both;
  top: 100%;
  right: 0;
  z-index: 1;
  width: 340px;
}

dl.dropdown .submit {
  margin: 5px 0 0 0;
  padding: 0;
  border-top: 0;
}

/* Inactive state */
dl.dropdown.inactive dt,
dl.dropdown.inactive dt span {
  background: none;
  border: 0;
}

dl.dropdown.inactive dd {
  display: none;
}

/* =========== */
/* = Carreer = */
/* =========== */
dl.carreer {
  margin-bottom: 0;
}

dl.carreer dt,
dl.carreer dd {
  border-top: 1px solid #dee4ec;
  padding-top: 10px;
  padding-bottom: 5px;
}

dl.carreer dt {
  width: 152px;
  font-weight: bold;
  color: #000;
  float: left;
}

dl.carreer dd {
  margin-left: 152px;
}

dl.carreer a.back {
  float: right;
  width: 25%;
}

@media screen and (max-width: 575px) {
  dl.carreer dt {
    float: none;
    width: 100%;
  }
  dl.carreer dd {
    margin-left: 0;
  }
  dl.carreer dt {
    border: 0;
  }
}

/* ========== */
/* = Events = */
/* ========== */
dl.events {
  width: 75%;
  margin-right: 10px;
  margin-bottom: 0;
}

dl.events dt,
dl.events dd {
  border-top: 0 none;
  padding: 0;
  float: none;
}

dl.events dt {
  padding: 0;
}

dl.events dd {
  margin-bottom: 25px;
  margin-left: 0;
  padding: 0 !important;
}

dl.events dd:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1000px) {
  dl.events {
    margin-bottom: 0;
  }
  dl.events dt {
    display: block;
    float: none;
    padding-bottom: 0;
  }
  dl.events dd {
    display: block;
    margin-bottom: 0;
  }
}

/* =========== */
/* = Profile = */
/* =========== */
dl.profile,
dl.collapsible {
  margin-bottom: 30px;
}

dl.profile dt {
  float: left;
  width: 400px;
  padding-right: 5px;
  padding-top: 20px;
  color: #000;
  font-weight: bold;
  clear: left;
  padding-bottom: 1px;
}

dl.profile dd {
  margin-left: 405px;
}

dl.profile dd.inactive,
dl.profile dt.inactive {
  display: none;
}

@media screen and (max-width: 575px) {
  dl.profile dt {
    float: none;
    width: 100%;
  }
  dl.profile dd {
    margin-left: 0;
  }
  dl.profile dt {
    border: 0;
  }
}

/* ========== */
/* = Salary = */
/* ========== */
table.salary {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

table.salary th,
table.salary td {
  padding-right: 20px;
  padding-bottom: 3px;
}

table.salary td.result,
table.salary th {
  width: 200px;
}

@media screen and (max-width: 575px) {
  table.salary th,
  table.salary td {
    display: block;
    width: 100% !important;
  }
  table.salary th {
    padding-top: 10px;
  }
}

table.salary.part-time td.result {
  width: 400px;
}

table.salary.jur td.result {
  width: 300px;
}

/* =============== */
/* = Collapsible = */
/* =============== */
dl.collapsible dt {
  padding-left: 12px;
  background: url(../images/backgrounds/collapsible.png) 0 6px no-repeat;
  font-weight: bold;
  color: #000;
  margin-bottom: 7px;
  cursor: pointer;
}

dl.collapsible dt span {
  display: none;
}

dl.collapsible dd dt {
  cursor: auto;
}

dl.collapsible dt.inactive {
  background-position: -998px 6px;
}

dl.collapsible dt.inactive span {
  display: inline;
}

dl.collapsible dd {
  padding-left: 9px;
}

dl.collapsible dd.inactive {
  display: none;
}

/* ========== */
/* = Blocks = */
/* ========== */
dl.blocks {
  margin-bottom: 0;
}

dl.blocks dt {
  background: #fff;
  padding: 20px 20px 0 20px;
  margin: 0;
  color: #ff6000;
}

dl.blocks dd {
  background: #fff;
  margin-bottom: 20px;
  padding: 8px 15px;
}

dl.blocks dd:last-child {
  margin-bottom: 0;
}
