/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author: Ryan Mulligan / Hexagon Circle
   ========================================================================== */

*{
	position:relative;
	-moz-transition: all 0.2s ease 0s;
	-webkit-transition: all 0.2s ease 0s;
	-o-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
}

@font-face {
    font-family: 'KomikaAxisRegular';
    src: url('../fonts/KOMIKAX_-webfont.eot');
    src: url('../fonts/KOMIKAX_-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/KOMIKAX_-webfont.woff') format('woff'),
         url('../fonts/KOMIKAX_-webfont.ttf') format('truetype'),
         url('../fonts/KOMIKAX_-webfont.svg#KomikaAxisRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansRegular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansBold';
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

body{
	background:url(../img/cosmos_bg.jpg);
	font-family:'OpenSansRegular', Arial, Helvetica, sans-serif;
	font-size:18px;
}

h1, h2, h3, h4, h5, nav{
	font-family:'KomikaAxisRegular', sans-serif;
	font-weight:normal;
	text-align:center;
	letter-spacing:0.02em;
}

h1{
	font-size:2.6em;
	margin:54px 0 -12px;
	text-align:right;
}

h2{
	font-size:1.4em;
	margin-bottom:12px;
	text-align:right;
}

h3{
	font-size:2.8em;
	line-height:0.7em;
	margin-top:108px;
}

h4{
	font-size:28px;
	margin:12px 0 6px;
}

h5{
	text-align:left;
	font-size:22px;
	color:#fff;
	margin-bottom:20px;
}

.fine-print{
	font-size:12px;
}

.hide{
	display:none;
}

/* HEADER */

#spicy-ranch{
	margin: 0;
}

#spicy-ranch a{
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	background:#000088;
	padding: 8px 0 10px;
	display: block;
}

#spicy-ranch a span{
	font-family:'KomikaAxisRegular', sans-serif;
	letter-spacing: 1px;
	padding-left: 3px;
}

#spicy-ranch a:hover{
	background:#e10000;
}

header{
	margin:0 auto 24px;
	height:auto;
	background:url(../img/cosmos_bg_header.jpg);
	z-index:10;
}

#head-width{
	margin:0 auto;
	width:960px;
}

#header-text{
	float:right;
	margin-right:12px;
}

#logo{
	margin:0 auto;
	background:url(../img/cosmospizza_logo.png);
	width:200px;
	height:151px;
	float:left;
}

/* NAVIGATION */

nav{
	display:block;
	margin:0 auto;
	text-align:center;
	list-style:none;
	font-size:23px;
	font-weight:normal;
	padding:12px 0 20px;
    top: 0;
	background:url(../img/cosmos_bg_header.jpg);
	-moz-transition:none;
	-webkit-transition:none;
	-o-transition:none;
	transition:none;
}

nav.fixed{
	position: fixed;
	top: 0;
	width:100%;
	padding:12px 0 16px;
	-moz-transition:none;
	-webkit-transition:none;
	-o-transition:none;
	transition:none;
}

nav li{
	display:inline;
	letter-spacing:1px;
}

nav li a, nav li a:active, nav li a:visited{
	text-decoration:none;
	padding:8px 20px 12px;
	color:#fff;
	background:#000088;
	line-height:2.9em;
	-moz-border-radius: 6px 6px 6px;
	-webkit-border-radius:6px 6px 6px;
	-o-border-radius:6px 6px 6px;
	border-radius: 6px 6px 6px;
	behavior: url(css/PIE.htc);
}

nav li a:hover{
	background:#e10000;
	color:#fff;
}

/* FIXED NAV ITEMS */

#nav-wrapper { /* required to avoid jumping */
	display:block;
	margin:0 auto;
	position: absolute;
	width:100%;
}

/* MENU */

section{
	text-align:center;
	margin:4px auto 48px;
}

article{
	border:1px solid #fff;
	padding:6px 12px;
	background:#fff;
	margin:0 auto 18px;
	-webkit-box-shadow: 2px 2px 4px 0px #f2f2f2;
    -moz-box-shadow: 2px 2px 4px 0px #f2f2f2;
    box-shadow: 2px 2px 4px 0px #f2f2f2;
}

.pricing-container{
	margin:0 auto;
	width:420px;
	height:auto;
}

.price-size-box{
	float:left;
	padding:0px 10px;
	display:block;
	width:120px;
}

.size{
	color:#e10000;
	font-size:0.9em;
	line-height:1.6em;
	margin-bottom:-12px;
	text-align:center;
	border-bottom:1px dotted #e10000;
	text-transform:uppercase;
}
	
.size-big{
	color:#e10000;
	font-size:1.4em;
	line-height:1.6em;
	margin-bottom:-12px;
	text-align:center;
	border-bottom:1px dotted #e10000;
	text-transform:uppercase;
}
	
/* PIZZA GRAPHICS */

#pizzas-container{
	margin:0 auto;
	width:568px;
}
	
