/*
Theme Name: M-webdev Child
Author:       M-WebDev
Author URI:   https://m-webdev.com.ua/
Template: new_m_web_dev
*/

.wrapper{
	max-width: 1260px !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none !important;
}

section{
	margin: 80px 0;
}

.wp-element-caption{
	background: #000000;
	background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.69) 50%, rgba(0, 0, 0, 0.64) 78%, rgba(0, 0, 0, 0.15) 100%) !important;
	font-size: 14px !important;
}

.front_main h2::after{
	display: none !important;
}

.header-top-text{
	align-items: center;
}

.header-top-text img{
	width: 60px;
	height: 60px;
}

.header_logo{
	display: flex;
	justify-content: space-around;
	align-items: center;
	text-decoration: none;
}

.header_logo span{
	margin-left: 5px;
}

.header-top .navigation{
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
}

.header-top .navigation li{
	display: block;
	text-decoration: none;
	margin: 0 20px;
}

.header-top .navigation li a{
	text-decoration: none;
}

.navigation li:first-child{
	margin-left: 0;
}

.navigation li:last-child{
	margin-right: 0;
}

.header-top .navigation li a:hover{
	color: var(--color-background-btn);
}

/*.header-top .navigation li a, .header-top .navigation li a:visited, .footer .footer_nav .footer_menu li a:visited{
	color: var(--color-text-main);
}*/

.breadcrumbs{
	margin: 0 0 20px 0 !important;
	padding: 5px 0 !important;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 152, 26, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(6, 152, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 152, 26, 0);
  }
}

.btn-primary{
	animation: pulse-glow 2s infinite;
}

.info_container, .info_container .info_container_img{
	position: relative;
}

.info_container .info_container_img figure{
	position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.info_container .info_container_img figure img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product_card{
	width: calc(100% / 3.5) !important;
	padding: 15px;
}

.product_card p{
	font-size: 14px;
}

.product_card img{
	height: 170px !important;
}

.product_card .card_name{
	font-size: 18px !important;
}

.product_card .btn-black{
	margin: 0 auto !important;
}

.row_cards{
	background: #f0eeef;
	padding: 40px 20px;
}

/*.info, .info .row{
	position: relative;
}

.info .row{
	height: 100%;
}

.info .info_text{
	position: relative;
	height: 100%;
}

.info .info_img{
	position: absolute;
	right: 0;
	height: 100%;
	z-index: 1;
}

.info .info_img .wp-block-image{
	height: 100%;
}

.info .info_img .wp-block-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}*/

.main_blog_article p{
	width: 100% !important;
}

.footer{
	padding-bottom: 40px;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{
	object-position: top;
}

/*.portfolio-section .wp-block-query ul li:nth-child(2), .portfolio-section .wp-block-query ul li:nth-child(3){
	border-left: 1px solid #1a1a1a;
    padding-left: 20px;
}*/

@media (max-width: 768px) {

	.ShowMenu{
		margin: 0 !important;
	}

	.header-top nav{
		width: 100%;
	}

	.header-top .navigation{
		display: none;
		width: 100%;
	}

	.header-top .navigation li{
		width: 100%;
		margin: 30px 0;
	}

	.header-top .navigation li a{
		text-align: center;
	}

	.hero-section h1{
		font-size: 2rem !important;
	}

	.product_card{
		width: 100% !important;
	}

	.products_row{
		flex-direction: column-reverse !important;
	}

	.product_description{
		width: 100% !important;
	}

	.products_row .price{
		width: 100% !important;
	}

	/*.portfolio-section .wp-block-query ul li:nth-child(2), .portfolio-section .wp-block-query ul li:nth-child(3){
		border-left: none;
		padding-left: 0;
	}*/
}