/* Increase width of drop-down menus */
@media screen and (min-width: 981px) {
  .sub-menu {
    min-width: 440px; }
  #top-menu li li a {
    width: 400px;
    /* Extra - Reduce padding on list items */
    padding: 4px 12px; } }

#top-header .container {
  height: 49px !important; }

/* hide top header on scroll */
#top-header {
  z-index: 9; }

#main-header {
  transition: 0.2s;
  -moz-transition: 0.2s;
  -webkit-transition: 0.2s; }

#main-header.et-fixed-header {
  top: 0 !important; }

/*
 * GRAVITY CONTACT FORM STYLING
*/
/*** REMOVE LABEL ON FIELDS USING PLACEHOLDER SPECIFIC PAGE CONTATTI **/
.page-id-228 .gform_wrapper .top_label .gfield_label,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
  display: none; }

/*** FIELD STYLING ***/
input[type=text],
textarea {
  background: #eee;
  border: none;
  border-radius: 0;
  color: #999 !important;
  padding: 15px !important; }

/*** DROPDOWN STYLING ***/
#input_2_5 {
  background: #eee;
  border: none;
  border-radius: 0;
  color: #777 !important;
  padding: 15px !important; }

/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button {
  float: right;
  background: transparent;
  border: 2px solid #2ea3f2;
  font-size: 22px;
  color: #2ea3f2;
  padding: 12px 23px;
  border-radius: 5px;
  letter-spacing: 2px;
  cursor: pointer; }

/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover {
  background: rgba(0, 0, 0, 0.05);
  border: 2px solid transparent; }

/*
 * Displaying the mobile menu at a 1190 breakpoint
 */
@media (max-width: 1190px) {
  #et_mobile_nav_menu {
    display: block; }
  #top-menu {
    display: none; } }

/* top bar menu text vertical align */
#et-info {
  padding-top: 5px; }

/* top bar - secondary menu visible on mobile */
@media (max-width: 980px) {
  #et-info {
    display: none; }
  #top-header, div#et-secondary-menu, ul#et-secondary-nav {
    display: block !important; }
  #top-header .container {
    padding-top: 0.25em !important; } }
