/*  MICROTHEMER STYLES  */

/*= Full Code Editor CSS ====== */

.mobile-menu-container {
	/*height: 30px;*/
	position: relative;
	width: 100%;
	
}

.mailpoet_validate_success {
    width: 80%;
}


/* Desktop slider */
#slider-334-44 {
    display: none;
}

@media (min-width: 768px) {
    #slider-334-44 {
        display: block;
    }
    
    #slider-274-44 {
    display: none;
}
}

/* Mobile Slider */


.book-review-text-wrapper:after {
    border-bottom: 2px solid #ffc914;
    content: "";
    display: block;
    width: 50%;
    margin: 0 auto;
    padding-bottom: 24px;
}


section:first-of-type {
    margin-top: -100px;
}

.ct-inner-content {
    margin-bottom: 40px !important;
}

section {
    margin: -30px 0 -40px;
}

.ct-section-inner-wrap {
    padding: 75px 0;
}

.mobile-menu {
    position: absolute;
    right: 0;
    top: -20px;
    display: none;
    z-index: 10000;
}

.about-author-section {
    padding-bottom: 100px;
}

.cd-top {
    background-color: #ffc91480;
    opacity: 0.5 !important;
    border-radius: 50%;
    height: 50px;
    width: 50px;
}

@media (max-width: 480px) {
    .cd-top {
        margin-bottom: 40px;
    }
    
    .heading--large-underline {
        padding-bottom: 6px;
    }
}


/* Home Page */

.books-bg-container {
        background-position: 0px 90px;
    }

@media (min-width: 1280px) {
    .book-reviews-section {
        padding-bottom: 80px;
    }
}

@media (max-width: 992px) {
    .books-bg-container {
        background-position: 0px 230px;
    }
}

@media (min-width: 992px) {
    .book-reviews__cover {
        position: relative;
        left: 20px;
    }
    
    .book-reviews-section .unslider-arrow.prev, .book-reviews-section .unslider-arrow.next {
        top: 200px;
    }
    
    .uncle-chow-feature__image.aos-animate {
    opacity: 0.8 !important;    
}
}

@media (max-width: 480px) {
    
    .books-bg-container {
        display: none;
    }
    
    .ava-lee-slide:not(.ct-section), .ava-lee-slide.ct-section .ct-section-inner-wrap {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
    }

    .ava-lee-slide__book {
        max-width: 120px
        padding-left: 2px;
        padding-right: 2px;
        padding-top: 2px;
    }

    .book-reviews__review-text {
        /*font-size: 14px;*/
        line-height: 22px;
        width: 95%;
    }
    
    .book-reviews__source {
        font-size: 15px;
        width: 95%;
    }
    
    .book-reviews-section .unslider {
        padding: 0;
    }
    
    .book-reviews-section .unslider-arrow.prev {
        left: -32px;
        top: 700px;
    }
    
    .book-reviews-section .unslider-arrow.next {
        right: -32px;
        top: 700px;
    }
    
    .book-reviews__single-review {
        margin-left: 10px
    }
    
    .book-reviews-slider {
        margin-top: 30px !important;
    }
    
    .main-books-slider .unslider {
        padding: 0 10px;
    }
    
    .main-books-slider .unslider-arrow.prev {
        left: -30px;
    }
    
    .main-books-slider .unslider-arrow.next {
        right: -30px;
    }
}


@media (max-width: 360px) {
    .ava-lee-slider .unslider {
        padding: 0 20px !important;
    }
    
    .ava-lee-slide__book {
        max-width: 100px;
        padding-left: 2px;
        padding-right: 2px;
        padding-top: 2px;
    }

}


/* Blog Single */
@media(max-width: 480px) {
    .blog-main-col, .blog-sidebar-col {
        padding: 0px !important;
    }
}


/* Blog Archive */
.oxy-posts {
    /*margin-bottom: -80px !important;*/
    margin-top: 110px;
}

/* Grid Image Standard Style */
#_posts_grid-3-849 .oxy-post-image-fixed-ratio {
    padding-bottom: 60%;
}

.oxy-post .oxy-post-image {
    max-width: 660px !important;
}

#_posts_grid-3-849 .oxy-post-content p {
    color: white;
}

#_posts_grid-3-849 .oxy-read-more {
    padding: 0;
    font-size: 16px;
    color: #ffc914;
}

#_posts_grid-3-849 .oxy-read-more:hover {
    color: #EA3546;
}

.oxy-posts-grid .oxy-post-image {
    max-height: 290px;
    object-fit: cover;
}

/* make sure pagination has higher z-index as .oxy-posts*/
.oxy-easy-posts-pages {
    position: relative;
    z-index: 99999;
}

.blog-archive-section {
    /* margin: 0 40px; */
    padding: 0 40px;
}

/* Pagination links */
.oxy-easy-posts-pages > a {
    color: #fff;
}

