.p-algin{
    text-align: justify;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

.cart-img{
    padding-bottom: 35px;
}

.mainwrapper {
    font: 10pt normal Arial, sans-serif;
    font-weight: bold;
    padding-bottom: 30px;
    text-align: center;
    width: 120px;
    /*width: 660px;*/
}

/* Image Box Style */
.mainwrapper .box {
    /*border: 5px solid #fff;*/
    cursor: pointer;
    height: 220px;
    /*float: left;*/
    position: relative;
    overflow: hidden;
    width: 140px;

}
.mainwrapper .box img {
    position: absolute;
    left: 0;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;	
    transition: all 300ms ease-out;
}

/* Caption Common Style */
.mainwrapper .box .caption {
    background-color: rgba(255,255,255,.8);
    position: absolute;
    height: 100px;
    z-index: 100;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;	
    transition: all 300ms ease-out;
    left: 0;

}


/** Caption 1: Simple **/
.mainwrapper .box .simple-caption {
    height: 220px;
    width: 100%;
    display: block;
    /*bottom: -220px;*/
    left: -140px;
    padding: 5px;
    padding-top: 17px;
    color: #000;
    text-align: center;
}


/** home page slider button **/

.home_btn{
    height: 60px;
    position: relative;
    overflow: hidden;
    width: 134px;
    padding-top: 20px;
    margin-left: 3px;
    -webkit-box-shadow: inset 0px 169px 20px -171px rgba(74,74,74,1);
    -moz-box-shadow: inset 0px 169px 20px -171px rgba(74,74,74,1);
    box-shadow: inset 0px 169px 20px -171px rgba(74,74,74,1);
}

/** home page slider button effect css**/
.btn_effect{
    border: 1px solid #2aa9e0;
    background: #2aa9e0;
    color:  #fff;
    font-family: inherit;
    font-size: inherit;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s; 
    transition: all 0.7s;
    padding: 5px 10px; 
    border-radius: 1px;

}



.btn_effect:hover{background: #fff; 
                  color:  #2aa9e0;
                  -webkit-transition: all 0.7s;
                  -moz-transition: all 0.7s; 
                  transition: all 0.7s;}



.b2_navigation { min-height: 10px; 
                 /*background-color: #20A0AC;*/
                 background-color: #2aa9e0;   
               /*  background-color: #e52f48;  edit by diyan */  
                 font-family: inherit;
                 font-weight: bold; 
                 padding-bottom: 4px;
                 padding-top: 4px;
                 -webkit-box-shadow: inset 0px 169px 14px -171px rgba(74,74,74,1);
                 -moz-box-shadow: inset 0px 169px 14px -171px rgba(74,74,74,1);
                 box-shadow: inset 0px 169px 14px -171px rgba(74,74,74,1);
                 border-bottom: 2px solid #fff;
}

.footerul { float:left; margin-right:40px; }

.footerul li  { margin-bottom:10px; padding-left: 0px; margin-left: 0px; }

.footerul li a  {  color: #ccc !important; margin-left: -15px; }

.footerul li a:hover {color: #2aa9e0 !important;}

.footerul ul li h4 {margin-bottom:50px !important; }


.inner-page-sec {
    padding-bottom: 20px;
    box-shadow: 6px 0 30px -4px rgba(188,184,184, 0.5), -6px 0 30px -4px rgba(188,184,184, 0.5); 
    -moz-box-shadow: 6px 0 20px -4px rgba(188,184,184, 0.5), -6px 0 20px -4px rgba(188,184,184, 0.5); 
    -webkit-box-shadow: 6px 0 20px -4px rgba(188,184,184, 0.5), -6px 0 20px -4px rgba(188,184,184, 0.5);
}
.main_menu:hover { background-color: #fff !important; color:#ff7b91 !important;padding-bottom: 5px !important; }
.main_menu.active { background-color: #e53487 !important; color:#fff !important;padding-bottom: 5px !important; border-radius:5px;} /* edit by diyan  color:#2aa9e0 , color:#ff7b91*/


.b1_navigation { 
    min-height: 40px; 
    margin-top: -6px; 
    padding-top: 5px; 
    padding-bottom:5px; 
    background-color: #f1f1f1;

    background: linear-gradient(#fff, #d6dade);
    background: -o-linear-gradient(#fff, #d6dade);
    background: -moz-linear-gradient(#fff, #d6dade);
    background: -webkit-linear-gradient(#fff, #d6dade);
}

.payment_img {

    padding-right: 120px;

}

.mainwrapper  p {
    font-size: 13px;
    /*color: #a1d1f0;*/
    color: #000;
    font-weight: bold;
    -webkit-transition-delay: 300ms;
    -moz-transition-delay: 300ms;
    -o-transition-delay: 300ms;
    -ms-transition-delay: 300ms;	
    transition-delay: 300ms;
}


.mainwrapper .box .scale-caption p {
    -webkit-transition-delay: 500ms;
    -moz-transition-delay: 500ms;
    -o-transition-delay: 500ms;
    -ms-transition-delay: 500ms;	
    transition-delay: 500ms;
}

/** Simple Caption :hover Behaviour **/
.mainwrapper .box:hover .simple-caption {

    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    opacity: 1;
    transform: translateX(100%);
}

.search_btn{
    height: 30px;
    background:url(../img/search-icon.png)

}


.input_box{
    font-family: 'Roboto', sans-serif;
    z-index: 1;
    width: 200px !important;
    outline:none;
}



.head_style{
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #696763;
    border-bottom: 3px solid #E7E9EC;

    transition: 1s;
    -o-transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
}

.head_style:hover{
    color: #2aa9e0;
    background: #f1f1f1;
    border-bottom: 3px solid #2aa9e0;

    transition: 1s;
    -o-transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
}

.head_style img{
    /*height: 23px;*/
}

.head_email{
    font-family: 'Roboto', sans-serif;
    padding-top: 15px;
    margin-right: 5px;
    font-size: 12px;
    color: #696763;
}

.head_email:hover{
    color: #2aa9e0;
    background: #f1f1f1;
}


/*bootstrap custom*/

.dropdown-menu{
    background-color: rgba(68, 68, 68, .8); 

}

.dropdown-menu li a {
    color: #fff;
}

.dropdown-menu li a:hover {
    color: #2aa9e0;
    background-color: transparent; 

}

.category_bg{
    margin-top: -20px !important;
    font-family: "Open Sans", sans-serif;
    line-height: 30px;
    color: #ababab;
}

.list-group {
    margin-top: 10px;
    padding-left: 2px;
}

.list-group-item{
    background-color: #F7F6F6 !important;
}

/*/end bootstrap custom*/

/*book details styleing */

.book-ind-sec{
    height: 410px;
    
}

.book-body-sec{
    height: 141px;
    line-height: 15px;
}
.book-body-sec span{
    line-height: 20px;
}
.book_title{
    color:#2aa9e0;
    /*font-size: 15px;*/
    font-weight: 600;
    font-style: normal;
    font-size: 12px; /**sachith**/
}

.book_author{
    color:#696763;  
    font-style: normal;
    /*font-size: 12px;*/
    font-size: 12px;  /**sachith**/
}

.book_pub{
    color:#696763;  
    font-style: normal;
    font-size: 12px;

}

.book_cat{
    padding-bottom: 20px;
}

.book_cat li a{
    color: #2aa9e0;

}


.book_price{
    color:#D9534F; 
    font-family:  Arial, Helvetica, sans-serif;
    font-weight: bold;
    /*padding-top: 25px;*/
    /*padding-bottom: 10px;*/
    padding-top:0px; /*sachith*/
    padiing-bottom:0px; /*sachith*/
}

.book_price span{
    display: inline;
}


.book_des{
    color:#999; 
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    text-align: justify;
}



.book_detail{
    border-bottom: 1px solid #ccc;
    line-height: 20px;
    padding-top: 20px;
    font-weight:bold;
    padding-bottom: 20px;
    line-height: 1.1;
    color: inherit;
}


.book_des:hover{
    color: #666;
    transition: 1s;
}

.category_det{
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
}

.search_result{
    padding-top: 10px;
    padding-bottom: 60px;
}


.cat-over{
    transition: padding .5s;
    position: relative;
    display: block;
    padding: 10px 3px;
}
.cat-over:hover{
    transition: padding-left .5s;
    padding-left: 15px;
    background-color: #777 !important;
    color: #fff !important;
}


.bookinfor_silder{
    border-radius: 5px;
    color: #fff;
    font: 12px "Open Sans", sans-serif;
    text-transform: uppercase;
    padding: 10px 10px 10px 10px;
    background: #4D4D4D;
}

.booksilder-container{
    width: 130px;
    padding-right: 10px; 
    padding-left: 10px;

}

.bookinfor_silder_name{

    padding-bottom: 2px;
    font-size: 14px;
    line-height: 16px;
    color: #2e323a;
    margin-bottom: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.bookinfor_silder_name:hover{
    color: #2aa9e0; 
}


.bookinfor_silder_price{
    color: #555;

}

/*end book details styleing*/



.search_right_panel{
    border-left: 1px solid #EEE;
    padding-left: 20px;
    min-height: 80px;
}

.nbs-flexisel-inner_1 {
    overflow:hidden;
    float:left;
    width:100%;
    padding-top: 10px;
    padding-left: 0px;
    padding-right: 0px;
}

/*image effect */

.bookinfor_img{
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
    width: 265px;
    height: 399px;
}

.bookinfor_img:hover{
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
    width: 280px;
    height: 420px;
}

.bookcat_img{
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
    width: 146px;
    height: 226px;
}

.bookcat_img:hover{
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -ms-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
    /* width: 160px;
     height: 250px;*/


}
.book_cat li {
    display: inline;
}
/* Float Shadow */
.hvr-float-shadow {
    display: inline-block;
    /*height: 220px;*/
    margin-top: 5px;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.hvr-float-shadow:before {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 0;
    background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 80%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 80%);
    /* W3C */
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform, opacity;
    transition-property: transform, opacity;
}
.hvr-float-shadow:hover, .hvr-float-shadow:focus, .hvr-float-shadow:active {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    /* move the element up by 5px */
}
.hvr-float-shadow:hover:before, .hvr-float-shadow:focus:before, .hvr-float-shadow:active:before {
    opacity: 1;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}
/*end image effect */

.cat-over{
    transition: padding .5s;
    position: relative;
    display: block;
    padding: 10px 3px;
}
.cat-over:hover{
    transition: padding-left .5s;
    padding-left: 15px;
}


.social-btn-sec button{
    height: 25px;
    border: 0px;
    min-width: 28px;
    padding: 3px;
    margin: 3px;
    border-radius: 2px;
    text-decoration: none;
    /*background: #7F929C;*/
}


.social-media-f{
    background:#354c8c; 
}

.social-media-f:hover{
    background:#132f7a; 
}


.social-media-t{
    background: #2CAAE1;
}

.social-media-t:hover{
    background: #1591c6;
}

.social-media-p{
    background:#777;

}

.social-media-p:hover{
    background:#888;

}


.social-text a i {
    color:#eee;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1.5px;

}


.book-review{
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    width: 81%;
    padding: 0.5em 10px;
    background: rgba(255,255,255,0.8);
    text-align: center;
}

.hvr-float-shadow .book-review{
    left: 0px;
    right: 0px;
    bottom: 0;
    width: 100%;
    padding: 0px 10px;
    background: rgba(255,255,255,0.5);
}

.hvr-float-shadow .book-review .start-rating{
    font-size: 10px;   
}

.border-effect{
    border:1px;
    border-radius: 1px;
    text-shadow: 0 1px 1px #4d4d4d;
    /*     -webkit-box-shadow:0 0 5px rgba(0,0,0,0.8);
        -moz-box-shadow:0 0 5px rgba(0,0,0,0.8);
        box-shadow:0 0 5px rgba(0,0,0,0.8);*/
}

.book_des_full p {
    font-size: 13px;
    text-align: justify;
    line-height: 1.75;
    padding-bottom: 20px;
}

.book_des_title{
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 1.1;
    color: inherit;
}
/*Sachith Edit*/

@media screen and (max-width: 420px) {
    .mainwrapper {
    	padding-bottom: 0px;
        margin-bottom: 0px;
    }
    .home-book-sec{
        padding-bottom: 0px;
        margin-bottom: 0px;
    }
    .mainwrapper .box {
        width: 80px;
        height: 120px;          
    }

    .mainwrapper .box .simple-caption {
        height: 120px;
        left: -80px;
    }
    .home_btn {
        width: 80px;
         height: 45px;
        /*margin-left: -1px;*/

    }
    .btn_effect{
        width: 80px;
    }
    .book-ind-sec{
        height: 440px;
    }
    .book-body-sec{
        height: 158px;
        font-size: 11px;
        
    }
    .book_cat {
    	font-size: 11px;
	}
        
        
        

}
/*End Sachith Edit*/    