/*!
Theme Name: Грузовой шиномонтаж
Theme URI: https://gruznyak.ru/
Author: kuzminovds
Author URI: mailto:kuzminovds@gmail.com?subject=Вопрос с сайта gruznyak.ru&body=Здравствуйте, web-мастер!"
Description: Тема создана для компании Грузняк.ру в 2024 году.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gruanyak.ru
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

sanes is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/




/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}


/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
.gellery-item {
    margin-bottom: 20px;
    text-align: center;
}

.showmobile { display: none; }
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){ .showmobile { display: inline; } .price .services-list {margin-bottom: 0 !important;}}
.swipe-price {
    height: 40px;
    float: right;
    opacity: 70%;
}
#lightboxImage {
    width: 100%;
}

.gallery {
    margin-top: 1em;
    margin-bottom: 1.5em;
    display: flex;
    width: 100%;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
}
.gallery-item {
    width: 160px;
}
.work-template-default h2 {text-align: center;width: 100%;display: inline-block;}
.archive .main-content h2, .page .main-content h2, .post .main-content h2, .single .main-content h2 {display: inline-block;}
.mini-text{font-size: 12px;}
#agree{display:none}

.map{
	margin: 20px 0;
}

.ul__img-big {
	width: 100px;
}

/* Базовый класс для адаптивных изображений */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Дополнительный класс для контейнера изображения */
.image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Медиа-запрос для маленьких экранов */
@media screen and (max-width: 768px) {
    .responsive-image {
        padding: 10px;
        box-sizing: border-box;
    }
}

/* Для поддержки SVG */
.responsive-image[src$=".svg"] {
    width: 100%;
    max-height: 100vh;
    object-fit: contain;
}