

.logo {
	width: 30%;
	max-width: 158px;
}

.slogan {
	float: right;
	position: relative;
	top:-36px;
	right: -10px;
	

}

#tagline {
	position: relative;
	top: -5px;
	z-index: 1000;
	color: black;
	font-size: 1.2em;
	line-height: 1.2em;
	text-align: center;
}


#gallery {
	float: none;
	position: relative;
	bottom: -2px;
}

#thumbnails {
	float: none;
	position: relative;
	top: -36px;
}

.thumbnail {
	text-shadow: green 0 0 0;
	border: none;
	padding-left: 2px;
	padding-right: 2px;
}

/*styling open close button*/
.button {
	display: block;
	position: relative;
	left: 6px;
	top: -49px;
	z-index: 999;
	font-size: 30px;
	float: left;
}
.button a {
	text-decoration:none;
}
.btn-open:after {
	content: url(http://kapsure.com/images/logos/icon.png);
	transition-property:all .2s linear 0s;
	-moz-transition:all .2s linear 0s;
	-webkit-transition:all .2s linear 0s;
	-o-transition:all .2s linear 0s;

}
.btn-open:hover:after {

}
.btn-close:after {
 	color: #333;
	content:"x";
	font-family: 'Helvetica', sans-serif;
	transition-property:all .2s linear 0s;
	-moz-transition:all .2s linear 0s;
	-webkit-transition:all .2s linear 0s;
	-o-transition:all .2s linear 0s;

}
.btn-close:hover:after {
	
}

.spinner {
	position: relative;
	top:30px;
}




	
.grid-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 100;
	top: 0;
	background-color: black;
	opacity: 0;
	transition: opacity 0.2s;
	background-clip: content-box;
	padding-left: 2px;
	padding-right: 2px;
	padding-bottom: 9px;
}

.grid-title {
	font-family: 'Assistant', sans-serif;
	font-size: 14px;
	position: absolute;
	bottom: 10px;
	left: 16px;
	color: #fff;
	z-index: 200;
	text-decoration: none;
	opacity: 0;
	transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	-o-transition: opacity 0.2s;
}


.grid-item:hover .grid-title {
	opacity: 1.0;
}

.grid-item:hover .grid-overlay {
	display: block;
	opacity: 0.3;
}




#header {
	
	padding-top: 5px;
	padding-bottom: px;
	z-index: 100}
ul {
	margin-top: 0;
}
li {margin-bottom:0.5em;}
li p {margin:0 0 0.5em;}



#wrap-pagehead {
	max-width: 90%;
	padding-top: 6px;
}


#wrap { max-width:60%; background-color: #fff; background-position: 0 100px; position: absolute; left: 0; width: 100%; height: 100%; float: none; clear: none;
	margin: auto;
	right: 0;
}


/*//////////////////////////////////////////////////////////////////// 
// Media Queries
////////////////////////////////////////////////////////////////////*/

@viewport {
   width: device-width;
   zoom:1;
}

/* Firefox Hacks */

@-moz-document url-prefix() { 

#gallery {
	float: none;
	position: relative;
	bottom; 40px;
	padding-bottom: 20px;
}

#thumbnails {
	float: none;
	position: relative;
	top: 0 px;
}

 }
 
 /* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
	
#wrap { max-width:1140px;}
	
		
	

}
 
  

/* iPad in Portrait and Landscape */

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

body { background-color: #fff; }

#wrap { max-width:90%;
	position: relative;
	}
#wrap-pagehead {
	position: relative;
	text-align: center;
	}
	
#gallery {
	float: none;
	position: relative;
	bottom: 33px;
}
	.grid {
	top: 200px;
}
		
}


/* iPad Landscape */

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) 
{


#header {
	border-bottom: 0px solid #666;
	padding-top: 0px;
	padding-bottom: 0px;
}

	#wrap { max-width:80%;
	position: relative;
	}



.thumbnail {
	text-shadow: green 0 0 0;
	border: 1px solid #f6f6f6;
	max-width: 125px;
	max-height: 125px;
}



/* iPad Portrait */

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
{	
body { background-color: #fff; }	
}



/* iPhone Landscape */
@media screen and (max-width: 480px) and (orientation: landscape) {
body { background-color: #fff; }
#wrap { max-width:480px; background-color: #fff; background-position: 0 100px; position: absolute; left: 0; width: 100%; height: 100%; float: none; clear: none;
	margin: auto;
	right: 0;
}

#gallery {
	float: none;
	position: relative;
	bottom: 19px;
}
			.slogan {
	visibility: hidden;
}


	
#header {
	border-bottom: 0px solid #666;
	padding-top: -10px;
	padding-bottom: 0px;
}

h1 { margin: 0 0 0px 30px;
}

}

/* iPhone Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation : portrait){
body { background-color: #fff; }	

#footer {
	visibility: hidden;
}

			.slogan {
	visibility: hidden;
}


}