/* TABLET AND SMALL SCREEN STYLES TRIGGER AT 1024 PX WIDTH FOR RESPONSIVE TESTING */
/* ............................................................ */

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

  .wrapper{
    max-width: 100%;
    min-width: 100%;
    border: none;
  }

  .calendar-filter-list{
    width: 106%;
  }

  .container-mainmenu{
    left: 0;
    width: 100%;
    margin: auto;
    font-size: 1em;
  }

  .item-main-menu{
    font-size: 1em;
    width: 660px;
  }

  .tribe-mini-calendar-nav-link.prev-month span, .tribe-mini-calendar-nav-link.next-month span {
    margin: 0;
}

.item-main-menu ul.menu > li{
  padding-right:0.4em;
}

.item-main-menu ul li{
  margin-right:0.1em;
}

.container-interior-header, .container-interior-header div, .container-interior-header div:before, .container-interior-header div:after {
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility:hidden;
    backface-visibility: hidden;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    padding:2px;
}

	.container-submenu:before{
		z-index: 2;
	}

	.container-submenu .container{
		z-index: 4;
		position: relative;
	}

	div.megamenu-hidden.megamenu-60{
		left: auto;
		right: 0;
	}

    .container-pseudo-header, .container-interior-header {
        clear: both;
        float: none;
        height: auto;
    }
	.row {
		margin-left: 0;
		margin-right: 0;
	}
	.column {
		display: block;
		float: none;
		padding: 0;
	}
	.column.one-half,
	.column.one-third,
	.column.two-third ,
	.column.one-quarter,
	.column.three-quarter {
		width: auto;
	}
    
    .events-list .container-interior-left {
      float: none;
      margin-bottom: 0;
    }
    
    .events-list .container-interior-right {
      float: none;
      width: 70%;
      margin-bottom: 4em;
    }
    
    
}  /* END OF TABLET AND SMALL SCREEN QUERY */


