/*
 * post-format.scss
 * -----------------------------------------------
*/
body:not(.single) {
  article {
    &.format-link {
      padding: 50px 30px;
      background-color: #fdfdfd;
      text-align: center;
      border: 1px solid rgba(222, 222, 222, 0.3);
      position: relative;
      z-index: 0;
      display: flex;
      justify-content: center;
      .link-content {
        height: 100%;
        width: 100%;
        display: table;
        .link-content-wrapper {
          height: 100%;
          display: table-cell;
          vertical-align: middle;
          .title {
            font-size: $archive-news-title-font-size;
            margin-bottom: 20px;
            line-height: 1.5;
          }
          .post-excerpt {
            margin-bottom: 10px;
          }
          .link {
            color: #999;
          }
          .link-url {
            position: absolute;
            display: block;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 2;
          }
        }
      }
      &:after {
        content: "";
        background: url('../images/blog/link.png') no-repeat;
        opacity: 0.10;
        position: absolute;

        right: 0;
        top: 30px;
        margin: 0 auto;
        left: 0;

        width: 100px;
        height: 100px;
        z-index: -1;
        @include transition(all .3s ease-in-out);
      }
    }
    &.format-quote {
      background-color: #fdfdfd;
      padding: 50px 30px;
      text-align: center;
      border: 1px solid rgba(222, 222, 222, 0.3);
      position: relative;
      z-index: 0;
      display: flex;
     justify-content: center;
      .quote-content {
        height: 100%;
        display: table;
        .quote-content-wrapper {
          height: 100%;
          display: table-cell;
          vertical-align: middle;
          blockquote {
            border: none;
            .title {
              font-size: $archive-news-title-font-size;
            }
            .post-excerpt {
              margin-bottom: 10px;
            }
            .quote {
              margin-bottom: 20px;
              line-height: 1.5;
            }
            footer {
              font-size: 0.9rem;
              color: #999;
            }
            &:before {
              color: rgba(250, 250, 250, 0.7);
              content: "\f10e";
              display:none;
              font-family: "Font Awesome 5 Free";
              font-weight: 600;
              font-size: 7rem;
              line-height: 1;
              opacity: 0.20;
              position: absolute;
              bottom: 0;
              right: 7px;
              transform: rotate(180deg);
            }
          }
        }
      }
      &:after {
        content: "";
        background: url('../images/blog/quote.png') no-repeat;
        opacity: 0.10;
        position: absolute;

        right: 0;
        top: 30px;
        margin: 0 auto;
        left: 0;

        width: 100px;
        height: 100px;
        z-index: -1;
        @include transition(all .3s ease-in-out);
      }
    }
    &.format-gallery {
      .owl-nav {
        position: unset;
        button {
          border-radius: 0;
          position: absolute;
          margin: 0;
          opacity: 0.3;
          &.owl-prev, &.owl-next {
            background: #fff;
            border-radius: 0;
            color: var(--theme-color1);
            padding: 10px;
            width: 30px;
            height: 65px;
            opacity: 1;
            top: 50%;
            transform: translateY(-50%);
            &:hover {
              background: var(--theme-color1);
              color: var(--text-color-bg-theme-color1);
            }
          }
          &.owl-prev {
            left: 0;
          }

          &.owl-next {
            right: 0;
            left: auto;
          }
        }

      }
      &:hover {
        .owl-nav {
          > button {
            &.owl-prev {
              //left: 20px;
            }

            &.owl-next {
              //right: 20px;
            }
          }
        }
      }
    }
  }
}