/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 /* * Kroc Camen, and the H5BP dev community and team. */

/* =============================================================================
   HTML5 element display
   ========================================================================== */

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


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; overflow-x: hidden; }

body, button, input, select, textarea { font-family: sans-serif; color: #000; border: none; }

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


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

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; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
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%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }


/* =============================================================================
   Primary styles
   Author: 


========================================================================== */

body {
	background: #ffffff; /* Old browsers */
	margin: 0 !important;
}

a {
	text-decoration: none;
	color: #535252;
}

body > header {
    text-align: center;
}

h1.title {
    text-indent: -10000px;
    background: url(/gfx/recite_logo.jpg);
    width: 250px;
    height: 180px;
    display: inline-block;
 
}

h1, h2 {
    font-style: normal;
	margin: 0 0 0.2em;
	padding: 0;
	font-weight: normal;
	text-align: center;
}

input {
	background: #fff;
	border: 1px solid black;
	padding: 4px 13px;
	box-sizing: border-box;
}

/*
.title {
	width: 529px;
	height: 57px;
	margin: 0 auto;
	background: transparent url(../images/bg-header.jpg) no-repeat 0 0;
	text-indent: -99999px;
	overflow: hidden;
}
*/

	.title a:link, .title a:visited {
		display: block;
		height: 57px;
	}

.content {
	width: 1112px;
	margin: 0 auto;
	position: relative;
	min-height: 600px;
}

.stack > *:not(.active) {
  display: none !important;
}

.content-share {
	width: 786px;
}

.main {
	padding: 0;
	margin: 0 auto;
/*	height:575px;*/
}

.main-offcenter {
	position: absolute;
	right: 1112px;
}

.main-offleft {
	position: absolute;
	left: 0;
	margin-left: -2612px;
}

.main-template, .main-picks, .main-share {
	padding-left: 163px;
	padding-right: 163px;
	width: 786px;
	top: 0;
}

.main-picks {
	width: 922px;
	padding-left: 95px;
	padding-right: 95px;
}

.main-share {
	width: 786px;
}

.mt-center {
	position: static;
}

.quote-field {
	position: relative;
	top: 0; left: 0;
	width: 1060px;
	min-height: 266px;
	margin: 0 auto;
	/*background: rgba(255, 255, 255, 0.8);*/
	text-align: center;
	z-index: 2;
}
.quote-field h1, .share-page h1 {
	font-style: italic;
	font-size: 42px;
	color: #535252;
}

.quote-field p {
	font-family: arial, sans-serif;
	text-transform: uppercase;
	color: #6b6263;
	font-size: 14px;
	margin: 0 auto 13px;
}

label p, label h3 {
	color: #535252;
	text-transform: uppercase;
	margin: 0 0 0.3em;
}

.share-page {
	font-size: 14px;
	font-family: arial, sans-serif;
}

.email-form-box {
	margin: 0 auto 1em;
	width: 520px;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
}

label {
	display: block;
	margin: 0 0 1em;
}

.clear {
	clear: both;
}

.align-right {
	text-align: right;
}

h2.ribbon {
		top: 0; left: 0;
	background: #fffff;
	font-family: arial, sans-serif;
	color: #ffffff;

}

.share-right h2.ribbon {
	width: 389px;
}

.share-right h2.ribbon-left {
	width: 370px;
}
.share-right h2.ribbon-left:before {
	/*background: transparent url(/gfx/ribbon-left-arrow.png) no-repeat 0 0;*/
}

