/* inputs */
#privacy_policy,
label[for=privacy_policy],
#confirm_if_true,
label[for=confirm_if_true],
.previous,
.next {
  cursor: pointer;
}
select[name="select-position"],
select[data-select-position] {
  text-transform: capitalize;
}
input[type="date"]::-webkit-inner-spin-button {
  display: none;
  -webkit-appearance: none;
}
input[type="date"] {
  position: relative;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}
.select2-container .select2-selection--single {
  height: 38px !important;
  border: 1px solid #ccc !important;
  border-radius: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 100%;
  display: flex !important;
  align-items: center;
  font-weight: 400;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
}
.select2-search--dropdown {
  padding: 0 !important;
}
.select2-container--open .select2-dropdown--below {
  margin-top: -6px;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #0a5a83 !important;
  padding-left: 10px;
}
.select2-results__option {
  font-family: 'Muli', sans-serif;
  font-size: 14px;
  padding: 0 6px !important;
  padding-left: 14px !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #1e90ff !important;
}
select {
  cursor: pointer;
}
.file-upload {
  display: flex;
  flex-direction: column;
}
.file-upload span {
  float: left;
  max-width: 350px;
  height: 38px;
  border: 2px solid #0a5a83;
  color: #0a5a83;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.file-upload span.active {
  color: #fff;
  background: #0a5a83;
}
.file-upload span:hover {
  color: #fff;
  background: #0a5a83;
  transition: all 0.2s ease-in-out;
}

/* Validation */
.not_valid {
  border: 1px solid red !important;
}
.error {
  font-size: 10px;
  color: red;
}
.no_error {
  color: #fff;
}

/* Modal */
#modal {
  display: none !important;
}

/* Popup */
.no-scroll {
    overflow: hidden;
}
.popup-background {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #0a5a83;
    opacity: 0.75;
    z-index: 1;
    display: block;
}
.popup-background.hidden {
  display: none;
}
.popup-wrapper {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.popup-wrapper.hidden {
  display: none;
}
.popup-wrapper .popup {
    max-width: 1000px;
    max-height: 600px;
    background: #fff;
    height: 100%;
    width: 100%;
}
.popup-wrapper .popup a {
    height: 50px;
    float: left;
    width: 100%;
    text-align: right;
    font-size: 34px;
    padding-right: 20px;
    padding-top: 18px;
    box-sizing: border-box;
}
.popup-wrapper .popup .popup-content {
    height: calc(100% - 100px);
    overflow-y: scroll;
    float: left;
    margin: 20px;
    box-sizing: border-box;
    padding-right: 35px;
}
.popup-wrapper .popup .popup-content h2 {
    margin-top: 0;
    float: left;
    width: 100%;
}
.popup-wrapper .popup .popup-content p {
    float: left;
    width: 100%;
    margin-bottom: 15px !important;
}
.popup-wrapper .popup .popup-content b {
  margin-top: 10px;
  float: left;
  width: 100%;
}

/* main elements */
p {
  margin: 0 !important;
}
.privacy-policy {
  margin-top: 40px;
  font-size: 14px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 20px;
}
.pagination p {
  margin-top: 15px !important;
}
.pagination .visual-pager {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagination .visual-pager br {
  display: none;
}
.pagination .visual-pager .page {
  background: #eee;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  color: #0B5A84;
}
.pagination .visual-pager .page.current {
    border: 2px solid #0B5A84;
}
.pagination .visual-pager .page.active {
  background: #0B5A84;
  color: #fff;
}
.pagination .visual-pager .seperator {
  width: 40px;
  height: 2px;
  background: #eee;
}
.pagination .visual-pager .seperator.active {
  background: #0B5A84;
}

/* ajax loader */
@keyframes ld-spin {
  0% {
    transform: rotate(0);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19)
  }
  50% {
    transform: rotate(180deg);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1)
  }
  to {
    transform: rotate(360deg)
  }
}
.ajax_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}
.ajax_overlay.hidden {
  display: none;
}
.ajaxloader-ring {
  display: none;
  width: 5em;
  height: 5em;
  position: relative;
  color: inherit;
  display: inline-block;
  animation: ld-spin 1s infinite;
}
.ajaxloader-ring:after {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: " ";
  display: inline-block;
  background: center center no-repeat;
  background-size: cover;
  border-radius: 50%;
  border-style: solid;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-width: .15em;
  border-color: #0a5a83 #0a5a83 #0a5a83 #eee;
  -webkit-background-clip: padding-box;
}
.ajaxloader-ring.hidden {
  display: none !important;
}
.ajax_overlay span {
  font-size: 14px;
  margin-top: 20px;
}

