.header-wrapper {
  position: fixed;
  top: 0;
  z-index: 9999;
  background: #fff;
}
#content {
  margin-top: 49px;
}
p {
  color: #444444;
}
h1,h2,h3,h4,h5,h6 {
  color: #444444;
}
.button {
  background: transparent !important;
  position: relative;
  z-index: 1;
  margin-left: 20px;
}
.button:hover {
  background: transparent !important;
  border: 0 !important;
}
.button:hover::before {
  background: #000;
  transform: skew(-25deg);
  transition: all 0.4s ease-in-out;
}
.button::before {
  content: '';
  position: absolute;
  width: calc(100% + 20px);
  height: 40px;
  background: #0073aa;
  transform: skew(25deg);
  left: -10px;
  top: 0;
  z-index: -1;
  transition: all 0.4s ease-in-out;
}
.button.funnel {
  margin-top: 15px;
}
.button.header::before {
  top: -5px;
}
.entry-footer {
    display: none !important;
}
.contact-us {
    background: #f7f7f7;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.map {
    width: 100%;
    max-height: 800px;
    overflow: hidden;
}
.map img {
    width: 100%;
    float: left;
}
.contact-form {
    margin: auto;
    width: 600px;
    min-height: 390px;
    background: #ffffff;
    position: relative;
    margin-top: -600px;
    padding: 30px 100px;
    box-sizing: content-box;
    opacity: 0.9;
}
.contact-form h2 {
  text-align: left;
  text-transform: uppercase;
  font-weight: 400;
  margin: 20px 0;
  font-family: 'Futura PT';
  color: #005987;
}
.contact-form h2::before {
    display: none;
}
.contact-form p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.contact-form form span {
    flex-basis: 50%;
    max-width: 50%;
}
.contact-form form span.your-message {
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}
.contact-form form span input {
    max-width: 90%;
    border: 0;
    border-bottom: 1px solid #a0a0a0;
}
.contact-form form span textarea {
    border: 0;
    border-bottom: 1px solid #a0a0a0;
    max-height: 200px;
}
.flex-wrapper {
  background: #fff;
}
.flex-wrapper .inner-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 55px;
    padding-bottom: 50px;
    max-width: 1440px;
    width: 100%;
    flex-basis: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-top: 50px;
}
.flex-wrapper .inner-wrapper:nth-child(2),
.flex-wrapper .inner-wrapper:nth-child(3) {
  margin-top: 0;
  padding-top: 0;
}
.flex-wrapper .inner-wrapper .full-row {
  text-align: center;
}
.flex-wrapper .inner-wrapper .full-row::before {
  display: none;
}
.flex-wrapper .inner-wrapper h1 {
  font-family: 'Futura PT';
  font-size: 36px;
  color: #0a5a83;
}
.flex-wrapper .inner-wrapper h1::before {
  display: none;
}
.flex-wrapper .social a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.flex-wrapper .social a img {
    width: 40px;
}
.flex-wrapper .social a span {
    margin-left: 15px;
}
.flex-wrapper .social {
  flex-basis: 50%;
  max-width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.flex-wrapper .social::before {
  content: '';
  background: #0a5a83;
  position: absolute;
  top: 0;
  left: -100px;
  width: 300%;
  height: 100%;
  transform: skew(-30deg);
}
.flex-wrapper .social h1,
.flex-wrapper .social p,
.flex-wrapper .social h2 {
  position: relative;
  color: #fff;
}
.flex-wrapper .social .button {
  color: #0a5a83;
}
.flex-wrapper .social .button::before {
  background: #fff;
  transition: all 0.4s ease-in-out;
}
.flex-wrapper .social .button:hover::before {
  background: #000;
  transition: all 0.4s ease-in-out;
}
.flex-wrapper .pre-map {
  flex-basis: 100%;
  padding: 25px 0;
  max-width: 1440px;
  margin: auto;
  text-align: center;
}
.flex-wrapper .pre-map::before {
  display: none;
}
.flex-wrapper .pre-map h1 {
  font-family: 'Futura PT';
  color: #e1e9eb;
  font-size: 36px;
}
.flex-wrapper .pre-map h1::before {
  display: none;
}
.flex-wrapper .pre-map p {
  color: #e1e9eb;
}
.flex-wrapper .google-maps {
  flex-basis: 100%;
  max-width: 100%;
  padding: 0;
}
.flex-wrapper .google-maps iframe {
  float: left;
}
.flex-wrapper .google-maps div {
  flex-basis: 100%;
  max-width: 100%;
}
.flex-wrapper div {
  flex-basis: 50%;
  max-width: 50%;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
}
.flex-wrapper div::before {
  content: '';
  background: #fff;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
.flex-wrapper .google-maps:before,
.flex-wrapper .google-maps div:before {
  display: none;
}
.flex-wrapper div div,
.flex-wrapper div div div {
  flex-basis: 100%;
  max-width: 100%;
  padding: 0;
}
.flex-wrapper div h1 {
    font-size: 24px;
    position: relative;
}
.flex-wrapper div ul {
  position: relative;
}
.flex-wrapper div h1::before {
    margin-bottom: 10px;
}
.contact-form-quick .wpcf7-submit {
  margin-top: 20px;
}
.contact-form-quick span {
    float: left;
    width: 100%;
}
.contact-form-quick input {
    width: 100%;
    float: left;
    margin-bottom: 15px;
}
.certificates-block {
    background: #3d3d3d;
}
.certificates-block h3 {
    color: white;
    font-weight: 100;
    text-transform: uppercase;
    text-align: center;
    padding: 30px 0;
    margin-bottom: 0;
    margin-top: 0;
}
.certificates-block br {
    display: none;
}
.certificates-block .flexbox {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 50px;
}
.certificates-block .item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.certificates-block .item a {
    color: #fff;
    text-transform: lowercase;
    font-size: 13px;
    text-decoration: none;
}
.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: 200px;
}
.new-footer .wrap .col .col.length:first-child img {
    max-height: 47px;
    max-width: 237px;
}
.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 p b {
  color: #fff !important;
}
.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;
}
.testimionals-wrapper {
  background: #fff;
}
.testimionals-wrapper .inner-wrapper {
  max-width: 1440px;
  margin: auto;
}
.testimionals-wrapper h2 {
    margin-top: 0;
    font-family: 'Futura PT';
    font-size: 46px;
    color: #0a5a83;
    text-align: center;
    background: #fff;
    padding: 25px 0px;
    margin-bottom: 0;
    padding-bottom: 5px;
}
.testimionals-wrapper p {
  margin-top: 0;
  text-align: center;
}
.testimionals-wrapper h2::before {
  display: none;
}
.testimionals-wrapper h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.testimionals-wrapper .testimonial_rotator_wrap.with-prevnext {
  padding: 10px 150px;
  margin-bottom: 0;
}
.contact-wrapper {
    background: #fff;
}
.contact-wrapper .wpcf7 {
    max-width: 1440px;
    margin: auto;
}
.contact-wrapper h1 {
    margin-top: 0;
    font-family: 'Futura PT';
    font-size: 36px;
    color: #fff;
    text-align: center;
    background: #0a5a83;
    padding: 25px 0px;
}
.contact-wrapper h1::before {
    display: none;
}
.contact-wrapper  {
  text-align: center;
  margin-top: 0;
}
.contact-wrapper p {
  margin-bottom: 0;
}
.contact-wrapper p.small {
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
  margin: 0;
}
.contact-wrapper form {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.contact-wrapper form p {
  flex-basis: 49%;
  max-width: 49%;
  font-weight: bold;
}
.contact-wrapper form p:nth-child(4) {
  flex-basis: 100%;
  max-width: 100%;
}
.contact-wrapper form p:nth-child(5) input {
  width: 100%;
  max-width: 200px;
}
.contact-wrapper form p label {
  width: 100%;
  float: left;
}
.contact-wrapper form p label input {
  width: 100%;
}
/* media queries */
@media only screen and (max-width: 1020px) {
  /* HEADER */
  .header-wrapper .col-md-6 {
    display: none;
  }
  .header-wrapper .col-md-3 {
    flex-basis: 50%;
    max-width: 50%;
    justify-content: flex-end;
  }
  .header-wrapper .col-md-3 h1 {
    font-size: 10px;
  }
  .header-wrapper .col-md-3 .buttons {
    display: none;
  }
  .header-wrapper {
    padding: 5px 15px;
  }
  .header-wrapper .bar1,
  .header-wrapper .bar2,
  .header-wrapper .bar3 {
    width: 25px;
    height: 3px;
    margin: 4px 0;
  }
  /* ENTRY CONTENT */
  .entry .entry-content {
    margin: 0;
    max-width: 100%;
  }
  .contact-us .contact-form {
    padding: 10px 15px;
    width: calc(100% - 30px);
    margin: 0 15px;
    box-sizing: border-box;
    margin-top: -110px;
  }
  .flex-wrapper {
    flex-wrap: wrap;
    margin-top: 10px;
    padding-bottom: 20px;
  }
  .flex-wrapper .company-info {
    flex-basis: 100%;
    max-width: 100%;
    padding: 10px 30px;
  }
  .flex-wrapper .social .social {
    padding: 0;
  }
}
@media only screen and (max-width: 768px) {
  .contact-form form span {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 15px;
    margin-top: 0;
  }
  .wpcf7-submit {
    width: 100%;
  }
  .flex-wrapper .pre-map {
    padding: 25px 15px;
  }
  .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::nth-child(2) {
      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;
      padding-top: 25px;
      background: rgba(0, 89, 133, 0.90);
  }
  .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;
  }
  .new-footer .wrap .col.half:last-child {
    margin-top: 20px;
  }
  .hamburger-menu .open {
      font-size: 9px !important;
  }
  .navigation.is-open .hamburger-menu {
      padding: 15px;
      padding-top: 0;
  }
  .flex-wrapper .inner-wrapper {
    flex-direction: column;
    padding: 0 15px;
  }
  .flex-wrapper .social {
    max-width: 100%;
    flex-basis: 100%;
    padding: 10px 30px;
  }
  .flex-wrapper .social::before {
    transform: skew(0deg);
  }
  .testimionals-wrapper {
    margin-bottom: 0;
  }
  .testimionals-wrapper .inner-wrapper {
    padding: 0 5px;
  }
  .testimionals-wrapper .testimonial_rotator_wrap.with-prevnext {
    padding: 10px 30px;
    margin: 0;
  }
  .testimionals-wrapper h2 {
    font-size: 1.6875em;
    padding: 25px 15px;
  }
  .contact-wrapper h1 {
    font-size: 1.6875em;
    padding: 25px 15px;
  }
  .contact-wrapper p {
    padding: 0 15px;
    margin-bottom: 5px;
  }
  .contact-wrapper .wpcf7 {
    padding: 15px;
    padding-top: 0;
  }
  .contact-wrapper .wpcf7 p {
    flex-basis: 100%;
    max-width: 100%;
  }
}
@media only screen and (max-width: 373px) {
  .header-wrapper .col-md-3 h1 {
    font-size: 9px;
  }
}