body {
    padding-top: 125px;
    padding-bottom: 40px;
    background: #fbfaf9;
}
#main-page{
  font-size: 17px;
  line-height: 26px
}
#main-page img:not(.mediacenter){
  margin: auto 10px;
}
#main-page #tool__bar img{
  margin: auto;
}
.dropdown-menu .divider {
  height: 0;
  border-top: 1px solid #e5e5e5;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; }
h4 { font-size: 1.12em; }
h5 { font-size: .83em; }
h6 { font-size: .75em; }
.xbox .box_content > i{
  display: none;
}
.xbox .box_title > i{
  margin-left: 3px;
  margin-right: -6px;
}
.navbar{
  background: #fbfaf9 url(/lib/tpl/ojuba/images/page-gradient.png) top left repeat-x;
  border-color: #d8d8d8;
  box-shadow: 0px -6px 15px #999;
}

/* offset h1 targets with top navbar so that navigation anchor links line up */
.page h1, .page h2, .page h3, .page h4, .page h5 {
	margin: 20px 0;
}

/* Give the side TOC some space between top bar */
.page {
    padding: 15px 0;
}

/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar {
  margin-top: -15px;
  position: fixed;
  font-size: .8em;
  text-align: right;
  z-index: 1;
  width: 262px;
}
.bs-sidebar > .nav {
  background-color: #fbfaf9;
}
.bs-sidebar:before{
  content: " ";
  display: block;
  height: 30px;
  width: 100%;
  background-color: #fbfaf9;}
.bs-sidebar:after{
  content: " ";
  display: block;
  margin-top: -20px;
  height: 60px;
  width: 100%;
  background: -moz-linear-gradient(top, #fbfaf9 25%, rgba(0,0,0,0) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(25%,#fbfaf9), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #fbfaf9 25%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #fbfaf9 25%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #fbfaf9 25%,rgba(0,0,0,0) 100%); /* IE10+ */
  background: linear-gradient(to bottom, #fbfaf9 25%,rgba(0,0,0,0) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6fbfaf9', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}
.bs-sidebar > h3{
  background-color: #f5f5f5;
  margin: 0;
  border-radius: 3px 3px 0 0;
  border: 1px solid #d8d8d8;
  border-bottom: 0;
  padding: .5em 1em;
  font-size: 14px;
  line-height: 17px;
  display: block;
}
.bs-sidebar > ul{
  padding: .5em 0;
  border: 1px solid #d8d8d8;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* First level of nav */
.bs-sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top:    10px;
  padding-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
  background-color: #f7f5fa;
  border-radius: 5px;
}

.bs-sidebar > hr{
    margin: 5px 0;
}

/* All levels of nav */
.bs-sidebar .nav > li > a {
  display: block; 
  padding: 5px 20px;
}
#sidebar{
    overflow: hidden;
    margin-left: 1px;
    font-size: .9em;
}
#sidebar li{
  list-style: none;
  border-bottom: 1px solid #d8d8d8;
  padding: .7em 1em;
  color: #666;
  font-size: 0.75em;
  font-family:Tahoma,Geneva,sans-serif;
}
#sidebar li a{
  font-size: 1.4em;
  font-family: 'Droid Arabic Naskh','Monda',sans-serif;
}
#sidebar ul li:last-child{
  border-bottom: none;
}
#sidebar ul{
    padding: 0;
    margin: -13px;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #e5e3e9;
  border-left: 1px solid #dbd8e0;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
  font-weight: bold;
  background-color: transparent;
  border-left: 1px;
}

/* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav {
  display: none; /* Hide by default, but at >768px, show it */
  margin-bottom: 8px;
}
.bs-sidebar .nav .nav > li > a {
  padding-top:    3px;
  padding-bottom: 3px;
  padding-right: 30px;
  font-size: 90%;
}

.bs-sidebar .nav > .active > ul {
   display: block;
}

@media screen and (max-width: 993px) {
  .bs-sidebar {
    display: none;
  }
  #sidebar{
    display: none;
  }
}

