/*
Theme Name:     Ronmi Child
Theme URI:      http://wpdemo.archiwp.com/ronmi/
Description:    Make your modifications to [Parent Theme] in this child theme.
Author:         Oceanthemes
Author URI:     http://oceanthemes.net/
Version:        1.0
Template:       ronmi
*/

@import url("../ronmi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */
/*.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email.wpcf7-not-valid {
  border-radius: 0px!important;
  padding: 6px 30px;
  line-height: 1;
  font-size: 16px;
}*/

.elementor-widget-icon-list span.elementor-icon-list-icon i {
    color: #5F5F5D;
}

.elementor-icon-list-item a:hover > span.elementor-icon-list-icon i {
    color: #008BA0;
}

.pum-container.pum-responsive.pum-responsive-normal {
  width: 636px;
  background-color: #008BA0;
  color: #fff;
  border-radius: 5px;
}
.pum-theme-10951 .pum-content + .pum-close, .pum-theme-tema-predefinito .pum-content + .pum-close {
background-color: #008BA0!important;
}
.pum-container.pum-responsive.pum-responsive-normal {
  width: 636px!important;
}
.pum-theme-10951, .pum-theme-tema-predefinito {
  background-color: rgba( 0, 0, 0, 0.8 )!important;
}

.team-f2 .ot-team-slider .owl-item:nth-child(even) {
    margin-top: 80px!important;
}

.post-template-default.single-post .ngg-galleryoverview.default-view {
  text-align: left;
}

.elementor-9039 .elementor-element.elementor-element-34502fc:hover .icon-box-title a, .elementor-8558 .elementor-element.elementor-element-bfc4e6d:hover .icon-box-title a, .elementor-8558 .elementor-element.elementor-element-b74d474:hover .icon-box-title a {
    color: #ffffff;
}

.team-f2 .ot-team .ot-team__thumb {
  width: 100%;
}

#primary-sidebar ul.wp-block-latest-posts__list.wp-block-latest-posts li {
  border-bottom: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 0;
}

.form_catalogo span.wpcf7-form-control-wrap {
  font-size: 16px;
  line-height: 1;
}

.gallery-f2 figcaption {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 15px;
}

.elementor .cataloghi img {
  border: 1px solid #dddddd;
  border-bottom: 0;
}

.btn-group a.octf-btn.octf-btn-second {
  width: 100%;
}

.video-show-cooking.elementor-widget-video .elementor-wrapper {
    aspect-ratio: 0.8;
}

.elementor .cataloghi .octf-btn.octf-btn-primary {
  background-color: #2C2F88;
  border-radius: 0;
  width: 100%;
}

.elementor .cataloghi .octf-btn.octf-btn-primary:hover {
  background-color: #292B2E;
}

.news .hh .info-des p {
    font-weight: 500;
}

.modal-dialog h4.modal-title {
  text-align: center;
  color: #ffffff;
}

.modal-dialog .modal-header {
  text-align: center;
  background: #2C2F88;
}

.modal-dialog .modal-body {
    padding: 12px 30px;
}

.modal-dialog .modal-body .one_half.fr div {
  margin-right: 5px;
}

.modal-dialog .modal-body .one_half.sc div {
  margin-left: 5px;
}

.modal-dialog .modal-body form .content-column.one_third.last_column div {
  margin: 0;
}

.modal-dialog .modal-body span.wpcf7-spinner {
  display: none;
}

.modal-dialog .modal-body p.intro {
  font-weight: 700;
    text-align: center;
}

.modal-dialog .modal-body input, .modal-dialog .modal-body select {
    padding: 12px 10px;
}

.modal-dialog .modal-body h3 {
    padding-bottom: 15px;
}

section.news .elementor-element.elementor-element-983dc91 .ot-button .octf-btn.octf-btn-primary {
  font-family: var(--ronmi-font-main);
  font-size: var(--ronmi-btn-font-size);
  font-weight: var(--ronmi-btn-font-weight);
  line-height: var(--ronmi-btn-line-height);
}

section.news .elementor-element.elementor-element-983dc91 .ot-button .octf-btn.octf-btn-primary:hover {
  color: var(--ronmi-btn-text-color);
  background-color: var(--ronmi-color-second);
  font-family: var(--ronmi-font-main);
  font-size: var(--ronmi-btn-font-size);
  font-weight: var(--ronmi-btn-font-weight);
  line-height: var(--ronmi-btn-line-height);
}

