/* Заливка области футера белым цветом */
footer.site-footer{
    background-color: white !important;
}
#footer-col-first, #footer-col-second, #footer-col-threed {
    padding: 0px;
}
footer.site-footer .footer-widget-area,
footer.site-footer .warning__not-offer {
    max-width: 1490px;
}
footer.site-footer .tm-wrapper{
    padding-left: 0 !important;
}
footer.site-footer .col-md-4{
    flex: 0 1 auto !important;
}
footer.site-footer .footer-widget-area .tm-wrapper .row{
    flex-wrap: nowrap !important;
}
footer.site-footer .widget{
    margin: 0 !important;
}
#footer-col-second li a:hover,
#footer-col-threed li a:hover{
    color: #F58319 !important;
}

footer.site-footer .contancts.mail-left a:hover{
    text-decoration: underline;
}
footer.site-footer .contancts.phone-left a:hover{
    color: black !important;
    text-decoration: underline;
}

/* Стили для блоков футера */
footer.site-footer .col-md-4 h2.widget-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 140%;
    color: #000;
    margin-top: 0px;
}

footer.site-footer .left-contacts h2.widget-title{
    margin: 0;
}

.row:before {
    display: table;
    content: " ";
}
footer.site-footer > *{
    gap: 60px;
    display: flex;
}
footer.site-footer > *:before{
    display: table;
    content: " ";
}
footer.site-footer .footer-widget-area .tm-wrapper .row {
    margin-right: 0px;
    margin-left: -1px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px;
}
footer.site-footer .footer-widget-area .tm-wrapper .row:before{
	content: none;
}
footer.site-footer .footer-widget-area .tm-wrapper .row:after{
	display: block;
}
footer.site-footer .footer-widget-area .tm-wrapper .row .col-md-4{
	width: 100%;
}
.left-contacts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget-title:before, .widget.widget_block h2:before{
    display: none !important;
}

.groupe-phone {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 0px;
}

.left-contacts .phone-left {
    font-size: 24px;
    line-height: 1.3;
}

.castom_class_tel.active_blur span {
    font-size: 18px;
    line-height: 160%;
    color: #646464;
    font-weight: 400;
}

.footer-widget-area .castom_class_tel.active_blur a {
    display: block;
    width: fit-content !important;
    color: #000;
    font-size: 30px;
    line-height: 130%;
    font-weight: 700;
	text-wrap: nowrap;
}

.groupe-KGN {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.groupe-KGN .h3 {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    line-height: 160%;
}

.contancts.mail-left {
    margin-bottom: 0px;
    color: black;
    font-size: 20px;
    font-weight: 400;
    line-height: 160%;
}

.contancts.mail-left {
    margin-bottom: 0px;
    color: black;
    font-size: 20px;
    font-weight: 400;
    line-height: 160%;
}

.contancts.mail-left a {
    margin-bottom: 0px;
    font-size: 20px;
    font-weight: 700;
    line-height: 160%;
    color: #F58319;
}

/* Колонка с меню со списком товаров в футере */
#custom_html-11 ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#custom_html-11 a{
    color: black !important;
}

#footer-col-second li a, #footer-col-threed li a {
    font-size: 20px;
    line-height: 160%;
    font-weight: 400;
    padding: 0 !important;
}

#footer-col-second li {
    margin-bottom: 0px;
}

/* Последние новости в футере */
.widget_block ul.wp-block-latest-posts__list li{
    display: flex;
    flex-direction: column;
}

.footer-widget-area{
    border-top: 0 !important;
}

.warning__not-offer{
    padding-bottom: 20px !important;
}
@media(max-width: 1365px){
    footer.site-footer > *{
        gap: 50px;
    }
}
@media(max-width: 1024px){
    footer.site-footer > *{
        gap: 30px;
        margin-right: 30px;
    }
    .footer-widget-area{
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        
    }
}

@media(max-width: 950px){
    footer.site-footer .footer-widget-area .tm-wrapper .row{
        gap: 30px;
        grid-template-columns: repeat(2, 1fr);
    }
    footer.site-footer .footer-widget-area .tm-wrapper .row:before{
        content: none !important;
    }
    footer.site-footer .footer-widget-area .tm-wrapper .row .col-md-4{
        width: 100%;
    }
}
@media(max-width: 767px){
    footer.site-footer > *{
        gap: 10px;
    }
}
@media(max-width: 600px){
    footer.site-footer .footer-widget-area .tm-wrapper .row{
        grid-template-columns: auto;
    }
}

/* Кнопка "Наверх" */
/* В файлах темы зашит шрифт ionicons, который добавляет к кнопке иконку стрелочки,
 * но грузится этот шрифт очень долго, поэтому вместо него будем использовать font-awesome, который идет в Elementor.
 * Вдобавок перепишем анимацию при наведению по кнопке, сделав ее более плавной */

#scroll-up i.fa-arrow-up{
	font-size: 1.5rem;
	position: absolute;
	text-align: center;
	margin: 0 auto !important;
	left: 0;
	right: 0;
	transform: translateY(50%);
	transition: transform 0.5s ease-in-out;
}
#scroll-up:hover i.fa-arrow-up{
	transform: translateY(0);
}