.navbar-toggle{
  border-color: #999;
  margin-top: 15px;
  margin-left: auto;
}
.navbar-toggle:hover, .navbar-toggle:active, .navbar-toggle:focus{
  background: #fbfaf9 url(/lib/tpl/ojuba/images/page-gradient.png) top left repeat-x;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border: 1px solid #437644;
}
.navbar-header{
  z-index: 111;
}
.text-left {
	text-align: left;
}

.ojuba-box, .hentry{
  position: relative;
  border-radius: 3px;
  margin-bottom: 30px;
  margin-top: 14px;
  word-wrap: break-word;
}
.ojuba-box > h3, .comment_head{
  background-color: #f5f5f5;
  margin: 0;
  border-radius: 3px 3px 0 0;
  border: 1px solid #d8d8d8;
  border-bottom: 0;
  padding: .5em 1em;
  font-size: 14px;
  line-height: 17px;
  display: block;
}
.ojuba-box > .page, .comment_body{
  padding: .5em 1em;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.comment_buttons{
  float: left;
  margin-top: -22px;
}
.comment_buttons > *{
  float: left;
  display: inline-table;
}
#discussion__section{
  padding: 15px 0;
  display: block;
}
.has-success .form-control:focus, .form-control:focus {
  border-color: #67b168;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
}
.comment_form{
  padding-top: 1em;
}
label{
  font-weight: normal;
}
footer{
  font-size: .7em;
}
footer div.buttons a img {
    opacity: 0.5;
    margin-bottom: 5px;
}
footer div.buttons a:hover img,
footer div.buttons a:active img,
footer div.buttons a:focus img {
    opacity: 1;
}
.ani, a, footer div.buttons a img, .editbutton_section{
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
hr{
  border-top: 1px solid #bbb;
}
#dokuwiki__site{
  margin-top: 15px;
}
#nav-h{
  height: 60px;
}
#search{
  padding: 15px 0;
}
.navbar-nav{
    font-size: .9em;
}

#main-navbar > li > a{
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

@media (min-width: 768px){
#main-navbar > li > a {
  padding-bottom: 21px;
  padding-top: 23px;
}
}

#main-navbar > li > a::before,
#main-navbar > li > a::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  content: '';
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  -webkit-transform: translateX(-50%) translateY(-50%) scale(0.2);
  -moz-transform: translateX(-50%) translateY(-50%) scale(0.2);
  transform: translateX(-50%) translateY(-50%) scale(0.2);
}

#main-navbar > li > a::after {
  width: 90px;
  height: 90px;
  border-width: 6px;
  -webkit-transform: translateX(-50%) translateY(-50%) scale(0.8);
  -moz-transform: translateX(-50%) translateY(-50%) scale(0.8);
  transform: translateX(-50%) translateY(-50%) scale(0.8);
}

#main-navbar > li > a:hover::before,
#main-navbar > li > a:hover::after,
#main-navbar > li > a:focus::before,
#main-navbar > li > a:focus::after {
  opacity: 1;
  -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
  -moz-transform: translateX(-50%) translateY(-50%) scale(1);
  transform: translateX(-50%) translateY(-50%) scale(1);
}

.navbar-nav > li > .dropdown-menu {
  border-radius: 5px;
}

::-webkit-input-placeholder {
   line-height: 2em;
}

:-moz-placeholder { /* Firefox 18- */
   line-height: 2em;
}

::-moz-placeholder {  /* Firefox 19+ */
   line-height: 2em; 
}

:-ms-input-placeholder {  
   line-height: 2em; 
}
.page-info{
  margin: 1em -1.4em -.5em;
  padding: .5em 1em;
  border-top: 1px solid #d8d8d8;
  color: #666;
  font-size: .7em;
  text-align: left;
}
.code, pre{
  direction: ltr;
}

#export-box{
  position: absolute;
  left: 0;
  top: 0;
  padding: .5em 1em;
  font-size: 14px;
  line-height: 17px;
}
#export-box a {
  font-size: 1.3em;
  margin-right: 5px;
}
#export-box .tooltip{
  right: auto !important;
  left: 0;
}
.tags{
  margin: -.2em -1.3em 1em;
  padding: 0 1em .2em;
  border-bottom: 1px solid #d8d8d8;
  font-family: 'Droid Arabic Kufi', "Traditional Arabic", serif;
  font-size: .8em;
}