footer .elementor-icon-box-content h3.elementor-icon-box-title {
  margin-bottom: 0;
}

footer .elementor-2513 .elementor-element.elementor-element-1928e04 .elementor-icon-box-wrapper {
  text-align: left;
  flex-direction: row-reverse;
  justify-content: left;
}

footer .elementor-2513 .elementor-element.elementor-element-1928e04 .elementor-icon-box-wrapper .elementor-icon-box-icon {
  margin-left: 15px;
}

footer .elementor-2513 .elementor-element.elementor-element-1928e04 .elementor-icon-box-wrapper .elementor-icon-box-content {
  flex-grow: inherit;
}

.acc-custom-icon .ot-acc-item__title > span {
    background-color: #2C2F88!important;
}

span.ot-heading__sub {
  color: #2C2F88;
  font-family: "Noto Sans", Sans-serif;
  font-size: 15px;
  font-weight: 600;
}

rs-group:before {
    content: url("data:image/svg+xml,%3Csvg viewBox='0 0 103 16' xmlns='http://www.w3.org/2000/svg' fill='%23b6b5b3'%3E%3Cpath d='M102.707 8.70711C103.098 8.31658 103.098 7.68342 102.707 7.29289L96.3431 0.928932C95.9526 0.538408 95.3195 0.538408 94.9289 0.928932C94.5384 1.31946 94.5384 1.95262 94.9289 2.34315L100.586 8L94.9289 13.6569C94.5384 14.0474 94.5384 14.6805 94.9289 15.0711C95.3195 15.4616 95.9526 15.4616 96.3431 15.0711L102.707 8.70711ZM0 9H102V7H0L0 9Z'/%3E%3C/svg%3E%0A");
    transition: all 0.2s linear;
    display: block;
    text-align: center;
    transform: rotate(180deg);
    font-family: "revicons";
    font-size: 15px;
    color: #fff;
    width: 58px;
    display: block;
    text-align: center;
}
rs-group:after {
    left: -24px;
    position: absolute;
    content: '';
    top: -5px;
    width: 50px;
    height: 50px;
    border: 1px solid #b6b5b3;
    border-radius: 50%;
    transition: all 0.2s linear;
}

.page-id-7794 img {
  padding: 20px;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required, textarea.wpcf7-form-control.wpcf7-textarea {
  border-radius: 0px!important;
}

#wpcf7-f7913-p7899-o1 .wpcf7-form-control.wpcf7-submit.has-spinner {
  border-radius: 100px;
  padding: 20px 60px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-family: "Raleway", Sans-serif;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
line-height: 18px;
background-color: #2C2F88;
width: auto;
}

form input[type=text], form input[type=email], form select, form input[type=url], form input[type=password], form input[type=search], form input[type=number], form input[type=tel], form input[type=range], form input[type=date], form input[type=month], input[type=week], input[type=time], input[type=datetime], input[type=datetime-local], input[type=color], input[type=file], textarea {
  padding: 19px 30px;
  width:100%;
  line-height: 1;
  font-size: 16px;
  border-radius: 0;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 0;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
    line-height: 1;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item span {
  font-size: 12px;
  line-height: 1;
}

#wpcf7-f7878-o2 .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item span a {
  color: #ffffff;
}

footer#site-footer .wpcf7-form-control.wpcf7-submit.has-spinner {
  border-radius: 100px;
  padding: 20px 60px;
  background-color: #f0f0f0;
  text-transform: uppercase;
  font-family: "Raleway", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  width: auto;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
  border-radius: 100px;
  padding: 20px 60px;
  text-transform: uppercase;
  font-family: "Raleway", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

#breadcrumbs li {
  text-transform: uppercase;
  font-family: "Noto Sans", sans-serif!important;
}

form .content-column.one_third div {
  margin: 0 10px 20px 0;
  box-sizing: border-box;
}

.form-contatti p > label, .form-rivenditori p > label {
  font-family: "Noto Sans", sans-serif!important;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: #191D1B;
}

.form_catalogo .wpcf7-submit, .form-contatti .wpcf7-submit, .form-rivenditori .wpcf7-submit {
  background: #2C2F88;
  color: #ffffff;
  border: 0;
  text-align: center;
  width: auto!important;
}

