/*
# RESET
*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, address, em, img, small, strong, dl, dt, dd, ol, ul, li, form, label, table, tr, th, td, article, aside, figcaption, figure, footer, header, hgroup, menu, nav, section, time {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
article, aside, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}
ul {
    list-style: none;
}
.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.clearfix, .container {display:block;}

/* 
# レイアウト 
*/
body {
    background: url(../img/background.jpg);
    background-position: 0 -200px;
    font-family:'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    /*scrollbar-arrow-color: black;*/
}
/*::-webkit-scrollbar-button {
	background:#34C2CC;
}*/
#dialog {
    /*position: absolute;*/
    /*top: 20px;*/
    left: 0;
    right: 0;
    /*padding: 30px;*/
    padding: 20px;
    margin: auto;
    width: 95%;
    height: 95%;
    text-align: center;
    clear:both;
}
.box {
    /*position: absolute;*/
    width: 100%;
    height: 100%;
}
.box-header {
    /*position: relative;*/
    top: 0;
    /*margin-bottom: 20px;*/
    margin-bottom: 10px;
}
.box-footer {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
}
.box-footer p {
    color: #ffffff;
}
.img-block {
    display: block;
    margin: 0 auto;
}

/*
# label 
*/
label.caption, span.caption {
    color: white;
    font-weight: bold;
    font-size: 46px;
}
label.caption-middle {
    color: white;
    font-weight: bold;
    font-size: 36px;
}
label.senkyo-mei {
    color: white;
    font-weight: bold;
    font-size: 26px;
}
label.warning {
    color: red;
    font-weight: bold;
    font-size: 30px;
}

/*
# input 
*/
input[type="text"],
input[type="password"] {
    font-size:24px;
}

/*
# ボタン
*/
.btn {
    display: inline-block;
    zoom:1;
    color: #000000;
    padding: 10px 60px;
    background: #ebebeb;
    background: -moz-linear-gradient(top, #ebebeb 0%, #878787);
    background: #ebebeb;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ebebeb', endColorstr='#878787')";
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 3px;
    border: 1px solid #878787;
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8), inset 0px 0px 1px rgba(255, 255, 255, 0.7);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8), inset 0px 0px 1px rgba(255, 255, 255, 0.7);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.8), inset 0px 0px 1px rgba(255, 255, 255, 0.7);
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4), 0px 1px 0px rgba(255, 255, 255, 0.3);
    font-size: 32px;

    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    behavior: url(ie-css3.htc);
    width: 270px;
}
.btn:hover, .btn:focus {
    color: #ffffff;
    text-decoration: none;
    background: -moz-linear-gradient(top, #b2b2b2 0%, #535353);
    background: -webkit-gradient(linear, left top, left bottom, from(#b2b2b2), to(#535353));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#b2b2b2', endColorstr='#535353')";
}
.btn:active {
    color: #ffffff;
    background: -moz-linear-gradient(top, #939393 0%, #383838);
    background: -webkit-gradient(linear, left top, left bottom, from(#939393), to(#383838));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#939393', endColorstr='#383838')";
}

/* 
# 投票済み
*/
li.voted {
    position: relative;
}
li.voted a.disabled {
    color: #000000;
    background: -moz-linear-gradient(top, #939393 0%, #383838);
    background: -webkit-gradient(linear, left top, left bottom, from(#939393), to(#383838));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#939393', endColorstr='#383838')";
    cursor: default;
}
li.voted a:before {
    content: url(../img/img-voted.png);
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

ul.btn-group {
    margin: 0 auto;
    width: 515px;
    height: 450px;
    overflow: auto;
}
ul.btn-group li {
    margin-bottom: 20px;
}
ul.btn-group li a.btn {
    padding: 10px 10px;
    width: 95%;
    text-align:center;
    /*text-indent:30px;*/
}
/*
# 会員番号 認証コード入力
*/
#auth {
    padding: 0 40px;
}
#auth-sample {
    position: relative;
    float: left;
    margin-left: -50px;
    width: 280px;
    text-align: center;
    margin-top:120px;
}
#auth-sample #sample2 {
    position: absolute;
    bottom: 0;
    right: -200px;
}
#auth form {
    position: relative;
}

#auth .controls img {
    /*vertical-align: middle;*/
}
#auth .controls .input-wrap {
    display: inline-block;
    background: #ffffff;
}
#auth .controls .input-wrap img {
    position: relative;
    top: -5px;
    left: 5px;
    vertical-align: middle;
}
#auth .controls input {
    padding: 4px;
    font-size: 28px;
    font-family: Georgia, "Times New Roman", serif;
    border: none;
}

#auth form input[type=submit] {
    margin-left: 130px;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted 9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

/*
# 進捗プロセス
*/
#process {
    /*position: relative;*/
    top: 0;
    /*margin: 40px auto 0;*/
    margin: auto;
    width: 250px;
    height: 20px;
    text-align: center;
    overflow: hidden;
}
#process ul li {
    float: left;
    margin-right: 10px;
    width: 50px;
    height: 16px;
    background-color: #6D6D6D;
    border: 1px solid #3e3e3e;
}
#process ul li.current {
    background-color: #13FFFF;
}
#process ul li.end {
    background-color: #AEC0CA;
}

