@media screen and (max-width: 1240px) {
.card.x2-width>.inner .pic {
    height: 203px;
    position: relative;
    overflow: hidden;
    left:0;
    right:0;
    top:0;
  }
  
  .card.x2-width>.inner .text {
    padding-top: 42px;
    padding-left: 10px;
    padding-right: 10px;
    position: static;
  }
  
  .card.x2-width>.inner .text .intro {
    display:block;
  }
  
  .card.x2-width>.inner .text .title {
    font-size: 20px;
    line-height: 26px;
    /*font-family: "Roboto Condensed",Roboto;*/
    color:#3a3a3a;
  }
  
  .card.x2-width>.inner .text .title:after {
    height: 60px;
    left: 0;
    bottom: 0;
    content: '';
    position: absolute;
    width: 100%;
    background-image: url(../img/gradient_new.png);
    background-repeat: repeat-x;
    background-position: bottom;
  }
  
  .card.x2-width>.inner .stat {
    /*color: #5ea65e;*/
    top:227px;
    paddingt:0 20px;
  }
  
  /*.card.x2-width>.inner .stat .views, .card.x2-width>.inner .stat .time {
    background-image: url(../img/dot.png);
    background-repeat:no-repeat;
    background-position:left center;
  }*/
  
  .card.x2-width>.inner .stat .section_name a {
    color: #5ea65e;
  }
  
  .card.x2-width.editor>.inner .stat .section_name a {
    color: #fff;
  }
  
  .card.x2-width.editor>.inner .pic {
    display:none;
  }
  
  .card.x2-width.editor>.inner .text {
    width: 100%;
  }

  .card.x2-width>.inner .stat .section_name a:hover {
    color: #008ac0;
  }
  
  .card.x2-width>.inner .stat .views i {
    background-image: url(../img/icon-eye.png);
  }
  
  .card.mostreadable.peoplenews, .card.mostreadable.catalog {
    width: 33.33333%;
  }
  
  .card.mostreadable>.inner .list ul.peoplelist {
    height: 290px!important;
  }
  
  .card.mostreadable.minipoll>.inner .list ul.peoplelist {
    height: 330px!important;
}
  
  .card.mostreadable.peoplenews .send_news_button {
    top: auto!important;
    right: 0!important;
    bottom:0!important;
    background-color:#fff!important;
    width: 100%!important;
    height: 50px!important;
    line-height: 50px!important;
  }
  
  .card.mostreadable.catalog>.inner .list ul li {
    width: 100%;
    padding:0;
  }
.card.mostreadable.catalog>.inner .tptn_posts ul li {
  width: 100%;
    padding:0;
}
}

@media (max-width: 1180px) {
  
  #top_menu {
    margin:0;
  }
  
  #top_menu .menu > li {
    display:none;
  }
  
  #top_menu .menu > li:first-child {
    display:block;
    float:left;
  }
  
  #top_menu .menu > li:first-child span:first-child {
    display:none;
  }
  
  #top_menu .menu > li:first-child span:last-child {
    display:inline-block;
    padding-right: 6px;
    vertical-align: middle;
    background: #60a761;
    color: #fff;
    padding-left: 6px;
  }
  
  #top_menu .menu > li.in_submenu .submenu.full_desktop {
    display:none;
  }
  
  #top_menu .menu > li.in_submenu .submenu .is_mobile {
    display:block;
  }
  
  .menu_wrap .data_time {
    left:auto!important;
    right:210px!important;
    display: none;
  }
  
  .menu_wrap.menu_fixed .data_time {
    right:220px!important;
  }
}
@media screen and (max-width: 782px) {
  .admin-bar .menu_fixed {top:46px;}
}
@media screen and (max-width: 600px) {
  .admin-bar .menu_fixed {top:0px;}
}
@media screen and (min-width: 1111px) {
	.mobile-news {
		display:none;
	}
}
@media (max-width: 1110px) {
  article .article_sidebar, .news_block .sidebar, .materials_on_topic {
    display:none;
  }
  
  article .article_full_text, .news_block .news_list {
    margin-right:0!important;
    
  }
  
  article .article_content {
    overflow: hidden;
    padding: 0 10px 10px 10px;
  }
  .mobile-news > div {
    width: 100%;
}
	.mobile-news {
		display:block;
	}	
}

