/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's default mobile first theme
   ========================================================================== */

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
  -webkit-filter: blur(3px);
  filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
  background: rgba(000, 000, 000, 0.7);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
  -webkit-animation-name: remodal-overlay-opening-keyframes;
  animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
  -webkit-animation-name: remodal-overlay-closing-keyframes;
  animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */

.remodal-wrapper {
  /*padding: 10px 10px 0;*/
  width: 100%;
  height: 100%;
  text-align: left;
}

/* Default theme styles of the modal dialog */

.remodal_inner{
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.remodal {
  box-sizing: border-box;
  width: 100%;
  /*margin-bottom: 10px;*/
  /*display: flex;*/
  /*padding: 35px;*/

  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  color: #2b2e38;
  background: #fff;
}
.remodal .remodal_img{
	width: 50%;
	padding: 0 0 0 30px;
	box-sizing: border-box;
  margin: auto;
  display: table-cell;
  vertical-align: middle;
}
.remodal .remodal_img img {
  width: 100%;
  max-width: 640px;
  height: auto;
}
.remodal .remodal_text{
	width: 50%;
	padding: 30px;
	box-sizing: border-box;
	overflow-y: scroll;
	/*height: 600px;*/
	line-height: 1.5;
  display: table-cell;
  vertical-align: middle;
}
.remodal .brand_text {
  font-size: 20px;
  font-family: brown-bold;
  letter-spacing: .1rem;
  margin-bottom: 20px;
}
.remodal .item_title,
.remodal .item_title span{
	font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}
.remodal .item_title span.icon {
  margin: 0 0 0 5px;
}
.remodal .item_title span img {
  width: 100%;
  height: 100%;
  margin-top: -3px;
}
.remodal .price_text {
  font-size: 12px;
  font-weight: bold;
}
.remodal dl {
  margin: 30px 0;
}
.remodal dl dt {
  display: inline-block;
  float: left;
  width: 65px;
}
.remodal dl dd {
  width: auto;
}
.remodal .item_title span::after {
    left: 47.5%;
}
.remodal .lead_text{
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 20px;
}
.remodal .detail_text{
	text-align: left;
	margin-bottom: 30px;
}

.remodal .shop_list{
  margin-top: 20px;
	margin-bottom: 20px;
}
.remodal .shop_list ul li {
  float: left;
  padding-right: 10px;
  line-height: 2;
}
.remodal .shop_list ul li:after {
  content: "/";
  padding-left: 10px;
}
.remodal .shop_list ul li:last-child:after {
  display: none;
}
.remodal .kome_notice{
	display: block;
	margin-top: 5px;
}
.remodal .kome_notice{
	position: relative;
	font-size: 90%;
	padding-left: 1em;
	line-height: 1.5;
	text-align: left;
}
.remodal .kome_notice::before {
	content: '※';
	display: block;
	position: absolute;
	top: 0.1em;
	left: 0;
	width: 1em;
	height: 1em;
	font-size: 90%;
}
.remodal .kome{
	position: relative;
	padding-left: 1em;
	line-height: 1.5;
	text-align: left;
}
.remodal .kome::before {
	content: '※';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
}
.remodal .kome + .kome {
	margin-top: 5px;
}
.remodal .kome:last-child{
	margin-bottom: 30px;
}
.remodal .close_btn {
	display: none;
	position: relative;
	text-align: center;
	margin-top: 30px;
	margin-left: -15px;
}
.remodal .close_btn > span {
	position: relative;
	display: inline-block;
	vertical-align: 1;
	padding-right: 30px;
	cursor: pointer;
}
.remodal .close_btn > span > span {
	padding: 4px 0;
	font-size: 11px;
	letter-spacing: 1px;
	color: #2b2e38;
}
.remodal .close_btn > span ::before {
	position: absolute;
	width: 18px;
	height: 18px;
	content: "";
	background: url(/includes/artisan-day/assets/images/artisan/btn_close.png) no-repeat;
	background-size: contain;
	top: 2px;
	right: 0;
	bottom: 0;
	margin: 0 auto;
}

.remodal .close-btn,
.remodal .close-btn span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}
.remodal .close-btn {
	position: absolute;
	right: 2%;
	width: 40px;
	height: 40px;
	margin: 1.5rem 0px 0px 1.5rem;
}
.remodal .close-btn span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #404040;
}
.remodal .close-btn span:nth-of-type(1) {
	-webkit-transform: translateY(20px) rotate(-45deg);
	transform: translateY(20px) rotate(-45deg);
}
.remodal .close-btn span:nth-of-type(2) {
	top: 40px;
	-webkit-transform: translateY(-20px) rotate(45deg);
	transform: translateY(-20px) rotate(45deg);
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
  -webkit-animation-name: remodal-opening-keyframes;
  animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
  -webkit-animation-name: remodal-closing-keyframes;
  animation-name: remodal-closing-keyframes;
}

