.alert-error {
    background-color: #f3c7c8;
    color: #d74548;
    border: medium none;
}

/*修正・削除アイコン*/
td.actions i {
    font-size: 18px;
}

/*テーブルで並び替え*/
.with-sort {
    display: table;
    width:100%;
}

.with-sort li{
    display: table-cell;
}

.sort-actions {
    text-align: right;
}
.sort-actions i {
    color: #8c8c8c;
}

/*必須アイコン*/
.required:after {
    content: "必須";
    background-color: #b90015;
    border-radius: 3px;
    font-size: 10px;
    margin-left: 5px;
    color:white;
    padding: 2px 8px;
    vertical-align: 20%;
    display: inline-block;
    text-align: center;
}

/*翻訳アイコン　等幅フォントの必要あり*/
a.translate-anchor, a.translate-with-label-anchor {
    font-family: Courier;
    color: #0063A2
}

textarea {
    resize: none;
}

/*入力フォームのhelp-block内で使う*/
.edit-form .help-block > .label, .panel-heading > .label {
    display: inline-block;
    width: 80px;
    height: auto;
    background-color: #000000;
    padding: 6px 10px;
    line-height: 120%;
    margin: 2px 0;
}

/*fancybox*/
.thumbnail {
    margin: 5px;
    width: 100px;
}

.change-show-langs-wrapper {
    overflow: hidden;
}

.change-show-langs-wrapper .change-show-langs {
    float: right;
}

.form-group .text {
    display: block;
    margin-top: 7px;
}

.form-actions {
    padding: 20px;
}

.error .form-control {
    border-color: #ed210e;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.table-responsive {
    margin-bottom: 7px !important;
}

@media (min-width: 1120px) {
    .no-btn-toolbar .btn-toolbar {
        display: none;
    }
}
@media (max-width:1119px) {
    .no-btn-toolbar .btn-toolbar {
        display: block;
    }
}

.table-bg-end, .table-bg-end td {
    background-color: #ccc !important;
}

/*一覧の検索入力フォーム*/
.panel-body > .search-items {
    padding-bottom: 20px;
}

/*テーブル内の修正・削除アイコン*/
.table .actions a {
    padding: 5px;
}
.table .fa-pencil {
    color: #29b6f6;
}

.table .fa-users {
    color: #00a100;
}

.table .fa-trash-o {
    color: #f05050;
}

.red {
    color: #f05050;
}

select.yearSelect {
    width: 90px;
    display: inline;
}
select.otherSelect {
    width: 63px;
    display: inline;
}

.translate-btn-wrapper {
    margin: 7px 2px;
}

/*ページング*/
.page {
}
.page-couner {
    padding: 10px;
}
.page-paging {
    text-align: right;
}

.page-paging .pagination {
    margin: 0;
}

.page-paging .pagination > .current > a {
    background-color: #f6f6f6 !important;
}

/*カラーピッカーのINPUTフォーム*/
input.color {
    width:120px;
}

/*メニュー*/
/* タブレット以上の画面 */
@media (min-width: 760px) {
    #top-menu .card {
        border-radius: 2px;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
        padding: 0px;
        width:100px;
        height:100px;
        /*background-color: white;*/
        cursor: move;
    }

    #top-menu .card-title{
        margin-top: 20px;
    }
    #top-menu .card-title A{
        padding: 2px;
    }
    #top-menu .card-body {
        padding: 10px;
        height: 33px;
    }
    #top-menu .card-body .card-icon {
        height: 55px;
    }
    #top-menu .card div {
        text-align:center;
    }
    #top-menu #unused-items {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
        overflow: hidden;
    }
    #top-menu #unused-items .item {
        float: left;
        margin: 5px;
    }
    #top-menu #used-items {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
        width: 440px;
        height: 220px;
        background-color: #dadada;
        overflow: hidden;
        border: solid 5px #dadada;
    }

    #top-menu .used-item {
        width:100px;
        height:100px;
        border: solid 5px #dadada;
        float: left;
    }

    #shop-menu .card {
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        padding: 0px;
        width:130px;
        height:130px;
        /*background-color: white;*/
        cursor: move;
    }

    #shop-menu .card-title A{
        padding: 2px;
    }
    #shop-menu .card-body {
        padding: 10px;
    }
    #shop-menu .card-body .card-icon {
        height: 85px;
    }

    #shop-menu .card div {
        text-align:center;
    }
    #shop-menu #unused-items {
        margin: 0px;
        padding: 0px;
        overflow: hidden;
    }
    #shop-menu #unused-items .item {
        float: left;
        margin: 5px;
    }
    #shop-menu #used-items {
        background-image: url("/img/shop_menu_frame.png");
        background-repeat:no-repeat;
        margin: 0px;
        padding: 10px;
        height: 150px;
    }

    #shop-menu #used-items .item {
        float: left;
        margin-right: 10px;

    }
}

