.dmi-content article { }

.dmi-content .dmi-label {
  margin-bottom: 5px;
  color: #000000;
  /*text-transform: uppercase;*/
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
}

/* Reactions */
.wpra-reactions-wrap {
  padding-top: 0!important;
  padding-bottom: 10px!important;
}

@media only screen and (max-width: 768px) {
  .wpra-reactions-container {
    width: 70%!important;
  }
}

/* Share */

 .ya-share2__container {
   display: flex;
   flex-direction: row;
   justify-content: center;
  }

.ya-share2__container_size_l .ya-share2__badge .ya-share2__icon {
  height: 26px!important;
  width: 26px!important;
  background-size: 26px 26px!important;
  background-position: center;
}

.ya-share2__container_mobile .ya-share2__badge {
  border-radius: 10px!important;
}

@media only screen and (max-width: 768px) {
  .ya-share2__container_size_l .ya-share2__badge .ya-share2__icon {
    height: 26px!important;
    width: 26px!important;
    background-size: 26px 26px!important;
  }
}

/*.ya-share2__badge, .ya-share2__mobile-popup-badge {
  background-color: #8050ab!important;
}

.ya-share2__badge:hover, .ya-share2__mobile-popup-badge:hover {
  background-color: #6a727c!important;
  opacity: 1;
}

.ya-share2__badge, .ya-share2__container_mobile .ya-share2__badge {
  border-radius: 50%!important;
}

.ya-share2__list.ya-share2__list_direction_horizontal > .ya-share2__item {
  margin: 2px 8px 0 0!important;
}*/

.dmi-news-content { /*.dmi-news-lead, .dmi-news-footer , .dmi-news-readalso */
  max-width: 800px;
  margin: 0 auto;
}

.dmi-news-tools {
  color: #222222;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  /*max-width: 800px;
  margin: 20px auto 10px;*/
}

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

.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: #2688c7;
  margin-right: 5px;
  white-space: nowrap; 
}

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

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

.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: 50px;
  margin-top: -7px;
  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: 20px;
  margin-bottom: 15px;
}

.dmi-news-share {
  /*margin-bottom: 30px;*/
}

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

.dmi-news-content {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
  /*font-weight: 300;*/
  overflow: hidden;
}

.dmi-news-content: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: 15px;
  }

  .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: #f70d28;
}

.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;
}

.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: 15px;
}

.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: 500;
}

.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;
  /*background-color: #f0f0f0;*/
  font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
}

.dmi-blockquote-one {
  border-left: 6px solid #2688c7;
  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');
}

.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: #2688c7;
  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: #2688c7;
  position: absolute;
	top: 14px;
	left: 0;
  width: 7px;
  height: 7px;
	border-radius: 2px;
}

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

.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: #2688c7;
  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;
}

.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;
}

.wp-caption-text {
   padding: 0 10px;
}

.fotorama__caption {
  font-size: 12px!important;
  font-style: italic!important;
}

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

.dmi-news-thumbnail-excerpt, .wp-caption-excerpt {
  color: #969696;
}

.wp-caption-text {
  margin-top: 0;
  line-height: 16px
}

.wp-caption-text span {
  display: block;
}

.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;
  }
}

/* */

.dmi-news-readuson {
  max-width: 800px;
  margin: 0 auto 25px; 
  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-news-readuson-img:not(:last-child) {
  margin-right: 20px;
}

.dmi-news-readuson-img a {
  background-color: #f9f9f9;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8px;
  border: 2px solid #f9f9f9;
}

.dmi-news-readuson-img a:hover {
  border: 2px solid #eeeeee;
}

.dmi-news-readuson-img img {
  display: block;
  max-width: 120px;
  height: auto;
}

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

.dmi-news-readalso .dmi-header {
  margin-bottom: 25px;
}

.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;
}

/* 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: row;
  justify-content: space-between;
  margin-bottom: 30px;
}

@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: 8px;
  background-color: #7d4fa6;
  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;
  flex-wrap: wrap;
}

/* Post like/dislike */

.dmi-posts-like-dislike {
}

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

@media only screen and (max-width: 1400px) {
  .dmi-group-buttons {
    margin-bottom: 20px;
  }
  
  .dmi-group-buttons a {
    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;
}

.single-erid-token {
  font-size: 12px;
  font-style: italic;
  text-align: right;
  margin-bottom: 5px;
}

.dmi-smi2 {
  max-width: 800px;
  margin: 0 auto;
}