/*
----------------------------------

Tokyo Families Magazine

copyright 2008

----------------------------------
*/

@import url(defaults.css);
@import url(misc.css);

/*
----------------------------------

BODY

----------------------------------
*/

body {
	background-color: #f2eee3;
}

/*
----------------------------------

PAGE

----------------------------------
*/

#page-wrapper {
	margin: 0 auto;
    width: 940px;
    background: transparent url(../images/main-bg.png) 50% 0 repeat-y;
}

#page {
	margin: 0 auto;
    width: 900px;
}

/*
----------------------------------

HEADER

----------------------------------
*/

#header {
    padding: 28px 0 12px 0;
	background: transparent url(../images/header-bg.png) 0 0 no-repeat;
    /*overflow: auto;*/
    display: inline-block;
}

#header .logo {
    width: 300px;
    float: left;
}

#header .logo a {
    margin-left: 15px;
}

#header .issue {
    width: 120px;
    float: left;
    padding: 44px 0 0 0;
}

#header .issue p {
    text-transform: uppercase;
    font-size: 1.2em;
    font-weight: bold;
    color: #a1a1a1;
}

#header .ad-space {
    width: 480px;
    float: left;
}

/*
----------------------------------

NAVIGATION

----------------------------------
*/

#navigation {
    /*overflow: auto;*/
}

#navigation .navigation-buttons-wrapper {
    width: 604px;
    float: left;
}

#navigation .navigation-buttons {
    /*overflow: auto;*/
}

#navigation .navigation-buttons li {
    float: left;
}

#navigation .navigation-buttons li a {
    display: block;
    text-indent: -7777px;
    background-position: 0 0;
    background-repeat: no-repeat;
}

#navigation .navigation-buttons li a:hover, #navigation-buttons li a:active {
    background-position: 0 -51px;
}

/*#navigation .navigation-buttons li a.current, #navigation-buttons li a.current:visited {
    background-position: 0 -51px;
}*/

#navigation .navigation-buttons li a#home {
    width: 87px;
    height: 51px;
    background-image: url(../images/navigation/navigation-home-bg.png);
}

#navigation .navigation-buttons li a#sections {
    width: 111px;
    height: 51px;
    background-image: url(../images/navigation/navigation-sections-bg.png);
}

#navigation .navigation-buttons li a#about {
    width: 69px;
    height: 51px;
    background-image: url(../images/navigation/navigation-about-bg.png);
}

#navigation .navigation-buttons li a#contact {
    width: 84px;
    height: 51px;
    background-image: url(../images/navigation/navigation-contact-bg.png);
}

#navigation .navigation-buttons li a#rss-feeds {
    width: 158px;
    height: 51px;
    background-image: url(../images/navigation/navigation-rss-feeds-bg.png);
}

#navigation .navigation-buttons li a#advertise {
    width: 95px;
    height: 51px;
    background-image: url(../images/navigation/navigation-advertise-bg.png);
}

#navigation .navigation-buttons li #sections-sub-wrapper {
    width: 400px;
    position: absolute;
    display: none;
    margin-left: -3px;
    background: transparent url(../images/navigation-sub-bg-right.gif) right bottom no-repeat;
    z-index: 5;
}

#navigation .navigation-buttons li .sections-sub {
    margin-right: 6px;
    padding-top: 12px;
    padding-bottom: 15px;
    background: transparent url(../images/navigation-sub-bg-left.gif) left bottom no-repeat;
    overflow: auto;
    zoom: 1; /* hasLayout IE fix */
}

#navigation .sections-sub .sections-sub-item {
    float: left;
    width: 180px;
    margin: 0 0 0 10px;
    font-weight: bold;
    background: transparent url(../images/navigation-sub-a-bg.gif) left bottom repeat-x;
}

#navigation .sections-sub .sections-sub-item a {
    display: block;
    padding: 3px 5px;
    margin: 0 0 0 0;
    color: #ececec;
    font-size: 1.2em;
    line-height: 1.6em;
    text-indent: 0;
} 

#navigation .navigation-buttons li .sections-sub a:hover, #navigation .navigation-buttons li .sections-sub a:active {
    background-color: #bb1820;
    text-decoration: none;
}

#navigation .navigation-buttons li #rss-feeds-sub-wrapper {
    width: 400px;
    position: absolute;
    display: none;
    margin-left: -3px;
    background: transparent url(../images/navigation-sub-bg-right.gif) right bottom no-repeat;
    z-index: 5;
}

#navigation .navigation-buttons li .rss-feeds-sub {
    margin-right: 6px;
    padding-top: 12px;
    padding-bottom: 15px;
    background: transparent url(../images/navigation-sub-bg-left.gif) left bottom no-repeat;
    overflow: auto;
    zoom: 1; /* hasLayout IE fix */
}

#navigation .rss-feeds-sub .rss-feeds-sub-item {
    float: left;
    width: 180px;
    margin: 0 0 0 10px;
    font-weight: bold;
    background: transparent url(../images/navigation-sub-a-bg.gif) left bottom repeat-x;
}

#navigation .rss-feeds-sub .rss-feeds-sub-item a {
    display: block;
    padding: 3px 5px;
    margin: 0 0 0 0;
    color: #ececec;
    font-size: 1.2em;
    line-height: 1.6em;
    text-indent: 0;
} 

#navigation .navigation-buttons li .rss-feeds-sub a:hover, #navigation .navigation-buttons li .rss-feeds-sub a:active {
    background-color: #bb1820;
    text-decoration: none;
}

#navigation .quick-search {
    float: left;
    width: 296px;
    height: 51px;
    background-image: url(../images/quick-search-bg.png);
}