h2.ribbon:after, h2.ribbon:before {
	display: inline-block;
	content: '';
	width: 13px;
	height: 43px;
	padding: 20px;
	position: absolute;
	top: 0;

}
h2.ribbon:after {
	right: -13px;
/*	background: transparent url(/gfx/ribbon-right.png) no-repeat 0 0;*/
}
h2.ribbon:before {
	left: -13px;
	/*background: transparent url(/gfx/ribbon-left.png) no-repeat 0 0;*/
}

	.quote-create-form {
        display: inline-block;
        background-image:url(images/form_bg.jpg);
	    background-repeat:repeat-x;
	    border:1px solid #000000;
	    width: 440px;
		position: relative;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
		border-top-right-radius: 20px;
        border-top-left-radius: 20px;
		color:#333333;

	}
	
	.field-title {
	}
	
	.quote-text {
		resize: none;
        width: 400px;
        height: 140px;
		margin: 20px;
		font-size: 24px;
		z-index: 5;
        color: #000;
	}

		.quote-text:focus, .quote-template:focus {
			outline: none;
		}

	.btn-holder {
		height: 59px;
        margin-bottom: 20px;
		text-align: center;
		position: relative;
		z-index: 20;
		font-size: 41px;
	}

	.btn-create {
		margin: 0;
        padding: 0;
        border: 0;
		z-index: 10;
		vertical-align: middle;
		position: relative;
		transition: all .4s linear;
		backface-visibility: hidden;
	}
	
		.btn-create:hover {
			-webkit-transform: scale(1.1);
			-moz-transform: scale(1.1);
			-ms-transform: scale(1.1);
			-o-transform: scale(1.1);
			transform: scale(1.1);
		}
	
.or {
	width: 59px;
	height: 37px;
	margin: 0 auto;
	padding-bottom: 26px;
	text-indent: -99999px;
	overflow: hidden;
	background: transparent url(../images/bg-or.jpg) no-repeat 0 0;
}

.template-title {
}

.carousel-load-status {
	width: 100px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	position: relative;
	top: -150px;
	z-index: 16000;
	font-size: 40px;
	color: #0aab30;
}

.thumbs-holder {
	position: relative;
	/*width: 1111px;*/
	/*overflow-x: hidden;*/
	min-height: 250px;
	overflow-y: visible;
	margin: 27px auto 27px;
}

.thumbs-holder h2 {
	z-index: 2;
}

	.btn-left {
		display: block;
		width: 54px;
		height: 54px;
		background: #000000 url(/gfx/btn-arrow-left.png) no-repeat center center;
		border-radius: 54px;
		position: absolute;
		top: 90px;
		left: 30px;
		z-index: 31;
		-webkit-transition: all .4s linear;
		-moz-transition: all .4s linear;
		-ms-transition: all .4s linear;
		-o-transition: all .4s linear;
		transition: all .4s linear;
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
		-ms-backface-visibility: hidden;
		backface-visibility: hidden;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		cursor: pointer;
	}
	
		.btn-left:hover {
			-webkit-transform: scale(1.1);
			-moz-transform: scale(1.1);
			-ms-transform: scale(1.1);
			-o-transform: scale(1.1);
			transform: scale(1.1);
		}

	.btn-right {
		display: block;
		width: 54px;
		height: 54px;
		background: #000000 url(/gfx/btn-arrow-right.png) no-repeat center center;
		border-radius: 54px;
		position: absolute;
		top: 90px;
		right: 30px;
		z-index: 31;
		-webkit-transition: all .4s linear;
		-moz-transition: all .4s linear;
		-ms-transition: all .4s linear;
		-o-transition: all .4s linear;
		transition: all .4s linear;
		-webkit-backface-visibility: hidden;
		-moz-backface-visibility: hidden;
		-ms-backface-visibility: hidden;
		backface-visibility: hidden;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		cursor: pointer;
	}
	
		.btn-right:hover {
			-webkit-transform: scale(1.1);
			-moz-transform: scale(1.1);
			-ms-transform: scale(1.1);
			-o-transform: scale(1.1);
			transform: scale(1.1);
		}

        .thumbs-wrapper {
            margin: -21px auto 0;
            width: auto;
            overflow: hidden;
        }

	.thumbs {
		list-style: none;
        margin: 0;
		padding: 0;
		/*width: 10000px;*/
        height: 206px;
		overflow: hidden;
		/*background: rgba(255, 255, 255, 0.8);*/
        white-space: nowrap;
	}

		.thumbs li {
			margin: 0 0 21px;
            display: inline-block;
			cursor: pointer;
            vertical-align: top;
		}

		.thumbs li {
			-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=50)";
			filter: alpha(opacity=50);
			opacity: .5;
		}

			.thumbs li.thumbs-selected {
				position: relative;
				z-index: 30;
				-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=100)";
				filter: alpha(opacity=100);
				opacity: 1;
				margin-top: 21px;
				-webkit-transition: all .7s ease;
				-moz-transition: all .5s ease;
				-ms-transition: all .5s ease;
				-o-transition: all .5s ease;
				transition: all .5s ease;
				box-shadow: rgba(0, 0, 0, .15) 4px 4px 7px 8px;
			}			
				.thumbs li.thumbs-selected img {
					height: auto;
				}
				
				img.clone {
					position: absolute;
					bottom: 0;
				}
		
			.thumbs li a {
				float: left;
			}	

