.dmi-news-lead, .dmi-grid-content {
  padding: 0 20px;
}

.fv-contest-description {
  text-align: justify;
  margin-bottom: 20px;
}

.fv-contest-description:after {
  content: '';
  display: block;
  clear: both;
}

.dmi-news-tools {
  color: #000000;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 1100px) {
  .dmi-news-tools {
    flex-direction: row;
  }
  
  .dmi-news-tools > div:not(:last-child) { 
    margin-right: 20px;
  }
}

.dmi-news-tools > div {
  margin-bottom: 5px;
}

/*.dmi-news-time, .dmi-news-date {
  margin-right: 20px;
}*/

.dmi-news-time {
  /*padding-left: 20px;
  background-position: center left;
  background-repeat: no-repeat;
  background-image: url('../images/icon-clock.svg');
  background-size: contain;*/
}

.dmi-news-category {
  margin-right: 15px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.dmi-news-category a {
  color: #ffffff;
  padding: 3px 10px;
  background-color: var(--dmimag-theme-color);
  margin-right: 5px;
  white-space: nowrap; 
}

.dmi-news-category a:hover {
  color: #ffffff;
  background-color: #7d7d7d;
}

.dmi-news-author, .dmi-news-author a {
  color: #000000;
}

/*.dmi-news-author {
  padding-left: 22px;
  background-position: center left;
  background-repeat: no-repeat;
  background-image: url('../images/icon-pencil.svg');
  background-size: contain;
}*/

h1.dmi-news-title {
  font-size: 32px;
  line-height: 38px;
  font-weight: bold;
  margin-bottom: 20px;
}

@media only screen and (max-width: 1200px) {
  /*h1.dmi-news-title {
    font-size: 36px;
  }*/
}


.dmi-news-lead {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 30px;
  font-weight: 700;
}

.dmi-news-share {
  margin-bottom: var(--dmimag-theme-padding);
}

.dmi-news-share .dmi-label {
  font-size: 18px;
}

.dmi-news-content {
    font-size: 20px;
    margin-bottom: 20px !important;
    line-height: 24px;
    font-weight: 400;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.dmi-news-content:after, .dmi-news-content ol:before, .dmi-news-content ol:after, .dmi-news-content ul:before, .dmi-news-content ul:after { 
  content: ''; 
  clear: both;
  display: block;
}

@media only screen and (max-width: 1024px) {
  h1.dmi-news-title {
    font-size: 30px;
    line-height: 1.25;
  }
  
  .dmi-news-lead {
    font-size: 22px;
  }
  
  /*.dmi-news-share {
    margin-bottom: 0;
  }*/

  .dmi-news-content {
    font-size: 16px;
  }
}

@media only screen and (max-width: 768px) {
  h1.dmi-news-title {
    font-size: 24px;
  }
  
  .dmi-news-lead {
    font-size: 18px;
  }
}

@media only screen and (max-width: 480px) {
  h1.dmi-news-title {
    font-size: 20px;
  }
  
  .dmi-news-lead {
    font-size: 16px;
  }
  
  /*.dmi-news-content {
    font-size: 14px;
  }*/
}

.dmi-news-content a {
  color: var(--dmimag-theme-color);
}

.dmi-news-content a:hover {
  text-decoration: underline;
}

.dmi-news-content h2,
.dmi-news-content h3,
.dmi-news-content h4,
.dmi-news-content h5,
.dmi-news-content h6 {
  font-weight: 500;
  line-height: normal;
  color: var(--theme-color);
  text-align: center;
  text-transform: uppercase;
}

.dmi-news-content h2 {
  font-size: 36px;
}

.dmi-news-content h3 {
  font-size: 32px;
}

.dmi-news-content h4 {
  font-size: 28px;
}

.dmi-news-content h5 {
  font-size: 24px;
}

.dmi-news-content h6 {
  font-size: 20px;
}

@media only screen and (max-width: 768px) {
  .dmi-news-content h2 {
    font-size: 22px;
  }

  .dmi-news-content h3 {
    font-size: 20px;
  }

  .dmi-news-content h4 {
    font-size: 18px;
  }

  .dmi-news-content h5 {
    font-size: 16px;
  }

  .dmi-news-content h6 {
    font-size: 16px;
  }
}

.dmi-news-content h2,
.dmi-news-content h3,
.dmi-news-content h4,
.dmi-news-content h5,
.dmi-news-content h6,
.dmi-news-content p, .dmi-news-content ul, .dmi-news-content ol, .dmi-news-content .wp-video {
  margin-bottom: 30px;
}

.dmi-news-content p:last-child, .dmi-news-content ul:last-child, .dmi-news-content ol:last-child, .dmi-news-content p > img { /* .dmi-news-content div:last-child */
  margin-bottom: 0;
}

.dmi-news-content strong {
  font-weight: 700;
}

.dmi-news-content em {
  font-style: italic;
}

.fotorama {
  background-color: #f9f9f9;
  margin-bottom: 15px;
}

.dmi-news-content blockquote, .dmi-blockquote-one {
  margin-bottom: 20px;
  font-size: 24px;
  color: #2d2d2d;
  padding: 20px 60px;
  position: relative;
  font-style: italic;
  font-family: var(--dmimag-theme-font-family);
}

@media only screen and (max-width: 768px) {
  .dmi-news-content blockquote, .dmi-blockquote-one {
    font-size: 18px;
    padding: 20px 30px;
  }
}

.dmi-blockquote-one {
  border-left: 6px solid #3d6d59;
  padding: 10px 40px;
}

.dmi-news-content blockquote:before {
  content: '';
  position: absolute;
  top:10px;
  left:0;
  width: 28px;
  height: 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../images/icon-quote-left.svg');
}

.dmi-news-content blockquote:after {
  content: '';
  position: absolute;
  bottom:10px;
  right:0;
  width: 28px;
  height: 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../images/icon-quote-right.svg');
}

@media only screen and (max-width: 768px) {
  .dmi-news-content blockquote:before , .dmi-news-content blockquote:after {
    width: 20px;
    height: 20px;
  }
}

.single-related-article {
  padding:15px;
  background-color: #efefef;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(204 204 204);
  -moz-box-shadow: 0px 0px 5px 0px rgba(204,204,204,1);
  box-shadow: 0px 0px 5px 0px rgb(204 204 204);
  width: 330px;
  border-radius: 4px;
}

.single-related-article-left {
  float:left;
  margin: 0 20px 20px 0;
}

.single-related-article-right {
  float:right;
  margin: 0 0 20px 20px;
}

@media only screen and (max-width: 1200px) {
  .single-related-article-left {
   margin: 0 20px 20px 0;
  }
  
  .single-related-article-right {
    margin: 0 0 20px 20px;
  }
}

/*  */

.single-related-article-block-title {
  font-size: 11px;
  display: inline-block;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #3d6d59;
  font-weight: bold;
  padding: 6px 10px;
  margin-bottom: 10px!important;
}

.single-related-article a {
  color: #000000;
}

.single-related-article h5 {
  font-size: 20px;
  margin-bottom: 0;
  /*margin-bottom: 15px;*/
  font-weight: bold;
}

.single-related-article .single-related-article-images {
  max-width: 300px;
  margin-bottom: 0;
}

.single-related-article .single-related-article-images img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0!important;
  display: block;
}

.single-related-article-text {
  margin-bottom: 0!important;
  margin-top: 15px;
  font-size: 14px;
}

@media only screen and (max-width: 560px) {
  .single-related-article {
    width:100%;
    margin: 0 0 20px 0!important;
  }
  
  .single-related-article .single-related-article-images {
    max-width: 100%;
  }
}

.dmi-news-content ul {
  padding: 0 20px;
}

.dmi-news-content ul li {
  list-style: none;
	padding-left: 25px;
	position: relative;
	margin-bottom: 10px;
  min-height: 32px;
}

.dmi-news-content ul li:before {
  content: '';
  background-color: var(--dmimag-theme-color);
  position: absolute;
	top: 14px;
	left: 0;
  width: 7px;
  height: 7px;
	border-radius: 2px;
}

.dmi-news-content ol {
  counter-reset: dmimagCounter;
	padding: 0 20px;
}

@media only screen and (max-width: 768px) {
  .dmi-news-content ul, .dmi-news-content ol {
    padding: 0;
  }
}

.dmi-news-content ol li {
  list-style: none;
	padding-left: 40px;
  padding-top: 0;
	position: relative;
	margin-bottom: 10px;
  min-height: 32px;
}


.dmi-news-content ol li:before {
  counter-increment: dmimagCounter;
  content: counter(dmimagCounter); 
  color: #ffffff;
  background-color: var(--dmimag-theme-color);
  position: absolute;
	top: 0;
	left: 0;
  text-align: center;
  line-height: 30px;
  width: 30px;
  height: 30px;
	border-radius: 3px;
  font-size: 14px;
}

.dmi-news-content ol[style="list-style-type: lower-alpha;"] li:before {
  content: counter(dmimagCounter, lower-alpha);
}

.dmi-news-content ol[style="list-style-type: lower-greek;"] li:before {
  content: counter(dmimagCounter, lower-greek);
}

.dmi-news-content ol[style="list-style-type: lower-roman;"] li:before {
  content: counter(dmimagCounter, lower-roman);
}

.dmi-news-content ol[style="list-style-type: upper-roman;"] li:before {
  content: counter(dmimagCounter, upper-roman);
}

.dmi-news-content ol[style="list-style-type: upper-alpha;"] li:before {
  content: counter(dmimagCounter, upper-alpha);
}

/* Images */

.dmi-news-media {
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 30px;
}

.dmi-news-thumbnail {
  max-width:100%;
  height:auto;
  margin: 0 auto;
}

.dmi-news-thumbnail img {
  max-width: 100%;
  width: auto;
  /*max-height: 350px;*/
  height: auto;
  display: block;
  /*margin:0 auto;*/
}

@media only screen and (max-width: 1100px) {
  .dmi-news-thumbnail img {
    margin:0 auto;
  }
}

.dmi-news-content img {
  max-width: 100%;
  /*width: 100%!important;*/
  height: auto!important;
}

/* */

.dmi-news-thumbnail-description, .wp-caption-text {
  font-size: 12px;
  font-style: italic;
  padding: 0 10px;
  text-align: center;
  max-width: 790px;
  margin: 0 auto;
}

.dmi-news-thumbnail-description {
  margin-top: 3px;
}

.wp-caption-text {
  margin-top: 0;
}

.dmi-news-content img {
  max-width: 100%;
  height: auto!important;
}

.dmi-news-content figure {
  max-width: 100%!important;
  margin: 0;
}

.dmi-news-content .alignnone, .dmi-news-content .alignright, .dmi-news-content .alignleft, .dmi-news-content .aligncenter {
  margin-bottom: 15px;
}

/*.dmi-news-content p > img {
  margin-bottom: 0!important;
}*/

.dmi-news-content .aligncenter {
  margin: 0 auto 15px;
  display: block;
}

.dmi-news-content .alignright {
  float: right;
  margin: 0 0 15px 15px;
}

.dmi-news-content .alignleft {
  float: left;
  margin: 0 15px 15px 0;
}

@media only screen and (max-width: 768px) {
  .dmi-news-content .alignnone, .dmi-news-content .alignright, .dmi-news-content .alignleft, .dmi-news-content .aligncenter {
    margin: 0 auto;
    float: none;
    display: block;
  }
}

/* */

.dmi-news-readuson {
  /*max-width: 800px;*/
  margin: 0 auto 30px; 
  flex-wrap: wrap;  
}

.dmi-news-readuson-title {
  padding-right: 20px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  
  .dmi-news-readuson-title {
    flex: 0 0 100%!important;
    width: 100%!important;
    margin-bottom: 10px;
  }
  
  .dmi-menu-group-buttons li {
    margin-bottom: 10px;
  }
  
  .dmi-news-readuson-img {
    margin-bottom: 10px;
  }
  
  .dmi-news-readuson {
    margin: 0 auto 10px;
  }
  
}

.dmi-news-readuson-img:not(:last-child) {
  margin-right: 20px;
}

.dmi-news-readuson-img a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  width: 210px;
  height: 36px;
  border-radius: 36px;
  color: #ffffff;
  padding: 0 10px;
  font-weight: 700;
  font-size: 14px;
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 26px;
}

