/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 0.10.0
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
q:before,q:after{content:'';}

/* all */
body {
    font-family: 'IPAexゴシック', 'IPAexGothic', 'TakaoExゴシック', 'TakaoExGothic', 'VL ゴシック', 'VL Gothic', 'さざなみゴシック', 'Sazanami Gothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'ＭＳ ゴシック', 'MS Gothic', 'Helvetica', sans-serif;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	color: #333;
    font-size: 80%;
}

a {
	outline: none;
	text-decoration: none;
	color: #333;
}

a:hover {
    text-decoration: underline;
}

img {
	border: none;
}

h1 {
    font-size: 180%;
    margin-bottom: 10px;
}

h2 {
    font-size: 110%;
    margin-bottom: 10px;
}	

strong {
    font-weight: bold;
}

/* content */

#top-content {
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 860px;
}

/* content table */

#content table {
    width: 100%;
	border-top: 1px solid #E0E0E0;
	border-collapse: collapse;
}

#content #intro {
    /* font-size: 120%;  */
    font-size: 1.2em;
    float: left;
    width: 30%;
}

#content #promo-img {
    float: right;
}

#content #promo {
    margin: 0 auto;
    width: 800px;
}

#content #intro p {
  margin-bottom: 10px;
}

#content_table {
	margin-top: 25px;
}

.content_table_star_th {
	width: 15px;
	text-align: center !important;
}

.content_table_star_td {
	text-align: center !important;
}

#content th {
	text-align: left;
	background: #EEE;
	padding: 5px 5px;
	border-bottom: 1px solid #E0E0E0;
}

.posted_date_th {
	width: 100px;
}

.user_th {
	width: 100px;
}

#content td {
	padding: 5px 5px;
	border-bottom: 1px solid #EEE;
}

#content tr:hover {
	background: #F8F8F8;
}

#content #terms-of-service ol {
    margin-top: 1em;
    padding-left: 2em;
}

#content #terms-of-service li {
    list-style-type: decimal;
}

/* content_snippet */
#content #settings-tabs {
    margin-bottom: 30px;
}

#content #settings-tabs li {
    font-size: 110%;
    display: inline;
    border-left: 1px solid #CCCCCC;
    padding: 0 10px;
}

#content #settings-tabs li.selected {
    font-weight: bold;
}

#content #settings-tabs li.last {
    border-right: 1px solid #CCCCCC;
}

#content_snippet {
	margin-top: 25px;
}

#content_snippet #snippet-code-nocomments,#content_snippet #snippet-code-comments {
    overflow: auto;
}

#content_snippet #code-options {
    /* text-align: right; */
    margin: 15px 0 5px 10px;
}

#content_snippet #code-options .show-comments {
    background: url(../img/icons/comments.png) no-repeat;
    padding-left: 18px;
}

#content_snippet #code-options .hide-comments {
    background: url(../img/icons/paste_plain.png) no-repeat;
    padding-left: 18px;
}

#content_snippet #code-options .edit-snippet {
    background: url(../img/icons/script_edit.png) no-repeat;
    padding-left: 18px;
}

#content_snippet #code-options .embed-snippet {
    background: url(../img/icons/script.png) no-repeat;
    padding-left: 18px;
}

#content_snippet #code-options .delete-snippet {
    background: url(../img/icons/delete.png) no-repeat;
    padding-left: 18px;
}

#content_snippet #embed-code input {
    background-color: #E0E0E0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 5px;
    border: 0 none;
    margin: 5px 0 5px 5px;
    /* width: 450px; */
    width: 70%;
}

#content_snippet #snippet-discussion {
    margin-top: 20px;
}

#content_snippet #snippet-discussion strong {
    font-weight: bold;
}

#content_snippet #snippet-discussion em {
    font-style: italic;
}

#content_snippet #snippet-comments {
    margin-top: 20px;
}

#content_snippet #snippet-comments dt {
    margin-top: 10px;
    border-bottom: 1px solid #CCC;
}

#content_snippet #snippet-comments dd {
    padding: 5px 0 0 20px;
}

#content_snippet #comment-form {
    margin-top: 20px;
}

#content_snippet .inline-comments textarea {
    width: 99%;
}

/* snippet_detail */

.content {
    padding: 0 4em;
	margin-top: 25px;
}

.right-content {
	float: right;
    width: 30%;
}

.left-content {
    width: 68%;
}

#snippet_detail {
    min-width: 250px;
}

#snippet_detail dl {
	margin-top: 12px;
	background: #FFFFDD;
	border-top: 1px solid #F6F6CD !important;
}

#snippet_detail dt {
	border: none !important;
	background: #F6F6CD !important;
    font-weight: bold;
    padding: 3px 5px;
}

#snippet_detail dt.author {
    display: inline-block;
    width: 100%;
}

#snippet_detail dt.author .profile-img {
    float: left;
    padding: 5px;
}