.item {
    overflow: hidden;
    display: block;
}
#top-menu * {
    box-sizing: content-box;
}
.card-title a {
    color: #016fa7;
    text-shadow: none !important;
}
.card-title a:hover {
    border-bottom:2px #016fa7 dashed;
}

/* タブレット以下の画面 */
@media (max-width: 759px) {
    #top-menu .card {
        border-radius: 2px;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
        padding: 0px;
        width:70px;
        height:70px;
        /*background-color: white;*/
        cursor: move;
    }

    #top-menu .card-title{
        margin-top: 2px;
    }
    #top-menu .card-title A{
        padding: 1px;
    }
    #top-menu .card-body {
        padding: 2px;
    }
    #top-menu .card-body .card-icon {
        height: 45px;
    }
    #top-menu .card div {
        text-align:center;
    }
    #top-menu #unused-items {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
        overflow: hidden;
    }
    #top-menu #unused-items .item {
        float: left;
        margin: 3px;
    }
    #top-menu #used-items {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
        width: 306px;
        height: 153px;
        background-color: #dadada;
        overflow: hidden;
        border: solid 5px #dadada;
    }

    #top-menu .used-item {
        width:70px;
        height:70px;
        border: solid 3px #dadada;
        float: left;
    }

    #shop-menu .card {
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        padding: 0px;
        width:90px;
        height:90px;
        /*background-color: white;*/
        cursor: move;
    }

    #shop-menu .card-title A{
        padding: 1px;
    }
    #shop-menu .card-body {
        padding: 10px 10px 2px 10px;
    }
    #shop-menu .card-body .card-icon {
        height: 55px;
    }
    #shop-menu .card div {
        text-align:center;
    }
    #shop-menu #unused-items {
        margin: 0px;
        padding: 0px;
        overflow: hidden;
    }
    #shop-menu #unused-items .item {
        float: left;
        margin: 5px;
    }
    #shop-menu #used-items {
        background-image: url("/img/shop_menu_frame.png");
        background-repeat:no-repeat;
        margin: 0px;
        padding: 7px;
        height: 91px;
    }

    #shop-menu #used-items .item {
        float: left;
        margin-right: 8px;

    }
}


.disabled_color {
    color: #808080;
}

.header_alert {
    color: #000000;
    height: 25px;
    background: #ffa08a;
    border: 1px solid red;
    padding-top: 3px;
}

div.modal-header {
    border-bottom: 1px solid #eee;
    padding: 3px 15px;
}

.i18n-input-label .item-action {
    color: #0063a2;
}

/* 写真情報 */

#edit_photo .alert ul{
    font-size: 15px;
    padding: 15px;
}
#edit_photo ul{
    zoom: 1;
    font-size: 12px;
    margin: 0;
    padding: 0;
}
#edit_photo ul:after{
    content: '';
    display: block;
    clear: both;
}
.image_grid{
    cursor: default;
    width: 30%;
    margin: 0;
    padding: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    list-style: none;
    display:inline-block;
    vertical-align:top;
}
.image_grid .edit_photo_input{
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
#drag .image_grid{
    cursor: move;
}
@media (max-width: 1100px) {
    .image_grid{
        width: 50%;
    }
}
@media (max-width: 1020px) {
    .image_grid{
        width: 50%;
    }
}
@media (max-width: 767px) {
    .image_grid{
        width: 100%;
    }
    #drag .image_grid{
        cursor: default;
        display: block;
    }
}

a.blue {
    color: #0176b2;
}
a.blue:hover {
    color: #0176b2;
    text-decoration: underline;
}

.disabled_color {
    color: #808080;
}

/* テーブル背景色の調整 */
.table-bg-end,
.table-bg-end td{
    background-color: #ccc !important;
}

.table-bg-on,
.table-bg-on td{
    background-color: #fffdc0 !important;
}


.openModalCKEditor {
    color: #0063A2;
    margin-top: 30px;
    display: inline-block;
}


/*------------------------------------------------------------*/
/* よくある質問 */

.qa_body{
    background-color: #ffe9e9;
    padding: 15px;
    margin-bottom: 15px;
}

.qa_body p{
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
}

.qa_ul li{
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
}

.qa_ul li:first-child{
    margin-top: 0;
}

.help-cont{
    padding: 15px;
    background-color: #EEE;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.help-cont h4{
    font-weight: bold;
    line-height: 1.5;
    border-bottom: 1px solid #cccccc;
    margin: 5px 0 15px;
    padding: 0 0 15px;
}