.dmi-news-readuson-img a.sakha-sire-tg, .dmi-menu-group-buttons li a.sakha-sire-telegram {
  background-color: #2fbdea;
  background-image: url('../images/social/telegram.svg');
}

.dmi-news-readuson-img a.sakha-sire-vk, .dmi-menu-group-buttons li a.sakha-sire-vk {
  background-color: #2f85ea;
  background-image: url('../images/social/vk.svg');
}

.dmi-news-readuson-img a.sakha-sire-whatsapp, .dmi-menu-group-buttons li a.sakha-sire-whatsapp {
  background-color: #25d366;
  background-image: url('../images/social/whatsapp.svg');
}

.dmi-news-readuson-img a:hover {
  color: #ffffff;
}

.dmi-menu-group-buttons {
  list-style: none;
  flex-direction: row;
}

.dmi-menu-group-buttons li {
  margin-right: 20px;
}

.dmi-menu-group-buttons li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 36px;
  border-radius: 36px;
  color: #ffffff;
  padding: 0 10px;
  font-weight: 700;
  font-size: 14px;
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 26px;
}

.dmi-news-readalso {
  max-width: 800px;
  margin: 0 auto 25px; 
}

.dmi-news-readalso .dmi-header {
  margin-bottom: 20px!important;
}

