/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Develio Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

html, body {
    max-width: 100%!important;
    overflow-x: hidden!important;
}

body {
    font-family: "Circle", sans-serif;
}

:focus {
    outline: none!important;
}

.overflow-hidden {
	overflow:hidden;
}

/* .grecaptcha-badge {
	visibility: hidden;
} */

.shorttable tbody>tr:nth-child(odd)>td, .shorttable tbody>tr:nth-child(odd)>th {
		background-color:#fff;
}

.dialog-type-lightbox {
    position: fixed!important;
}
.w-100 a {
	width: 100%;
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.elementor-widget-text-editor ol:not(:last-child),
.elementor-widget-text-editor ul:not(:last-child) {
	margin-bottom: .9rem;
}

.elementor-widget-text-editor ol li:not(:last-child),
.elementor-widget-text-editor ul li:not(:last-child) {
	margin-bottom: .15rem;
}

.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a {
    font-weight: inherit;
}

.elementor-element.elementor-widget-theme-post-content a:not(.elementor-button):not(.no-underline):not(.e-con) {
	text-decoration: underline;
}

.img-shadow {
    -webkit-filter: drop-shadow(12px 12px 25px rgba(0,0,0,0.5))!important;
	filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.5))!important;
}
.rocket-lazyload.bg-lazyload {
	background-position-y: center;
	background-repeat: no-repeat;
	background-size: 70% auto;
}
.rocket-lazyload.bg-lazyload--hover {
	-webkit-transition: background 1s;
	-o-transition: background 1s;
	transition: background 1s;
}
.rocket-lazyload.bg-lazyload:hover {
	background-size: 80% auto;
}

/* Страница Упаковочное оборудование MENTPACK*/
.elementor-page-6006 [data-elementor-id="1647"] .elementor-column.elementor-element:not(.elementor-motion-effects-element-type-background) {
	padding-top: 15px;
	padding-bottom: 15px;
}
.elementor-page-6006 [data-elementor-id="1647"] .elementor-column.elementor-element:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap {
	background-size: contain;
}

.elementor-button {
	border-radius: 10px !important;
}

.whatsapp-button {
	display: inline-block;
	position: fixed;
	right: 20px;
	bottom: 20px;
	background: #25D366; 
	border-radius: 50%;
	width: 65px; 
	height: 65px;
	text-align: center;
	z-index: 9999;
}

@media (max-width: 767px) {
	.whatsapp-button {
		right: 10px !important;
		bottom: 10px !important;
	}
}

.whatsapp-button a {
	display: block;
	line-height: 0;
	height: 100%;
}
.whatsapp-button a svg {
	width: 40px;
	height: 40px;
	fill: white;
	-webkit-transform: translateY(10px);
	-ms-transform: translateY(10px);
	transform: translateY(10px);
}


.news-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 30px;
    grid-row-gap: 30px;
	align-items: stretch;
}

.card {
	display: flex;
	flex-direction: column;
}

.card__thumb {
	min-height: 220px;
	border-radius: 40px 40px 0 0;
	background-color: var(--e-global-color-9c556b7, #ffffff);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.news-cards .card h3.card__title {
	color: var(--e-global-color-primary, #000000);
	margin: 0;
}

.card__body {
	flex-grow: 1;
	background-color: var(--e-global-color-5cba5d83, #ffffff);
	padding: 30px 30px 15px 30px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: flex-start;
}

.card__excerpt {
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-text);
	padding-bottom: 15px;
}

.card__logo {
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
	min-height: 35px;
	width: 100%;
	margin-top: 20px;
}

.news-cards .card__body .card__link {
	background-color: var(--e-global-color-primary);
	margin-top: auto;
}

.news-cards .card__body .card__link:hover,
.news-cards .card__body .card__link:focus {
	background-color: var(--e-global-color-e9148ce);
}

.news-cards .card__body .card__link-wrapper {
	gap: 15px;
}

.card__meta {
	background-color: var(--e-global-color-5cba5d83, #ffffff);
	border-top: 1px solid #EAEAEA;
	padding: 15px 30px;
	border-radius: 0 0 40px 40px;
	display: flex;
	gap: 8px;
	justify-content: space-between;
    align-items: center;
}

.card__meta > span {
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-fa02038-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    line-height: var(--e-global-typography-text-line-height);
    color: var(--e-global-color-e9148ce);
}

.card__meta a {
	font: inherit;
}

@media (max-width: 1024px) {
	
	.order-xl-1 { order: 1; }
	.order-xl-2 { order: 2; }
	.order-xl-3 { order: 3; }

	.news-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.breadcrumbs-float.elementor-element.elementor-widget-breadcrumbs {
		overflow: hidden;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
		position: relative;
		margin: 0;
		right: 0;
		border-radius: 10px;
		padding: 0 10px;
		height: 30px;
		line-height: 30px;
		margin-top: -20px;
	}

	.breadcrumbs-float.elementor-element.elementor-widget-breadcrumbs::-webkit-scrollbar {
		display: none;
	}

	.breadcrumbs-float.elementor-element.elementor-widget-breadcrumbs p {
		font-size: 10px;
	}	
}
@media (max-width: 767px) {
	.order-md-1 { order: 1; }
	.order-md-2 { order: 2; }
	.order-md-3 { order: 3; }

	.rocket-lazyload.bg-lazyload {
		background-position-x: center !important;
		background-position-y: -100px !important;
		background-size: cover !important;
	}

	.news-cards {
		grid-template-columns: 1fr;
	}
	.card__thumb {
		min-height: 200px;
	}

}

#breadcrumbs,
p#breadcrumbs *,
.elementor-widget-breadcrumbs {
	font-size: var(--e-global-typography-fa02038-font-size);
    line-height: var(--e-global-typography-fa02038-line-height);
}

.elementor-posts-container .elementor-post__thumbnail {
    padding-bottom: calc(0.56 *100%) !important;
}


.category-events h3.elementor-heading-title a {
	font-weight: 700 !important
}

@media (max-width: 321px) {
    .elementor-kit-55 {
        --e-global-typography-primary-font-size: 24px !important;
        --e-global-typography-primary-line-height: 31px !important;
        --e-global-typography-secondary-font-size: 24px !important;
        --e-global-typography-secondary-line-height: 30px !important;
    }
}

/* Исправление мелкого шрифта на мобилках */
dd, dl, dt, li, ol, ul,
.elementor-nav-menu--dropdown {
    font-size: var(--e-global-typography-text-font-size);
}

.adp-popup-text,
.adp-popup-text a {
	font-size: var(--e-global-typography-fa02038-font-size);
    line-height: var(--e-global-typography-fa02038-line-height);
}


.model-card-img {
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	border: 10px solid #C9DAEC;
}

.all-tags {
	display: flex;
	gap: 10px;
}
.all-tags a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--e-global-color-cd26329);
  border-radius: 20px;
  transition: .2s;
}

.all-tags a:hover {
  background: var(--e-global-color-4d5e6dd);
  color: #fff;
}

#event-kind {
	z-index: 1;
}

