/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
.thickbox-back {
  overflow: hidden;
}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
  position: fixed;
  z-index:999999999!important;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
  background-color:#000000;
  filter:alpha(opacity=50);
  -moz-opacity: 0.50;
  opacity: 0.50;
}

* html #TB_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
  position: fixed;
  background: #ffffff;
  z-index: 999999999!important;
  color:#000000;
  display:none;
  border: 3px solid #000000;
  text-align:left;
  /*top:50%;
  left:50%;*/
  top: 5%;
  left: calc( 50% - 350px );
  height: 90%;
  margin: 0 auto!important;
  box-sizing: border-box;
  overflow-y: auto;
}

.ipad #TB_iframeContent {
  overflow: scroll;
}

.ipad2 #TB_iframeContent {
  overflow: scroll;
}

* html #TB_window { /* ie6 hack */
  position: absolute;
  margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
  display:block;
  margin: 15px 0 0 15px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #666;
  border-left: 1px solid #666;
}

#TB_caption{
  height:25px;
  padding:7px 30px 10px 25px;
  float:left;
}

#TB_closeWindow{
  height:25px;
  padding:11px 25px 10px 0;
  float:right;
}

#TB_closeAjaxWindow{
  padding:7px 10px 5px 0;
  margin-bottom:1px;
  text-align:right;
  float:right;
}

#TB_ajaxWindowTitle{
  float:left;
  padding:7px 0 5px 10px;
  margin-bottom:1px;
  display: none;
}

#TB_title{
  background-color:#efefef;
  height:32px;
}

#TB_ajaxContent{
  clear:both;
  /*overflow:auto;*/
  text-align:left;
  width: auto !important;
}

#TB_ajaxContent.TB_modal{
  padding:15px;
}

#TB_load{
  position: fixed;
  display:none;
  height:13px;
  width:208px;
  z-index:103;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
  position: absolute;
  margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
  z-index:99;
  position:fixed;
  top: 0;
  left: 0;
  background-color:#fff;
  border:none;
  filter:alpha(opacity=0);
  -moz-opacity: 0;
  opacity: 0;
  height:100%;
  width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
  clear:both;
  border:none;
  margin-bottom:-1px;
  margin-top:1px;
  _margin-bottom:1px;
  overflow: auto;
}

/********************
giftOptionSettingContent
*********************/
.giftOptionSettingContentBody {
  margin:10px auto;
  width:470px;
}
.giftOptionSettingContentBody .attention {
  font-size:11px;
  font-weight:normal;
  color:#cc0000;
}
.giftOptionSettingContentBody .giftsetting_title_block{
  text-align:right;
  margin-bottom:5px;
}
.giftOptionSettingContentBody .select-table {
  border:1px #ddd solid;
}
.giftOptionSettingContentBody .select-table th,
.giftOptionSettingContentBody .select-table td{
  border-top:none;
}
.giftOptionSettingContentBody .select-table th{
  width:30%;
  background-color:#efefef;
  vertical-align:middle;
}

.giftOptionSettingContentBody .select-table td span input{
  float:left;
  margin:3px 5px 0 0;
}

.giftOptionSettingContentBody .entry-table{
  border-bottom:solid 1px #ddd;
}

.giftOptionSettingContentBody .entry-table th{
  text-align:left;
  padding:12px 0;
  vertical-align:middle;
}
.giftOptionSettingContentBody .entry-table td{
  padding:12px 10px;
}
.giftOptionSettingContentBody .entry-table select{
  margin-bottom:0;
}
.giftOptionSettingContentBody .entry-table label{
  padding-top:0;
}

.giftOptionSettingContentBody .entry-table span label{
	float: left;
	margin: 0 10px 0 0;
}

.giftOptionSettingContentBody .entry-table span label input{
	margin:0 5px 0 0;	
}


.giftsetting_foot_block{
  text-align:center;
}


/***************/
div.cart_giftoption_block  {
  clear:both;
  padding:3px 0 0 0; margin:3px 0 0 0;
  width:100%;
  border-top:1px #CCCCCC dotted;
}

div.cart_giftoption_block div {
  padding:0; margin:0;
  width:100%;
  font-size:12px;
  line-height:1.1;
  color:#505050;
  position:relative;
  height:20px;
}

