/*
 Theme Name:   DetailX Child Theme
 Theme URI:    https://detailx.ancorathemes.com/
 Description:  DetailX Child Theme
 Author:       AncoraThemes
 Author URI:   https://ancorathemes.com/
 Template:     detailx
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  detailx
*/


/* =Theme customization starts here
------------------------------------------------------------ */

.gallery-h .post_featured > a {
	display: none;
}


#wpcf7-f33097-o1 textarea,
#wpcf7-f6501-o1 textarea {
    height: 50px;
    resize: vertical; /* user can resize */
}

.table-def .sticky {
	padding: 0 !important;
}

.table-def .pointer-events-none {
	border: 0 !important;
}

/* ===== TABLE BASE STYLE ===== */
.custom-auto-table {
    width: 100%;
    border-collapse: collapse;
}


.elementor-tab-content th {
	text-align: left !important;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
	margin-left: 0;
	margin-right: 10px;
}

.wpcf7-checkbox {
    margin-top: 20px;
    display: block;
}

.wpcf7-checkbox span.wpcf7-list-item-label {
	font-size: 16px;
}

.custom-auto-table .column-1 {
	width: 42%;
}

.wpcf7-list-item {
	display: table;
	margin: 0 0 0 1em;
	margin-left: 0;
	margin-right: 10px;
}

.wpcf7-form-control.wpcf7-checkbox,
.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
}

.wpcf7-list-item {
    width: 50%; /* 2 columns */
    margin: 0 0 10px 0;
}

.sc_item_filters_align_left .sc_item_filters_tabs, .sc_item_filters_align_right .sc_item_filters_tabs {
    max-width: 100%;
}

.sc_layouts_menu_popup .sc_layouts_menu_nav, .sc_layouts_menu_nav > li ul:not(.sc_item_filters_tabs) {
    width: 17em;   
}

.wp-block-media-text figure {
	display: block;
}


body:not(.elementor-editor-active):not(.trx_addons_page_scrolled) .navbartop, body:not(.elementor-editor-active) .sc_layouts_row_hide_unfixed:not(.sc_layouts_row_fixed_on) .navbartop
 {
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-width: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

.post_info_bl span,
.post_info_bl h5 {
	color: #fff !important;
}


html[lang="ru-RU"] body *:not([class*="fa-"]):not(.ab-icon) {
    font-family: 'Roboto Condensed', sans-serif !important;
}

.single-cpt_services article ul {
    padding: 0;
    list-style: none;
}

.single-cpt_services article ul li:before {
    content: '\e9a2';
    font-family: "fontello";
    font-size: 13px;
    left: -30px;
    padding: 0;    
}

.single-cpt_services article ul li:before {
    display: inline-block;
    padding-right: 10px;
    margin-top: -5px;
    z-index: 1;
    top: 0;
    left: -1em;
    line-height: inherit;	
	top: -2px;
    position: relative;
    left: 0;
}

.single-cpt_services article ul li {
	 position: relative;
}

.fancybox__container {
	z-index: 999999;
}

.post-type-archive-cpt_services .sc_services_item_thumb {
    height: 250px;
    width: 100%;    
}

.postid-4577 .services_page_featured,
.postid-32742 .services_page_featured,
.postid-4578 .services_page_featured,
.postid-32738 .services_page_featured {
    display: none;
}


/* ===== MOBILE SCROLL (ONLY < 679px) ===== */
@media (max-width: 679px) {

	.elementor-tab-content .pointer-events-none {
		overflow: hidden;
	}
	
    .custom-auto-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;      
    }

    .custom-auto-table th,
    .custom-auto-table td {
        white-space: nowrap;
    }

    /* optional: smoother scroll */
    .custom-auto-table::-webkit-scrollbar {
        height: 6px;
    }
	
   .search_modern .search_header_wrap .logo_image {         
          max-height: 45px !important;
    }
    
	.wpcf7-list-item {
	    width: 100%; /* 2 columns */
	    margin: 0 0 10px 0;
	}
	
	.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
		
	}
	
	
      body  .wp-block-columns {
            -webkit-flex-direction: row;
            -ms-flex-direction: row;
            flex-direction: row;
        }
    
	
	body .wp-block-columns.is-not-stacked-on-mobile {
		flex-wrap: wrap !important;
	}
	
	.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
		flex-basis: max-content;
		flex-grow: 1;
	}

	body .wp-block-columns .wp-block-column  {
            flex: 0 0 50%;
            width: 50%;
            flex-basis: auto !important;
            margin-top: 1em;
 	}

}



