/* ------------------------------------------------------------ *\
  Tiles
\* ------------------------------------------------------------ */
.tiles * {
  box-sizing: border-box;
}

.tiles {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.2;
  font-size: 14px;
}

.tiles a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

.tiles a:hover,
.tiles a[href^=tel] {
  text-decoration: none;
  color: inherit;
}

.tiles h1,
.tiles h2,
.tiles h3,
.tiles h4,
.tiles h5,
.tiles h6 {
  color: #3d6b99;
}

.tiles h1 {
  font-size: 32px;
}

.tiles h2 {
  font-size: 26px;
}

.tiles h3 {
  font-size: 20px;
}

.tiles h4 {
  font-size: 16px;
}

.tiles h5 {
  font-size: 14px;
}

.tiles h6 {
  font-size: 12px;
}

.tiles + .tiles {
  margin-top: 2px;
}

/* ------------------------------------------------------------ *\
  Tile
\* ------------------------------------------------------------ */
.tile + .tile {
  margin-top: 2px;
}

.tile {
  display: flex;
  flex-direction: column;
  min-height: 75px;
  border: 1px solid #c5c5c5;
  border-radius: 3px;
  background-color: #f6f6f6;
  font-size: 13px;
  font-weight: 400;
  box-shadow: 0 0 0 1px transparent;
  transition: background-color 0.2s ease-in-out;
  text-decoration: none;
  overflow: hidden;
}

.tile:active {
  box-shadow: 0 0 0 1px #4d90fe;
}

.tile:not(.active):hover,
.tile.active {
  background-color: #ededed;
}

.tile .tile__top {
  display: flex;
  padding: 2px;
}

.tile .tile__top h1,
.tile .tile__top h2,
.tile .tile__top h3,
.tile .tile__top h4,
.tile .tile__top h5,
.tile .tile__top h6 {
  margin-bottom: 0;
}

.tile .tile__top p,
.tile .tile__top ul,
.tile .tile__top ol,
.tile .tile__top dl,
.tile .tile__top hr,
.tile .tile__top table,
.tile .tile__top blockquote {
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

.tile .tile__top ul,
.tile .tile__top ol {
  list-style-type: none;
}

.tile .tile__top h1[class],
.tile .tile__top h2[class],
.tile .tile__top h3[class],
.tile .tile__top h4[class],
.tile .tile__top h5[class],
.tile .tile__top h6[class],
.tile .tile__top h1:last-child,
.tile .tile__top h2:last-child,
.tile .tile__top h3:last-child,
.tile .tile__top h4:last-child,
.tile .tile__top h5:last-child,
.tile .tile__top h6:last-child,
.tile .tile__top p:last-child,
.tile .tile__top ul:last-child,
.tile .tile__top ol:last-child,
.tile .tile__top dl:last-child,
.tile .tile__top table:last-child,
.tile .tile__top blockquote:last-child {
  margin-bottom: 0;
}

.tile .tile__inner {
  flex-grow: 1;
  padding: 0 12px 0 30px;
}

.tile .tile__head {
  min-height: 69px;
  padding: 3px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tile .tile__body {
  padding-bottom: 7px;
}

.tile .tile__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px 9px;
  font-size: 17px;
  text-align: center;
}

.tile .tile__title {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: #3d6b99;
}

.tile .tile__title:before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: #bbb;
  transition: 0.2s ease-in-out;
  transform-origin: 50% 2px;
}

.tile.active .tile__title:before {
  transform: scaleY(-1);
}

.tile .tile__image {
  flex: 0 0 16.67vw;
  padding: 2px 0 2px 6px;
}

.tile .frame,
.tile .avatar {
  margin: auto;
}

.tile.active .avatar {
  height: 16.67vw;
  width: 16.67vw;
}

@media (max-width: 450px) {
  .tile p {
    max-width: 100%;
  }
  .tile a {
    word-break: break-all;
  }
  .tile .tile__content {
    font-size: 14px;
  }
}
/* ------------------------------------------------------------ *\
  Title tiles
\* ------------------------------------------------------------ */
.title-tiles {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  padding-left: 0 !important;
  font-family: Tahoma, Geneva, sans-serif;
  line-height: 1.2;
  box-sizing: border-box;
  color: #3d6b99;
  font-size: 1em;
  color: red;
}

/* ------------------------------------------------------------ *\
  Avatar
\* ------------------------------------------------------------ */
.avatar {
  position: relative;
  display: flex;
  align-items: center;
  width: 69px;
  height: 69px;
  max-width: 16.67vw;
  transition: 0.3s ease-in-out;
}

