@import url('https://fonts.googleapis.com/css?family=Caveat|Quicksand:400,700');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css');

html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
	margin: 0;
	padding: 0;
	background: #405477 url(../images/noise-bg.png) center 0 repeat;
	color: #2A3C5D;
	font: 16px/1.2 Quicksand, Arial, Helvetica, sans-serif;
	height: 100%;

}


#accountMenu {
	margin: 0;
	padding: 0;
	list-style: none;
	background: #F5C700;
	overflow: hidden;
	font-size: 0;
	text-align: right;
}
#accountMenu li {
	margin: 0;
	padding: 0;
	display: inline-block;
}
#accountMenu li a {
	display: block;
	padding: 0 10px 2px 6px;
	color: #405477;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 40px;
	text-decoration: none;
	text-transform: uppercase;
}
#accountMenu li a small {
	display: inline-block;
	margin-left: 3px;
	position: relative;
	top: -1px;
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 400;
	line-height: 18px;
	text-align: center;
	width: 18px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}
#accountMenu li a small:nth-child(2) {
	margin-left: -2px;
}
#accountMenu .counter {
	background: #80B975;
}
#accountMenu .counter.new {
	background: #DE6F41;
}


.logo {
	display: block;
	background: url(../images/the-happy-jar.png) no-repeat;
	background-size: contain;
	font-size: 0;
}

#banner {
	margin: 0;
	padding: 20px;
	position: relative;
	background: #80B975 url(../images/noise-bg.png) center 0 repeat;
	-webkit-box-shadow: 0 5px 8px 0 rgba(0,0,0,0.25);
	box-shadow: 0 5px 8px 0 rgba(0,0,0,0.25);
	color: #FAF3D7;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.01em;
	text-align: center;
}
#banner:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(250,243,215,0.2);
}
#banner span, #profilePic {
	display: block;
	margin: 0 auto 10px;
	width: 100px;
	height: 100px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
	background: center no-repeat;
	background-size: cover;
	position: relative;
}
#banner span a.buttonSmall {
	position: absolute;
	bottom: 5px;
	right: -30px;
}


#content {
	background: #DE6F41 url(../images/noise-bg.png) center 0 repeat;
	padding: 15px;
}
.hjadvert {
	padding: 30px 0 0;
	text-align: center;
}


#openJars {
	background: rgba(250,243,215,0.1);
	text-align: center;
	padding: 15px 15px 20px;
/*	-webkit-box-shadow: 0 -5px 8px 0 rgba(0,0,0,0.25);
	box-shadow: 0 -5px 8px 0 rgba(0,0,0,0.25);*/
}
#openJars h4, #openJars p, #openJars p a {
	display: inline-block;
	vertical-align: middle;
}
#openJars h4 {
	margin: 0;
	color: #FAF3D7;
}
#openJars p a {
	width: 40px;
	height: 40px;
	background: center no-repeat;
	background-size: cover;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	margin: 0 5px;
}


#footer {
	padding: 25px 15px 15px;
	color: rgba(250,243,215,1);
	font-size: 13px;
	text-align: center;
}
#footer .logo {
	display: block;
	margin: 0 auto;
	width: 50px;
	background-position: left;
	height: 70px;
}
#footer p:last-child {
	color: rgba(250,243,215,0.2);
}
#footer a {
	color: rgba(250,243,215,0.4);
	text-decoration: none;
	padding: 0 5px;
}



/* ============================== general ============================== */