#navigation .quick-search .caption {
    float: left;
}

#navigation .quick-search .caption img {
    display: block;
    width: 48px;
    margin: 22px 0 0 50px;
}

#navigation .quick-search .field {
    float: left;
}

#navigation .quick-search .field input {
    display: block;
    width: 125px;
    height: 16px;
    margin: 17px 0 0 10px;
    color: #999999;
    font-size: 11px;
    border-top: 1px solid #ececec;
    border-right: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    border-left: 1px solid #ececec;
}

#navigation .quick-search .btn {
    float: left;
}

#navigation .quick-search .btn input {
    display: block;
    width: 25px;
    margin: 14px 0 0 10px;
}

/*
----------------------------------

CONTENT

----------------------------------
*/

#content-wrapper {
    padding: 20px;
    background: transparent url(../images/content-bg.png) 0 0 no-repeat;
}

#content {
    
}

#content .left-wrapper {
    float: left;
    width: 520px;
}

#content .left {
    
}

#content .right-wrapper {
    float: left;
    width: 340px;
}

#content .right {
    padding: 0 0 0 20px;
}

/*
----------------------------------

NEWS

----------------------------------
*/

#news-container {
    width: 286px;
    margin: 20px 0 0 30px;
}

#news-container .decoration {
    position: absolute;
    width: 43px;
    height: 254px;
    margin: 40px 0 0 -43px;
    background: transparent url(../images/news-decoration.png) 0 0 no-repeat;
}

#news-star {
    position: absolute;
    width: 73px;
    height: 75px;
    margin: -25px 0 0 -25px;
    background-position: 0 0;
    background-repeat: no-repeat;
    text-indent: -7777px;
}

#news-star[id] {
    background: url(../images/news-star.png) 0 0 no-repeat;
}

#news-wrapper {
    padding-top: 6px;
    background: transparent url(../images/news-box-bg-top.gif) left top no-repeat;
}

#news {
    padding: 10px;
    background: transparent url(../images/news-box-bg-bottom.gif) left bottom no-repeat;
}

#news h3 {
    padding: 0 0 0 50px;
    color: #636363;
    font-size: 1.2em;
}

#news h3 em {
    color: #ec008c;
    font-style: normal;
}

#news ul {
    display: block;
    margin: 10px 0 0 0;
    border-top: 1px solid #cdcfd0;
}

#news ul li {
    font-size: 1.2em;
    border-bottom: 1px solid #cdcfd0;
    background-color: transparent;
}

#news ul li.odd {
    background-color: #f4f4f4;
}

#news ul li.even {
    background-color: transparent;
}

#news ul li a, #news ul li a:visited {
    display: block;
    padding: 0 0 0 40px;
    line-height: 2.6em;
    color: #939598;
    background-position: 10px 50%;
    background-repeat: no-repeat;
}

#news ul li a:hover, #news ul li a:active {
    background-color: #d4ecfb;
}


#news ul li a.hot, #news ul li a.hot:visited {
    color: #ed1b2e;
    background-color: #d4ecfb;
}

#news ul li a.hot:hover, #news ul li a.hot:active {
    background-color: #d4ecfb;
}

#news ul li span {
    line-height: 2.6em;
}

#news .btn {
    padding: 10px 0;
    text-align: right;
}

#news .btn a, #news .btn a:visited, #news .btn a:hover, #news .btn a:active {
    padding: 2px 5px;
    font-size: 1.2em;
    color: #6d6e71;
    background-color: #c5e9f5;
    text-transform: uppercase;
}

/*
----------------------------------

PAGINATION

----------------------------------
*/

.pagination ul {
    margin: 25px 0 0 0;
    overflow: auto;
    zoom: 1; /* hasLayout IE fix */
}

.pagination ul li {
    float: left;
    margin: 0 10px 0 0;
    font-size: 1.2em;
    font-weight: bold;
}

.pagination ul li a, .pagination ul li a:visited {
    display: block;
    padding: 2px 7px;
    color: #6d6e71;
    background-color: #e4e4e4;
}

.pagination ul li a:hover, .pagination ul li a:active {
    color: #ffffff;
    background-color: #7d7d7d;
    text-decoration: none;
}

.pagination ul li.current a, .pagination ul li.current a:visited {
    color: #ffffff;
    background-color: #7d7d7d;
}

/*
----------------------------------

SPONSOR BLOCKS

----------------------------------
*/

#content .right .sponsor {
    margin: 20px 0 0 20px;
}

/*
----------------------------------

AD BLOCKS

----------------------------------
*/

#content .right .ad {
    margin: 20px 0 0 20px;
}

/*
----------------------------------

FOOTER

----------------------------------
*/

#footer {
    /*height: 170px;*/
	padding: 0 0 10px 0;
    background: transparent url(../images/footer-bg.png) 0 0 repeat-x;
}

#footer ul {
    display: block;
    border-bottom: 1px solid #670506;
    overflow: auto;
    zoom: 1; /* hasLayout IE fix */
}

#footer ul li {
    display: block;
    float: left;
}

#footer ul li a, #footer ul li a:visited, #footer ul li a:hover, #footer ul li a:active {
    display: block;
    margin: 0 0 0 20px;
    padding: 2px 5px;
    color: #ffffff;
    font-size: 1.2em;
    line-height: 2.2em;
}

#footer-logo {
    width: 296px;
    height: 45px;
    margin: 25px 0 0 20px;
    text-indent: -7777px;
    background-position: 0 0;
    background-repeat: no-repeat;
}

#footer-logo[id] {
    background: url(../images/footer-logo.png) 0 0 no-repeat;
}

#footer .copy {
    margin: 25px 0 0 20px;
    color: #ffffff;
}
