/*
Theme Name:         OpenEdX
Description:        Custom theme for OpenEdX based on FoundationPress by http://olefredrik.com/
Version:            0.0.2
Author:             ScratchMM
Author URI:         http://olefredrik.com/
*/

/* ----------------------------------------------------------------------------

  Unfortunately WordPress will require a style.css file
  located in the theme's root folder for stuff to work.

  However, we will not be using vanilla CSS. We're using Sass.

  Sass is a superset of CSS that adds in amazing features
  such as variables, nested selectors and loops. It's also
  the easiest way to customize Foundation.

  All Sass files are located in the /assets/scss folder.
  Please note that none of your scss files will be compiled to /stylesheets/foundation.css before you run
  'npm run watch' or 'npm run build'.

  Please read the README.md file before getting started. More info on how
  to use Sass with Foundation can be found here:
  http://foundation.zurb.com/docs/sass.html

  If you for some reason would like to write plain css instead of using Sass,
  you could just enqueue this file (style.css) to the header and add your styles in this file

---------------------------------------------------------------------------- */

/* Overrides styles set in /dist/assets/css/app.css - not found in Git. */
@media print, screen and (min-width:64em) {
	.header-full {
		max-height: 50vh;
		min-height: 40vh;
	}
}

.header-default div.wp-block-kadence-column:last-of-type, .header-full div.wp-block-kadence-column:last-of-type {
	padding-top: 10px; /* Reduced from 80px */
}

/* Overrides default WordPress styles from Block editor that shouldn't be applied in header. */
.wp-block-kadence-rowlayout .wp-block-image {
	margin-bottom: 0;
}

/* Overrides purple gradient tint over blog images. */
.card-blog .card-img .card-img-tint::before {
	display: none;
}

.single .marketplace .card-logo {
	width: 250px;
	max-width: 40%;
}

/* Override H2 styles with H6 styles for sidebar */
aside h2 {
	font-size: 1.33333rem;
	line-height: 1.4;
	margin-top: 0;
	margin-bottom: .83333rem;
	font-weight: 300;
}


.comment-body:after {
	content: '';
	displaY: block;
	clear: both;
}

.comment .comment-meta {
	border-top: 0;
}

.comment .comment-author {
	padding: 20px;
	margin-right: 20px;
	float: left;
	width: 120px;
	text-align: center;
	background: #f6f6f6;
}

.comment .comment-author .fn {
	font-size: .8em;
	font-weight: 600;
	display: block;
}

.comment-reply-title {
	font-size: 1.4rem;
}

.discourse-participants {
	font-weight: 500;
	font-size: 1.2rem;
	border-bottom: 1px solid #b8266980;
}

.comment-content .emoji {
	max-width: 1.25em;
}

li.comment {
	list-style-type: none;
	margin-bottom: .5em;
}

ol.comment-list {
	margin: 0;
}

