/*
Theme Name:     TJ Online 2012
Theme URI:      http://tonyjiang.com/
Description:    TJ Online WP Theme 2
Author:         Tony Jiang
Author URI:     http:///tonyjiang.com/about/
Template:       twentytwelve
Version:        1.0.0
*/

@import url("../twentytwelve/style.css");
@import url(http://fonts.googleapis.com/css?family=Dancing+Script:700);
body {
    background-image:url('bg/rotator.php');
	background-repeat:no-repeat;
	background-position:center top; 
	background-attachment: fixed;
}
div#backframe {
    width: 1480px;
	margin-left: -720px;
	height: 752px;
	background-image:url('img/background-frame.png');
	background-repeat:no-repeat;
	background-position:center top; 
	background-attachment: fixed;
	position: fixed;
	top: 0px;
	left: 50%;
	z-index:-1;
}
.site {
	background-color: rgba(245, 252, 255, 0.85);
	border-radius: 20px;
	border: 4px double #999;
	background-image:url('img/frame.png');
	background-repeat:no-repeat;
	background-position:left top; 
        min-width: 900px;
}
a:hover {
	color: #000000;
}
.site-header hgroup#title-box {
    margin-left:72px;
	margin-top:24px;
}
.site-header {
    background-image:url('img/top-divider.png');
	background-repeat:no-repeat;
	background-position:center bottom; 
	padding-bottom:72px;
}
.site-header h1 a:hover,
.site-header h2 a:hover {
	color: #ccc;
}
h1.site-title {
    font: 40px 'Dancing Script', cursive;
}
.site-content article.post {
	border-bottom: none;
	background-image:url('img/small-divider.png');
	background-repeat:no-repeat;
	background-position:center bottom; 
	padding-bottom: 60px;
}
.entry-title {
    font-family: 'Dancing Script', Georgia, Times New Roman, serif;
}
.entry-title a:hover{
    border-bottom: 1px dotted #333333;
}
/* Small headers */
.archive-title,
.page-title,
.widget-title,
.entry-content th,
.comment-content th {
	font-family: 'Dancing Script', Georgia, Times New Roman, serif;
	font-size: 11px;
	font-size: 0.785714286rem;
	line-height: 2.181818182;
	font-weight: bold;
	text-transform: uppercase;
	color: #636363;
}

.main-navigation {
	text-align: center;
	padding-left: 20px;
	position: absolute;
	left: 50%;
	z-index: 100;
	background: rgba(255, 255, 255, 0.7);	
	border-radius: 10px;
	border: 4px double #999;
}

#masthead .main-navigation div.nav-menu > ul {
	border: none;
	font: 18px 'Dancing Script', cursive;
}
#masthead .main-navigation li ul li a {
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid #efefef;
}
#masthead .main-navigation li ul li a:hover {
	background: rgba(221, 221, 221, 0.6);
}

/* Footer */
footer[role="contentinfo"] {
	border-top: none;
	background-image:url('img/top-divider.png');
	background-repeat:no-repeat;
	background-position:center top;
    padding-top: 96px; 
}

span.ad {
    opacity: 0.7;
}

/* Comments */
.comments-area .bypostauthor cite span { /* fix for the position of the post author tag*/
	position: relative;
}
.comments-area .bypostauthor cite span a { 
	color: #ffffff;
        font-size: 14px;
}