h1 { /* green banner */
}
h2 { /* headings throughout page */
	margin: 30px 0;
	font-size: 24px;
	letter-spacing: -0.05em;
	line-height: 1;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.2);
}
h3 {
	margin: 0;
	font-size: 13px;
	font-weight: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
h4 { /* open jars heading */
	margin: 0;
	font-size: 13px;
	font-weight: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
h5 { /* date on happy notes */
	margin: -20px 0 0;
/*	color: #80B975; green */
	color: rgba(64,84,119,0.6);
	font-size: 11px;
	font-weight: 400;
	text-align: right;
}
p {
	margin: 15px 0;
}
li {
	margin-bottom: 10px;
}
a {
	color: rgba(64,84,119,1);
}
small {
	color: rgba(64,84,119,0.6);
	font-size: 12px;
	line-height: 1.2;
	text-transform: none;
}
img {
	max-width: 100%;
	height: auto;
}
hr {
	clear: both;
	margin: 30px 0;
	height: 1px;
	color: rgba(250,243,215,0.3);
	background-color: rgba(250,243,215,0.3);
	border: none;
}

form {
	margin: 0;
}
label {
	display: block;
	margin-bottom: 5px;
}
input, select, textarea, button {
	color: #2A3C5D;
	font: 16px/1.2 Quicksand, Arial, Helvetica, sans-serif;
	background: rgba(250,243,215,0.3);
	border: none;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	width: 100%;
	padding: 10px 0 10px 10px;
	margin-bottom: 10px;
	vertical-align: middle;
}
::-webkit-input-placeholder {
	color: #2A3C5D;
	opacity: 0.7;
}
:-moz-placeholder { /* Firefox 18- */
	color: #2A3C5D;
	opacity: 0.7;
}
::-moz-placeholder {  /* Firefox 19+ */
	color: #2A3C5D;
	opacity: 0.7;
}
:-ms-input-placeholder {
	color: #2A3C5D;
	opacity: 0.7;
}

button {
	width: auto;
	height: 39px;
}
button, .button, .buttonSmall {
	display: inline-block;
	vertical-align: middle;
	padding: 7px 9px 8px 9px;
	background: #80B975;
	color: #FAF3D7;
	font-size: 15px;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.25);
	box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.25);
}
.buttonSmall {
	padding: 4px 6px 4px 5px;
	font-size: 12px;
}
h1 .buttonSmall {
	border-top: 1px solid rgba(255,255,255,0.25);
	border-left: 1px solid rgba(255,255,255,0.25);
}
.shareButton {
	float: right;
	-webkit-box-shadow: none;
	box-shadow: none;
}
.leftCol label, .leftCol .rotateImage {
	margin: 5px auto;
	width: 150px;
}
.fields .buttonContainer {
	float: none;
	width: auto;
	padding: 10px 0 0;
	text-align: center;
}



/* ============================== panels ============================== */

