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

- Cherish.es, The Sun-Kissed Rain Studio
- Version 1
- Author: Shinju
- Author URI: http://snow-heart.net

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

/* GLOBAL LAYOUT AND STYLE */

html, body, div, span, h1, h2, h3,
p, blockquote, figure, figcaption, a, cite, dfn,
em, img, strong, b, i, 
ol, ul, li, table, tr, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

* {
	margin: 0;
	padding: 0;
}

header, section, footer, aside, nav, main, article, figure {
	display: block;
}

body {
	background: #fbeed5 url('imgs/bg.jpg') center top repeat;
	margin: 0 auto;
	font: 11pt/170% 'Open Sans', sans-serif;
	color: #6c4b19;
	text-align: center !important;
}

#frame {
	background: url('imgs/bg.jpg') center top repeat;
	margin: 0 auto;
	width: 960px;
	text-align: center;
}

#content {
	padding: 0 100px;
}

header {
	background: url('imgs/header.jpg') center top no-repeat;
	min-height: 115px;
	text-align: left;
}

nav {

}

#title {
	margin: 10px 0 0 100px;
	float: left;
	font: 30pt/100% 'Parisienne', cursive;
	color: #c01e45;
}

nav ul {
	position: relative;
	top: 18px;
	left: 20px;
	margin: 0;
	padding: 0;
	font: 14pt 'Playfair Display', serif;
	list-style-type: none;
	text-transform: uppercase;
}

nav ul li {
	margin-right: 30px;
	display: inline;
}

nav ul li:last-child {
	margin-right: 0;
}

main {
	margin-top: -15px;
	text-align: left;
}

footer {
	background: url('imgs/footer_01.jpg') center top no-repeat,
	url('imgs/footer_02.jpg') center bottom no-repeat;
	margin: 0 auto;
	width: 960px;
	min-height: 740px;
	font: 9pt 'Open Sans', sans-serif;
}

#notes {
	padding: 10px 0 0 0;
	text-align: center !important;
	text-transform: uppercase;
}

/* HEADERS AND FONTS */
h1 {
	margin-bottom: 5px;
	font: italic 40pt/70% 'Parisienne', cursive;
	color: #aea4e6;
}

h1:first-letter {
	color: #8e80e2;
}

h2 {
	font: 20pt 'Playfair Display', serif;
	color: #a4bee6;
	text-transform: uppercase;
}

h2:first-letter {
	color: #5ba1d3;
}

h3 {
	font: 16pt/100% 'Playfair Display', serif;
	color: #9ec181;
	text-transform: uppercase;	
}

h3:first-letter {
	color: #57a78c;
}

#shrines td:nth-child(even) h3 {
	margin: 0 0 0 5px;
	float: right;
}

#shrines td:nth-child(odd) h3 {
	margin: 0;
	float: left;
}

#shrines p {
	font-size: 9pt;
}

p {
	margin: 0 0 10px 0; 
	text-indent: 2em;
}

.center, .codes {
	margin: 0 0 10px 0;
	text-align: center;
	text-indent: 0 !important;
}

.updates {
	margin: 0 0 5px 0;
	padding: 10px 20px;
	font: 12pt 'Playfair Display', serif;
	text-align: center;
	text-indent: 0 !important;
}

.updates span, blockquote span {
	border-bottom: 3px solid #f59488;
}

.introduction {
	margin: 0 0 10px 0;
	padding: 0 20px;
	font: 13pt 'Open Sans', sans-serif;
	text-indent: 0 !important;
}

.introp {
	margin: 0 0 10px 0; 
	padding: 0 20px;
	text-indent: 0;
}

blockquote {
	margin: 10px 0;
	padding: 0 80px;
	font: italic 14pt 'Playfair Display', serif;
	color: #b59057;
}

#shrines {
	margin: 0 auto;
	width: 760px;
}

#shrines table {
	border: 0px;
	border-collapse: collapse;
}

#shrines td:nth-child(odd) {
	width: 260px;
	border-right: 3px solid #ffe1a0;
}

#shrines td:nth-child(even) {
	padding-left: 10px;
	width: 490px;
}

#bloom {
	margin: 0 auto;
	width: 160px;
	text-align: center;
}

#bloom ul, #grid ul {
	list-style-type: none;
}

#bloom ul li {
	width: 150px;
	display: inline-block;
	border: 4px solid #fa7da1;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 	
	opacity: 0.5;
	-webkit-transition: opacity .5s ease-in; 
	-moz-transition: opacity .5s ease-in; 
	-o-transition: opacity .5s ease-in; 
	transition: opacity .5s ease-in;
}

#bloom li:hover {
	border: 4px solid #97a8ff;
	opacity: 1;
}

#bloom img, #grid img {
	max-width: 100%;
	height: auto;
	display: block;
	-webkit-transition: all 300ms;
	-moz-transition: all 300ms;
	transition: all 300ms;	
}

