#ta-header-nav
{
   background-color: #373744;
}

body header {
   background-color: #171725;
   border-bottom: 2px solid #5372e6;
   color: white;
   position: relative;
}


.news_body_lead h1+div {
   background-color: #5372e6 !important;
}

.news_body h2 .mw-headline {
   border-bottom: 3px solid #5372e6;
}

.zd_head {
   background-color: #2b2b2b;
   width: 100%;
   padding: 10px;
   margin-bottom: 8px;
}

body footer {
   background-color: #171725;
   border-top: 2px solid #050c23;
}

.ta-right-header
{
   color: #5372e6;
}

.ta-main-select-header span.active {
   border-bottom: 3px solid #5372e6;
}

.ta-msbutton.active {
   border-bottom: 3px solid #5372e6;
}

.ta-main-zdrav-header {
   height: 50px;
   background-color: #eaeaea;
   border-left: 3px solid #db0223;
   margin-top: 15px;
}

.ta-main-zdrav-header img {
   float: left;
   height: 40px;
   margin: 5px 0 0 10px;
}

.ta-main-zdrav .ta-right-header {
   margin-top: 0;
   color: #db0223;
}

.ta-main-zdrav-header a {
   float: right;
   display: block;
   padding: 17px 20px 0 10px;
   color: black;
   text-decoration: none;
}

.main_zdrav_otr {
   margin: 20px 0px 0 0;
   padding: 10px 27px;
   background-color: #eaeaea;
}

.main_zdrav_otr a {
   display: inline-block;
   padding: 2px 12px 2px 0;
   color: black;
}

/* БЛОК ВЫБОРА */
#ta-main-select
{
    margin: 30px 20px;
	width: 1200px;
	min-height: 390px;
	border: 1px solid #e4e4e4;
	background-color: #fafafa;
}

#ta-main-select h2
{
	  font-size: 16px;
	  font-weight: 600;
	  font-style: normal;
	  font-stretch: normal;
	  line-height: normal;
	  letter-spacing: -0.3px;
	  color: #1d1d1d;
	  border-bottom: 1px solid #1d1d1d;
	  width: 100%;
	  margin-bottom: 12px;
	  padding-bottom: 4px;
}

#ta-main-select h2 a
{
	  color: #1d1d1d !important;
	  font-size: 16px;
	  font-weight: 600;
	  font-style: normal;
	  font-stretch: normal;
	  line-height: normal;
	  letter-spacing: -0.3px;
	  text-decoration: none;
}

#ta-main-select h2 a:hover
{
 text-decoration: underline;
}

.ta-main-select-header
{
	background-color: white;
	height: 41px;
	border-bottom: 1px solid #e4e4e4;
	font-size: 14px;
	overflow: hidden;
}

.ta-main-select-header a
{
	padding: 10px 33px;
	display: inline-block;
	height: 41px;
	color: black;
	border-right: 1px solid  #e4e4e4;
}


.ta-main-select-header span
{
	padding: 10px 21px 10px 21px;
	display: inline-block;
	height: 41px;
	cursor: pointer;
}

.ta-main-select-header span:hover
{
	background-color: #F5F5F5;
}

.ta-main-select-header span.active
{
	border-bottom: 3px solid #5372e6;
}

.ta-main-select-header .ta-rarrow
{
	float: right;
	border-left: 1px solid #e4e4e4;
	padding: 12px 16px 10px 17px;
}

.ta-main-select-graph
{
	width: 1140px;
	margin-top: 28px;
	margin-left: 29px;
	float: left;
}

.ta-main-select-graph-left
{
	float: left;
	width: 419px;
}

.ta-main-select-graph-left .ta-msg-list
{
	font-size: 13.5px;
	letter-spacing: -0.2px;
	margin-top: 50px;
}

.ta-msg-list .graph_list_header
{
    text-align: right;
    font-size: 13px;
    font-weight: bold;
    width: 420px;
    margin-top: -14px;
	 margin-bottom: 3px;
}

.ta-msg-list .graph_list_number
{
	padding: 0px 0px;
	display: inline-block; 
	height: 16px; 
	width: 60px; 
	margin-bottom: 2px;
	font-size: 12px;
	text-align: center;
}

.ta-msg-list .graph_list_number2
{
	padding: 0px 0px;
	display: inline-block; 
	height: 16px; 
	width: 60px; 
	margin-bottom: 2px;
	font-size: 12px;
	text-align: left;
}


.ta-msg-list  p {
    overflow: hidden;
	margin: 7px 0;
}

.ta-msg-list  p:after { 
	content:'......................................................................................................................................................................................................................................................................................................................................................................';
	display: block;
	white-space: nowrap;
	overflow: hidden;
}


.ta-msg-list .ta-dot
{
	border-radius: 5px; 
	height: 10px; 
	width: 10px; 
	display: inline-block; 
	margin-right: 8px !important;
	margin-top: 3px;
	float: left;
}

.ta-msg-list a
{
	color: #1d1d1d;
	text-decoration: none;
}

