/* Search Bar Start*/

#searchModalBody {
    padding: 10px 20px;
    background-color: white;
}

.searchBar {
    float: left;
    height: 50px;
    margin-top: 8px;
    width: 50%;
    margin-left: 10%;
    max-width: 1100px;
}


.searchBar input[type=text] {
    float: left;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
    width: 100%;
}

.mainsearchbar {
    margin-left: 0%;
    width: 50%;
}

#grey {
    margin: 0px;
    font-size: 12px;
    color: #777;
}

.resultDisplay {
    border-bottom: 1px solid #ddd;
    padding: 10px;
    height: auto;
    float: left;
    width: 90%;
}

.resultDisplay:hover {
    outline: 0;
    background: #f7f7f7;
}

.results {
    width: 64%;
    margin-left: 4%;
    height: auto;
    max-height: 240px;
    overflow: auto;
}

.liveSearchProfilePic {
    width: 35px;
    float: left;
    margin: 2px 10px 0px 0px;
}

.searchResultsBookTitle {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 15px;
    font-weight: 600;
}

.searchResultsAuthorName {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 14px;
    color: black;
    font-weight: 300;
}

.messageUsername {
    color: #000;
}

.liveSearchText {
    font-size: 14px;
    margin: 0px;
}


/* Search Bar End*/

/*Modal General Start*/

.modal-backdrop {
    display:none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
    opacity: .4;
    filter: alpha(opacity=80)
}

.modal {
    position: fixed;
    top: 10%;
    left: 30%;
    z-index: 1050;
    width: 40%;
    background:white;
    margin-left: 0%;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);

}

.modal.fade {
    top: -10%;
    -webkit-transition: opacity .3s linear, top .5s ease-out;
       -moz-transition: opacity .3s linear, top .5s ease-out;
         -o-transition: opacity .3s linear, top .5s ease-out;
            transition: opacity .3s linear, top .5s ease-out;
    display: none;
}

.modal.fade.in {
    top: 0%;
    display: block;
    z-index: 1070;
}

.modal-header {
    padding: 9px 15px;
    border-bottom: 1px solid #eee
}
.modal-header .close {
    margin-top: 2px
}
.modal-header h3 {
    margin: 0;
    line-height: 30px
}
.modal-body {
    position: relative;
    max-height: 430px;
    padding: 15px;
    overflow-y: auto;
}

.modal-form {
    margin-bottom: 0
}


.bootbox-confirm {
    position: fixed;
    top: 25% !important;
    left: 40%;
    z-index: 1050;
    width: 30%;
    height: 120px;
    background: #ffffff;
    margin: 0 auto;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 5px 1px #ddd;
    border-radius: 6px;
    outline: 0;
}

.bootbox-close-button {
    display:none;
}

.modal-footer {
    text-align: center;
    height: auto;
    margin-top: 10px;
}

.bootbox-body {
    font-size: 15px;
}

.btn.btn-primary.bootbox-accept {
    border: none;
    border-radius: 5px;
    background-color: #1c8bc3;
    color: white;
    height: 30px;
    outline: none;
}

.btn.btn-secondary.btn-default.bootbox-cancel {
    border: none;
    border-radius: 5px;
    background-color: #1c8bc3;
    color: white;
    height: 30px;
    outline: none;
    margin: 0px 20px 0px 0px;
}

/*Modal General End*/

/*Fade Start*/

.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -moz-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear
}
.fade.in {
    opacity: 1
}

/*Fade End*/


/****Left Menu Start****/

.leftCatMenu {
    float:left;
    margin-left:5px;
    margin-top: 0px;
}

.categoryLeftMenuButton {
    width: 50px;
    height: 100%;
    background: none;
}

.categoryRightMenuButton {
    width: 50px;
    height: 100%;
    margin-right: 10px;
    background: none;
}

.catNavImage {
    width: 100%;
    max-width: 100%;
    vertical-align: middle;
    border: 0;
}

#leftMenuButton {
    position: fixed;
    top: 0px;
    height: 65px;
    width: 60px;
    opacity: 1;
    z-index: 1100;
    cursor: pointer;
}

#leftMenu {
    z-index:1065;
}

#leftMenuModal {
    height: auto;
    padding: 10px 0px 1px;
    width: 100%;
    overflow: hidden;
    border-radius: 1px;
}

.modal.left .modal-dialog {
	position: fixed;
	margin: auto;
	width: 120px;
	height: 100%;
	-webkit-transform: translate3d(0%, 0, 0);
	    -ms-transform: translate3d(0%, 0, 0);
	     -o-transform: translate3d(0%, 0, 0);
	        transform: translate3d(0%, 0, 0);
}