.avatar .avatar__image {
  position: absolute;
  width: 100%;
  padding-top: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* ------------------------------------------------------------ *\
  Frame
\* ------------------------------------------------------------ */
.frame {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 16.67vw;
  transition: 0.3s ease-in-out;
}

.frame .frame__image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* ------------------------------------------------------------ *\
  article
\* ------------------------------------------------------------ */
.article-title {
  padding-right: 135px;
}

.article-date {
  position: absolute;
  right: 8px;
  top: 8px;
  color: #000000;
}

@media (max-width: 450px) {
  .article-title {
    padding-right: 0;
  }
  .article-date {
    max-width: 70px;
    font-size: 14px;
  }
  .article-date .date {
    display: block;
  }
}
/* ------------------------------------------------------------ *\
  accordions
\* ------------------------------------------------------------ */
@media (max-width: 450px) {
  .accordions {
    font-size: 14px;
  }
  .accordions a {
    word-break: break-all;
  }
}
/* ------------------------------------------------------------ *\
  Tiles Profile
\* ------------------------------------------------------------ */
.tiles-profile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 29px;
  border: 1px solid #C5C5C5;
  border-radius: 3px;
  margin-bottom: 40px;
  background: #f6f6f6;
  font-family: "Arial", sans-serif;
  font-size: 14px;
  line-height: 2;
}

.tiles-profile:last-child {
  margin-bottom: 0;
}

.tiles-profile * {
  box-sizing: border-box;
}

.tiles-profile .tiles__image {
  width: 200px;
}

.tiles-profile .tiles__image img {
  display: block;
  width: 100%;
  border-radius: 3px;
}

.tiles-profile .tiles__content {
  width: calc(100% - 435px);
  padding: 0 40px 0 60px;
}

.tiles-profile .tiles__content--center {
  text-align: center;
}

.tiles-profile .tiles__aside {
  transform: translateY(-10px);
  width: 235px;
  padding: 0 10px;
  text-align: center;
}

.tiles-profile .tiles__aside img {
  margin-bottom: 21px;
}

.tiles-profile .tiles__aside img:last-child {
  margin-bottom: 0;
}

.tiles-profile .tiles__title {
  margin: 0 0 13px;
  font-size: 18px;
  line-height: 1.18;
  font-weight: bold;
}

.tiles-profile .tiles__title:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .tiles-profile .tiles__image {
    width: 180px;
  }
  .tiles-profile .tiles__content {
    width: calc(100% - 400px);
    padding: 0 30px;
  }
  .tiles-profile .tiles__aside {
    transform: translateY(0);
    width: 220px;
  }
}
@media (max-width: 767px) {
  .tiles-profile {
    display: block;
    margin-bottom: 41px;
    text-align: center;
  }
  .tiles-profile .tiles__image {
    width: 100%;
    margin-bottom: 30px;
  }
  .tiles-profile .tiles__image:last-child {
    margin-bottom: 0;
  }
  .tiles-profile .tiles__image img {
    max-width: 150px;
    margin: 0 auto;
  }
  .tiles-profile .tiles__content {
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
  }
  .tiles-profile .tiles__content:last-child {
    margin-bottom: 0;
  }
  .tiles-profile .tiles__aside {
    width: 100%;
    padding: 0;
  }
  .tiles-profile .tiles__aside img {
    display: none;
  }
}
@media (max-width: 300px) {
  .tiles-profile {
    padding: 20px;
  }
}
/* ------------------------------------------------------------ *\
  List Contacts
\* ------------------------------------------------------------ */
.list-contacts {
  margin-bottom: 24px;
}

.list-contacts:last-child {
  margin-bottom: 0;
}

.list-contacts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-contacts li a {
  color: inherit;
  text-decoration: none;
}

/* ------------------------------------------------------------ *\
  Icons
\* ------------------------------------------------------------ */
.ico-facebook {
  display: inline-block;
  vertical-align: middle;
  width: 9px;
  height: 16px;
  background-image: image-url(/assets/facebook-a80315cf38976c21c4cb3025c00cb0547c168adf64d71f94dc94e1a8cab5e421.svg);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ------------------------------------------------------------ *\
  Button
\* ------------------------------------------------------------ */
.btn {
  display: inline-block;
  min-width: 200px;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #3D6B99;
  border-radius: 3px;
  background: #3D6B99;
  font-size: 14px;
  line-height: 48px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  appearance: none;
  transition: opacity 0.3s;
  box-sizing: border-box;
}

.btn i {
  transform: translateY(-1px);
  margin-right: 7px;
}

.btn:hover {
  opacity: 0.9;
}

.btn--facebook {
  border-color: #36559F;
  background: #36559F;
}

@media (max-width: 1024px) {
  .btn {
    min-width: 180px;
  }
}
@media (max-width: 767px) {
  .btn {
    min-width: 200px;
  }
}
@media (max-width: 300px) {
  .btn {
    min-width: 180px;
  }
}
@media (max-width: 250px) {
  .btn {
    min-width: 150px;
  }
}
/* ------------------------------------------------------------ *\
  Title Tiles 
\* ------------------------------------------------------------ */
/*  --primary  */
.title-tiles--primary {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.18;
  color: inherit;
  font-weight: bold;
  text-align: center;
}

.title-tiles--primary:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .title-tiles--primary {
    margin-bottom: 27px;
  }
}