#deleted .panelBox {
	margin-top: 30px;
}
.panel {
	margin: 0;
	padding: 1px 20px 20px;
	background: #FAF3D7;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border-top: 1px solid #FFFFFF;
	border-left: 1px solid #FFFFFF;
	-webkit-box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.25);
	box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.25);
	color: #405477;
}
div.panel {
	line-height: 1.4;
}
blockquote.panel {
	margin-bottom: 15px;
	padding-bottom: 40px;
	max-width: 400px;
	position: relative;
}
blockquote p {
	font: 26px/1 Caveat, Georgia, "Times New Roman", Times, serif;
	letter-spacing: -0.01em;
}
blockquote a.photo {
	display: block;
	margin-bottom: 10px;
	position: relative;
	left: -4px;
	max-width: 300px;
	border: 5px solid #FFFFFF;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.25);
	box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.25);
	transform: rotate(-1deg);
	transform-origin: top left;
}
blockquote a.photo[href="mimg/pixel.gif"] {
	display: none;
}
blockquote a.photo:before {
	content: "";
	position: absolute;
	top: 10px;
	left: -25px;
	width: 50px;
	height: 48px;
	background: url(../images/clip.png) 0 0 no-repeat;
	background-size: 50px auto;
}
blockquote .avatar {
	margin-bottom: 25px;
	padding: 10px 0 0;
	border-bottom: 1px solid rgba(64,84,119,0.1);
}
blockquote .avatarImg, blockquote .avatarName {
	display: inline-block;
	vertical-align: middle;
}
blockquote .avatarImg {
	margin: 0px 5px -15px 0;
	width: 50px;
	height: 50px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	background: center no-repeat;
	background-size: cover;
}
blockquote .avatarName {
	text-decoration: none;
}
.photoContainer {
	position: relative;
}
blockquote .rotateImage {
	display: block;
	width: 35px;
	height: 35px;
	position: absolute;
	left: 10px;
	bottom: 10px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	background: #80B975;
	color: #FFFFFF;
	font-size: 24px;
	line-height: 35px;
	text-align: center;
	text-decoration: none;
}
blockquote a.fa-close, blockquote a.fa-reply {
	display: block;
	position: absolute;
	top: 4px;
	right: 4px;
	width: 18px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid rgba(64,84,119,0.2);
	padding-bottom: 1px;
	color: rgba(64,84,119,0.4);
	font-size: 12px;
	line-height: 15px;
	text-align: center;
	text-decoration: none;
}
blockquote a.fa-reply {
	z-index: 3;
	border: 1px solid #80B975;
	background: #80B975;
	color: #FFFFFF;
}
blockquote a.fa-close:hover, blockquote a.fa-reply:hover {
	border-color: #DE6F41;
	background: #DE6F41;
	color: #FFFFFF;
}
.social {
	cursor: pointer;
	background: rgba(219,206,156,0.4);
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 5px 5px 4px 9px;
}
.thumbsUp {
	float: left;
	line-height: 1;
	position: relative;
	top: -3px;
}
.thumbsUp a {
	text-decoration: none;
}
.thumbsUp > a {
	display: inline-block;
	vertical-align: middle;
	margin: 2px 8px 0 0;
	color: rgba(64,84,119,0.4);
}
.thumbsUp span {
	font-size: 11px;
}
.thumbsUp small {
	display: inline-block;
	vertical-align: middle;
	margin-top: 5px;
	font-size: 11px;
}
.deletedMessage {
	position: absolute;
	top: -1px;
	left: -1px;
	right: 0;
	bottom: 0;
	padding: 15px;
	background: rgba(222,111,65,0.55);
	-webkit-border-radius: 4px;
	border-radius: 4px;
	color: #FFFFFF;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	z-index: 2;
}
.deletedMessage a {
	color: #C0410C;
	color: #FFFFFF;
}
blockquote ul {
	margin: 15px 0 5px;
	padding: 0;
	list-style: none;
}
blockquote ul li {
	margin: 0;
	padding: 0 0 10px 25px;
	position: relative;
}
blockquote ul li:before {
	position: absolute;
	top: 2px;
	left: 0px;
	width: 16px;
	color: #DE6F41;
	font: normal 16px FontAwesome;
	text-align: center;
}
blockquote ul li:first-child:before {
	content: "\f041"; /* map-marker */
}
blockquote ul li:nth-child(2):before {
	content: "\f118"; /* smile-o */
}
blockquote ul li:last-child:before {
	content: "\f017"; /* clock-o */
}
blockquote ul {
}


.darkPanel {  /* might not use? */
	margin: 0;
	padding: 1px 20px 20px;
	background:  rgba(0,0,0,0.5);
	-webkit-border-radius: 4px;
	border-radius: 4px;
	border-top: 1px solid #FFFFFF;
	border-left: 1px solid #FFFFFF;
	-webkit-box-shadow: inset 5px 5px 5px -4px rgba(0,0,0,0.5);
	box-shadow: inset 5px 5px 5px -4px rgba(0,0,0,0.5);
}
.messagebox {
	clear: both;
	margin: 30px 0;
	padding: 19px 20px 20px;
	background: #F5C700;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 5px 5px 5px -4px rgba(0,0,0,0.5);
	box-shadow: 5px 5px 5px -4px rgba(0,0,0,0.5);
	text-align: center;
}
.fb-share-button {
	display: inline-block;
	vertical-align: middle;
	margin-left: 5px;
}


/* ============================== specific pages ============================== */