/* MOBILE STYLES TRIGGER AT 1024 PX WIDTH FOR RESPONSIVE TESTING */
/* ............................................................ */
@media only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 1024px),
only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 1024px),
only screen and (   min--moz-device-pixel-ratio: 2)      and (max-width: 1024px),
only screen and (     -o-min-device-pixel-ratio: 2/1)    and (max-width: 1024px),
only screen and (        min-device-pixel-ratio: 2)      and (max-width: 1024px),
only screen and (                min-resolution: 192dpi) and (max-width: 1024px),
only screen and (                min-resolution: 2dppx)  and (max-width: 1024px),
screen and (max-width: 1024px)  {

  .m-visible{
    display: block;
  }

  .m-hidden{
    display: none;
  }
  
  

  .item-main-logo {
     // width: 40%;
  }
  .container-mainmenu {
      top: 0;
      z-index: 500;
      width: 100%;
      margin: auto;
      left: 0;
  }

  .item-main-menu {
      height: 6em;
      margin: 0;
      right: 0;
      top: 0;
      position: static;
      float: right;
      padding-left: 1em;
      width: 20%;
      font-size: 0.5em;
  }

  .megamenu-hidden ul li:first-child {
      border-top: 1px solid #ddd;
  }



  .item-top-nav {
      background: none repeat scroll 0 0 #FFFFFF;
      left: 0;
      position: absolute;
      top: 0;
      width: 100%;
      top: 6em;
      margin:0;
      display: none;
  }

  #main-nav.item-top-nav {
      width: 100%;
      min-width: 100%;
  }

  .m-menu-trigger {
      background-image: url("../img/m-btn-menu-trigger.png");
      background-position: left center;
      background-repeat: no-repeat;
      background-size: contain;
      font-size: 4em;
      height: 1.2em;
      margin-top: 0.1em;
      float: left;
  }

  .m-menu-trigger a{
    color: #0d6fc0;
      padding-left: 1.8em;
  }

  .m-menu-trigger:hover{
    opacity: 0.8;
  }

  #nav.m-item-submenu {
      background-color: #444;
      border-top: 1em solid #CF234D;
      height: 20em;
      margin: 0;
      padding: 0;
      text-align: inherit;
  }

  .m-item-submenu ul li {
      outline: 0.05em solid #666666;
      display: block;
      float: left;
      font-size: 2.5em;
      margin: 0;
      padding: 0.2em 0;
      width: 50%;
      background: #444;
  }
  .m-item-submenu a {
      color: #FFFFFF;
      font-weight: normal;
      text-transform: none;
      padding: 0.1em 0 0;
  }

  .m-item-submenu .navigation li:before{
    padding-right: 0;
  }

  .item-main-menu ul li.menu-search {
      display: none;
  }
  .item-main-menu ul li.menu-separator {
      border-bottom: 0.4em solid #EEEEEE;
      border-right: medium none;
      display: block;
      float: none;
      padding: 0;
      margin: 0;
  }

  .item-main-menu ul li.megamenu-trigger {
      clear: both;
      display: block;
      float: none;
      font-size: 4em;
      text-align: center;
      width: 100%;
      padding: 0;
      margin: 0;
  }

  .item-top-nav a {
      font-size: 1.2em;
      padding: 0.2em 0;
      text-align: center;
      width: 100%;
  }

  .item-top-nav ul {
      display: block;
      width: 101%;
      float: none;
  }

  .item-top-nav a.m-menu-back {
      background: none repeat scroll 0 0 #CF234D;
      color: #FFFFFF;
      display: none !important;
      position: absolute;
      text-transform: none;
      top: 0;
      width: 16%;
      left: 2%;
      z-index: 800;

  }

  .column-megamenu-left > h1 {
      font-family: "DIN 1451 W01 Engschrift",sans-serif;
      font-size: 1.7em;
      margin: 0.2em 0;
      text-transform: uppercase;
      display: none;
  }


  .column-megamenu-right {
      display: none;
  }
  .column-megamenu-left {
      clear: both;
      float: none;
      width: 100%;
      margin-left: 0;
  }
  .megamenu-hidden {
      border: medium none;
      box-shadow: none;
      left: 0;
      margin: 0;
      padding: 0;
      position: relative;
      top: 0;
      width: 100%;
  }

  #main-nav .megamenu-hidden ul li {
      margin: 0;
      padding: 0;
  }

  #main-nav .megamenu-hidden a {
      padding: 0.8em 0;
  }

  .m-menu-search {
      clear: both;
      float: none;
      font-size: 2.6em;
      margin: 0.7em auto;
      padding: 0.4em;
      width: 80%;
  }

  .item-search-field {
      padding: 0.3em;
      width: 100%;
  }

  .m-menu-search .item-search-box button {
      height: 33px;
      padding-top: 5px;
      right: 0;
      width: 33px;
  }


  .m-menu-search .item-search-box button img {
      height: auto;
      position: relative;
      top: 0;
      width: 100%;
  }
  
  .container-interior-hero {
    height: 9em;
    top: 0;
  }
  
  .item-footer-disclaimer {
    float: left;
    font-size: 10px;
    max-width: calc(50% - 50px);
    opacity: 0.5;
    padding-left: 50px;
    text-align: left;
  }
  
  .item-interior-header > h1 {
    font-size: 3em;
  }


/* THANK YOU SECTION */

     .container-thank-you-text {
        font-size: 0.8em;
        left: 10%;
        right: auto;
        text-align: center;
        top: 4em;
        width: 80%;
    }

    .container-thank-you-text h2 {
        font-size: 5em;
        line-height: 1em;
    }

    .container-thank-you-text p {
        font-size: 2.2em;
        line-height: 1.5em;
    }

    .item-thankyou-disclaimer {
        float: none;
        margin: 0 auto;
        padding: 0 0 20px;
        text-align: center;
        width: 80%;
        max-width: 80%;
    }

    .item-thankyou-social {
        margin: 0 auto;
        text-align: center;
        width: 100%;
        padding-right: 0;
    }

    .container-thankyou-content {
        /*margin-top: -25px;*/
    }

    #container-post-hero {
        height: 9em;
    }
}