/*
# Person
*/
.person {
    width: 95px;
    height: 220px;
    background-image: url("../img/plate.png");
    background-repeat: no-repeat;
}

.person img {
    margin-top: 7px;
    width: 63px;
    height: 70px;
}
.person a {
    display: block;
    margin: 5px auto 0;
    width: 62px;
    height: 170px;
    text-decoration: none;
}
.person span {
    margin-top: 0px;
    display: inline-block;
    font-weight: bold;
    color: #000000;
    font-size: 17px;

    writing-mode: tb-rl;
    direction: rtl;
    -ms-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    vertical-align: top;
}
.person span.seitou-name {
    font-size: 10px;
}

.person span.small {
    font-size: 15px;
}

.person span.x-small {
    font-size: 13px;
    /*text-align: left;*/
}

.person span.entryNo {
    writing-mode: lr-tb;
    direction: ltr;
    -ms-writing-mode: horizontal-tb;
    -moz-writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    -o-writing-mode: horizontal-tb;
    margin-top: 10px;
    width: 62px;
}

.person-large {
    width: 209px;
    height: 531px;
    background-image: url("../img/plate-large.png");
    margin: auto;
}
.person-large img {
    display: block;
    margin: auto;
    padding-top: 23px;
    width: 170px;
    /*max-height: 190px;*/
}
.person-large span {
    margin-top: 15px;
    /*display: inline-block;*/
    font-weight: bold;
    color: #000000;
    font-size: 42px;

    writing-mode: tb-rl;
    direction: rtl;
    -ms-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    vertical-align: top;
}
.person-large span.seitou-name {
    font-size: 24px;
}

.person-large span.small {
    font-size: 38px;
}

.person-large span.x-small {
    font-size: 32px;
    /*text-align: left;*/
}

.person-large span.entryNo {
    display: inline-block;
    writing-mode: lr-tb;
    direction: ltr;
    -ms-writing-mode: horizontal-tb;
    -moz-writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    -o-writing-mode: horizontal-tb;
    margin-top: 22px;
    width: 209px;
}

.person-mid {
    width: 150px;
    height: 355px;
    margin: 10px 0px;
    background-image: url("../img/plate-mid.png");
}
.person-mid img {
    display: block;
    margin: 0 auto 0;
    padding-top: 20px;
    width: 105px !important;
    max-height: 130px;
}

.person-mid span {
    margin-top: 10px;
    display: inline-block;
    font-weight: bold;
    color: #000000;
    font-size: 26px;

    writing-mode: tb-rl;
    direction: rtl;
    -ms-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    vertical-align: top;
}
.person-mid span.seitou-name {
    font-size: 16px;
}

.person-mid span.small {
    font-size: 24px;
}

.person-mid span.x-small {
    font-size: 21px;
    /*text-align: left;*/
}

.person-mid span.entryNo {
    display: inline-block;
    writing-mode: lr-tb;
    direction: ltr;
    -ms-writing-mode: horizontal-tb;
    -moz-writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    -o-writing-mode: horizontal-tb;
    margin-top: 22px;
    width: 150px;
}

