/*
Theme Name: Salient Child Theme
Theme URI: https://mycroft.ai
Description: Child Theme for Salient
=====================================
Put changes to the Theme in this Child Theme, NOT in the parent Salient Theme, otherwise when the Salient Theme is updated, the Theme files will be overwritten
======================================
Author: Kathy Reid <kathy.reid@mycroft.ai>
Template: salient
Version: 0.1
*/

/* GENERAL STYLES */

.post p {
line-height: 1.5em;
padding-bottom: 15px;
} 

em {
    font-size: 1em;
}

/* ██████ ████ ██ ███ ███ ████ ███ ██ ███████ ████ ████ ██ */
span.redacted {
	background-color: black;
	color: black;
}

/* Use caption styling for Aside elements without overlapping preceding element */
.row .col aside.wp-caption .wp-caption-text {
	top: 0px;
}

.post-tags a {
	line-height: 48px;
	padding: 0.2em 0.4em;
}

/* PRIMARY NAV GROUP SPACING */
#top nav ul li:nth-child(3), #top nav ul li:nth-child(6) {
    margin-right: 2em;
}

/* HOMEPAGE ANNOUNCEMENT BANNER */
#announcement-banner .column_container {
	margin: auto;
}
#announcement-banner .nectar-button {
	margin: 0.4rem 0px;
	left: 50%;
	transform: translate(-50%);
}

/* HOMEPAGE NEWSLETTER BANNER */
.wpb_wrapper >div._form_52 {
	margin-bottom: 0;
}

.wpb_wrapper >div._form_52, div._form_52 >div {
	display: inline-block;
}

.banner_newsletter-signup p {
	padding: 0;
}

.banner_newsletter-signup form {
	margin-top: 0px !important;
	margin: auto;
}

.banner_newsletter-signup label._form-label {
	display: none;
}

.banner_newsletter-signup ._form-content > div, .banner_newsletter-signup ._form-content ._field_wrapper {
	display: inline-block;
}

.banner_newsletter-signup ._form-content > div {
	margin-top: 0px !important;
}

.banner_newsletter-signup ._form_52 input[type="text"] {
	width: 300px !important;
	max-width: 90vw;
	margin: 0.9em;
	background-color: white;
}

._form_52 ._form-content ._button-wrapper {
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
}

#_form_52_submit {
	margin: 5px auto;
	background-color: #22a7f0 !important;
}

.banner_newsletter-signup input[type="text"], #_form_52_submit {
	font-size: 14px;
}

/* BLOG PAGE - FEATURED IMAGE STYLING 

.post-featured-image {
  display: inline-block;
  width:100%;
}

.post-featured-image img {
  height: auto;
  max-width: [width];
  width: 100%;
}

.post-featured-image img {
  height: auto;
  width: 100%;
  max-width: [width];
  margin-right: auto;
  margin-left: auto;
  display: block;
} */

/* BLOG PAGE NAVIGATION BOTTOM */
div#pagination {
    margin: 0 auto;
    text-align: center;
}
html body #pagination >span.page-numbers.current, html body nav.woocommerce-pagination span.page-numbers.current {
    font-size: 1.33em!important;
}
#pagination a.page-numbers, #pagination span.page-numbers {
    font-size: 1.33em!important;
}
html body #pagination >a {
    font-size: 1.33em!important;
}

/* BLOG PAGE META REMOVAL */
#post-area.masonry article.post .post-meta {
    display: none!important;
}
.masonry.classic_enhanced .posts-container article.has-post-thumbnail .meta-category a, .blog-recent[data-style*="classic_enhanced"] .has-post-thumbnail .meta-category a, .blog-recent[data-style*="classic_enhanced"] .meta-category a {
    display: none!important;
}

.nectar-social-sharing-fixed {
	display: none !important;
}