#snippet_detail dt.author .name {
    float: left;
    font-weight: bold;
    margin: 1em 0 0 0.5em;
    padding: 5px 0;
    /* display: inline; */
}

#snippet_detail dd#author-info .profile-img {
    float: left; 
    margin-right: 20px;
}

#snippet_detail dd#author-info h1 {
    clear: left;
}

#snippet_detail dd#author-info .follow-info table {
    border: none;
    width: auto;
    margin-bottom: 5px;
}
#snippet_detail dd#author-info .follow-info tr:hover {
	background: none;
}

#snippet_detail dd#author-info .follow-info td {
    border: none;
    padding: 0;
    font-size: 120%;
    padding-right: 10px;
}

#snippet_detail dd#author-info .follow-info #follower-count {
    font-size: 180%;
    font-weight: bold;
}
#snippet_detail dd#author-info .follow-info #following-count {
    font-size: 180%;
    font-weight: bold;
}

#snippet_detail #follow-button {
    padding: 0 3px;
}

#snippet_detail #follow-button span {
    background: transparent url(../img/icons/follow.png) no-repeat scroll 0 2px;
    float: left;
    width: 10px;
    height: 20px;
    padding-right: 3px;
}

/*
#snippet_detail #follow-button.loading span {
    background: transparent url(../img/loading.gif) no-repeat scroll 0 2px;
    padding-right: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
}*/

#snippet_detail #following-msg {
	background: url(../img/icons/tick.png) no-repeat;
    padding-left: 18px;
    color: green;
    font-size: 110%;
}


#snippet_detail dd {
	padding: 5px 5px;
}

#snippet_detail .description p {
    padding-bottom: 1em; 
}

#snippet_detail dd.link img {
    float: left;
    height: 16px;
    width: 16px;
    padding-right: 4px;
}

#snippet_detail .bottom-details dd {
    padding: 5px 2em;
}

#snippet_detail p {
	margin: 0px;
	line-height: 1.4em;
}

#snippet_detail h1 {
	background-position: 0% 50%;
	font-size: 18px;
	font-weight: normal;
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.detail_title {
	font-weight: bold;
	padding-bottom: 5px;
}

/* content h1 */

.h1_popular {
	background: url(../img/smipple_menu_star.png) no-repeat;
	background-position: 0% 50%;
	padding-left: 25px;
	font-weight: normal;
	margin-left: 5px;
}

.h1_recent {
	background: url(../img/smipple_menu_recent.png) no-repeat;
	background-position: 0% 50%;
	padding-left: 25px;
	font-weight: normal;
	margin-left: 5px;
}

.h1_snippet_title {
	font-weight: normal;
	margin-left: 5px;	
    margin-bottom: 0;
}

.h1_mysnippets {
	background: url(../img/smipple_menu_profile.png) no-repeat;
	background-position: 0% 50%;
	padding-left: 25px;
	font-weight: normal;
}

.h1_watchedsnippets {
	background: url(../img/smipple_menu_profile.png) no-repeat;
	background-position: 0% 50%;
	padding-left: 25px;
	font-weight: normal;
    clear: both;
}

/* dashboard */

.dashboard-news-body {
    margin-bottom: 10px;
}

.dashboard-news-body li {
    padding: 5px 0; 
}

.dashboard-news-body .notice-item {
	padding-left: 25px;
}

.dashboard-news-body .notice-time {
    font-style: italic;
	padding-left: 25px;
    color: #666;
}

.dashboard-news-body .followed-notice {
	background: url(../img/icons/group_go.png) no-repeat;
}

.dashboard-news-body .welcome-notice {
	background: url(../img/icons/emoticon_grin.png) no-repeat;
}

/* menu_top */

#menu_top_content {
	padding: 10px 4em;
}

body#top #menu_top_content {
    margin: 0 auto;
    width: 860px;
}

#menu_top {
	border-bottom: 1px dashed #CCC;
	text-align: right;
}

#menu_top a {
	color: #333;
	text-decoration: none;
	padding: 0px 10px;
	border-left: 1px solid #CCC;
    font-weight: bold;
}

#menu_top a:hover {
	color: #666;
}

#menu_top .last {
	border-right: none;
}

#menu_top .noborder {
	border: none;	
}

/* header */

#header {
	text-align: left;
	margin-top: 18px;
	margin-bottom: 13px;
	margin-left: auto;
	margin-right: auto;
    padding: 0 4em;
}

body#top #header {
    width: 860px;
}

#header img {
	border: none;
}

.attention-msg {
    text-align: center;
    color: white;
    font-weight: bold;
    padding: 5px 0;
    background-color: #AE0000;
}

/* menu */

#menu {
	border-top: 1px solid #E8E8E8;
	height: 43px;
	background: url(../img/smipple_menu_bg.png) repeat-x;
	white-space: nowrap;
    padding: 0 4em;
}

#menu a {
	color: #333;
	text-decoration: none;
	font-weight: bold;
	padding: 10px 0px 10px 23px;
	outline: none;
}

