/* newsFeeds background image */
.app .news-background-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  /*max-height: 1860px;*/
}

.nwf-btn {
  height: 35px;
  background-color: rgb(255, 255, 255);
  width: 35px;
  opacity: 0.5;
  position: absolute;
  z-index: 9999;
  border-radius: 50px;
  top: 50%;
  cursor: pointer;
}

.nwf-btn:hover {
  opacity: 1;
}

.nwf-btn.left {
  left: 5px;
  display: none;
}

.nwf-btn.right {
  left: calc(100% - 40px);
}

.nwf-btn i {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
}

.nwf-btn.left i {
  left: 40%;
}

.nwf-btn.right i {
  left: 60%;
}

.news-section {
  height: auto;
}

.news-block .btn-box {
  position: absolute;
  right: 5px;
  top: -30px;
  display: flex;
}

.news-block .move-box,
.news-block .edit-box,
.news-block .delete-box,
.news-block .show-box {
  display: inline-block;
  font-size: 16px;
  outline: none;
  cursor: pointer;
  padding: 8px 10px;
  box-sizing: border-box;
  width: 35px;
  z-index: 1;
  margin: 5px 3px 0px 0px;
  border-radius: 2px;
  box-shadow: 0 0 5px #000;
}

.news-block .move-box i,
.news-block .edit-box i,
.news-block .delete-box i,
.news-block .show-box i {
  color: inherit;
}
/*
.news-main:hover~.btn-box {
	opacity: 0.2;
}

.btn-box:hover {
	opacity: 1;
}*/

.news-block a {
  text-decoration: none;
}

.news-section {
  margin: 0px auto;
  text-align: initial;
}

.news-section[data-d="3"] .news-section[data-d="2"] .news-section[data-d="1"] {
  max-width: 1300px;
}

.news-section[data-d="4"] {
  max-width: 1705px;
}

.news-section[data-d="all"] {
  overflow-x: scroll;
  max-width: 100%;
  margin: 0px 10px;
}

.news-section[data-d="all"] .page {
  display: inline-flex;
}

/* News Block layout */
.app .news-block {
  border-width: 1px;
  border-style: solid;
  box-shadow: 0px 0px 5px rgb(0 0 0 / 50%);
}

.app .news-block[data-l="dropdown"] {
  box-shadow: 0px 0px 7px rgb(0 0 0 / 80%);
}

.news-block {
  /*	width: 410px;
     min-height: 300px;
    display: inline-block; */
  margin: 30px 8px 8px;
  box-sizing: border-box;
  padding: 15px;
  position: relative;
  vertical-align: top;
}

.newsfeeds-main .news-block {
  width: 410px;
  min-height: 300px;
  display: inline-block;
}

.news-block[data-l="text-overlay"] {
  height: 300px;
}

.news-block a:hover {
  color: inherit;
}

.news-block[data-l="text-overlay"] {
  padding: 0px;
  /*overflow: hidden;*/
}

.news-block.hide {
  opacity: 0.75;
}

.news-block .news-main {
  width: 100%;
  height: calc(100% - 35px);
  overflow: hidden;
  overflow-y: auto;
  margin-bottom: 5px;
}

.news-block .news-main.full {
  margin-bottom: 0px;
  height: calc(100% - 10px);
}

.app .news-block .news-main.full {
  height: calc(100% - 7px);
}

.news-block[data-l="text-overlay"] .news-main {
  width: 100%;
  bottom: 30px;
  position: absolute;
  height: calc(100% - 30px);
  margin-bottom: 0px;
}

.news-block[data-l="text-overlay"] .inner_news_block {
  height: 100%;
  width: 100%;
}

.news-block[data-l="text-overlay"] .news-main .inner_news_block {
  height: 100%;
  width: 100%;
}

.news-block[data-l="text-overlay"] .news-main.full {
  bottom: 0px;
  height: 100%;
}

.news-block .news-header {
  width: 100%;
  word-break: break-word;
}

.news-block[data-l="dropdown"] .news-header {
  display: inline;
}

.news-block .news-header[data-p="left"] {
  text-align: left;
}