/* TEAM PAGE SOCIAL LINKS */
.team-member ul.social li a {
    font-size: 0.88em!important;
    margin: 0px 8px;
}
.team-member ul.social li:after {
    content: ' . ';
    font-size: 18px!important;
    color: #22a7f0;
}

/* FORM STYLING */
/* Hide honeypot form fields */
.wpforms-field.wpforms-field-hp {
	display: none;
}

.wpforms-confirmation-container-full {
    color: #fff;
    margin: 0 0 24px 0;
    background: #22a7f0;
    border: 0;
    padding: 15px 15px;
}
div.wpforms-container-full .wpforms-form input[type=submit], div.wpforms-container-full .wpforms-form button[type=submit], div.wpforms-container-full .wpforms-form .wpforms-page-button {
    background-color: #eee;
    border: 1px solid #fff;
    color: #fff;
    font-size: 1em;
    padding: 10px 15px;
}
body[data-fancy-form-rcs="1"] .fancy-select-wrap label {
    padding-bottom: 0px;
    font-size: 1em;
    display: inline-block;
    color: #333!important;
}
div.wpforms-container-full .wpforms-form .wpforms-field-label {
    font-family: Nunito;
    color: #fff!important;
    font-weight: bold!important;
    font-size: 1em;
    float: none;
    line-height: 1.3;
    margin: 0;
    padding: 1em 0 1em 0;
}
body[data-fancy-form-rcs="1"] .select2-container, body[data-fancy-form-rcs="1"] .select2-drop, body[data-fancy-form-rcs="1"] .select2-search, .select2-search input {
    font-size: 0.888em;
    margin: 1em;
    padding: 0 0 0 1em;
    border: 1px solid #fff;
    border-radius: 5px;
}
.select2-container .select2-choice>.select2-chosen {
    color: #fff!important;
}
form label, .woocommerce-checkout-review-order-table .product-info .amount, .woocommerce-checkout-review-order-table .product-info .product-quantity, .nectar-progress-bar p, .nectar-progress-bar span strong i, .nectar-progress-bar span strong, .testimonial_slider:not([data-style="minimal"]) blockquote span, .woocommerce-ordering .select2-container--default .select2-selection--single .select2-selection__rendered, .woocommerce-ordering .select2-container .select2-choice>.select2-chosen, .tabbed[data-style="minimal_alt"] > ul li a {
    font-family: Nunito;
    font-weight: normal!important;
}
div.wpforms-container-full, div.wpforms-container-full .wpforms-form * {
    color: #fff!important;
}
body[data-form-style="minimal"] .minimal-form-input label span.text .text-inner {
    color: #333!important;
}
body[data-fancy-form-rcs="1"] input[type='checkbox']+label {
    color: #fff!important;
}
body[data-fancy-form-rcs="1"] input[type='checkbox']:checked+label {
    color: #fff!important;
}
body[data-fancy-form-rcs="1"] input[type='checkbox']+label >span {
    border: 2px solid #fff;
}

/* Minor styling of CLA form */
#wpforms-form-30656 .wpforms-field-container div {
	margin-bottom: 1.4em;
}
label.wpforms-field-sublabel.after {
	font-weight: 500 !important;
}
.wpforms-field-checkbox li {
	list-style: none;
}
.wpforms-sublabel-hide {
	display: none;
}

