
@charset "UTF-8";
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url(/nm2021/fonts/Ubuntu300.woff2) format("woff2"), url(/nm2021/fonts/Ubuntu300.woff) format("woff"), url(/nm2021/fonts/Ubuntu300.ttf) format("ttf"); }

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/nm2021/fonts/Ubuntu400.woff2) format("woff2"), url(/nm2021/fonts/Ubuntu400.woff) format("woff"), url(/nm2021/fonts/Ubuntu400.ttf) format("ttf"); }

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(/nm2021/fonts/Ubuntu500.woff2) format("woff2"), url(/nm2021/fonts/Ubuntu500.woff) format("woff"), url(/nm2021/fonts/Ubuntu500.ttf) format("ttf"); }

@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/nm2021/fonts/Ubuntu700.woff2) format("woff2"), url(/nm2021/fonts/Ubuntu700.woff) format("woff"), url(/nm2021/fonts/Ubuntu700.ttf) format("ttf"); }

body.m_family .b_main-title {
  text-align: center;
  font: bold 24px/1.2 "Ubuntu", "Roboto", sans-serif; }

body.m_family .b_header {
  position: relative;
  background: transparent;
  width: 100%;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 20px 0; }
  body.m_family .b_header-row {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0; }
  body.m_family .b_header .item {
    display: inline-flex;
    align-items: center;
    flex-flow: row;
    justify-content: center; }
    body.m_family .b_header .item:last-child {
      justify-content: flex-end; }
    body.m_family .b_header .item.b_gazeta_logo {
      justify-content: flex-start; }
  body.m_family .b_header .b_gazeta_logo {
    position: relative;
    padding-left: 16px;
    cursor: pointer;
    margin-left: 20px; }
    body.m_family .b_header .b_gazeta_logo:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      margin: auto;
      width: 8px;
      height: 6px;
      background: url(https://static.gazeta.ru/nm2021/img/projects/family/f_arrow_mob.svg) no-repeat 50% 50%;
      background-size: 100% auto;
      transition: left 0.3s ease; }
    body.m_family .b_header .b_gazeta_logo img {
      display: inline-block;
      height: 6px; }
  body.m_family .b_header .b_family_logo {
    position: absolute;
    width: 142px;
    height: 14px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto; }
    body.m_family .b_header .b_family_logo img {
      display: inline-block;
      height: 100%; }
  body.m_family .b_header .b_menu {
    position: relative;
    top: auto;
    left: auto;
    right: 20px;
    bottom: auto; }
  body.m_family .b_header.m_pseudo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0;
    background: #fff; }
    body.m_family .b_header.m_pseudo .b_header-row {
      padding: 16px 0; }

body.m_family .b_footer {
  background: #F0F6F9;
  margin-top: 0;
  padding-top: 30px; }
  body.m_family .b_footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #fff;
    border-radius: 0 0 30px 30px; }
  body.m_family .b_footer:after {
    display: none; }