/* content */
.first_page,
.second_page,
.third_page {
    float: left;
    width: 100%;
    padding: 15px 60px;
}
.first_page .first_step {
    display: flex;
}
.first_step label {
    flex-basis: 25%;
    max-width: 25%;
    font-size: 0.875em;
    font-weight: bold;
    font-family: 'Muli', sans-serif;
    letter-spacing: 0;
}
.first_step label.full {
    flex-basis: 50%;
    max-width: 50%;
}
.first_step label span {
    width: 100%;
}
.first_step label span select {
    width: 95%;
    padding: 0.56rem 0.66rem;
    font-family: 'Muli', sans-serif;
    border: 1px solid #ccc;
    outline: 0;
    padding-left: 7px;
}
.first_step label span select option:checked {
    box-shadow: 0 0 10px 100px #1e90ff inset;
}
.first_step label span select:focus,
.first_step label span input:focus {
  border: 1px solid #1e90ff
}
.first_step label span input {
    width: 95%;
    padding: 0.36rem 0.66rem;
    font-family: 'Muli', sans-serif;
    outline: 0;
}
.first_step br {
    display: none;
}
.entry-header {
    background: #0a5a83;
    margin: 0 !important;
    padding: 2em;
    color: #fff;
}
.entry-content form {
  position: relative;
  overflow: hidden;
}
.entry .entry-content, .entry .entry-summary {
    max-width: 100%;
    margin: 0;
}
.entry .entry-content .wpcf7 {
    max-width: 100%;
}
.first_step,.second_step,.third_step {
    float: left;
    width: 100%;
}
.wpcf7 .half {
    float: left;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
}
.wpcf7 h2 {
    background: #0a5a83;
    font-size: 1rem;
    padding: 10px;
    color: white;
    font-family: 'Muli', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.wpcf7 h2::before {
    display: none;
}
.wpcf7 .half label {
    flex-basis: 50%;
    max-width: 50%;
    font-size: 0.875em;
    font-weight: bold;
    font-family: 'Muli', sans-serif;
    letter-spacing: 0;
    margin-bottom: 15px;
}
.wpcf7 .half label span {
    float: left;
    width: 100%;
    margin-top: 0;
    outline: 0;
}
.wpcf7 .half label span input {
    max-width: 95%;
    width: 95%;
    font-family: 'Muli', sans-serif;
}
.wpcf7 .half label span select {
    width: 95%;
    padding: 0.56rem 0.66rem;
    font-family: 'Muli', sans-serif;
    border: 1px solid #ccc;
}
.wpcf7 .half label span select option:checked {
    border: 1px solid green;
}
.wpcf7 .half br {
    display: none;
}
/* SECOND PAGE */
.second_page {
    float: left;
    width: 100%;
}
.second_page .row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  order: 2;
}
.second_page .row.heading label {
    float: left;
    width: 20%;
}
.second_page .row.heading {
  display: block;
}
.second_page .row [data-required] {
  order: 0;
}
.second_page .row [data-secondary] {
    order: 1;
    padding: 10px;
    margin-bottom: 0;
    padding-left: 0;
}
.second_page .row [data-secondary]:nth-child(4) {
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.second_page .row [data-secondary] .select2.select2-container {
  width: 95% !important;
}
.second_page .row.heading label.hidden {
    opacity: 0;
    display: block;
}
.second_page .row label.hidden {
  display: none;
}
.second_page .row label {
    float: left;
    width: 100%;
    display: flex;
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 15px;
    order: 2;
}
.second_page .row label span {
    flex-basis: 20%;
    max-width: 20%;
    font-size: 15px;
    line-height: 16px;
}
.second_page .row .inlander {
    order: 1;
    padding: 15px 40px;
    text-transform: uppercase;
    position: relative;
    padding-right: 60px;
    cursor: pointer;
    width: 100%;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 10px 0;
    padding-left: 0;
}
.second_page .row .inlander.is-open {
  border-bottom: 1px solid transparent;
}
.second_page .row. .inlander i {
  position: absolute;
  right: 14px;
  font-style: normal;
  font-size: 22px;
  top: 10px;
}
.second_page .row label span:first-child {
    padding-right: 40px;
}
.second_page .row .select2.select2-container {
  flex-basis: 100%;
  max-width: 100%;
}
.second_page .row .select2.select2-container span,
.second_page .row .select2.select2-container span span {
  float: left;
  width: 100%;
  max-width: 100%;
  flex-basis: 100%;
  padding-right: 0;
}
.second_page .row .select2.select2-container span span span {
  float: left;
  width: auto;
  max-width: 100%;
  flex-basis: 100%;
  padding-right: 30px;
}
.second_page .second_step {
  width: auto;
  margin-right: 50px;
  margin-top: 40px;
  margin-bottom: 50px;
}
.second_page .second_step a {
  background: #0a5a83;
  color: white;
  padding: 20px 82px;
  margin-top: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
.second_page .third_step {
  margin-top: 40px;
  width: auto;
  margin-bottom: 50px;
}
.second_page .third_step a {
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
.second_page .second_step a:hover,
.second_page .third_step a:hover {
  background: #000;
  transition: all 0.4s ease-in-out;
  color: #fff;
}
/* THIRD PAGE */
.third_page {
    float: left;
    width: 100%;
}
.third_page .full-row {
  background: #eee;
  padding: 10px;
  margin-bottom: 15px;
}
.third_page .row {
    display:flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}
.third_page .row.hidden {
  display: none;
}
.third_page .row.twenty {
  margin-top: 15px;
}
.third_page .row br {
    display: none;
}
.third_page .add-more {
  border: 2px solid #0073aa;
  color: #0073aa;
  padding: 8px 83px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.third_page .add-more:hover {
  background: #0073aa;
  color: #fff;
  transition: all 0.2s ease-in-out;
}
.third_page .add-more span {
  margin-right: 10px;
}
.third_page .second_step {
  margin-top: 40px;
  margin-bottom: 50px;
  width: auto;
  margin-right: 50px;
}
.third_page .second_step a {
  background: #0a5a83;
  color: white;
  padding: 20px 82px;
  margin-top: 50px;
}
.third_page .third_step {
    margin-top: 40px;
    margin-bottom: 50px;
    width: auto;
}
.third_page .second_step a:hover,
.third_page .third_step a:hover {
    background: #000;
    transition: all 0.4s ease-in-out;
    color: #fff;
}
.row .cell {
    flex-basis: 25%;
    max-width: 25%;
    font-size: 0.875em;
    font-weight: bold;
    font-family: 'Muli', sans-serif;
    letter-spacing: 0;
}
.row.twenty .cell {
    flex-basis: 20%;
    max-width: 20%;
}
.cell input,
.cell select {
    float: left;
    width: 95%;
    box-sizing: border-box;
    height: 40px;
}
.cell .select2.select2-container {
  width: 95% !important;
}
.languages label {
  flex-basis: 33.333%;
  max-width: 33.333%;
  font-size: 0.875em;
  letter-spacing: 0;
  font-weight: bold;
}
.languages .row {
  margin-bottom: 10px;
}
.languages .row.data {
  margin-bottom: 20px;
}
.languages .cell {
  flex-basis: 33.333%;
  max-width: 33.333%;
}
.languages .cell input,
.languages .cell select {
  width: 95%;
}
.drivers-license .row,
.drug-free .row {
  flex-direction: column;
}
.drivers-license .row label,
.drug-free .row label {
  margin-bottom: 10px;
}
.drivers-license .row label input,
.drug-free .row label input {
  margin-right: 5px;
}
.drivers-license .driving {
  display: flex;
  flex-direction: column;
}
.drivers-license .driving label {
  font-size: 0.875em;
  font-weight: bold;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.drivers-license .driving .select2.select2-container {
  width: 32% !important;
}
.third_step {
    margin: 0;
}
.submit_step {
  margin-top: 40px;
  float: left;
  width: 100%;
  margin-bottom: 50px;
}
.submit_step a {
  text-decoration: none !important;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.submit_step a:hover {
  color: #fff;
  background: #000;
  transition: all 0.4s ease-in-out;
}
.next {
    background: #0a5a83;
    color: white;
    padding: 20px 100px;
    margin-top: 50px;
}
.fourth_page {
  min-height: 300px;
}
.fourth_page .row {
  display: flex;
}
.fourth_page .row .col {
  flex: 1;
  padding: 20px;
  position: relative;
}
.fourth_page .row .col.congrats h1 {
  font-size: 26px;
}
.fourth_page .row .col.congrats h1::before {
  display: none;
}
.fourth_page .row .col.congrats h3 {
  font-size: 18px;
}
.fourth_page .row .col.pdf {
  background: #0B5A84;
  color: #fdfdfd;
  min-height: 400px;
}
.fourth_page .row .col.pdf h1 {
  font-size: 26px;
}
.fourth_page .row .col.pdf h3 {
  font-size: 18px;
}
.fourth_page .downloads {
  height: 100px;
  transition: all 0.4s ease-in-out;
}
.fourth_page .downloads.height {
  height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}
.fourth_page .downloads {
  display: flex;
  flex-direction: column;
}
.fourth_page .downloads a {
  background: #fafafa;
  color: #0B5A84;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 15px;
  cursor: pointer;
  width: 30%;
  min-width: 150px;
  opacity: 0.85;
  transition: all 0.2s ease-in-out;
}
.fourth_page .downloads a:hover {
  opacity: 1;
  transition: all 0.2s ease-in-out;
}
.ajax-overlay {
  height: 100%;
  transition: all 0.4s ease-in-out;
}
.ajax-overlay.height {
  height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-ring span {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 51px;
  height: 51px;
  margin: 6px;
  border: 6px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring span:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring span:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring span:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.new-footer {
    color: #fff;
    background: url('https://rivamarine.eu/wp-content/themes/twentynineteen/media/section-background.webp');
    background-repeat: no-repeat;
    float: left;
    width: 100%;
    background-size: cover;
}
.new-footer .wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(0, 89, 133, 0.75);
    padding: 35px 60px;
    flex-wrap: wrap;
    padding-bottom: 0;
}
.new-footer .wrap .inner-wrap {
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: space-between;
}
.new-footer .wrap .col {
    flex-basis: 25%;
    max-width: 25%;
    display: flex;
    flex-wrap: wrap;
}
.new-footer .wrap .col .col {
    flex-basis: 50%;
    max-width: 50%;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 15px;
}
.new-footer .wrap .col .col.length {
    flex-basis: 100%;
    max-width: 100%;
}
.new-footer .wrap .col .col.length:first-child {
    margin-top: 0;
    margin-bottom: 0;
}
.new-footer .wrap .col .col.length:nth-child(2),
.new-footer .wrap .col .col.length:nth-child(3),
.new-footer .wrap .col .col.length:nth-child(4) {
    justify-content: flex-end;
}
.new-footer .wrap .col .col.length:nth-child(3) {
    margin-top: 0;
    max-height: 20px;
}
.new-footer .wrap .col .col.length:nth-child(4) ul {
    max-width: 350px;
}
.new-footer .wrap .col .col.length:first-child img {
    max-height: 47px;
}
.new-footer .wrap .col.half {
    flex-basis: 50%;
    max-width: 50%;
}
.new-footer .wrap .col.half:last-child p:first-child {
    text-align: right;
    font-weight: bold;
}
.new-footer .wrap .col.full {
    flex-basis: calc(100% + 120px);
    max-width: calc(100% + 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-left: -60px;
    margin-right: -60px;
    background: #0a5a83;
    padding: 5px 0;
}
.new-footer .wrap .col.full a {
    color: #fff;
    margin-right: 20px;
    font-size: 14px;
}
.new-footer .wrap .col.full p {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.75px;
    flex-basis: auto;
    max-width: auto;
}
.new-footer .wrap .col.half .flexbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 500px;
    width: 100%;
}
.new-footer .wrap .col.half .flexbox .item {
    max-width: 135px;
}
.new-footer .wrap .col.half .flexbox br {
    display: none;
}
.new-footer .wrap p {
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    flex-basis: 100%;
    max-width: 100%;
    letter-spacing: 1px;
}
.new-footer .wrap ul {
    list-style: none;
    padding: 0;
    text-align: right;
    flex-basis: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-between;
}
.new-footer .wrap ul:nth-child(2) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0;
}
.new-footer .wrap ul:nth-child(3) {
    margin-top: 35px;
}
.new-footer .wrap ul a {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 100px;
    display: flex;
    justify-content: center;
}
.new-footer .wrap ul a svg {
    max-height: 25px;
    margin-top: 10px;
    min-width: 25px;
}
/* Media queries */
@media only screen and (max-width: 1020px) {
  .first_page, .second_page, .third_page {
    padding: 15px;
  }
}
@media only screen and (max-width: 800px) {
  .pagination {
    margin-bottom: 5px;
  }
  .first_step {
    flex-wrap: wrap;
  }
  .first_step label {
    flex-basis: 50%;
    max-width: 50%;
  }
  .first_step label.full {
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 10px;
  }
  .wpcf7 .half {
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
    .change .bar1 {
        transform: rotate(-45deg) translate(-12px, 9px);
    }
    .change .bar3 {
        transform: rotate(45deg) translate(-4px, -5px);
        width: 31px;
    }
    .navigation .hamburger-menu .open {
        bottom: -2px;
        padding-left: 2px;
    }
    #cookie-law-info-bar {
        font-size: 12px;
    }
    .header-wrapper .col-md-3 h1 {
        margin-top: -3px;
        font-size: 11px;
        color: #005987;
    }
    .new-footer .wrap ul:first-child {
        margin-top: 25px;
    }
    .new-footer .wrap ul {
        text-align: left;
    }
    .new-footer .flexbox img {
        max-width: 90%;
    }
    .new-footer .wrap .col.full {
      margin-top: 0;
      margin-left: -15px;
      margin-right: -15px;
      flex-basis: calc(100% + 30px);
      max-width: calc(100% + 30px);
    }
    .new-footer .wrap {
        padding-left: 15px;
        padding-right: 15px;
    }
    .new-footer .wrap .inner-wrap {
        flex-direction: column;
    }
    .new-footer .wrap .inner-wrap .col {
        max-width: 100%;
        flex-basis: 100%;
    }
    .new-footer .wrap .col.half:last-child p:first-child {
      text-align: left;
    }
    .new-footer .wrap .col .col.length:nth-child(4) {
      justify-content: flex-start;
    }
    .hamburger-menu .open {
        font-size: 9px !important;
    }
    .navigation.is-open .hamburger-menu {
        padding: 15px;
        padding-top: 0;
    }
}
@media only screen and (max-width: 373px) {
  .header-wrapper .col-md-3 h1 {
    font-size: 9px;
  }
}