/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

/*******************************
ここより下は外注
********************************/

/**投稿のコメントの返信ボタンのレイアウト**/
a.bpbm-pm-button.reply {
	margin: 9px auto 2px auto;
	border-radius: 3px;
	font-size: 11px;
	line-height: 14px;
	text-align: center;
	width: 100%;
	padding: 1px 5px;
	cursor: default;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: row;
}

a.bpbm-pm-button.reply,
a.bpbm-pm-button.reply:hover {
	padding: inherit!important;
}

/**ベンダーダッシュボードの注文詳細の返信ボタンのレイアウト**/
a.bpbm-pm-button.order-details {
	padding:15px;
	text-align: center;
	width: 100%;
	border-radius: 4px;
	font-size: 16px;
    font-weight: 600;
	background-color:#dc9814;
}

a.bpbm-pm-button.order-details:hover {
	padding:15px;
	text-align: center;
	width: 100%;
	border-radius: 4px;
	font-size: 16px;
    font-weight: 600;
	background-color:#d7991e;
}

/** ベンダーダッシュボードの出品管理/注文管理のリストの幅調整 **/
.dokan-orders-area form.dokan-form-inline.e-con, 
.e-con.dokan-dashboard-product-listing-wrapper{
	max-width: var(--content-width);
	display: block;
	margin: 0 auto;
}

/** ベンダーダッシュボードの出品管理/注文管理のリストのスクロールバーを削除**/
@media (max-width: 1199px) {
	.dokan-dashboard .dokan-dashboard-content .dokan-table {
		overflow: auto;
	}
}

/**コメントフォームエリアの幅調整**/
.comments-area #wpdcom {
    max-width: 100%;
}

/**コメントクローズ時の注釈デザイン**/
.comment-closed {
	text-align: center;
	padding: 10px;
	background: #818181;
	color: #fff;
}

/**ダッシュボードでの、募集管理のコントロールボタン レイアウト**/
.comment-control {
    padding: 5px 10px !important;
	width:100%;
    border-radius: 5px;
    font-size: 1em;
    display: inline-block;
    color: #fff;
    background-color:#b5b5b6;
}

.comment-control.closed {
   color:#fff;
   text-align: center;
}

.comment-control.cancel {
    border-color: #C00202;
    color:#fff;
    background-color:#3e3a39;
}

.comment-control.cancel:hover {
    border-color: #C00202;
    color:#fff;
    background-color:#3e3a39;
	opacity:0.8;
}

.comment-control.active:hover {
    background: #f03939;
	opacity:0.8;
}

.comment-control.active {
    background: #f03939;
}

/**チャットのbackボタンと新規作成ボタンを非表示 **/
.chat-header a.back,
.chat-header.side-header a.new-message {
    display: none;
}
.chat-header a.new-message {
    display: none;
}
/*******************************
ここより上は外注
********************************/


/*フォーム関係のフォントサイズ指定*/
input, textarea, select {
  font-size: 16px!important;
}

/*ヘッダーのメニューアイコンを丸くする*/
.gravatar.avatar.avatar-40.um-avatar.um-avatar-default,.gravatar.avatar.avatar-40.um-avatar.um-avatar-uploaded,.avatar.avatar-40.photo{
  width: 28px;
  height: 28px;
  webkit-border-radius: 50%;
  -moz-border-radius: 50%; 
  -ms-border-radius: 50%; 
  -o-border-radius: 50%; 
  border-radius: 50%;
}

/*姓・名は使用しない*/
#billing_first_name_field{
    display: none;
}
.woocommerce-form-row.woocommerce-form-row--first.form-row.form-row-first,
.woocommerce-form-row.woocommerce-form-row--last.form-row.form-row-last,
.form-row.form-row-first,
.form-row.form-row-last{
    display: none;
}

/*Dokanダッシュボードの不要項目非表示*/

.dokan-dash-sidebar{
    display: none;
}