.thumbs li .constrainer {
white-space: normal;
}

	.share-left {
		float: left;
		width: 340px;
	}

	.share-left img {
		box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
	}

    .share-right .iphone-save {
        display: none;
    }

    .share-right .iphone-save {
        position: absolute;
        top: 40%;
        left: 0;
        width: 100%;
        text-align: center;
    }
    
    .share-right .iphone-save p {
        display: inline-block;
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        margin: 10px;
        color: #fff;
    }

	.share-right {
        position: relative;
        top: 0; left: 0;
		float: right;
		width: 430px;
	}

	.share-left, .share-right {
		margin-bottom: 40px;
	}
	
	/*
		.share-title {
			width: 429px;
			height: 49px;
			text-indent: -99999px;
			overflow: hidden;
			background: transparent url(../images/bg-sharecreation.jpg) no-repeat 0 0;
		}
		*/
		
		.share-form {
			background: white;
			padding: 37px 0 40px 20px;
			width: 358px;
			margin: 0 auto 40px;
			position: relative;
			font-family: arial, sans-serif;
			box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
		}
		
			.share-list {
				list-style: none;
				margin: 0;
				padding: 0 0 16px 0;
				overflow: hidden;
				font-size: 18px;
                line-height: 26px;
			}

				.share-list li {
					height: 26px;
                    display: block;
					margin: 0 0 3px 0;
					padding: 0 4px 0 0;
					text-transform: uppercase;
				}

				.share-list a:before {
					content: '';
					display: inline-block;
					width: 21px;
					height: 21px;
					background: transparent no-repeat 0 0;
					background-size: 21px 21px;
					vertical-align: middle;
					padding: 0 2px 0 0;
				}

				.share-list a.fb:before {
					background-image: url(/gfx/social-fb-black.svg);
				}

				.share-list a.tw:before {
					background-image: url(/gfx/social-tw-black.svg);
				}

				.share-list a.pt:before {
					background-image: url(/gfx/social-pi-black.svg);
				}

				.share-list a.su:before {
					background-image: url(/gfx/social-su-black.svg);
				}

				.share-list a.tm:before {
					background-image: url(/gfx/social-tm-black.svg);
				}

				.share-list a.di:before {
					background-image: url(/gfx/social-dl-black.svg);
				}


		.share-form .email {
            background: #eee;
			width: 220px;
            font-size: 11px;
		}

		.share-form .permlink {
            background: #eee;
			width: 300px;
            font-size: 11px;
		}

		.share-form .description {
			font-size: 10px;
			text-transform: none;
			color: black;
			margin: 0.5em 0;
		}

        .btn-send {
            margin: -15px 2em 0 0;
            padding: 0;
            float: right;
            border: 0;
        }

		.btn-tryanother h2 {
			-webkit-border-radius: 28px;
  -moz-border-radius: 28px;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  background: #454545;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
		}

	.title-almost {
		display: block;
		width: 523px;
		height: 49px;
		background: transparent url(../images/bg-almostthere.jpg) no-repeat 0 0;
		text-indent: -9999px;
		margin: 0 auto;
	}
	
	.template-item {
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	
	.template-list {
		margin: 0;
		padding: 30px 0 50px 0;
		list-style: none;
	}
	
		.template-list li {
			float: left;
			margin: 0 17px 17px 0;
		}
			
			.template-list li {
				width: 198px;
				height: 198px;
				border: 7px solid white;
				position: relative;
				z-index: 1;
				display: block;
				-webkit-backface-visibility: hidden;
				-moz-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				backface-visibility: hidden;
				cursor: pointer;
			}

			.template-list a:link, .template-list a:visited {
				display: block;
			}
			
			
		.field-title-sm {
			width: 429px;
			height: 49px;
			background: transparent url(../images/bg-quoteyou-sm.jpg) no-repeat 0 0;
			margin: 0 auto;
			text-indent: -99999px;
			overflow: hidden;
			position: relative;
			z-index: 10;
		}
		
		.quote-template-holder {
			min-height: 324px;
		}

		.quote-template-form {
			position: relative;
			display: none;
		}

			.quote-template {
				width: 358px;
				height: 302px;
				margin: -1px 0 0 24px;
				position: relative;
				border-bottom-left-radius: 10px;
				border-bottom-right-radius: 10px;
				-moz-resize: none;
				resize: none;			
				padding: 10px;
				font-size: 24px;
				z-index: 5;
			}
			
			.btn-send-quote {
				vertical-align: middle;
				-webkit-transition: all .4s linear;
				-moz-transition: all .4s linear;
				-ms-transition: all .4s linear;
				-o-transition: all .4s linear;
				transition: all .4s linear;
				-webkit-backface-visibility: hidden;
				-moz-backface-visibility: hidden;
				-ms-backface-visibility: hidden;
				backface-visibility: hidden;
			}
			
				.btn-send-quote:hover {
					-webkit-transform: scale(1.1);
					-moz-transform: scale(1.1);
					-ms-transform: scale(1.1);
					-o-transform: scale(1.1);
					transform: scale(1.1);
				}


footer {
	font-family: arial, sans-serif;
	padding-top: 0px;
	clear: both;
	margin: 0 auto;
	text-align: center;
	color: #fff;
}

footer img {
	vertical-align: middle;
	padding: 0 3px;
}

footer .visit {
	text-transform: uppercase;
	font-size: 14px;
}

footer .create a {
	text-transform: uppercase;
	color: #fff;
	background: #0aab30;
	font-size: 14px;
	padding: 8px 15px;
}

.footer-logo {
	display: block;
	margin: 45px auto 27px;
}

.footer-txt {
	font-size: 13px;
    color: #000;
}

footer .note {
	font-size: 10px;
}

.footer-txt a:link, .footer-txt a:visited {
	color: #000;
}

input[type="submit"], input[type="button"] {
	border: 0;
	background: #0aab30;
	color: white;
	font-family: arial, sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	padding: 4px 13px;
}

.overlay {
  cursor: pointer;
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 1000;
	top: 0;
	left: 0;
	background-color: black;
	opacity: 0.70;
	filter:alpha(opacity=70); 
}

#loading-container {
	display: none;
	position: absolute;
	left: 50%;
	top: 25%;
	width: 440px;
	height: 100px;
	margin-left: -220px;
	z-index: 1001;
}