.news-block .news-header[data-p="center"] {
  text-align: center;
}

.news-block .news-header[data-p="right"] {
  text-align: right;
}

.news-block .news-date {
  font-size: 11px;
}

.news-block[data-l="default"] .news-img,
.news-block[data-l="default-long"] .news-img,
.news-block[data-l="side-by-side"] .news-img,
.news-block[data-l="side-by-side-long"] .news-img,
.news-block[data-l="dropdown"] .news-img {
  width: 45%;
  height: 170px;
  float: left;
  margin-right: 8px;
  overflow: hidden;
}

.news-section[data-d="1"] .news-block[data-l="dropdown"] .news-img,
.news-section[data-d="2"] .news-block[data-l="dropdown"] .news-img {
  width: 20%;
  height: 170px;
  float: left;
  margin-right: 8px;
  overflow: hidden;
}

.news-block[data-l="image-top"] .news-img,
.news-block[data-l="title-top"] .news-img {
  width: 100%;
  height: 200px;
  margin-bottom: 10px;
  overflow: hidden;
}

.news-block .news-box {
  width: 100%;
}

.news-block[data-l="default-long"] .news-box,
.news-block[data-l="side-by-side-long"] .news-box {
  width: calc(100% - 185px);
  display: inline-block;
}

.news-block .news-btn {
  width: 100%;
  height: 30px;
  text-align: center;
  box-sizing: border-box;
  padding: 5px;
  cursor: pointer;
}

.news-block[data-l="text-overlay"] .news-btn {
  position: absolute;
  top: calc(100% - 30px);
  left: 0px;
  border-radius: 0px;
}

.news-block[data-l="text-overlay"] audio {
  position: absolute;
  bottom: 15px;
  left: 10px;
  border-radius: 0px;
  width: calc(100% - 30px);
}

.news-block .news-btn[data-s="yes"],
.news-block .news-date[data-s="yes"] {
  display: block;
}

.news-block .news-btn[data-s="no"],
.news-block .news-date[data-s="no"] {
  display: none;
}

.news-block[data-l="text-overlay"] .overlayBG {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 0;
}

.news-block[data-l="text-overlay"] .overlay-text {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 15px;
  top: 0px;
  left: 0px;
}

.newsfeeds-main .news-block[data-l="dropdown"] {
  min-height: auto;
}

.news-block[data-l="dropdown"] details > summary {
  list-style: none;
  padding: 8px 10px;
}

.news-block[data-l="dropdown"] .inner_news {
  padding: 12px;
  min-height: 195px;
  border-width: 1px;
  border-style: solid;
}

.news-block[data-l="dropdown"] summary::-webkit-details-marker {
  display: none !important;
}