.mycroft_shop .products .product-wrap, .mycroft_single_product .products .product-wrap {max-height:330px;overflow:hidden;background:#fff;text-align:center;}
.mycroft_shop .products li.product, .mycroft_single_product .products li.product {background:#e0e0e0;border-radius:6px;overflow:hidden;}
.mycroft_shop .products li.product h2.woocommerce-loop-product__title, .mycroft_single_product .products li.product h2.woocommerce-loop-product__title {width: 74% !important; float:left;padding-left:15px;}
.mycroft_shop .products li.product .price, .mycroft_single_product .products li.product .price {text-align:right;margin-top:10px;padding-top:10px;padding-right:15px;margin-bottom:20px !important;}
.shop-banner-product-1 {padding:40px 10% 40px 40px !important;}

.shop-banner-product-1 .vc_custom_heading {margin-bottom:25px !important;font-weight:bold !important;}
.shop-banner-product-1 .shop-banner-product-content {margin-bottom:45px !important;}
.shop-banner-product-1 .shop-banner-product-content p {font-size:20px;}
.mycroft_shop .shop-banner-product-1 .woocommerce-Price-amount {font-size:20px !important;font-weight:bold !important;color:#21A7EF !important;}
.mycroft_shop .shop-banner-product-1 .product_type_simple {padding:15px 25px !important;font-size:20px !important;font-weight:bold !important;margin-left:20px !important;}
.mycroft_shop .container-wrap .row > ul.products {display:none;}

.mycroft_shop .shop-checkout-button-wrap {text-align:center;}
.mycroft_shop .shop-checkout-button-wrap .shop-checkout-btn {background: rgb(33, 167, 239) none repeat scroll 0 0 !important; padding: 15px !important;}


/* Kathy 21 December 2017 - these are overrides for the Ship to a Different Address Checkbox on WooCommerce */ 

label.woocommerce-form__label-for-checkbox.woocommerce-form__label-for-checkbox.checkbox {
	color: black !important;
}
input:checked.woocommerce-form__input.woocommerce-form__input-checkbox.input-checkbox + label {
	color: black !important;
}
input:checked.woocommerce-form__input.woocommerce-form__input-checkbox.input-checkbox + label span {
	color: black !important;
	background-color: black !important;
	border: 2px solid black !important;
}
label.woocommerce-form__label-for-checkbox.woocommerce-form__label-for-checkbox.checkbox span {
	border: 2px solid black !important;
	color: black !important;
}


.shop-checkout-btn.checkout-button.button.alt.wc-forward {
  background-color: #22a7f0!important;
  font-size: 20px!important;
font-weight: bold!important;
margin-left: 20px!important;
 margin-top: 20px;
padding: 15px 25px!important;
text-transform: capitalize!important;
  transition: all 0.2s linear 0s;
}
.shop-checkout-btn.checkout-button.button.alt.wc-forward:hover{
  background-color: #333333!important;
}
.mycroft_shop .page-title {
  display: none;
}

.woocommerce .classic .product-wrap .add_to_cart_button {
 background-image: url("https://mycroft.ai/wp-content/uploads/2017/09/Shopping-Cart-new.png")!important;
}


.button.product_type_simple.add_to_cart_button.ajax_add_to_cart{ background-color: #22a7f0!important;}
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart:hover{
  background-color: #333333!important;
}

/* Gez June 2019 - Hide new author box on all but blog posts */
.main-content .saboxplugin-wrap {
	display: none;
}
.main-content .type-post .saboxplugin-wrap {
	display: block;
	margin-top: 3em;
}

/* Extend width of Mark 2 pre-order quantity */
#product-47454 .woocommerce-variation-add-to-cart .quantity input.qty {
	width: 100px !important;
}


/* Custom tagline on Mark II Prototype Development Kit page */
body.page-id-66430 .row .col.section-title h1 span {
    display: block;
    padding: 0;
    margin-top: 1em;
}

/* Make the description on a product embedded in a page full width */
.woocommerce-page div.product div.summary {
	width: 100%
}

/* Reduce the size of product thumbnails embedded in blog posts */
.single-post .wcopc .attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    max-width: 100px !important;
}

/* Hide broken arrow icons on Media Kit > Leadership images */
.page-id-35830 .team-member[data-style="bio_fullscreen"] .team-meta .arrow-end, .page-id-35830 .team-member[data-style="bio_fullscreen"] .team-meta .arrow-line {
    display: none !important;
}

/* Breezy job listing on /careers */
#breezyPortal .positions-container h1.main-header {
	display: none !important
}