/*

===============================
Sidebar
===============================

*/

.site-sidebar {
    .single-sidebar {
      div {
        overflow: hidden;
      }
      margin-bottom: 40px;
      padding: 30px;
      box-shadow: 0px 0px 8px 0px rgba(96, 187, 191, 0.15);
      &:last-child {
        margin-bottom: 0;
      }
      h3 {
        font-size: 24px;
        font-weight: 600;
        position: relative;
        margin-bottom: 20px;
        text-transform: capitalize;
      }
      form {
        width: 100%;
        position: relative;
        height: 50px;
        border-radius: 4px;
        input {
          width: 100%;
          height: 100%;
          transition: 0.4s;
          text-indent: 15px;
          border: 2px solid #e4e4e4;
          &:hover, &:focus {
            border-color: $cl-blue;
          }
        }
        button {
          position: absolute;
          right: 0;
          top: 50%;
          transform: translateY(-50%);
          background: none;
          color: $cl-blue;
          height: 100%;
          width: 50px;
        }
      }
      ul {
        li {
          margin-bottom: 20px;
          position: relative;
          transition: 0.4s;
          &:last-child {
            margin-bottom: 0;
          }
          &:before {
            position: absolute;
            content: "\f101";
            font-family: 'Fontawesome';
            color: $cl-blue;
            left: -10px;
            opacity: 0;
            transition: 0.4s;
          }
          &:hover {
              padding-left: 15px;
            &:before {
                left: 0px;
                opacity: 1;
            }
          }
          a {
            color: $cl-black-2;
            display: block;
            text-transform: capitalize;
            &:hover {
              color: $cl-blue;
            }
          }
        }
      }
      .social-follow {
        a {
          padding: 25px 25px;
          border-radius: 4px;
          color: $cl-white;
          text-align: center;
          display: inline-block;
          font-family: $headding-font;
          margin: 0 1px;
          &:hover {
              background: $cl-blue;
          }
          i {
            display: block;
            font-size: 18px;
            }
          @media(max-width: 991px){
            margin-bottom: 5px;
          }
          @media(max-width: 767px){
            width: 100%;
          }
        }
      }
      .archives {
        a {
            display: block;
            margin-bottom: 15px;
            font-family: $headding-font;
            color: $cl-black;
            &:hover {
                color: $cl-blue;
            }
            &:last-child {
                margin-bottom: 0;
            }
            span {
                float: right;
            }
        }
      }
      a {
        img {
          width: 100%;
        }
      }
      .single-sidebar-news {
        border-bottom: 1px solid #E5E5E5;
        padding: 20px 0;
        &:last-child {
          border-bottom: 0;
        }
        .sidebar-news-thumb {
          width: 23%;
          float: left;
          margin-right: 10px;
          img {
            width: 62px;
            height: 62px;
            border-radius: 50%;
          }
        }
        .sidebar-news-content {
          width: 70%;
          float: left;
          h5 {
            font-size: 16px;
            font-weight: 600;
            text-transform: capitalize;
            margin-bottom: 10px;
            a {
              color: $cl-black;
              &:hover {
                color: $cl-blue;
              }
            }
          }
          p {
            margin: 0;
            font-size: 14px;
            line-height: 1.2em;
            a {
              color: $cl-black-2;
              border-right: 1px solid #dadada;
              padding-right: 8px;
              margin-right: 8px;
              font-weight: 600;
              &:hover {
                color: $cl-blue;
              }
            }
          }
        }
      }
    }
}
