/*
Theme Name: Windhorse Custom Divi Theme
Description: A child theme which modifies the Divi parent theme by Elegant Themes.
Author:   Akasapriya www.akasapriya.org
Template: Divi
*/
/*
windhorse colours:
blue is #74c2e1
grey is
*/

/* divi fixes */
html {
    background-color: #ccc;
}

body {
    font-family: "nudista-web","sans-serif";
    font-weight: 400;
    font-style: normal;
}

p,ul {
    font-family: "ff-tisa-web-pro","serif";
    font-weight: 400;
    font-style: normal;
}

#top-menu li {
    font-family: "nudista-web","sans-serif";
}

div.wp_home_page_image h2 {
    font-size: 36px;
    padding: 50px 0 100px;
    font-weight: 600;
}

/* add-on area for SCW */

div.product-addon.product-addon-have-you-bought-a-complete-works-volume-before-subscribing {
	padding: 10px;
	border: 1px solid #ccc;
	margin-bottom: 35px;
	background-color: #eee;
}

h3.addon-name {
	font-size:18px
}

div.product-addon.product-addon-have-you-bought-a-complete-works-volume-before-subscribing label {
	font-style: italic;
}

/* remove sidebar in products because of bug in divi */
body.single-product #sidebar {
    display: none;
}

body.single-product #left-area {
    padding-right: 0;
    width: 100% !important;
}

body.single-product #main-content .container::before {
    background-color: transparent;
}

body.category-news #left-area {
    width: 77.25% !important;
    padding-right: 20px;
    float: left;
}

body.category-news #sidebar {
    width: 22.75% !important;
    padding-left: 30px;
    float: left;
}

body.category-news div#main-content .container:before {
/* not working */
	position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #e2e2e2;
    content: "";
}

.et_pb_post .entry-content {
    padding-top: 10px;
}

.woocommerce-password-hint {
	display: none;
}

/* home page */
/* images are 456 x 304 */
#home-box-1 {
/* themes */
    background-image: url(https://www.windhorsepublications.com/wp-content/uploads/2016/03/metaphors-home-page-crop2-smaller.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
	max-height: 213px;
}

#home-box-2 {
/* support us */
    background-image: url(https://www.windhorsepublications.com/wp-content/uploads/2015/12/Birds-600x400.jpg);
    background-size: cover;
    background-repeat: no-repeat;
	max-height: 213px;
}

#home-box-3 {
/* new books */
    background-image: url(https://www.windhorsepublications.com/wp-content/uploads/2015/10/bows-600x400.jpg);
    background-size: cover;
    background-repeat: no-repeat;
	max-height: 213px;
}

#home-box-4 {
/* our authors */
    background-image: url(https://www.windhorsepublications.com/wp-content/uploads/2015/10/harmony-600-x-400.jpg);
    background-size: cover;
    background-repeat: no-repeat;
	max-height: 213px;
}

#home-box-5 {
/* news */
    background-image: url(https://www.windhorsepublications.com/wp-content/uploads/2015/12/Angelico-600x400.jpg);
    background-size: cover;
    background-repeat: no-repeat;
	max-height: 213px;
}

#home-box-6 {
/* about us */
    background-image: url(https://www.windhorsepublications.com/wp-content/uploads/2015/12/analayo-sky-600x400.jpg);
    background-size: cover;
    background-repeat: no-repeat;
	max-height: 213px;
}

#home-box-7 {
/* complete works */
    background-image: url(https://www.windhorsepublications.com/wp-content/uploads/2018/04/milarepa600x400.jpg);
    background-size: cover;
    background-repeat: no-repeat;
	max-height: 213px;
}

#home-box-7 h2 {
	font-size: 30px;
	padding: 30px 0 30px;
}

h1.entry-title {
    margin-top: 10px;
}

.mc4wp-checkbox {
    margin: 10px 0 15px;
}

.product .summary .woocommerce .woocommerce-info {
    background-color: #f7f6f7;
    color: #515151 !important;
}

div#wc_checkout_add_ons {
    margin-bottom: 15px;
}

#wc_checkout_add_ons label {
    font-weight: 700;
}

#logo {
    max-height: 75% !important;
}

#main-content .container {
    padding-top: 20px;
}

#et-top-navigation .et-cart-info {
    margin-top: -1px;
}

