/* 
    Document   : component
    Created on : 2008/09/12, 21:09:40
    Author     : higuchit
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

/* default */
.component {
    position: relative;
    margin-bottom: 10px;
}

    .component h3{
        font-weight: bold;
        font-size: 11pt;
        font-family: 'メイリオ ＭＳ Ｐゴシック', Arial, Helvetica, sans-serif;
        letter-spacing: 0;
        color: #666666;
    }
    .component h3.text{
        padding: 5px 0;
        height: 22px;
        text-indent: 20px;
        background: transparent url(/images/bg/header_regular.jpg) no-repeat;
    }
    .component h3.text_short{
        padding: 5px 0;
        height: 22px;
        text-indent: 20px;
        background: transparent url(/images/bg/header_min.jpg) no-repeat;
    }
    
    .component h3.text_profile{
        padding: 0px;
        height: 22px;
        text-indent: 20px;
        background: transparent url(/images/bg/header_regular.jpg) no-repeat;
    }
    
    .right .component h3.text_short{ border-right: solid 1px #CCC;}
    .component .rss {
        position: absolute;
        top: 10px;
        right: 30px;
    }
    .component .tip_help{
        position: absolute;
        top: 10px;
        right: 10px;
    }

.component .contents {
    padding: 10px 15px 0;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
}
    .component .contents .more{
        clear: both;
        padding: 10px 0 5px 10px;
        margin-top: 7px;
        border-top: dotted 3px #E1E1E1;
        text-align: right;
    }

.component .btn_1{ background: url(/images/controll/btn_1.gif) no-repeat; }
.component .btn_2{ background: url(/images/controll/btn_2.gif) no-repeat; }
.component .btn_3{ background: url(/images/controll/btn_3.gif) no-repeat; }
.component .btn_4{ background: url(/images/controll/btn_4.gif) no-repeat; }
.component .btn_5{ background: url(/images/controll/btn_5.gif) no-repeat; }
.component .ranks li{
    clear: both;
}
.component span.rank{
    float: left;
    display: block;
    width: 20px;
    height: 20px;
    overflow: hidden;
    text-indent: -50px;
    margin-right: 7px;
}

/* component ad_google */
.common-wide-add {
}
    .common-wide-add div{
        margin: 0 auto;
        width: 728px;
        height: 90px;
    }

.component.ad_google.right_long {
    border: solid 1px #CCC;
}
    .component.ad_google.right_long div{
        width: 160px;
        margin-left: auto;
        margin-right: auto;
        padding: 15px 0;
    }
    
.component.ad_google.right_image {
}
    .component.ad_google.right_image div{
        width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    
.component.ad_google.top_wide{
    padding: 10px 0;
    text-align: center;
    margin-top: 10px;
}
    .component.ad_google.top_wide div{
        margin-left: auto;
        margin-right: auto;
        width: 728px;
        height: 90px;
    }

.component.ad_google.top_thin{ }
    .component.ad_google.top_thin div{
        width: 468px;
        height: 60px;
    }
.component.ad_google.top_mini{ }
    .component.ad_google.top_mini div{
        width: 125px;
        height: 125px;
    }


/* component suseum_shop */
.component.suseum_shop {}


/* component.arrival */
.component.arrival{}
    .component.arrival.exam.banner .exam_left{
        float: left;
        width: 350px;
    }

    .component.arrival.exam li, .component.arrival.berry li{
        clear: both;
        height: 22px;
        padding-left: 17px;
    }
    .component.arrival.exam li {
        background: transparent url(/images/icons/marker_blue.gif) no-repeat scroll left 1px;
    }
    .component.arrival.berry li {
        background: transparent url(/images/icons/marker_ltblue.gif) no-repeat scroll left 1px;
    }
        .component.arrival.exam li p, .component.arrival.berry li p {
            float: left;
            margin-right: 8px;
        }
        .component.arrival.exam .opened_at, .component.arrival.berry .opened_at {
            width: 55px;
            padding-top: 2px;
            font-size: 8pt;
        }
        .component.arrival.exam .title, .component.arrival.berry .title {
            width: 360px;
        }
        .component.arrival .title span{ font-size: 8pt; }
        .component.arrival.berry .user {
            width: 160px;
            font-size: 8pt;
        }
            .component.arrival.berry li p.user a { font-size: 10pt; }
            
    .component.arrival.selection .contents {
        padding: 10px 10px;
    }
    .component li.selection {
        float: left;
        width: 204px;
        height: 77px;
        margin-left: 5px;
        margin-bottom: 7px;
        background: transparent url(/images/component/bg_selection.gif) no-repeat scroll left 1px;
    }
    .component li.selection.first { margin-left: 0;}
    .component li.selection .cover {
        float: left;
    }
    .component li.selection .cover a {
      display: block;
      width: 36px;
      height: 67px;
      margin: 5px 8px;
      overflow: hidden;
      background: url(/images/selection/selection_navy_s.gif) no-repeat;
      text-indent: -300px;
    }
    .component li.selection a.category_navy{ background-image: url(/images/selection/selection_navy_s.gif) }
    .component li.selection a.category_brown{ background-image: url(/images/selection/selection_brown_s.gif) }
    .component li.selection a.category_pink{ background-image: url(/images/selection/selection_pink_s.gif) }
    .component li.selection a.category_green{ background-image: url(/images/selection/selection_green_s.gif) }
    .component li.selection a.category_orange{ background-image: url(/images/selection/selection_orange_s.gif) }
    .component li.selection a.category_violet{ background-image: url(/images/selection/selection_violet_s.gif) }
    .component li.selection a.category_gray{ background-image: url(/images/selection/selection_gray_s.gif) }

    .component li.selection .info{
        float: left;
    }
    .component li.selection .info p{
        width: 150px;
    }
        .component li.selection .info .opened_at { font-size: 8pt; }
        .component li.selection .info .user { font-size: 8pt; }


/* component.topics */
.component.recommend_selection {}
    .component.recommend_selection .contents {
      padding: 10px 0 0;
      position: relative;
    }
    .component.recommend_selection .scroll_container {
        position: relative;
        width: 640px;
        height: 85px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }
    .component.recommend_selection ul {
    }



/* component.userpanel */
.component.login.user_panel {}
    .component.user_panel a.btn_signup_s {
        position: absolute;
        top: 7px;
        right: 16px;
    }
    .component.user_panel .contents{
        padding-bottom: 10px;
    }
  .component.user_panel .form {
    margin-top: 3px;
    text-align: right;
  }
    .component.user_panel .form input {
      width: 150px;
      height: 20px;
      padding: 0 2px;
      border: solid 1px #A0A0A0;
    }
    .component.user_panel .form span {
      margin-right: 5px;
      font-size: 12px;
      font-weight: normal;
      color: #666666;
    }
    .component.user_panel a.btn_login_s {
        clear: both;
        margin: 10px 0 0 auto;
    }
    .component.user_panel a.btn_logout_s{ margin: 10px 0 0 auto; }
  
    .component.user_panel .ctrl {
        margin-top: 10px;
    }
    .component.user_panel .point_amount .highlight { font-size: 20px; }
    .component.user_panel .point_help { 
        margin-top:15px;
     }
     .component.user_panel .message_box{
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 5px;
        border: solid;
        border-width: 2px;
        border-color: #FF9999;
    }
    .component.user_panel .right_message{
        text-align: center;
        font-weight: bold;
        font-size: 10pt;
    }
    .component.user_panel .right_message span{
        font-size: 15pt;
        color: #D9418D;
    }
    
/* component.shop*/
.component.shop{ 
  background: #fff url(/images/gq/bg/header_shop.gif) no-repeat 5px 2px;
  text-align: center;
}
  .component.shop h3{ text-indent: -200px; overflow: hidden; }


/* component.topics */
.component.topics {}
    .component.topics .topic_content {
        margin-top: 15px;
        height: 120px;
        overflow: hidden;
    }
    .component.topics ul { }
    .component.topics li{
        clear: both;
        height: 22px;
        padding-left: 17px;
        background: transparent url(/images/icons/marker_yellow.gif) no-repeat scroll left 1px;
    }
        .component.topics li p {
            float: left;
            margin-right: 10px;
        }


/* component.tag_cloud */
.component.tag_cloud {
    clear: both;
}
    .component.tag_cloud .contents {
        min-height:110px;
        height: auto !important;
        height: 110px;
    }
  .tag_cloud ul{
    list-style: none;
  }  
  .tag_cloud li{
    display: inline;
    margin-right: 3px;
    margin-bottom: 10px;
  }
    .tag_cloud li.rate1{ font-size: 80% }
    .tag_cloud li.rate2{ font-size: 100% }
    .tag_cloud li.rate3{ font-size: 120% }
    .tag_cloud li.rate4{ font-size: 150%; font-weight: bold; }
    .tag_cloud li.rate5{ font-size: 180%; font-weight: bold; }
    .tag_cloud li.rate6{ font-size: 210%; font-weight: bold; }
    .tag_cloud li a { text-decoration: none; }
    .tag_cloud li a:hover { text-decoration: underline; }


/* component.left_prof */
.component.left_prof{}
    .component.left_prof .contents{
        padding-bottom: 20px;
    }
    .component.left_prof .prof_img_wrap{
        width: 204px;
        height: 232px;
        margin: 0 auto;
        background-image: url(/images/gq/bg/prof_photo.gif);
    }
    .component.left_prof .prof_img_overflow{
      margin: 18px auto 5px;
      width: 180px;
      height: 180px;
      overflow: hidden;
    }
    .component.left_prof .prof_img{
      margin: 18px auto 5px;
      width: 180px;
      overflow: hidden;
    }
    .component.left_prof .name { text-align: center; }
    .component.left_prof ul {
        margin-top: 20px;
    }
    .component.left_prof li{
        clear: both;
        padding-left: 15px;
        height: 30px;
        background: transparent url(/images/icons/marker_pink.gif) no-repeat scroll left 2px;
    }
        .component.left_prof li label{
            display: block;
            float: left;
            width: 120px;
        }
            .component.left_prof li ul{
                margin-top: 5px;
                clear: both;
            }
            .component.left_prof li li{
                background: none;
            }
    .component.left_prof .btn_edit_s { margin-top: 15px; }

.component.one_day_quiz {
  width: 260px;
}
    .component.one_day_quiz .help_icon{
        position: absolute;
        top: 7px;
        left: 115px;
    }

    .component.one_day_quiz a.btn_signup_s {
        position: absolute;
        top: 7px;
        right: 16px;
    }
    .component.one_day_quiz .contents {
      min-height:120px;
      height: auto !important;
      height: 120px;
        font-size: 12px;
    }
      .component.one_day_quiz .answer {
         margin-top: 15px;
      }

      .component.one_day_quiz #quiz_answer { 
         width: 160px;
      }
      
    .component.one_day_quiz ol, .component.one_day_quiz ul{
        margin-left: 10px;
        list-style-position: inside;
        font-size: 12pt;
    }
    .component.one_day_quiz ol{list-style-type: upper-alpha;}
    .component.one_day_quiz ul{list-style-type: none;}

.component.chronology {}
    .component.developers_blog .contents{
        padding-bottom: 10px;
    }



.component.math_contest {}
    .component.math_contest ul{
        list-style: none;
    }
    .component.math_contest ul li{
        margin-top: 10px;
        margin-left: 10px;
    }
    .component.math_contest p{
        text-align: right;
    }
    .component.math_contest div div{
        padding: 2px;
        margin-top: 10px;
        border-top: 1px solid #CCCCCC;
        font-size: 8pt;
    }
.component.berry_commented_new .contents {
    padding: 15px 20px;
}
.component.berry_commented_new { clear: both; }
    .component.berry_commented_new li{
        display: inline;
        padding-left: 20px;
        font-size: 10pt;
    }
    .component.berry_commented_new a{ text-decoration: none; }
    .component.berry_commented_new a:hover{ text-decoration: underline; }
    .component.berry_commented_new li.odd a{ color: #003399; }
    .component.berry_commented_new li.even a{ color: #446A28; }
    .component.berry_commented_new li.bold a{ font-weight: bold; }


.component.ranking {
    width: 320px;
}
    .component.ranking .contents{
        padding: 10px 20px;
        min-height:239px;
        height: auto !important;
        height: 239px;
    }
    .component.ranking li{
        padding: 15px 0 12px 48px;
        height: 20px;
        border-top: 1px solid #CCC;
        background: transparent url(/images/icons/rank1.gif) no-repeat 0 0;
    }
    .component.ranking li.even{ background-color: #EFEFEF; }
    .component.ranking li.rank1{ border: none; }
    .component.ranking li.rank2{ background-image: url(/images/icons/rank2.gif); }
    .component.ranking li.rank3{ background-image: url(/images/icons/rank3.gif); }
    .component.ranking li.rank4{ background-image: url(/images/icons/rank4.gif); }
    .component.ranking li.rank5{ background-image: url(/images/icons/rank5.gif); }

.component.synthetic {}
.component.synthetic .contents{
    padding: 16px 35px 10px;
    min-height:151px;
    height: auto !important;
    height: 151px;
}
.component.synthetic h3{
    height: 27px;
    padding-top: 5px;
    overflow: hidden;
    text-indent: 15px;
    background: transparent url(/images/common/rankings/synthetic/header_1_0.gif) no-repeat 0 0;
}
.component.synthetic li{
    padding-left: 80px;
}
    .component.synthetic li.rank1{
        height: 55px;
        border-bottom: 1px dashed #CCC;
        background: transparent url(/images/common/rankings/synthetic/rank_1.gif) no-repeat 0 0;
    }
    .component.synthetic li.rank2{
        padding-top: 10px;
        height: 40px;
        border-bottom: 1px dashed #CCC;
        background: transparent url(/images/common/rankings/synthetic/rank_2.gif) no-repeat 0 0;
    }
    .component.synthetic li.rank3{
        padding-top: 10px;
        border: none;
        background: transparent url(/images/common/rankings/synthetic/rank_3.gif) no-repeat 0 0;
    }
    #synthetic_rank_tabs {
        height: 30px;
        margin-top: -30px;
    }
        #synthetic_rank_tabs a{
            display: block;
            height: 30px;
            width: 100px;
            float: right;
            margin-right: 6px;
            margin-left: 6px;
            text-indent: -200px;
            overflow: hidden;
        }
        #synthetic_rank_tabs #tab_day{
            background: transparent url(/images/common/rankings/synthetic/navi_day.gif) no-repeat 0 0;
        }
        #synthetic_rank_tabs #tab_day.active{
            background: transparent url(/images/common/rankings/synthetic/navi_day_over.gif) no-repeat 0 0;
        }
        #synthetic_rank_tabs #tab_week{
            background: transparent url(/images/common/rankings/synthetic/navi_week.gif) no-repeat 0 0;
        }
        #synthetic_rank_tabs #tab_week.active{
            background: transparent url(/images/common/rankings/synthetic/navi_week_over.gif) no-repeat 0 0;
        }
        #synthetic_rank_tabs #tab_month{
            background: transparent url(/images/common/rankings/synthetic/navi_month.gif) no-repeat 0 0;
        }
        #synthetic_rank_tabs #tab_month.active{
            background: transparent url(/images/common/rankings/synthetic/navi_month_over.gif) no-repeat 0 0;
        }
        
    .component.synthetic .btn_click{
        display: block;
        margin-top: 15px;
        width: 60px;
        height: 15px;
        text-indent: -200px;
        overflow: hidden;
        background: transparent url(/images/common/rankings/synthetic/click_btn_2.gif) no-repeat 0 0;
    }
    .component.synthetic .btn_click:hover{
        background: transparent url(/images/common/rankings/synthetic/click_btn_2_over.gif) no-repeat 0 0;
    }
    .component.synthetic .rank1 .btn_click{
        width: 70px; height: 20px;
        background: transparent url(/images/common/rankings/synthetic/click_btn_1.gif) no-repeat 0 0;
    }
    .component.synthetic .rank1 .btn_click:hover{
        background: transparent url(/images/common/rankings/synthetic/click_btn_1_over.gif) no-repeat 0 0;
    }

    .awasete {
        text-align: center;
    }