body.m_family .b_rubricbar {
  position: relative;
  height: 34px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  margin-top: 20px; }
  body.m_family .b_rubricbar-wrapper {
    padding: 0 20px;
    height: 44px;
    overflow-x: scroll; }
  body.m_family .b_rubricbar .item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    margin-left: 12px;
    font: 500 14px/1.2 "Ubuntu", "Roboto", sans-serif;
    color: black;
    border-radius: 20px;
    transition: all 0.3s ease; }
    body.m_family .b_rubricbar .item:first-child {
      margin-left: 0; }
    body.m_family .b_rubricbar .item.education.active {
      color: #fff;
      background: #529BC4; }
    body.m_family .b_rubricbar .item.beauty.active {
      color: #fff;
      background: #72C348; }
    body.m_family .b_rubricbar .item.celebrity.active {
      color: #fff;
      background: #FFD339; }
    body.m_family .b_rubricbar .item.life.active {
      color: #fff;
      background: #E89737; }
    body.m_family .b_rubricbar .item.psycho.active {
      color: #fff;
      background: #9244BC; }
    body.m_family .b_rubricbar .item.parents.active {
      color: #fff;
      background: #9B9B9B; }
    body.m_family .b_rubricbar .item.fun.active {
      color: #fff;
      background: #EF564D; }

body.m_family .b_newslist {
  position: relative;
  z-index: 9;
  padding: 20px 20px 0;
  margin: 0 20px 26px;
  background: #F0F6F9;
  border-radius: 10px; }
  body.m_family .b_newslist-title {
    font: 700 20px/1 "Ubuntu", "Roboto", sans-serif;
    color: #292929;
    text-align: center; }
  body.m_family .b_newslist-content {
    position: relative;
    padding: 20px 0 10px;
    display: flex;
    flex-flow: column; }
    body.m_family .b_newslist-content .b_ear {
      display: inline-flex;
      width: 100%;
      padding-top: 12px;
      margin: 0 0 12px;
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: 0; }
      body.m_family .b_newslist-content .b_ear:first-child {
        border-top: 0; }
      body.m_family .b_newslist-content .b_ear-title {
        font: 400 1.6rem/1.25 "Ubuntu", "Roboto", sans-serif; }
  body.m_family .b_newslist .b_showmorebtn {
    margin-bottom: -17px; }

body.m_family .b_showmorebtn {
  position: relative;
  margin: auto;
  background: #292929;
  border-radius: 20px;
  height: 34px;
  width: 140px;
  margin-bottom: 0;
  padding: 0 12px;
  font: 500 14px/31px "Ubuntu", "Roboto", sans-serif;
  color: #fff;
  text-align: center;
  opacity: 1;
  transition: all 0.3s ease; }
  body.m_family .b_showmorebtn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 34px;
    font: 500 14px/31px "Ubuntu", "Roboto", sans-serif;
    color: #fff;
    background: transparent; }
    body.m_family .b_showmorebtn-link:before, body.m_family .b_showmorebtn-link:after {
      display: none; }

body.m_family .b_ear {
  border-radius: 10px;
  overflow: hidden; }
  body.m_family .b_ear.m_education {
    background: #E5F6FF; }
  body.m_family .b_ear.m_beauty {
    background: #DEF4D2; }
  body.m_family .b_ear.m_celebrity {
    background: #FFF5C3; }
  body.m_family .b_ear.m_life {
    background: #F4EBD2; }
  body.m_family .b_ear.m_psycho {
    background: #F6E6FA; }
  body.m_family .b_ear.m_parents, body.m_family .b_ear.m_calcs {
    background: #E7E7E7; }
  body.m_family .b_ear.m_fun {
    background: #FAEBE6; }
  body.m_family .b_ear.m_interview .b_ear-image:before {
    content: 'Интервью';
    position: absolute;
    z-index: 100;
    right: auto;
    left: 10px;
    bottom: 10px;
    padding: 0 7px 0 24px;
    background: #fff url(https://static.gazeta.ru/nm2021/img/projects/family/interview_icon.png) no-repeat 3px 50%;
    background-size: 15px;
    border-radius: 4px;
    height: 21px;
    font: bold 10px/20px "Ubuntu", "Roboto", sans-serif;
    color: #292929;
    text-transform: uppercase;
    text-align: left; }
  body.m_family .b_ear.m_test .b_ear-image:before {
    content: 'Тест';
    position: absolute;
    z-index: 100;
    right: auto;
    left: 10px;
    bottom: 10px;
    padding: 0 7px 0 24px;
    background: #fff url(https://static.gazeta.ru/nm2021/img/projects/family/quiz_icon.png) no-repeat 4px 50%;
    background-size: 13px;
    border-radius: 4px;
    height: 21px;
    font: bold 10px/20px "Ubuntu", "Roboto", sans-serif;
    color: #292929;
    text-transform: uppercase;
    text-align: left; }
  body.m_family .b_ear-title, body.m_family .b_ear-intro, body.m_family .b_ear-time {
    font-family: "Ubuntu", "Roboto", sans-serif; }
  body.m_family .b_ear-image {
    margin-bottom: 0; }
  body.m_family .b_ear-title {
    font-size: 1.8rem; }
  body.m_family .b_ear-textblock {
    padding: 10px 15px 15px; }
  body.m_family .b_ear.m_techlisting.m_news .b_ear-textblock {
    padding: 0; }
  body.m_family .b_ear.m_techlisting.m_news .b_ear-time {
    display: none; }

body.m_family.m_rubric .breadcrumb, body.m_family.m_rubric .headline, body.m_family.m_rubric .subheader, body.m_family.m_rubric .author-item, body.m_family.m_rubric .i_gallery .infoblock .signplace p, body.m_family.m_rubric .i_gallery .infoblock .signplace i, body.m_family.m_rubric .b_article-intro, body.m_family.m_rubric .b_article-text p, body.m_family.m_rubric .b_article-text h4, body.m_family.m_rubric .b_article-text h2, body.m_family.m_rubric .b_article-text .idea, body.m_family.m_rubric .b_telegram-text {
  font-family: "Ubuntu", "Roboto", sans-serif; }

body.m_family.m_rubric .b_article .i_gallery .mainarea {
  border-radius: 10px;
  background-image: none; }
  body.m_family.m_rubric .b_article .i_gallery .mainarea-wrapper .item-image-front {
    box-shadow: none; }

body.m_family.m_rubric .b_ear {
  background: #fff; }
  body.m_family.m_rubric .b_ear.m_fullfield {
    background: transparent;
    padding: 0;
    overflow: visible; }
    body.m_family.m_rubric .b_ear.m_fullfield:before {
      content: '';
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      bottom: -120px;
      background: #fff; }
    body.m_family.m_rubric .b_ear.m_fullfield .b_ear-image {
      padding-top: calc(100% - 40px);
      margin: 0 20px;
      border-radius: 10px;
      overflow: hidden; }
      body.m_family.m_rubric .b_ear.m_fullfield .b_ear-image img {
        position: absolute;
        top: 0; }
    body.m_family.m_rubric .b_ear.m_fullfield .b_ear-textblock {
      position: relative;
      text-align: center;
      background: transparent;
      padding: 15px 40px 20px 40px; }
    body.m_family.m_rubric .b_ear.m_fullfield .b_ear-title {
      font: bold 1.8rem/1.2 "Ubuntu", "Roboto", sans-serif;
      color: #292929; }
    body.m_family.m_rubric .b_ear.m_fullfield .b_ear-intro {
      font: 400 1.3rem/1.2 "Ubuntu", "Roboto", sans-serif;
      color: #505050; }
    body.m_family.m_rubric .b_ear.m_fullfield .b_ear-time {
      display: block;
      position: relative;
      top: 0;
      left: 0;
      opacity: 1; }
    body.m_family.m_rubric .b_ear.m_fullfield.m_fit_image .b_ear-image {
      width: auto; }

body.m_family.m_rubric .b_footer {
  background: #fff; }
  body.m_family.m_rubric .b_footer-content {
    background: #fff; }

body.m_family.m_rubric.m_education {
  background: #E5F6FF; }
  body.m_family.m_rubric.m_education .b_header.m_pseudo {
    background: #E5F6FF; }
  body.m_family.m_rubric.m_education .b_footer:before {
    background: #E5F6FF; }

body.m_family.m_rubric.m_beauty {
  background: #DEF4D2; }
  body.m_family.m_rubric.m_beauty .b_header.m_pseudo {
    background: #DEF4D2; }
  body.m_family.m_rubric.m_beauty .b_footer:before {
    background: #DEF4D2; }

body.m_family.m_rubric.m_celebrity {
  background: #FFF5C3; }
  body.m_family.m_rubric.m_celebrity .b_header.m_pseudo {
    background: #FFF5C3; }
  body.m_family.m_rubric.m_celebrity .b_footer:before {
    background: #FFF5C3; }

body.m_family.m_rubric.m_life {
  background: #F4EBD2; }
  body.m_family.m_rubric.m_life .b_header.m_pseudo {
    background: #F4EBD2; }
  body.m_family.m_rubric.m_life .b_footer:before {
    background: #F4EBD2; }

body.m_family.m_rubric.m_psycho {
  background: #F6E6FA; }
  body.m_family.m_rubric.m_psycho .b_header.m_pseudo {
    background: #F6E6FA; }
  body.m_family.m_rubric.m_psycho .b_footer:before {
    background: #F6E6FA; }

body.m_family.m_rubric.m_parents, body.m_family.m_rubric.m_calcs {
  background: #E7E7E7; }
  body.m_family.m_rubric.m_parents .b_header.m_pseudo, body.m_family.m_rubric.m_calcs .b_header.m_pseudo {
    background: #E7E7E7; }
  body.m_family.m_rubric.m_parents .b_footer:before, body.m_family.m_rubric.m_calcs .b_footer:before {
    background: #E7E7E7; }

body.m_family.m_rubric.m_fun {
  background: #FAEBE6; }
  body.m_family.m_rubric.m_fun .b_header.m_pseudo {
    background: #FAEBE6; }
  body.m_family.m_rubric.m_fun .b_footer:before {
    background: #FAEBE6; }

body.m_family.m_rubric.m_article:before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff; }
