body {
    zoom: 90%;
    font-family: 'DroidArabicKufiRegular';
    font-weight: normal;
    font-style: normal;
    overflow-x: hidden;
}
html , body{
    height: 100%;
}
/* HELPER CLASSES */
.auto {
    margin: auto;
}

.main-color {
    /*color: #745c58;*/
    color: black;
}

.main-color2 {
    color: #e8e8e8;
}

.main-color3 {
    /*color: #869396;*/
    color: black;
}

.bg-color {
    background-color: #d7c5a5;
}

.bg-color2 {
    background-color: #715350;
}

.bg-color3 {
    background-color: #f9fafb;
}

.bg-color4 {
    background-color: #f8f9f9;
}

.tp-marg-5 {
    margin-top: 5px;
}

.tp-marg-10 {
    margin-top: 10px;
}

.tp-marg-20 {
    margin-top: 20px;
}

.tp-marg-30 {
    margin-top: 30px;
}

.tp-marg-15 {
    margin-top: 15px;
}

.bt-marg-25 {
    margin-bottom: 25px;
}

.tp-marg-40 {
    margin-top: 40px;
}

.block {
    display: block;
}

.line-block {
    display: inline-block !important;
}

.pos-rel {
    position: relative;
}

.pos-abs {
    position: absolute;
}

.hiden {
    overflow: hidden;
}

.left-float {
    float: left;
}

.none {
    display: none;
}
/* LOG-IN CLASSES */
.log-in {
    background-image: url(../images/bg-main.jpg);
    padding: 100px 0 50px;
    border-top: 2px solid #943e26;
    border-bottom: 5px solid #745c58;
    /*height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;*/
}

    .log-in .image {
        background-color: #fff;
        opacity: .85;
        padding: 75px 0;
        border: 5px solid #745c58;
        width: 75%;
        margin: auto;
    }
    .log-in .image img {
        width: 50%;
    }
        .log-in .btn {
        padding: 8px 50px;
        font-size: 25px;
        border-radius: 7px;
        margin-top: 50px;
    }

        .log-in .btn:hover {
            color: #745c58;
        }