.modal.left .modal-body {
	padding: 0px;
	background-color: white;
}

/**Left Transition**/
.modal.left.fade .modal-dialog{
	left: -120px;
	top: 0px;
	-webkit-transition: opacity 0.8s linear, left 0.3s ease-out;
	   -moz-transition: opacity 0.8s linear, left 0.3s ease-out;
	     -o-transition: opacity 0.8s linear, left 0.3s ease-out;
	        transition: opacity 0.8s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog{
	width: 380px;
}

/*Functions Modal Start*/

.functionsModal {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

#functionsModalDialogue {
    height: auto;
    width: 40%;
    padding: 5px 0px 5px 0px;
}

.functions-content {
    width:100%;
}

.functionsMenuOptions {
    display: flex;
    margin-top: 0px;
}

.modal.left.fade.in .modal-dialog#functionsModalDialogue {
	left: 3px;
    top: 3px;
    width: 85px;
    padding: 10px;
    height: 430px;
}

/*Page Select Modal*/

#pageSelectModalDialogue {
    width:100%;
}

.pageSelectModal {
    justify-content: center;
    position: absolute;
    bottom: 40%;
    width: calc(40% - 5px);
    left: 30%;
    border: 1px solid rgb(221, 221, 221);
    padding: 0px 10px;
}

.footer-menu ul{
    width:100%;
    margin:0;
    text-align: center;
    color:#000;
}

.footer-menu li {
    list-style-type: none;
    display: inline-block;
    margin: 5px 10px;
    width: 100%;
}

.menuPartContainer {
    width: 100%;
    float: left;
    margin-bottom: 15px;
}

#Page_Modal_Underlay {
    display:none;
    background: #0000003b;
    float: left;
    width: 100%;
    height: 100vh;
    left: 0px;
    top: 0px;
    position: absolute;
}

/*Book Menu Modal*/

#bookMenuModalDialogue {
    width:100%;
}

.bookFooterMenu {
    text-align: left !important;
    padding: 0px 10px !important;
    width: calc(100% - 10px) !important;
}

#Book_Modal_Underlay {
    display:none;
    background: #0000003b;
    float: left;
    width: 100%;
    height: 100vh;
    left: 0px;
    top: 0px;
    position: absolute;
}

/*Functions Modal End*/	

/*Category Modal Start*/

#categoryModalDialogue {
    height: 420px;
    width: 310px;
    padding: 10px 0px 10px 0px;
    background-color: white; 
    top:3px;
    border-radius: 3px 3px 3px 3px;
}

.modal.left.fade.in .modal-dialog#categoryModalDialogue {
	left: 3px;
	top: 3px;
	width: 310px;
	height: 430px;
}

#categoryModalContent {
    position: relative;
    z-index:1;
}

#bookCategoryListHeader {
    width: 95%;
    margin-top:0px;
    margin-bottom:10px;
    font-size: 18px;
    font-weight: bold;
    padding-left: 10px;
}

.bookCategoryList {
    margin-left:0px;
    list-style-type: none;
    
}

.bookCategoryListItem {
    padding: 8px 0px 8px 10px;
    border-top: 1px solid #ddd;
    width: 95%;
    float: left;
}

#categoryItem {
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 400;
    font-size: 16px;
}

.menuCategoryOption {
    color: #000 !important;
}

.bookCategoryListItem:active {
    background: #ddd;
}

.bookCategoryListItem:hover {
    background: #ddd;
}

/*Category Modal End*/

.footer-nav-buttons {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0 auto;
    max-width: 350px;
}


/*Social Share Modal Start*/

#socialShareDialogue {
    height: auto;
    width: 45%;
}

.modal.left.fade.in .modal-dialog#socialShareDialogue {
	left: 3px;
	top: 3px;
	width:310px;
	height: 430px;
}

#shareListModal {
    height:380px;   
}

#saveShareModalDialogue {
    height: 100%;
}

#socialShareHeader {
    width:100%;   
    padding: 0px 0px;
}

.social-share-title {
    font-weight: normal;
    margin-bottom: 18px;
    margin-top: 5px;
    text-align:center;
    font-size: 17.5px;   
}

/*Social Share Modal End*/

/*Save Bookmark Modal Start*/

.modal.right.fade.in .modal-dialog#bookmarkModalDialogue {
		right: 3px;
		top: 3px;
        width:95%;
	}