div.cart_giftoption_block div span.icon_gift {
  display:block;
  background-image:url(/_common/images/detail/icon_gift_01.gif);
  background-position:0 0;
  background-repeat:no-repeat;
  padding:0 0 0 20px;
  position:absolute;
  left:60px; top:0px;
  width:136px;
  height:20px;
  line-height:1.3;
  text-align:left;
  }
  
div.cart_giftoption_block div span.icon_noshi {
  background-image:url(/_common/images/detail/icon_noshi_01.gif);
  background-position:0 0;
  background-repeat:no-repeat;
  padding:0 0 0 19px;
  position:absolute;
  left:95px; top:0px;
  width:130px;
  height:20px;
  line-height:1.3;
  text-align:left;
  }
  
div.cart_giftoption_block div span.setting {
  padding:0;
  position:absolute;
  right:0; top:0px;
  width:65px;
  height:20px;
  text-align:right;
  }
  
div.cart_giftoption_block div span.setting a {
  color:#007700;
  }
  
div.cart_giftoption_block div span.confirm {
  padding:0;
  position:absolute;
  right:60px; top:0px;
  width:60px;
  height:20px;
  text-align:right;
  }
  
div.cart_giftoption_block div span.confirm a {
  color:#007700;
  }


/********************
noshiPreviewContent
*********************/
body.noshi_preview_main {
  background-color:#EFEFEF;
}
div.noshi_preview_block  {
  width:100%;
}
div.noshi_preview_block div {
  padding:0;
  margin:0;
  font-size:12px;
  line-height:1.1;
  color:#505050;
  position:static;
}
div.noshi_preview_block div.messagesError {
  display:block;
  padding:15px 15px 7px;
  margin: 5px 15px 0;
  width:90%;
  text-align:left;
}
div.noshi_preview_block div.btn_head {
  padding:5px 0 0 0;
  margin:5px 0 0 0;
  height:10px;
  font-size:14px;
}
div.noshi_preview_block div.attention_head {
  padding:0 0 0 0;
  height:18px;
  color:#DC0303;
  font-weight:bold;
}
div.noshi_preview_block div.preview_image img {
  border:solid 1px #505050;
}
div.noshi_preview_block div.attention {
  margin:5px 0 0 0;
  color:#DC0303;
  font-size:12px;
}
div.noshi_preview_block div.fontsample {
  font-size:12px;
  text-align:right;
}
div.noshi_preview_block div.btn_foot {
  padding:5px 0 0 0;
  height:20px;
  font-size:14px;
}
div.noshi_preview_block div span {
  display:inline;
  margin:0 10px 0;
}
div.noshi_preview_block div span a {
  color:#007700;
}


.giftOptionSettingContentBody h2 {
color: #333132;
font-size: 14px;
margin: 0 0 10px;
padding: 0 0 8px;
font-weight: bold;
float: left;
}


.giftOptionSettingContentBody .giftsetting_title_block {
text-align: right;
margin-bottom: 5px;
border-bottom: 2px solid #f2f3f3;
padding-bottom: 5px;
}

@media( max-width: 767px ) {
#TB_window {
    width: 95%!important;
    height: 95%;
    max-width: 100%!important;
    top: 2.5%;
    left: 2.5%;
}
#TB_ajaxContent {
    padding: 0 10px;
}
.giftOptionSettingContentBody {
    width: auto;
}
.giftOptionSettingContentBody .entry-table td {
    padding: 12px 0;
}
.giftOptionSettingContentBody .row-fluid .span6 span {
    display: block;
}
.giftOptionSettingContentBody .row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 50%;
    padding: 0 5px;
    margin-left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.giftOptionSettingContentBody .row-fluid input[type="text"] {
    width: 90%;
}
}

/* ----------
    DH_FRONT_DEPT-7831 【CONRAN】：10/8（金）：時間指定なし：商品詳細ページ内の熨斗設定ページ文言変更依頼
---------- */

.giftsetting_foot_block p {
  text-align: left;
}
.noshi-select {
  display: table;
}
.noshi-select .manners-links {
  display: table-cell;
  padding-left: 15px;
  vertical-align: bottom;
}
.noshi-select .radio.inline {
  padding-top: 0;
}