#loading-container .status {
	margin-bottom: 2px;
	font-size: 21px;
	letter-spacing:1px;
	color: white;
	text-transform: uppercase;
}

#loading-container .bar {
	padding: 0;
	background-color: white;
	height: 35px;
}

#loading-container span {
	margin-top: -35px;
	position: relative;
	display: block;
	width: 0px;
	height: 35px;
	background-color: #0aab30;
}

#loading-container .percent {
	margin-top: 3px;
	font-size: 16px;
	color: white;
	text-align: center;
}

.dialog {
	position: absolute;
	top: 25%;
	left: 50%;
	margin-left: -260px;
	width: 500px;
	background-color: white;
	z-index: 20000;
    color: #000;
}

.dialog .dialog-close {
	background-image: url(../images/btn-error-close.jpg);
	float: right;
	position: relative;
	width: 29px;
	height: 28px;
	margin: 1em;
}

.dialog-container {
	position: relative;
}

.dialog p {
	text-align: center;
	font-size: 24px;
	font-style: italic;
	padding: 0px 1em;
}

#side-tabs {
	position: absolute;
	right: 0;
	top: 70px;
}

#side-tabs ul {
	width: 30px;
	list-style: none;
}

#side-tabs ul li {
	-webkit-border-radius: 3px 0px 0px 3px;
	border-radius: 3px 0px 0px 3px;
	-webkit-box-shadow: 2px 1px 3px 1px rgba(0, 0, 0, 0.5);
	box-shadow: 2px 1px 5px 1px rgba(0, 0, 0, 0.5);
	position: relative;
	top: -3px;
	background-color:#000000;
	height: 30px;
	cursor: pointer;
}

