/*
 Theme Name:   Themify Basic Child
 Theme URI:    https://themify.me/themes/basic-child/
 Description:  Themify Basic Child Theme
 Author:       NSW
 Author URI:   http://www.themify.me
 Template:     basic
 Version:      1.0.0
 License:      GNU General Public License v2.0
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         featured-images, translation-ready, custom-menu
 Text Domain:  themify-basic-child
*/

body {
	font-family: Kosugi, Meiryo, メイリオ, Arial, Helvetica, sans-serif;
	font-weight: 400;
}

#content {
	padding: 0;
	margin: 0;
}

#headerwrap, #footerwrap, #sidebar {
	display: none;
}

.pagewidth {
	width: auto;
    max-width: 100%;
}

.post-content > time, .post-content > .post-title, .post-content > .post-meta {
	display: none;
}
.builder-posts-wrap .post-content > time,
.builder-posts-wrap .post-content > .post-title,
.builder-posts-wrap .post-content > .post-meta {
	display: block;
}

#tb_plus_btn_popover > .tb_module_panel_tab {
	height: auto!important;
}

#tb_plus_btn_popover > .tb_module_panel_modules_wrap {
	height: 105%;
	display: none;
}
#tb_plus_btn_popover > .tb_module_panel_rows_wrap {
	height: auto;
	padding-bottom: 10px;
	display: block;
}
#tb_plus_btn_popover > .tb_module_panel_library_wrap {
	height: auto;
	padding-bottom: 10px;
	display:none;
}
#tb_plus_btn_popover .tb_predesigned_rows_container {
	overflow-y: hidden!important;
	height: 340px;
	border-top: solid 0.5px rgba(0,0,0,0.4);
	border-bottom: solid 0.5px rgba(0,0,0,0.4); 
	margin:1px;
	padding:3px;
}

#builder_progress {
	display: block!important;
}

.tb_toolbar_import {
	display: none!important;
}
.tb_toolbar_import + .tb_toolbar_divider {
	display: none!important;
}

.tb-text-less-link:after, .tb-text-more-link:after {
    font-family:'FontAwesome';
    padding-left:.5em;
    text-decoration:none;
    font-size:1.2em;
    vertical-align:bottom;
}

.tb-text-more-link:after {
    content:'\f107'; /* ti-align-bottom */
}
.tb-text-less-link:after {
    content:'\f106'; /* ti-align-up */
}

.tb_module_outer.tb-module-menu {
	display: none!important;
}
.role-administrator .tb_module_outer.tb-module-menu,
.role-product .tb_module_outer.tb-module-menu {
	display: block!important;
}

body.themify_builder_active span.edit-button {
    display: none;
}

span[data-post-empty] {
    display:none;
}

body.themify_builder_active span[data-post-empty] {
    display:inline;
}

.tb_options_row_hover > ul > li:nth-child(3) {
    display: none;
}

.role-super_admin .tb_options_row_hover > ul > li:nth-child(3),
.role-administrator .tb_options_row_hover > ul > li:nth-child(3),
.role-product .tb_options_row_hover > ul > li:nth-child(3) {
    display:  flex;
}

.module-image .image-wrap img,
.module-slider .slide-image img,
.module-gallery .gallery-item img,
.module-testimonial-slider .testimonial-image img {
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.tb_preview_only .tb_row_empty.module_row {
    border: none;
}

.tb_preview_only .tb_holder {
    display: block;
    height: auto;
}

.tb_field.source_timeline {
    display: none;
}


/* hide desktop */
@media (min-width:1025px){
    body:not(.themify_builder_active) .hide-desktop{
        display:none !important;
    }
}
/* hide tablet */
@media (min-width:681px) and (max-width:1024px){
    body:not(.themify_builder_active) .hide-tablet{
        display:none !important;
    }
}
/* hide mobile */
@media (max-width:680px){
    body:not(.themify_builder_active) .hide-mobile{
        display:none !important;
    }
}
.module-menu .nav.transparent li, .module-menu .nav.transparent > li > a {
    background: none;
    border: none;
    box-shadow: none;
    color: inherit;
}
.ui.nav li {
    display: inline-block;
    margin-right: -.3em;
    position: relative;
}
.module-buttons .module-buttons-item.buttons-fullwidth, .module-buttons .module-buttons-item.buttons-fullwidth a {
    box-sizing: border-box;
    margin-left: 0;
    width: 100%;
    text-align: center;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
}

.tb2.grid-layout-3-2-3-1 {
    display: none!important;
}
/*
.themify_builder:not(.themify_builder_admin) .module_column > .tb-column-inner {
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: wrap;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
}
*/

.module-pvrank .tb_module_actions .tb_save_component,
.module-recommend .tb_module_actions .tb_save_component,
.module-taglist .tb_module_actions .tb_save_component,
.module-search .tb_module_actions .tb_save_component,
.module-search .tb_module_actions .tb_module_styling,
.module-sns .tb_module_actions .tb_save_component,
.module-sns .tb_module_actions .tb_module_styling,
.module-sns-gadget .tb_module_actions .tb_save_component,
.module-sns-gadget .tb_module_actions .tb_module_styling {
    display: none;
}