.sidebar, .mobile_sidebar {




}

.widget {

  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.2);
  border-top: 3px solid $infoBorder;
  margin-bottom: 1rem!important;
  .widget-title {
    color: #454545;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    text-transform: uppercase;
    padding: 1rem;
  }

  .searchform>div {
    width: 100%;
    display: flex;
    flex-direction: row;
  }

  .searchform {
    width: 100%;

    .screen-reader-text {
      display: none;
    }

    input {
      display: flex;
      border: 1px solid #303030;
      padding: .5rem .75rem;
      font-size: 1rem;
      line-height: 1.25;
      color: #464a4c;
      background-color: #fff;
    }

    input#s {
      width: 100%;
    }

    input#searchsubmit {
      margin-left: -1px;
    }

  }
  .cat-item {
    font-size: 0px;
  }

  ul {
    list-style: none;
    padding: 0rem;
    margin-bottom: 0rem;
    li {

      a {
        display: block;
        color: #a3a2a8;
        background-color: #fff;
        padding: 10px;
        border-bottom: solid 1px #e5e5e5;
        font-size: 16px;
      }
    }

    li>a:hover, .current-cat>a, .current_page_item>a {
      text-decoration: none;
      background-color: #d6d6d6;
    }

    li:last-child {
      a{
        border-bottom: none;
      }

    }

  }

  .screen-reader-text {
    display: none;
  }

  .postform {
    width: 100%;
    margin: 0rem;
    border: none;
    padding: 1rem;
  }

  .nav-tabs {
    padding: 1rem;
    padding-bottom: 0;
    display: flex;
    border-bottom: none;
    .nav-item {
      width: 100%;
      text-align: center;
      margin-right: 10px;

      .nav-link {
        border-radius: 0px;
        color: #ffffff;
        background-color: #303030;
      }

      .nav-link:hover {
        background-color: #595959;
        border-color: #595959;
      }

      .nav-link.active {
        border-color: $infoBorder;
        color: #ffffff;
        background-color: $infoBorder;
      }

    }

    .nav-item:last-child {
      margin-right: 0px;
    }

  }

  .tab-content {
    padding: 1rem;

    .tab-pane {
      .posts-container {
        border-top: none;
        margin: 0px;
        border-bottom: solid 1px #eee;
        padding-bottom: 1rem!important;
        margin-top: 1rem!important;

        .posts-image {
          img {}
        }

        .posts-link {
          .comment-author {
            font-weight: 700;
          }
          a {
            display: block;
            overflow: hidden;
            max-height: 50px;
          }

        }


      }

      .posts-container:first-child {
        margin-top: 0rem!important;
      }

      .posts-container:last-child {
        border-bottom: none;
        padding-bottom: 0rem!important;

      }

    }

  }

}

.widget-body, .tagcloud, .textwidget, .searchform {
  padding: 1rem;
}

.widget_nav_menu ul{
  list-style: none;
  padding: 5px;
}

.widget_nav_menu ul li {
  margin-bottom: 1px;
/*border-bottom: solid 1px #AAA;*/
  color: #999999;
  background-color: #f4f4f4;
}

.widget_nav_menu ul li:nth-child(2n+1) {
    background: #F5F5F5 none repeat scroll 0% 0%;
}

.widget_nav_menu a {
  padding: 5px;
  display: block;
  transition: all 0.5s;
}

.widget_nav_menu a:hover{
  color: #CA0000;
  background: #DDD;
  text-decoration: none;
}

#recentcomments {
  list-style: none;
  padding: 0px 10px;
  li.recentcomments {
    padding: 5px 0px;
  }
}

.popular_posts {
  .popular_posts_container {
    border-top: none;
    margin: 0px;
    border-bottom: solid 1px #eee;
    padding-bottom: 1rem!important;
    margin-top: 1rem!important;

    .popular_posts_image {
      img {}
    }

    .popular_posts_link {

      a {
        display: block;
        overflow: hidden;
        max-height: 50px;
      }

    }
  }

  .popular_posts_container:first-child {
    margin-top: 0rem!important;
  }

  .popular_posts_container:last-child {
    border-bottom: none;
    padding-bottom: 0rem!important;

  }

  a:last-child{

  }
}