@media (max-width: 979px) {
  #titlebar .currency, #titlebar .wheater {
    display:none;
  }
  
  #top_menu .currency, #top_menu .wheater {
    display:block;
  }
  
  /*#titlebar .data_time {
    width:50%;
    margin-right:0;
  }
  
  #titlebar .search-button {
    width:50%;
    margin-left:0;
  }
  
  #titlebar .data_time, #titlebar .currency, #titlebar .wheater {
    float: left;
    margin-right: 20px;
  }*/
  
  /*.send_news_button {
    width: 30%!important;
    height: 60px!important;
  }
  
  .card .send_news_button {
    width: 200px!important;
  }*/
}

@media screen and (max-width: 880px) {
  .card.x3-width {
    height: 540px;
  }
  
  .card.x3-width>.inner {
    height:510px;
  }
  
  .card.x3-width>.inner .pic {
    height:270px;
  }
  
  .card.x3-width>.inner .stat {
    background-color: #008ac0;
    color: #fff;
    font-weight: 300;
    top:279px;
    left:20px;
  }
  
  .card.x3-width>.inner .tags {
    left: 20px;
    top: 16px;
  }
  
  .card.x3-width>.inner .tags a {
    font-size: 14px;
    height: 24px;
    line-height: 25px;
    padding: 0;
  }

.card.x3-width>.inner .text {
    padding-top: 32px;
    width: 100%;
    top:270px;
    left:0;
    right:0;
    bottom:0;
    
    background-color: #008ac0;
    /*font-family: Roboto,sans-serif;*/
    overflow: hidden;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

  }
  
  .card.mostreadable.peoplenews, .card.mostreadable.catalog {
    width: 50%;
  } 
  
  #top .currency {
    background-image: url(../img/icon-drop-down-menu.png);
    background-position: right top;
    background-repeat: no-repeat;
    padding-right:20px;
  }
  
  #top .currency:hover {
    background-position: right bottom;
  }
  
  #top .currency .hidden_currency {
    float:none;
    display:none;
    position:absolute;
    z-index:999;
    background-color:#fff;
    padding: 15px 20px;
    -webkit-box-shadow: 0 1px 5px 0 rgba(0,0,0,.3);
    -moz-box-shadow: 0 1px 5px 0 rgba(0,0,0,.3);
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.3);
    top:40px;
    left:-2px;
  }
  
  #top .currency .hidden_currency p {
    float:none;
  }
  
  #top .currency .hidden_currency p:first-child {
    margin-bottom:15px;
  }
  
  #top .currency:hover .hidden_currency {
    display:block;
  }
  
  #top_menu .currency span {
    padding-left:0;
  }
  
  .section-title .send_news_button {
    position:static!important;
    margin:20px auto 0;
  }
  
  .section-title .red_photo {
    position:relative!important;
    left:auto;
    right:auto!important;
    top:auto!important;
    margin:20px auto 0;
    height:120px!important;
    width:120px!important;
  }
  
  .section-title .red_phone {
    position:static!important;
    margin:20px auto 0;
    max-width:165px;
  }
}
@media (min-width: 768px) {
.mobile {display: none;}
.desktop {display: block;}
}
@media (max-width: 767px) {
  body {
    padding-left: 0px !important;
    padding-right: 0px !important;
    border:none !important;
  }

  #page {
    margin-top: 20px;
  }

  .blue_box.blue_box_posts .tabs_menu li {
    margin-bottom: 10px;
  }

  /*#titlebar {
    border-top: 3px solid #d74b4b;
    margin: 0 -10px;

  }*/

  #top {
    /*margin-bottom:10px;*/
    clear: both;
  }

  #top .top_content {
    /*margin-top: -20px;*/
  }

  .menu_wrap {
    /*display: none;*/
  }

  .space_left_content {
    padding-left: 0px;
  }
  
  article .article_full_text {
    padding: 10px 10px 20px 10px;
  }

  .article_content .news_item .content {
    padding: 0 5px;
  }

  .bloger {
    padding: 20px 20px 0px 0px;
  }

  #footer_menu_second{
    padding: 0 5px;
  }
  
  #footer .copyright_text {
    /* float: left; */
    margin-left:0;
  }
  #footer .copyright_text p:nth-child(2){
    font-size:12px;
  }  
  
  #footer #logo_footer {
    float: none;
    margin-bottom:20px;
  }
  
  #titlebar .search_area form, #titlebar .feedback_area form {
    width: 90%;
  }
  
  #titlebar .search_area .icon-close, #titlebar .feedback_area .icon-close {
    top: 20px;
    right: 20px;
  }
  
  .feedback_area form input[type="submit"] {
    display: block;
    width: 40%;
  }
  
  article .article_full_text #accordion .ui-accordion-content {
    padding: 20px 10px;
  }


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

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

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

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

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

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

