/* ----------------------------------------------------------------
	Canvas: Cheryl
	Version: 1.0
-----------------------------------------------------------------*/

body {
    background-color: #272e40;
}

#header:not(.sticky-header) #header-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#primary-menu>ul>li>a {
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 400 !important;
    text-transform: capitalize;
    letter-spacing: 1px;
}

#header.sticky-header:not(.static-sticky),
#header.sticky-header:not(.static-sticky) #header-wrap,
#header.sticky-header:not(.static-sticky):not(.sticky-style-2):not(.sticky-style-3) #logo img {
    height: 80px;
}

#header.sticky-header:not(.static-sticky) #primary-menu>ul>li>a {
    padding-top: 29px;
    padding-bottom: 29px;
}

#header.sticky-header:not(.static-sticky) #top-search,
#header.sticky-header:not(.static-sticky) #top-cart,
#header.sticky-header:not(.static-sticky) #side-panel-trigger {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

#header.sticky-header:not(.static-sticky) #top-cart .top-cart-content,
#header.sticky-header:not(.static-sticky) #primary-menu.sub-title.style-2>div #top-cart .top-cart-content {
    top: 50px;
}

#header~#page-menu.sticky-page-menu #page-menu-wrap,
#header.no-sticky~#page-menu.sticky-page-menu #page-menu-wrap,
#header~#content #page-menu.sticky-page-menu #page-menu-wrap,
#header.no-sticky~#content #page-menu.sticky-page-menu #page-menu-wrap {
    top: 0;
}

#header.show-on-sticky #header-wrap {
    -webkit-transition: background .3s ease-in-out, opacity .3s ease-in-out;
    -o-transition: background .3s ease-in-out, opacity .3s ease-in-out;
    transition: background .3s ease-in-out, opacity .3s ease-in-out;
}

#header.sticky-header.semi-transparent #header-wrap {
    background-color: rgba(39, 46, 64, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#header.dark.transparent-header,
#header.dark.semi-transparent {
    background-color: #272e40 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#slider .emphasis-title h1 {
    font-size: 48px;
}

.hero-action-link {
    margin-left: 25px;
    color: #DDD;
    font-size: 18px;
    font-weight: 300;
}

.hero-action-link i {
    margin-right: 3px;
    position: relative;
    top: 2px;
}

.hero-action-link:hover {
    border-bottom: 2px solid #DDD;
}

.widget.widget_links.app_landing_widget_link li {
    padding-left: 0;
}

.widget.widget_links.app_landing_widget_link li a {
    padding: 0;
    background: transparent;
    color: #AAA;
    font-size: 15px;
}

.widget.widget_links.app_landing_widget_link li a:hover {
    color: #666;
}

.slider-book-img {
    display: inline-block;
    width: 300px;
    margin-bottom: 25px;
    margin-left: 10px;
}

.slider-book-img:first-child {
    margin-left: 0;
}

.move-bg {
    width: auto;
    height: 100%;
    background-size: cover;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-backface-visibility: hidden;
}

.dropcap {
    padding: 15px 20px 0 0;
    font-size: 54px;
}


/* book-wraps */

.book-image {
    display: block;
    position: relative;
}

.book-image img {
    width: 100%;
    max-width: 100%;
    display: block;
}

.book-image:after {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    transition: opacity .3s ease;
    opacity: 0;
}

.book-card {
    position: relative;
    will-change: transform;
    transition: box-shadow .3s ease;
    box-shadow: 0 10px 40px transparent;
}

.book-card.hover-in {
    transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
    transition: transform .2s ease-out, -webkit-transform .2s ease-out;
}

.book-card.hover-out {
    transition: -webkit-transform .2s ease-in;
    transition: transform .2s ease-in;
    transition: transform .2s ease-in, -webkit-transform .2s ease-in;
}

.book-wrap:hover .book-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.book-wrap:hover .book-image:after {
    opacity: 1;
}

.book-wrap:hover .book-title,
.book-wrap:hover .book-subtitle,
.book-wrap:hover .book-category,

/* .book-wrap:hover .book-border, */

.book-wrap:hover .button {
    -webkit-transform: translateY(0) scale(1);
    -ms-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
    opacity: 1;
}

.book-wrap {
    -moz-transform-style: flat !important;
}

.book-detail {
    position: absolute;
    left: 40px;
    right: 40px;
    top: 40px;
    bottom: 40px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    -webkit-transform: translateZ(40px);
    transform: translateZ(40px);
}

.book-title,
.book-subtitle {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    transition: .4s ease;
    opacity: 0;
    -webkit-transform: translateY(40px) scale(0);
    -ms-transform: translateY(40px) scale(0);
    transform: translateY(40px) scale(0);
    will-change: transform;
    color: white;
}

.book-title a {
    color: white;
}

.book-category {
    opacity: 0;
    margin: 0 0 18px;
    font-family: 'Lato';
    transition: .4s ease;
    transition-delay: .1s;
    -webkit-transform: translateY(40px) scale(0);
    -ms-transform: translateY(40px) scale(0);
    transform: translateY(40px) scale(0);
    will-change: transform;
}

