html {
    width: 100%;
    min-height: 100%;
    overflow: visible;
}

body {
    width: 100%;
    min-height: 100%;
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 20px;
    color: #374151;
    font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    overflow: visible;
}

@media screen and ( max-width:1920px ) {
    body {
        font-size: 18px;
    }
}

@media screen and ( max-width:1024px ) {
    body {
        font-size: 16px;
    }
}

@media screen and ( max-width:560px ) {
    body {
        font-size: 14px;
    }
}

main {
    width: 100%;
}

label {
    font-weight: bold;
}

.asterisk:before {
    content: '*';
    color: #e40000;
}

a {
  color: #0d6efd;
  text-decoration: inherit;
}

ul {
    padding :0;
}

header ul li {
    cursor: pointer;
}

.btn,
button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button; /* 1 */
    background-image: none; /* 2 */
    font-weight: bold;
    padding: 0.5rem 2rem;
    border: #C2DCD3 solid 2px !important;
    border-radius: 10px !important;
    opacity: 0.9;
    box-sizing: border-box;
    transition: 0s;
    box-shadow: 1px 1px 2px #333 !important;
    -webkit-transform: translate( 1px, 2px );
    -moz-transform: translate( 1px, 2px );
    transform: translate( 1px, 2px );
}

.btn:hover,
button:hover,
[type='button']:hover,
[type='reset']:hover,
[type='submit']:hover {
    color: #C2DCD3 !important;
    opacity: 1;
    font-weight: bold;
    box-shadow: 2px 2px 8px #333 !important;
}

.btn:focus,
button:focus,
[type='button']:focus,
[type='reset']:focus,
[type='submit']:focus {
    transition: 0s;
    box-shadow: 2px 2px 8px #333 !important;
    background-image:  none !important;
}

input[type=file] {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    height: 100%;
    cursor: pointer;
}

input::placeholder ,
textarea::placeholder {
    color: #c3c3c3;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.font-weight-bold {
    font-weight: bold;
}

select.placeholder {
    color: #6c757d;
}

.row {
    margin: 0px;
}

.user-name {
    position: relative;
    width: auto;
    margin-left: auto;
    cursor: pointer;
}

nav  p.leading-5 {
    display: none;
}

table.border-table tbody.action-table ,
table.border-table tbody.action-table tr ,
table.border-table tbody.action-table tr td {
    border-width: 1px;
    border-color: #333;
}

table.selectable-table tbody.action-table {
    cursor: pointer;
}

table.selectable-table tbody.action-table:hover {
    background-color: #c5e6e9;
}

.w-6 {
    width: 6rem;
}

/***********************
  * 
  * pagenation
  *
***********************/
.pagination .ease-in-out {
    color: #00b6df;
    font-weight: bold;
}


/***********************
  * 
  * fontawesome
  *
***********************/
i.fas {
    cursor: pointer;
}

/***********************
  * 
  * ユーザー登録
  *
***********************/
#register .form-group {
    margin-top: 15px;
}

.user-index-table {
    width: 100%;
}
.user-index-table .table-row:hover {
    background-color: #44c7fb;
}

.user-index-table td {
    padding: 0.25rem 0.5rem 0.25rem 0.25rem;
    user-select: none;
}

.user-index-table tr.odd {
    background-color: #daf0f9;
}

.user-index-table tr.even {
    background-color: #cfe4ed;
}


/***********************
  * 
  * 商品登録
  *
***********************/
.product-contents .uploaded-image {
    position:relative;
    display: inline-block;
}

.product-contents .uploaded-image .image-area {
    position: relative;
    width: 29%;
    margin-right: 1%;
}

.product-contents .uploaded-image .image-box {
    width: 20%;
    position: relative;
}

.product-contents .uploaded-image .image-box img {
    width: 100%;
    margin-bottom: 0.5rem;
}

.product-contents .uploaded-image .image-box i {
    position: absolute;
    top: 10px;
    right: 25px;
    width: 1rem;
    height: 1rem;
    color: #333;
    opacity: 0.6;
}

.product-contents .uploaded-image .image-box:hover i ,
.product-contents .image-area:hover i {
    opacity: 1;
    transform: scale(1.3,1.3);
}

.product-lists {
    margin-bottom: 0.5rem;
}

.product-lists .product-name {
    width: 14rem;
}

.supplier-lists {
    margin-bottom: 0.5rem;
}

.supplier-lists .supplier-name {
    width: 14rem;
}

.quantity ,
.tax {
    width: 5rem;
}

.package-dialog {
    width : 60% !important;
    padding-bottom: 3rem;
    overflow: visible;
}
@media screen and (max-width:768px){
    .package-dialog {
        width : 90%  !important;
    }
}

.package-dialog #search_product_area img {
    height: 5rem;
}

.package-dialog .product-items .form-inline {
    width: 7rem;
}

@media screen and (max-width:768px){
    .package-dialog #search_product_area .quantity {
        margin-bottom: 1rem;
    }
}

/***********************
  * 
  * 商品種別登録
  *
***********************/
#division_tree_area li > ul {
    padding-left: 2rem;
}

#division_tree_area ul li {
    cursor: pointer;
}

#division_edit_dialog button {
    width: 180px;
    margin-top: 5px;
}

.new-order-area {
    width: 70%;
}
@media screen and (max-width:1024px){
    .new-order-area {
        width: 80%;
    }
}
@media screen and (max-width:768px){
    .new-order-area {
        width: 100%;
    }
}

/***********************
  * 
  * 商品の発注
  *
***********************/
.orders-arrived {
    background-color: #9bffd5;
}

.orders-orderd {
    background-color: #f3df98;
}

.shop-search-area {
    width: 70%;
}
@media screen and (max-width:1024px){
    .shop-search-area {
        width: 80%;
    }
}
@media screen and (max-width:768px){
    .shop-search-area {
        width: 100%;
    }
}
/***********************
  * 
  * 仕入先登録
  *
***********************/
#supplier_tree_area li > ul {
    padding-left: 2rem;
}

#supplier_tree_area ul li {
    cursor: pointer;
}

#supplier_tree_area button {
    width: 180px;
    margin-top: 5px;
}


/***********************
  * 
  * 店舗商品発注
  *
***********************/
.orders-lists .order-item {
    padding: 2rem;
    border-radius: 10px !important;
}

.purchas-dialog .quantity ,
.purchas-dialog .price {
    font-weight: normal;
}


/***********************
  * 
  * 仕入れ管理
  *
***********************/
.orders-lists .devide-quant {
    color : #e93737;
}


/***********************
  * 
  * フッター
  *
***********************/
.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  text-align: center;
  height: 5rem;
  padding: 1rem;
}


/***********************
  * 
  * ダイアログ
  *
***********************/
.ui-dialog {
    min-width: 250px;
}

.ui-widget {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.ui-dialog .ui-dialog-buttonpane {
    padding: 0.3em 0.4em 0.5em 1em
}

.ui-dialog .ui-dialog-buttonpane button {
    border: solid 1px #aaa;
}

.ui-datepicker.hide-today-button .ui-datepicker-current {
    display: none;
}

.ui-dialog .centering_area {
    display: flex;
    align-items: center;
    justify-content: center;
}
