.widget, .wpb_single_image, .wpb_content_element {
  border: none;
  .widget-title, .widgettitle, .wpb_singleimage_heading{
    background: none;
    position: relative;
    margin: 0 0 20px;
    padding: 0 0 10px;
    color: $black;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    z-index: 9;
    &:after{
      content: "";
      background: $theme-color;
      @include size(50px, 2px);
      bottom: 0;
      left: 0;
      position: absolute;
      z-index: 1;
    }
  }
  &.text-center{
    .widget-title, .widgettitle, .wpb_singleimage_heading{
      text-align: center!important;
    }
  }
  &.title-black{
    .widget-title, .widgettitle, .wpb_singleimage_heading{
      color: $black!important;
    }
  }
} 

.color-theme{
  .widget-title, .widgettitle{
    color: $theme-color!important;
  }
}
    
/* 
** Widget for sidebar
*/
.wp-sidebar {
  input, textarea, select{
  max-width: 100%;
  }
  .widget {
    background: $white;
    overflow: hidden;
    margin-bottom: 30px;
    &:last-child{
      border-bottom: 0;
    }
  } 
  .widget-content{

  }
  ul{
    list-style: none;
    padding: 0;
    margin-bottom: 0!important;
    li{
      list-style: none;
      a{
        padding: 8px 0;
        font-size: 14px;
        display: inline-block;
        &:hover{
          color: $theme-color;
        }
      }
      .count{
        margin-left: 3px;
        color: #262626;
      }
    }
    > li {
      ul{
        padding-left: 16px;
      }
    }
  }

  .wpb_single_image{
    margin-bottom: 30px!important;
  }

  .post-author, .post-date{
      font-size: 13px;
      margin: 0 0 2px;
      color: #aaa;
    }
  
}

.gva-main-search{
    .gva-search{
      position: relative;
      input{
        background: none;
        @include box-shadow(none);
        @include border-radius(0);
        height: 46px;
        &.input-search{
          background: $white;
        }
      }
      .btn-search{
        position: absolute;
        width: 46px;
        height: 100%;
        right: 0;
        top: 0;
        z-index: 9;
        padding: 0;
        background: none;
        border: none;
        @include border-radius(0);
        input{
          border: none;
        }
      }
    }
 } 
// Widget for footer -------------------- 
#wp-footer{
  .widget, .wpb_single_image {
    background: none;
    ul{
      padding: 0;
      list-style: none;
      li{
        padding-top: 8px;
        a{
          font-size: 14px;
          &:hover{
            color: $theme-color;
          }
        }
        ul{
          padding-left: 20px;
        }
      }
    }
  }
}

//Wiget default
.widget_tag_cloud{
  .tagcloud > a{
    background: #F4F3F2;
    color: $text-color!important;
    padding: 6px 10px;
    font-size: 14px!important;
    font-weight: 400;
    margin-right: 2px;
    margin-bottom: 5px;
    display: inline-block;
    &:hover{
      background: $theme-color;
      color: $white!important;
    }
  }
}

/* 
** Widget Newletter
*/
.mc4wp-form{
  @include clearfix();
}

.widget_recent_comments{
  ul li{
    padding: 6px 0;
    font-weight: 400;
    font-family: $font-family-second;
  }
}

.newsletter-form{
  input{
    border:none;
    padding: 6px 10px;
    display: block;
    @include rtl-float-left();
    line-height: 35px;
  }
  input[type="email"]{
    padding: 0 20px;
    width: 100%;
    background: none; 
    border: none;
    line-height: 38px;
    @include box-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    border: 1px solid $border-color;
    background: $white;
    margin: 5px 0 15px;
  }
  input.newsletter-submit{
    background: $theme-color;
    border: none;
    padding: 0 20px;
    line-height: 36px;
    text-align: center;
    font-size: 12px;
    color: $white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    @include transition(all 0.35s); 
    &:hover{
      background: $white;
      color: $theme-color;
    }
  }
}

.widget[class*="instagram-feed"]{
  position: relative;
  &:after{
    content: '';
    @include size(100%, auto);
    background: rgba(0, 0, 0, 0.69);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 10px;
    z-index: 10;
    display: block;
    @include transition(all 0.35s);
  }
  &:hover{
    &:after{
      @include opacity(0);
      visibility: hidden;
    }
    .widget-title{
      display: none;
    }
  }
  .widget-title{
    text-align: center!important;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -25px;
    color: $white;
    width: 100%;
    text-align: center;
    z-index: 11;
    span{
      font-family: $font-family-second;
      font-size: 34px;
      font-weight: 600;
      text-transform: capitalize;
    }
    &:after{
      display: none;
    }
  }
  .instagram-pics{
    margin: 0;
    margin-left: -5px;
    margin-right: -5px;
    @include clearfix();
    padding: 0;
    > li{
      list-style-type: none;
      padding-left: 5px;
      padding-right: 5px;
      width: 20%;
      float: left;
      text-align: center;
      margin-bottom: 10px;
      a{
        position: relative;
        display: block;
        overflow: hidden;
        img{
          @include transition(all 2s);
        }
        &:after{
          content: "";
          @include size(100%, 100%);
          @include transition(all 0.35s);
          top: 0;
          left: 0;
          position: absolute;
          background: rgba(0, 0, 0, 0.5);
          z-index: 9;
          @include opacity(0);
        }
        &:before{
          content: "\e904";
          font-family: "gva-icon";
          @include size(40px, 40px);
          text-align: center;
          line-height: 40px;
          color: $white;
          position: absolute;
          top: 50%;
          left: 50%;
          font-size: 30px;
          margin-top: -20px;
          margin-left: -20px;
          z-index: 99;
          @include transition(all 0.35s);
          @include opacity(0);
        }
        &:hover{
          &:after, &:before{
            @include opacity(1);
          }
          img{
            @include scale(1.2);
          }
        }
      }
      @media(max-width: $screen-xs-max){
        width: 50%;
        margin-bottom: 20px;
      }
    }
  }
}

