@charset "UTF-8";
/***************************************
Author: osus
Author URI: http://osusprog.sa/
Version: 1.0.0
License: license purchased
***************************************/

.col-md-3 {float: right;width: 20%}
.col-md-9 {float: right;margin-right: 15px;width: calc(80% - 20px)}
.w960, .page, article {width: 100%!important;max-width: 960px!important;}
.space-maintit, .sitemap .sitemap-top, #sitestates, .links-content {max-width: 100%!important;}
#showphoneon {display: none!important;}
.showphone, .showphoneon {display:none!important}

/* go-up */
.go-up {position:fixed;width:40px;height:40px;line-height:40px;font-size:17px;right:-60px;bottom:20px;cursor:pointer;text-align:center;-webkit-transition:all .2s linear;transition:all .2s linear;z-index:998;border-radius:2px;background-color: #725b3b;-webkit-box-shadow: 0 0px 0 0 #a06e0c;box-shadow: 0 0px 0 0 #a06e0c;color:#ffffff;}
.go-up i {line-height: 40px}
.go-up:hover {opacity:1;filter:alpha(opacity=100);background-color:#2b2b2b;}




.push-menu-btn {position: absolute;right: 15px;font-size: 34px;color:#fff;top: -2px;}
.navmenu a.iconhome {position: absolute;right: 60px;font-size: 34px;color:#fff;top: -2px;}

.push-menu {position: fixed;background: #ccb58b;width: 300px;bottom: 0;text-align: left;top: 0;z-index: 99999999;overflow-y: auto;-webkit-transition: all .5s cubic-bezier(0.7, 0, 0.3, 1) 0s;transition: all .5s cubic-bezier(0.7, 0, 0.3, 1) 0s;}
.mask-overlay {content: '';position: fixed;background: rgba(75, 84, 108, 0.4);left: 0;top: 0;width: 100%;height: 100%;z-index: 9999;}
.canvas-menu {right: -320px;margin: 0!important;}
.menu-opened .canvas-menu {right: 0;}
.push-menu h3 {font-size: 16px;line-height: 40px;position: relative;width: calc(100% - 30px);background: #2b2b2b;margin-top: 0;padding: 0 15px;color: #fff;margin-bottom: 0;text-align: right;}
.push-menu h3 i {position: absolute;left: 12px;top: 10px;cursor: pointer;font-size: 21px;color: #fff;margin: 0!important}
.push-menu .logo {display: block;margin: auto;text-align: center;background: url(../img/header/bgs.png) 0 -50px;padding: 25px 0 10px 0;text-align: center;}
#mobile-menu,
#mobile-menu ul,
#mobile-menu ul li,
#mobile-menu ul li a {margin: 0;padding: 0;border: 0;list-style: none;line-height: 20px;display: block;position: relative;text-align: right;background: #ccb58b !important;}
#mobile-menu {padding: 0 30px;}
#mobile-menu ul ul {opacity: 1;visibility: visible;padding-right: 15px;position: relative;background: #ccb58b;width: 100%;-webkit-box-shadow: none;box-shadow: none;margin-bottom: 15px;}
#mobile-menu ul li a {cursor: pointer;z-index: 2;padding: 8px 0;color: #2b2b2b !important;font-family: fontsansmhgoz;font-size: 15px!important;line-height: 20px !important;}
#mobile-menu ul li a i {width: 25px!important;color: #212121!important;margin-left: 5px!important;font-size: 18px!important;text-align: right!important;display: inline-block!important;}
#mobile-menu ul li a i.fa-home:before {content: "\f015";color: #2b2b2b;padding-left: inherit;padding-right: inherit;}
#mobile-menu ul li a i.fa-search:before {content: "\f002";background-color: transparent;margin-right: inherit;padding:inherit;}
.canvas-menu ul.menu-top-menu {text-align: right!important;width: 100%;margin-top: 20px!important;margin-bottom: 10px;}

.box-mobile-menu {text-align: right;margin: 20px 25px;margin-bottom: 50px;border-top: 1px solid #bc9c6f;}
.box-mobile-menu .newuser p, 
.box-mobile-menu .controlpanl p, 
.box-mobile-menu .faq p, 
.box-mobile-menu .blog p, 
.box-mobile-menu .callus p {color: #7D684B;font-size: 12px;font-weight: normal;line-height: 0;margin-right: 9px;text-shadow: 1px 2px 1px #C8A472;}


.box-mobile-menu .newuser, 
.box-mobile-menu .faq, 
.box-mobile-menu .controlpanl, 
.box-mobile-menu .blog, 
.box-mobile-menu .callus {
    height: auto;
    margin-top: 10px;
    width: 179px;
}
.box-mobile-menu .newuser .right { background-image: url("../img/body/ui_icons.png"); background-position: -573px top; background-repeat: no-repeat; float: right; height: 30px; margin-right: 5px; width: 30px; }
.box-mobile-menu .newuser .right2 { background-image: url("../img/body/ui_icons.png"); background-position: -535px -1px; background-repeat: no-repeat; float: right; height: 30px; margin-right: 5px; width: 30px; }
.box-mobile-menu .newuser .newuser-link, 
.box-mobile-menu .controlpanl .controlpanl-link, 
.box-mobile-menu .faq-link, 
.box-mobile-menu .blog-link, 
.box-mobile-menu .faq-link, 
.box-mobile-menu .callus-link { color: #2c2c2c; font-family: fontsansmhgoz; font-size: 15px; line-height: 36px; margin-right: 5px; }
.box-mobile-menu .newuser .right:hover { background-position: -573px -29px; }
.box-mobile-menu .newuser .newuser-link:hover, 
.box-mobile-menu .controlpanl-link:hover, 
.box-mobile-menu .controlpanl, 
.box-mobile-menu .faq-link:hover, 
.box-mobile-menu .blog-link:hover, 
.box-mobile-menu .faq-link:hover, 
.box-mobile-menu .callus-link:hover { color: #826644; }
.box-mobile-menu .newuser p, 
.box-mobile-menu .controlpanl p, 
.box-mobile-menu .faq p, 
.box-mobile-menu .blog p, 
.box-mobile-menu .callus p { color: #7D684B; font-size: 12px; font-weight: normal; line-height: 0; margin-right: 9px; text-shadow: 1px 2px 1px #C8A472; }
.box-mobile-menu .controlpanl:hover .right { background-position: -418px -28px; color: #826644; }
.box-mobile-menu .faq:hover .right { background-position: -507px -30px; color: #826644; }
.box-mobile-menu .blog:hover .right { background-position: -474px -29px; color: #826644; }
.box-mobile-menu .newuser:hover .right { background-position: -573px -29px; color: #826644; }
.box-mobile-menu .newuser:hover .right2 { background-position: -535px -30px; color: #826644; }
.box-mobile-menu .controlpanl .right {background-image: url("../img/body/ui_icons.png");background-position: -417px 2px;background-repeat: no-repeat;float: right;height: 30px;margin-right: 5px;width: 30px;}
.box-mobile-menu .faq .right { background-image: url("../img/body/ui_icons.png"); background-position: -507px -1px; background-repeat: no-repeat; float: right; height: 30px; margin-right: 5px; width: 30px; }
.box-mobile-menu .callus:hover .right { background-position: -446px -29px; }
.box-mobile-menu .home:hover { background-position: -606px -34px; margin-top: 11px; }
.box-mobile-menu .blog .right { background-image: url("../img/body/ui_icons.png"); background-position: -474px top; background-repeat: no-repeat; float: right; height: 30px; margin-right: 5px; width: 30px; }
.box-mobile-menu .callus .right { background-image: url("../img/body/ui_icons.png"); background-position: -446px top; background-repeat: no-repeat; float: right; height: 30px; margin-right: 5px; width: 30px; }
.morinfothread {border-top: 1px solid #c1c1c1;margin: 10px auto;padding: 10px;text-align: right!important;}
input[type="password"], select, input[type="text"] {max-width: 100%!important;}

.td_post_maxwidth {max-width: 600px;overflow-y: auto}
.input-size25 {margin-top: 8px!important}
.tcatthreadslist {border-bottom: 1px solid #eaeaea;border-radius: 0!important;}
.displayibphone {display: inline-block;}
@media only screen  and (max-width: 990px)
{
.w960{max-width: calc(100% - 30px)!important;margin-right:auto!important;margin-left: auto!important;}
#body-warp {max-width: 96%;margin: auto;}
#sitestates {max-width: 100%!important;margin-top: 45px;margin-right: auto;}
.logout-bt {margin-left: 15px!important;}
.btfirst {margin: 10px auto!important;}
article h1.maintit a {font-size: 14px;}
.links-content {float: none;margin: auto;height: auto!important;}
.sitemap .liks .space {display: none!important;}
.td_post_maxwidth {max-width: 600px;overflow-y: auto}
}
@media only screen  and (max-width: 780px)
{
.sitemap .liks {float: none;margin: 10px auto;width: 95%}
footer {height: auto!important;margin-top: 15px;}
footer .rights, .sitemap {height: auto!important}
footer .rights .right {float: none!important;width: auto}
.sitemap .right, .sitemap .left , .social-text{display: none!important;}
.sitemap {margin-bottom: 120px;position: relative;top: 100px;height: auto;}
.social {float: none;top: -70px;width: 100%;margin: auto;text-align: center;left: auto;}
.social a {float: none!important;display: inline-block;margin: 1px 4px;}
.sitemap .sitemap-top {background: transparent;width: auto;}
.sitemap .sitemap-top .map {margin-top: 0;margin: 0 auto;float: none;display: block;position: relative;top: -50px;}
.sitemap .vbrights {float: none;width: auto;height: auto;margin: 15px auto;padding: 10px;border-top: 1px solid #a39170}
.filldivwide {margin: 20px auto;width: -webkit-fill-available;}
#showpcon, .showpcon {display: none!important;}
#showphoneon , .showphoneon {display: block!important;}
#showphoneon .thead {background: #b4976c;color: #fff;border-radius: 0px;}
#showphoneon .thead font {font-size: 13px!important;padding: 10px 0px;display: block;color: #fdfdfd}
#showphoneon label {display: block!important;font-size: 14px;}
.input-for-class {box-shadow: none!important;border-radius: 4px!important;background: #fff!important;width: calc(100% - 20px);height: 35px;padding: 0 10px!important;line-height: 35px!important;margin: 0 auto 0px auto!important}
textarea.input-for-class {height: 150px;}
#showphoneon #bop5_regemail {margin-bottom: 15px!important;}
#showphoneon #bop5_fastreg_submit {background: #b4976c;color: #fff;height: 42px;;line-height: 45px;padding: 0 10px;border-radius: 4px;font-size: 16px;}
.hiddenphone {display:none!important}
.showphone {display:block!important}
article .catscon {float: none;margin: auto;text-align: center;}
article .cats {float: none;margin: 0 auto 20px auto;text-align: right!important}
.imgcont img {width: 140px;height: 140px;margin: 0px auto;}
.info .imgcont {height: 140px;padding: 10px;margin-bottom: 10px;}
article .cats .info {height: inherit;margin-bottom: 0;border-radius: 5px 5px 0 0;}
#headcontent .mainlogo {float: none;margin: auto;height: -webkit-fill-available;}
.login {float: none;max-width: 320px;margin: 42px auto 0 auto;}
#welcome {float: none;margin: 20px auto;max-width: 100%;height: inherit;}
#welcome p, #welcome h1 {float: none;}
#welcome p {width: 100%!important;padding: 10px;}
.blogintop {max-width: 97%;}
header {height: 380px;}
article h1.maintit {margin-right: 0;padding-right: 50px;background-size: 40px;height: 42px;background-position: right 6px;margin-top: 15px;}
.nofloat-noalign {float: none!important;text-align: right!important}
.tcatthreadslist {text-align: center;}
.btnwh {float: none;margin: auto;}
.btstad {display: none;}
#sitestates .useronline, #sitestates .statics {width: auto;height: auto;
padding: 15px 15px 15px 15px;background: #ccb58b;border-radius: 5px;text-align: center;}
#sitestates h1 .show, #sitestates h1 .hide {margin-left: 0!important}
#sitestates h1 {font-size: 18px!important}
#sitestates h1:first-child span.icons {position: relative;top: -12px;}
#sitestates .useronline span, #sitestates .statics span {margin-bottom: 10px;font-size: 10px;text-align: center}
#sitestates .useronline a.main, #sitestates .statics a.main {font-size: 15px;text-align: center}
#sitestates .useronline img, #sitestates .statics img {float: none;margin: 0 auto 10px auto!important;text-align: center;display: inline-block;}
.displayibphone {display: block;margin-bottom: 10px;}
.displayibphone * {width: 100%!important;}
.panelsurround, .panelsurround table, .panelsurround div {max-width: 100%!important;width: 100%!important}
.al-btn-for-class input {height: 40px;}
#collapseobj_searchfaq table {width: calc(100% - 30px)!important;}
#collapseobj_searchfaq .input-for-class {margin-top: 10px!important;width: 100%!important;max-width: initial!important;/* padding: 0!important; */}
#collapseobj_searchfaq input[type='text'] {width: calc(100% - 20px)!important}
#collapseobj_searchfaq .al-btn-for-class input{display: block;margin: 10px auto;width: calc(100% - 30px)!important}
select {max-width: 80%!important;}
#sel_dst {clear: both;width: 80%;}
.nofloat {float: none!important;}
.nofloat select {display: block;}
#sel_timezoneoffset {margin: 10px 0!important;
width: 300px
}

.post_message_max {max-width: 98%;overflow-y: auto}
#collapseobj_quickreply div:first-child {max-width: 95%!important}
#inlinego {display: block}
.post_message_max {margin-left: auto;margin-right: auto;}



.col-md-3 {float: none;width: 100%}
.col-md-3 table {width: 100%}
.col-md-9 {float: none;margin-right: 0;width: 100%;margin-top: 35px}
.td_post_maxwidth {max-width: 600px;overflow-y: auto}
}

@media only screen  and (max-width: 580px)
{
.post_message_max, .badtablesize {max-width: 540px;overflow-y: auto}
.td_post_maxwidth {max-width: 500px;overflow-y: auto}
}

@media only screen  and (max-width: 480px)
{
.post_message_max, .badtablesize {max-width: 440px;overflow-y: auto}
.td_post_maxwidth {max-width: 300px;overflow-y: auto}
}
@media only screen  and (max-width: 300px)
{
.post_message_max, .badtablesize, .td_post_maxwidth {max-width: 290px;overflow-y: auto}
}
/* Responsive subforum cards - 20261005 */
#body-warp .subof{width:100%!important;max-width:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0;float:none!important;}
#body-warp .subof .fulldew{width:100%!important;min-width:0;box-sizing:border-box;margin:0!important;padding:22px!important;background:#d0be96;border:1px solid #b59a69;border-radius:8px;float:none!important;text-align:right;}
#body-warp .subof .maintit{margin:0 0 10px!important;font-size:22px;line-height:1.6;height:auto!important;}
#body-warp .subof .maintit a{color:#583b20;}
#body-warp .subof .h1descr{display:none!important;}
#body-warp .subof .latesttopic{width:auto!important;height:auto!important;margin:16px 0 0!important;padding-top:14px;border-top:1px solid #b7a27b;display:flex;align-items:center;gap:8px;font-size:16px;line-height:1.7;overflow-wrap:anywhere;}
#body-warp .subof .latesttopic a{float:none!important;display:inline!important;margin:0!important;color:#674a2e;}
#body-warp .subof .latesttopic img{float:none!important;width:20px;height:20px;object-fit:contain;margin:0!important;}
#body-warp .subof .subforumsindex:empty,#body-warp .subof>.clear{display:none!important;}
@media(max-width:767px){#body-warp .subof{grid-template-columns:minmax(0,1fr);gap:14px;}#body-warp .subof .fulldew{padding:18px!important;}#body-warp .subof .maintit{font-size:20px;}}

#body-warp .subof{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));}
#body-warp .subof>.subforumsindex:not(:has(*)){display:none!important;}

#body-warp .filldivwidebl{width:100%!important;max-width:100%;box-sizing:border-box;height:auto!important;min-height:44px;padding:12px 16px!important;white-space:normal;line-height:1.7;overflow-wrap:anywhere;border-radius:8px;background:#cbb88f;color:#583b20;text-align:right;}

/* Forum list bars 20261005 */
#inlinemodform table.tborder:has(.tcatthreadslist){border:1px solid #b59a69!important;border-radius:8px 8px 0 0;border-spacing:0;background:#d0be96;overflow:hidden;}
#inlinemodform .tcatthreadslist{background:#baa276!important;color:#48321f!important;text-align:right;font-size:18px!important;line-height:1.7;padding:14px 16px!important;border:0!important;}
#inlinemodform .tcatthreadslist .normal{font-weight:600;color:inherit;}
#inlinemodform table:has(.tcatthreadslist) .vbmenu_control{background:#d0be96!important;border:0!important;border-top:1px solid #b59a69!important;padding:10px 16px!important;height:auto!important;color:#583b20;}
#inlinemodform table:has(.tcatthreadslist) .vbmenu_control a{color:#583b20!important;font-size:16px;font-weight:600;display:inline-block;padding:4px 0;}
#threadslist>tbody:first-child>tr:first-child>td.thead{background:#e0d1ae!important;color:#583b20!important;border:0!important;border-bottom:1px solid #b59a69!important;padding:12px 14px!important;line-height:1.7;font-size:16px!important;}
#threadslist>tbody:first-child>tr:first-child>td.thead a{color:#583b20!important;}
#threadslist>tbody:first-child>tr:first-child>td.thead>span>a{display:inline-block;padding:4px 10px;border:1px solid #b59a69;border-radius:6px;background:#eee1c1;}
@media(max-width:767px){#inlinemodform .tcatthreadslist{font-size:16px!important;padding:12px!important;}#threadslist>tbody:first-child>tr:first-child>td.thead{font-size:14px!important;padding:10px!important;}}

/* Pagination compact three links 20261005 */
#inlinemodform .pagenav{max-width:100%;float:none!important;clear:both;}
#inlinemodform .pagenav table.tborder{border:0!important;background:none!important;max-width:100%;border-spacing:5px;border-collapse:separate;}
#inlinemodform .pagenav td{background:#dfcfaa!important;border:1px solid #b39762!important;border-radius:6px;padding:0!important;min-width:34px;height:36px;text-align:center;box-sizing:border-box;}
#inlinemodform .pagenav td>a,#inlinemodform .pagenav td>span{display:block;padding:6px 10px;font-size:16px!important;line-height:22px;color:#583b20!important;}
#inlinemodform .pagenav td.alt2{background:#72502d!important;border-color:#72502d!important;}
#inlinemodform .pagenav td.alt2 span{color:#fff!important;}
#inlinemodform .pagenav td.vbmenu_control:first-child{background:transparent!important;border:0!important;padding:0 8px!important;color:#dfcfaa!important;white-space:normal;}
@media(max-width:767px){#inlinemodform .pagenav td>a,#inlinemodform .pagenav td>span{font-size:14px!important;padding:5px 8px;}#inlinemodform .pagenav td{min-width:30px;}}

/* Hide page jump dropdown */
.pagenav td[id^="pagenav."]{display:none!important;}

#body-warp #inlinemodform .pagenav table.tborder tbody tr td.vbmenu_control[id^="pagenav."]{display:none!important;}

/* Contact form responsive theme 20261005 */
#body-warp form[action*="do=docontactus"]{max-width:760px;margin:24px auto;color:#583b20;}
#body-warp form[action*="do=docontactus"] .tborder{width:100%!important;border:1px solid #b39762!important;border-radius:10px;background:#d0be96!important;overflow:hidden;border-collapse:separate;}
#body-warp form[action*="do=docontactus"] .tcat{background:#baa276!important;color:#583b20!important;padding:16px!important;font-size:19px;line-height:1.7;}
#body-warp form[action*="do=docontactus"] .tcat .smallfont{float:none!important;display:block;font-size:13px;}
#body-warp form[action*="do=docontactus"] .panelsurround{padding:18px!important;background:#d0be96!important;}
#body-warp form[action*="do=docontactus"] .panel{padding:0!important;background:transparent!important;border:0!important;color:#583b20!important;}
#body-warp form[action*="do=docontactus"] .panel>div{width:100%!important;box-sizing:border-box;}
#body-warp form[action*="do=docontactus"] .panel>div>br{display:none;}
#body-warp form[action*="do=docontactus"] .fieldset{min-width:0;box-sizing:border-box;margin:0 0 18px!important;padding:14px!important;border:1px solid #b39762;border-radius:8px;text-align:right;color:#583b20!important;}
#body-warp form[action*="do=docontactus"] legend{max-width:100%;white-space:normal;padding:0 6px;line-height:1.8;color:#583b20!important;font-weight:bold;}
#body-warp form[action*="do=docontactus"] legend span{color:#583b20!important;}
#body-warp form[action*="do=docontactus"] .fieldset table{width:100%;}#body-warp form[action*="do=docontactus"] .fieldset td{padding:6px 0;line-height:2;color:#583b20;}
#body-warp form[action*="do=docontactus"] input[type=text],#body-warp form[action*="do=docontactus"] textarea{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:5px 0!important;padding:10px 12px!important;border:1px solid #b39762!important;border-radius:7px!important;background:#f7eed9!important;color:#583b20!important;font-size:16px!important;}
#body-warp form[action*="do=docontactus"] input[type=text]{min-height:44px;}#body-warp form[action*="do=docontactus"] textarea{min-height:210px;resize:vertical;}
#body-warp form[action*="do=docontactus"] fieldset:has(input[name=subject])>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0!important;}
#body-warp form[action*="do=docontactus"] label{display:flex;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;padding:8px 10px;border:1px solid #b39762;border-radius:7px;background:#eadcba;line-height:1.6;}
#body-warp form[action*="do=docontactus"] input[type=radio]{margin:0!important;accent-color:#795b32;flex-shrink:0;}
#body-warp form[action*="do=docontactus"] fieldset>div>div:has(input[name=other_subject]){grid-column:1/-1;}
#body-warp form[action*="do=docontactus"] .panelsurround>.panel+div{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:4px!important;}
#body-warp form[action*="do=docontactus"] input.button{min-width:120px;min-height:44px;padding:10px 18px!important;border:1px solid #795b32!important;border-radius:7px!important;font-size:16px!important;background:#795b32!important;color:#fff7e7!important;}
#body-warp form[action*="do=docontactus"] input[type=reset]{background:#eadcba!important;color:#583b20!important;}
#body-warp form[action*="do=docontactus"] input:focus-visible,#body-warp form[action*="do=docontactus"] textarea:focus-visible{outline:2px solid #795b32;outline-offset:2px;}
@media(max-width:600px){#body-warp form[action*="do=docontactus"]{margin:16px 0;}#body-warp form[action*="do=docontactus"] .panelsurround{padding:12px!important;}#body-warp form[action*="do=docontactus"] .fieldset{padding:10px!important;}#body-warp form[action*="do=docontactus"] .tcat{padding:12px!important;font-size:17px;}}

/* Deleted thread rows: match mobile thread columns */
@media(max-width:767px){
#threadslist tbody[id^="threadbits_forum_"]>tr:has(td[colspan="3"])>td:nth-child(1),#threadslist tbody[id^="threadbits_forum_"]>tr:has(td[colspan="3"])>td:nth-child(2),#threadslist tbody[id^="threadbits_forum_"]>tr>td[colspan="3"]{display:none!important;}
#threadslist tbody[id^="threadbits_forum_"]>tr:has(td[colspan="3"])>td:nth-child(3){width:100%!important;max-width:100%;text-align:right;overflow-wrap:anywhere;padding:12px!important;}
#threadslist tbody[id^="threadbits_forum_"]>tr:has(td[colspan="3"])>td:nth-child(3)>div{line-height:1.8;}
#threadslist tbody[id^="threadbits_forum_"]>tr:has(td[colspan="3"]) em{font-size:18px;font-style:normal;font-weight:bold;}
#threadslist tbody[id^="threadbits_forum_"]>tr:has(td[colspan="3"])>td:nth-child(3):after{content:"موضوع محذوف";display:block;font-size:12px;color:#795b32;border-top:1px solid #cbbfa8;margin-top:8px;padding-top:6px;}
}

/* Match thread selection menu with rating button */
#body-warp #threadslist td#imod{background:#e0d1ae!important;border:0!important;padding:8px 6px!important;vertical-align:middle!important;width:44px!important;min-width:44px;box-sizing:border-box;}
#body-warp #threadslist td#imod>img{display:inline-block!important;vertical-align:middle;width:32px!important;height:32px!important;box-sizing:border-box;object-fit:none;background:#dfd0af!important;border:1px solid #af9670!important;border-radius:5px!important;margin:0!important;padding:0!important;}
#body-warp #threadslist>tbody:first-child>tr:first-child .thead a[href*="sort=voteavg"]{display:inline-flex!important;align-items:center;justify-content:center;min-height:32px;box-sizing:border-box;padding:4px 8px!important;border-radius:5px!important;}
#body-warp #threadslist td#imod:hover>img{background:#eadcba!important;}

/* Align forum title/tools panel with thread list */
#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist){table-layout:fixed!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;border-bottom:0!important;border-radius:8px 8px 0 0!important;}
#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) td{box-sizing:border-box;white-space:normal!important;overflow-wrap:anywhere;}
#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumtools,#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumsearch{width:50%!important;text-align:center!important;vertical-align:middle!important;}
#body-warp #inlinemodform>#threadslist{width:100%!important;max-width:100%!important;margin-top:0!important;}
@media(max-width:600px){#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumtools,#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumsearch{font-size:16px!important;line-height:1.7!important;padding:10px 6px!important;}}

@media(max-width:600px){#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumtools,#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumsearch{font-size:14px!important;padding:10px 4px!important;white-space:nowrap!important;} }

/* Center forum tools and search with reserved arrow space */
#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumtools,#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumsearch{position:relative!important;text-align:center!important;vertical-align:middle!important;height:58px!important;padding:8px!important;white-space:normal!important;}
#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumtools>a,#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumsearch>a{display:block!important;box-sizing:border-box;width:100%;padding:0 18px!important;text-align:center!important;line-height:1.6!important;white-space:normal!important;float:none!important;font-size:15px!important;}
#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumtools>img,#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumsearch>img{position:absolute!important;left:10px!important;top:50%!important;transform:translateY(-50%);margin:0!important;float:none!important;}
@media(max-width:600px){#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumtools>a,#body-warp #inlinemodform>table.tborder:has(.tcatthreadslist) #forumsearch>a{font-size:14px!important;}}

/* Forum search popup theme and responsive controls */
#body-warp #forumsearch_menu{box-sizing:border-box!important;width:320px!important;max-width:calc(100vw - 40px)!important;padding:10px!important;border:1px solid #b39762!important;border-radius:9px!important;background:#d0be96!important;box-shadow:0 6px 18px #0004;}
#body-warp #forumsearch_menu table{width:100%!important;table-layout:fixed;border-spacing:0!important;background:transparent!important;}
#body-warp #forumsearch_menu td{padding:7px 0!important;background:transparent!important;color:#583b20!important;white-space:normal!important;text-align:center!important;}
#body-warp #forumsearch_menu .thead{font-weight:bold!important;font-size:16px!important;border-bottom:1px solid #b39762;padding-bottom:10px!important;}
#body-warp #forumsearch_menu td>div{display:flex!important;align-items:center;gap:8px;}
#body-warp #forumsearch_menu input[name=query]{flex:1;min-width:0!important;width:100%!important;box-sizing:border-box!important;height:42px!important;padding:8px 10px!important;margin:0!important;background:#f7eed9!important;border:1px solid #b39762!important;border-radius:6px!important;color:#583b20!important;font-size:16px!important;}
#body-warp #forumsearch_menu input[type=submit]{width:auto!important;min-height:42px!important;padding:8px 14px!important;margin:0!important;background:#795b32!important;color:#fff7e7!important;border:1px solid #795b32!important;border-radius:6px!important;font-size:15px!important;}
#body-warp #forumsearch_menu label{display:inline-flex;align-items:center;gap:5px;min-height:38px;font-size:13px!important;white-space:nowrap;}
#body-warp #forumsearch_menu input[type=radio]{accent-color:#795b32;margin:0!important;}
#body-warp #forumsearch_menu .vbmenu_option_alink a{display:block;padding:9px!important;border:1px solid #b39762;border-radius:6px;background:#eadcba!important;color:#583b20!important;font-size:14px!important;}
#body-warp #forumsearch_menu input[name=query]:focus-visible{outline:2px solid #795b32;outline-offset:2px;}

/* Crisp new poem button replacing legacy bitmap appearance */
#body-warp a[href*="newthread.php"]:has(>img[src*="newthread"]){display:inline-flex!important;align-items:center;justify-content:center;gap:10px;position:relative;box-sizing:border-box;min-width:180px;min-height:48px;padding:10px 22px!important;background:linear-gradient(180deg,#eadcba,#d0be96)!important;border:1px solid #a38757!important;border-radius:8px!important;color:#583b20!important;font-size:18px!important;font-weight:bold;text-decoration:none!important;line-height:1.5;box-shadow:0 2px 4px #0002;}
#body-warp a[href*="newthread.php"]:has(>img[src*="newthread"])>img{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden;pointer-events:none;}
#body-warp a[href*="newthread.php"]:has(>img[src*="newthread"]):before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#795b32;color:#fff7e7;font-family:Arial,sans-serif;font-size:21px;font-weight:normal;line-height:1;}
#body-warp a[href*="newthread.php"]:has(>img[src*="newthread"]):after{content:"أضف قصيدة";}
#body-warp a[href*="newthread.php"]:has(>img[src*="newthread"]):hover{background:#eadcba!important;border-color:#795b32!important;}
#body-warp a[href*="newthread.php"]:has(>img[src*="newthread"]):focus-visible{outline:2px solid #795b32;outline-offset:3px;}

/* Remove editor branding line */
#body-warp #massybar,#body-warp .controlbar:has(>#massybar){display:none!important;}

#massybar,.controlbar:has(>#massybar){display:none!important;}

/* Balanced page navigation */
#body-warp #inlinemodform .pagenav{margin:0!important;padding:8px 0!important;}
#body-warp #inlinemodform .pagenav table.tborder{display:block!important;width:auto!important;border:0!important;padding:0!important;background:transparent!important;}
#body-warp #inlinemodform .pagenav tbody{display:block!important;}
#body-warp #inlinemodform .pagenav tr{display:flex!important;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;}
#body-warp #inlinemodform .pagenav td{display:block!important;width:auto!important;min-width:0!important;border:0!important;padding:0!important;margin:0!important;background:transparent!important;}
#body-warp #inlinemodform .pagenav td.vbmenu_control:first-child{flex-basis:100%;text-align:center!important;color:#eadcba!important;font-size:14px!important;line-height:1.8;margin-bottom:4px!important;}
#body-warp #inlinemodform .pagenav td a,#body-warp #inlinemodform .pagenav td.alt2>span{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-width:40px;min-height:40px;margin:0!important;padding:7px 11px!important;border:1px solid #a38757!important;border-radius:7px!important;background:#eadcba!important;color:#583b20!important;font-size:15px!important;line-height:1.4!important;text-decoration:none!important;white-space:nowrap;}
#body-warp #inlinemodform .pagenav td.alt2>span{background:#795b32!important;color:#fff7e7!important;border-color:#795b32!important;}
#body-warp #inlinemodform .pagenav td a:hover{background:#d0be96!important;}
@media(max-width:600px){#body-warp #inlinemodform>table>tbody>tr:has(>td>.pagenav){display:flex!important;flex-direction:column;align-items:stretch;gap:8px;}#body-warp #inlinemodform>table>tbody>tr:has(>td>.pagenav)>td{display:block!important;width:100%!important;box-sizing:border-box;text-align:center!important;}#body-warp #inlinemodform>table>tbody>tr:has(>td>.pagenav)>td.smallfont{text-align:right!important;}#body-warp #inlinemodform .pagenav{width:100%!important;}}

#body-warp #inlinemodform .pagenav tr>td.alt1,#body-warp #inlinemodform .pagenav tr>td.alt2{flex:0 0 auto!important;width:auto!important;max-width:none!important;}

#body-warp #inlinemodform .pagenav>table.tborder{width:100%!important;max-width:100%!important;}

#body-warp #inlinemodform .pagenav>table.tborder>tbody>tr{width:100%!important;max-width:none!important;}

/* Center new poem button above pagination on mobile */
@media(max-width:600px){#body-warp #inlinemodform>table>tbody>tr:has(>td>.pagenav)>td.smallfont{text-align:center!important;}}

/* Hide page count caption while keeping page links */
#body-warp #inlinemodform .pagenav>table.tborder>tbody>tr>td.vbmenu_control:first-child{display:none!important;}

/* Remove separator below page navigation */
#body-warp #inlinemodform>table>tbody>tr:has(>td>.pagenav){border-bottom:0!important;}

/* Simplified new-thread poetry editor */
form[action*="do=postthread"]{width:100%;max-width:980px;margin:20px auto;color:#583b20;}
form[action*="do=postthread"] .tborder{width:100%!important;max-width:100%!important;box-sizing:border-box;border:1px solid #b39762!important;border-radius:10px;background:#d0be96!important;}
form[action*="do=postthread"] .tcat{background:#baa276!important;color:#583b20!important;padding:14px!important;line-height:1.8;}
form[action*="do=postthread"] .panelsurround,form[action*="do=postthread"] .panel{background:#d0be96!important;color:#583b20!important;border:0!important;padding:14px!important;box-sizing:border-box;}
form[action*="do=postthread"] .panel>div{width:100%!important;max-width:100%!important;box-sizing:border-box;}
form[action*="do=postthread"] table{max-width:100%!important;box-sizing:border-box;}
form[action*="do=postthread"] .vBulletin_editor{width:100%!important;max-width:100%!important;padding:10px!important;background:#e8d9b6!important;border:1px solid #b39762!important;border-radius:9px;}
form[action*="do=postthread"] .controlbar{background:transparent!important;border:0!important;padding:4px!important;}
form[action*="do=postthread"] .controlbar>table>tbody>tr{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;}
form[action*="do=postthread"] .controlbar>table>tbody>tr>td{display:block;padding:0!important;}
form[action*="do=postthread"] .controlbar td:has(>div[id^="vB_Editor_"]):not(:has([id$="_cmd_removeformat"] ,[id$="_popup_fontname"] ,[id$="_popup_fontsize"] ,[id$="_popup_forecolor"] ,[id$="_popup_attach"] ,[id$="_cmd_undo"] ,[id$="_cmd_redo"] ,[id$="_cmd_bold"] ,[id$="_cmd_italic"] ,[id$="_cmd_underline"] ,[id$="_cmd_justifyright"] ,[id$="_cmd_justifycenter"] ,[id$="_cmd_justifyleft"] ,[id$="_cmd_createlink"] ,[id$="_cmd_unlink"] ,[id$="_cmd_insertimage"] ,[id$="_cmd_wrap0_quote"] ,[id$="_cmd_poem"] ,[id$="_cmd_textformat"] ,[id$="_cmd_youtube"] )){display:none!important;}
form[action*="do=postthread"] .imagebutton,form[action*="do=postthread"] .imagebutton_hover,form[action*="do=postthread"] .imagebutton_down{box-sizing:border-box;min-width:34px;min-height:34px;border:1px solid #b39762!important;border-radius:5px;background:#eadcba!important;padding:5px!important;}
form[action*="do=postthread"] [id$="_cmd_poem"]{min-width:110px;background:#d0be96!important;display:flex;align-items:center;justify-content:center;gap:5px;}
form[action*="do=postthread"] [id$="_cmd_poem"]:after{content:"تنسيق الشعر";font-size:13px;color:#583b20;font-weight:bold;}
form[action*="do=postthread"] input[name=subject],form[action*="do=postthread"] textarea[name=message]{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:6px 0!important;padding:12px!important;border:1px solid #b39762!important;border-radius:8px!important;background:#fff9ee!important;color:#583b20!important;font-size:16px!important;}
form[action*="do=postthread"] textarea[name=message]{min-height:300px;resize:vertical;line-height:1.8;}
form[action*="do=postthread"] input[name=subject]{min-height:46px;}
form[action*="do=postthread"] .fieldset{box-sizing:border-box;min-width:0;max-width:100%;border:1px solid #b39762;border-radius:8px;padding:12px;margin:12px 0;color:#583b20!important;}
form[action*="do=postthread"] input[type=submit]{min-height:44px;padding:10px 16px!important;margin:5px!important;border:1px solid #795b32!important;border-radius:7px;background:#795b32!important;color:#fff7e7!important;}
@media(max-width:600px){form[action*="do=postthread"] .panelsurround,form[action*="do=postthread"] .panel{padding:8px!important;}form[action*="do=postthread"] .vBulletin_editor{padding:6px!important;}form[action*="do=postthread"] .panel table{width:100%!important;}form[action*="do=postthread"] td:has(>.vBulletin_editor){width:100%!important;}}

form[action*="do=postthread"] .tborder{table-layout:fixed!important;}form[action*="do=postthread"] .tcat>.smallfont{float:none!important;display:block;}
form[action*="do=postthread"] td:has(>fieldset:has(img[id*="_smilie_"])){display:none!important;}
form[action*="do=postthread"] table:has(>tbody>tr>td>div[tag^="qkeys_"]){display:none!important;}
form[action*="do=postthread"] #vB_Editor_001{width:100%!important;}

form[action*="do=postthread"] #vB_Editor_001 td.controlbar:has(>fieldset[id$="_smiliebox"]){display:none!important;}

form[action*="do=postthread"] #vB_Editor_001 td.popup_feedback{display:table-cell!important;}form[action*="do=postthread"] #vB_Editor_001_size_out{width:50px!important;}

/* Match mobile search icon to home icon */
nav .navmenu.showphone>a.naizah-site-search{top:-2px!important;right:110px!important;width:44px!important;height:46px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;color:#fff!important;font-size:30px!important;line-height:1!important;}
nav .navmenu.showphone>a.naizah-site-search>i{background:transparent!important;font-size:30px!important;line-height:1!important;}

nav .navmenu.showphone>a.naizah-site-search>i:before{background:transparent!important;padding:0!important;box-shadow:none!important;}