#top-header {
    padding: 3px 0 1px;
}

#footer-bottom a {
    color: #666 !important;
}

#et-secondary-menu .et-social-icons {
    margin: 8px 40px 0 0;
}

#et-secondary-menu .et-social-icons li {
    margin-left: 18px;
}

.sharedaddy {
    margin-top: 20px;
}

ul.woocommerce-error {
    background: #b81c23 !important;
}

input#submit {
/* this is ignored because overriden by inline styles */
    background: #fff !important;
}

.embed-vimeo {
    max-width: 600px;
}

/* bundles */
.wp_home_page_image {
    margin-bottom: 25px !important;
}

.bundle_price {
    margin-bottom: 22px;
}

p.price {
    margin-bottom: 20px;
}

.bundled_item_cart_details p.price {
    margin-bottom: 0;
    padding-bottom: 10px;
}

.bundled_item_cart_details p.stock {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* coupon code input on cart page */
#coupon_code {
    width: 12em !important;
}

/* top menu */
#et-top-navigation {
    font-weight: 500;
}

.social-icons-top li {
    font-size: 16px;
/*	margin-left: 20px !important;*/
}

/* Portfolio + Shop Overlay */
.et_overlay {
    border: none;
    background: rgba(255,255,255,0.5);
}

.et_overlay:before {
    content: "";
}

.wp-author a:hover {
    text-decoration: underline;
}

.woocommerce-product-gallery > ol {
/* this hides all thumbs */
	display: none !important;
}

.see-inside-badge {
    margin: 0 0 0 100px;
    font-size: 18px;
    color: #1d9cf2;
}

form.wp-search-form {
    color: #fff;
    padding: 0 0 10px;
    float: right;
}

.wp-search-form input {
    font-size: 14px;
    width: 225px;
    border: 1px solid #aaa;
    padding: 3px 5px;
    font-family: "nudista-web","sans-serif";
}

.wp-add-ons {
    width: 48%;
}

.facetwp-sort {
    margin-bottom: 20px;
}

.facetwp-type-checkboxes {
    max-height: 2000px !important;
}

#mc4wp-form-1 {
/* mailchimp sign-up form */
    width: 30em;
}

.et_section_regular {
    padding: 15px 0;
}

.et_pb_fullwidth_section {
    padding: 0;
}

#wp-get-newsletter {
    margin-left: 1em;
    white-space: nowrap;
}

.et_pb_fullwidth_header {
    padding: 5px 0;
    background-color: #74c2e1 !important;
}

.et_pb_fullwidth_header h1 {
    font-size: 24px;
}

/* icomoon icon for tbc logo */
@font-face {
    font-family: 'icomoon';
    src: url(fonts/icomoon.eot?upex6t);
    src: url(fonts/icomoon.eot?upex6t#iefix) format("embedded-opentype"),url(fonts/icomoon.ttf?upex6t) format("truetype"),url(fonts/icomoon.woff?upex6t) format("woff"),url(fonts/icomoon.svg?upex6t#icomoon) format("svg");
    font-weight: 400;
    font-style: normal;
}

[class^="icon-"],[class*=" icon-"] {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
/* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* all icon fonts set up at bottom */
body {
    letter-spacing: 0 !important;
    font-size: 16px !important;
}

#footer-bottom {
    background-color: #fff;
    font-size: 14px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #aaa;
}

#footer-bottom ul a {
    color: #aaa;
}

h1,h2,h3,h4,h5,h6 {
    padding-bottom: .75em !important;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

#wp_search_tagline {
    clear: both;
}

#et-info {
    font-size: 14px;
}

#et-secondary-menu {
    font-size: 14px;
}

.et_fixed_nav #logo {
    max-height: 60px;
}

#top-menu li {
    font-size: 16px;
}

.et_pb_slider,.et_pb_slider .et_pb_container {
    height: 600px !important;
}

.et_pb_slider,.et_pb_slider .et_pb_slide {
    max-height: 600px;
}

.et_pb_slider .et_pb_slide_description {
    position: relative;
    top: 7%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}

.et_pb_row {
    padding-top: 20px !important;
}

#main-header .description {
    clear: left;
    color: #666;
    font-style: italic;
    font-size: 18px;
    padding-left: 100px;
}

.sd-content ul li a.sd-button:before {
    font-size: 18px !important;
    color: #999;
}