#addForm {
	border: 1px dashed #F5C700;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 10px;
	margin-bottom: 30px;
	overflow: hidden;
}
#addForm input {
	margin-bottom: 0;
}
#addForm #date {
	margin-bottom: 1px;
}
#momentText {
	font: 26px/1 Caveat, Georgia, "Times New Roman", Times, serif;
	letter-spacing: -0.01em;
}
#addForm small {
	display: block;
	position: relative;
	margin: -30px 10px 7px;
	color: #FFFFFF;
	text-align: right;
}
#addForm label {
	display: inline-block;
	vertical-align: middle;
	width: 49%;
}
.imageUpload {
	cursor: pointer;
	min-height: 30px;
	padding: 5px 0 0 30px;
	position: relative;
	color: rgba(250,243,215,0.5);
	overflow: hidden;
}
.imageUpload:hover {
	color: rgba(250,243,215,0.9);
}
.imageUpload:before {
	content: "\f030"; /* camera */
	font: normal 18px FontAwesome;
	position: absolute;
	top: 5px;
	left: 3px;
}
.imageUpload input {
	visibility: hidden;
}
#addForm button {
	width: auto;
	float: right;
	margin: 10px 0 0;
}

.stats {
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
	text-align: center;
}
.stats li {
	margin: 5px;
	padding: 2px 5px 4px;
	display: inline-block;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: rgba(250,243,215,0.2);
	color: rgb(250,243,215);
	font-size: 12px;
	text-transform: uppercase;
}
.stats li a {
	color: rgb(250,243,215);
	text-decoration: none;
}
.stats li strong {
	font-size: 13px;
}

#findFriends {
	text-align: center;
}
#findFriends #search {
	max-width: 300px;
	margin-right: 10px;
}
#findFriends button {
	width: auto;
}

.leftCol .rotateImage {
	display: block;
	padding-left: 30px;
	color: rgba(250,243,215,0.5);
	text-decoration: none;
	position: relative;
}
.leftCol .rotateImage:hover {
	color: rgba(250,243,215,0.9);
}
.leftCol .rotateImage:before {
	content: "\f01e"; /* repeat */
	font: normal 18px FontAwesome;
	position: absolute;
	top: 1px;
	left: 4px;
}



#opaque {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 99;
	display: none;
	background-color: black;
	filter: alpha(opacity=50);
	opacity: 0.5;
}
* html #opaque {
	position: absolute;
}

#content_holder {
  display: none;
	position: absolute;
  left: 5px;
  right: 5px;
	z-index: 300;
  margin: auto;
	max-width: 400px;
	height: auto;
	background-color: #FFFFFF;
	border: 10px #fff solid;
	border-radius: 4px;
	-webkit-box-shadow: 0 5px 8px 0 rgba(0,0,0,0.25);
	box-shadow: 0 5px 8px 0 rgba(0,0,0,0.25);
}
@media (min-width: 700px) {
  #content_holder {
    top: 220px;
  }
}
@media (max-width: 699px) {
  #content_holder { /* followers */
	top: 249px;
  }
  #content_holder.emailRegister {
    top: 1300px;
  }
}

#likes_holder {
  display: none;
  
 height:500px;
 width: 345px;
 margin:0 auto;
 position:fixed;
 left:50%;
 top:50%;
 margin-left:-175px;
 margin-top:-250px;
 
	background-color: #FFFFFF;
	border: 10px #fff solid;
	border-radius: 4px;
	-webkit-box-shadow: 0 5px 8px 0 rgba(0,0,0,0.25);
	box-shadow: 0 5px 8px 0 rgba(0,0,0,0.25);
	z-index: 300;
}

a.closePrefHelp {
  cursor: pointer;
  position: absolute;
  top: 5px;
  left: 5px;
  width: 18px;
  color: rgba(250,243,215,0.5);
  border: 1px solid rgba(250,243,215,0.2);
  border-radius: 10px;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}
a.closePrefHelp:hover {
  color: #FAF3D7;
  background: #DE6F41;
}
.tooltipsy
{
    padding: 10px;
    color: #fff;
    background-color: #222;
    -moz-box-shadow: inset 0 0 10px #000;
    -webkit-box-shadow: inset 0 0 10px #000;
    box-shadow: inset 0 0 10px #000;
    text-shadow: 0 0 3px #000;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    position: relative;
	font-size: 13px;
}
