/*
Theme Name: Wing Shack
Theme URI: https://github.com/oldtownmedia/skeleton
Author: Old Town Media, Inc
Author URI: https://oldtownmediainc.com/
Description: A custom theme for Wing Shack
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: otm-skeleton
*/

/* new locations page */

.page-template-page-locations-new .acsb-trigger {
  right: 60px !important; 
}

.page-template-page-locations-new .location-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.page-template-page-locations-new .location-menu .button{
  min-width: 170px;
  box-sizing: border-box;
  flex: 1 0 45%;
  margin: 5px;
}

.page-template-page-locations-new .site-container .insta-box,
.page-template-page-locations-new .site-container .header {
  z-index: 1;
  position: relative;
}
.page-template-page-locations-new .site-container .footer {
  display: none;
}
.page-template-page-locations-new .site-container .insta-box {
  border-top: 10px solid white;
}

.content.locations-new-wrap {
  padding: 0;
  max-width: none;
}
.content.locations-new-wrap .page-title{
  margin-bottom: 0;
  width: 100%;
  text-align: center;
  clear: both;
  padding: 0.5em 0;
}

.locations-new-wrap header {
  background: #fff;
  z-index: 1;
  position: relative;
}

.locations-new {
  width: 340px;
  margin: 0;
  padding: 30px 20px;
  /* padding: 30px 20px 60vh; */
  box-sizing: border-box;
  /* background: #EAD9C4; */
}


.locations-new .location-box {
  /* background: #fff; */
  margin-bottom: 30px;
}
.locations-new .location-box .location-top .location-info,
.locations-new .location-box .location-top .location-menu {
  float: none;
  width: 100%;
  margin: 0;
  padding: 10px 0 0 ;
  border-right: none;
}

.locations-new .location-box .button{
  display: block;
  margin-bottom: 0;
}

.locations-map {
  position: fixed;
  background: #f1f1f1;
  height: calc(100vh - 120px);
  width: calc(100vw - 340px);
  right: 0;
  top: 120px;
  bottom: 0;
  z-index: 0;
}

#locations-map{
  width: 100%;
  height: 100vh;
}

@media only screen and (min-width: 800px) {
  .page-template-page-locations-new .site-container .header {
    position: fixed;
    width: 100vw;
  }
  .locations-new {
    padding-top: 140px;
  }
}

@media only screen and (max-width: 799px) {
  
  .locations-map {
    width: 100vw;
    height: 85vh;
    position: relative;
    display: block;
	top:0;
  }

  .locations-new {
    width: 100%;
    padding-bottom: 0;
  }
  #locations-map{
    width: 100%;
    height: 100%;
  }

}