ul.dokan-listing-filter.dokan-left.subsubsub,
.list-inline.order-statuses-filter.subsubsub{
    display: none;
}
div.dokan-w12,.dokan-order-filter-serach{
    display: none;
}
select#bulk-product-action-selector.dokan-form-control.chosen{
    display: none;
}
input#bulk-product-action.dokan-btn.dokan-btn-theme{
    display: none;
}
th#cb.manage-column.column-cb.check-column{
    display: none;
}
th.dokan-product-select.check-column,
.dokan-order-select.check-column{
    display: none;
}
a.visit-store.group.skip-color-module.flex.items-center.text-sm.gap-2.font-medium{
    display: none;
}
textarea#post-excerpt.dokan-form-control{
    display: none;
}
button.dokan-btn.dokan-btn-default.dokan-btn-theme{
    display: none;
}
div.content-half-part.downloadable-checkbox,
.content-half-part.virtual-checkbox,
.dokan-product-short-description,
.dokan-product-inventory.dokan-edit-row,
.dokan-left.dokan-order-billing-address,
.dokan-left.dokan-order-shipping-address {
    display: none;
}
select#_visibility.dokan-form-control,
.order_note_type.dokan-form-group{
    display: none;
}
div.dokan-w4.dokan-order-right-content,
.dokan-w8.dokan-order-left-content{
  width: 100%;
}
input#dokan-add-tracking-number.dokan-btn.dokan-btn-success{
    display: none;
}
div#dokan-bulk-action-selector.dokan-form-group{
    display: none;
}
div#dokan-bulk-action-submit.dokan-form-group{
    display: none;
}

li.dokan-common-links.dokan-clearfix{
    display: none;
}


.dokan-dash-sidebar,.dokan-dashboard-menu{
   background-color:#222E3D!important;
	}

@media screen and (min-width: 769px) {
  .dokan-dash-sideba{
    display: none;
  }
}


/*Dokanベンダーになるを非表示*/
ul.dokan-account-migration-lists{
    display: none;
}

/*UltimateMember編集歯車アイコンを非表示*/
.um-faicon-cog{
    display: none;
}

/*UltimateMemberマイページ写真のリンク無効化*/
a.um-profile-photo-img{
    pointer-events: none;
}

/*Userfrontendのh2-page-headを非表示*/
.colour{
    display: none;
}

/*ヘッダー、タイトル関係非表示*/
.page-id-13 .entry-header{
    display: none;
}
.page-id-7232 .entry-header{
    display: none;
}

/*ボタン関係中央寄せ*/
li.wpuf-submit{
   text-align: center;
}

/*Dokan商品作成ボタン非表示*/
div.product-listing-top.dokan-clearfix{
    display: none;
}

/*Dokan商品作成編集画面のカテゴリ非表示*/
span.dokan-add-new-cat-box.cat_box_for_edit_product{
    display: none;
}
/*Dokanレビュー受付選択非表示-Enable product reviews-*/
input#_enable_reviews{
    display: none;
}
/*Dokanデータリンク無効化*/
td.post-date{
    pointer-events: none;
}

/*WooCommerceタブ非表示*/
ul.tabs.wc-tabs{
    display: none;
}

/*WooCommerce商品ページ（BetterMessageボタン調整）*/
button.bm-lc-button.dokan-btn.dokan-btn-theme.dokan-btn-sm{
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
}
/*WooCommerce再注文ボタン非表示*/
p.order-again{
    display: none;
}
/*WooCommerceバリエーション、数量を注文ページ、チェックアウトから非表示*/
dl.variation,.product-quantity{
    display: none;
}

/*BetterMessages送信先入力関係を非表示、ノーリンク処理*/
svg.css-8mmkcg{
    display: none;
}
div.bm_user_selector__control.css-13cymwt-control,.thread-info{
    pointer-events: none;
}
/*BetterMessagesテキストコピー非表示*/
span.bpbm-more{
    display: none;
}

/**商品ページの質問ボタンのレイアウト**/
a.bpbm-pm-button.order-faq {
	padding:14px!important;
	text-align: center;
	width: 100%;
	border-radius: 4px;
	font-size: 16px;
    font-weight: 600;
	color:#323232!important;
	background-color:#fff!important;
	border: solid 1px #323232;
}

/**商品ページの質問ボタンのレイアウト**/
a.bpbm-pm-button.order-faq-sp {
	padding:10px!important;
	text-align: center;
	width: 100%;
	border-radius: 4px;
	font-size: 16px;
    font-weight: 600;
	color:#2A8944!important;
	background-color:#fff!important;
	border: solid 1px #2A8944;
}