#bloom figure {
	position: relative;
	width: 150px;
	height: 113px;
	overflow: hidden;
}

#bloom figcaption {
	background: rgba(0,0,0,0.5);
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: white;
	display: table;
	opacity: 0;
	z-index: 100;
	transition: .5s ease-in;
}

#bloom figcaption p, #grid figcaption p {
	font: 8pt/120% 'Open Sans', sans-serif;
	text-indent: 0 !important;
	text-transform: uppercase;
	display: table-cell;
	vertical-align: middle;
}

#bloom figcaption p span {
	font: italic 12pt 'Playfair Display', serif;
	text-transform: lowercase;
	border-bottom: 1px solid #fff;
	display: block;
}

#bloom li:hover img, #grid li:hover img {
	-webkit-transform: scale(1.4);
	-moz-transform: scale(1.4);
	transform: scale(1.4);
}

#bloom li:hover figcaption, #grid li:hover figcaption {
	opacity: 1;
}

#grid {
	margin: 0 auto !important;
	width: 480px;
	text-align: center;
}

#grid ul li {
	margin-right: 1px;
	width: 112px;
	display: inline-block;
	border: 2px solid #fa7da1;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 	
	opacity: 0.5;
	-webkit-transition: opacity .5s ease-in; 
	-moz-transition: opacity .5s ease-in; 
	-o-transition: opacity .5s ease-in; 
	transition: opacity .5s ease-in;
}

#grid ul li:last-child {
	margin-right: 0 !important;
}

#grid li:hover {
	border: 2px solid #97a8ff;
	opacity: 1;
}

#grid figure {
	position: relative;
	width: 112px;
	height: 84px;
	overflow: hidden;
}

#grid figcaption {
	background: rgba(0,0,0,0.5);
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: white;
	display: table;
	opacity: 0;
	z-index: 100;
	-webkit-transition: all 300ms;
	-moz-transition: all 300ms;
	transition: all 300ms;
	-webkit-transition-delay: 100ms;
	-moz-transition-delay: 100ms;
	transition-delay: 100ms;
}

#grid figcaption p span {
	border-bottom: 1px solid #fff;
	display: block;
}

hr {
	background: url('imgs/border.png') center top no-repeat;
	margin: 7px 0px;
	min-height: 66px;
	border: 0;
}

b, strong {
	font-family: 'Open Sans', sans-serif;
	font-style: bold;
	text-transform: uppercase;
}

b {
	color: #ba7e14;
}

strong {
	color: #ba3314;
}

i, em {
	font-family: 'Playfair Display', serif;
	font-style: italic;
}

i {
	color: #729043;
}

em {
	color: #ff628e;
}

.diamonds {
	color: #ad5e36;
}

.hearts {
	color: #e3557b;
}

/* LINKS */

a, a:link, a:visited {
	padding: 1px 2px;
	color: #ed8c2e;
	text-decoration: none;
}

a:hover, a:active {
	background: #f3d7a9;
	color: #c66853;
}

#title a, #title a:link, #title a:visited {
	color: #c01e45;
}

#title a:hover, #title a:active {
	background: transparent;
	color: #e869a5;
	border: 0;
}

nav a, nav a:link, nav a:visited {
	padding: 0;
	color: #6c4b19;
}

nav a:hover, nav a:active {
	background: transparent;
	color: #c01e45;
	border-bottom: 5px solid #6c4b19;
}

#shrines a, #shrines a:link, #shrines a:visited {
	color: #ffb9cb;
}

#shrines a:hover, #shrines a:active {
	color: #b9eeff;
}

.projects a:hover, .projects a:active, #shrines a:hover, #shrines a:active {
	background: transparent;
}

footer a, footer a:link, footer a:visited {
	padding: 1px 0;
}

/* IMAGES */
img {
	border: 0;
}

.codes img, .projects img {
	border: 5px solid #ff86bf;
	border-radius: 4px; 
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 	
	opacity:0.5; 
	-webkit-transition: opacity .5s ease-in; 
	-moz-transition: opacity .5s ease-in; 
	-o-transition: opacity .5s ease-in; 
	transition: opacity .5s ease-in;
}

.codes img:hover, .projects img:hover {
	border: 5px solid #a286ff;
	opacity: 0.9;
}

.signature {
	background: url('imgs/shinju.png') center top no-repeat;
	margin: 5px 0;
	min-height: 34px;
	text-align: center;
}

.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	visibility: hidden;
	background: #7e632e;
	position: absolute;
	margin-left: -45%;
	padding: 2px;
	top: 95%;
	left: 50%;
	width: 100px;
	font: 7pt/100% 'Open Sans', sans-serif;
	color: #ffcee5;
	text-align: center;
	text-transform: uppercase;
	border-radius: 4px;
	z-index: 1;
    opacity: 0;
    transition: opacity .5s;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: .7;
}