/************************************************************************************
GENERAL
*************************************************************************************/
body {
	font: .9em/150% Arial, Helvetica, sans-serif;
	color: #666;
}

a {
	text-decoration: none;
	color: #39C;
}

h1, h2 {
	line-height: 120%;
	margin: 0 0 10px;
	color: #000;
}

header {
	content: " ";
	display: table;
	width: 100%;
}

/************************************************************************************
BASE STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 960px;
	max-width: 94%;
	margin: 0 auto 0;
}

#nav-wrap h1 {
	margin-top: 15px;
	background: url(../images/logo.png) no-repeat;
	line-height: 50px;
	padding-left: 55px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 24pt;
}

#content {
	clear: both;
	/*border-top: solid 1px #ccc;
	padding-top: 20px;
	margin: 20px 0; */
	margin: 10px 0;
}

#banner {
	width: 100%;
	height: auto;
}

#home-account-buttons {
	position: relative;
	margin-top: 10px;
	margin: 10px auto 10px auto;	
	width: 50%;
	text-align: center;
}

#home-account-buttons input[type=submit] {
	padding: 5px;
	border: 2px solid #ccc;
	width: 200px;
	height: 50px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 14pt;
}

#home-account-buttons input[type=submit]:hover {
	border: 2px solid #333;
}

/************************************************************************************
NAVIGATION
*************************************************************************************/
#nav-wrap {
	margin-top: 20px;
}

/* menu icon */
#menu-icon {
	display: none; /* hide menu icon initially */
}

#nav {
	position: relative;
	z-index: 100;
	height: 29px;
	background: #ecebeb;
	margin: 0;
	padding: 0;
}

#nav li {
	margin: 0;
	padding: 0;
}

#nav li {
	list-style: none;
	float: left;
	margin-right: 5px;
}

/* nav link */
#nav a {
	padding: 4px 15px;
	display: block;
	color: #000;
	background: #ecebeb;
}

#nav a:hover {
	background: #f8f8f8;
}

/* nav dropdown */
#nav ul {
	background: #fff;
	padding: 2px;
	position: absolute;
	border: solid 1px #ccc;
	display: none; /* hide dropdown */
	width: 200px;
}

#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}

#nav li:hover>ul {
	display: block; /* show dropdown on hover */
}

/************************************************************************************
SIGN-IN
*************************************************************************************/
#login-wrap {
	position: relative;
	display: block;
	float: right;
}

#login-image {
	background: url("../images/user-white.png") no-repeat;
	width: 32px;
	height: 32px;
	cursor: default;
}

#login-image span:before {
	position: absolute;
	font-size: 8pt;
	width: 35px;
	top: 26px;
	content: "Sign In";
}

#login-triangle {
	position: absolute;
	bottom: 0;
	width: 0;
	height: 0;
	left: -12px;
	top: 33px;
	border-top:5px solid #000;
	border-bottom: 5px solid transparent;
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
}

#login-image:hover {
	background: url("../images/user.png") no-repeat;
}

#login-screen {
	width: 500px;
	height: 300px;
	background-color: #ecebeb;
	border: 1px solid #333;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

#login-dialog {
	position: absolute;
	float: right;
	vertical-align: top;
	z-index: 10002;
	width: 219px;
	height: 214px;
	top: 45px;
	right: 0px;
	border-style: solid;
	border-width: 2px;
	border-color: #cac9c9;
	background-color: #ecebeb;
	padding: 5px;
	padding-top: 25px;
}

.loginTitle {
	position: absolute;
	left: 70px;
	top: 5px;
	font-weight: bold;
}

.socialLogos img {
	margin-top: 5px;
	padding-left: 8px;
	padding-right: 8px;
}

.login-table {
	position: relative;
	float: left;
	top: 50px;
	width: 214px;
	margin-left: 13px;
}

.vertical-or-wrapper {
    position: relative;
    float: left;
    width: 25px;
    height: 280px;
    margin: 10px;
}

