header, footer{
    background-color: white;
    border-top: 4px solid #5e1411 !important;
}

header{
    padding-top: 5px;
    background: linear-gradient(to bottom, #8f7d29 0%, 0, #faf7e6 2%, #ffffff 100%);
}

#bottom-header, #top-footer{
    background-color: #5e1411 !important;
    padding: 15px;
}

body{
    direction: rtl;
    font-family: "Traditional Arabic" !important;
    font-size: 16pt !important;
    font-weight: bold;
    background-color: white;
    text-align: justify;
}

footer{
    background-color: #fcf3e7;
}

a {
    color: #5e1411;
    font-family: "Traditional Arabic" !important;
    font-size: 15pt !important;
    display: block;
}

.z-content, .tab-content, #book-description{
    background-image: url(../images/book.png) !important;
    background-position: 5% 95% !important;
    background-repeat: no-repeat !important;
    min-height: 200px;
}

.z-content{
    min-height: 0;
}

.striped .row:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.striped .row:last-of-type {
    border-bottom: 1px solid #ddd;
}

.striped .row{
    padding: 8px 23px 8px 23px;
    border-top: 1px solid #ddd;
    //border-left: 3px solid #ddd;
    //border-right: 3px solid #ddd;
}

.striped .row div{
    float: right;
}

.book-info-title, .book-info{
    float: right;
}

.book-cat .col-md-10{
    cursor: pointer !important;
}

.tab-content{
    background-position: 2% 5% !important;
}

.zozo-title{
    font-family: "Droid Arabic Kufi" !important;
    font-size: 15px !important;
}

.navbar-nav{
    width: 100%;
}

.navbar-nav>li, .navbar-nav>li a {
    float: right;
    font-family: "Droid Arabic Kufi" !important;
    font-size: 13px !important;
}

.navbar-nav>li{
    width: 15%;
}

.navbar-nav>li a{
    color: #ffffda;
    font-weight: bold;
}

.navbar-nav>li a:hover{
    color: yellow;
    background-color: #5e1411;
}

#top-footer{
    font-family: "Droid Arabic Kufi" !important;
    font-size: 14px !important;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 15px;
    color: #ffffda;
}


#home-link, #home-link a{
    font-size: 23px;
    width: 30px;
    color: wheat !important;
    font-size: 30px;
   height: 80%;
   margin-left: 10px;
}

#home-link:hover, #home-link a:hover{
    color: yellow !important;
}

.nav>li>a {
    padding: 10px 0 10px 0;
    text-align: center;
}

#fp-block-1, #cntnt{
    background-color: white;
    min-height: 550px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #efefef;
}

#fp-block-1{
    background-color: #faf7e6;
    min-height: 0;
}

#fpb1-content{
    background-color: white;
}

#cntnt img{
    margin: 15px;
    border: 15px solid #f1f1f1;
}

#book-description img{
    display: none;
}

#book-links a{
    font-size: 40px;
    margin-left: 10px;
    display: inline-block;
}

#book-links a img{
    width: 48px;
    margin: 0;
    border: none;
}

.not-active {
   pointer-events: none;
   cursor: default;
   color: gray !important;
}

.not-active img { 
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}

#fp-block-1 .col-lg-8{
    border: 1px solid #ddd;
    min-height: 360px;
    border-radius: 3px;
}

.fp-link{
    background-color: #ae8564;
    width: 100%;
    height: 80px;
    display: block;
    margin-bottom: 13px;
}

.fp-link:last-of-type{
    margin-bottom: 0;
}

.fp-link:hover, .fp-link a:active, .fp-active{
    background-color: #5e1411;
}

p, .cat-link {
    font-family: "Traditional Arabic";
    font-weight: bold;
    font-size: 16pt;
    line-height: 180%;
}

.cat-link:hover {
    text-decoration: underline;
}

h1{
    font-family: "Droid Arabic Kufi" !important;
    font-size: 20px;
    text-align: center;
}

h3{
    font-family: "Droid Arabic Kufi" !important;
    font-size: 15px;
    color: red;
    font-weight: bold;
}

h4, h4 a, thead{
    font-family: "Droid Arabic Kufi" !important;
    font-size: 17px !important;
    font-weight: bold;
    color: #d3b23c;
}

h4 a{
    display: inline-block;
}

.fp-link{
    font-family: "Droid Arabic Kufi" !important;
    font-size: 18px;
    font-weight: bold;
    color: #ffffda;
    text-align: center;
    padding-top: 7%;
    cursor: pointer;
}

.fp-link:hover{
    color: white;
    text-decoration: none;
}

.cat-link{
    display: block;
    color: #5e1411 !important;
    text-decoration: none;
    text-align: right;
}