#event-kind a.elementor-item.elementor-item-active {
    border-color: #000;
}

#event-kind .elementor-nav-menu--layout-horizontal .elementor-nav-menu a {
    border-radius: 20px;
    border: 1px solid var(--e-global-color-primary);
}

@media (max-width: 860px) {
	#event-kind .elementor-nav-menu--layout-horizontal .elementor-nav-menu {
		flex-wrap: nowrap;
		overflow-x: scroll;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
}

.swiper-slide {
    border-radius: 20px;
}

.elementor-main-swiper.swiper.swiper-initialized.swiper-horizontal {
    border-radius: 40px 40px 0 0;
}

.elementor-main-swiper.swiper.elementor-thumbnails-swiper.swiper-initialized.swiper-horizontal {
    border-radius: 0 0 40px 40px;
}

.elementor-element.post-smart-info {
	--widgets-spacing: 5px 5px;
    --widgets-spacing-row: 5px;
    --widgets-spacing-column: 5px;
}

.post-smart-info * {
    font-size: var(--e-global-typography-fa02038-font-size) !important;
}

.post-smart-info {
	gap: 0 !important;
}

/* TODO:
 * Временное решение.
 * После реализации собственного Display Condition
 * скрытие перенести на уровень рендера Elementor.
 */
.equipment-children-grid:not(:has(.elementor-loop-container.elementor-grid)) {
	display: none;
}


/* Таблицы в описании Оборудования */

.equipment-content .elementor-widget-text-editor ul {
	padding-inline-start: 20px;
}

.equipment-specs-wrap {
	
	--border-color: #cbcbcb;
	
	width: 100%;
	border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.equipment-specs {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 16px;
	line-height: 1.5;
	margin-block-end: 0;
	border: 0;
}

.equipment-specs th,
.equipment-specs td {
	padding: 18px 20px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(0, 0, 0, 0.14);
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
	border: 0;
}

.equipment-specs tbody th {
	width: 34%;
	font-weight: 600;
	color: var(--e-global-color-primary);
}

.equipment-specs tbody td {
	width: 66%;
	color: var(--e-global-color-text);
}
.equipment-specs tr + tr th,
.equipment-specs tr + tr td {
	border-top: 1px solid var(--border-color);
}

.equipment-specs th + td {
	border-left: 1px solid var(--border-color);
}

/* Планшеты */
@media (max-width: 1024px) {

	.equipment-specs th,
	.equipment-specs td {
		padding: 16px;
	}

	.equipment-specs tbody th {
		width: 38%;
	}

	.equipment-specs tbody td {
		width: 62%;
	}

}

/* Мобильные */
@media (max-width: 767px) {

	.equipment-specs {
		display: block;
		font-size: 15px;
	}

	.equipment-specs tbody,
	.equipment-specs tr,
	.equipment-specs th,
	.equipment-specs td {
		display: block;
		width: 100%;
	}

	.equipment-specs tbody {
		display: grid;
	}

	.equipment-specs tbody tr {
		padding: 16px;
		border-radius: 0;
		border: 0;
	}
	
	.equipment-specs tbody tr + tr {
		border-top: 1px solid rgba(0, 0, 0, 0.14);
	}

	.equipment-specs tbody th,
	.equipment-specs tbody td {
		padding: 0;
		border: 0;
		background: none !important;
		width: 100%;
	}

	.equipment-specs tbody th {
		margin-bottom: 6px;
	}
	
	.equipment-specs tr + tr th,
	.equipment-specs tr + tr td {
		border-top: 0;
	}

	.equipment-specs th + td {
		border-left: 0;
	}

}

/* Hover только для устройств с мышью */
@media (hover: hover) {

	.equipment-specs tbody tr:hover {
		background: rgba(0, 0, 0, 0.025);
	}

}
/* \ Таблицы в описании Оборудования */