#bookmarkModalDialogue {
    width: 310px;
    height: 430px;
    padding: 10px 0px 10px 0px;
    background-color: white; 
    top:3px;
    left: 3px;
    border-radius: 3px 3px 3px 3px;
}

#bookmarkModalHeader {
    width:100%;   
    padding: 0px 0px;
}

.modal-body#bookmarkModalBody {
    max-height:100%;
}

.bookmark-save-title {
    font-weight: normal;
    margin-bottom: 18px;
    margin-top: 5px;
    text-align:center;
    font-size: 17.5px;   
}

.bookMarkSection {
    float: left;
    width: 90%;
    margin-bottom: 5px;
    padding: 10px 0px 0px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.bookMarkButtons {
    width: 95%;
    float: left;
    margin-top: 10px;
    margin-left: 10px
}

.bookMarkLocation {
    float:left;
}

.bookmarkButton {
    background: none;
    border: none;
    width: 80px;
    height: 20%;
    margin-right: 5px;
    margin-bottom: 0px;
    margin-top: 0px;
    float: left;
}

.bookmarkButton {
    background: none;
    border: none;
    float: left;
}

.bookmarkAddress {
    font-size :14px;
    word-break: break-all;
}

p.bookmark-buttons {
    min-height: 30px;
    margin-bottom: 0px;
    margin-top: 2px;
    font-size: 12px;
}


/*Save Bookmark Modal End*/


/*Left Menu Buttons Start */


.socialsharebutton {
    width:100%;
    height:20%;
}
.snippet-social-share-buttons {
margin-top:10px;
width:100%;
display: flex;
justify-content: center;
}


.chapter-social-share {
  padding: 0px 10px;
  border: none;
  border-radius:0px;
}

.chapter-share-button#facebook-chapter-share-button {
margin-top:0px;
}

.chapter-share-button#facebook-chapter-share-button img {
  position:relative;
  height: 25px;
  padding-right: 19px;
  padding-top:0px;
  margin-bottom:2px;
}

.chapter-share-button#google-chapter-share-button {
margin-top:0px;
}

.chapter-share-button#google-chapter-share-button img {
  position:relative;
  height: 25px;
  padding-right: 9px;
  padding-top:0px;
  margin-bottom:2px;
}

.chapter-share-button#linkedin-chapter-share-button {
margin-top:0px;
}

.chapter-share-button#linkedin-chapter-share-button img {
  position:relative;
  height: 25px;
  padding-right: 13px;
  padding-top:0px;
  margin-bottom:2px;
}

.chapter-share-button#twitter-chapter-share-button {
margin-top:0px;
}

.chapter-share-button#twitter-chapter-share-button img {
  position:relative;
  height: 25px;
  padding-right: 11px;
  padding-top:0px;
  margin-bottom:2px;
}

.chapter-share-button#whatsapp-chapter-share-button {
margin-top:0px;
}

.chapter-share-button#whatsapp-chapter-share-button img {
  position:relative;
  height: 25px;
  padding-right: 11px;
  padding-top:0px;
  margin-bottom:2px;
}

.chapter-share-button#vk-chapter-share-button {
margin-top:0px;
}

.chapter-share-button#vk-chapter-share-button img {
  position:relative;
  height: 20px;
  padding-right: 6px;
  padding-top:0px;
  margin-bottom:2px;
}

.nav-image {
    width:35px;  
}

.categoryRightMenuButton {
    width: 50px;
    height: 100%;
    margin-right: 10px;
    float: right;
}


#categoryRightMenuButton {
    width: 50px;
    height: 100%;
    margin-right: 10px;
    margin-top: 2px;
    float: right;
    font-size: 12px;
    line-height: 14px;
}

#rightmenuicon {
    width: 28px;
    max-width: 100%;
    vertical-align: middle;
    border: 0;
}

.read_ft-btn pull-left, button, html input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: none;
    width:30%;
    outline: none;
    cursor:pointer;
}

.review-book-nav-button {
    width: 100px;
}

.homeNavButton {
    background: none;
    border: none;
    width: 22%;
    height: auto;
}

.categoryNavButton {
    background: none;
    border: none;
    width: 22%;
    height: auto;
}

.functionsButton {
    background: none;
    border: none;
    width: 22%;
    height: auto;
}

.bookmarksButton {
    background: none;
    border: none;
    width: 22%;
    height: auto;
}

.readingModeButton {
    background: none;
    border: none;
    width: 22%;
    height: auto;
}

.fullScreenButton {
    background: none;
    border: none;
    width: 22%;
    height: auto;
}

.socialShareButton {
    background: none;
    border: none;
    width: 22%;
    height: auto;
}