.fatwa-brief{
    font-family: Tahoma;
    font-weight: normal;
    font-size: 12px;
}

#fatwa-question, #fatwa-question *{
    color: red !important;
}

#fatwa-question{
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
    //font-family: tahoma !important;
    font-size: 12px;
    font-weight: normal;
}

#cntnt .nav>li>a {
    font-family: 'Droid Arabic Kufi' !important;
    font-size: 12px !important;
    font-weight: bold;
    background-color:#eee;
    border-left: 1px solid #ddd;
}



#cntnt .nav>li.active>a {
    background-color:white;
    border-left: 1px solid white;
}

.nav li{
    float: right;
}

.tab-content>.tab-pane {
    padding-top: 20px;
    padding-right: 20px;
    min-height: 650px;
}

#lib .book {
    padding: 15px 0 0 0;
    margin: auto;
    position: relative;
}

#lib .book-label{
    color: maroon;
    font-size: 17px;
    position: absolute;
    top: 20px;
    display: block;
    z-index: 100;
    margin: 35px;
    text-align: center;
    background-color: #fbf2ce;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
}

#lib a:before { /* Just to give a little puddle of a shadow without adding another element */
	content: '';
    display: block;
    width: 80%;
    height: 1em;
    background: rgba(0,0,0,.35);
    border-radius: 50%;
    position: absolute;
    bottom:-10px;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    z-index:-5;
}
#lib .shelf {
	border-bottom: 30px solid #a5a5a5;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
	top: -15px;
	z-index: -10;
}
/*Example adding pseudo element to give shelf depth*/
#lib .shelf:after {
	content: '';
	background: #686868;
	height: 20px;
	width: calc(100% + 40px); /*IE9+*/
	position: absolute;
	top: 30px;
	left: 0;
	right: 0;
	z-index: 1;
	margin: 0 -20px;
}

#lib .col-xs-4, #lib .col-md-2{
    float: right;
}

.pagination>li{
    float: right;
    margin-left: 7px;
}

.pagination-lg li, .pagination-lg li span, .pagination-lg li a {
    border-radius: 3px !important;
    color: #5e1411 !important;
}

.pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #5e1411 !important;
    border-color: #5e1411 !important;
    color: white !important;
}
.search-box{
    border-radius: 4px !important;
    padding: 20px !important;
}

.sidebar-block{
    border: 1px solid #5e1411;
    margin-top: 20px;
    background-image: url(../images/stats.png);
    background-repeat: no-repeat;
    //min-height: 150px;
}

.sidebar-block h3{
    color: white;
    margin: 0;
    text-align: center;
    background-color: #5e1411 !important;
    height: 41px;
    padding-top: 10px
}

.sidebar-block .block-content{
    padding: 15px;
}

.format-arabic{
    font-size: 19px;
}

#lib-header{
    background-color: #5e1411;
    border: 1px solid brown;
    color: white;
    border-bottom: none;
    padding: 5px;
    font-size: 15px;
    font-family: 'Droid Arabic Kufi' !important;
    height: 43px !important;;
    padding-top: 10px !important;
}

.book-cat{
    border-left: 1px #efefef solid;
    border-right: 1px #efefef solid;
}

.book-info-title{
    color: blue;
}

.comment-tools{
    cursor: pointer;
}

textarea{
    min-width: 300px;
}

input[type=search] {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
}


#dropzone { margin-bottom: 3rem; }

.dropzone { border: 2px dashed #0087F7; border-radius: 5px; background: white; min-height: 100px;
    max-width: 600px;
    padding: 20px;}
.dropzone .dz-message { font-weight: 400; }
.dropzone .dz-message .note { font-size: 0.8em; font-weight: 200; display: block; margin-top: 1.4rem; }

.col-lg-4 img{
    width: 96%;
    margin: 2%;
}

.nav li{
    float: right;
}

.tab-content>.tab-pane {
    padding-top: 20px;
    padding-right: 20px;
}

#custom-search-input input {
    border: 0;
    box-shadow: none;
    font-size: 1em;
    line-height: 1.8em;
    background-color: white;
}

#custom-search-input {
    border: none;
    border-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: inset 0 0 25px 15px #e8e8e8;
    -moz-box-shadow: inset 0 0 25px 15px #e8e8e8;
    box-shadow: inset 0 0 25px 15px #e8e8e8;
    direction: rtl;
}

.btn-info {
    color: #5e1411;
    background-color: #fff;
    border-color: #fff;
    border-radius: 0;
}

.btn-info:hover{
   background-color: #fff;
   border: 1px solid white;
   color: #5e1411;
}

.navbar-form {
    margin: 0 !important;
    margin-left: 15px !important;
    padding: 0 !important;
    float: left !important;
}