.widget_comment_text_block {

  a {
    color: #555;
  }

  a:hover {
    color: #52C0D4;
    text-decoration: none;
    text-decoration: none;
  }

  .comment_text {

  }

  .widget_comment_text_post_link {
    border-top: #eeeeee 1px dashed;
  }

  .meta {

  }
}

.calendar_wrap {

  padding: 1px 0px 0px;

  table#wp-calendar {
    width: calc(100% - 3rem);
    max-width: 37.5rem;
    background: #ccc;
    margin-left: auto;
    margin-right: auto;

    caption {
      width: 100%;
      color: #454545;
      text-transform: uppercase;
      caption-side: top;
    }

    thead tr {
      border-right: 1px solid #ccc;
    }

    thead th {
      font-size: 90%;
      font-weight: bold;
      padding: 0.25rem;
      background: #ccc;
      text-transform: uppercase;
      text-align: center;
    }

    tbody td {
      position: relative;
      padding: 0.125rem;
      text-align: center;
      border: 1px solid #ccc;
      background: #fff;
    }

    tbody td.pad {
      opacity: 0.7;
    }

    tbody td#today {
      font-weight: bold;
    }

    tbody td#today:after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 0;
      height: 0;
      border-top: 10px solid #999;
      border-left: 10px solid transparent;
    }

    tbody td a {
      display: block;
      background: rgba(50, 153, 187, 0.2);
    }

    tbody td a:hover {
      background: #3299bb;
      color: #fff;
    }

    tfoot tr {
      background: rgba(255, 255, 255, 0.7);
      border: 1px solid #ccc;
    }

    tfoot tr td {
      border: 0;
      padding: 0;
    }

    tfoot tr a {
      display: block;
      padding: 0.25rem 0.75rem;
    }

    tfoot tr a:hover {
      background: #fff;
    }

    tfoot tr #prev {
      text-align: left;
    }

    tfoot tr #next {
      text-align: right;
    }

  }
}


.footer-widget-area {

  .widget-footer {
    color: #fff;

    .widget-title {
      background-color: #656464;
      font-weight: 700;
      text-transform: uppercase;
      padding: 1rem;
    }

    .widget-title:before {
      font-weight: normal;
      display: inline-block;
      content: '\ea0c';
      font-family: "icomoon";
      padding-right: 10px;
      vertical-align: middle;
    }

    .cat-item {
      font-size: 0px;
    }

    ul {
      list-style: none;
      padding: 0rem;
      margin-bottom: 0rem;
      li {

        a {
          display: block;
          color: #a3a2a8;
          padding: 10px;
          border-bottom: solid 1px #656464;
          font-size: 16px;
        }
      }

      li>a:hover {
        text-decoration: none;
        background-color: #383636;
      }

      .current-cat>a, .current_page_item>a {
        text-decoration: none;
        background-color: #232323;
      }

      li:last-child {
        a{
          border-bottom: none;
        }

      }

    }

    .screen-reader-text {
      display: none;
    }

    .postform {
      width: 100%;
      margin: 0rem;
      border: none;
      padding: 1rem;
    }

    .textwidget {
      padding: 1rem;
    }
  }

  .footer-menu {

    a:before {
      text-decoration: none;
      display: inline-block;
      content: '\ea42';
      font-family: "icomoon";
      padding-right: 10px;
    }

    a {
      font-size: 0.875rem;
      padding: 5px;
      text-decoration: none;
      display: block;
      border-bottom: 1px solid;
    }

    a:hover {
      color: #ffffff;
      text-decoration: none;
      background-color: #404040;
      border-bottom-color: transparent;
    }

    a:last-child {
      border-bottom: none;
    }

  }

}