.form_catalogo .wpcf7-submit:hover, .form-contatti .wpcf7-submit:hover, .form-rivenditori .wpcf7-submit:hover {
  background: #292B2E;
  color: #ffffff;
  border: 0;
  text-align: center;
  width: auto!important;
}

.form-contatti p {
  margin-bottom: 0;
}

.form-contatti .wpcf7-acceptance {
  margin-bottom: 30px;
  display: inline-block;
}

.txt-cntr {
  text-align: center !important;
}

:root {
  --ronmi-font-main: "Noto Sans", sans-serif!important;
  --ronmi-font-second: "Noto Sans", sans-serif!important;
  --ronmi-color-primary: #2C2F88!important;
  --ronmi-color-second: #2C2F88!important;
}

.prodotti-cs h5 {
  padding-bottom: 40px;
  font-size: 18px;
  line-height: 1.5;
}
.prodotti-cs .ot-service-des > p {
  font-size: 15px;
  line-height: 1.5;
}

.octf-btn, .wp-block-button__link {
  padding: 20px 60px!important;
  font-family: "Noto Sans", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 18px;
  background-color: #2C2F88;
  color: #fff;
}

.octf-btn:hover, .wp-block-button__link:hover {
  background-color: #292b2e;
}

a.wp-block-button__link {
  color: #fff!important;
}

.octf-btn.octf-btn-primary {
  padding: 20px 60px!important;
  font-family: "Noto Sans", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 18px;
  background-color: #2C2F88;
}

.octf-btn:hover {
  color: #FFFFFF;
  background-color: #292B2E;
}

.octf-btn.octf-btn-primary:hover, .elementor-7925 .elementor-element.elementor-element-ed2cf69 .octf-btn.octf-btn-primary:hover {
  color: #FFFFFF;
  background-color: #292B2E;
}

.newsletter-form a {
  color: #ffffff;
}

.block-icon-category div.ot-view-default.ot-position-top.elementor-widget.elementor-widget-ot-iconbox:hover h3.icon-box-title, .block-icon-category div.ot-view-default.ot-position-top.elementor-widget.elementor-widget-ot-iconbox:hover h5 a, .block-icon-category .ot-view-default.ot-position-top.elementor-widget.elementor-widget-ot-iconbox:hover .icon-box-des, .block-icon-category .ot-view-default.ot-position-top.elementor-widget.elementor-widget-ot-iconbox:hover .icon-box-btn a {
  color: #ffffff;
}


@media screen and (min-width:768px){
.cat_cat .block-icon-category .elementor-column.elementor-inner-column.elementor-element {
  width: 33.33%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  margin-bottom: 25px;
}
.cat_cat .block-icon-category .elementor-container.elementor-column-gap-extended {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.cat_cat .block-icon-category .elementor-column.elementor-inner-column.elementor-element .elementor-widget-container {
  height: 100%;
}
}

.block-icon-category div.ot-view-default.ot-position-top.elementor-widget.elementor-widget-ot-iconbox:hover svg {
  filter: brightness(100);
}

@media screen and (max-width:1510px){
  .main-navigation > ul#primary-menu {
      display: block;
  }

  .main-navigation > ul#primary-menu > li {
      margin: 0px 20px;
    }

    .main-navigation > ul#primary-menu > li > a {
      font-size: 13px;
    }
}

@media screen and (max-width:1400px) and (min-width:768px){
  .header-desktop section .elementor-container .elementor-col-33 {
    width: 20%;
  }

  .header-desktop section .elementor-container .elementor-col-33.menu-pc {
    width: 60%;
  }

  .main-navigation > ul#primary-menu > li {
      margin: 0px 15px;
    }

    .elementor-widget-container .elementor-icon-list-item .elementor-icon-list-text {
      display: none;
    }
    .elementor-widget-container .elementor-icon-list-items.elementor-inline-items {
      margin-inline: unset!important;
    }
    .elementor-widget-container .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item {
      margin-inline: unset!important;
      margin: 0 10px !important;
    }
    .elementor-widget-container .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item i {
          font-size: 18px;
    }
}

@media screen and (max-width:1199px) and (min-width:768px){
  .main-navigation > ul#primary-menu > li {
      margin: 0px 13px;
    }
    .main-navigation > ul#primary-menu > li > a {
      font-size: 11px;
    }
    .header-mobile section .elementor-container .elementor-col-33 {
      width: 20%;
    }

    .header-mobile section .elementor-container .elementor-col-66 {
      width: 80%;
    }
}

