/* 
Theme Name: мтс
Description: mts-dom-home.ru
*/

/* Общее */
@import url('css/fonts.css');

/*Стили основных блоков страницы*/
@import url('css/style-blocks/header.css');
@import url('css/style-blocks/banner-promo.css');
@import url('css/style-blocks/form-address.css');
@import url('css/style-blocks/mts-card.css');
@import url('css/style-blocks/service-catalog.css');
@import url('css/style-blocks/question-list.css');
@import url('css/style-blocks/footer.css');

/*Стили попапов*/
@import url('css/style-popup/popup-connection.css');
@import url('css/style-popup/popup-card.css');
@import url('css/style-popup/popup-city.css');


/* Стили форм */
@import url('css/style-forms/select-address.css');









/* класс для любого текста возле тел, чтобы скрывать вместе с телефоном */
.phones-text {
	display: none;
}

html {
  scroll-behavior: smooth;
}

html body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'MTSText';
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #1D2023;
  box-sizing: border-box;
}

body .container{
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
	padding: 0;
}

@media screen and  (max-width: 1440px) {
 body .container {
    max-width: 1040px;
   }
}

@media screen and  (max-width: 1200px) {
  body .container {
    max-width: 100%;
    padding: 0 16px;
   }
}

@media screen and  (max-width: 1200px) {
	.logo {
		width: 140px;
	}
}

.region-follow {
	gap: 8px;
}

.region__txt {
	color: #626C77;
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
}

@media screen and  (max-width: 1200px) {
	.region__txt {
		font-size: 14px;
		line-height: 18px;
	}
}


.region__txt:hover,
.regionv:active {
	color: rgba(29, 32, 35, 0.8);
}



body a {
    text-decoration: none !important;
	color: #626C77;
}

body h2 {
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
}

@media screen and  (max-width: 1200px) {
	body h2 {
		font-size: 24px;
	}
}

.flex {
    display: flex;
}

.button-wrapper {
    display: flex;
}


body button {
    border: none;
}


.button {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    border: none;
}


@media screen and  (max-width: 1200px) {
	.button {
		font-size: 12px;
		line-height: 16px;
	}
}


.button-red {
    background-color: #FF0032;
    color: white;
}

.button-red:hover {
    background-color: #DA012C;
}

.button-red:active {
    background-color: #DA012C; 
}


.button-grey {
    background: #F2F2F5;
}

.button-grey:hover,
.button-grey:active {
    opacity: 0.9;
}

.button-white {
    background-color: #fff;
    color: #1D2023;
}

.button-white:hover,
.button-white:active {
    color: rgba(29, 32, 35, 0.8);
}

.button-black {
    color: #fff;
    background-color: #1D2023;
}

.button-black:hover {
    background-color: rgba(29, 32, 35, 0.1);
}

.button-black:active {
    background-color: #1D2023;
}

.button-close {
	cursor: pointer;
}

/* btn-close ui */
.btn-close {
    width: 0.2em !important;
    height: 0.5em !important;
}

.form-control:disabled {
    background-color: #fff !important;
    opacity: 1;
}


body .form-control:focus {
    background-color: #fff;
    border: none;
    outline: 0;
	box-shadow: 0px 0px 0px 4px #1D202314;
}

body .form-control:hover::placeholder {
    color: #1D2023;
}





.wpcf7-spinner {
	display: none !important;
}

/* dadata popup */
#popup-confirm-region {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: 40px 50px 40px 30px;
	background: #F2F3F7;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0px 8px 16px 0px #626C77;
	border-radius: 16px;
	text-align: center;
	z-index: 9999;
}

.confirm-title {
	font-size: 20px;
}

.confirm-buttons {
	display: flex;
	justify-content: center;
	gap: 14px;
}

#confirm-yes,
#confirm-no {
	width: 90px;
}


#popup-confirm-region .button-close-wrapper {
	position: absolute;
	top: 10px;
	right: 10px;
}

@media screen and (max-width: 600px) {
	#popup-confirm-region {
		padding: 30px 40px 20px 20px;
	}
}
/* dadata popup */


