/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
  
  .site-main-header .site-main-menu,
  .site-main-header .site-submit,
  .facetwp-flyout-open {
    display: none;
  }

  .latest-download .grid-item,
  .section-group .grid-download .grid-item {
    width: 50%;
  }

  .topfilter .filter a.showSingle {
    border-left: 1px solid rgba(0,0,0,.05);
    border-right: 1px solid rgba(0,0,0,.05);
  }

  .hero-header .page-subtitle {
    width: 100%;
  }
  
}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  
  .single .content-area .download-content, 
  .single .content-area .sidebar-download {
    width: 100%;
  }

  .single .content-area .sidebar-download:after {
    display: none;
  }

  .single .download-widget {
    float: none;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap-reverse;
    justify-content: space-between;
    align-items: baseline;
    align-content: center;
  }

  .single .download-widget .widget {
    border-bottom: 0;
  }

  .single .download-widget .widget.fdr_download_widget {
    width: 100%;
  }

  .single .download-widget .widget.widget_text {
    width: 50%;
  }

  .single .download-widget .widget.widget_text .bsap {
    background: #FAFAFA;
    text-align: center;
    padding-top: 30px;
  }

  .single .download-widget .widget:after {
    display: none;
  }
  
  .grid-download .grid-item.grid-ads,
  .grid-download .grid-item .paid-ads,
  .facetwp-flyout-open {
    display: none;
  }

  .category .top-cat-ads .dcmads {
    width: 100% !important;
    height: auto !important;
  }

}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 960px) {

  .container-fluid {
    padding-right: 50px;
    padding-left: 50px;
  }

  .col-sm-12 {
    width: 100%;
  }
  
  .site-header,
  .facetwp-flyout-open {
      display: none;
  }

  .header-mobile {
      display: block;
      position: relative;
      z-index: 999;
  }

  .header-mobile .window .header .burger-container {
    left: 30px;
  }

  .hero-header .page-subtitle {
    width: 100%;
  }

  .grid-download .grid-item {
    width: 50%;
  }

  .category .top-cat-ads .dcmads {
    width: 100% !important;
    height: auto !important;
  }

  /* Filter */

  .topfilter {
    position: relative;
  }

  .topfilter .slick-list {
    overflow: unset;
    z-index: 999;
  }

  .filter .slick-arrow {
    position: absolute;
    top: 14px;
    border-radius: 99px;
    border: 1px solid rgba(0,0,0,.05);
    background: #fff;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    z-index: 9999;
  }

  .filter .slick-arrow svg {
    fill: #ababab;
    vertical-align: sub;
  }

  .filter .slick-arrow.next {
    right: -10px;
  }

  .filter .slick-arrow.prev {
    left: -10px;
  }

  .topfilter .filter a.showSingle {
    padding: 0 30px;
  }

  .topfilter .filter .showSingle:before, 
  .topfilter .filter .showSingle:after {
    right: 30px;
  }

  .header-mobile .window .header .icon.icon-bag {
    width: 200px;
    right: 30px;
    line-height: 2;
    display: none;
  }

  .header-mobile .window .header .icon.icon-bag input[type="text"] {
    padding: 5px 10px;
  }

  /* Single Post */
  .single .content-area .download-content,
  .single .content-area .sidebar-download {
    width: 100%;
  }

  .single .entry-header .entry-title {
    font-size: 24px;
    line-height: 28px;
  }

  .single .entry-header, 
  .single .entry-content {
    padding: 0;
  }

  /*.single .entry-gallery .gallery-wrapper-thumbnails .slick-slide {
    width: 30px !important;
    height: auto;
    display: flex;
  }*/

  .single .entry-gallery .gallery-wrapper-thumbnails .slick-slide img {
    border-width: 1px;
  }

  .single .content-area .single-download-sidebar {
    margin-top: 0;
  }

  .single-download-sidebar .bsap,
  .single-post-ads .bsap {
    background: #FAFAFA;
    padding-top: 30px;
  }

  .single-post-ads .bsap {
    padding-top: 20px;
  }

  .single-download-sidebar .widget_text,
  .single-post-ads .bsap {
    text-align: center;
  }

  .single .download-widget .widget:after {
    right: 0;
    width: 100%;
  }

  .single .entry-content .content-inner .tab-content .entry-info {
    display: block;
  }

  .single .entry-content .content-inner .tab-content .entry-info .inner-info {
    margin-right: 0;
    margin-left: 0;
    margin-top: 30px;
  }

  .single .entry-content .content-inner .tab-content .entry-info .entry-ads {
    margin-top: 20px;
    text-align: center;
  }

  .single .content-area .download-pagination .pagination-inner {
    margin: 0;
    display: block;
  }

  section .title h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .single .content-area .download-pagination .pagination-inner .previous-download {
    margin-bottom: 30px;
  }

  .single .entry-content .content-inner .tab-content .inner-download {
    display: block;
  }

  .single .entry-content .content-inner .tab-content .inner-download .download-link {
    margin-bottom: 15px;
  }

  .single .entry-content .content-inner .tab-content .inner-download .backlink {
    margin-left: 0;
  }

  .single .entry-content .content-inner .nav-tabs>li {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,.05);
  }

  .single .entry-content .content-inner .nav-tabs>li:first-child {
    border-top: 0;
  } 

  .single .entry-content .content-inner .tab-content .sosial-share,
  .single .entry-content .content-inner .tab-content .type-tools > div:last-child {
    display: none;
  }

  .single .entry-content .content-inner .tab-content .description {
    padding-left: 0;
  }

  .single .entry-content .content-inner .tab-content .type-tools > div {
    margin-right: 0;
  }

  .single .download-widget {
    float: none;
  }

  .col-sm-3 {
    width: 100%;
  }
  
  .side-filter .category-ads {
    display: none;
  }

  .category .grid-download .grid-download-inner {
    padding-left: 0;
    border-left: 0;
  }
  
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
  
  /* Container */
  .container-fluid {
    padding-right: 50px;
    padding-left: 50px;
  }

  .col-sm-12,
  .col-sm-10,
  .col-sm-4,
  .col-sm-3,
  .col-sm-2 {
    width: 100%;
  }

  /* Header */

  .header-mobile .window .header ul.menu {
    padding-left: 50px;
    padding-right: 50px;
  }

  .header-mobile .window .header .burger-container {
    left: 30px;
  }

  .site-header,
  .grid-download .grid-item.grid-ads {
    display: none;
  }

  .hero-header .page-subtitle,
  .footer-top .newsletter-wrapper .newsletter-right {
    width: 100%;
  }

  .header-mobile {
    display: block;
    position: relative;
    z-index: 999;
  }

  .facetwp-flyout-open {
    display: block;
  }

  /* Homepage */
  .latest-download .title h3 {
    font-size: 18px;
  }

  .latest-download .title p {
    line-height: 1.4;
  }

  /* Hero Header */
  .hero-header{
    padding: 60px 0;
  }

  .hero-header .page-title h2 {
    line-height: 34px;
  }

  /* Featured */
  .featured-wrapper .grid-download .grid-item {
    width: 100%;
  }

  /* Grid Download */

  .category .grid-download {
    padding-left: 0;
  }

  .category .grid-download .grid-download-inner {
    padding-left: 0;
    border-left: 0;
  }

  .category .topfilter .download-count  {
    display: none;
  }

  .category .topfilter .download-ex {
    margin-left: 0;
  }

  .category .topfilter .download-sort {
    margin-left: auto;
  }

  .category .site-main .col-sm-9 {
    width: 100%;
  }

  .category .site-main .sidebar-download:after,
  .download-filter .filter:after,
  .category .top-cat-ads,
  .category .site-main .sidebar-download {
    display: none;
  }

  .category .topfilter .sidenav {
    display: block;
  }

  .category .content-area {
    border-top: 0;
    margin-top: 0;
  }

  /* Filter */

  .topfilter {
    position: relative;
  }

  .topfilter .slick-list {
    overflow: unset;
    z-index: 999;
  }

  .filter .slick-arrow {
    position: absolute;
    top: 14px;
    border-radius: 99px;
    border: 1px solid rgba(0,0,0,.05);
    background: #fff;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    z-index: 9999;
  }

  .filter .slick-arrow svg {
    fill: #ababab;
    vertical-align: sub;
  }

  .filter .slick-arrow.next {
    right: -10px;
  }

  .filter .slick-arrow.prev {
    left: -10px;
  }

  .topfilter .filter a.showSingle {
    padding: 0 30px;
  }

  .topfilter .filter .showSingle:before, 
  .topfilter .filter .showSingle:after {
    right: 30px;
  }

  .top-filter {
    padding-left: 50px;
    padding-right: 50px;
  }

  .sort-filter-right {
    display: none;
  }

  .sort-filter-right .facetwp-sort {
    width: 100%;
  }

  .top-filter .result-count {
    display: none;
  }

  .category .side-filter {
    display: none;
    margin-right: 0;
    border-right: 0;
  }

  .facetwp-flyout-open {
    width: 100%;
  }

  .category .grid-download .row {
      margin-left: 0;
      margin-right: 0;
  }

  .category .grid-download .grid-item {
    padding-left: 0;
    padding-right: 0;
  }

  .header-mobile .window .header .icon.icon-bag {
    display: none;
  }

  .side-filter .category-ads {
    display: none;
  }

  /* Single Post */
  .single .content-area .download-content,
  .single .content-area .sidebar-download {
    width: 100%;
  }

  .single .entry-header .entry-title {
    font-size: 24px;
    line-height: 28px;
  }

  .single .entry-header, 
  .single .entry-content {
    padding: 0;
  }

  /*.single .entry-gallery .gallery-wrapper-thumbnails .slick-slide {
    width: 30px !important;
    height: auto;
    display: flex;
  }*/

  .single .entry-gallery .gallery-wrapper-thumbnails .slick-slide img {
    border-width: 1px;
  }

  .single .content-area .download-content .single-download-ads {
    display: none;
  }

  .single .content-area .single-download-sidebar {
    margin-top: 0;
  }

  .single-download-sidebar .bsap,
  .single-post-ads .bsap {
    background: #FAFAFA;
    padding-top: 30px;
  }

  .single-post-ads .bsap {
    padding-top: 20px;
  }

  .single-download-sidebar .widget_text,
  .single-post-ads .bsap {
    text-align: center;
  }

  .single .download-widget .widget:after {
    right: 0;
    width: 100%;
  }

  .single .entry-content .content-inner .tab-content .entry-info {
    display: block;
  }

  .single .entry-content .content-inner .tab-content .entry-info .inner-info {
    margin-right: 0;
    margin-left: 0;
    margin-top: 30px;
  }

  .single .entry-content .content-inner .tab-content .entry-info .entry-ads {
    margin-top: 20px;
    text-align: center;
  }

  .single .content-area .download-pagination .pagination-inner {
    margin: 0;
    display: block;
  }

  section .title h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .single .content-area .download-pagination .pagination-inner .previous-download {
    margin-bottom: 30px;
  }

  .single .entry-content .content-inner .tab-content .inner-download {
    display: block;
  }

  .single .entry-content .content-inner .tab-content .inner-download .download-link {
    margin-bottom: 15px;
  }

  .single .entry-content .content-inner .nav-tabs>li {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,.05);
  }

  .single .entry-content .content-inner .nav-tabs>li:first-child {
    border-top: 0;
  } 

  .single .entry-content .content-inner .tab-content .sosial-share,
  .single .entry-content .content-inner .tab-content .type-tools > div:last-child {
    display: none;
  }

  .single .entry-content .content-inner .tab-content .description {
    padding-left: 0;
  }

  .single .entry-content .content-inner .tab-content .type-tools > div {
    margin-right: 0;
  }

  .single .download-widget {
    float: none;
  }

  .single .entry-content .content-inner .tab-content .inner-download .backlink {
    margin-left: 0;
  }

  /* Page */
  .page-about figure, 
  .page-license figure, 
  .page-template-template-submission figure {
    padding-left: 0;
  }

  .page-about figure:before, 
  .page-license figure:before, 
  .page-template-template-submission figure:before {
    display: none;
  }

  /* Footer */
  .footer-top .newsletter-wrapper {
    display: block;
  }

  .footer-top .newsletter-wrapper .newsletter-left {
    margin-right: 0;
  }

  .footer-top .newsletter-wrapper .newsletter-left .widget-title {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-top .newsletter-wrapper .newsletter-right .input-group {
    display: block;
  }

  .footer-top .newsletter-wrapper .newsletter-right .input-group .input-group-btn .btn {
    width: 100%;
    margin-top: 10px;
  }
  
}