@media screen and (max-width:991px) and (min-width:768px){
  .main-navigation > ul#primary-menu > li {
      margin: 0px 8px;
    }
    .main-navigation > ul#primary-menu > li > a {
      font-size: 8px;
    }
    .elementor-element.elementor-element-e6c1239.form-contatti.elementor-widget.elementor-widget-ronmi-ctf7 p label {
      font-size: 14px;
    }
}

@media screen and (max-width:991px){
  :root {
--ronmi-h2-font-size: 30px!important;
  --ronmi-h2-line-height: 36px!important;
  }
}

@media screen and (max-width:768px) and (min-width:600px){
  .header-mobile section .elementor-container .elementor-col-66 > .elementor-widget-wrap.elementor-element-populated {
    justify-content: right;
  }
  #content .page-header {
    height: 300px;
  }
}

@media screen and (max-width:600px){
  .header-mobile section .elementor-container .elementor-col-66 > .elementor-widget-wrap.elementor-element-populated {
    justify-content: right;
  }
  .header-mobile section.elementor-element.elementor-element-2730bb1 {
    padding: 4px 15px 4px 15px;
  }
}

/*
    MODIFICHE NICOLA
*/
@media screen and (min-width: 992px) and (max-width: 1199px) {
  #offerta-completa .ot-service-item__inner {
    padding: 8px 10px !important;
  }

  #offerta-completa .ot-service-item__inner .ot-service-title {
    font-size: 14px !important;
    font-weight: bold !important;
    padding: 0 !important;
    line-height: 22px !important;
    margin-bottom: 10px !important;
  }

  #offerta-completa .ot-service-item__inner .ot-service-des {
    font-size: 14px !important;
    padding: 0 !important;
  }
}

@media screen and (max-width: 767px) {
  #offerta-completa .ot-service-item__inner {
    padding: 12px 16px !important;
  }

  #offerta-completa .ot-service-item__inner .ot-service-title {
    font-size: 18px !important;
    font-weight: bold !important;
    padding: 0 !important;
    line-height: 22px !important;
    margin-bottom: 10px !important;
  }

  #offerta-completa .ot-service-item__inner .ot-service-des p, #offerta-completa .ot-service-item__inner .ot-service-des .ot-service-btn > a {
    font-size: 16px !important;
    padding: 0 !important;
  }
}

@media screen and (max-width: 575px) {
  #home-info {
    padding: 40px 0 !important;
  }

  #home-info .elementor-widget-container {
    padding: 30px 0 !important;
  }

  #home-mappa .ot-heading__sub {
    margin: 0 !important;
    font-size: 14px !important;
  }

  #home-mappa .ot-heading__title {
    font-size: 32px !important;
  }

  #home-mappa .elementor-widget-container .ot-button {
    text-align: center !important;
  }
}

/* CATEGORIE */
@media screen and (max-width: 991px) {
  .cataloghi a.octf-btn {
    padding: 20px !important;
  }
}

@media screen and (max-width: 767px) {
  .cataloghi div.elementor-widget-ot-button {
    margin-bottom: 30px !important;
  }

  .cataloghi div.elementor-widget-image a, .cataloghi div.elementor-widget-image a > img {
    width: 100% !important;
  }

  .cataloghi a.octf-btn {
    font-size: 18px !important;
  }
}

/* CHI SIAMO */
@media screen and (min-width: 1025px) and (max-width: 1229px) {
  .numeri-cs .dati-animati .number-wrapper span {
    font-size: 38px !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1299px) {
  #offerta-chi-siamo .ot-service-item__inner {
    padding: 8px 10px !important;
  }

  #offerta-chi-siamo .ot-service-item__inner .ot-service-title {
    font-size: 14px !important;
    font-weight: bold !important;
    padding: 0 !important;
    line-height: 22px !important;
    margin-bottom: 10px !important;
  }

  #offerta-chi-siamo .ot-service-item__inner .ot-service-des {
    font-size: 14px !important;
    padding: 0 !important;
  }
}