.person-mini {
    width: 20px;
    height: 100px;
    background-image: url("../img/plate-mini.png");
}
.person-mini img {
    margin: 1px 2px;
    width: 22px;
    height: 24px;
}
.person-mini span {
    margin-top: -5px;
    font-size:xx-small;
    writing-mode: tb-rl;
    direction: rtl;
    -ms-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    vertical-align: top;
    margin-left:-3px;
}
.person-poster img {
    max-width: 350px;
    max-height: 500px;
}

/*
# Seitou
*/
.seitou {
    width: 80px;
    height: 192px;
    background-image: url("../../person/plate.png");
    background-repeat: no-repeat;
}

.seitou img {
    margin-top: 10px;
    width: 55px;
}
.seitou a {
    display: block;
    margin: 5px auto 0;
    width: 62px;
    height: 170px;
    text-decoration: none;
}
.seitou span {
    margin-top: 5px;
    display: inline-block;
    font-weight: bold;
    color: #000000;
    font-size: 14px;

    writing-mode: tb-rl;
    direction: rtl;
    -ms-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    vertical-align: top;
}
.seitou-mid {
    width: 150px;
    height: 348px;
    background-image: url("../../person/plate-mid.png");
}
.seitou-mid img {
    display: block;
    margin: 0 auto 0;
    padding-top: 20px;
    width: 105px !important;
}

.seitou-mid span {
    margin-top: 15px;
    display: inline-block;
    font-weight: bold;
    color: #000000;
    font-size: 24px;

    writing-mode: tb-rl;
    direction: rtl;
    -ms-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    vertical-align: top;
}
.seitou-mid span.seitou-name {
    font-size: 18px;
}

.seitou-large {
    width: 284px;
    height: 658px;
    background-image: url("../../person/plate-large.png");
}
.seitou-large img {
    display: block;
    margin: 0 auto 0;
    padding-top: 40px;
    width: auto;
}
.seitou-large span {
    margin-top: 15px;
    display: inline-block;
    font-weight: bold;
    color: #000000;
    font-size: 56px;

    writing-mode: tb-rl;
    direction: rtl;
    -ms-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    vertical-align: top;
}


/*
# 投票者リスト
*/
#vote {
    /*position: relative;*/
    margin: 0 auto 15px;
    /*margin: 0 auto 40px;*/
    /*width: 790px;*/
    width: 100%;
}
#vote_container {
    position: relative;
    /*margin: 0 auto 40px;*/
    margin: 0 auto 10px;
    /*padding: 0px 20px;*/
    /*width: 100%;*/
    width: 1100px;
    /*height: 350px;*/
    height: 400px;
    border: none;    
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow:none;
    behavior: url(ie-css3.htc);
    /*overflow:auto;*/
    overflow:hidden;
}

#vote-left,
#vote-right {
    display: block;
    position: absolute;
    top: 46%;
    bottom: 0;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    text-decoration: none;
    color: #ffffff;
    z-index: 100;
}
#vote-left {
    left: -26px;
    font-size: 32px;
}
#vote-right {
    right: -26px;
    font-size: 32px;
}

#carousel {
    position: absolute;
    left: 0px;
}

#carousel ul {
    float: left;
    /*width: 800px;*/
    margin-right: 0px;
}

#carousel ul li {
    float:left;
    /*width: 80px;*/
}
#carousel ul li.divider {

    margin: 0 !important;
    height: 0 !important;
    clear: left;
}
#carousel ul li a {

}
#carousel ul li a:hover img {
    opacity: .8;
    -ms-filter: "alpha(opacity=70)";

}

/*
## 名前から選択
*/
#vote.keypad  {
    width:100%;
}
#vote.keypad #vote_container{
    padding-top: 0;
    padding-bottom: 0;
    height: 350px;
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#keypad table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 5px;
    table-layout: fixed;
    empty-cells: hide;
    font-size: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
#keypad table td {
    padding: 0px 0px;
    border: 1px solid #999;
    background-color: #fff;
    text-align: center;
    vertical-align: middle;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    -moz-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.8);
    behavior: url(ie-css3.htc);
}
#keypad table td a {
    text-decoration:none;
    color:blue;
    font-size:40px;
}
#keypad table td.gray {
    background-color: #b7b7b7;
    font-size:40px;
    cursor:default;
}
#keypad-back {
    display: list-item;
    padding: 3px;
    height: 120px;
    width: 1.9em;
    margin-left: 5px;
    vertical-align: middle;
}
.keypad #carousel {
    overflow: auto;
    height: 400px;
    overflow-x: hidden;
    width: 800px;
}

