/* Layout fixes on top of the theme CSS. Loaded last on every page. */

/* Header: keep the menu, phone number and Book Now on one row between 981px and 1439px
   (the theme wrapped "Contact" onto a second line and broke the phone number). */
@media (min-width:981px) and (max-width:1439px){
  .et_pb_menu_0_tb_header .et_pb_menu__logo-wrap{flex:0 1 auto!important;max-width:min(260px,40%)!important}
  .et_pb_menu_0_tb_header .et_pb_menu__wrap{flex:1 1 auto!important;min-width:0!important}
  .et_pb_menu_0_tb_header ul.et-menu{flex-wrap:nowrap!important}
  .et_pb_menu_0_tb_header ul.et-menu>li{padding-left:8px!important;padding-right:8px!important}
  .et_pb_button_0_tb_header{white-space:nowrap!important}
}
@media (min-width:981px) and (max-width:1199px){
  .et_pb_menu_0_tb_header .et_pb_menu__logo-wrap{max-width:200px!important}
  .et_pb_menu_0_tb_header ul.et-menu>li{padding-left:6px!important;padding-right:6px!important}
  .et_pb_button_0_tb_header,.et_pb_button_1_tb_header{font-size:15px!important}
}

/* Contact form: the "Send message" label was clipped in the narrow sidebar column. */
.cform-submit{white-space:normal;max-width:100%}
@media (min-width:981px) and (max-width:1199px){
  .cform-submit{font-size:17px}
}

/* Long email addresses were cut off in narrow sidebar columns: let them wrap. */
a[href^="mailto:"]{overflow-wrap:anywhere}