@media screen and (max-width: 767px) {
  #offerta-chi-siamo .ot-service-item__inner {
    padding: 12px 16px !important;
  }

  #offerta-chi-siamo .ot-service-item__inner .ot-service-title {
    font-size: 18px !important;
    font-weight: bold !important;
    padding: 0 !important;
    line-height: 22px !important;
    margin-bottom: 10px !important;
  }

  #offerta-chi-siamo .ot-service-item__inner .ot-service-des p, #offerta-chi-siamo .ot-service-item__inner .ot-service-des .ot-service-btn > a {
    font-size: 16px !important;
    padding: 0 !important;
  }

  #text-chi-siamo > div > p {
    text-align: left !important;
  }
}

/* SELEZIONE EFFE2 */
@media screen and (min-width: 768px) and (max-width: 991px) {
  div.ot-icon-box {
    padding: 30px 20px !important;
  }

  .block-icon-category h3.icon-box-title {
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 24px !important;
    margin-bottom: 10px !important;
  }
}

/* FORMAZIONE */
.titolo-ombrato div div > h2 {
  text-shadow: 0 0 10px #ffffffad;
}

/* NOTIZIE */
main.blog-list article {
  margin-bottom: 80px !important;
}

/* FRECCE SLIDESHOW */
@media screen and (max-width: 479px) {
  rs-arrow.tp-leftarrow, rs-arrow.tp-rightarrow {
    top: unset !important;
    bottom: 0 !important;
  }

  rs-arrow.tp-leftarrow {
    left: 74% !important;
    transform: translateX(-40%) !important;
  }

  rs-arrow.tp-rightarrow {
    left: 80% !important;
    transform: translateX(-34%) !important;
  }

  rs-arrow::after {
    width: 30px !important;
    height: 30px !important;
    top: -1px !important;
  }

  rs-module rs-arrow.tp-leftarrow::before, rs-module rs-arrow.tp-rightarrow::before {
    content: '';
    filter: brightness(0) !important;
    width: 45px !important;
    position: relative !important;
  }

  rs-module rs-arrow.tp-leftarrow::before {
    top: -4px !important;
    left: -7px !important;
  }

  rs-module rs-arrow.tp-rightarrow::before {
    top: -7px !important;
    left: 21px !important;
  }
}

@media screen and (min-width: 480px) and (max-width: 777px) {
  rs-arrow.tp-leftarrow, rs-arrow.tp-rightarrow {
    top: unset !important;
    bottom: 0 !important;
    z-index: 999 !important;
  }

  rs-arrow.tp-leftarrow {
    left: 44% !important;
    transform: translateX(-56%) !important;
  }

  rs-arrow.tp-rightarrow {
    left: 56% !important;
    transform: translateX(-44%) !important;
  }

  rs-arrow::after {
    width: 40px !important;
    height: 40px !important;
    top: -1px !important;
  }
}

@media screen and (max-width: 1229px) {

  .percasa-frigoriferi #foto-bottom {
    bottom: -104% !important;
  }

}

@media screen and (min-width: 778px) {
  rs-arrow.tp-leftarrow, rs-arrow.tp-rightarrow {
    top: unset !important;
    bottom: 10% !important;
  }

  rs-arrow.tp-leftarrow {
    left: 15% !important;
    transform: translateX(-85%) !important;
  }

  rs-arrow.tp-rightarrow {
    left: 25% !important;
    transform: translateX(-75%) !important;
  }
}

@media screen and (min-width: 1024px) {
  rs-arrow.tp-leftarrow {
    left: 15% !important;
    transform: translateX(-85%) !important;
  }

  rs-arrow.tp-rightarrow {
    left: 22% !important;
    transform: translateX(-78%) !important;
  }
}

@media screen and (min-width: 1800px) {
  rs-arrow.tp-leftarrow {
    left: 15% !important;
    transform: translateX(-85%) !important;
  }

  rs-arrow.tp-rightarrow {
    left: 20% !important;
    transform: translateX(-80%) !important;
  }
}

rs-arrow.tp-leftarrow::before, rs-arrow.tp-rightarrow::before {
  content: '';
  filter: brightness(0) !important;
  width: 60px !important;
}

rs-arrow::after {
  content: '';
  background: #ffffffcb !important;
  border: 1px solid #000000ce !important;
  z-index: -1 !important;
}

rs-arrow:hover::after {
  background: #ffffff !important;
  border: 1px solid #000000 !important;
}

/* FRECCE SLIDER OFFERTA */
button.owl-prev, button.owl-next {
  color: #000000 !important;
}

button.owl-prev:hover, button.owl-next:hover {
  color: #000000cb !important;
}

button.owl-prev::before, button.owl-next::before {
  width: 50px !important;
  height: 50px !important;
}