/* MOBILE STYLES TRIGGER AT 1024 PX WIDTH FOR RESPONSIVE TESTING */
/* ............................................................ */
@media only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 800px),
only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 800px),
only screen and (   min--moz-device-pixel-ratio: 2)      and (max-width: 800px),
only screen and (     -o-min-device-pixel-ratio: 2/1)    and (max-width: 800px),
only screen and (        min-device-pixel-ratio: 2)      and (max-width: 800px),
only screen and (                min-resolution: 192dpi) and (max-width: 800px),
only screen and (                min-resolution: 2dppx)  and (max-width: 800px),
screen and (max-width: 800px)  {

  .wrapper{
    font-size: inherit;
    min-width:100%;
    border: none;
  }
.m-visible{
  display: block;
}

.m-hidden{
  display: none;
}




.item-main-logo {
    width: 40%;
}
.container-mainmenu {
    top: 0;
    z-index: 500;
    width: 100%;
    margin: auto;
    left: 0;
}

.item-main-menu {
    height: 6em;
    margin: 0;
    right: 0;
    top: 0;
    position: static;
    float: right;
    padding-left: 1em;
    width: 30%;
}

.megamenu-hidden ul li:first-child {
    border-top: 1px solid #ddd;
}



.item-top-nav {
    background: none repeat scroll 0 0 #FFFFFF;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    top: 6em;
    margin:0;
    display: none;
}

#main-nav.item-top-nav {
    width: 100%;
    min-width: 100%;
}

.m-menu-trigger {
    background-image: url("../img/m-btn-menu-trigger.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    font-size: 4em;
    height: 1.2em;
    margin-top: 0.1em;
    float: left;
}

.m-menu-trigger a{
  color: #0d6fc0;
    padding-left: 1.8em;
}

.m-menu-trigger:hover{
  opacity: 0.8;
}

#nav.m-item-submenu {
    background-color: #444;
    border-top: 1em solid #CF234D;
    height: 20em;
    margin: 0;
    padding: 0;
    text-align: inherit;
}

.m-item-submenu ul li {
    outline: 0.05em solid #666666;
    display: block;
    float: left;
    font-size: 2.5em;
    margin: 0;
    padding: 0.2em 0;
    width: 50%;
    background: #444;
}
.m-item-submenu a {
    color: #FFFFFF;
    font-weight: normal;
    text-transform: none;
    padding: 0.1em 0 0;
}

.m-item-submenu .navigation li:before{
  padding-right: 0;
}

.item-main-menu ul li.menu-search {
    display: none;
}
.item-main-menu ul li.menu-separator {
    border-bottom: 0.4em solid #EEEEEE;
    border-right: medium none;
    display: block;
    float: none;
    padding: 0;
    margin: 0;
}

.item-main-menu ul li.megamenu-trigger {
    clear: both;
    display: block;
    float: none;
    font-size: 4em;
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.item-top-nav a {
    font-size: 1.2em;
    padding: 0.2em 0;
    text-align: center;
    width: 100%;
}

.item-top-nav ul {
    display: block;
    width: 101%;
    float: none;
}

.item-top-nav a.m-menu-back {
    background: none repeat scroll 0 0 #CF234D;
    color: #FFFFFF;
    display: none;
    position: absolute;
    text-transform: none;
    top: 0;
    width: 16%;
    left: 2%;
    z-index: 800;

}

.column-megamenu-left > h1 {
    font-family: "DIN 1451 W01 Engschrift",sans-serif;
    font-size: 1.7em;
    margin: 0.2em 0;
    text-transform: uppercase;
    display: none;
}


.column-megamenu-right {
    display: none;
}
.column-megamenu-left {
    clear: both;
    float: none;
    width: 100%;
    margin-left: 0;
}
.megamenu-hidden {
    border: medium none;
    box-shadow: none;
    left: 0;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    width: 100%;
}

#main-nav .megamenu-hidden ul li {
    margin: 0;
    padding: 0;
}

#main-nav .megamenu-hidden a {
    padding: 0.8em 0;
}

.m-menu-search {
    clear: both;
    float: none;
    font-size: 2.6em;
    margin: 0.7em auto;
    padding: 0.4em;
    width: 80%;
}

.item-search-field {
    padding: 0.3em;
    width: 100%;
}

.m-menu-search .item-search-box button {
    height: 2.2em;
    padding-top: 2px;
    right: 0;
    width: 2.2em;
    font-size: inherit;
}