.line {
    position: absolute;
    left: 49%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #333;
    z-index: 1;
}

.word {
    letter-spacing: 1px;
    padding: 3px;
    font: bold 14pt arial,sans-serif;
    font-style: italic;
    background: #ecebeb;
}

.or-wrapper {
    text-align: center;
    height: 12px;
    position: absolute;
    left: -2px;
    right: 0;
    top: 50%;
    margin-top: -12px;
    z-index: 2;
}

.vertical-logos {
	position: relative;
	top: 90px;
	left: 10px;
	float: left;
	width: 185px;
}

.vertical-logos img {
	magin-top: 15px;
	margin-bottom: 15px;
}

.horizontal-or {
	width: 100%;
	text-align: center;
	font-size: 14pt;
	border-bottom: 1px solid #000;
	line-height: 5px;
	margin-bottom: 10px;
}

.horizontal-or span {
	background: #ecebeb;
	padding-left: 15px;
	padding-right: 15px;
	font-style: italic;
	font-weight: bold;
}

#login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=checkbox], #login-screen input[type=submit] {
	margin-top: 10px;
	margin-bottom: 10px;
}

#login-dialog input[type=text], #login-dialog input[type=password],
	#login-screen input[type=text], #login-screen input[type=password] {
	padding: 5px;
	border: 2px solid #ccc;
	width: 200px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#login-dialog input[type=text]:focus, #login-dialog input[type=password]:focus,
	#login-dialog input[type=text]:hover, #login-dialog input[type=password]:hover,
	#login-screen input[type=text]:focus, #login-screen input[type=password]:focus,
	#login-screen input[type=text]:hover, #login-screen input[type=password]:hover
	{
	border: 2px solid #333;
}

#login-dialog input[type=submit], #login-screen input[type=submit] {
	padding: 5px;
	border: 2px solid #ccc;
	width: 105px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#login-dialog input[type=submit]:hover, #login-screen input[type=submit]:hover {
	border: 2px solid #333;
}

/* Close Button */
.close-thin {
	color: #777;
	font: 14px/100% arial, sans-serif;
	position: absolute;
	right: 5px;
	text-decoration: none;
	text-shadow: 0 1px 0 #fff;
	top: 5px;
	border-style: solid;
	border-width: 1px;
	padding: 1px 5px 1px 5px;
}

.close-thin:after {
	content: 'x';
}

.close-thin:hover {
	background: #333;
	color: #fff;
}

#signInOptions img {
	height: 21px;
	width: auto;
}

#socialLogos img:hover {
	opacity: 0.3;
}

.delete-user-screen {
	width: 400px;
	height: 150px;
	background-color: #ecebeb;
	border: 1px solid #333;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

.delete-user-table {
	position: relative;
	float: left;
	top: 50px;
	width: 100%;
	margin-left: 13px;
}

.delete-user-screen input[type=submit] {
	margin-top: 10px;
	margin-bottom: 10px;
}



/************************************************************************************
FUNCTION
*************************************************************************************/
.visible {
	display: block;
}

.hidden {
	display: none;
}

/************************************************************************************
ACCOUNT
*************************************************************************************/
#account-wrap {
	position: relative;
	display: block;
	float: right;
}

#account-image {
	background: url("../images/user-white.png") no-repeat;
	width: 32px;
	height: 32px;
	cursor: default;
}

#account-image span:before {
	position: absolute;
	font-size: 8pt;
	width: 35px;
	top: 26px;
	content: "Account";
}

#account-image:hover {
	background: url("../images/user.png") no-repeat;
}

#account-triangle {
	position: absolute;
	bottom: 0;
	width: 0;
	height: 0;
	left: -12px;
	top: 33px;
	border-top:5px solid #000;
	border-bottom: 5px solid transparent;
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
}