.news-block[data-l="dropdown"] summary::after {
  content: "\f0da";
  float: right;
  color: inherit;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.news-block[data-l="dropdown"] details[open] summary:after {
  content: "\f0d7";
}

.app .news-block[data-l="dropdown"] {
  margin: 8px;
  padding: 0px;
  height: fit-content;
}

/* Image Positions*/

.news-block img[data-pos="contain"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news-block img[data-pos="cover"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-block img[data-pos="stretch"] {
  width: 100%;
  height: 100%;
}

.news-block img[data-pos="center"] {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/* slider */
.news-block .img-boxs.slider,
.news-block .img-boxs.slider .slick-list {
  width: 100%;
  height: 100%;
}

.news-block .img-boxs.slider .slick-track,
.news-block .img-boxs.slider .slick-slide > div,
.news-block .img-boxs.slider .slick-slide .img-box {
  height: 100%;
  overflow: hidden;
}

/* pagination */

.news-section .pagination-container {
  width: 100%;
  position: relative;
  height: 60px;
}

.news-section ul.pagination {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.news-section ul.pagination li {
  display: inline;
}

.news-section ul.pagination li button {
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0px;
}

.news-section ul.pagination li button.active {
  background-color: #2f2f2f;
  color: white;
}

.news-section ul.pagination li button:hover:not(.active) {
  background-color: #ddd;
}

.news-section ul.pagination li:first-of-type button {
  border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
}

.news-section ul.pagination li:last-of-type button {
  border-bottom-right-radius: 2px;
  border-top-right-radius: 2px;
}

.news-section[data-d="4"] .page,
.news-section[data-d="3"] .page,
.news-section[data-d="2"] .page,
.news-section[data-d="1"] .page {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.news-section[data-d="all"] .news-block {
  width: 410px;
}

.news-section[data-d="4"] .page .news-block {
  width: calc(25% - 16px);
}

.news-section[data-d="3"] .page .news-block {
  width: calc(33.33% - 16px);
}

.news-section[data-d="2"] .page .news-block {
  width: calc(50% - 16px);
}

.news-section[data-d="1"] .page .news-block {
  width: calc(100% - 16px);
}

/* IE browser grid display*/
/*
.news-section[data-d='4'] .page .news-block:first-child,
.news-section[data-d='3'] .page .news-block:first-child {
	-ms-grid-row: 1;
	-ms-grid-column: 1;
}

.news-section[data-d='4'] .page .news-block:nth-child(2),
.news-section[data-d='3'] .page .news-block:nth-child(2) {
	-ms-grid-row: 1;
	-ms-grid-column: 2;
}

.news-section[data-d='4'] .page .news-block:nth-child(3),
.news-section[data-d='3'] .page .news-block:nth-child(3) {
	-ms-grid-row: 1;
	-ms-grid-column: 3;
}

.news-section[data-d='4'] .page .news-block:nth-child(4) {
	-ms-grid-row: 1;
	-ms-grid-column: 4;
}

.news-section[data-d='4'] .page .news-block:nth-child(5),
.news-section[data-d='3'] .page .news-block:nth-child(4) {
	-ms-grid-row: 2;
	-ms-grid-column: 1;
}

.news-section[data-d='4'] .page .news-block:nth-child(6),
.news-section[data-d='3'] .page .news-block:nth-child(5) {
	-ms-grid-row: 2;
	-ms-grid-column: 2;
}

.news-section[data-d='4'] .page .news-block:nth-child(7),
.news-section[data-d='3'] .page .news-block:nth-child(6) {
	-ms-grid-row: 2;
	-ms-grid-column: 3;
}

.news-section[data-d='4'] .page .news-block:nth-child(8) {
	-ms-grid-row: 2;
	-ms-grid-column: 4;
}


.news-section[data-d='4'] .page .news-block:nth-child(9),
.news-section[data-d='3'] .page .news-block:nth-child(7) {
	-ms-grid-row: 3;
	-ms-grid-column: 1;
}

.news-section[data-d='4'] .page .news-block:nth-child(10),
.news-section[data-d='3'] .page .news-block:nth-child(8) {
	-ms-grid-row: 3;
	-ms-grid-column: 2;
}

.news-section[data-d='4'] .page .news-block:nth-child(11),
.news-section[data-d='3'] .page .news-block:nth-child(9) {
	-ms-grid-row: 3;
	-ms-grid-column: 3;
}

.news-section[data-d='4'] .page .news-block:nth-child(12) {
	-ms-grid-row: 3;
	-ms-grid-column: 4;
}*/

/* News Feed resize */
.news-block[data-l="shapes"] {
  margin-top: 150px !important;
  box-shadow: 0px 0px 2px 3px #88888896;
}

.news-block[data-l="shapes"] .news-main {
  /*transform: translate(0, -70px);*/
}
.news-block[data-l="shapes"] .news-img {
  /*width: 150px;
  height: 150px;*/
  margin: auto;
  overflow: hidden;
  /*transform: translate(0, -50%) !important;*/
  width: 50%;
  aspect-ratio: 1 / 1;
  border: 3px solid;
  margin-top: -30%;
}

.news-block[data-l="shapes"][data-shape="circle"] .news-img {
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}

.news-block[data-l="shapes"][data-shape="square"] .news-img {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.news-block[data-l="shapes"][data-shape="droplet-right"] .news-img {
  border-top-left-radius: 50%;
  border-top-right-radius: 0;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}

.news-block[data-l="shapes"][data-shape="droplet-left"] .news-img {
  border-top-left-radius: 0;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}

.news-block[data-l="shapes"][data-shape="leaf-right"] .news-img {
  border-top-left-radius: 50%;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 50%;
}

.news-block[data-l="shapes"][data-shape="leaf-left"] .news-img {
  border-top-left-radius: 0;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 0;
}

.news-block[data-l="shapes"][data-shape="shield"] .news-img {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}

.news-block[data-l="shapes"][data-shape="dome"] .news-img {
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.news-block[data-l="shapes"][data-shape="oval-left"] .news-img {
  border-top-left-radius: 50%;
  border-top-right-radius: 150%;
  border-bottom-left-radius: 150%;
  border-bottom-right-radius: 50%;
}

.news-block[data-l="shapes"][data-shape="oval-right"] .news-img {
  border-top-left-radius: 150%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 150%;
}

.col-lg-6 .news-block {
  width: 220px;
  font-size: 12px;
}

.col-lg-6 .news-block .news-header {
  font-size: 16px;
}

.col-lg-6 .news-block[data-l="default"] .news-img,
.col-lg-6 .news-block[data-l="default-long"] .news-img,
.col-lg-6 .news-block[data-l="side-by-side"] .news-img,
.col-lg-6 .news-block[data-l="side-by-side-long"] .news-img,
.col-lg-6 .news-block[data-l="dropdown"] .news-img {
  height: 100px;
}

.col-lg-6 .news-block[data-l="image-top"] .news-img,
.col-lg-6 .news-block[data-l="title-top"] .news-img {
  height: 100px;
}

.col-lg-8 .news-block {
  width: 300px;
  font-size: 14px;
}

.col-lg-8 .news-block .news-header {
  font-size: 18px;
}

.col-lg-8 .news-block[data-l="default"] .news-img,
.col-lg-8 .news-block[data-l="default-long"] .news-img,
.col-lg-8 .news-block[data-l="side-by-side"] .news-img,
.col-lg-8 .news-block[data-l="side-by-side-long"] .news-img,
.col-lg-8 .news-block[data-l="dropdown"] .news-img {
  height: 150px;
}

.col-lg-8 .news-block[data-l="image-top"] .news-img,
.col-lg-8 .news-block[data-l="title-top"] .news-img {
  height: 150px;
}

.grid-block .news-section[data-d="4"] .news-block {
  width: 22%;
}

.grid-block .news-section[data-d="3"] .news-block {
  width: 30%;
}

.grid-block .news-section[data-d="2"] .news-block {
  width: 50%;
}

.grid-block .news-section[data-d="1"] .news-block {
  width: 75%;
}

.col-lg-6 .news-block[data-l="text-overlay"],
.grid-block[data-width="50"] .news-block[data-l="text-overlay"] {
  height: 150px;
}

.col-lg-6 .news-section[data-d="3"],
.col-lg-8 .news-section[data-d="3"],
.col-lg-6 .news-section[data-d="1"],
.col-lg-8 .news-section[data-d="1"] {
  max-width: 75%;
}

.col-lg-6 .news-section[data-d="4"],
.col-lg-8 .news-section[data-d="4"],
.col-lg-6 .news-section[data-d="2"],
.col-lg-8 .news-section[data-d="2"] {
  max-width: 100%;
}

.news-section .news-block iframe {
  width: 100% !important;
  height: 100% !important;
}

/* Hover animation */
.news-section[data-hover="grow"] .news-block:hover {
  transform: scale(1.1);
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

.news-section[data-hover="shrink"] .news-block:hover {
  transform: scale(0.9);
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

.news-section[data-hover="blackwhite"] .news-block:hover img,
.news-section[data-hover="blackwhite"] .news-block:hover video {
  filter: gray;
  /* IE */
  -webkit-filter: grayscale(1);
  /* Old WebKit */
  -webkit-filter: grayscale(100%);
  /* New WebKit */
  filter: url(resources.svg#desaturate);
  /* older Firefox */
  filter: grayscale(100%);
  /* Current draft standard */
}

.news-section[data-hover="floatshadow"] .news-block {
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  /*     box-shadow: 0 0 1px rgb(0 0 0 / 0%); */
  position: relative;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}

.news-section[data-hover="floatshadow"] .news-block:before {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  content: "";
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 0;
  background: -webkit-radial-gradient(
    center,
    ellipse,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 80%
  );
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform, opacity;
  transition-property: transform, opacity;
}

.news-section[data-hover="floatshadow"] .news-block:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-10px);
}

.news-section[data-hover="floatshadow"] .news-block:hover:before {
  opacity: 1;
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
}

.news-section[data-hover="shake"] .news-block:hover,
.news-section[data-hover="shake"] .news-block:focus {
  -webkit-animation-name: shacknews;
  animation-name: shacknews;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.news-section[data-hover="swirl"] .news-block .news-img,
.news-section[data-hover="liquid"] .news-block .news-img,
.news-section[data-hover="flow"] .news-block .news-img,
.news-section[data-hover="faction"] .news-block .news-img,
.news-section[data-hover="splatter"] .news-block .news-img,
.news-section[data-hover="blocks"] .news-block .news-img,
.news-section[data-hover="swirl"] .news-block[data-l="text-overlay"],
.news-section[data-hover="liquid"] .news-block[data-l="text-overlay"],
.news-section[data-hover="flow"] .news-block[data-l="text-overlay"],
.news-section[data-hover="faction"] .news-block[data-l="text-overlay"],
.news-section[data-hover="splatter"] .news-block[data-l="text-overlay"],
.news-section[data-hover="blocks"] .news-block[data-l="text-overlay"] {
  position: relative;
}

.news-section[data-hover="swirl"] .news-block svg,
.news-section[data-hover="liquid"] .news-block svg,
.news-section[data-hover="flow"] .news-block svg,
.news-section[data-hover="faction"] .news-block svg,
.news-section[data-hover="splatter"] .news-block svg,
.news-section[data-hover="blocks"] .news-block svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 200%;
  z-index: 1;
}

.news-section[data-hover="swirl"] .news-block:not([data-l="text-overlay"]) svg,
.news-section[data-hover="liquid"] .news-block:not([data-l="text-overlay"]) svg,
.news-section[data-hover="flow"] .news-block:not([data-l="text-overlay"]) svg,
.news-section[data-hover="faction"]
  .news-block:not([data-l="text-overlay"])
  svg,
.news-section[data-hover="splatter"]
  .news-block:not([data-l="text-overlay"])
  svg,
.news-section[data-hover="blocks"]
  .news-block:not([data-l="text-overlay"])
  svg {
  height: 100%;
}

@keyframes shacknews {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }

  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* Load animation*/
.news-section[data-load="fadein"] .news-block.fadein:not(.done) {
  -webkit-animation-name: newsfade;
  animation-name: newsfade;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.news-section[data-load="expand"] .news-block.expand:not(.done) {
  -webkit-animation-name: newsexpand;
  animation-name: newsexpand;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.news-section[data-load="slideleft"] .news-block,
.news-section[data-load="slideright"] .news-block {
  position: relative;
  overflow: hidden;
}

.news-section[data-load="slideleft"] .news-block .inner_news_block {
  left: calc(-100% - 30px);
  position: relative;
}

.news-section[data-load="slideleft"] .news-block.slideleft .inner_news_block {
  transition: 2s;
  left: 0%;
}

.news-section[data-load="slideright"] .news-block .inner_news_block {
  right: calc(-100% - 30px);
  position: relative;
}

.news-section[data-load="slideright"] .news-block.slideright .inner_news_block {
  transition: 2s;
  right: 0%;
}

/* .news-section[data-load="flipin"] .news-block{
	 transition: all 2s linear;
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
	transform-style: preserve-3d;
    backface-visibility: hidden;
	position: relative;
	-webkit-transform: rotateY( 180deg );
	transform: rotateY( 180deg );
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.news-section[data-load="flipin"] .news-block:after{
	content: '';
    right: 0px;
    bottom: 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    -webkit-transform: rotateY( 0deg );
    -webkit-transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
	transform: rotateY( 0deg );
    transform-style: preserve-3d;
    backface-visibility: hidden;
} 

.news-section[data-load="flipin"] .news-block.flipin{
	-webkit-transform: rotateY( 360deg );
	transform: rotateY( 360deg );
	
}

.news-section[data-load="dropin"] .news-block.dropin{
	-webkit-animation-name: newsdrop;
    animation-name: newsdrop;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}
 */

@-webkit-keyframes newswater {
  from {
    transform: matrix(1, 0, 0, 1, 0, -10620);
  }

  to {
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}

@keyframes newswater {
  from {
    transform: matrix(1, 0, 0, 1, 0, -10620);
  }

  to {
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}

@keyframes newsexpand {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(0.5);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes newsfade {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

@keyframes newsdrop {
  0% {
    opacity: 0;
    transform: scale(1.2);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* news Light Box*/

.news_back {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 99999999999999;
  top: 0;
}

.news_back .news_light_box {
  position: relative;
  width: 80%;
  height: 80%;
  border: 2px solid white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.news_back .news_light_box .inner_news_light {
  position: absolute;
  width: 100%;
  height: 100%;
}

.news_back .news_light_box .news_loader {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: white;
  transform: translate(-50%, -50%);
}

.news_back .news_light_box .close_news_light {
  position: absolute;
  height: 40px;
  width: 40px;
  top: -20px;
  right: -20px;
  border-radius: 50%;
  border: 2px solid;
  text-align: center;
  cursor: pointer;
  padding: 5px 0px;
  background: inherit;
}

.news_back .news_light_box .close_news_light i {
  font-size: 25px;
}

@media (max-width: 1705px) {
  .news-section[data-d="4"] .news-block,
  .newsfeeds-main .news-block {
    /* width: calc(25% - 16px); */
  }
}

@media (max-width: 1370px) {
  .news-section[data-d='3'] .news-block

	/*,
	.newsfeeds-main	.news-block*/ {
    /* width: calc(33% - 12px); */
  }
}

@media (max-width: 850px) {
  .news-block .news-header {
    font-size: 16px;
  }

  .news-block .news-content {
    font-size: 13px;
  }

  .news-block[data-l="default"] .news-img,
  .news-block[data-l="default-long"] .news-img,
  .news-block[data-l="side-by-side"] .news-img,
  .news-block[data-l="side-by-side-long"] .news-img,
  .news-block[data-l="dropdown"] .news-img {
    width: 200px;
    height: 200px;
  }

  .news-section[data-d="4"] .page,
  .news-section[data-d="3"] .page,
  .news-section[data-d="2"] .page,
  .news-section[data-d="1"] .page {
    display: block;
  }

  .news-section[data-d="4"] .page .news-block,
  .news-section[data-d="3"] .page .news-block,
  .news-section[data-d="2"]
    .page
    .news-block
    .news-section[data-d="1"]
    .page
    .news-block {
    width: calc(100% - 16px);
  }

  .news-section[data-d="4"] .news-block:nth-child(4n),
  .news-section[data-d="3"] .news-block:nth-child(3n),
  .news-section[data-d="4"] .news-block:nth-child(4n + 1),
  .news-section[data-d="3"] .news-block:nth-child(3n + 1) {
    margin: 8px;
  }
}

@media (max-width: 580px) {
  .news-section[data-d="4"] .news-block,
  .news-section[data-d="3"] .news-block,
  .news-section[data-d="2"] .news-block,
  .news-section[data-d="1"] .news-block {
    margin: 8px !important;
  }

  .news-block[data-l="image-top"],
  .news-block[data-l="title-top"] {
    min-height: 400px;
  }

  .news-block[data-l="default"] .news-img,
  .news-block[data-l="default-long"] .news-img,
  .news-block[data-l="side-by-side"] .news-img,
  .news-block[data-l="side-by-side-long"] .news-img,
  .news-block[data-l="dropdown"] .news-img {
    width: 120px;
    height: 120px;
  }

  .news-block[data-l="image-top"] .news-img,
  .news-block[data-l="title-top"] .news-img {
    height: 150px;
  }
}