.m-menu-search .item-search-box button img {
    height: auto;
    position: relative;
    top: 0;
    width: 100%;
}

.item-top-nav{
  font-size: 1.3em;
}

 .container-hero{
  background-image: url(../img/m-bg-homepage-museum.jpg);
  background-size: 100%;
  min-height: 36em;
  overflow: hidden;
  top: 0;
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0 0;
}

.link-right-feature h2{
  font-size: 1em;
}

.item-hero-content {
    left: 38%;
    top: 12em;
    width: 48%;
}

.landscape .item-hero-content{
  top: 10em;
}

.item-sideslide-trigger a{
  height: 4em;
  width: 4em;
}

#slide-tours {
    font-size: 2em;
    height: 6em;
    left: 16%;
    top: 24em;
    width: 100%;
}
#slide-tours a{
  padding-top: 1.2em;
}

.container-sideslide{
  right: -48em;
}

.btn-sideslide-close{
  right: 1em;
  top: 1em;
}

.item-sideslide-hide {
    font-size: 3em;
}

.item-sideslide-box{
  width: 48em;
}

.item-graymenu-column {
    float: none;
    font-size: 2.5em;
    width: 80%;
    margin: 0 auto;
    display: block;
    clear: both;
    top:2em;
}

.item-graymenu-column h1{
  margin: 0;
}


.container-prefooter-promo {
    clear: both;
    display: table;
    float: none;
    font-size: 2em;
    height: auto;
    width: 100%;
}
.item-prefooter-promo-text {
    width: 55%;
}
.container-prefooter-social {
    clear: both;
    float: none;
    font-size: 2em;
    margin: 0 auto 2.5em;
    max-width: 90%;
}

.container-prefooter-social {
    position: relative;
}

#container-footer::before {
  top: -30px;
}

.item-footer-disclaimer {
    float: none;
    margin: 0 auto;
    padding: 0 0 20px;
    text-align: center;
    width: 80%;
    max-width: 80%;
}


.item-footer-social {
    display: block;
    float: none;
    text-align: center;
    width: 80%;
}
.inside-prefooter-social h2, .item-prefooter-tweet{
  max-width: 75%;
}

.tablet .inside-prefooter-social h2, .tablet .item-prefooter-tweet{
  max-width: 90%;
}

#container-footer {
    font-size: 2em;
    height: 8em;
}

.container-interior-hero{
  background:url(../img/m-bg-interior-header.jpg) no-repeat top center transparent;
  background-size: cover;
  height: 18em;
  top: 0;
  margin-bottom: 3em;
}

/* THANK YOU PAGE SPECIAL OVERRIDES */
.page-template-page-template-thankyou .container-interior-hero{
    margin-bottom: 0;
}

.container-thankyou-content .item-prefooter-social > li {
    height: 20px;
    width: 20px;
}
.container-thankyou-content .item-thankyou-disclaimer {
    padding-bottom: 0;
}

.container-interior-content{
  font-size: 3em;
  padding-top: 1.8em;
  min-height: 10em;
}

.container-visit-info .page-content li{
  padding-left: 4%;
}

.container-interior-graymenu {
    height: 60em;
    top: 0;
}

a.prefooter-link{
    width:auto;
}

.container-pseudo-graymenu {
    height: 70em;
    background-size: cover;
}

.item-interior-graymenu{
  left: 5%;
}


.container-interior-header {
    height: 6em;
    top: 0em;
}

.container-pseudo-header {
    height: 10em;
}

.container-interior-header:after {
    top: 8.5em;
}

.item-interior-header{
  left: 0;
}
.item-interior-header > h1 {
    font-size: 4em;
}


.item-sideslide-trigger{
  width: 5em;
}

.slide-closed .item-sideslide-trigger{
  width: 5em;
  right: 0;
}

#slide-interior-prefooter {
    min-height: 40em;
    max-height: none;
    padding-bottom: 8em;
}

#container-footer:after {
    height: 3em;
    top: -2em;
}


.container-interior-left {
    clear: both;
    float: none;
    font-size: 0.6em;
    line-height: 1.4em;
    margin: 0 auto;
    width: 90%;
    padding-top: 0.5em;
}

.container-interior-right {
    float: none;
    clear: both;
    width: 90%;
      margin: 0 auto;
}