.help-cont p{
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.help-cont p span.img{
    display: block;
    margin-bottom: 10px;
}

.help-cont p span.img img{
    border: 1px solid #ccc;
}

.help-cont p span.img img.mleft{
    margin-left: 10px;
}

.edit-form .help-block {
    position: relative;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ddd;
    color: #666;
    text-align: left;
}

.edit-form .help-block:before {
    content: "";
    position: absolute;
    top: -20px;
    left: 30px;
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px;
    border-color:transparent;
    border-bottom-color:#ddd;
    z-index: 0;
}

.edit-form .help-block.bottom:before {
    top: 100%;
    border-bottom-color:transparent;
    border-top-color:#ddd;
}

.edit-form .help-block > strong {
    text-align: left;
}

.edit-form .help-block > .label + span {
    margin: 2px 10px;
    text-align: right;
}

.alert-warning {
    color: #8a6d3b !important;
}

/* JS 生成 QR コード */

#qrcode canvas {
  display: none;
}


.form-horizontal .control-label {
    font-size: 1.2em;
}


.portlet-body.row {
    margin-right: 0;
    margin-left: 0;
}


.checkbox label {
    padding-top: 10px;
    padding-left: 0;
}

.upload-area {
    background-color: #fff;
    border-radius: 3px;
    padding: 5px 10px;
}

#portlet1 ul {
    padding: 0;
}

#portlet1 ul li{
    font-size: 2em;
    font-weight: 500;
    margin: 0;
    padding: 0;
    text-align: left;
}

#portlet1 .sum > div {
    font-size: 2em;
    font-weight: 500;
    text-align: left;
    line-height: 120%;
}

#portlet1 .sum > div.sum-title{
    padding: 0;
    margin: 0;
    line-height: 160%;
}

#portlet1 ul li i{
    font-size: 1.2em;
}
#portlet3 .sum {
    display: inline-block !important;
}
#portlet3 .sum-title,
#portlet4 .sum-title {
    font-size: 1em;
    width: 100% !important;
    text-align: left !important;
}

#portlet3 .sum-amount,
#portlet4 .sum-amount {
    display: inline-block;
    font-size: 1.4em;
    text-align: left !important;
    border-bottom: 2px solid #eee;
    padding: 10px 5px;
    width: 100%;
    text-align: left !important;
    margin-left: 0;
}
#portlet1 .category {
    margin: 10px 0;
    padding:0;
}
#portlet1  ul li .fa-android{
    color: rgba(164, 202, 57, 1);
}

#portlet1  ul li .fa-apple{
    color: rgba(0, 0, 0, 1);
}

#portlet1  ul li span,
#portlet1 div.sum-amount {
    display: inline-block;
    color: #fff;
    padding: 5px;
    min-width: 50px;
    height: auto;
    border-radius: 3px;
    text-align: center;
    line-height: 120%;
}

#portlet1 div.sum-amount {
    background-color: #b90015;
}

#portlet1  ul li .fa-android + span {
    background-color: rgba(164, 202, 57, 1) !important;
}
#portlet1  ul li .fa-apple + span {
    background-color: rgba(0, 0, 0, 1) !important;
}

.panel-footer button[type="submit"].btn-primary {
    width: 200px;
    height: auto;
    padding: 10px 5px;
    font-size: 1.2em;
}

.panel-footer button[type="submit"].btn-inverse {
    width: 200px;
    height: auto;
    padding: 10px 5px;
    font-size: 1.2em;
}

.upload-area input[type="text"] {
    font-size: 1.2em;
    margin-bottom: 8px;
}
@media (max-width: 1199px) {
    #portlet1 .sum {
        border-top: 2px solid #EEE;
        margin-top: 10px;
        padding-top: 10px;
    }
    #portlet1  ul li span,
    #portlet1 div.sum-amount {
        position: absolute;
        right: 0;
    }
}
@media (max-width: 1020px) {
    .fileupload .btn {
        width: 60%;
    }
}

@media (max-width: 400px) {
    .fileupload .btn {
        width: 100%;
    }
}

/* bootstrap color */

.btn-success {
    background-color: rgba(0, 137, 108, 1) !important;
    border: 1px solid rgba(0, 137, 108, 1) !important;
}

.btn-success:hover,
.btn-success:active,
.btn-success:focus  {
    background-color: rgba(0, 137, 108, .7) !important;
    border: 1px solid rgba(0, 137, 108, .7) !important;
}

.btn-primary {
    background-color: rgba(185, 0, 21, 1) !important;
    border: 1px solid rgba(185, 0, 21, 1) !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: rgba(185, 0, 21, .7) !important;
    border: 1px solid rgba(185, 0, 21, .7) !important;
}

.pdf-wrapper {
    width: 500px;
    height: 300px;
    margin-bottom: 20px;
}

#contentModal > .modal-dialog, #datePickerModal > .modal-dialog {
    width: 900px;
}

.temp-hidden {
    display: none;
}
