/* General Responsive Behavior */
@media only screen and (max-width : 640px) {


	.wrapper {
		/*background-image: url(../images/bg-body.jpg); 
		background-position: center center; */
		background-image: url(../images/bg-body-mobile.jpg); 
		background-repeat: initial; 
		background-attachment: initial;
	}

	/*	collapse nav into hamburger	*/
	.header {
		/*border: 1px solid red;*/
		background-color: #9FDAFA;
	}
	.header .hamburger {
		display: block;
		background-image: url(../images/hamburger.png);
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;		
		cursor: pointer;
	}
	/*	display page nav name				*/
	.header .page-title {
	  display: inline;
	  font-family: webfont;
	  text-transform: uppercase;
	  font-size: 24px;
	  /* line-height: 50px; */
	  color: #003;
	  position: relative;
	  top: 30%;
	  transform: translateY(-30%);
	}
	/*	display share icon					*/
	.header .mobile-share {
		display: block;
		background-image: url(../images/share_icon.png);
		background-position: center center;
		background-repeat: no-repeat;
		background-size: contain;		
		cursor: pointer;
	}
	.navigation {
		display: none;
		background-color: #9FDAFA;
		border-top: 0;
		height: auto;
		position: absolute;
		top: 60px;
		width: 200px;
		z-index: 10;
		line-height: 40px;
		font-size: 20px;
	}
	.navigation li {
		clear: both;
		display: block;
	}
	.navigation span.logo {
		display: none;
	}
	.navigation li.logo a:after {
	  content: 'home';
	}
	.navigation .div-line {
		display: none;
	}
	.navigation li.social {
		display: none;
	}
	.navigation_first:after, .navigation_action:before {
	  display: none;
	}

	/*	share	*/
	#social-facebook-mobile {
		width: 46px;
  	height: 56px;
  	margin: 10px auto 0 auto;
  	background: url(../images/share_buttons_mobile.png) no-repeat center center;
  	background-position: -64px 0px;
	}
	#social-twitter-mobile {
		width: 46px;
  	height: 56px;
  	margin: 10px auto 0 auto;
  	background: url(../images/share_buttons_mobile.png) no-repeat center center;
  	background-position: -118px 0px;
	}
	#social-tumblr-mobile {
		width: 46px;
  	height: 56px;
  	margin: 10px auto 0 auto;
  	background: url(../images/share_buttons_mobile.png) no-repeat center center;
  	background-position: -172px 0px;
	}
	#social-pinterest-mobile {
		width: 46px;
  	height: 56px;
  	margin: 10px auto 0 auto;
  	background: url(../images/share_buttons_mobile.png) no-repeat center center;
  	background-position: -226px 0px;
	}


	/*	global content header and footer	*/
	.page-heading .heading-bottle img {
	  margin: 10px 0;
	}
	.page-heading .heading-left-col {
	  width: auto;
	}
	.page-heading .heading-right-col {
	  max-width: 30%;
	}
	.page-heading .heading-title h1 {
	  font-size: 30px;
	}
	.footer {
		height: auto;
	}
	.footer-link-bullet {
		display: none;
	}





	/*	global body content 	*/

	.content h1, 
	.container-rules h1 {
	  font-size: 20px;
		line-height: normal;
	}
	.content h2 {
	  font-size: 16px;
		line-height: normal;
		margin-left: auto;
		margin-right: auto;
		padding-top: 18px
	}

	.content h3, .content-area h3, .gallery-list h3, .body-text h3 {
		  line-height: 40px;
	}
	
	.content h3.coming-soon {
		line-height: 22px;
		padding-top: 0;
	}

	p {
		width: 80% !important;
		margin: auto;
	}
	.body-text {
		overflow: hidden !important;
	}



	/*	gallery	*/
	ul.murals {
		width: auto;
	}
	li.murals-placeholder {
		float: none; 
	  margin: 10px auto;
	}

	.content-gallery-filter {
		float: none;
		min-width: 150px;
	}
	.content-gallery-filters-with-regions, .content-gallery-filter .searchfield, .content-gallery-filter-search {
	  width: auto;
	}

	.content-gallery-nav {
		/*display: none;*/
		width: 100%;
		text-align: center;
		margin-bottom: 50px;
	}
	.content-gallery-nav span {
		display: none;
	}
	.content-gallery-filters.past-winners .content-gallery-nav {
	  display: block;
	}
	.content-gallery-filters.past-winners {
	  width: auto;
	}

	.content-gallery.medium  {
		width: 100%;
	  margin-right: 20px;
	  height: 400px;
	  overflow: hidden;
	}
	.content-gallery.medium > li {
		float: none;
		width: 100%;
		height: 650px;
		overflow: hidden;
	  margin: 0 auto 20px auto;
	  list-style-type: none;
	}
	.content-gallery.medium > li:nth-child(5n+5) {
	  margin-right: auto;
	}
	.content-gallery.medium > li .content-gallery-art-image {
	  height: 300px;
	  width: 300px;
	}
		.content-gallery.medium > li .content-gallery-art-image img {
			/*	this is set elsewhere. find out where. */
			/*width: 100%;*/
		  width: auto !important;
		  height: auto !important;
		  max-height: 300px;
		  max-width: 300px;
	  	margin: 0 !important;
	  	position: relative;
		  top: 50%;
		  transform: translateY(-50%);
		  -webkit-transform: translateY(-50%);
		}
	.content-gallery.medium .submission-info {
		display: block;
		position: relative;
		bottom: 0;
	}
	.content-gallery.medium .icon-winner {
	  right: 44px;
	}
	.submission-preview-image, .regional-winner-preview-image {
    height: auto;
    cursor: default;
		width: 300px;
	  height: 300px;
	  margin: 0 auto;
		background-color: rgba(122, 143, 153, 0.7);
	}
	.submission-preview .image-frame {
		/*position: inherit;*/

	  position: relative;
	  width: 300px;
	  height: 300px;
	  left: 0;
	  top: -300px;


	}

