:root{
    --pcl:#703816;
    --scl:#f5ac7a;
    --tcl:#93599f;
    --fcl:#3b1f15;
    --lcl:#fdfaf3;
}
body{
    font-family: sans-serif;
    background: var(--lcl);
}
nav img{
    max-width: max(34vw , 350px);
    height: auto;
}
.tabs > label{
    color: var(--fcl);
    border: 1px solid #93599f1c;
    border-bottom: none;
}
.tabs > label svg {
    fill: var(--pcl);
}
.tabs{
    margin-top: 8px;
}
.tabs input[type="radio"]:checked + label {
    background: var(--tcl);
}
.tabs .tab{
    border-top: 3px solid var(--tcl)
}
.tabs > label:hover{
    color: var(--pcl);
    border-color: #93599f83;
}
.tabs > label:hover svg{
    fill: var(--pcl);;
}
.maintopadsc{
    display: flex;
    justify-content: center;
}

.reloadbtnx{
    height: 27px;
}
.tab > div > div::before{
    border-color: var(--tcl);
    border-bottom-color: white;
}

.adconttaim {
    background: url(/static/ads_container.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 296px 130px;
    height: 600px;
}


.writingsec{
    width: 69vw;
    margin-right: 1vw;
    margin-top: 60px;
    color: #393939;
    line-height: 26px;
    text-align: justify;
    font-size: 17px;
    min-height: 75vh;
}
.sidebarsx > div{
    background: white;
}
.sidebarsx{
    width: 30vw;
    margin-left: 18px;
    min-width: 300px;
    margin-top: 41px;
    border-top: 3px solid var(--tcl);
    max-width: 390px;
    height: max-content;
}
h1,h2,h3{
    color: #3f3f3f;
    
}
h1{
    font-size: 30px;
}
h2{
    font-size: 23px;
}
h3{
    font-size: 18px;
}
footer{
    display: flex;
    justify-content: space-between;
}
.writingsec img{
    max-width: 90%;
    height: auto;
}
a{
    text-decoration: none;
    line-height: 26px;
}

.gallerytab .ximg{
    background: white;
}
.gallerytab .zoomind{
    top: 6px!important;
}
.gallerytab .tab{
    justify-content: center;
    align-content: center;
}
.xnbtn{
    background: var(--tcl);
    color: white;
    padding: 8px 14px;
    border-radius: 3px;
}
.mb6{
    margin-bottom: -6px;
}
span.frthbtns.disable{
    background: #93599f61;
}
span.frthbtns {
    display: inline-block;
    cursor: pointer;
    user-select: none;
}
.favgbtn{
    display: inline-block;
}
.favgbtn > span{
    display: flex;
    align-items: center;
    position: absolute;
    top: 8px;
    right: 10px;
    border: 1px solid;
    padding: 2px 6px;
    border-radius: 3px;
    background: white;
    color: var(--tcl);
    cursor: pointer;
    font-size: 14px;
    height: 22px;
    width: 108px;
}
.favgbtn > span > span{
    position: absolute;
    right: 10px;
}
.favgbtn > span:hover svg{
    animation: widthAnimation .3s infinite alternate;
}
.favgbtn svg{
    margin-right: 6px;
}
.Pages {
    margin-top: 50px;
}
.Pages .xnbtn{
    display: inline-block;
    padding: 0px 9px;
    margin: 4px;
}
.activelnk{
    background:var(--pcl)!important;
}
#xfilterbar > div{
    width: calc(33.33% - 7px);
}
#xfilterbar{
    display: flex;
    justify-content: center;
    margin: 12px 0;
    gap: 6px;
    width: 100%;
}
.galhomebtn{
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    border-radius: 4px;
    padding: 5px 8px 5px 8px;
    border: 1px solid #93599f33;
}
.galhomebtn a{
    display: flex;
    align-items: center;
    color: var(--tcl);
    font-weight: bold;
    font-size: 15px;
}
.galhomebtn svg{
    margin-right: 6px;
}

.pagexbtn input{
    width: 50px;
    padding: 4px;
    border: 1px solid var(--tcl);
    outline: none;
}
.pagexbtn .xnbtn{
    padding: 4px 8px;
    cursor: pointer;
}
.pagexbtn .xnbtn:hover{
    background-color: var(--pcl);
}

.select,.select * {
    box-sizing: border-box;
  }
  .select {
    position: relative;
    min-width: 200px;
  }
  .select svg {
    position: absolute;
    right: 12px;
    top: calc(50% - 3px);
    width: 10px;
    height: 6px;
    stroke-width: 2px;
    stroke: #9098a9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
  }
  .select select {
    -webkit-appearance: none;
    padding: 7px 40px 7px 12px;
    width: 100%;
    border: 1px solid #e8eaed;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 1px 3px -2px #9098a9;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 150ms ease;
  }
  .select select:required:invalid {
    color: #5a667f;
  }
  .select select:required:valid {
    color: var(--tcl);
  }
  .select select option {
    color: var(--pcl);
  }
  .select select option[value=""][disabled] {
    display: none;
  }
  .select select:focus {
    outline: none;
  }
  .select select:hover + svg {
    stroke: var(--tcl);
  }
  .sprites {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    user-select: none;
  }
  
@keyframes widthAnimation {
    0% {
      width: 21px;
      height: 21px;
    }
    100% {
      width: 18px;
      height: 18px;
    }
  }
  

  @media only screen and (max-width: 999px) {
    nav{
        margin-top: 38px;
    }
    .tab {
        height: auto!important;
    }
    #fullView{
        height: auto!important;
        width: 96%;
        left: 2%!important;
    }
    #fullView .closex{
        background: white;
        border-radius: 5px;
        padding: 3px;
    }
    #addownb{
        width: 100%;
    }
  }