.inch-14, .inch-16, .inch-24{
	float:left;
	font-family:'KomikaAxisRegular', sans-serif;
	display:block;
	text-align:center;
	background:#e10000;
	color:#fff;
}
	
.inch-14{
	width:100px;
	height:100px;
	-moz-border-radius:50px;
	-webkit-border-radius:50px;
	-o-border-radius:50px;
	border-radius:50px;
	behavior: url(PIE.htc);
	margin:35px 62px 0 44px;
}

.inch-16{
	width:120px;
	height:120px;
	-moz-border-radius:60px;
	-webkit-border-radius:60px;
	-o-border-radius:60px;
	border-radius:60px;
	behavior: url(PIE.htc);
	margin:22px 54px 0 16px;
}

.inch-24{
	width:150px;
	height:150px;
	-moz-border-radius:75px;
	-webkit-border-radius:75px;
	-o-border-radius:75px;
	border-radius:75px;
	behavior: url(PIE.htc);
	margin:0 0 0 2px;
}

.text-14{
	margin:28px auto 0;
	font-size:30px;
}

.text-16{
	margin:30px auto 0;
	font-size:40px;
}

.text-24{
	margin:38px auto 0;
	font-size:50px;
}

/* STORE PHOTOS */

#store-denver, #store-30th, #store-broadway{
	width:260px;
	height:260px;
	-moz-border-radius:130px;
	-webkit-border-radius:130px;
	-o-border-radius:130px;
	border-radius:130px;
	margin:-276px auto 0;
	z-index:4;
  	opacity: 0.4;
  	filter: alpha(opacity=40);
}

#store-denver:hover, #store-30th:hover, #store-broadway:hover{
	opacity: 1;
  	filter: alpha(opacity=100);
	z-index:7;
}

.behind-store-color{
	background:#000088;
	width:280px;
	height:280px;
	-moz-border-radius:140px;
	-webkit-border-radius:140px;
	-o-border-radius:140px;
	border-radius:140px;
	margin:-168px auto 6px;
	z-index:3;
}
	

#store-denver{
	background:url(../img/denver_store.jpg) center;	
}

#store-30th{
	background:url(../img/30th_store.jpg) center;
}

#store-broadway{
	background:url(../img/broadway_store.jpg) center;
}

.phone-number{
	margin:128px auto 0;
	color:#fff;
	z-index:5;
}

.phone-number a{
	color:#fff!important;
	text-decoration: none!important;
}

.phone-number-small{
	color:#fff;
	font-family:'KomikaAxisRegular', sans-serif;
	margin:-2px 42px 0 0;
	text-align:right;
	font-size:16px;
	letter-spacing:8px;
	z-index:6;
}

.pickup-text{
	font-family:'KomikaAxisRegular', sans-serif;
	margin-top:0;
	text-align:center;
	font-size:14px;
	z-index:6;
	letter-spacing:0.02em;
	color:#e10000;
}

/* CONTACT FORM */

#contact-form{
	float:right;
	margin:-24px 22px 0 0;
}

form#contact fieldset {
	padding: 10px 20px 20px 20px;
	margin: 0 auto;
	border: 0;
	width: 300px;
	text-align: left;
}

form#contact input[type="text"], input[type="url"], 
input[type="email"], input[type="tel"], input[type="human"], textarea {
	margin: 3px 0 0 0;
	padding: 16px; 
	width: 300px; 
	font-size: 20px;
	border:none;
	color:#000088;
	-moz-border-radius: 6px 6px 6px;
	-webkit-border-radius:6px 6px 6px;
	-o-border-radius:6px 6px 6px;
	border-radius: 6px 6px 6px;
}

form#contact input[type="human"]{
	width:100px;
}

form#contact textarea {
	width: 300px; 
	height: 224px;
}

form#contact label {
	display: block;
	font-size: 22px;
	color: #fff;
	margin:14px 0;
	font-family:'KomikaAxisRegular', sans-serif;
	letter-spacing:0.02em;
}

form#contact label.error {
	margin: 1px 0 0 0;
	display: block;
	color:#fff;
	font-size: 12px;
	font-weight:normal;
	text-align:left;
}

::-webkit-input-placeholder {
	font-family:'OpenSansRegular', Arial, Helvetica, sans-serif;
    color:#000088;
}
:-moz-placeholder {
    color:#000088;
}

#submit{
	float:left;
	font-family:'KomikaAxisRegular', sans-serif;
	font-size:24px;
	height:54px;
	padding:3px 10px 6px 14px;
	letter-spacing:0.06em;
	color:#fff;
	background:#3967ea;
	border:none;
	-moz-border-radius: 6px 6px 6px;
	-webkit-border-radius:6px 6px 6px;
	-o-border-radius:6px 6px 6px;
	border-radius: 6px 6px 6px;
	behavior: url(PIE.htc);
	margin:-54px 0 0 140px;
}

#submit:hover{
	color:#000088;
	background:#fff;
}

