/* Paragraph - add some spacing between paragraphs kp */
.course .entry-content p, .course .entry-content h2, .course .entry-content h3, .course .entry-content h4, .course .entry-content h5, .course .entry-content ul, .single-lesson .entry-content p, .single-lesson .entry-content h2, .single-lesson .entry-content h3, .single-lesson .entry-content h4, .single-lesson .entry-content h5, .single-lesson .entry-content ul {
    margin-top: 20px;
}

/* Hide course author */
span.course-author {
    display: none;
}

/* Hide menu mini-cart */
@media only screen and (min-width: 560px) {
  .main-navigation > div.woocommerce-menu-container {
    display: none;
  }
}

body[class*="woocommerce"] #page .main-navigation #toggle-cart {
	display: none;
}

/* Right align cart table totals */
.cart_totals .shop_table td {
    text-align: right;
}

/* Hide breadcrumb on product page */
nav.woocommerce-breadcrumb {
    display: none;
}

/* Make checkout full-width */
.woocommerce-checkout .col2-set .col-1 {
    width: 100%;
}

/* ZIP code to new line */
p#billing_postcode_field {
    clear: both;
}

/* Increase spacing between privacy and terms in payment box */
.woocommerce-checkout p.form-row.validate-required {
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper p {
    font-size: 1rem;
}

/* Checkout field design */

.woocommerce-additional-fields h3 {
    margin-bottom: 16px;
}

.woocommerce form .form-row {
    margin: 0 0 15px 0;
}

.woocommerce-checkout fieldset {
	border: none;
}

/* Remove border from order details on confirmation page */
body[class*="woocommerce"] #page .woocommerce-order-overview.order_details li strong {
	font-size: 1rem;
}

body[class*="woocommerce"] #page .woocommerce-order-overview.order_details,
body[class*="woocommerce"] #page .woocommerce-order-overview.order_details li:not(:last-child) {
	border: none;
}

/* Hide comma in site credit */
.site-footer span.comma {
	display: none;
}

/* Hide WooCommerce policy link */
.site-footer a.privacy-policy-link {
    display: none;
}

/* Increase whitespace between footer widgets */
@media only screen and (min-width: 560px) {
	.site-footer #footer-widgets {
		width: 70%;
	}

	.site-footer .widget-area {
    	margin-left: 20px;
    	margin-right: 20px;	
    }

}

/* Hide course product thumbnail on courses archive page */
.course-container img.woo-image.thumbnail.alignleft.wp-post-image {
    display: none;
}

/* Hide course price on courses archive page */
.course-products {
    display: none;
}

/* Remove bottom border of courses on archive page */
.course-container {
	border: none;
}

/* Hide All/Featured courses filter */
.sensei-course-filters {
	display: none;
}

/* Add hover effect to image links */
.wp-block-image a img:hover {
    opacity: 0.8;
}

/* Increase form field width */
.wp-block-jetpack-contact-form form {
    width: 100%;
}

/* WooCommerce Buttons */
body[class*="woocommerce"] #page button.button, 
body[class*="woocommerce"] #page button.button.alt, 
body[class*="woocommerce"] #page .cart .button {
    background-color: #043959;
}

/* Stratford theme secondary color */
 
a:hover,
.wp-block-button.is-style-outline .wp-block-button__link,
.a8c-posts-list__item .a8c-posts-list-item__meta a:hover,
.a8c-posts-list__item .a8c-posts-list-item__meta a:active,
.site-title,
.main-navigation a:hover,
.social-navigation a:hover,
.site-info a:hover,
.footer-navigation .footer-menu a:hover,
.entry-meta a:hover,
.entry-meta a:active,
.entry-footer a:hover,
.entry-footer a:active,
.comment-meta .comment-metadata a:hover,
.comment-meta .comment-metadata a:active,
#masthead .site-header-wrapper .main-navigation ul li a:after,
.wp-block-newspack-blocks-homepage-articles article .entry-title a:active, 
.wp-block-newspack-blocks-homepage-articles article .entry-title a:focus, 
.wp-block-newspack-blocks-homepage-articles article .entry-title a:hover {
    color: #043959
}
 
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
    border-color: #043959
}
 
button,
.button,
input[type=submit],
.wp-block-button__link,
.wp-block-file__button,
.a8c-posts-list__view-all,
.wp-block-file .wp-block-file__button,
.main-navigation #toggle:focus+#toggle-menu {
    background-color: #043959;
}
 
.has-secondary-color[class] {
    color: #043959 !important;
}
 
.has-secondary-background-color[class] {
    background-color: #043959 !important;
}
 
#masthead .site-header-wrapper .main-navigation>ul>li.current-menu-item a,
#masthead .site-header-wrapper .main-navigation ul li.current-menu-item>a {
    border-color: #043959;
    color: #043959
}

/* End Stratford color styles */

/* WooCommerce color styles */

body[class*="woocommerce"] #page #respond input#submit, body[class*="woocommerce"] #page #respond input#submit.alt, body[class*="woocommerce"] #page a.button, body[class*="woocommerce"] #page a.button.alt, body[class*="woocommerce"] #page button.button, body[class*="woocommerce"] #page button.button.alt, body[class*="woocommerce"] #page input.button, body[class*="woocommerce"] #page input.button.alt, body[class*="woocommerce"] #page .cart .button, body[class*="woocommerce"] #page .cart input.button, body[class*="woocommerce"] #page a.added_to_cart, body[class*="woocommerce"] #page .woocommerce #respond input#submit, body[class*="woocommerce"] #page .woocommerce a.button, body[class*="woocommerce"] #page .woocommerce button.button, body[class*="woocommerce"] #page .woocommerce input.button, body[class*="woocommerce"] #page .woocommerce .widget_shopping_cart .buttons a, body[class*="woocommerce"] #page .woocommerce.widget_shopping_cart .buttons a {
	background-color: #117AC9;
}

