.blogs-top{margin-bottom: 70px;margin-top: 20px;}
.blog-box{padding-top: 10px;}
.blogs-top .paraslgheading{color: var(--light-black); font-weight: 700;}
.search-filter{width: 200px;}
.search-filter .search-filter-left{width: 200px;}
.search-filter .search-filter-left .form-control {font-size: 14px; font-weight: 700; border: 1px solid #C6CDD4; background: var(--white-color); border-radius: 50px; padding: 0 40px 0 40px;}
.search-filter .form-group svg {position: absolute; top: 12px;left: 12px;}
.search-filter .filters-btn{width: 40px; height: 40px; background: transparent; border: 0; padding: 0; position: relative; top: -3px; cursor: pointer;}
.search-filter .filters-btn svg{width: 100%;}
.search-filter .filter-list{width: 180px; display: none; position: absolute; top: 70px; right: 0; border-radius: 10px; padding: 4px 24px; box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1); list-style: none; background: var(--white-color); z-index: 12;}
.search-filter .filter-list li{font-size: 14px; color: #636266; position: relative; border-bottom: 1px solid rgba(0, 0, 0, 0.5); padding: 12px 0 12px 15px; cursor: pointer;}
.search-filter .filter-list li::before{content: ''; width: 5px; height: 5px; position: absolute; display: block; left: 0; top: 2px; bottom: 0; margin: auto; background: #DCDCDC; border-radius: 50%;} 
.search-filter .filter-list.active{display: block;}
.search-filter .filter-list li:last-child{border-bottom: 0;}
.search-filter .filter-list li:hover::before, .search-filter .filter-list li.active::before{background: var(--blue-color);}

.blog-list{grid-template-columns: repeat(3,1fr); margin: 30px -20px 60px;}
.blog-list .blog-item{padding: 20px;}
.blog-tab-top{width: 100%; overflow-x: auto; white-space: nowrap; padding-bottom: 5px;}
.blog-tab{width: fit-content; padding: 0; margin: 0; list-style: none; border-bottom: 1px solid #F0F0F0;}
.blog-tab li{font-size: 16px; cursor: pointer; list-style: none; color: #636266; border-bottom: 3px solid transparent; display: inline-block; padding-bottom: 15px; margin-right: 90px;}
.blog-tab li.active{border-bottom-color: var(--blue-color); color: var(--blue-color);}
.blog-tab li:last-child{margin-right: 0;}
.blog-tab-top::-webkit-scrollbar-track{border-radius: 5px;background-color: transparent;}
.blog-tab-top::-webkit-scrollbar{width: 6px; height: 5px; background-color: transparent; border-radius: 5px;}
.blog-tab-top::-webkit-scrollbar-thumb{border-radius: 5px;-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);background-color: var(--blue-color);}

.search-filter .form-group .clear-filter{/*width: 18px;*//*height: 18px;*/ font-size: 14px; color: var(--gray-color); position: absolute; top: 0; right: 10px; bottom: 0; margin: auto; background: transparent; border: 0; padding: 0; cursor: pointer;} 
.search-filter .form-group .clear-filter svg{width: 100%; height: 100%; position: relative; top: 0; left: 0;}


.switch {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: Arial, sans-serif;
      position: relative;
    }

    .check-toggle {
      display: none;
    }

    .check-toggle + label {
      position: relative;
      display: inline-block;
      background: var(--blue-color);
      padding: 2px;
      width: 140px;
      height: 44px;
      border-radius: 60px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    /* .check-toggle + label::after {
      content: "";
      position: absolute;
      top: 3px;
      left: 3px;
      width: 24px;
      height: 24px;
      background: #fff;
      border-radius: 50%;
      transition: 0.3s ease;
    } */

    .check-toggle:checked + label {
      background: var(--blue-color);
    }

    .check-toggle:checked + label::after {
      transform: translateX(30px);
    }

    .switch span {
      font-size: 12px;
      font-family: Helvetica, Arial, sans-serif;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 50px;
      transition: 0.3s;
      display: flex;
      align-items: center;
      width: 50%;
      text-align: center;
      justify-content: center;
      color: #fff;
    }

    .switch .active {
      /* font-weight: 500; */
      color: var(--blue-color);
      background: var(--white-color);
    }
    .switch > span.on.active, .switch > span.off.active{color: var(--blue-color);}

.switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;
  }
  
  .switch > span {
    position: absolute;
    top: -1px;
    pointer-events: none;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    width: 70px;
    text-align: center;
    border-radius: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
  }
  
  input.check-toggle-round-flat:checked ~ .off {
    color: var(--blue-color);
  }
  
  input.check-toggle-round-flat:checked ~ .on {
    color: #fff;
  }
  
  .switch > span.on {
    left: 0;
    padding-left: 2px;
    color: var(--white-color);
  }
  
  .switch > span.off {
    right: 0;
    padding-right: 4px;
    color: #fff;
  }
  
  .check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
  }
  .check-toggle + label {
    display: flex;
    /* align-items: center; */
    text-align: center;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  input.check-toggle-round-flat + label {
    padding: 2px;
    width: 140px;
    height: 44px;
    background-color: var(--blue-color);
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
  }
  input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
    display: block;
    position: absolute;
    content: "";
  }
  
  input.check-toggle-round-flat + label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color: var(--blue-color);
    
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
  }
  input.check-toggle-round-flat + label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 70px;
    background-color: #fff;
    -webkit-border-radius: 52px;
    -moz-border-radius: 52px;
    -ms-border-radius: 52px;
    -o-border-radius: 52px;
    border-radius: 52px;
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    -o-transition: margin 0.2s;
    transition: margin 0.2s;
  }
  
  input.check-toggle-round-flat:checked + label {
  }
  
  input.check-toggle-round-flat:checked + label:after {
    margin-left: 63px;
  }
.blog-box .container{position: relative;}
.switch{position: absolute; top: -63px;
  right: 13px;}
@media screen and (max-width:1499px) {
.blog-tab li{margin-right: 50px;}
}

@media screen and (max-width:1199px) {
.blogs-top{margin-bottom: 30px;}
.blog-tab li{margin-right: 50px;}
.blog-list{grid-template-columns: repeat(2,1fr); margin-top: 10px;}
}

@media screen and (max-width:767px) {
.search-filter{width: 180px;}
.search-filter .search-filter-left{width: 100%;}
.blog-tab li{font-size: 14px;}
.blog-tab li:last-child{margin-right: 0;}
.blog-list{grid-template-columns: repeat(1,1fr); margin: 20px 0px 40px;}
.blog-list .blog-item{padding: 10px 0;}
.switch{position: absolute; right: 14px;}
}