#account-dialog {
	position: absolute;
	float: right;
	vertical-align: top;
	z-index: 10002;
	width: 219px;
	height: 214px;
	top: 45px;
	right: 0px;
	border-style: solid;
	border-width: 2px;
	border-color: #cac9c9;
	background-color: #ecebeb;
	padding: 5px;
	padding-top: 25px;
}

.accountTitle {
	position: absolute;
	left: 70px;
	top: 5px;
	font-weight: bold;
}

/*************************************************************************************
USER PREFERENCE TABS
**************************************************************************************/

.tabs {
	clear: both;
	position: relative;   
	min-height: 200px; /* This part sucks */
	margin: 25px 0;
}

.tab {
	float: left;
}

.tab label {
	background: #eee; 
	padding: 10px; 
	border: 1px solid #ccc; 
	margin-left: -1px; 
	position: relative;
	left: 1px; 
}

.tab [type=radio] {
	display: none;   
}

.tab-content {
	position: absolute;
	top: 28px;
	left: 0;
	background: white;
	right: 0;
	bottom: 0;
	padding: 20px;
	border: 1px solid #ccc;
}

.tab-content label {
	background: #fff; 
	padding: none; 
	border: none; 
	margin-left: 0px; 
	position: relative;
	left: 0px;
}

[type=radio]:checked ~ label ~ .tab-content {
	z-index: 1;
}

#user-info {
	width: 100%;
	display: table;
}

#user-info label {
	display: inline-block;
	min-width: 100px;
}

#user-info div {
	float: left;
	min-width: auto;
	padding: 10px 5px 10px 5px;
}

/*************************************************************************************
CALENDAR
**************************************************************************************/
#calendar-month {
	text-align: center;
}

#calendar {
	width: 100%;
}

#calendar th {
	width: 14.25%;
	border: 1px solid #000;
}

#calendar td {
	height: 100px;
	width: 14.25%;
	border: 1px solid #000;
}

.day {
	position: relative;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	display: table;
}

.day span {
	display: none;
}

.date {
	position: absolute;
}

.recipe {
	display: table-cell;
	width: 100%;
	vertical-align: middle;
	text-align: center;
}

.refresh {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 25px;
	height: 25px;
	background-image: url(../images/reload-icon.png);
	background-repeat: no-repeat;
	background-size: 25px 25px;
}

.swap {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 25px;
	height: 25px;
	background-image: url(../images/swap-icon.png);
	background-repeat: no-repeat;
	background-size: 25px 25px;
}

#swapOutForDateDialog {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	background-color: #ecebeb;
	border: 1px solid #000;
	width: 250px;
	height: 150px;
	padding: 5px;
}

#swapOutForDateDialog h3 {
	margin: 0;
	margin-bottom: 10px;
}

#swapOutForDateDialog input[type=text] {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 5px;
	border: 2px solid #ccc;
	width: 235px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#swapOutForDateDialog input[type=text]:focus, #login-dialog input[type=text]:hover {
	border: 2px solid #333;
}

#swapOutForDateDialog input[type=submit] {
	margin: 5px 5px 5px 5px;
	position: relative;
	float: right;
	padding: 5px;
	border: 2px solid #ccc;
	width: 115px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#swapOutForDateDialog input[type=submit]:hover {
	border: 2px solid #333;
}

#selectedDate {
	text-decoration: underline;
}

#weeks-of-month {
	display: none;
}

/*************************************************************************************
RECIPE INPUT
**************************************************************************************/
.recipe-card {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	width: 90%;
	background-color: #eee;
	border: 1px solid #333;
}

#recipe-name-input {
	padding: 5px;
	border: 2px solid #ccc;
	width: 100%;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 24pt;
	box-sizing: border-box;
}

#prep-time-input, #cook-time-input {
	margin: 10px 0 5px 0;
	padding: 5px;
	width: 175px;
	border: 2px solid #ccc;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#ingredients-input {
	padding: 5px;
	border: 2px solid #ccc;
	width: 100%;
	height: 150px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	box-sizing: border-box;
}