.oxy-easy-posts-pages > a:hover {
    color: #ffc914;
}

.oxy-easy-posts-pages .current {
    color: #ffc914;
}

.oxy-easy-posts-pages > a, .oxy-easy-posts-pages > .current {
    padding-right: 5px ;
}

/* Blog Single */
.blog-single-section {
    padding: 0 40px;
    margin-top: 0px !important;
}

.blog-main-col {
    width: 70% !important;
}

.blog-sidebar-col {
    width: 30% !important;
}

.oxy-stock-content-styles img {
    margin-bottom: 30px;
    /*margin-top: 30px;*/
}

.oxy-stock-content-styles > *:first-child {
    margin-top: -10px;
}

.sidebar-posts-img {
    object-fit: cover;
    border: 2px solid #fff;
}

.blog-sidebar-col .oxy-repeater-pages-wrap {
    display: none;
}

@media (max-width: 1160px) {
    .sidebar-more-books-img {
        max-width: 110px;
    }
}


/* Events Page */
.event-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-content: center;
    gap: 16px
}


.events-section {
    margin-bottom: 120px;
}


@media (max-width: 800px) {
    .event-wrapper {
        grid-template-columns: 1fr;
        justify-content: center;
    }
    
    .event-listing {
        width: 100%
    }
}

@media (max-width: 480px) {
    .event-text-wrapper {
        padding-top: 5px;
        margin-left: 0px 
    }
    
    .event-listing {
         flex-direction: column!important;
    }
}


/* Tabs */

@media (min-width: 768px) {
    .tabs-0447-tab:first-child {
     margin-left: 72px;
    }
}

/* Footer */
@media (max-width: 480px) {
    .footer-boxes {
        width: 90%;
    }
}

/* Footer sub */
.footer-sub {
    margin-top: 30px;
}

.footer-designedby {
    color: inherit;
}

.footer-designedby:hover {
    color: #FFC914
}

/* Contact Form */
.happyforms-form__title {
    display: none;
}

.happyforms-form .label {
    font-family: Lato;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.8;
}

.happyforms-form input, .happyforms-form textarea {
    padding: 8px;
    margin-top: -8px;
    border-radius: 3px;
    border: none;
}

.happyforms-part--submit * {
    margin-right: 20px;
    padding: 10px 40px !important;
    background: #ffc914;
    color: #000;
    border-radius: 5px;
    border: none;
    font-family: Lato;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
}

.happyforms-part-error-notice p {
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
}

#happyforms-896-recaptcha > div {
    max-width: 200px !important;
    margin-top: -20px;
}

@media(max-width: 480px) {
    #happyforms-896-recaptcha > div {
        margin-bottom: 0px;
    }
}


/* Mailpoet error message */
.mailpoet_paragraph li {
    margin-top: 10px;
    font-size: 14px;
    font-family: Lato;
    font-weight: 400;
    color: #f51c65;
}

input.mailpoet_text.parsley-error {
    color: #222;
}

.mailpoet_validate_success {
    font-family: Lato;
    font-weight: 400 !important;
    line-height: 1.4;
    margin-bottom: -20px;
}

@media (max-width: 900px) {
    .contact-form-wrapper {
        flex-direction: column !important;
        flex-direction: column-reverse !important;
    }
    
    .contact-img-wrapper { 
    align-items: center;
    width: 100%;
}
    
    .contact-author-img {
        margin-top: 32px;
    }
}


@media (max-width: 992px) {
    .about-author-section {
        margin-bottom: -140px;
    }
}


@media (max-width: 768px) {
    .menu-row-desktop {
	    display: none !important;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .oxy-header-container {
        padding: 0 40px;
    }
    
    .footer-container {
        margin-top: -200px;
    }
    
    ul.oxy-pro-menu-list li {
        padding: 5px 0;
    }
}

@media (min-width: 1280px) {
    .ct-inner-content {
        width: 100%;
        padding: 0 !important;
    }
    
    .ava-lee-slide {
        justify-content: flex-start;
    }
    
    .ava-lee-slide__book {
        max-width: 200px
    }
    .buy-now-footer-box-home {
    	
    }
    
}

@media (min-width: 1880px) {
    .uncle-chow-feature__image {
        visibility: hidden;
    }
}

@media (max-width: 600px) {
    .books-grid__text {
        font-size: 14px;
    }
}

/*= General =================== */

/** General >> Books grid book **/
.books-grid {
	display: grid !important;
	grid-gap: 30px 20px !important;
	gap: 30px 20px !important;
	grid-template-columns: repeat(5, 1fr) !important;
	grid-template-rows: auto !important;
}


/*( Tablet & Phone )*/
@media (max-width: 767px) {

	/*= General =================== */

	/** General >> Books grid book **/
	.books-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	grid-template-rows: auto !important;
	justify-self: center !important;
	-webkit-align-self: center !important;
	align-self: center !important;
}


}