#plugin_bloglinks__links{
  margin: -.3em -.8em;
}

#plugin_bloglinks__links > div{
  width: 50%;
  display: inline-table;
}
.autoarchive_box li ul{
  margin-top: -3px !important;
  padding-right: 20px !important;
}
.autoarchive_box h2{
  font-size: 18px !important;
  text-align: center !important;
  border-top: 1px solid #ddd !important;
  padding-top: 10px !important;
}
.autoarchive_box table td.user,.autoarchive_box table td.date, #sidebar .secedit{
  display: none !important;
}
.autoarchive_box table{
  margin-bottom: 0 !important;
}

.autoarchive_selector{
  font-size: 18px;
}



#dokuwiki__pagetools {
    position: absolute;
    left: -40px;
    top: 2em;
    width: 40px;
}
#dokuwiki__pagetools div.tools {
    position: fixed;
    width: 40px;
}

#dokuwiki__pagetools ul {
    position: absolute;
    left: 0;
    text-align: left;
    margin: 0;
    padding: 0;
    padding-right: 31px;
    border: 1px solid transparent;
    z-index: 10;
    font-style: normal;
}

#dokuwiki__pagetools ul li {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.875em;
}

#dokuwiki__pagetools ul li a {
    display: block;
    min-height: 20px; /* 30 - 2x5 */
    line-height: 32px;
    padding: 0;
    /* add transparent border to prevent jumping when proper border is added on focus */
    border: 1px solid transparent;
    white-space: nowrap;
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin-right: auto; /* align right if the ul is larger because one item is focused */
    margin-left: 0;
}

#dokuwiki__pagetools ul li a span{
    margin-left: 5px;
}

#dokuwiki__pagetools ul li a:before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 1.5em;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  float: left;
  background-color: #fbfaf9;
  padding: 5px;
}

/* show all tools on hover and individual tools on focus */
#dokuwiki__pagetools:hover ul{
    background-color: #fff;
    border-color: #d8d8d8;
    border-radius: 5px;
    box-shadow: 0px 0px 4px #999;
}

#dokuwiki__pagetools:hover ul li a{
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0 5px;
}
#dokuwiki__pagetools:hover ul li a:before{
  background-color: transparent;
  float: auto;
}
#dokuwiki__pagetools:hover ul{
    direction: ltr;
}
#الأعلى{
    top: 0;
  position: absolute;
}



/*____________ all available icons in sprite ____________*/