/* SEARCH CLASSES */
.search {
    background-image: url(../images/bg-main.jpg);
    border-top: 2px solid #943e26;
    border-bottom: 5px solid #745c58;
}

    .search .search-image {
        height: 340px;
    }

    .search .search-text .logo-img {
        padding: 15px 65px;
        border: 5px solid #745c58;
        top: 340px;
        right: -310px;
        z-index: 3;
        opacity: .85;
    }

    .search .search-text {
        background-color: #f9fafb;
        padding: 100px;
        background-image: url(../images/bg-second.png);
    }

    .search .container-fluid {
        padding: 0;
    }

    .search .nav > li > a:hover, .search .nav > li > a:focus {
        background-color: transparent;
    }

    .search form {
        width: 100%;
        margin: 40px 0 30px;
    }

    .search .input-group, .search .form-group {
        width: 90%;
    }

    .search input {
        height: 45px;
        border-color: #8b7774;
    }

        .search input::placeholder {
            color: #c7c7c7;
            font-weight: 400;
        }

    .search .input-group .form-control:first-child {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .search button {
        border-color: #8b7774;
        padding: 6px 8px;
        border: 0;
        left: 1px;
        top: 1px;
        bottom: 1px;
        z-index: 3;
    }

    .search .input-group-addon {
        border-color: #8b7774;
        padding: 6px 0;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .search span {
        font-size: 18px;
        font-weight: 500;
    }
/* CLASSIFICATION CLASSES */
.classify {
    padding: 25px;
}

    .classify label {
        margin-right: 25px;
    }

    .classify select {
        width: 100%;
        padding: 10px 5px;
        border-radius: 4px;
        border-color: #8b7774;
    }

    .classify .btn {
        border: 1px solid #8b7774;
        margin-top: 10px;
        color: #667171;
        padding: 6px;
    }
/* HEADER CLASSES */
.header {
    background-image: url(../images/bg-header.jpg);
    background-size: cover;
    padding: 25px 0;
    background-repeat: no-repeat;
    background-position: center;
    border-top: 2px solid #943e26;
}

    .header .input-group {
        width: 100%;
    }

    .header .form-control {
        padding: 22px 50px;
        border: 1px solid #8b7774;
    }

    .header .input-group .form-control:last-child {
        border-radius: 5px;
    }

    .header .input-group .form-control:first-child {
        border-radius: 5px;
    }

    .header .search-btn {
        right: 0;
        z-index: 3;
        top: 2px;
    }

    .header .enter {
        padding: 10px 50px;
        color: #f2f1f0;
        font-size: 18px;
        font-weight: 500;
    }
/* BOOKLIST CLASSES */
.book-list {
    border-top: 5px solid #745c58;
}

    .book-list .book-list-content {
        border-bottom: 1px solid #c5b6af;
    }

    .book-list h3 {
        margin-top: 0;
        margin-bottom: 0;
    }

        .book-list h3:after {
            position: absolute;
            content: " ";
            border: 1px solid #8b6458;
            width: 100%;
            right: -15px;
            bottom: -14px;
        }

    .book-list select {
        width: 100%;
        border: 1px solid #8b7774;
    }

    .book-list .pagination {
        margin: 0;
    }

    .book-list .list-btn {
        text-align: left;
        padding-left: 10px;
    }

        .book-list .list-btn .btn {
            padding: 2px 5px;
            color: #667171;
            border: 1px solid #cfcece;
        }
/* BOOKS CLASSES */
.books {
    padding-top: 50px;
    padding-bottom: 50px;
}

    .books .thumbnail {
        border: 0;
        background-color: #f8f9f9;
        padding: 15px 4px;
        /*overflow: hidden; */
     
    }
        .books a:hover {
        color: #869396;
        text-decoration: none;
    }

    .books hr {
        width: 100%;
        border: 1px solid #c5b6af;
    }

    .books nav {
        text-align: left;
    }
/* BOOKCHAIN CLASSES */
.book-chain .btn {
    padding: 10px 40px;
    font-size: 18px;
    color: #f2f1f0;
}

    .book-chain .btn:hover {
        color: #f2f1f0;
    }

.book-chain h3:after {
    position: absolute;
    content: " ";
    border: 1px solid #8b6458;
    width: 17%;
    right: -15px;
    bottom: -11px;
}

.book-chain hr {
    width: 100%;
    border: 1px solid #c4b5ae;
}
/* BOOK-CHAIN-CONTENT CLASSES */
.book-chain-content .thumbnail {
    border: 0;
    background-color: #f8f9f9;
}

    .book-chain-content .thumbnail .caption,
    .book-chain-content .thumbnail h3 {
        margin-right: 50px;
    }

    .book-chain-content .thumbnail a:hover {
        text-decoration: none;
    }

    .book-chain-content .thumbnail .one:hover {
        color: #745c58;
    }

    .book-chain-content .thumbnail .two:hover {
        color: #869396
    }

.book-chain-text {
    margin-right: 50px;
}

    .book-chain-text h4 {
        font-size: 20px;
    }

    .book-chain-text p {
        line-height: 30px;
        font-size: 14px;
    }

    .book-chain-text .btn {
        color: #fafafa;
        font-size: 18px;
    }

        .book-chain-text .btn:hover {
            color: #fafafa;
        }
/* CATEGORIES CLASSES */
.categories .checkbox-style {
    opacity: 0;
    position: absolute;
}

.categories .checkbox-style,
.categories .checkbox-style-2-label {
    display: inline-block;
    vertical-align: middle;
    margin: 10px;
    cursor: pointer;
}

.categories .checkbox-style-2-label {
    position: relative;
    width: 100%;
    font-weight: 600;
}

    .categories .checkbox-style-2-label:before {
        content: '';
        background: #FFF;
        border: 2px solid #DDD;
        display: inline-block;
        vertical-align: middle;
        width: 24px;
        height: 24px;
        padding: 4px;
        margin-right: 10px;
        margin-left: 5px;
        line-height: 1;
        text-align: center;
    }

.categories .checkbox-style:checked + .checkbox-style-2-label:before {
    background: #775f5b;
    box-shadow: inset 0px 0px 0px 4px #fff;
}

.categories hr {
    border-color: #c5b6ae;
}

/*.categories h3 {
    margin-right: 10px;
}*/

.categories .categories-text:after {
    position: absolute;
    content: " ";
    border: 1px solid #745c58;
    width: 50%;
    right: -10px;
    bottom: -20px;
}

.categories .categories-secince:after {
    position: absolute;
    content: " ";
    border: 1px solid #745c58;
    width: 85%;
    right: -10px;
    bottom: -20px;
}
/* COPYRIGHT CLASSES */
.copyright {
    padding: 15px 0;
    margin-top: 2px;
    font-size: 16px;
}

    .copyright h5 {
        text-align: left;
    }

    .copyright a:hover {
        text-decoration: none;
        color: #e8e8e8;
    }

.thumbnail {
    border: 0;
    background-color: #f8f9f9;
}
.thumbnail h4 {
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    overflow: hidden;
    padding-bottom: 4px;
    padding-bottom: 4px;
}
    .thumbnail a {
        text-decoration: none;
        color: #000;
    }
/* MEDIA QUERY */
@media (max-width:1200px ) {
    .search .input-group-addon {
        padding: 6px;
    }
}

@media (max-width:992px ) {
    .search .nav > li {
        display: block !important;
    }

    .classify label {
        margin-right: 5px;
    }

    .header img {
        margin-top: 30px;
    }

    .copyright h5 {
        text-align: inherit;
    }
}

@media (max-width: 769px) {
    .book-chain h3:after {
        width: 50%;
    }

    .search .search-text .logo-img {
        display: none;
    }
    .thumbnail-image img {
        right: 33%!important;
    }

    .search .nav > li {
        display: inline-block !important;
    }

    .search .input-group-addon {
        padding: 6px 10px;
    }

    .search .input-group, .search .form-group {
        width: 100%;
    }

    .search .search-text {
        padding: 100px 10px;
    }

    .search .search-image img {
        position: static;
        padding: 15px 65px;
    }

    .search .search-image {
        padding: 50px 15px;
    }

    .copyright {
        font-size: 12px;
    }

        .copyright h5 {
            text-align: inherit;
        }

    .side-menu {
        bottom: 0 !important;
        top: auto !important;
        right: 0;
    }
        .side-menu .side-menu-cont a, .side-menu .side-menu-cont{
            display:inline-block;
        }
    .side-menu-cont{
        width:100%;
    }
    .side-menu .side-menu-cont {
        text-align:center;
    }
    .animate-scale {
        transform: scale(0) !important;
    }
    }

@media (max-width: 480px) {
    .search .nav > li {
        display: block !important;
    }
    .thumbnail-image img {
        right: 14% !important;
    }
}
.m {
    overflow: hidden;
}

    .m .list-btn {
        text-align: left;
    }

.categories h3 {
    margin-bottom: 20px;
}

.categories hr {
    margin-top: 0;
}

.books .thumbnail .caption {
    color: #000;
}

.lft-marg-5 {
    margin-left: 5px;
}
.side-menu {
    left: 0px;
    background-color: #e6e6e6;
    top: 140px;
    position:fixed;
    z-index:99;
}

    .side-menu img {
        margin: 20px auto;
    }

    .side-menu .side-menu-cont {
        background-color: #fbfbfb;
        padding: 10px;
    }

        .side-menu .side-menu-cont .t:after {
            top: -25px;
            right: -50px;
            position: absolute;
            width: 0;
            height: 0;
            content: "";
            border-bottom: 20px solid #fbfbfb;
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
        }

        .side-menu .side-menu-cont a {
            color: #000;
            border-bottom: 1px solid #dbd4d2;
            padding-bottom:5px;
        }

            .side-menu .side-menu-cont a:hover {
                text-decoration: none;
                color: #000;
            }
.animate-scale {
    transform: scale(2);
    z-index:9;
}
.thumbnail-image {
   height:450px;
}
.thumbnail-image img{
    right:40%;
}
.thumbnail-image1 img {
    right: 23%;
}
.thumbnail-image1 {
    height: 300px;
}