/*
	Theme Name: Atlas Pizza
	Theme URI: http://atlaspizzapdx.com/
	Description: Custom theme for Atlas Pizza
	Version: 1.0
	Author: Lee Ritter
	Author URI: http://leeritter.com
	Tags: pizza
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Patrick Hand', cursive;
	font-size:18px;
	color:#231f20;
	font-weight:400;
	font-style:normal;
	padding-bottom:100px;
}

@media only screen and (max-width:420px) {
	body {
		font-size:15px;
	}
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:900px;
	width:95%;
	margin:0 auto;
	position:relative;
	text-align:center;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

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

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

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

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

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

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow: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;
	}
}


/* CUSTOM THEME STYLES  */

section {
	width:100%;
	margin-bottom:40px;
	position:relative;
	display:inline-block;
}

section p {
	margin-top:0px;
}

h1 {
	font-size:2.4em;
	text-transform:uppercase;
	margin-bottom:0px;
	margin-top:0px;
	color:#1d9d50;
	text-align:center;
	display:inline-block;
}

h2 {
	font-size:1.3em;
	text-transform:uppercase;
	margin-bottom:0px;
	margin-top:0px;
}

h3 {
	font-size:1.2em;
	margin-bottom:0px;
	margin-top:0px;
	text-align:center;
	font-weight:normal;
}

h4 {
	font-size:1.2em;
	text-transform:uppercase;
	margin-bottom:0px;
	margin-top:0px;
	text-align:center;
	color:#1d9d50;
}

h4 .price {
	color:#000;
	margin-left:20px;
}

h4 .knot-price {
	color:#000;
}

#top-section {
	width:100%;
	float:left;	
	text-align:center;
	padding-top:50px;
	position:relative;
}

#top-section .left-bucket {
	width:200px;
	position:absolute;
	left:10%;
	top:55%;
	z-index:100;
}

#top-section .right-bucket {
	width:200px;
	position:absolute;
	right:10%;
	top:55%; 
	z-index:100;
}

@media only screen and (max-width:752px) {
	#top-section .right-bucket {
		right:0%;
	}
	
	#top-section .left-bucket {
		left:0%;
	}
}

@media only screen and (max-width:565px) {
	#top-section .right-bucket {
		font-size:0.7em;
		text-align:right;
	}
	
	#top-section .left-bucket {
		font-size:0.7em;
		text-align:left;
	}
	
	#top-section .left-bucket h3 {
		text-align:left;
	}
}

@media only screen and (max-width:370px) {
	#top-section img {
		max-width:80%;
	}
	
	#top-section {
		padding-top:20px;
	}
	
	#top-section .left-bucket, #top-section .right-bucket {
		font-size:0.65em;
		top:50%;
	}
}

#top-section .right-bucket p {
	margin:0px;
}

#top-section .right-bucket img {
	margin-top:10px;
}

.row-full {
	width:100%;
	float:left;
}

.row-half {
	width:48%;	
	float:left;
}

@media only screen and (max-width:565px) {
	.row-half {
		width:100%;
	}
}

.row-half:nth-of-type(odd) {
	margin-right:4%;
}

.row-three-quarters {
	width: 78%;
	padding: 0px 11%;
	margin: auto;
}

.contact-info a {
	font-size:1.3em;
}

.contact-info p {
	margin-bottom:0px;
}

img.delivery-map {
	margin-top:60px;
}

.contact-info a.fb-link {
	position:relative;
	top:-100px;
	left:-10px;
}

.delivery-dot {
	position:absolute;
	width:115px;
	height:auto;
	top:-40px;
	z-index:20;
}

.delivery-dot.left-dot {
	left:40px;
}

.delivery-dot.right-dot {
	right:40px;
}

.delivery-dot img {
	width:100%;
	height:auto;
}

.delivery-dot span {
	width:100%;
	position:absolute;
	top:15px;
	left:0px;
	line-height:1em;
	font-size:1.3em;	
}

.delivery-dot span small {
	font-size:0.7em;
	width:100%;
	position:relative;
	top:-5px;
}

.delivery-dot span medium {
	font-size:0.8em;
	width:100%;
	position:relative;
	top:-9px;
}

@media only screen and (max-width:768px) {
	.delivery-dot.left-dot {
		display:inline-block;
		position:relative;
		left:0px;
		top:-10px;
	}
	
	.delivery-dot.right-dot {
		display:none;
	}
}

a.fb-link {
	width:100px;
	height:28px;
	display:inline-block;
	margin-top:5px;
	background:url('img/fb-logo.png') center center no-repeat;	
}

@media only screen and (max-width:725px) {
	.contact-info a.fb-link {
		top:-27px;
		left:0px;
	}
}

@media only screen and (max-width:460px) {
	.contact-info a.fb-link {
		top:-22px;
	}
}

@media only screen and (max-width:320px) {
	.contact-info a.fb-link {
		top:-18px;
		left:10px;
	}
}

@media only screen and (max-width:565px) {
	a.fb-link {
		width:60px;
		height:16px;
		background-size:100% 100%;
}

@media only screen and (-webkit-min-device-pixel-ratio:1.5), only screen and (min-resolution:144dpi) {
		a.fb-link {
			background:url('img/fb-logo@2x.png') center center no-repeat;	
			background-size:100% 100%;
		}
}

