/****************************/
/*******GENERAL RULES********/
/****************************/
.layout-block.dosszie__block.fullwidth.visible {
  background-color: #373737;
  margin: 10px 0;
}

section.dosszie__block.row {
  display: flex;
  flex-direction: row;
  background-color: #373737;
  color: #fff;
  margin-bottom: 60px;
  border-bottom: 1px solid #7d7d7d;
  margin-left: 25px;
  margin-right: 25px;
}

.dosszie__block--main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: calc(65.5% + 90px);
  flex-basis: unset;
  word-break: break-word;
  border-right: 1px solid #7d7d7d;
}

.dosszie__block--link h2 {
  white-space: pre-line;
  color: #fff;
  padding: 0;
}
.article.dosszie__block__element img {
  object-fit: cover;
}
.dosszie__block--text-holder {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
}

.dosszie__block__tags {
  order: 3;
}
.dosszie__block__tag-link {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1.927vw;
  padding: 2px 10px;
  background-color: #157efc;
  margin-right: 10px;
  letter-spacing: 0.08em;
}

.dosszie__block__tag-link:nth-of-type(1) {
  padding: 2px 10px;
}

.dosszie__block__tag-link:not(:nth-of-type(1)) {
  padding: 2px 10px;
}

.dosszie__block__tag-link:not(:last-child) {
  border-right: 1px solid #157efc;
}

.dosszie__block--link {
  order: 1;
  margin: -0.521vw 0;
}

.dosszie__block--lead {
  order: 2;
  padding: 0 0 2vw 0;
  font-size: 0.95em;
  font-weight: normal;
  line-height: 32px;
}

.dosszie__block--main + .dosszie__block--connected:empty {
  display: none;
}
.dosszie__block--connected:empty + .dosszie__block--main {
  width: 100%;
}
.dosszie__block__main-tag {
  min-height: 60px;
  background-color: #373737;
  display: flex;
  flex-direction: row;
  height: auto;
  margin: 0 25px;
  border-bottom: 1px solid #7d7d7d;
}

.dosszie__block__left-tag {
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  height: auto;
  flex-wrap: wrap;
}

.dosszie__block__left-tag--link {
  background-color: #157efc;
  color: #ffffff;
  margin-left: 3vw;
  text-transform: uppercase;
}
.dosszie__block__object-title {
  background-color: #157efc;
  color: #ffffff;
  text-transform: uppercase;
}
.article.dosszie__block__element .dosszie__block--title {
  font-size: 32px;
}
.article.dosszie__block__element:not(:last-child) {
  border-bottom: 1px solid #7d7d7d;
  width: 100%;
}

.dosszie__col-left figure,
.dosszie__col-left .dosszie__block__tags,
.dosszie__col-left .dosszie__block--lead,
.dosszie__col-right figure,
.dosszie__col-right .dosszie__block__tags,
.dosszie__col-right .dosszie__block--lead {
  display: none;
}

/****************************/
/*******LEFT COL*************/
/****************************/
.dosszie__block--main .article.dosszie__block__element {
  padding: 20px 25px 20px 0;
}
.dosszie__block--main .dosszie__col-left {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-basis: 100%;
  align-items: flex-start;
  height: fit-content;
}
.article.dosszie__block__element:first-child h2 {
  font-size: 34px;
  font-weight: 700;
  white-space: pre-line;
  color: #fff;
  line-height: 38px;
}
.article.dosszie__block__element:not(:first-child) h2 {
  font-size: 24px;
  font-weight: 700;
  white-space: pre-line;
  font-family: "DIN Pro";
  color: #fff;
}
.dosszie__block--connected {
  width: calc(32.5% - 90px);
  z-index: 1000;
}
.dosszie__block--connected .article.dosszielist__block__element {
  padding: 10px 0 10px 20px;
}
.dosszie__block--connected h2 {
  font-family: "DIN Pro";
  letter-spacing: initial;
  line-height: 24px;
  color: #fff;
  font-size: 0.95em;
}
.dosszie__block--connected h4,
.dosszie__block--connected .dosszielist__block__tags {
  display: none;
}
/* 1 */
.article.dosszie__block__element:nth-of-type(1):last-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 10px 20px 0;
  position: relative;
  margin-left: 0;
}

.article.dosszie__block__element:nth-of-type(1):last-child
  .dosszie__block--text-holder {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  padding: 0 20px;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  min-height: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
}
.article.dosszie__block__element:nth-of-type(1):last-child
  .dosszie__block--lead {
  display: block;
  height: auto;
  padding: 0;
  font-size: 0.95em;
  line-height: 26px;
  font-family: "Roboto";
  font-weight: 400;
  order: 3;
  color: #fff;
  padding-top: 15px;
}

.article.dosszie__block__element:nth-of-type(1):last-child
  .dosszie__block--title {
  padding: 5px 0;
}

.article.dosszie__block__element:nth-of-type(1):last-child figure {
  display: block;
}

.article.dosszie__block__element:nth-of-type(1):last-child img {
  width: 310px;
  height: auto;
  display: block;
  background-color: #999;
}
/* 2 */
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2),
.article.dosszie__block__element:nth-of-type(2):last-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 20px 20px 0;
  position: relative;
}
.article.dosszie__block__element:nth-of-type(2):last-child {
  flex-direction: row-reverse;
}
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2)
  .dosszie__block--text-holder,
.article.dosszie__block__element:nth-of-type(2):last-child
  .dosszie__block--text-holder {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  padding: 0 20px;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  min-height: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  flex-wrap: wrap;
}
.article.dosszie__block__element:nth-of-type(2):last-child
  .dosszie__block--text-holder {
  padding: 0 20px 0 0;
}
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2)
  .dosszie__block--lead,