.gallery-columns-9 {
  grid-template-columns: repeat(2, 1fr);
}
.home_order {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
.order_2 {
    width: 100%;
    order: 2;
}
.order_1 {
    width: 100%;
    order: 1;
}
.home_order .card, .home_order .card.x2-width, .home_order .card.booklet, .home_order .wrap_feed_news {
  width: 100%;
}
.mobile {display: block;}
.desktop {display: none;}
.news_feed_title {
  line-height: 40px;
    text-align: center;
    height: 40px;
}
.news_feed_title:after {
      left: 50%;
    transform: translate(-50%, 0px);
}
.feed-news-scroll {
  height: 324px;
}
	.card.mostreadable.shedule, .card.mostreadable.catalog {display:none;}
}

@media (max-width: 680px) {
  #top .top_content, tfa .top_content, #tsa .top_content {
    padding-top:0px;
  }
  
  #top .wheater {
    top: 0;
    font-size: 26px;
    line-height:26px;
  }
  
  #top .currency {
    top: 0;
  }
  
  #top .search-button {
    top: 0;
  }
  
  
.page-nav .wrapper .btn {
  display:none;
}
.page-nav .wrapper .list {
  padding:0;
}
.page-nav .container {
  padding:0;
}

  .card.x3-width>.inner .text .title {
    font-size: 24px;
    line-height: 28px;
    /*font-family: "Roboto Condensed",Roboto;*/
    color: #fff;
  }
  
  #content .menu-section_topic {
    float:none!important;
    width: 100%!important;
    margin-right: 0!important;
  }
  
  /*.send_news_button {
    float: none!important;
    width: 180px!important;
    height: 60px!important;
    margin:20px auto 0;
  }*/
}

@media (max-width: 620px) {
  /*.footer_menu {
    padding-bottom:0;
  }*/
  
  .about_menu {
    float:none;
    padding-bottom:20px;
  }
  
  #footer .social-icon-footer {
    float: none;
  }
  
  .form_search_articles input[type="text"] {
    float: none;
    width: 100%;
    margin-right: 0;
  }
  
  .form_search_articles input[type="submit"] {
    float: none;
    display: block;
    width: 150px;
    height: 50px;
    margin: 20px auto 0;
  }
}
@media screen and (max-width: 555px) {
  .card.mostreadable.peoplenews, .card.mostreadable.catalog {
    width: 100%;
  } 
}
@media (max-width: 500px) {
  .news_item .thumbnail img{
    display: block;
    width:100%;
  }

  .bloger_news_items .news_item .content {
    padding: 0px 20px 20px 20px;
    margin-left: 0px;
  }

  .bloger_news_items .news_item .thumbnail {
    float: none;
    margin: -30px -30px 0px -30px;
  }

  .news_item:after{
    content: ".";
    display: block;
    height: 0px;
    clear: both;
    visibility: hidden;
  }

  #top .top_content #logo, #tfa .top_content #logo_tfa, #tsa .top_content #logo_tsa {
    margin: 0 auto;
    float: none;
  }

  #top .top_content .add {
    display: none;
  }

  .debate_author {
    margin: 20px 0px !important;
  }
  
  #top .top_content #logo, #tfa .top_content #logo_tfa, #tsa .top_content #logo_tsa {
    width: 350px;
    height: 52px;
    background-size: cover;
  }
  
  .page-nav .wrapper .list li {
    font-size:18px;
    line-height:18px;
    padding: 0 5px;
  }
  
  .search_area form input[type="submit"] {
    float: none;
    display: block;
    width: 60%;
    margin: 0 auto;
  }
  
  .search_area form input[type="text"], .form_search_articles input[type="text"] {
    float: none;
    width: 100%;
    margin-bottom: 25px;
  }
  
  .feedback_area .text-field, .feedback_area .textarea-field.file {
    float:none;
    width:100%;
    margin-bottom:20px;
  }
  
  .feedback_area .textarea-field.message {
    width:100%;
  }
  
  .feedback_area form input[type="submit"] {
    display: block;
    width: 60%;
  }
  
  article .article_full_text #accordion .ui-accordion-content ul {
    padding-left:20px;
  }
  .gallery-columns-2, .gallery-columns-3, .gallery-columns-4, .gallery-columns-5, .gallery-columns-6, .gallery-columns-7, .gallery-columns-8, .gallery-columns-9 {
  grid-template-columns: repeat(1, 1fr);
}

}