#contact-submit{
	text-align:center;
	display:block;
	font-family:'KomikaAxisRegular', sans-serif;
	font-size:16px;
	color:#000088;
	background:#f8f6c5;
	-moz-border-radius: 6px 6px 6px;
	-webkit-border-radius:6px 6px 6px;
	-o-border-radius:6px 6px 6px;
	border-radius: 6px 6px 6px;
	behavior: url(PIE.htc);
}

.submit-text{
	display:block;
	padding:12px 0;
}

/* FOOTER SECTION */

#contact-us{
	width:960px;
	margin-top:54px;
}

footer{
	background:url(../img/cosmos_bg_footer.jpg) #000088;
	height:auto;
	padding:48px 0 0px;
	overflow:hidden;
}

#map{
	margin-top:4px;
	float:left;
	width:520px;
}

#map-frame{
	margin:12px 0 0 10px;
	width:520px;
	height:520px;
	-moz-border-radius:260px;
	-webkit-border-radius:260px;
	-o-border-radius:260px;
	border-radius:260px;
	z-index:2;
}

#behind-map{
	margin-top:-534px;
	background:#fff;
	width:540px;
	height:540px;
	-moz-border-radius:270px;
	-webkit-border-radius:270px;
	-o-border-radius:270px;
	border-radius:270px;
	z-index:1;
}

.view-map-text{
	margin-left:32px;
	margin-top:22px;
	z-index:14;
	font-size: 16px;
	color: #fff;
	font-family:'KomikaAxisRegular', sans-serif;
	letter-spacing:0.02em;
}

#map-location-box{
	height:100px;
	margin:-4px 0 0 40px;
}

.map-location{
	padding:0px 24px;
	float:left;
}

.map-location p{
	font-size:14px;
	line-height:0.4em;
	color:#fff;
}

/* COPYRIGHT FOOTER */

#bottom-footer{
	background:url(../img/cosmos_bg_footer_black.jpg) #000;
}

#bottom-footer, #bottom-footer a{
	font-size:12px;
	margin:0 auto;
	text-align:center;
	color:#fff;
	height:auto;
	overflow:hidden;
	padding:4px;
	text-decoration:none;
}

#bottom-footer a:hover{
	text-decoration:underline;
}

#bottom-wrapper{
	width:960px;
	margin:0 auto;
}

#bottom-nav li{
	margin:12px 0 0;
	float:left;
	display:inline;
	list-style:none;
}

.text-divider{
	color:#333;
}

#copyright{
	float:right;
}



/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ==|== media queries ====================================================== */

@media only screen and (min-width: 480px) {


}

@media only screen and (max-width: 500px) {
	
body{
	min-width:480px!important;
}

.container_12, .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {
	float:left;
	width:480px!important;
	margin:12px auto!important;
}

/* HEADER */

#head-width{
	width:100%;
}

#logo{
	background:url(../img/cosmospizza_logoMobile.png);
	width:400px;
	height:302px;
	float:none;
	margin:0 auto;
}

#header-text{
	float:none;
}

h1, h2, h3, h4, h5{
	text-align:center;
}

h2{
	font-size:1.0em;
}

h3{
	margin-top:190px;
}

section{
	margin:4px auto -12px;
}

/* NAV MENU */

nav.fixed{
	display:none;
}
	
nav li a {
	line-height:3.1em;
	font-size:0.9em;
}

/* FOOTER */

footer{
	clear:both;
}

#bottom-nav li{
	float:none;
	text-align:center;
	width:100%;
}

#bottom-wrapper{
	margin-top:10px;
	width:480px;
}

/* MAP */

#map{
	float:none;
	margin:0 auto;
	width:100%;
}

#map-frame{
	margin:12px auto;
	width:320px;
	height:320px;
	-moz-border-radius:160px;
	-webkit-border-radius:160px;
	-o-border-radius:160px;
	border-radius:160px;
	behavior: url(PIE.htc);
	z-index:2;
}

#behind-map{
	margin:-346px auto 0;
	background:#fff;
	width:340px;
	height:340px;
	-moz-border-radius:170px;
	-webkit-border-radius:170px;
	-o-border-radius:170px;
	border-radius:170px;
	behavior: url(PIE.htc);
	z-index:1;
}

.view-map-text, #map-location-box{
	margin:12px auto;
	width:480px;
}

#map-location-box{
	margin-left:12px;
}

/* CONTACT FORM */

#contact-form{
	float:none;
	margin:12px auto 24px;
}

#copyright{
	float:none;
	text-align:center;
}

#contact-us{
	margin-top:100px;
	width:100%;
}

#pizzas-container{
	display:none;
}

.pricing-container{
	width:420px!important;
	margin:0 auto;
}

.price-size-box{
	width:120px!important;
}

.size-big{
	font-size:0.9em;
}

.phone-number-small{
	margin:-2px 132px 0 0;
}

}

/* ==|== print styles ======================================================= */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
