/* 
Theme Name: МегаФон
Author: @amsproru, @stasyatrofimova, @VictoriaBugaeva
Description: Тема для  ООО «Онлайн Сервисы» проект МегаФон
Tags: accessibility-ready, one-column, custom-menu, featured-images, 
Version: 2023
Tested up to: 6.4
Requires PHP: 7.0
*/

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

/*Стили основных блоков страницы*/
@import url('css/style-blocks/header.css');
@import url('css/style-blocks/banner.css');
@import url('css/style-blocks/banner-new.css');
@import url('css/style-blocks/main-forms.css');
@import url('css/style-blocks/cards.css');
@import url('css/style-blocks/cards-new.css');
@import url('css/style-blocks/cards-mobile.css');
@import url('css/style-blocks/mini-banners.css');
@import url('css/style-blocks/connection.css');
@import url('css/style-blocks/advantages.css');
@import url('css/style-blocks/infographic.css');
@import url('css/style-blocks/pluses-megafon.css');
@import url('css/style-blocks/seo-text.css');
@import url('css/style-blocks/faq.css');
@import url('css/style-blocks/quick-connect.css');
@import url('css/style-blocks/main-news.css');
@import url('css/style-blocks/cookie.css');
@import url('css/style-blocks/footer.css');

/*Стили попапов*/
@import url('css/style-popup/popup-application.css');
@import url('css/style-popup/popup-city-page.css');
@import url('css/style-popup/popup-lead-catcher.css');


/* Стили отдельных страниц */
@import url('css/style-page/page-city.css');
@import url('css/style-page/page-privacy-policy.css');
@import url('css/style-page/page-cookie.css');

/* ОБЩИЕ СТИЛИ(START) */

* {
	margin: 0;
	padding: 0;
	font-family: 'Graphik', 'Arial', 'sans-serif';
	font-weight: 400;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.5;
}


@media screen and (max-width: 460px) {
	* {
		font-size: 14px;
	}
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}


/* @media screen and (max-width: 1200px) {
	.container {
		padding: 0 20px;
	}
} */

.phone-regions, .phone-msk, .phone-mts {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}


.phone-regions:hover, .phone-msk:hover, .phone-mts:hover {
   color: #821E93;
}

a {
    text-decoration: none;
	color: #000;
}

.city {
	cursor: pointer;
}

a:hover {
	color: #821E93;
}

li {
	list-style-type: none;
}

.button-wrapper{
    display: -webkit-box;
    display: -ms-flexbox;
        -ms-flex-pack: justify;
    -webkit-box-align: center;
        -ms-flex-align: center;
}

  .button {
    width: 200px;
    height: 50px;
    border: none;
	 font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
}

.button-green {
	background-color:#00B956;
/* 	background: linear-gradient(180deg,#14CD6A 10.57%, #01873F 62%); */
    color: #ffffff;
    font-weight: bold;
	border-radius: 30px;
}

.button-green:hover {
	background-color:#10e272;
/*     background-color:  linear-gradient(#821E93, #5B1168); */
}

.button-violet{
	background-color: #731982;
/*    background: linear-gradient(#821E93, #5B1168); */
	color: #ffffff;
    font-weight: 700;
	border-radius: 30px;
}

.button-violet:hover {
	background-color: #a500bf;
/*     background: linear-gradient(180deg,#821E93 10.57%, #5B1168 62%); */
}

h1 {
    font-size: 50px;
    font-weight: 500;
/* 	padding: 0 20px; */
}

h2 {
    font-size: 50px;
    font-weight: 700;
}

h3 {
    font-size: 27px;
    font-weight: 500;
}

.main__title {
	margin-bottom: 20px;
    text-align: center;
}

  .agreement {
	text-align: center;
/*     color: #A0A0A0; */
	  
  }

  .agreement a {
/*     color: #bcbaba; */
  }


/* Стили для блока Количество подключений */

.connection-block__wrapper {
    display: flex;
}

.connection-block {
	margin: 40px 0 20px 0;
}
@media screen and (max-width: 500px) {
	.connection-block {
		margin: 20px 0 0 0;
	}
}

.connection-block__wrapper {
	display: flex;
}
 
.connection-block__item, .connection-number {
	font-size: 25px;
	font-weight: 500;
}

.connection-block__item-violet {
	margin-left: 40px;
	color: #7700FF;
}

@media screen and (max-width: 1200px) {
	.connection-block__wrapper {
		padding: 0 20px;
	}
}
@media screen and (max-width: 850px) {
	.connection-block__wrapper {
		flex-direction: column;
	}
}
.connection-block__item, .connection-number {
    font-size: 25px;
    font-weight: 700;
}

@media screen and (max-width: 1000px) {
	.connection-block__item {
		font-size: 21px;
	}
}
@media screen and (max-width: 900px) {
	.connection-block__item {
		font-size: 25px;
	}
}

@media screen and (max-width: 500px) {
	.connection-block__item {
		text-align: center;
	}
}
.roistat-lh-pulsator-phone {
	bottom: 20% !important;
}