.ta-msg-list a:hover
{
	text-decoration: underline;
}

.ta-msg-list  p span:first-of-type {
  float:left;
  margin-right: 3px;
}
.ta-msg-list  p span:last-of-type {
  float:right;
  margin-left: 3px;
}

.ta-main-select-graph-left
{
	width: 870px;
	position: relative;
}

.ta-main-select-graph-left .ta-msg-list
{
	width: 420px;
	float: right;
	margin-top: 40px;
}

.ta-main-select-graph-right
{
	float: right;
	width: 239px;
}

.ta-main-select-table
{
	float: right;
	width: 400px;
	margin-top: 28px;
    margin-right: 45px;
}

.ta-main-select-table form
{
	width: 400px;
	height: 362px;
	background-color: white;
	border: 1px solid #e4e4e4;
	margin-bottom: 10px;
	padding: 14px 30px;
	font-size: 13.5px;

}

.ta-main-select-table form select {
  width: 100%;
  -webkit-appearance: none;
  background-image: url('../img/arrow_bottom.svg');
  background-position: right center;
  background-repeat: no-repeat;
  margin-bottom: 9px;
  border: 1px solid white;
  border-bottom: 1px solid black;
  height: 36px;
  cursor: pointer;
  padding: 3px;
  font-size: 14px !important;

  /* for FF */
  -moz-appearance: none;
  text-indent: 0.01px; 
  text-overflow: '';
  /* for IE */
  -ms-appearance: none;
  appearance: none !important;
}
 
 .ta-main-select-table form select::-ms-expand {
  display: none;
}

.ta-main-select-table form select option
{
	padding: 5px 0;
}

.ta-msbutton
{
	height: 43px; 
	background-color: white;
	border: solid 1px #e4e4e4;
	padding: 12px 0 0 30px;
	margin-bottom: 0px;
	cursor: pointer;
    float: left;
    width: 100%;

	font-size: 14px;
	font-weight: normal;
	font-style: normal;
	font-stretch: normal;
	line-height: normal;
	/*letter-spacing: -0.3px;*/
	color: #1d1d1d;
}

.ta-msbutton:hover
{
	background-color: #F5F5F5;
}

.ta-msbutton.active
{
	border-bottom: 3px solid #5372e6;
}

.ta-msbutton-left
{
	width: 154px;
}

.ta-msbutton-right
{
	width: 85px;
	padding-left: 0px;
	margin-left: -1px;
	text-align: center;
}


.ta-msbutton-center
{
	clear: both;
	text-align: center;
	margin-top: 30px;
	padding-left: 0;
	font-weight: 500;
}

.ta-msbutton-year
{
	text-align: center;
	margin-top: 0px;
	padding-left: 0;
	font-weight: 500;
	width: 291px;
	margin-left: -1px;
}

.ta-main-select-table a
{
	color: black;
	text-decoration: none;
}

.ta-main-select-table a:hover
{
	text-decoration: underline;
}


.ta-main-select-graph-left img
{
	position: absolute;
	top: 70px;
	left: 0;;

}

.ta-main-select-table #lider_result
{
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: -0.3px;

  min-height: 116px;
  margin-top:20px;
}

.ta-main-select-table #lider_result p {
    overflow: hidden;
	margin: 10px 0;
}

.ta-main-select-table #lider_result .lh {
	font-weight: bold !important;
	margin-bottom: 5px;
}

.ta-main-select-table #lider_result p:after {  content:'...................................................................................................................................................................................................................................................................................................................................................................';
  display: block;
  white-space: nowrap;
  overflow: hidden;
 font-weight: normal;
}

.ta-main-select-table #lider_result p span:first-of-type {
  float:left;
  margin-right: 3px;
}

.ta-main-select-table #lider_result p span:last-of-type {
  float:right;
  margin-left: 3px;
}

.i_ta {
	margin-top: 14px;
	margin-bottom: 14px;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
}

