/* ==========================================================================
   Mobile & Responsive Stylesheet
   Applies to screens 768px wide or smaller
   ========================================================================== */

@media screen and (max-width: 768px) {

  /* --- Navigation & Header --- */
  #nav-mobile { 
    display: block; 
  }

  .bg,
  #nav-main,
  #scroll-down,
  .hr.hr-crest,
  #interior .hr.hr-crest,
  .dip2,
  .dip3 { 
    display: none; 
  }

  #header {
    text-align: center;
    padding: 12px 0;
  }

  .home #logo,
  #logo,
  #logo-fair {
    position: relative;
    margin: 0 auto;
    top: auto;
    left: auto;
    float: none;
  }

  #nav-mobile select {
    background: transparent url('../images/bkg_mobile_menu_arrow.png') no-repeat right 50%;
    width: 100%;
    max-width: 268px;
    height: 34px;
    padding: 5px;
    font-size: 18px;
    line-height: 1;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    text-transform: uppercase;
    text-align: center;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
  }

  /* --- Home Page Styles --- */
  .home #header {
    background: #381e21;
    height: auto;
	flex-direction: column;
  }

  .home #intro {
    background-position: bottom center;
    background-size: cover;
  }

  .home .hero {
    padding: 80px 0;
  }

  .hero h2 {
    line-height: 1.2;
  }

  /* --- Certification Section --- */
  #certify {
    padding: 0;
  }

  .certify-title {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 30px auto 60px auto;
    font-size: 44px;
    line-height: 48px;
    text-indent: 0;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #FFFFFF;
    background: none;
  }

  .certify-title span {
    color: #a47911;	
  }

  .certify-title strong {
    font-family: 'Bitter', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 28px;
    color: #74504d;
    display: block;
  }

  #certify li {
    float: none;
  }

  #certify li.wedge {
    margin-right: 0;
  }

  #certify li a {
    width: 100%;
    background-size: 55%;
  }

  /* --- General Layout & Section Fixes --- */
  #intro .wrapper,
  #intro-fair .wrapper,
  .wrapper,
  .section {
    width: 100%;
    min-width: 0; /* Relaxed from fixed pixels so it scales down */
    padding: 0 15px;
    box-sizing: border-box;
  }

  .section {
    overflow: hidden;
  }

  #interior .wrapper {
    border-radius: 0;
    margin-top: 0;
    padding: 36px 15px;
  }

  #map,
  #interior .grid-col1,
  #interior .grid-col2,
  #interior .grid-col3,
  .footer-ads .grid-col1,
  .footer-ads .grid-col2,
  .footer-ads .grid-col3 {
    width: 100%;
    max-width: 540px;
    float: none;
    margin: 0 auto;
    display: block;
    padding: 0;
  }

  #interior .grid-col.wedge {
    margin-right: 0;
  }

  #map {
    height: 200px !important;
  }

  iframe#player,
  iframe {
    width: 100% !important;
    max-width: 100%;
  }

  /* --- Content Elements --- */
  .certified-icon {
    width: 100%;
  }

  .dip1 {
    left: 8px;
  }

  .certifications li.gap {
    margin-left: 0;
  }

  .certifications li.wedge {
    margin-right: 30px;
  }

  div.large {
    text-align: center;
    font-size: 36px;
    line-height: 42px;
    padding: 20px 0;
  }

  table.em-calendar {
    width: 100%;
  }

  table.em-calendar td {
    padding: 4px 8px !important;
  }

  .item {
    width: 100%;
    max-width: 300px;
    float: none;
    margin: 0 auto;
  }

  .item.odd,
  .item:nth-child(2) {
    margin-left: 0;
    margin-top: 40px;
  }

  #cart-btn {
    display: block;
  }

  /* --- Footer Styles --- */
  #footer {
    overflow: hidden;
    padding: 0 0 16px 0;
  }

  #footer .wrapper {
    padding: 40px 15px 20px 15px;
    width: 100%;
    min-width: 0;
  }

  #footer a {
    display: block;
  }

  #footer h5 {
    font-size: 18px;
    line-height: 20px;
  }

  #footer .col.wedge {
    margin: 0 0 40px 0;	
  }

  #footer .col,
  #footer .col.short,
  #footer .col.long,
  #footer .col-connect {
    width: 100%;
    float: none;
    text-align: left;
    padding: 0;
  }

  #footer .col.col-newsletter p {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 12px;
  }

  #footer .social li {
    float: left;
    margin-left: 0;
    margin-right: 8px;
  }

  #footer .col-connect {
    padding-bottom: 80px;
    background-position: bottom center;
  }

  #footer input[type=text] {
    width: 100%;
    max-width: 484px;
    box-sizing: border-box;
  }

  .footer-ads .wrapper {
    padding: 40px 0;
  }

  .footer-ads .btn.maroon {
    margin: 0;
  }

  em.center {
    display: block;
    width: 240px;
    margin: 0 auto;
    padding: 0;
  }

  .event-img img {
    width: 100%;
    height: auto;
  }

}

/* --- Extra Small Devices Adjustment (Portrait Mode / iPhones) --- */
@media screen and (max-width: 480px) and (orientation: portrait) {

  .page-template-template-events-php #sidebar {
    position: absolute;
    bottom: 20px;
  }

  .page-template-template-events-php #interior {
    padding-bottom: 200px;
  }

  #footer .col.long li {
    width: 100%;
  }

  #footer p.copyright {
    font-size: 10px;
  }

  #footer p.copyright .bull {
    display: block;
    height: 1px;
    width: 1px;
    font-size: 0;
    overflow: hidden;
    text-indent: -9999px;
    line-height: 0;
  }
}