@media screen and (max-width: 419px) {
	.roistat-lh-pulsator-phone {
		bottom: 30% !important;
	}
}

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

@media (max-width: 959px) {
	h2 {
		  font-size: 40px;
	}
}
	
@media (max-width: 479px) {
	h2 {
		  font-size: 32px;
	}
}

@media (max-width: 959px) {
	h1 {
		  font-size: 40px;
	}
}
	
@media (max-width: 479px) {
	h1 {
		  font-size: 35px;
	}
}

/* Стили для маски телефона, на сафари в инпуте появлялась ненужная иконка */
input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}
/* ОБЩИЕ СТИЛИ (END) */


/* СТИЛИ ДЛЯ СТРАНИЦ НОВОСТИ  И ЗАПИСИ */

.news-navigation {
	padding: 140px 20px 0 20px;
}

.news  {
	padding: 0 20px;
}

.news-navigation ul, .news ul {
	list-style-type: none;
}



.news-navigation h2 {
	padding-left: 40px;
}

.news a, .news-navigation a {
	color: #000000;
}

.news li a:hover, .news-navigation li a:hover, record:hover {
	color: #821E93;
}

.news li {
	margin-bottom: 40px;
	display: flex;
}

.news__date{
	padding: 5px 20px;
	color: #9f9299;
}
.news__description {
	margin-left: 20px;
	text-align: justify;
}
.news__description a{
	font-size: 25px;
	font-weight: 700;
}

.news__description p{
	font-size: 20px;
	font-weight: 300;
}

.news__wrapper img {
	width: 200px;
	height: 150px;
}




.breadcrumbs {
	padding-top:140px;
	font-size: 19px;
	color: #9f9299;
}

.breadcrumbs .container, .news-navigation .container {
	display: block;

}

.breadcrumbs a {
	color: #000000;
}

.breadcrumbs a:hover {
	color: var(--colorff);
}

.record{
	margin: 40px 20px;
}

.record__date{
	color: #9f9299;
}

.record__title{
	margin:20px 0 10px 0;
	font-size: 25px;
	font-weight: 700;
}



.record__content-wrapper {
	font-size: 20px;
	font-weight: 300;
	
}

.record__content-wrapper p{
	text-align: justify;
}

.record__content-nav {
	display: none;
}



.record__content-nav li {
	padding-left: 20px;

}


.record__content-nav a {
	color: #000000;
}

.record__content-nav a:hover {
	color: var(--colorff);
}


.record__content {
	margin-top: 40px;
}

.record__content h1, .record__content h2, .record__content h3 {
	margin: 40px 0 20px 0px; 

}

.record__content h1  {
	font-size: 35px;
}

.record__content  h3 {
	font-size: 25px;
}

.record__content p {
	margin-bottom: 20px;
}

.record__content ul {
	padding-left: 20px;

}

.record__content a{
	color: #000000;
	text-decoration: underline;

}

.record__content a:hover {
	color: var(--colorff);
}

.record__content   table {
	   border-collapse: collapse;
       border: 1px solid #000000;
   }

  .record__content th, .record__content  td {
	   padding: 5px;
       border: 1px solid #000000;
   }

.record__img {
	display: flex;
	justify-content: center;
}


@media screen and (max-width: 1200px) {
	.breadcrumbs, .news-navigation {
/* 		margin: 20px 0 0 20px;  */
		padding-top:180px;
	}
	
	.news-navigation {
		padding-top:180px;
	}
}

@media screen and (max-width: 1000px) {
	.record__content-wrapper {
		padding: 0;
	}
}

@media screen and (max-width: 900px) {
	.record__img img {
		width: 600px;
		height: 400px;
	}
}

@media screen and (max-width: 650px) {
.news__wrapper img {
	width: 370px;
	height: 250px;
}
	
	
	.news li {
	   flex-direction: column; 
	}
	
	.news__description {
		margin-left: 0;
	}
	.record__img img {
		width: 500px;
		height: 350px;
	}
}

@media screen and (max-width: 550px) {	
	.breadcrumbs {
		padding-top:140px;
	}
	
		.news-navigation {
		padding-top:140px;
	}
	
	.record__img img {
		width: 400px;
		height: 250px;
	}
}


@media screen and (max-width: 400px) {	
	.news__wrapper img {
		width: 270px;
		height: 190px;
	}
	
	.record__content h1  {
	font-size: 30px;
}
		.record__content  h2  {
	font-size: 28px;
}
	.record__content  h3  {
	font-size: 22px;
}
	.record__content-nav a, th, td {
		font-size: 16px;
	}
	
	.record__img img {
		width: 350px;
		height: 250px;
	}
}

@media screen and (max-width: 350px) {
	
	.record__img img {
		width: 300px;
		height: 200px;
	}
	

	.record__content p, 
	.record__content li  {
		font-size: 19px;
	}

}

.tehnic-title {
	font-size: 25px;
	font-weight: 700;
}

.block-router {
	margin-bottom: 40px;
}

.uc-BLOCK-ROUTER,
.uc-BLOCK-TV {
    display: flex;
/*     justify-content: center; */
}