.dmi-news-readalso .dmi-label {
  text-transform: none;
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
}

.dmi-news-readalso .dmi-label span {
  padding-right: 20px;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
}

.dmi-news-readalso .dmi-label:before {
  content: '';
  position: absolute;
  height: 1px;
  background-color: #9b9b9b;
  z-index: 1;
  top: 50%;
  left:0;
  right: 0;
  margin-top: 1px;
}

.dmi-news-readalso .dmi-card {
  width: 100%;
  flex: 0 0 100%;
}

.dmi-news-readalso .dmi-card-title {
  font-weight: normal;
}

.dmi-news-readalso a {
  text-decoration: underline;
  color: #000000;
  font-weight: 700;
}

.dmi-news-readalso a:hover {
  color: var(--dmimag-theme-color);
}

/* News footer */

.dmi-news-footer {
  margin-bottom: 20px;
}

.dmi-news-tags {
  margin-bottom: 25px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.dmi-news-tags .dmi-label {
  /*text-transform: uppercase;
  padding: 0 7px;
  border: 1px solid #9b9b9b;
  background-color: #9b9b9b;
  color: #ffffff;*/
  margin-bottom: 5px;
  margin-right: 5px;
  line-height: 15px;
  font-size: 15px;
  /*line-height: 22px;
  white-space: normal;*/
}

.dmi-news-tags a {
  margin-bottom: 5px;
  /*margin-right: 5px;*/
  /*border: 1px solid #9b9b9b;*/
  /*color: #000000;
  padding: 0 7px;
  line-height: 22px;*/
  font-size: 15px;
  line-height: 15px;
}

.dmi-news-tags a:not(:last-child):after {
  content: ', ';
  margin-right: 5px;
}

/*.dmi-news-tags a:hover {
  color: #8050ab;
  border: 1px solid #8050ab;
}*/

.dmi-action-user {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*margin-bottom: var(--dmimag-theme-padding);*/
}

.dmi-action-user > div {
  margin-bottom: var(--dmimag-theme-padding);
}

@media only screen and (max-width: 1400px) {
  .dmi-action-user {
    flex-direction: column;
    align-content: center;
  }
  
  .dmi-action-user .dmi-news-share .dmi-label {
    text-align: center;
  }
}

/* Post like/dislike */

.dmi-posts-like-dislike {
}

.pld-like-dislike-wrap {
  border-radius: 4px;
  background-color: var(--dmimag-theme-color);
  padding: 10px 20px;
  color: #ffffff;
  display: flex;
  max-width: 180px;
  justify-content: center;
  margin-bottom: 0!important;
}

.pld-like-dislike-wrap a {
  color: #ffffff;
}

.pld-like-dislike-wrap a:hover {
  color: #9b9b9b;
}

.pld-like-dislike-wrap .fas {
  font-size: 20px;
  line-height: 25px;
  vertical-align: middle;
}

.pld-like-wrap {
  padding-right: 10px;
  border-right:1px solid #ffffff;
}

.pld-dislike-wrap {
  padding-left: 10px;
}

.pld-count-wrap {
  font-size: 14px;
}

.pld-common-wrap {
  margin-right: 0!important;
  display: flex;
  align-items: center;
}

/* Table */

.dmi-table-container {
  overflow-x: auto;
  margin-bottom: 20px
}

.dmi-news-content table {
  width: 100%!important;
  border: 1px solid #d4d4d4;
  border-collapse: collapse;
}

.dmi-news-content table td {
  border: 1px solid #d4d4d4;
  font-size: 15px;
  padding: 5px 10px;
}

/* Full width and response iframe */

.dmi-iframe-video { 
	position: relative; 
	padding-bottom: 56.25%;
	height: 0; 
	overflow: hidden;
	margin-bottom:15px;
}

.dmi-iframe-content { 
	overflow-x: auto;
	margin-bottom:15px;
}

.dmi-iframe-content iframe {
  max-width: 100%;
}

.dmi-iframe-video iframe, .dmi-iframe-video object, .dmi-iframe-video embed, .dmi-iframe-video video { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
}

.dmi-news-content iframe {
  display: block;
  margin: 0 auto;
}

.dmi-news-content .fb-post.fb_iframe_widget {
  display: block;
  margin: 0 auto;
  max-width: 500px;
}

.dmi-news-content .twitter-tweet.twitter-tweet-rendered, .dmi-news-content .instagram-media.instagram-media-rendered {
  margin: 0 auto!important;
}

.dmi-group-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dmi-group-buttons a {
  margin-bottom: 10px;
  margin: 0 5px 10px 5px;
}

/*.dmi-group-buttons a:nth-child(even) {
  margin: 0 10px 10px 10px;
}*/

.dmi-group-buttons img {
  max-width: 100%;
  height: auto;
}