.i_ta:before
{
	/*content:url(https://www.tadviser.ru/img/zdrav_logo_small.png);*/
    content:url(https://www.tadviser.ru/images/5/5d/Zdrav_interview.png); 
	float: left;
    margin-right: 12px;
    padding: 3px 3px 0 3px;
    background-color: #101020;
}


.i_ta p {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
}
/* // БЛОК ВЫБОРА */


@media screen and (max-width: 1240px) {
   #ta-main-select
   {
      width: 960px;
   }


   .ta-main-select-header
   {
      height: auto;
   }
   

   .ta-main-select-header .hidden
   {
      display: inline-block !important;
   }

   .ta-main-select-header .ta-rarrow
   {
      display: none !important;
   }

   .ta-main-select-header a
   {
      border-right: 0;
   }

   .ta-main-select-header span
   {
      padding: 10px 32px 10px 32px;
   }

   .ta-main-select-graph
   {
      width: 890px;
   }

   .ta-main-select-graph-right
   {
      width: 870px;
      margin-top: 40px;
      float: left;
   }

   .ta-msbutton-left
   {
      width: 786px;
   }

   #ta-main-select
   {
      height: 700px;
   }


   .ta-main-select-table
   {
      width: 890px;
   }

   .ta-main-select-table form
   {		
      width: 890px;
   }


   .main_zdrav_otr
   {
      margin: 20px 0px 0 0;
      padding: 10px 27px;
      background-color: #eaeaea;
      line-height: 1.4;
   }
   
   .main_zdrav_otr a
   {
      display: inline-block;
      padding: 2px 12px 2px 0;
      color: black;
   }
   
}

@media screen and (max-width: 1040px) 
{

   #ta-main-select {
        width: auto;
        overflow: hidden;
    }

    .main-news-block .ta-left
    {
      margin-top: 40px;
    }

   .main_zdrav_otr
   {
      margin: 20px 0px 0 0;
      padding: 10px 27px;
      background-color: #eaeaea;
   }

   .main_zdrav_otr a
   {
      display: inline-block;
      padding: 2px 12px 2px 0;
      color: black;
   }

   .main_zdrav_otr a:hover
   {
      color: #5372e6 !important;
   }

   #ta-main-select {
		height: 910px;
	}

	.ta-main-select-graph-right
	{
		width: 615px;
	}

		
	.ta-msbutton-year
	{
		width: 207px;
      height: 50px;
	}

	.ta-main-select-graph-left .ta-msg-list {
		width: 420px;
		float: none;
		margin-top: 40px;
		margin-left: 100px;
	}	

	.ta-main-select-graph-left img {
		position: unset;
		margin-top: 40px;
		margin-left: 100px;
		/* top: 70px; */
		/* left: 0; */
	}	

	.ta-msbutton-left {
		padding-left: 30px;
		width: 561px;
	}	

	.ta-main-select-graph-left
	{
		width: 622px;
    	position: relative;
	}

	.ta-main-select-graph
	{
		margin-left: 19px;
	}

   .ta-msbutton-left
   {
      padding-left: 10px;
      width: 130px;
   }

   .ta-msbutton-right
   {
      width: 55px;
   }

   .ta-main-select-table
   {
      width: 630px;
      margin-right: 10px;
   }

   .ta-main-select-table form
   {		
      width: 630px;
   }

   .ta-msbutton-left {
      padding-left: 30px;
      width: 561px;
  }
}

@media screen and (max-width: 600px) 
{
	.ta-main-select-header
	{
		font-size: 22px;
	}

   .ta-main-select-header span {
      font-size: 25px;
      line-height: 0.6;
  }

   #ta-main-select {
      overflow: hidden;
      width: 660px;
      height: 1050px;
   }


	#ta-main-select h2
	{
		font-size: 22px;
	}

	#ta-main-select h2 a
	{
		font-size: 26px;
	}

	#ta-header-nav > a
	{
		font-size: 26px;
		padding: 10px 8px 10px 8px;
	}

   #ta-main-select .googlePie {
      margin-left: 90px;
  }

  .ta-msbutton {
      font-size: 22px;
      height: 56px;
   }

  #ta-main-select {
   overflow: hidden;
   }

   #ta-footer-logo-small
	{
		margin-left: 20px;
	}

	#ta-footer .ta-footer-div
	{
		font-size: 22px !important;
		display: inline-table;
	}

	#ta-footer .ta-footer-div:nth-child(4)
	{
		margin-left: 20px !important;
	}


	#ta-footer .ta-footer-div:nth-child(5)
	{
		margin-top: 30px;
	}

	#ta-footer .ta-footer-div:nth-child(6)
	{
		margin-left: 140px;
		margin-top: 30px;
	}


	#ta-footer .ta-footer-div:nth-child(7)
	{
		margin-top: 35px;
	}

   
   #ta-footer-logo-small {
      margin-bottom: 10px !important;
  }

  .ta-msg-list .graph_list_header
   {
      margin-bottom: 20px;
   }

   .ta-msg-list .graph_list_header
   {
      width: 500px;
      font-size: 15px;
   }
   .ta-msg-list .graph_list_number, .ta-msg-list .graph_list_number2 
   {
      font-size: 17px;
   }
   .ta-main-select-graph-left .ta-msg-list {
      width: 500px;
      float: none;
      margin-top: 20px;
      margin-left: 70px;
      font-size: 17px;
  }
}


.cookie_confirmation div {
  margin-bottom: 10px;
  text-align: center;
}

.cookie_confirmation a {
  color: #526FE7;
  text-decoration: underline;
}

.cookie_confirmation a:hover {
  color: #526FE7;
}

.cookie_confirmation button {
  background-color: #526FE7;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.cookie_confirmation button:hover {
  background-color: #526FE7;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 780px) {
  .cookie_confirmation {
    padding: 12px 15px;
    font-size: 25px;
  }
  .cookie_confirmation button {
    margin-top: 20px;
    padding: 10px 18px;
    font-size: 28px;
    margin-bottom: 20px;
  }
}