#menu a:hover {
	color: #666;
}

#menu table {
	border-collapse: collapse;
	height: 40px;
}

body#top #menu table {
    margin: 0 auto;
}

#menu td {
    margin: 0px;
	padding: 0px 10px;
	border-left: 1px solid #E0E0E0;
	vertical-align: middle;
}

#search input {
	color: #999;
}

.menu_icon_add {
	background: url(../img/smipple_menu_new.png) no-repeat;
	background-position: 0% 50%;
}

.menu_icon_like {
	background: url(../img/smipple_menu_like.png) no-repeat;
	background-position: 0% 50%;
}

.menu_icon_star {
	background: url(../img/smipple_menu_star.png) no-repeat;
	background-position: 0% 50%;
}

.menu_icon_recent {
	background: url(../img/smipple_menu_recent.png) no-repeat;
	background-position: 0% 50%;
}

.menu_icon_profile {
	background: url(../img/smipple_menu_profile.png) no-repeat;
	background-position: 0% 50%;
}

/* mysnippets */

#content_mysnippets table {
	width: 100% !important;
	border-top: 1px solid #E0E0E0;
	border-collapse: collapse;
}

#mysnippets_pages {
	margin-top: 20px;
	/* text-align: right; */
	/* width: 600px; */
    text-align: center;
}

#mysnippets_pages .paginate-current {
	margin-right: 5px;
    padding: 2px 7px;
	border: 1px solid #888888;
}

#mysnippets_pages a {
	margin-right: 5px;
	padding: 2px 7px;
	margin-top: 20px;
	border: 1px solid #E0E0E0;
	text-decoration: none;
	color: #666;
}

#mysnippets_pages a:hover {
	background: #EEE;
}

#mysnippets_pages .selected {
	background: #EEE;
	border: 1px solid #E0E0E0;	
}

.following img {
	margin-right: 5px;
}

/* footer */

#footer {
	clear: both;
    text-align: center;
	color: #666;
	/* margin: 40px 0px; */
    padding: 40px 0px;
}

#footer a {
	margin-right: 10px;
	text-decoration: none;
	color: #666;
	border-right: 1px solid #CCC;
	padding-right: 10px;
}
#footer a.last {
	border-right: none;
}

#footer #appengine-logo {
    padding-top: 10px;
}


#footer a:hover {
	color: #999;
}

.smipple-help {
    background: url(../img/help.png) no-repeat;
    padding-left: 18px;
}

/* snippet */

.lineno {
	padding-right: 5px;
	border-right: 2px solid #CCC;
	color: #999;
	margin-right: 5px;
}

#code {
	margin-left: 5px;
	border: 1px solid #E0E0E0;
	padding: 0px 0px 0px 15px;
    font-family: monospace;
    font-size: 12px;
}

#code .code-line {
    white-space: pre;
}

.kd {
	color: green;
	font-weight: bold;
}

fieldset {
  border: 0px;
}

fieldset .form-row {
  padding-bottom: 10px;
  clear: left;
}

fieldset .form-row input[type=text],textarea {
    width: 600px;
}

input#id_profile_image {
    width: auto;
}

fieldset .form-row .form-checkbox {
  display: inline;
  float: none;
}

fieldset.aligned {
    margin-bottom: 15px;
}

fieldset.aligned .form-label {
  display: block;
  float: left;
  /* font-size: 13px; */
  padding: 3px 10px 0 0;
  width: 12em;
}

fieldset.aligned .form-help {
  margin-left: 13em;
  margin-top: 0px;
  padding-left: 38px;
  color: #999;
  font-size: 80%;
}

fieldset.aligned .inline-form-help {
  margin-top: 0px;
  color: #999;
  font-size: 80%;
}

fieldset.aligned .required-label {
  /* display: block; */
  /* float: left; */
}

fieldset .errorlist {
  background: red;
  border: 1px solid red;
  color: white;
  display: block;
  padding: 0px 5px 0px 30px;
  list-style-type: square;
  list-style-image: url(../img/error.png);
}

/* Pageslide */

#pageslide-body-wrap {
  position: relative;
}

#pageslide-slide-wrap {
  position: fixed;
  width: 0;
  top: 0;
  right: 0;
  height: 100%;
  background-color: #000;
  overflow: auto;
}

#pageslide-content {
}

#secondary {
  padding: 15px 25px;
  color: #FFFFFF;
}

#secondary a {
  color: #999;
}

#pageslide-content h2 {
  color: #C60;
  font-size: 130%;
  padding-bottom: 20px;
}

#pageslide-content p {
  padding-bottom: 15px;
}

#pageslide-content pre {
  border: 1px dashed white;
  padding: 1em;
  margin-bottom: 15px;
}

#pageslide-content .help-close {
  text-align: right;
}

.warning_message {
  color: red;
}

#account_delete p {
    margin-bottom: 10px;
}
#account_delete ul.info li {
    list-style: disc;
    margin-left: 15px;
}

