.hide{display:none !important;}
.hide-v{visibility:hidden;}
.fsize8{font-size: 80%;}
.fsize7{font-size: 70%;}
.fsize6{font-size: 60%;}
.fsize5{font-size: 50%;}
.fsize4{font-size: 40%;}

.ui-icon-tel {
	width:11px;
	height:11px;
	background-image: url("/assets/images/tel.svg");
	overflow: hidden;
    background-repeat: no-repeat;
	display: inline-block;
	margin:3px;
	vertical-align: middle;
}
@media(min-width: 768px){
	a[href^="tel:"]{
    pointer-events: none;
  }
}

/*margin sp only*/
@media screen and (max-width: 768px) {
  .hide-sp {
  	display:none !important;
  }
}
/****************************************
spinners
*****************************************/
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}
/****************************************
spinners
*****************************************/
#loading {
    width: 100%;
    height: 100%;
    z-index: 1060;
    position: fixed;
    background: rgba(255,255,255,1);
    opacity: 0.7;
    top:0px;
    display:none;
}
#loading.on {
    display:flex !important;
}
.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}
@keyframes spinner-border {
  to { transform: rotate(360deg); }
}
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-primary {
    color: #007bff !important;
}
/*
*/
/****************************************
Dialog
*****************************************/
/*
.modal{
	position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
	padding-right: 17px;
    transition: opacity 0.15s linear;
}
*/
.modal.show{
	display: flex;
/*	padding-right: 17px;**/
}
/*
.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: calc(5em / 2);
}
*/
.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}
/*
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
    height:calc(100vh - 5em);
}
.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
	cursor: pointer;
}
*/
/*
@media (min-width: 576px) {
    .modal-dialog-centered::before {
        height: calc(100vh - 3.5rem);
    }
}
*/
.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    content: "";
}
button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}
/*
.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.3rem 0.6rem;
    padding-right: 0.5rem;
}
.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0rem 1rem;
}
/*
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
    display:none;
}
*/
.modal-backdrop.show{
    display:block;
}
.modal-lg, .modal-xl {
	max-width: 95%;
}
.modal-dialog-centered {
    min-height: calc(100vh - 3.5rem);
}


.radius-lage{
	border-radius: 15px;
}
.btn_m.gray{
	padding: 0.5em 1.0em;
	background-color:#666666;
}
.btn_m.btn_frame{
	border:#666666 1px solid;
	color:#666666;
	font-size: 72%;
	background-color:white;
}
.btn-icon{
margin: -4px 10px 0 0;
}
.btn_m.icon{
	vertical-align: middle;
}
.i-cart:before{
	content: "";
	width: 15px;
	height: 15px;
	display: inline-block;
	background-size: contain;
	background-image: url("../images/cart.svg");
	vertical-align: middle;
	position: relative;
	background-repeat: no-repeat;
}

.i-trash:before{
	content: "";
	width: 20px;
	height: 20px;
	display: inline-block;
	background-size: contain;
	background-image: url("../images/trash.svg");
	vertical-align: middle;
	position: relative;
	background-repeat: no-repeat;
}

table.item-variation td{
	border:1px solid gray;
	padding: 3px 10px;
	text-align: center;
}

.i-grid:before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-image: url(../images/grid.svg);
    vertical-align: middle;
    position: relative;
    background-repeat: no-repeat;
}

.i-justify:before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-image: url(../images/justify.svg);
    vertical-align: middle;
    position: relative;
    background-repeat: no-repeat;
}