.m-item-interior-subnav select {
    color: #666666;
    margin-bottom: 0.5em;
    padding: 0.2em 0;
    text-align: center;
    width: 100%;
}

.item-interior-subtitle {
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 0.1em solid #DEDEDE;
    border-top: 0.1em solid #DEDEDE;
    clear: both;
    color: #CF234D;
    float: none;
    font-family: "DIN 1451 W01 Engschrift",sans-serif;
    font-size: 1.2em;
    margin-bottom: 1em;
    padding: 0.3em 0;
    text-align: center;
    width: 100%;
}

.item-interior-subtitle h2{
  padding: 0;
}

.container-sideslide.slide-closed {
  height: 1em;
}

.container-slideshow .list-nav-anchor {
  width: 3em;
}

.container-slideshow .slider-markup {
  font-size: 1em;
  height: 9em;
  bottom: -7em;
  line-height: 1.3em;
}

.container-slideshow .aka-sit-slider .slider .slide{
/*  height: 11em;*/
}

.calendar-filter-list li {
    width: 43%;
}

.calendar-listing-date {
    padding-top: 2.5em;
    width: 36%;
}

.calendar-listing-date span {
    font-size: 1.2em;
}

.calendar-listing-summary {
    font-size: 0.75em;
    width: 100%;
}

.calendar-listing-photo {
    width: 60%;
}

.calendar-listing-photo img {
    width: 100%;
}

.calendar-search h1 {
    font-size: 1.6em;
    padding: 0.35em;
}

.calendar-detail-bar {
    font-size: 0.6em;
}

.item-video-active, .item-video-active iframe {
    min-height: 10em;
}


.item-program-listing {
    float: none;
    height: auto;
    min-height: 0;
    width: 100%;
}
.program-listing-summary {
}
.program-listing-photo img {
    width: 100%;
}


.item-video-label h2 {
    font-size: 0.8em;
}
.item-video-label span {
    display: block;
    float: none;
    font-size: 0.6em;
    text-align: right;
    width: 100%;
}
.pagination-count {
    font-size: 0.5em;
}
.video-search input {
    font-size: 0.6em;
}
.item-pink-select {
    font-size: 0.6em;
}
.video-search h1 {
    font-size: 1em;
}
.video-search {
    margin-top: 0.2em;
}
.item-video-listing, .item-collection-listing{
    float: none;
    font-size: 0.6em;
    padding: 1em 0;
    text-align: center;
    width: 100%;
    min-height: 0;
}

.item-video-listing img, .item-collection-listing img{
  width: 100%;
}

.item-exhibit-listing{
  width: 100%;
  float: none;
  padding: 1em 0;
  text-align: left;
  height: auto;
}



.gform_wrapper .ginput_complex .ginput_right, .gform_wrapper .ginput_complex .ginput_left {
    width: 100% !important;
}
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
    width: 98% !important;
}
.gform_wrapper .top_label input.large, .gform_wrapper .top_label select.large, .gform_wrapper .top_label textarea.textarea {
    width: 98% !important;
}

.item-contact-map iframe {
    border: 0.2em solid #FFFFFF !important;
    display: block;
    height: 12em;
    width: 98%;
}


.press-room-button {
    clear: both;
    display: block;
    float: none;
    margin: 0.5em auto;
    position: relative;
    width: 50%;
}
.container-press-room a {
    text-align: center;
}
.press-room-date {
    clear: both;
    display: block;
    float: none;
    font-size: 1.2em;
    width: 100%;
}
.press-room-summary {
    clear: both;
    float: none;
}

.container-contact .gform_wrapper, .container-contact .contact-right {
    clear: both;
    float: none;
    width: 100%;
}

.gform_wrapper select.gfield_select{
  background-position: 98% center;
}

.container-contact .contact-right {
    margin-top: 2em;
}

.container-contact input, .container-contact select, .container-contact textarea {
    font-size: 1em !important;
}


.calendar-search button {
    height: 100%;
    right: 2em;
    top: 0;
    width: 3em;
    font-size: 0.5em;
}

.calendar-search button img {
    padding-top: 0.4em;
}

.calendar-search{
  overflow: hidden;
}