p.menu-buttons {
    margin-bottom: 0px;
    margin-top: 2px;
    color: black;
    font-size: 12px;
}


/*Left Menu Buttons End */

/****Left Menu End****/

.previous-chapter-nav-button {
    width: 100px;
}

.back-to-book-nav-button {
    width: 100px;
}

.next-chapter-nav-button {
    width: 100px;
}

#footerbookmenubody {
    overflow: hidden;
}


/**** Right Menu Start****/

.rightCatMenu {
    float:right;
    margin-top: 0px;
}

#rightMenuButton {
    position:fixed;
    top: 0px;
    right: 0px;
    height: 60px;
    width: 60px;
    opacity:0;
    z-index:1000;
    cursor: pointer;
}

#rightMenu {
    z-index:1065;
}

#rightMenuModal {
    height: auto;
    float:right;
    width: 85px;
    right: 3px;
    top: 3px;
    border-radius: 3px 3px 3px 3px;
    opacity: 0.9;
    box-shadow: #585858 -1px 0.75px 7px 0px;
    overflow: hidden;
}






.modal.right .modal-dialog {
	position: fixed;
	margin: auto;
	width: 120px;
	height: 100%;
	-webkit-transform: translate3d(0%, 0, 0);
	    -ms-transform: translate3d(0%, 0, 0);
	     -o-transform: translate3d(0%, 0, 0);
	        transform: translate3d(0%, 0, 0);
}

.modal.right .modal-body {
	padding: 10px;
	background-color: white;
}

/*Right Transition*/
.modal.right.fade .modal-dialog {
	right: -120px;
	top: 0px;
	-webkit-transition: opacity 0.8s linear, right 0.3s ease-out;
	   -moz-transition: opacity 0.8s linear, right 0.3s ease-out;
	     -o-transition: opacity 0.8s linear, right 0.3s ease-out;
	        transition: opacity 0.8s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
	width: 380px;
}


/*Account Modal Start*/	
	
#accountModalDialogue {
    height: 60%;
    padding: 10px 0px 10px 0px;
    background-color: white; 
    top:3px;
    border-radius: 3px 3px 3px 3px;
}

.modal.left.fade.in .modal-dialog#accountModalDialogue {
		width: 380px;
	}
	
.modal-content {
    width: 100%;
}
	
.displayMenuOptions {
    display:grid;
    margin-top: 15px;
}

/*Account Modal End*/


/*Discussion Modal Start*/

#discussionModalDialogue {
    width: 100%;
    height: 60%;
    padding: 10px 0px 10px 0px;
    background-color: white;
    top:3px;
    border-radius: 3px 3px 3px 3px;
}

#discussionModalHeader {
    width:100%;   
    padding: 0px 0px;
}

.discussion-title {
    font-weight: normal;
    margin-bottom: 18px;
    margin-top: 5px;
    text-align:center;
    font-size: 17.5px;   
}

.modal.right.fade.in .modal-dialog#discussionModalDialogue {
	right: 3px;
	top: 3px;
	width:95%;
}

/*Discussion Modal End*/

.loginLink {
    float: right;
    padding: 14px 10px;
    margin-right: 20px;
    text-decoration: none;
}


/*Cart Modal Start*/
#cartButton {
    position:fixed;
    top: 0px;
    right: 65px;
    height: 60px;
    width: 60px;
    opacity:0;
    z-index:1000;
    cursor: pointer;
}

#cartMenu {
    z-index:1065;
}

#cartModal {
    height: 70%;
    float:right;
    width: 295px;
    right: 3px;
    top: 3px;
    border-radius: 3px 3px 3px 3px;
    opacity: 0.9;
    box-shadow: #585858 -1px 0.75px 7px 0px;

}

.cartBook {
    float: left;
    width: 100%;
    margin-bottom: 15px;
    margin-left: 0px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.cartBookImage {
    width: 25%;
    float: left;
    padding: 5px;
}

.cartBookDetails {
    float: left;
    text-align: right;
    width: 65%;
    margin-left: 4%;
}

.cartBookTitle {
    margin-top:0px;
    margin-bottom:0px;
    line-height: 25px;
    word-break: break-word;
}

.cartBookAuthor {
    margin-top:0px;
    margin-bottom:0px;
    line-height: 25px;
    word-break: break-all;
}

.cartBookPrice {
    margin-top:4px;
    margin-bottom:4px;
    word-break: break-all;
}

#Cart_Book_Title {
    margin-top: 0px;
    margin-bottom: 2px;
    word-break: break-word;
    font-size: 16px;
}