body[class*="woocommerce"] #page .woocommerce-message, body[class*="woocommerce"] #page .woocommerce-info {
	border-top-color: #117AC9;
}

body[class*="woocommerce"] #page .woocommerce-message:before, body[class*="woocommerce"] #page .woocommerce-info:before {
	color: #117AC9;
}

/* End WooCommerce color styles */

/* Un-sticky header, remove extra space above main content column / kp */
@media screen and ( min-width: 560px ) {
  .site-header {
    position: relative;
  }
	.content-area {
    margin-top: 0 !important;
  }
}

/* Logo size - keep sharp at any screen size / kp */
@media screen and ( min-width: 180px ) {
  .custom-logo {
    max-width: 180px !important;
		padding-top: 3px
  }
}

/* Courses link in My Account */
li.account-courses a .fa-book {
	color: #D52C82;
}

li.account-courses a:hover {
	opacity: 0.8;
}

.tgwc-woocommerce-MyAccount-navigation-wrap li.is-active a,
.tgwc-woocommerce-MyAccount-navigation-wrap li:hover a {
  text-decoration:underline;
	color: #D52C82;
}

/* Hide "dashboard" link in My Account */
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard.tab_selected.is-active.tgwc-endpoint.tgwc-navicon-right {
    display: none;
}

/* Hide "View Results" button from learner's course */
a.button.view-results,
a.view-results {
    display: none;
}

/* Calendar/Events styling */
.tribe-events-header__events-bar.tribe-events-c-events-bar.tribe-events-c-events-bar--border {
    display: none;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-header {
    margin-top: 20px;
}

.tribe-block__events-link .tribe-block__btn--link a {
	color: #117AC9;
}

.tribe-block__events-link .tribe-block__btn--link a:hover {
	color: #043959;
}

/* Subscribe button on homepage */
.subscribe-button button:hover {
	opacity: 0.8;
}

/* Remove content before single event description */
.single-tribe_events .tribe-events-before-html {
    display: none;
}

/* Start course button */
a.start-course-button,
a.start-course-button:link,
a.start-course-button:visited {
  margin: 10px 30px;
  padding: 10px 20px;
  background-color: #D52C82;
  color: #ffffff;
  border-radius: 20px;
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none;
}

a.start-course-button:hover {
	opacity: 0.8;
}

.sensei-course-meta {
    margin-top: 10px;
}

/* Course progress meter */
.meter.red>span {
    background: #D52C82;
}


/* Embeds & video blocks - add more space above / kp */
.wp-block-embed,
.wp-block-video {
   margin-top: 1em;
}

/* Comments - blockquote styling / kp */
.comment-content blockquote p {
  font-size: 1.2em;
  border-left: 5px solid #1079C8;
  padding-left: 10px;
}

/* Links / kp */
.entry-content p a,
.entry-content ul a,
.entry-content ol a,
.entry-content blockquote a,
.wp-block-embed.is-type-link a {
  color: #1079C8;
	text-decoration: underline;
}
.wp-block-embed__wrapper a:hover {
	text-decoration: none;
}

/* Post navigation / kp */
nav.post-entries {
  border-top: 1px solid #eeeeee;
  padding-top: 10px;
}

/* Transcript toggle / kp */
summary {
  font-size: 24px;
  font-weight: bold;
  color: #1079C8;
  cursor: pointer;
}

/* Links in WooCommerce messages / kp */
.woocommerce-message a {
  color: #117AC9;
  text-decoration: underline;
}
.woocommerce-message a:hover {
  color: #0c548a;
  text-decoration: none;
}

/* Lesson titles - add module number & name / kp */
.single-lesson .entry-title::before {
  display: block;
  font-size: 22px;
  text-transform: uppercase;
  color: #1079C8;
}
/* Podcasting Lessons kp */
.single-lesson .module-podcasting-module-1-the-foundation .entry-title::before {
  content: "The Foundation";
}
.single-lesson .module-podcasting-module-2-recording-editing-and-conducting-interviews .entry-title::before {
  content: "Recording, Editing, and Conducting Interviews";
}
.single-lesson  .module-podcasting-module-3-configuring-your-site-and-submitting-your-podcast-to-directories .entry-title::before {
  content: "Configuring Your Site and Submitting Your Podcast to Directories";
}
.single-lesson .module-podcasting-module-4-growing-your-audience-and-building-community .entry-title::before {
  content: "Growing Your Audience and Building Community";
}
.single-lesson .module-podcasting-module-5-making-money-with-your-podcast .entry-title::before {
  content: "Making Money With Your Podcast ";
}
/* Blogging Lessons kp */
.single-lesson .module-blogging-module-1-foundations .entry-title::before {
  content: "Foundations";
}
.single-lesson  .module-blogging-module-2-getting-started .entry-title::before {
  content: "Getting Started";
}
.single-lesson  .module-blogging-module-3-building-your-blog .entry-title::before {
  content: "Building Your Blog";
}
.single-lesson  .module-blogging-module-4-understanding-audiences .entry-title::before {
  content: "Understanding Audiences";
}
.single-lesson  .module-blogging-module-5-designing-your-blog .entry-title::before {
  content: "Designing Your Blog";
}
.single-lesson  .module-blogging-module-6-writing-for-the-internet .entry-title::before {
  content: "Writing for the Internet";
}
.single-lesson .module-blogging-module-7-grow-your-blog .entry-title::before {
  content: "Grow Your Blog";
}
.single-lesson .module-blogging-module-8-earning-money-with-your-blog .entry-title::before {
  content: "Earning Money with Your Blog ";
}