#dokuwiki__pagetools ul li a.edit:before,
#dokuwiki__pagetools ul li a.create:before{
    content: " \f040";
}
#dokuwiki__pagetools ul li a.show:before{
  content: " \f15c";
}
#dokuwiki__pagetools ul li a.source:before{
  content: " \f002"
}
#dokuwiki__pagetools ul li a.draft:before {
  content: " \f0c6";
}
#dokuwiki__pagetools ul li a.revs:before {
  content: " \f1da";
}
#dokuwiki__pagetools ul li a.backlink:before {
  content: " \f0c1";
}
#dokuwiki__pagetools ul li a.top:before{
  content: " \f062";
}
#dokuwiki__pagetools ul li a.revert:before {
  content: " \f0d0";
}
#dokuwiki__pagetools ul li a.subscribe:before {
  content: " \f0e0";
}
#dokuwiki__pagetools ul li a.mediaManager:before {
  content: " \f108";
}
#dokuwiki__pagetools ul li a.back:before {
  content: " \f060";
}
.editbutton_section{
  margin-bottom: -5px;
  display: inline-table;
  vertical-align: bottom;
  margin-right: 10px;
  opacity: 0;
}
h1:hover .editbutton_section,
h2:hover .editbutton_section,
h3:hover .editbutton_section,
h4:hover .editbutton_section,
h5:hover .editbutton_section{
  opacity: 1;
}
.master-alert{
  position: relative;
  margin: 0;
  z-index: 10;
}
.toolbutton, .pickerbutton{
  border: 1px solid #bbb;
  background-color: #eee;
  margin-left: -1px;
  padding: 2px 8px;
  margin-bottom: -1px;
}
.toolbutton:first-child{
  border-top-right-radius: 4px;
}
.toolbutton:last-child{
  border-top-left-radius: 4px;
}
.toolbutton:hover, .pickerbutton:hover{
    background: #fbfaf9 url(/lib/tpl/ojuba/images/page-gradient.png) top left repeat-x;
}
.toolbutton:focus, .pickerbutton:focus, .toolbutton:active, .pickerbutton:active{
  outline: 0;
  background: #fbfaf9 url(/lib/tpl/ojuba/images/page-gradient.png) top left repeat-x;
}
button:focus, button:active{
  outline: 0;
}
.picker .toolbutton:first-child{
  border-bottom-right-radius: 4px;
}
.picker .toolbutton:last-child{
  border-bottom-left-radius: 4px;
}
.picker{
  max-width: 40%;
  direction: ltr;
}
.pickerbutton{
  border-radius: 8px;
  min-width: 33px;
  text-align: center;
}
#size__ctl img:hover{
  cursor: pointer;
  -webkit-filter: drop-shadow(1px 1px 1px #333);
  filter: drop-shadow(1px 1px 1px #333);
}
.btn:hover:not(.btn-success){
  background: #fbfaf9 url(/lib/tpl/ojuba/images/page-gradient.png) top left repeat-x;
  border: 1px solid #bbb;
 }
 .dropdown-header{
    font-size: 1em;
 }
 @media screen and (max-width: 1199px) {
  #nav-h{
    display: none;
  }
  #search-container{
    padding: 0px;
  }
}
@media screen and (max-width: 991px){
  .navbar-header img{
    height: initial;
    width: 144px;
  }
  .navbar-brand{
    padding: 5px;
  }
  body{
    padding-top: 55px;
  }
}
@media screen and (max-width: 991px) and (min-width: 768px) {
  #search-container{
    display: none;
  }
}
@media screen and (max-width: 1199px) and (min-width: 768px) {
  #search-container{
    padding: 0px;
    width: 500px;
    float: left;
  }
}
@media screen and (max-width: 1240px) and (min-width: 1200px) {
  #dokuwiki__pagetools{
    left: 5px;
  }
}
@media screen and (max-width: 1050px) and (min-width: 992px) {
  #dokuwiki__pagetools{
    left: 5px;
  }
}
@media screen and (max-width: 821px){
  #dokuwiki__pagetools{
    left: 5px;
  }
}
@media screen and (max-width: 768px) {
  #main-navbar > li > a{
    border-radius: 0;
  }
}
.action.login{
  font-size: 25px;
  padding-top: 19px !important;
  padding-bottom: 20px !important;
}
#user-menu{
  font-size: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.comment_buttons button{
  border-radius: 0;
}
.comment_buttons form:first-child button{
  border-bottom-left-radius: 3px;
}
.comment_buttons form:last-child button{
  border-top-right-radius: 3px;
}
table ul{
  margin: 0;
}
h1 > .secedit:not(:first-child),
h2 > .secedit:not(:first-child),
h3 > .secedit:not(:first-child),
h4 > .secedit:not(:first-child),
h5 > .secedit:not(:first-child){
  display: none;
}
.modal-body img{
  max-width: 100%;
}
#zoom-image{
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 1.8em;
  color: #fff;
  text-shadow: 0px 0px 1px #000;
}
#zoom-image:hover{
    color: #ddd;
    font-size: 2em;
}
.box.fa{
  margin: 0 0 0 5px;
  border: 0;
}
.box.fa *{
  display: none;
}

#ArCaptcha-form-group{
  margin: 20px -15px;
}
.m-icon{
  font-size: 40px !important;
  width: 100% !important;
  text-align: center !important;
}
table.inline{
  margin: auto 30px;
  display: inline-block;
}
table.inline th{
    padding: 5px 10px;
}
table.inline td{
    padding: 2px 10px;
}