#instructions-input {
	padding: 5px;
	border: 2px solid #ccc;
	width: 100%;
	height: 150px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	box-sizing: border-box;
}

.ingredients-title, .instructions-title {
	font-size: 18pt;
	margin-top: 10px;
	margin-bottom: 10px;
}

#buttons-container {
	text-align: right;
}

#buttons-container input[type=submit] {
	margin-top: 10px;
	padding: 5px;
	border: 2px solid #ccc;
	width: 105px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
#buttons-container input[type=submit]:hover {
	border: 2px solid #333;
}

/*************************************************************************************
VIEW RECIPE
**************************************************************************************/
#recipe-name {
	font-size: 24pt;
	margin-bottom: 15px;
}

#prep-time, #cook-time {
	margin: 5px 0 5px 0;
}

#ingredients-1, #ingredients-2 {
	float: left;
	width: 49%;
}

#instructions {
	padding-top: 10px;
	clear: both;
}

/*************************************************************************************
Shopping List
**************************************************************************************/
#list-header {
	position: relative;
	border-bottom: 1px solid #333;
}

.shopping-item {
	position: relative;
}

/* Custom Checkbox Styles */
.checkbox input[type=checkbox], #list-header input[type=checkbox] {
	visibility: hidden;
}

.checkbox {
    width: 25px;
    margin: 20px 100px;
    position: relative;
}

.checkbox label {
    cursor: pointer;
    position: absolute;
    width: 15px;
    height: 15px;
    top: 0;
    left: 0;
    background: #eee;
    border:1px solid #ddd;
    -webkit-border-radius: 5px;
	border-radius: 5px;
}

.checkbox label:after {
    opacity: 0.2;
    content: '';
    position: absolute;
    width: 12px;
    height: 6px;
    background: transparent;
    top: -3px;
    left: 4px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;

    transform: rotate(-45deg);
}

.checkbox label:hover::after {
	opacity: 0.5;
}

.checkbox input[type=checkbox]:checked + label:after {
	opacity: 1;
}

.checkbox-label {
	position: absolute;
	top: 2px;
	left: 150px;
}

/*************************************************************************************
Registration
**************************************************************************************/
#registerForm {
	padding: 10px;
	text-align: center;
	height: 385px;
	width: 300px;
	background-color: #ecebeb;
	border: 1px solid #333;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

#registerForm input[type=text], #registerForm input[type=email], #registerForm input[type=tel], #registerForm input[type=number], #registerForm input[type=password], #registerForm input[type=submit] {
	margin-top: 10px;
	margin-bottom: 10px;
}

#registerEmail {
	background-image: url(../images/email-form-icon.png);
	background-repeat: no-repeat;
	background-size: 18px 18px;
	background-position: 5px 3px;
}

#registerName {
	background-image: url(../images/user-form-icon.png);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: 6px 4px;
}

#registerZipcodeFields {
	position: relative;
}

#registerZipcode {
	background-image: url(../images/zipcode-form-icon.png);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: 6px 4px;
}

#registerMobile {
	background-image: url(../images/mobile-form-icon.png);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: 6px 4px;
}

#registerMobileFields {
	position: relative;
}

#whyMobile, #whyZip {
	position: absolute;
	top: 15px;
	right: 5px;
	width: 20px;
	height: 20px;
	background-image: url(../images/why.png);
	background-repeat: no-repeat;
	background-size: 20px 20px;
}

#whyMobileDialog, #whyZipDialog {
	position: absolute;
	top: 14px;
	right: -165px;
	border: 1px solid #000;
	background: #fff;
	width: 150px;
	padding: 5px;
	text-align: left;
	display: none;
}

#whyMobileDialog div, #whyZipDialog div {
	position: absolute;
	left: -10px;
	width: 0;
	height: 0;
	border-top:5px solid transparent;
	border-bottom: 5px solid transparent;
	border-right: 5px solid #000;
	border-left: 5px solid transparent;
}