.remodal .sns {
  margin: 30px 0;
  overflow: hidden;
}
.remodal .sns span {
  font-family: brown-bold;
  font-size: 14px;
  letter-spacing: .14rem;
  display: inline-block;
  float: left;
  margin-right: 20px;
}
.remodal .sns ul li {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  float: left;
  height: 18px;
  width: 18px;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 10px;
}
.remodal .sns ul li a {
  display: block;
  width: 100%;
  height: 100%;
}




/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
  font: inherit;

  display: inline-block;
  overflow: visible;

  min-width: 110px;
  margin: 0;
  padding: 12px 0;

  cursor: pointer;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;

  border: 0;
  outline: 0;
}



/* Keyframes
   ========================================================================== */

@-webkit-keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes remodal-opening-keyframes {
  from {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    opacity: 0;
  }
  to {
    -webkit-transform: none;
    transform: none;

    opacity: 1;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@-webkit-keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes remodal-closing-keyframes {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);

    opacity: 1;
  }
  to {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;

    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes remodal-overlay-opening-keyframes {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes remodal-overlay-closing-keyframes {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Media queries
   ========================================================================== */
@media only screen and (min-width: 641px) {
  .remodal {
    /*max-width: 820px;*/
	/*margin: 8% auto;*/
	/*margin: 0 auto;*/
	width: 100%;
	height: 100%;
  }
  .remodal-head {
  	background: #eaeef7;
  	width: 100%;
  	height: 100px;
  }
  .remodal-body {
  	display: table;
  	clear: both;
  	background: #fff;
  	width: 100%;
  	height: calc(100% - 200px);
  }
  .remodal-foot {
  	background: #eaeef7;
  	width: 100%;
  	height: 100px;
  }
}
@media only screen and (max-width: 767px) {
	.remodal .close_btn {
		display: block;
	}
	.remodal .close-btn {
		display: block;
		position: absolute;
		right: 2%;
		width: 40px;
		height: 40px;
		margin: 10px 0 0 0;
	}
	.remodal-wrapper{
		padding: 0 !important;
		background: #FFF;
	}
	.remodal{
		display: block !important;
		margin-bottom: 0;
	}
	.remodal .remodal_img,
	.remodal .remodal_text{
		width: 100% !important;
    display: inherit;
	}
	.remodal .remodal_img {
    background: #eaeef7;
		/*width: 50%;*/
		padding: 30px 10px;
	}
	.remodal .remodal_text {
		/*width: 50%;*/
		padding: 10px;
		line-height: 1.75;
	}
	.remodal .remodal_text {
		overflow-y: auto !important;
		height: auto !important;
	}
  .remodal .brand_text {
    margin-bottom: 10px;
  }
  .remodal .item_title,
  .remodal .item_title span {
    margin-bottom: 0;
  }
  .remodal .item_title span img {
    margin-top: -5px;
  }
  .remodal dl {
    margin: 20px 0;
    display: inherit;
  }
  .remodal .remodal_text img {
		max-width: 320px;
		margin: 0 auto;
	}
	.remodal .kome {
		margin-bottom: 0;
	}

}

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
  background: #2b2e38;
}

.lt-ie9 .remodal {
  width: 700px;
}