//----- Widget Default -----
.widget_categories, .widget_archive, .sidebar .widget_nav_menu, .widget_pages, .widget_meta{
   ul > li{
    display: block;
    width: 100%;
    float: left;
    position: relative;
    @include transition(all 0.35s);
    line-height: 26px;
    .count{
      color: $text-color;
      position: absolute;
      top: 2px;
      right: 0;
      z-index: 1;
    }
    > a{
      display: block;
      font-weight: 600;
      line-height: 16px;
      font-family: $font-family-second;      
      text-transform: none;
      font-size: 14px;
      line-height: 26px;
      overflow: hidden;
      @include transition(all 0.35s);
      position: relative;
      margin-bottom: 15px!important;
      padding-bottom: 15px!important;
      padding-top: 0!important;
      border-bottom: 1px solid $border-color;
    }
    ul{
      padding-left: 0;
      > li > a{
        padding-left: 20px;
      }
    }
  }  
  > ul > li{
    &:last-child{
      > a{
        margin-bottom: 0!important;
      }
    }
  }
}
[id^='monster']{

}
.widget_rss, .widget_recent_entries{
  ul > li{
    border-bottom: 1px dotted $border-color;
    margin-bottom: 10px;
    padding-bottom: 10px;
    a{
      padding: 0;
      font-size: 16px;
      line-height: 26px;
      font-weight: 400;
      display: block;
      font-family: $font-family-second;
      .post-date{
        color: #999;
      }
    }
    &:last-child{
      border: none;
    }
  }
}

.widget_rss > ul{
  li{
    margin-bottom: 10px!important;
    a{
      font-weight: 600;
    }
    .rss-date{
      color: $theme-color;
      font-size: 12px;
    }
  }
}
.widget_pages{
  ul > li > a{
    font-family: $font-family-second;
  }
}
/*
**  Widget Custom Text
*/
.widget-custom-text{
  color: $white;
  .widget-title{
    text-align: center;
    color: $white;
    margin-bottom: 0;
    font-weight: 600;
    padding: 20px 0;
  }
  .signature{
    margin-top: 50px;
  }
}

.text-about{
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.opening-time{
  padding: 20px 35px;
  @media(max-width){
    padding: 20px 25px;
  }
  .phone{
    font-size: 36px;
    color: $theme-color;
    font-weight: 600;
  }
  .hr{
    width: 180px;
    display: inline-block;
    margin: 30px 0;
    height: 1px;
    background: $border-color;
  }
  h3{
    margin-top: 0;
    font-size: 24px;
    font-weight: 400;
    color: #262626;
  }
}

.store-info{
  .item{
    margin-bottom: 5px;
    @include clearfix();
    min-height: 30px;
    i{
      float: left;
      height: 30px;
      margin-right: 10px;
      display: inline-block;
      line-height: 25px;
    }
  }
}

.info-shop{
  .item{
    padding: 5px 0;
    a{
      font-size: 13px;
      i{
        margin-right: 10px;
        font-size: 16px;
      }
      &:hover{
        color: $theme-color;
      }
    }  
  }
}

.copyright-links{
  margin: 0!important;
  text-align: center;
  .widget{
    margin-bottom: 0!important;
  }
  ul{
    @include clearfix();
    display: inline-block;
    margin-bottom: 0;
    li{
      float: left;
      position: relative;
      padding-left: 10px;
      padding-right: 10px;
      padding-top: 0!important;
      color: $white;
      line-height: 1;
      &:after{
        content: "";
        @include size(1px, 15px);
        top: 0;
        right: 0;
        position: absolute;
        background: rgba(255, 255, 255, 0.2);
        z-index: 1;
      }
      &:last-child{
        &:after{
          display: none;
        }
      }
      a{
        font-size: 15px!important;
      }
    }
  }
}

.gva_widget_recent_give{
  .give-list{
    .item{
      margin-bottom: 30px;
      &:last-child{
        margin-bottom: 0;
      }
      .give-block{
        .form-content-inner{
          padding: 20px 15px 10px;
        }
        .form-content{
          .campaign-information{
            .funded{
              .pie-label{
                font-size: 20px;
                font-weight: 600;
              }
            }
          }
          .title{
            a{
              font-size: 16px;
            }
          }
        }
      }
    }
  }
}

.widget_gva_give_categories_widget{
  ul.categories-listing{
    li{
      text-align: right;
      display: block;
      width: 100%;
      float: left;
      margin-bottom: 10px;
      border: 1px solid $border-color;
      position: relative;
      @include transition(all 0.35s);
      line-height: 45px;
      text-indent: 10px;
      direction: rtl;
      text-align: right; 
      > a{
        padding: 0;
        line-height: 45px;
        display: inline-block;
        text-align: left;
        float: left;
        font-weight: 600;
        padding: 15px!important;
        line-height: 16px;
        font-family: $font-family-second;      
        text-transform: none;
        font-size: 14px;
        overflow: hidden;
        @include transition(all 0.35s);
        position: relative;
      }
      .post-count{
        background: #f2f2f2;
        @include size(30px, 30px);
        border: 1px solid rgba(0, 0, 0, 0.06);
        line-height: 30px;
        display: inline-block;
        font-family: $font-family-second;
        text-align: center;
        text-indent: 0;
      }
    }
  }
}