#whyMobile:hover + #whyMobileDialog, #whyZip:hover + #whyZipDialog{
	display: block;
}

#registerPassword, #registerConfirmPassword {
	background-image: url(../images/password-form-icon.png);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: 6px 4px;
}

#registerForm input[type=text], #registerForm input[type=email], #registerForm input[type=tel], #registerForm input[type=number], #registerForm input[type=password] {
	padding: 5px;
	padding-left: 30px;
	border: 2px solid #ccc;
	width: 200px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#registerForm input[type=text]:focus, #registerForm input[type=password]:focus,
	#registerForm input[type=text]:hover, #registerForm input[type=password]:hover,
	#registerForm input[type=number]:focus, #registerForm input[type=number]:hover,
	#registerForm input[type=email]:focus, #registerForm input[type=email]:hover
	#registerForm input[type=tel]:focus, #registerForm input[type=tel]:hover
	{
	border: 2px solid #333;
}

#registerForm input[type=submit], #registerForm input[type=submit] {
	padding: 5px;
	border: 2px solid #ccc;
	width: 105px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#registerForm input[type=submit]:hover, #registerForm input[type=submit]:hover {
	border: 2px solid #333;
}

#activateAccount, #accountActivated {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	padding: 5px;
	width: 60%;
	border: 1px solid #000;
	background-color: #ecebeb;
}

/*************************************************************************************
Password Reset
**************************************************************************************/
.control-group {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 65%;
	height: auto;
	padding: 10px;
	padding-bottom: 40px;
	background-color: #ecebeb;
	border: 1px solid #000;
}

.control-group span {
	display: inline-block;
	font-style: italic;
	margin-bottom: 15px;
}

.control {
	font-size: 18px;
	position: relative;
	display: block;
	margin-bottom: 5px;
	padding-left: 30px;
	cursor: pointer;
}

.control input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}

.control__indicator {
	position: absolute;
	top: 0px;
	left: 0;
	width: 20px;
	height: 20px;
	background: #6b6b6b;
}

.control--radio .control__indicator {
	border-radius: 50%;
}

/* Hover and focus states */
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
	background: #ccc;
}

/* Checked state */
.control input:checked ~ .control__indicator {
	background: #2aa1c0;
}

/* Hover state whilst checked */
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
	background: #0e647d;
}

/* Disabled state */
.control input:disabled ~ .control__indicator {
	pointer-events: none;
	opacity: .6;
	background: #e6e6e6;
}

/* Check mark */
.control__indicator:after {
	position: absolute;
	display: none;
	content: '';
}

/* Show check mark */
.control input:checked ~ .control__indicator:after {
	display: block;
}

/* Checkbox tick */
.control--checkbox .control__indicator:after {
	top: 4px;
	left: 8px;
	width: 3px;
	height: 8px;
	transform: rotate(45deg);
	border: solid #fff;
	border-width: 0 2px 2px 0;
}

/* Radio button inner circle */
.control--radio .control__indicator:after {
	top: 7px;
	left: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
}

/* Disabled circle colour */
.control--radio input:disabled ~ .control__indicator:after {
	background: #7b7b7b;
}

.control-group input[type=submit] {
	position: absolute;
	bottom: 15px;
	right: 15px;
	margin-top: 10px;
	padding: 5px;
	border: 2px solid #ccc;
	width: 105px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.control-group input[type=submit]:hover {
	border: 2px solid #333;
}

.control-group input[type=text], .control-group input[type=password] {
	position: relative;
	left: 30px;
	padding: 5px;
	padding-left: 30px;
	border: 2px solid #ccc;
	width: 200px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.control-group input[type=text]:hover, .control-group input[type=password]:hover {
	border: 2px solid #333;
}

#textVerification {
	width: 75px;
}

#verifyButton {
	position: relative;
	top: 1px;
	left: 15px;
}