.content-container-body h1 {
    line-height: 1em;
}


.container-interior-left p, .container-interior-left h3 {
    padding: 0 0 1em;
}



.item-interior-subtitle{
  display: none;
}

#slide-interior-prefooter:before {
/*    height: 5em;
    top: -3em;
    -webkit-transform: rotate(-1.5deg);
    -moz-transform: rotate(-1.5deg);
    transform: rotate(-1.5deg);*/
}

/* Permanent exhibit layout */

.permanent-exhibit .calendar-detail-hero {
    height: auto;
    margin: 0;
    max-width: 100%;
}

.permanent-exhibit .permanent-exhibit-detail {
    clear: both;
    float: none;
    max-width: 100%;
    width: 100%;
}

.permanent-exhibit .calendar-detail-bar h1{
  font-size: 3em;
}


.page-content iframe {
    max-width: 100%;
}








/* iOS6 FIXES */


	.wrapper-homepage{
		min-height: 100em;
	}

	#slide-homepage-feature, #slide-tours, #slide-homepage-calendar, #slide-homepage-hero, #slide-homepage-graymenu, #slide-homepage-prefooter, .home #container-footer, .item-homepage-graymenu {
		position: relative;
		top: 0;
	}

	#slide-homepage-hero{
		background-size: cover;
		min-height: 18em;
	}

	#slide-tours{
		top: -2em;
		margin-bottom: -5.1em;
	}



	#slide-homepage-feature{
		background-size: cover;
		background-position: top right;
		height: 25em;
	}

	.item-homepage-feature-content{
		top: 0;

	}

	.item-homepage-feature-content a{
		padding-bottom: 0;
		width: 80%;
		padding-top: 2em;
	}

	.container-homepage-graymenu{
		height: 48em;
	}

	.item-homepage-graymenu{
		height: 45em;
		left: -3%;
	}

	#slide-homepage-prefooter{
		max-height: none;
        height: auto;
	}

    .wrapper-homepage #container-footer {
        position: relative;
    }


.container-prefooter-social {
    position: relative;
}


	.item-main-menu{
        height: auto;
        width: 30%;
        padding: 3px 0 3px 1em;
	}

	.item-interior-subtitle h2{
		line-height: 1em;
	}

	.item-interior-header h1{
		max-width: 72%;
		margin: 0 auto;

	}
/*
	.landscape body{
		font-size: 40% !important;
	}

	.landscape #slide-homepage-hero{
		min-height: 28em;
	}

	.landscape #slide-homepage-calendar{
		height: 60em;
	}

	.landscape .container-homepage-calendar:after{
		height: 3em;
		bottom: -11em;
	}

	.landscape #slide-homepage-feature{
		height: 40em;
	}*/


	.item-lesson-plan-right, .item-lesson-plan-left{
		float: none;
		width: 100%;
	}

	.item-prefooter-promo-text h3{
		margin: 0;
	}
    
    /* INTERIOR HEADER/FOOTER ADJUSTMENTS 2015 */
    
    .item-interior-header > h1 {
        font-size: 4em;
        line-height: 1;
        margin: 0;
        max-width: 90%;
    }
    .container-interior-content {
        padding-top: 0;
    }
    .item-interior-header {
        left: 0;
        position: relative;
    }
    .container-interior-header {
        height: auto;
    }
    .container-pseudo-header {
        height: auto;
    }

     .item-prefooter-social {
        margin: 0 auto;
        text-align: center;
        width: 100%;
      }

      .item-footer-social {
        width: 100%;
      } 
      
      
      .container-prefooter-promo, .container-prefooter-social{
        margin-bottom: 2.5em;
      }
} /* END OF MOBILE QUERY */


.tablet.portrait .item-hero-content{
	top: 12em;
}

.tablet.portrait #slide-homepage-hero{
	min-height: 24em;
}

.tablet.portrait #slide-homepage-calendar{
	height: 65em;
}

.tablet.portrait .container-homepage-calendar:after{
	bottom: -2.4em;
}

.tablet.portrait #slide-homepage-feature{
	height: 35em;
}

.tablet.portrait .item-sideslide-hide{
	font-size: 2.5em;
}

.tablet.portrait #slide-tours{
	margin-bottom: -5.6em;
}