button.owl-prev > svg, button.owl-next > svg {
  width: 50px !important;
  position: relative !important;
}

button.owl-prev > svg {
  left: 5px;
}

button.owl-next > svg {
  left: -5px;
}

button.owl-prev:hover, button.owl-next:hover {
  color: #000000 !important;
}

/* SFONDO HEADER CHI SIAMO */
div.page-header {
  background-position: center top !important;
}

/* PADDING TOP PER SLIDERS */
.header_home, .header_cat {
  padding-top: 10px !important;
}

/* CONTATTI */
#contatti_select > p > label > span > select {
  height: 62px !important;
}

@media screen and (max-width: 991px) {
  #contatti_nome input.wpcf7-form-control, #contatti_mail input.wpcf7-form-control, #contatti_select select.wpcf7-form-control {
    padding: 19px 15px !important;
  }
}

@media screen and (max-width: 623px) {
  .form-contatti p > label, .form-rivenditori p > label {
    font-size: 14px !important;
  }
}

@media screen and (max-width: 600px) {
  #contatti_nome > div, #contatti_mail > div, #contatti_select > div {
    margin-right: 0px !important;
  }
}

/* ARTICOLI */
.container-articolo {
  margin: 50px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.img-articolo {
  width: 100%;
}

.two_third {
  padding-left: 20px; 
}

@media screen and (max-width: 600px) {
  .img-articolo {
    width: 50%;
  }

  .two_third {
    padding-left: 0; 
  }
}

/* POPUP CATALOGHI */
.modal-dialog > .modal-content {
  height: 100vh;
}

.modal-dialog h4.modal-title {
  font-size: 22px;
  font-weight: bold;
}

.modal-dialog .intro {
  font-size: 18px;
  margin-bottom: 8px;
}

.modal-open .modal {
  overflow-y: hidden !important;
}

@media screen and (min-width: 601px) and (max-width: 767px) {
  .modal-dialog {
    width: 550px !important;
  }

  .modal.in {
    justify-content: center;
    align-items: flex-start !important;
  }

  .form-row:nth-of-type(2) p {
    margin-bottom: 6px;
  }
}

@media screen and (max-width: 600px) {
  .modal-open .modal {
    overflow-y: auto !important;
  }

  .modal-dialog {
    width: 450px !important;
  }
  
  .modal.in {
    justify-content: center;
    align-items: flex-start !important;
  }

  .modal-dialog .one_third {
    margin-bottom: 0px !important;
  }

  .modal-dialog > .modal-content {
    height: 100%;
  }

  .modal-dialog label {
    font-size: 16px !important;
  }

  .modal-dialog .modal-body input, .modal-dialog .modal-body select {
    padding: 8px 10px !important;
  }

  .modal-dialog p {
    margin-bottom: 4px !important;
  }

  .modal-dialog .intro {
    font-size: 16px;
  }

  .modal-dialog input[type="submit"] {
    padding: 16px 24px !important;
  }

  .modal-dialog .modal-body .one_half.sc div {
    margin-left: 0px !important;
  }

  .modal-dialog .modal-body .one_half.fr div {
    margin-right: 0px !important;
  }
}

@media screen and (max-width: 500px) {
  .modal-dialog .modal-body .one_half.sc div {
    margin-left: 0px !important;
  }

  .modal-dialog .modal-body .one_half.fr div {
    margin-right: 0px !important;
  }

  .modal-dialog {
    width: 270px !important;
  }

  .modal-dialog .intro {
    line-height: 1.4em;
  }

  .modal-dialog h4.modal-title {
    font-size: 16px;
  }

  .one_third > div {
    margin: 0 0 10px 0 !important;
  }

  .modal-dialog label {
    font-size: 14px !important;
  }

  .modal-dialog input {
    font-size: 14px !important;
  }

  .form-row:nth-of-type(2) p {
    font-size: 14px;
    line-height: 1.4em;
    margin-top: 10px;
  }

  .form-row:nth-of-type(2) .wpcf7-list-item {
    margin: 10px 0 4px 0;
  }

  .modal-dialog input[type="submit"] {
    white-space: normal;
  }
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 15px;
  text-align: center;
  align-items: center;
}

.logo-wall a {
  flex-basis: 15%;
  margin: 0;
  cursor: default;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .logo-wall a {
    flex-basis: 25%;
  }
}