.article.dosszie__block__element:nth-of-type(2):last-child
  .dosszie__block--lead {
  display: block;
  height: auto;
  padding: 0;
  font-size: 0.95em;
  line-height: 26px;
  font-family: "Roboto";
  font-weight: 400;
  order: 3;
  color: #fff;
  padding-top: 15px;
}
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2)
  .dosszie__block--title,
.article.dosszie__block__element:nth-of-type(2):last-child
  .dosszie__block--title {
  padding: 5px 0;
}
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2) figure,
.article.dosszie__block__element:nth-of-type(2):last-child figure {
  display: block;
}
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2) img,
.article.dosszie__block__element:nth-of-type(2):last-child img {
  width: 250px;
  /* width: 310px; */
  height: auto;
  display: block;
  background-color: #999;
}
/* 3 */
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3),
.article.dosszie__block__element:nth-of-type(3):last-child {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 10px 20px 0;
  position: relative;
}
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3)
  .dosszie__block--text-holder,
.article.dosszie__block__element:nth-of-type(3):last-child
  .dosszie__block--text-holder {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  padding: 0 20px;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  min-height: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
}
.article.dosszie__block__element:nth-of-type(2):nth-last-of-type(2)
  .dosszie__block--text-holder {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  min-height: 100%;
}

.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3) figure,
.article.dosszie__block__element:nth-of-type(3):last-child figure {
  display: block;
}
.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3) img,
.article.dosszie__block__element:nth-of-type(3):last-child img {
  width: 250px;
  /* width: 310px; */
  height: auto;
  display: block;
  background-color: #999;
}

.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3)
  .dosszie__block--title,
.article.dosszie__block__element:nth-of-type(2):nth-last-of-type(2)
  .dosszie__block--title,
.article.dosszie__block__element:nth-of-type(3):last-child
  .dosszie__block--title {
  padding: 5px 0;
}

.article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3)
  .dosszie__block--lead,
.article.dosszie__block__element:nth-of-type(2):nth-last-of-type(2)
  .dosszie__block--lead,
.article.dosszie__block__element:nth-of-type(3):last-child
  .dosszie__block--lead {
  display: block;
  height: auto;
  padding: 0;
  font-size: 0.95em;
  line-height: 26px;
  font-family: "Roboto";
  font-weight: 400;
  order: 3;
  color: #fff;
  padding-top: 15px;
}
@media screen and (max-width: 1000px) {
  section.dosszie__block.row {
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
  }
  .dosszie__block--main {
    border-right: 0;
    width: 100%;
  }
  .dosszie__block--main .article.dosszie__block__element {
    padding: 20px 0;
  }
  .dosszie__block__main-tag {
    margin: 0 10px;
  }
  .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3),
  .article.dosszie__block__element:nth-of-type(3):last-child {
    width: 100%;
    flex-direction: column;
  }
  .dosszie__block--main
    .dosszie__col-left
    .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2),
  .dosszie__block--main
    .dosszie__col-left
    .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3) {
    padding: 35px 0 0;
  }
  /* 1 */
  .article.dosszie__block__element:nth-of-type(1):last-child {
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #7d7d7d;
  }
  .article.dosszie__block__element:nth-of-type(1):last-child img {
    width: 100%;
    height: auto;
  }
  .article.dosszie__block__element:nth-of-type(1):last-child
    .dosszie__block--text-holder {
    width: auto;
    padding: 15px 0;
  }
  /* 2 */
  .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2),
  .article.dosszie__block__element:nth-of-type(2):last-child {
    flex-direction: column;
    padding: 10px 0;
  }
  .article.dosszie__block__element:nth-of-type(2):last-child {
    border-bottom: 1px solid #7d7d7d;
  }
  .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2) img,
  .article.dosszie__block__element:nth-of-type(2):last-child img {
    width: 100%;
    height: auto;
  }
  .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2)
    .dosszie__block--text-holder,
  .article.dosszie__block__element:nth-of-type(2):last-child
    .dosszie__block--text-holder {
    width: auto;
    padding: 15px 0;
  }
  /* 3 */
  .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3),
  .article.dosszie__block__element:nth-of-type(3):last-child {
    padding: 10px 0;
    border-bottom: 1px solid #7d7d7d;
  }
  .dosszie__block--main
    .article.dosszie__block__element:nth-of-type(1):last-child
    figure,
  .dosszie__block--main
    .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(2)
    figure,
  .dosszie__block--main
    .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3)
    figure,
  .dosszie__block--main
    .article.dosszie__block__element:nth-of-type(3):last-child
    figure {
    width: 100%;
    height: auto;
  }
  .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3) img,
  .article.dosszie__block__element:nth-of-type(3):last-child img {
    width: 100%;
    height: auto;
  }
  .article.dosszie__block__element:nth-of-type(1):nth-last-of-type(3)
    .dosszie__block--text-holder,
  .article.dosszie__block__element:nth-of-type(3):last-child
    .dosszie__block--text-holder {
    padding: 15px 0;
  }
  .dosszie__block--connected {
    width: 100%;
  }
  .dosszie__block--connected .article.dosszielist__block__element {
    padding: 10px 0;
  }
  /* 4+ */
  .article.dosszie__block__element:nth-of-type(4):last-child,
  .article.dosszie__block__element:nth-of-type(5):last-child,
  .article.dosszie__block__element:nth-of-type(6):last-child {
    border-bottom: 1px solid #7d7d7d;
  }
  section.dosszie__block.row {
    border-bottom: 0;
  }
}
