/* FOR MEDIA-DEVICE POST.PHP STYLING  */

@media only screen and (max-width: 768px){

main .post-section img{
    max-width:260px;
}
main{
    /* max-width:360px; */
}

main .post-section table thead{
    display:none;
}
main .post-section table tbody tr {
    display:flex;
    flex-direction:column;
}


.header {
    display: block;
    width: 100%;
    color: #fff;
    padding: 0px 0px;
    text-align: center;
    border: none;
    background: linear-gradient(180deg,#4d5363 0%,#313131 100%),linear-gradient(0deg,#ffffff,#ffffff);
}

.header .logo h1 {
    font-size: 25px;
}
.logo {
    margin-bottom: 20px;
    padding: 10px 0px;
}


.category{
    padding: 0px 20px;
}

.category ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.category ul li {
    margin-bottom: 10px;
}
.category ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 7px;
    box-shadow: 0px 0px 3px #27ff00;
}

#menubtn {
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
}





#myForm{
    display: flex;
}

#search {
    height: 40px;
    width: 100%;
    padding: 0px 10px;
    outline: none;
    border: none;
}

.s-btn {
       background: none;
    border: none;
    margin-left: -12px;
    cursor: pointer;
    background: deeppink;
    padding: 10px 20px;
    font-size: large;
    color: aliceblue;
}
.collapsed {
    display: none;
}

nav {
    padding: 20px 3px;
    left: 7px;
    position: absolute;
    background: #fff;
    width: 95%;
    top: 29%;
    height: 550px;
    overflow: scroll;
    border-radius: 12px;
    /* scroll-behavior: smooth; */
    box-shadow: 0px 0px 8px darkslategrey;
    scroll-behavior: smooth;
    z-index: 1;
    margin: 0px;
}
.collapsed h3 {
    font-size: large;
    padding: 10px 0px;
    margin: 0px;
    text-align: center;
    color: #FFEB3B;
    background: darkslategrey;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

nav ul {
    display: flex;
    gap: 20px;
    position: relative;
    margin: 0px auto;
    flex-wrap: wrap;
    flex: 5;
    justify-content: center;
    align-items: center;
    background: #333333;
    padding: 13px 0px;
}

nav ul li {
    background: #f1f1f103;
    list-style: none;
    min-width: 250px;
    border-radius: 7px;
    border: 1px solid #eee;
    padding: 0px 10px;
    display: flex;
    gap: 15px;
    align-items: center;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0px;
    width: 100%;
}


.category_list_widget {
    width: 100%;
    margin: 0px;
    box-shadow: 0px 0px 3px #8080806e;
    background: ghostwhite;
}
.nav-h-title {
    background: #FFEB3B;
    margin: 0px;
    padding: 20px 20px;
    border-right: 1px solid white;
    font-family: system-ui;
    font-size: x-large;
}


.category_list_widget div ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
}


.category_list_widget div ul a:hover {
    background: #333;
    color: #fff;
}

.category_list_widget div ul a {
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #4cafa1;
}

























.marquee-container {
    overflow: hidden;
    text-wrap: nowrap;
    background-color: blanchedalmond;
    margin-bottom: 5px;
    margin-top: 2px;
    border-radius: 10px;
    padding: 5px 10px;
    margin-top: 0px;
    width: 95%;
}

.marquee-content {
    animation: marquee 40s linear infinite;
    font-size: 14px;
    line-height: 0.2em;
    display: flex;
    gap: 15px;
    color: #fff;
    align-items: center;
}

.marquee-content p a {
    color: #fff;
    text-decoration: none;
    user-select: none;
    padding: 5px 10px;
    border-radius: 5px;
}














main{
    margin: 0px;
    display:block;
    margin:0px auto;
    padding: 0px;
    width: 95%;
}

main .post-section {
    width: 95%;
    height: auto;
    box-shadow: 0px 0px 3px #eee;
    margin: 0px auto;
    /* padding: 10px; */
    border-radius: 8px;
    background-color: white;
}

.post-title {
    padding: 10px;
    box-shadow: 0px 0px 2px #e91e63d9;
    width: 95%;
    border-radius: 8px;
    margin: 0px;
    margin-bottom: 20px;
    font-size: 100%;
    text-align: center;
}


main .right-widget-section{
    width: 100%;
}









.categorylist {
    background: deeppink;
}

.categorylist h3{
    text-align: center;
    margin: 0px;
    padding: 20px 10px;
    background: deeppink;
    color: #fff;
    font-family: 'FontAwesome';
    font-size: medium;
    letter-spacing: 0.2em;
    box-shadow: 0px 4px 20px #2f2f2f7a;
}







































































.mainReffPosts{
    margin: 0px;
    width: 95%;
}

.mainReffPosts section{
    width: 100%;
}
.mainReffPosts section div {
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mainReffPosts section div a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2c2929;
    text-decoration: none;
    min-width: 20%;
    width: 100%;

}

.mainReffPosts section div a img {
    width: 95%;
    border-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 2px;
    box-shadow: 0px 0px 5px grey;
    height:auto;
}

.mainReffPosts section div span {
    width: 95%;
    text-align: center;
    padding: 10px;
    text-overflow: unset;
    background: content-box;
    font-weight: 700;
    color: #F44336;
}

.mainReffPosts section div button {
    width: 95%;
    display: flex;
    justify-content: center;
    gap: 10px;
    justify-items: center;
    align-items: center;
    padding: 5px 10px;
    background: deeppink;
    border: none;
    cursor: pointer;
    color: #fff;
    margin-top: -2px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}










.cat-list-parent{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: -webkit-fill-available;
}

.categorylist {
    background: deeppink;
    margin: 0px auto;
    width: 95%;
    padding: 0px 10px;
}

.categorylist h3 {
    text-align: center;
    margin: 0px;
    padding: 20px 0px;
    background: deeppink;
    color: #fff;
    font-family: 'FontAwesome';
    font-size: medium;
    letter-spacing: 0.2em;
    box-shadow: 0px 4px 20px #2f2f2f7a;
}


.categorylist .calist {
    margin: 10px;
    width: 95%;
    background: floralwhite;
    box-shadow: 0px 0px 4px #5b5b5b54;
    border-radius: 7px;
}

.categorylist div ol {
    background: #9e9e9e05;
    padding: 5px 20px;
    border-radius: 5px;
    padding-bottom: 10px;
    margin: 0px;
}

.categorylist div ol li {
    color: #333;
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 1px solid #03a1ea;
    display: flex;
    justify-content: space-between;
}

.categorylist div ol li a{
        text-decoration: none;
    color: currentColor;
}


















}