/**Woocommerceマイアカウント関連**/
.woocommerce-MyAccount-navigation{
    display: none;
}
.woocommerce-MyAccount-content{
  width: 100%;
}
/**SimpleMembershipフォーム幅**/
input.swpm-form-field{
	width: 100%!important;
}
/**SimpleMembership不要なフォーム項目非表示**/
.swpm-form-row.swpm-firstname-row,
.swpm-form-row.swpm-lastname-row,
.swpm-form-row.swpm-phone-row,
.swpm-form-row.swpm-street-row,
.swpm-form-row.swpm-city-row,
.swpm-form-row.swpm-state-row,
.swpm-form-row.swpm-zipcode-row,
.swpm-form-row.swpm-country-row,
.swpm-form-row.swpm-company-row,
.swpm-form-row.swpm-membership-level-row,
.swpm-profile-account-delete-section{
    display: none;
}

/**SimpleMembershipアカウント更新ボタン**/
button.swpm-submit.swpm-profile-submit-button.swpm-submit-btn-default-style{
	padding:12px;
	text-align: center;
	width: 100%;
	border-radius: 4px;
	color:#fff;
	font-size: 16px;
    font-weight: 500;
	background-color:#dc9814;
}

/**SimpleMembership定期購読ボタン**/
form.swpm-cancel-subscription-form{
	text-align: right;
}
button.swpm-cancel-subscription-button.swpm-cancel-subscription-button-active{
	background-color:#fff;
	color:#222E3D;
}

/**Woocommerce注文履歴のステータス非表示**/
th.woocommerce-orders-table__header.woocommerce-orders-table__header-order-status{
    display: none;
}
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status{
    display: none;
}

/**Woocommerce商品タイトルを１行表示**/
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link{
display: block;                /* ブロック要素として設定 */
width: 100%;                   /* 親要素に合わせた幅設定 */
overflow: hidden;             /* 溢れた部分を隠す */
text-overflow: ellipsis;      /* 溢れた部分に「...」を表示 */
white-space: nowrap;          /* テキストを一行に制限 */
word-break: break-word;   /* 長い単語や記号が正しく改行されるように設定 */
overflow-wrap: break-word; /* 長い単語や記号が正しく改行されるように設定 */
}

/**Woocommerce商品数を非表示**/
p.woocommerce-result-count{
    display: none;
}

/**WPUF投稿ボタンサイズ調整**/
input.wpuf-submit-button.wpuf_submit_7210{
    width:100%!important;
}

/**スマホ時にテーブルを横スクロールさせない**/
@media (max-width: 767px) {
.post_content .s_table{overflow: unset!important;white-space: normal!important;}
}

/**メッセージ通知アイコン**/
.bp-better-messages-unread.bpbmuc.bpbmuc-hide-when-null{
    background-color:red!important;
	padding-bottom:5px!important;
}

/**ul,il非表示**/
ul{padding-left:0;}
li{list-style:none;}

/**bbpress関係**/
.page-id-7235 .bbp-pagination,
.bbp-topic-freshness,
.woocommerce-breadcrumb{
    display: none;
}
textarea#bbp_topic_content.bbp-the-content{
    width:100%!important;
}
.bbp-reply-form,
.bbp-topic-started-in,
.bbp-admin-links,
.bbp-footer,
.form-allowed-tags,
.bsp-center,
.bbp-pagination-count,
.bbp-template-notice.bsp-template-notice.error{
    display: none;
}
.bbp-reply-permalink{
    pointer-events: none;
}
div.bbp-template-notice.info{
    background-color:#F1FFF5;
}
.page-numbers.current,.page-numbers,.next.page-numbers{
	font-size:16px!important;
	font-weight:400!important;
	padding:7px 10px 7px 10px!important;
}

/**テーマヘッダー下非表示-大丈夫か？**/
div.col-full-nav{border-color:#fff!important;}

/**woocomeerce,dokanアカウント編集フォーム**/
form.edit-account{
    width:95%!important;
    display: block;
    margin-left: 3%!important;
	margin-right: 3%!important;
	overflow-x: hidden!important;
}

/**ベンダーアカウント編集画面**/
.page-id-7235 .entry-title{
    display: none;
}
input.dokan-btn.dokan-btn-theme{
	background-color:#35B157;
	border:none;
}
input.dokan-btn.dokan-btn-theme:hover{
	background-color:#2A8944;
	text-align:center;
	border:none;
}