#Cart_Chapter_Title {
    margin-top: 0px;
    margin-bottom: 2px;
    word-break: break-word;
    font-size: 15px;
    Font-weight: 400;
}

#Cart_Book_Author {
    margin-top: 2px;
    margin-bottom: 2px;
    word-break: break-word;
    font-size: 14px;
    font-weight: 400;
}

#Cart_Book_Price {
    margin-top: 2px;
    margin-bottom: 5px;
    word-break: break-all;
    font-size: 14px;
}

.removefromcart {
    width: 70px !important;
    background-color: #999999 !important;
    color: #ffffff;
    height: 25px !important;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px;
}


.emptyCartForm {
    width: 100%;
    float: left;
}

.emptyCartButton {
    width: 100px !important;
    float: right;
    margin-right: 10px;
    margin-bottom: 15px;
    background-color: #999999 !important;
    color: #ffffff;
    height: 25px !important;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px;
}

.proceedtocheckoutcartbutton {
    position: sticky;
    bottom: 0;
    text-align: center;
    width: 100%;
    float: right;
    background-color: #1979c3;
    border-radius: 10px;
    height: 45px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 400;
    color: white;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    cursor: pointer;
}


.cart_badge {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    background: #4da5d2;
    border-radius: 10px;
    margin-left: 0px;
    margin-top: 2px;
    color: #ffffff;
}

/*Cart Modal End*/


/*Right Menu Buttons Start */
.accountNavButton {
    background:none;
    border: none;
    width:100%;
    margin-top: 20px;
    height:85px;
}

.profileButton {
    background:none;
    border: none;
    width:100%;
    height:85px;
}

.yourBooksButton {
    background:none;
    border: none;
    width:100%;
    height:85px;
}

.accountSettingsButton {
    background:none;
    border: none;
    width:100%;
    height:85px;
}

.logOutButton {
    background:none;
    border: none;
    width:100%;
    height:85px;
}


/*Right Menu Buttons End */

/**** Right Menu End****/


.footer ul {
    list-style-type: none;
}

.footer li {
    padding: 3px 0px;
    line-height: 13px;
    font-size: 13px;
}

.footer-left {
    width: 30%;
    float: left;
    text-align: left;
    margin-bottom: 0px;
}

.footer-right {
    width: 40%;
    float: right;
    text-align: right;
}

.footer-menu {
width:100%;
}

/*Responsive Design */

@media screen and (max-width: 425px) { 
.searchBar {
    margin-left: 0%;
    width: 40%;
}  

.mainsearchbar {
    margin-left: 0%;
    width: 50%;
}

.mainsearchresults {
    width: 98%;
    position: absolute;
    z-index: 1000;
    top: 51px;
    left: 0px;
}

.categoryRightMenuButton {
    margin-right: 5px;
    margin-left: 5px;
}

.bootbox-confirm {
    position: fixed;
    top: 10% !important;
    left: 5%;
    z-index: 1050;
    width: 90%;
    height: 120px;
    background: #ffffff;
    margin: 0 auto;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 5px 1px #ddd;
    border-radius: 6px;
    outline: 0;
}

.bootbox-close-button {
    display:none;
}

.modal-footer {
    text-align: center;
    height: auto;
    margin-top: 10px;
}

.bootbox-body {
    font-size: 15px;
}

.btn.btn-primary.bootbox-accept {
    border: none;
    border-radius: 5px;
    background-color: #1c8bc3;
    color: white;
    height: 30px;
    outline: none;
}

.btn.btn-secondary.btn-default.bootbox-cancel {
    border: none;
    border-radius: 5px;
    background-color: #1c8bc3;
    color: white;
    height: 30px;
    outline: none;
    margin: 0px 20px 0px 0px;
}

.cart_badge {
    margin-left: 5px;

}

.modal {
    left: 2%;
    width: 96%;
}

.pageSelectModal {
    width: 75%;
    left: 10%;
    bottom: 20%;
}

.bookFooterMenu {
    padding: 0px 0px !important;
}

#functionsModalDialogue {
    width: 90%;
}

#socialShareDialogue {
    width: 100%;
}

.social-share-text {
    display:none;
}

.chapter-share-button {
    margin-bottom: 10px;
}

.chapter-social-share {
    padding: 0px 10px;
    border: none;
    border-radius: 0px;
}

.footer-left {
    width: 100%;
    float: left;
    text-align: left;
    margin-bottom: 20px;
}

.footer-right {
    width: 100%;
    float: left;
    text-align: left;
}


}