.sd-content ul li a {
    background-color: #fff !important;
}

.bottom-nav a {
    color: #333;
}

.woocommerce a.button {
    font-size: 15px !important;
    font-weight: 400 !important;
    padding: 10px 13px 11px !important;
}

.woocommerce .quantity input.qty {
    border: 1px solid #b8c5c6 !important;
    background-color: #fff !important;
    color: #666 !important;
    font-size: 1em !important;
    padding: 0 !important;
}

.product img {
    max-width: 300px !important;
}

mark {
    font-weight: 700;
    background-color: #fff;
}

mark.count {
/* TODO need to remove this category count from template later */
    display: none;
}

.woocommerce table.my_account_orders {
    font-size: 1em !important;
}

.generated_coupon_data_wrapper {
    padding-bottom: 1em;
}

.woocommerce #content table.cart td.actions .input-text,.woocommerce table.cart td.actions .input-text,.woocommerce-page #content table.cart td.actions .input-text,.woocommerce-page table.cart td.actions .input-text {
    width: 120px !important;
}

.woocommerce div.product p.price {
    color: #666 !important;
}

h3.author {
    color: #74c2e1 !important;
}

.term-description {
    float: right;
}

p.woocommerce-result-count {
    margin-top: 1em;
}

.woocommerce .images {
    width: 50%;
    float: left;
}

.woocommerce .term-description {
    width: 50%;
    display: inline;
}

p.woocommerce-result-count {
    padding-top: 20px;
    clear: both;
}

form.woocommerce-ordering select.orderby {
    margin-top: 20px;
}

/* social media */
.et-social-pinterest a:before {
    content: '\e095';
}

.et-social-instagram a:before {
    content: "\e09a";
}

.et-social-vimeo a:before {
    content: '\e09c';
}

.et-social-issuu a:before {
    font-family: 'icomoon' !important;
    content: '\e900';
}

.et-social-soundcloud a:before {
    font-family: 'icomoon' !important;
    content: '\eac3';
}

.et-social-thebuddhistcentre a:before {
    font-family: 'icomoon' !important;
    content: '\e901';
}

td.value {
    max-width: 200px !important;
}

#top-menu-nav {
    padding: 8px 15px 0 0;
}

table.woocommerce-MyAccount-downloads {
	margin: 30px 0 !important;
}

input.woocommerce_subscription_gifting_checkbox {
	margin-bottom: 20px;
}

.jp-total-time, .jp-play-time {
	font-size: 14px !important;
}

.wp_sponsor_box, .wp_feature_box {
	border: 1px solid rgba(0, 0, 0, .1);
	padding: 15px;
	margin-bottom: 2em;
}
.woocommerce-order-received .wp_sponsor_box {
    margin-bottom: 2em;
}
.wp_feature_box {
    border: 2px solid #98c6e2;
}

@media only screen and (min-width : 320px) and (max-width : 374px) {
    img#logo {
        max-height: 25% !important;
    }

    #et-top-navigation .et-cart-info {
        font-size: 12px;
    }

    #et-top-navigation {
        padding-left: 120px !important;
    }

    #top-menu-nav {
        padding: 8px 10px 0 0;
    }
}

@media only screen and (min-width : 375px) and (max-width : 455px) {
	div.wp_home_page_image h2 {
	    font-size: 28px;
	}
    img#logo {
        max-height: 35% !important;
    }

    #et-top-navigation .et-cart-info {
        font-size: 14px;
    }

    #et-top-navigation {
        padding-left: 150px !important;
    }
}

@media only screen and (min-width : 901px) and (max-width : 1060px) {
	div.wp_home_page_image h2 {
	    font-size: 28px;
	}

    img#logo {
        max-height: 40% !important;
    }

    #top-menu li {
        padding-right: 10px;
        font-size: 14px;
    }

    #et-top-navigation .et-cart-info {
        font-size: 14px;
    }
}

@media only screen and (min-width : 1001px) and (max-width : 1100px) {
    img#logo {
        max-height: 40% !important;
    }

    #et-top-navigation {
        padding-left: 150px !important;
    }
}

@media only screen and (max-width : 767px) {
    .et_pb_slide_image img {
        max-height: 200px !important;
    }
    .et_pb_slide_image {
        display: block !important;
        margin-top: 0;
        margin-bottom: 1em;
    }
}