.book-category a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3em;
}

.book-wrap .button {
    opacity: 0;
    margin: 0 auto;
    transition: .4s ease !important;
    transition-delay: .15s !important;
    -webkit-transform: translateY(40px) scale(0);
    -ms-transform: translateY(40px) scale(0);
    transform: translateY(40px) scale(0);
    will-change: transform;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio.portfolio-3 {
    margin: 0 -40px -40px -20px;
}

.portfolio-3 .portfolio-item {
    padding: 0 40px 40px 20px;
}


/* testimonial */

.testimonial-full.writer-feedback {
    overflow: visible;
}

.testimonial-full.writer-feedback .testi-content {
    -webkit-backface-visibility: hidden;
}

.testimonial-full.writer-feedback .flex-control-nav li {
    margin: 0 3px;
    width: 12px;
    height: 12px;
}

.testimonial-full.writer-feedback .flex-control-nav li a {
    width: 12px !important;
    height: 12px !important;
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    -o-transform: scale(0.7);
    transform: scale(0.7);
    background-color: #1E232A !important;
}

.testimonial-full.writer-feedback .flex-control-nav li a.flex-active {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.portfolio-single-image h2 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 2px;
}

.book-page-single-desc {
    padding-left: 15px;
}

.book-page-single-desc h3 {
    font-size: 36px;
    font-weight: 400;
}

.book-price {
    display: block;
    margin-bottom: 25px;
    font-size: 34px;
}

.book-page-single-desc p,
.book-page-single-desc li {
    font-size: 17px;
}

.entry-meta {
    margin: 0 auto;
    text-align: center;
}

.entry-meta li {
    float: none;
    display: inline-block;
    font-size: 14px;
    margin: 0 10px;
    font-family: 'Lora', serif !important;
    font-style: italic;
}

.entry-meta li:before {
    content: none;
}

.dark .entry-meta li,
.dark .entry-meta li a,
.dark .entry-meta li i {
    color: #DDD;
}

@media (min-width: 992px) {
    #header.split-menu #logo {
        height: 70px;
    }
    #primary-menu>ul>li>a {
        padding-left: 10px;
        padding-right: 10px;
    }
    #primary-menu ul ul:not(.mega-menu-column) {
        width: 260px;
        padding: 16px;
        border: 1px solid #EEE !important;
        border-radius: 0 0 3px 3px;
        left: -20px;
    }
    #primary-menu ul ul li>a {
        font-size: 15px;
        font-weight: 400;
        text-transform: capitalize;
        padding: 12px 16px;
    }
    #primary-menu ul ul li:hover>a {
        padding-left: 25px;
    }
    .writer-feedback .flexslider:before,
    .writer-feedback .flexslider:after {
        content: '';
        background-image: url('images/others/testi-1.png');
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 100% auto;
        position: absolute;
        width: 120px;
        height: 179px;
        top: 50%;
        margin-top: -90px;
        left: 12%;
        opacity: .4;
    }
    .writer-feedback .flexslider:after {
        background-image: url('images/others/testi-2.png');
        left: auto;
        right: 12%;
    }
    .book-title {
        font-size: 22px;
    }
    .book-subtitle {
        font-size: 16px;
    }
    .portfolio.portfolio-3 {
        margin: 0 -80px -80px -20px;
    }
    .portfolio-3 .portfolio-item {
        padding: 0 80px 80px 20px;
    }
}

@media (min-width: 1200px) {
    #primary-menu>ul>li>a {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.colorkey {
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    padding: 0 6px;
}

.light-green {
    background-color: lightgreen;
}

.red {
    background-color: #F00;
}

.dark-blue {
    background-color: #00008B;
}

.yellow {
    background-color: #FF0;
}

.magenta {
    background-color: #F0F;
}

.turquoise {
    background-color: #40E0D0;
}

.lavender {
    background-color: #b777e5;
}

.brown {
    background-color: #A52A2A;
}

.dark-green {
    background-color: #006400;
}

.media-icon {
    margin: 0 5px 5px 0;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 38px !important;
    color: #555;
    text-shadow: none;
    border: 1px solid #AAA;
    border-radius: 3px;
    overflow: hidden;
}

.media-icon.si-small {
    width: 32px;
    height: 32px;
    font-size: 10px;
    line-height: 0px !important;
    padding: 2px;
}

#content .container.temp {
    min-height: 500px;
}

.homepage .lead {
    font-size: 1rem;
    font-weight: 300;
}

.profile-image {
    width: 100%;
    border-radius: 50% !important;
    padding: 20px;
}

.profile-section {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.profile-text {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media (max-width: 575px) {
    .portfolio .portfolio-item {
        padding-bottom: 20px !important;
    }
    #logo img {
        padding-left: 30px;
    }
}

ul.sqr,
ol.sqr {
    list-style-type: square;
    padding-left: 20px;
}

@media all and (max-width: 900px) {
    .mfp-container {
        overflow-y: auto !important;
    }
    .book-img {
        margin-bottom: 1rem;
    }
}