#side-tabs ul li p {
	-moz-transform: rotate(270deg);
	-moz-transform-origin: 50% 50%;
	-webkit-transform: rotate(270deg);
	-webkit-transform-origin: 50% 50%;
	position: absolute;
	font-size: 24px;
	letter-spacing:1px;
	color: white;
	text-transform: uppercase;
}

#side-tabs ul li.first {
	z-index: 9;
	top: 0px;
}

#side-tabs #home-button {
  margin-left: 4px;
  margin-top: 3px;
}

#side-tabs ul li.second {
  z-index: 8;
}

#side-tabs ul li.third {
  z-index: 7;
}

#side-tabs ul li#tab-feedback p {
	right: -31px;
	bottom: 20px;
}

#side-tabs ul li#tab-feedback {
	height: 120px;
}

#side-tabs ul li#tab-findquote {
	height: 140px;
}

#side-tabs ul li#tab-findquote p {
	width: 120px;
	right: -47px;
	bottom: 30px;
}

#side-tabs ul li.active {
	z-index: 10;
	background-color: #0aab30;
}

#quote-picker {
  width: 900px;
  margin: 0 auto;
  min-height: 390px;
  background-color: white;
  border-radius: 7px;
  webkit-border-radius: 7px;
  padding-top: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
  z-index: 20001;
  position: relative;
}

#quote-picker #find-a-quote {
	width: 429px;
	height: 49px;
	/*background: transparent url(../images/find-a-quote.png) no-repeat 0 0;*/
	margin: 0 auto;
	text-indent: -99999px;
	overflow: hidden;
	position: relative;
	margin-top: -30px;
	z-index: 10;
}

#quote-picker #quote-categories {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  margin-top: 20px;
}

#quote-picker #quote-categories ul {
  list-style: none;
  padding: 0;
}

#quote-picker #quote-categories ul li {
  cursor: pointer;
  float: left;
  padding: 3px 8px;
  color:#000000;
  font-family: arial, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

#quote-picker #quote-categories ul li.active {
  color: black;
}

#quote-picker #quotes-list {
  height: 420px;
  width: 88%;
  margin-left: 22px;
  margin-right: auto;
  position: relative;
  overflow: scroll;
}

#quote-picker #quotes-list ul {
  list-style: none;
  margin-top:0px;
}

#quote-picker #quotes-list ul li.header {
  padding: 5px 0px;
  margin-top: 6px;
}

#quote-picker #quotes-list ul li.header.hidden {
  display: none;
}

#quote-picker #quotes-list ul li.header h2 {
  display: inline;
  color: white;
  background-color: #0aab30;
  padding: 3px 10px;
  height: 40px;
  font-family: arial, sans-serif;
  text-transform: uppercase;
  font-size: 24px;
}