/*
## ポスターから選択
*/
#vote.poster #vote_container{
    padding: 0px 0px;
    height: 350px;
}
.poster #carousel ul li {
    margin-right: 10px;
    margin-bottom: 3px;
    /*width: 100px;*/
}
.poster #carousel ul li a {
    display: block;
}
.poster #carousel ul li a img {
    width: 110px;
    height: 145px;
}

/*
## 投票用紙から選択
*/
.touhyouyoushi {
    position: relative;
    width: 106px;
    height: 200px;
    background: url(../img/touhyouyoushi.png);
    background-repeat: no-repeat;
}
.touhyouyoushi a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.touhyouyoushi span {
    position: absolute;
    left: 14px;
    top: 32px;
    writing-mode: tb-rl;
    direction: ltr;
    -ms-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -o-writing-mode: vertical-rl;
    /*font-weight: bold;*/
    color: #000000;
    font-size: 18px;
}
.touhyouyoushi span.small {
    left: 20px;
    top: 30px;
    font-size: 13px;
}
.touhyouyoushi span.x-small {
    left: 24px;
    top: 28px;
    font-size: 10px;
}
.touhyouyoushi span.xx-small {
    left: 24px;
    top: 28px;
    font-size: 9px;
}
.touhyouyoushi span.seitou-nasi {
    /*font-size: 16px;*/
    font-size: 10px;
    left: 17px;
}
.touhyouyoushi span.seitou-name {
    left: 37px;
    font-size: 10px;
}
.touhyouyoushi span.senkyo-mei-tate {
    left: 62px;
    font-size: 10px;
    top: 10px;
}
/* 確認画面 */
.touhyouyoushi.large {
    margin: auto;
    width: 234px;
    height: 475px;
    background: url(../img/touhyouyoushi-large.png);
}
.touhyouyoushi.large span {
    position: absolute;
    display: block;
    /*height: 100%;*/
    text-align: left;
    font-size: 46px;
    top: 78px;
    left: 38px;
}
.touhyouyoushi.large span.small {
    font-size: 33px;
    left: 52px;
    top: 70px;
}
.touhyouyoushi.large span.x-small {
    font-size: 25px;
    left: 60px;
    top: 71px;
}
.touhyouyoushi.large span.xx-small {
    font-size: 21px;
    left: 64px;
    top: 71px;
}
.touhyouyoushi.large span.seitou-nasi {
    /*font-size: 42px;*/
    /*left: 42px;*/
    font-size: 25px;
    left: 65px;
}
.touhyouyoushi.large span.seitou-name {
    font-size: 24px;
    left: 103px;
}
.touhyouyoushi.large span.senkyo-mei-tate {
    font-size: 24px;
    top: 34px;
    left: 164px;
    font-weight:normal;
}

/*
# 投票確認
*/
#confirm {
    display: table;
    width: 100%;
}

#confirm-back,
#confirm-plate,
#confirm-forward {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
#confirm a.btn {
    font-size: 38px;
    padding: 10px 20px;
}

/*
#投票後
*/
#confirm-plate-center {
    margin: 0 auto;
    width: 300px;
}

/*
# プログレスバー
*/
.progress-bar {
    position: relative;
    width: 100%;
    height: 20px;
    border: 1px solid #ffffff;
    background-color: #b2b2b2;
}
.progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 20px;
    background-color: #5E97D0;
}

/*
# 投票数表示
*/
#numofvotes {
    text-align: right;
    padding-right: 10px;
    padding-top: 10px;
}
#lblNumOfVotes {
    color: #ffff00;
    font-size: 30px;
    font-weight: bold;
    border: solid 2px #ffff00;
    padding: 5px;
}

/*
# ボタンカスタム
*/
#btnBlank {
    width: 130px;
    padding: 3px 20px;
    font-size: 18px;
    text-align: left;
}
.bnbtn {
    padding: 6px 10px;
    margin: auto 10px ;
    border-width: medium;
    border-color: red;
}