/* Make header fixed up to mobile (it's not controlled by the options in the theme) */
@media only screen and (max-width: 74.9375em) {
	header.page_header {
		position: fixed !important;
	}

	header.page_header ~ .content {
		margin-top: 0 !important;
		padding-top: 106px !important;
	}

	.is-stuck--main-menu header.page_header .logo_wrapper,
	.is-stuck--main-menu header.page_header .mobile_menu_button,
	.is-stuck--main-menu header.page_header .side_menu_button {
		height: 80px !important;
	}

	.is-stuck--main-menu header.page_header .logo_wrapper .mobile {
		top: 2px;
		height: 50px !important;
	}

	.is-stuck--main-menu header.page_header .side_menu_button {
		top: -4px;
	}
}

@media only screen and (min-width: 29.875em) and (max-width: 74.9375em) {
	.is-stuck--main-menu header.page_header .logo_wrapper .mobile {
		top: 8px;
	}
}

/* Telephone additions and adjustments */
.header_inner_tel {
	display: inline-block !important;
	position: relative;
	top: 12px;
	right: auto;
	width: 25px !important;
	height: 25px !important;
	margin-bottom: 0;
	padding: 0 !important;
	overflow: hidden;
	background-image: url('img/phone--dark.svg');
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 25px 50px;
	text-indent: -999px;
}

.header_inner_tel:hover {
	background-position: bottom left;
}

@media only screen and (max-width: 20.9375em) {
	.header_inner_tel {
		background-size: 25px 51px;
	}

	header.page_header .side_menu_button_wrapper.right .side_menu_button {
		transform: scale(0.9);
	}
}

@media only screen and (max-width: 23.75em) {
	header.page_header .side_menu_button_wrapper.right .side_menu_button {
		top: -6px;
		right: -10px;
		width: 60px;
	}

	header.page_header .side_menu_button_wrapper.right .search_button {
		padding-left: 2px;
	}
}

@media only screen and (min-width: 52.5em) {
	.header_inner_tel {
		margin-left: 10px;
	}
}

@media only screen and (min-width: 75em) {
	header.page_header .side_menu_button_wrapper.right .side_menu_button {
		top: -8px;
	}
}

/* Make it so all menu items fix at 1200 */
@media only screen and (min-width: 75em) {
	header.page_header.fixed .header_bottom {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	header.page_header.fixed .header_bottom .logo_wrapper {
		margin-top: 10px;
	}

	header.page_header nav.main_menu ul li a {
		padding: 0 10px;
	}
}

/* Add the space back to the menu items at this size */
@media only screen and (min-width: 84.4375em) {
	header.page_header nav.main_menu ul li a {
		padding: 0 16px;
	}
}

/* Show menu from 1001px to 1199px */
@media only screen and (min-width: 62.5625em) and (max-width: 74.9375em) {
	header.page_header .mobile_menu_button {
		display: table;
	}

	header.page_header .mobile_menu {
		display: block;
	}

	header.page_header .q_logo .mobile {
		top: auto;
	}
}

/* Make button fit from 768px to 999px */
@media only screen and (min-width: 48em) and (max-width: 62.4375em) {
	header.page_header .header_bottom_right_widget_holder .qbutton {
		top: 5px;
		height: 40px;
		padding: 0 14px;
		line-height: 40px;
	}
}

/* Previous changes moved into child theme */
@media only screen and (max-width: 1199px) {
  .q_logo_hidden {
      display: none;
    }
    .main_menu {
      display: none !important;
    }
    nav.mobile_menu {
      display: block;
    }
    .mobile_menu_button {
      display: table;
    }
    nav.mobile_menu > ul {
      width: 100%;
      margin: 0px auto;
    }
    .logo_wrapper {
      display: table;
      position: absolute;
      left: 50%;
      height: 100px !important;
    }
    .q_logo {
      display: table-cell;
      position: relative;
      top: auto;
      vertical-align: middle;
    }
    .q_logo a {
      left: -50%;
      width: auto !important;
    }
    .q_logo img {
      top: 0px;
      left: 0px;
    }
    header .header_fixed_right_area {
      display: block;
      position: absolute;
      top: 80px !important;
      width: 100%;
      margin: 0;
      line-height: 100% !important;
      text-align: center;
    }
    header:not(.centered_logo) .header_fixed_right_area {
      display: none;
    }
    .header_menu_bottom {
      border-top: none;
    }
    .header_bottom {
      background-color: #fff !important;
    }
    .right_side_menu_opened .wrapper header {
    left: 0px !important;
  }
  header,
  .header_inner_left,
  footer.uncover {
    position: relative !important;
    left: 0px !important;
    margin-bottom: 0px;
  }
  header {
    display: block;
    top: 0px !important;
    margin-top: 0px !important;
  }
  .header_top {
    display: block !important;
    height: auto;
  }
  .hide_top_bar_on_mobile_header .header_top {
    display: none !important;
  }
  .header_top .left,
  .header_top .right {
    float: none;
    text-align: center;
  }
  .header_top .inner {
    display: inline-block;
    margin: 0 0 -4px;
  }
  .header_bottom {
    background-color: #fff !important;
  }
  header.centered_logo .header_inner_left {
    margin: 0px;
  }
  header.centered_logo .header_inner_right {
    float: right;
  }
  header.centered_logo .logo_wrapper {
    height: 100px !important;
  }
  header .q_logo img.mobile {
    display: block !important;
    position: relative;
    margin: 0 auto;
    opacity: 1 !important;
  }
  header .q_logo img.normal,
  header .q_logo img.light,
  header .q_logo img.dark,
  header .q_logo img.sticky {
    display: none !important;
  }
  .q_logo a, .q_logo img {
    height: 70px!important;
}
}
@media (max-width: 880px) {
  .header_bottom_right_widget_holder {
    display: none;
  }
}
@media (max-width: 374px) {
  .q_logo a, .q_logo img {
    height: auto !important;
  }
}