.tablet.portrait .container-homepage-graymenu{
	height: 60em;
}

.tablet.portrait .item-homepage-graymenu{
	height: 60em;
}

.tablet.portrait #slide-homepage-prefooter{
	max-height: 50em;
}

.tablet.landscape #slide-homepage-calendar{
	padding-bottom: 3em;
}

.tablet.landscape .container-homepage-calendar:after{
	bottom: -25px;
}

.tablet.landscape #slide-homepage-feature{
	top: 800px;
	height: 300px;
}

.mobile.portrait .container-homepage-calendar:after{
	bottom: -2.4em;
}

.mobile.portrait #slide-homepage-calendar#content{
	height: 34em;
}

.mobile.landscape .container-sideslide{
	top: 3em;
	z-index: 2000;
}

.mobile.landscape .container-sideslide p{
	font-size: 0.4em;
}

.mobile.landscape .container-sideslide h2{
	font-size: 1.2em;
}

.mobile.landscape .item-sideslide-hide{
	font-size: 2em;
	overflow-y: scroll;
	max-height: 250px;
}

.mobile.landscape .item-sideslide-trigger{
	top: 6em;
}

.mobile.landscape .table-sideslide-tickets td{
	font-size: 0.5em;
}


.mobile.portrait .item-sideslide-hide{
	font-size: 2em;
	max-width: 320px;
	float: right;
}
.mobile.portrait .container-sideslide{
	/*right: -78%;*/
}


.mobile.portrait .item-sideslide-box{
	width: 36em;
	max-width: 80%;
}

@media(max-width: 350px){

.mobile.portrait .item-sideslide-hide{
	font-size: 2em;
	max-width: 320px;
	float: right;
}


.mobile.portrait .item-sideslide-box{
	/*max-width: 100%;*/
}

.mobile.portrait .item-sideslide-trigger a{
	height: 3em;
	width: 3em;
}

.mobile.portrait .item-sideslide-trigger, .mobile.portrait .slide-opened-once.slide-closed .item-sideslide-trigger{
	width: 4em;
}

.mobile.portrait .btn-sideslide-close{
	max-width: 48px;
}

.mobile.portrait .container-sideslide{
	max-width: 80%;
	width: auto;
	z-index: 2000;
}

.mobile.portrait #slide-homepage-calendar:after{
	/*background: transparent;*/
}
.mobile.portrait #slide-homepage-calendar{
	height: 40em;
}

.mobile.portrait .container-homepage-calendar:after{
	bottom: -4.4em;
	height: 2.5em;
}

.mobile.portrait #slide-homepage-feature{
	height: 18em;
}


}


@media (max-width: 350px){
  .title-homepage-hero{
    font-size: 28px;
  }
    .btn-homepage-callout > a {
      background-size: 7px 7px;
      font-size: 11px;
      padding: 5px 20px 5px 5px;
      background-position: calc(100% - 10px) center;
  }
  .item-main-menu {
    height: 3em;
  }
  .m-menu-trigger{
    font-size: 6em;
  }
  .mobile.portrait #slide-homepage-calendar {
    height: auto;
    padding-bottom: 1em;
  }
  .item-homepage-feature-img.item-left, .item-homepage-feature-img.item-right{
    width: 90%;
  }
  .container-homepage-callout-bar::after {
    background-image: url("../img/img-geometric3.png");
    background-size: 140%;
    bottom: -128px;
    content: "";
    display: block;
    height: 161px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 3;
    background-repeat: no-repeat;
  }
  .container-homepage-feature-parallax::after {
      background-image: url("../img/img-geometric2.png");
      bottom: -107px;
      content: "";
      display: block;
      height: 145px;
      position: absolute;
      width: 100%;
      z-index: 2;
      background-size: 150%;
      background-repeat: no-repeat;
    }
    
    #slide-homepage-prefooter h2 span {
      background-image: url("../img/icon-arrow-white-large.png");
      background-size: auto 40%;
      padding-right: 25px;
      background-position: calc(100% - 10px) center;
      background-repeat: no-repeat;
    }
    #homepage-feature-2.container-homepage-feature-parallax::after {
      bottom: -100px;
    }
}
