/*@font-face {
  font-family: font;
  src: url("https://wkaro.com/font/font.ttf");
  font-display: block;
}*/
*{
	margin: 0;
	padding: 0;
}

body{
    width: 100%;
	display: flex;
    justify-content: center;
    overflow:hidden;
}
#logo-txt,#cat-title,#search,.ma,.ad,.ds{
    font-family: sans-serif;
}

#m{
    min-width: 300px;
    height: 100%;
    text-indent: 20px;
    /*line-height: 40px;
    overflow-y: scroll;*/
    font-size: 17px;
}
#cu{
    overflow-y: scroll;
    overflow-x: hidden;
        height: calc(100vh - 160px);
}


#logo-div{
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #f1f1f1;
}
#logo-a{
    display: flex;
    width: 100%;
    height: 50px;
    justify-content: center;
    background-color: #f1f1f1; 
    color: #000;
    text-decoration: none;
    align-items: center;
}

#logo{
    width: 40px;
    height: 40px;
  content-visibility: auto;
  contain-intrinsic-width: 40px;
  contain-intrinsic-height: 40px;
}

#search{
    width: 100%;
    height: 50px;
    border-radius: 0;
    outline: none;
    border: 1px solid #f1f1f1;
    font-size: 17px;
    text-indent: 20px;
}
    #custom-clear {
        position: absolute;
        left: 265px;
        top: 135px;
        transform: translateY(-50%);
        background: url(https://wkaro.com/icons/x.svg) no-repeat center;
        background-size: 20px 20px;
        border: none;
        cursor: pointer;
        width: 20px;
        height: 20px;
        display: none;
          content-visibility: auto;
  contain-intrinsic-width: 20px;
  contain-intrinsic-height: 20px;
    }
    #search {
      appearance: textfield; /* Hide default styling (including cancel in Firefox) */
      -moz-appearance: textfield; /* Firefox */
      -webkit-appearance: textfield; /* WebKit */
      padding-right: 30px; /* space for custom button */
    }
    /* Hide WebKit cancel button */
    #search::-webkit-search-cancel-button {
      display: none;
    }
    /* Hide IE/Edge cancel button */
    #search::-ms-clear {
      display: none;
    }


.c{
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #f1f1f1;
}
.c:last-child{
    margin-bottom: 100px;
}

.ma{
    text-decoration: none;
    list-style: none;
    display: flex;
    width: 100%;
    height: 40px;
    background-color: #fff;
    color: #333;
    font-weight: 600;
    align-items: center;
        border-bottom: 1px solid #f1f1f1;
}

.ma:hover{
	background-color: #f1f1f1;
}

#main-wrapper{
    width: 100%;
    overflow-y: scroll;
    height: 100vh;
    overflow-x: hidden;
    background-color: #f1f1f1;
}
#cat-title{
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    overflow: hidden;
}
#cat-title-icon{
    width: 20px;
    height: 20px;
    margin-right: 5px;
  content-visibility: auto;
  contain-intrinsic-width: 20px;
  contain-intrinsic-height: 20px;
}
.main{
  column-count: 3; /* Adjust for responsive or fixed columns */
  column-gap: 5px;
  overflow-x: hidden;
  background-color: #f1f1f1;
  margin-top: 5px;
}
.ar{
  display: inline-block; /* Required for column layout */
  width: 100%;
  max-height: 500px;
  background-color: #fff;
  padding: 10px;
  box-sizing: border-box;
  break-inside: avoid; /* Prevent article from breaking between columns */
  overflow: hidden;
  transition: 750ms;
  opacity: 1;
}
.pn {
display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
    font-family: sans-serif;
    color: #666;
    font-size: 13px;
    text-indent: 10px;
}
.ar:hover{
    box-shadow: 0 1px 0 0 #999;
}
.ar a{
    color: #333;
    text-decoration: none;
}
.ps{
    width: 100%;
    min-height: 120px;
    max-height: 320px;
    object-fit: cover;
/*    content-visibility: auto;
    contain-intrinsic-width: 100%;
    contain-intrinsic-height: auto;*/
    transition: 500ms;
}
.ds{
  display: -webkit-box;
  -webkit-line-clamp: 10;       /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
}

.load{
    width: 100%;
    background: #f1f1f1;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
}
#load-icon{
    width: 60px;
    height: 60px;
  content-visibility: auto;
  contain-intrinsic-width: 60px;
  contain-intrinsic-height: 60px;

}

#mob-menu{
    display: none;
    z-index: 1;
}

    #logo-txt{
        font-size: 26px;
    }

/* ad notification text style */
.ad{
    margin-top: 10px;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    align-items: center;
    justify-content: flex-start;
}
.ad-icon{
    width: 12px;
    height: 12px;
    margin-right: 3px;
      content-visibility: auto;
  contain-intrinsic-width: 12px;
  contain-intrinsic-height: 12px;
}

#functions{
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #fff;
}
.f-a{
    display: flex;
    align-items: center;
    justify-content: center;
}
#bookmark,#fbpage,#about-us{
    width: 25px;
    height: 25px;
  content-visibility: auto;
  contain-intrinsic-width: 25px;
  contain-intrinsic-height: 25px;
}
.nopsts{
    position: fixed;
    bottom: 0;
    height: 60px;
    background-color: #222;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    color: #f1f1f1;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-family: sans-serif;
    font-size: 18px;
    transition: 1s;
    cursor: pointer;
}
.noposts{
    bottom: -100%;
}

/* mobile design */
@media (max-width: 1023px){
    #m{
        min-width: 220px;
    }
    #logo{
        width: 35px;
        height: 35px;
  content-visibility: auto;
  contain-intrinsic-width: 35px;
  contain-intrinsic-height: 35px;
    }
    #custom-clear{
        left: 185px;
    }
}
/* Desktops (large screens) */
@media (min-width: 1024px) {
    .main{
      column-count: 4;
    }
}
/* Extra large screens */
@media (min-width: 1200px) {
    .main{
      column-count: 5;
    }
}
/* 2. Small smartphones (≤ 480px) */
@media (max-width: 480px) {
    .main{
      column-count: 1;
    }
    #m{
        min-width: 280px;
    }
    #custom-clear{
        left: 240px;
    }
}
/* 3. Portrait smartphones (≤ 767px) */
@media (max-width: 767px) {
    #logo{
        width: 30px;
        height: 30px;
  content-visibility: auto;
  contain-intrinsic-width: 30px;
  contain-intrinsic-height: 30px;
    }
    #logo-txt{
        font-size: 19px;
    }
    #m{
     position: fixed;
     right: 100%;
     opacity: 0;
     transition: 200ms;
    }
    #cat-title{
        height: 45px;
    }
    .main{
      column-count: 2;
/*      margin-top: 45px;*/
    }

    #mob-menu{
        display: inline-block;
        width: 50px;
        height: 40px;
        position: fixed;
        background-color: #fff;
        box-shadow: 0 0 0 1px #f1f1f1;
        left: 0;
        border-bottom-right-radius: 10px;
    }
    .mob-menu-opened{
        background-color: #f1f1f1 !important;
    }
    #cu {
        height: calc(100% - 160px);
                border-bottom-left-radius: 10px;
                background-color: #fff;
    }
    #cu::-webkit-scrollbar{
      display: none;
    }
}
.hidden{
    display: none;
}
.h{
    opacity: 0;
}