/*	MOBILE VOTING AND SHARING	*/
.desktop-vote-share-container {display: none;}

.mobile-vote-share-container {
	display: block;
  height: 100%;
  width: 100%;
}
.mobile-vote-share-container .social .icon {
	width: 46px;
  height: 46px;
  background: url(../images/share_buttons_mobile.png) no-repeat center center;
}

  .mobile-share-icons {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    height: 40px;
    width: 240px;
  }
  	.mobile-share-icons .g-mob_social,
  	.mobile-vote-share-icons .g-mob-vote_social {
  		width: 200px;
  	}
  	.mobile-share-icons .facebook,
  	.mobile-vote-share-icons .facebook {
  		background-position: -64px -10px !important;
  	}
  	.mobile-share-icons .twitter,
  	.mobile-vote-share-icons .twitter {
  		background-position: -118px -10px !important;
  	}
  	.mobile-share-icons .tumblr,
  	.mobile-vote-share-icons .tumblr {
  		background-position: -172px -10px !important;
  	}
  	.mobile-share-icons .pinterest,
  	.mobile-vote-share-icons .pinterest {
  		background-position: -226px -10px !important;
  	}

  .image-frame.voted .mobile-share-icons {display: none;}

  .mobile-share-button {
    background: url(../../images/share_icon.png);
		background-repeat: no-repeat;
		background-position: center;
    position: absolute;
    top: 0px;
    right: 0px;
    height: 40px;
    width: 50px;
  }
  	.image-frame.voted .mobile-share-button {display: none;}
  
  .mobile-vote-overlay-container {
      display: none;
      background: url(../../images/voted_pentagon_Trans.png);
			background-position-x: -87px;
			background-position-y: -10px;
      position: absolute;
      margin: 0 !important;
      width: 300px !important;
      height: 300px !important;
      top: 0;
      left: -235px;
  }
  .image-frame.voting .mobile-vote-overlay-container {
      display: block;
  }
  .image-frame.voted .mobile-vote-overlay-container {
      display: block;
      background-position-x: -10px;
      left: 0px;
  }
    .mobile-vote-overlay-share-button {
      position: absolute;
      bottom: 0px;
      left: 60px;
      height: 70px;
      width: 180px;
    }
    .mobile-vote-share-icons {
      display: none;
      position: absolute;
      bottom: 70px;
      left: 20px;
      height: 40px;
      width: 240px;
    }



	.gallery-list {
		background-image: none;
		min-height: none;
		overflow: hidden;
	}
	.mobile-art-info {
		display: block;
		height: 220px;
		font-family: 'EngraversGothicBT-Regular';
		font-size: 24px;
	}

		.mobile-art-info div {	
			margin-bottom: 8px;
			line-height: 22px;
			text-transform: uppercase;
		}
		.mobile-art-info .mob-artName {	
			font-size: 28px;
			margin-bottom: 16px;
		}
		.mobile-art-info .mob-artArtist {
			font-size: 24px;
		}
		.mobile-art-info .mob-artMedium, 
		.mobile-art-info .mob-artistStatement {
			font-size: 20px;
		}


	#mobile-loader {
		display: block;
		width: 100%;
		text-align: center;
	}

		#mobile-loader img {
			display: none;
			width:32px;
			margin:0 auto;
		}

	.back-to-top {
	    position: fixed;
	    bottom: 0px;
	    right: 0px;
	    text-decoration: none;
	    color: #000000;
	    background-color: rgba(122, 143, 153, 0.7);
	    font-size: 18px;
	    padding: 1em;
	    font-family: 'EngraversGothicBT-Regular';
	    display: none;
	}
		.back-to-top img {
			vertical-align: middle;
		}