@media (max-width: 400px) {
  #titlebar .social-icon-header {
    float: none;
    clear:both;
    margin: 0 auto;
  }
  h1.article-title {
    font-size: 32px!important;
    line-height:38px!important;
  }
  
  #titlebar .search_area form {
    margin: 25px auto 0;
    overflow: hidden;
  }
  
  #titlebar .search_area {
    padding-bottom:35px;
  }
}

@media (max-width: 360px) {
  #footer #logo_footer {
    width: 250px;
    height: 37px;
  }
  
  #top .top_content #logo, #tfa .top_content #logo_tfa, #tsa .top_content #logo_tsa {
    width: 250px;
    height: 37px;
  }
  
  #titlebar .search_area .icon-close, #titlebar .feedback_area .icon-close {
    top: 16px;
    right: 16px;
    width:24px;
    height:24px;
    background-size:16px;
  }
  
  .search_area form input[type="submit"] {
    width: 100%;
  }
  
  .menu_wrap .data_time {
   display:none;
  }
}

@media (min-width: 501px) and (max-width: 767px){
  .news_item .thumbnail {
    display: inline-block;
    float: left;
    margin-right: 10px;
    margin-bottom:10px;
    max-width:220px;
  }

  .news_item:after{

    content: ".";
    display: block;
    height: 0px;
    clear: both;
    visibility: hidden;

  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .orange_box .people .span3 {
    width: 160px !important;
  }

  .blue_box.blue_box_posts .span3 {
    width: 156px !important;
  }

  .article_content .span10 .article_side_element.align_left {
    left: -62px;
    margin-right: -52px;
  }

  .article_content .span10 .article_side_element.align_right {
    right: -62px;
    margin-left: -52px;
  }


}

@media (min-width: 980px) and (max-width: 1199px ) {

  .orange_box .people .span3 {
    width: 214px !important;
  }

  .blue_box.blue_box_posts .span3 {
    width: 210px !important;
  }

  .article_content .span8 .article_side_element.align_left {
    left: -160px;
    margin-right: -150px;
    padding: 20px;
    background: #fff;
  }

  .article_content .span8 .article_side_element.align_right {
    right: -160px;
    margin-left: -150px;
    padding: 30px;
    background: #fff;
  }

  .article_content .span10 .article_side_element.align_left {
    left: -80px;
    margin-right: -60px;
  }

  .article_content .span10 .article_side_element.align_right {
    right: -80px;
    margin-left: -60px;
  }


}


@media (min-width: 1200px) {

  .EditorialCommentsText{
    margin-left:40px;
  }

  .blue_box.blue_box_posts .span3 {
    width: 260px !important;
  }

  .news_item {
  margin-bottom: 30px;
  }


}

@media (min-width: 500px) {

  .news_item .thumbnail img.small {

    max-width:230px;
  }
  
  #yandex_rtb_R-A-263106-16 {display:block;}
  #yandex_rtb_R-A-263106-17 {display:none;}

}
@media (max-width: 499px) {
 
  #yandex_rtb_R-A-263106-16 {display:none;}
  #yandex_rtb_R-A-263106-17 {display:block;}

}

#mobilemenu{
  background: #475f77;
  color:#fff;
  max-height:0px;
  overflow:hidden;
  margin: 0 -10px;
  transition: max-height 0.5s ease;
  -webkit-transition: max-height 0.5s ease ; /* Safari */
}

#mobilemenu.open{
  max-height:600px;
}


#mobilemenu .menu li a{
  display:block;
  color:#fff;
  padding:10px 10px;
  text-transform:uppercase;
  text-decoration: none;
}

#mobilemenu .menu li.current, #mobilemenu .menu li:hover{

  background:#d74b4b;
}




.navbar-toggle {
  position: relative;
  float: right;
  margin-top: 8px;
  margin-right: 15px;
  background-color: transparent;
  outline:none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 1px;
  background-color: #333;
  margin-bottom: 4px;
}


.mobile-search{


  padding: 15px 10px;

}

.mobile-search input[type='text']{
  width:100%;
  line-height: 1.2em;
  padding:5px;
  -moz-box-sizing:border-box; /* Firefox */
  box-sizing:border-box;
  border:none;


}

.mobile-search input[type='submit']{
  display:none;
}