#quote-picker #quotes-list ul li.quote {
  cursor: pointer;
  padding: 1px 20px;
  background-color: white;
  color: black;
  font-size: 16px;
  font-weight: bold;
}

#quote-picker #quotes-list ul li.quote div {
  border-bottom: 1px solid #D1D1D1;
  height: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
}

#quote-picker #quotes-list li.quote span.author {
  font-size: 12px;
  margin-left: 5px;
  font-weight: normal;
}

#quote-picker #quotes-list ul li.quote:hover {
  background-color:#0aab30;
  color: white;
}

#quote-picker #current-category {
  font-family: arial, sans-serif;
  text-transform: uppercase;
  padding-left: 62px;
  font-size: 24px;
  font-weight: bold;
  height: 40px;
}

#quote-picker #divider {
  background-color: #0aab30;
  height: 4px;
  width: 750px;
  margin-left:62px;
}

#quote-picker #current-category #current-category-text {
  background-color:#0aab30;
  color: white;
  padding: 3px 10px;
}

#feedback #feedback-header {
	width: 429px;
	height: 51px;
	background: transparent url(../images/feedback.png) no-repeat 0 0;
	margin: 0 auto;
	text-indent: -99999px;
	overflow: hidden;
	position: relative;
	margin-top: -20px;
	z-index: 10;
	margin-left: -41px;
}

#feedback .text {
	outline:0;
 	width: 350px;
	height: 285px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	-moz-resize: none;
	resize: none;
	margin-top: 50px;
	font-size: 24px;
	z-index: 5;
	position: relative;
}

.dialog#feedback {
  width: 350px;
  margin-left: -175px;
  height: 400px;
  margin-top: -90px;
}

#feedback #send-feedback {
	display: block;
	width: 69px;
	height: 53px;
	margin-left: auto;
	margin-right: auto;
	background: transparent url(../images/btn-send.jpg) no-repeat 0 0;
}

.social-share-container {
	margin: 0 auto;
	text-align: center;
	width: 80%;
	background: rgba(255, 255, 255, 0.8);
}
.social-share-container h2,
.social-share-container p {
	font-family: arial, sans-serif;
}

.ad-holder {
    width: 768px;
    margin: 0 auto;
}

/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


@media (max-width: 640px), (max-device-width: 640px) {
	.content, #main, .quote-field, .quote-field form, footer, h2.ribbon,
	.main-share, .share-page, .email-form-box, form.subscribe label.label-email, .share-right h2.ribbon, .share-form {
		width: auto;
	}
	h2.ribbon {
		height: auto;
	}

	.main-share {
		padding: 0;
	}

	.email-form-box {
		width: 95%;
	}

	h2.ribbon {
		height: auto;
	}

	h2.ribbon:before, h2.ribbon:after {
		display: none;
	}

	.quote-text {
		width: 85%;
        border-radius: 0;
	}

	.footer-txt .social {
		display: block;
		margin: 0 auto 1em;
	}

	.footer-txt {
		margin-bottom: 2em;
	}

	.input-email {
		width: 100%;
	}

	.input-postalcode {
		width: 50%;
	}

	.share-left, .share-right {
		width: auto;
		float: none;
		margin-bottom: 1em;
	}

	.share-left img {
		box-shadow: none;
		width: 100% !important;
	}

	.share-form {
		box-shadow: none;
		padding: 10px;
	}

	.share-form .email {
		width: 70%;
	}

	#loading-container, .dialog {
		top: 30%;
		left: 5%;
		width: 90%;
		height: auto;
		text-align: center;
		margin: 0;
	}

	footer .create a {
		display: block;
		font-size: 14px;
	}

    #side-tabs {
        display: none;
    }

    .btn-send {
        margin: -15px 5px 0 0;
    }
}

/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; 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: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
}