/*		GALLERY INCREMENTAL LOADING		*/
.content-gallery>li {
	display: none;
}
.content-gallery>li:first-child {
	display: block;
}

#mob-paging-prev-winners a, .content-gallery-nav a {
  width: 100px !important;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
}

.content-gallery-nav a.prev {
  margin-right: 60px; 
}

.content-gallery-nav a.next {
  margin-left: 60px; 
}



/*****************************/

	/*	Rules	*/
	.container-rules {
	  width: auto;
	}

	/*	Cocktails	*/
	.container-cocktail, .cocktail, .cocktail-img {
	  width: 100%;
	}
	.cocktail-header {
		margin: 0;
	}
		.cocktail {
		  float: none;
		}
		.cocktail:nth-child(even) {
		  margin: 0;
		}
		.cocktail .receipt {
		  top: 50px;
		  width: 130px;
		}
		.cocktail .receipt p {
		  line-height: normal;
		}




	/*	Home	*/
	.container-home .dl {
	  width: 320px;
	}




}
@media only screen and (max-width : 500px) {
	/*	vertical footer nav	*/
	.footer-rules a {
		display: block;
	}
	.footer-rules a:before {
		content: none;
	}

}


/* Phone size 1 */
@media only screen and (max-width: 470px) {
}


/* Phone size 2 */
@media only screen and (max-width: 375px) {
	.content-gallery-filter .searchfield {
	  width: 200px;
	}	
}

/* Phone size 3 */
@media only screen and (max-width: 320px) {

	/*	global content header and footer	*/
	.page-heading .heading-bottle {
		max-height: 300px;
	}
	.page-heading .heading-bottle img {
		height: 280px;
	  margin: 10px 0;
	}
	.page-heading .heading-left-col {
	  width: auto;
	}
	.page-heading .heading-right-col {
	  max-width: 30%;
	}
	.page-heading .heading-title h1 {
	  font-size: 26px;
	  line-height: 30px;
	}
	.page-heading .heading-logo img {
	  width: 180px;
	}
	.page-heading .heading-title {
	  height: 160px;
	}
	.page-heading {
		height: 300px;
	}

	/*	gallery */
	.content-gallery.medium .icon-winner {
	  right: 12px;
	}
	.content-gallery-filter .searchfield {
	  width: 150px;
	}	

}



/* Tablet size 1 */
@media only screen and (min-width : 470px) and (max-width : 680px) {
}

/* iPad fixes */
@media only screen and (min-device-width: 481px) and (max-device-width: 1025px) {}

/* Tablet size 2 */
@media only screen and (min-width: 470px) and (max-width: 990px) {}

/* iPad landscape fixes */
@media only screen and (min-device-width: 481px) and (max-device-width: 1025px) and (orientation:landscape) {}