/**
 * All of the CSS for your public-facing functionality should be included in this file.
 *
 * The file is enqueued from src/frontend/class-assets.php.
 */
p.tricorn-shortcode-error {
	border-left: 4px solid #dc3232; /* same red as admin Error notice */
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
	margin: 15px;
	padding: 5px 12px;
	font-style: italic;
}

.section.is-medium {
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}

/* Responsive video container */
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wp-video,
video.wp-video-shortcode,
.mejs-container,
.mejs-overlay.load {
	width: 100% !important;
	height: 100% !important;
}

.mejs-container {
	padding-top: 56.25%;
}

.wp-video,
video.wp-video-shortcode {
	max-width: 100% !important;
}

video.wp-video-shortcode {
	position: relative;
}

.mejs-mediaelement {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.mejs-controls {
	display: none;
}

.mejs-overlay-play {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto !important;
	height: auto !important;
}

/* Reverse column order */
.columns.is-reversed {
	flex-direction: row-reverse;
}

.image.is-aligned-centre {
	margin-left: auto;
	margin-right: auto;
}

.image.is-aligned-right {
	margin-left: auto;
}

.image.has-width-75 {
	max-width: 75%;
}

.image.has-width-50 {
	max-width: 50%;
}

.image.has-width-25 {
	max-width: 25%;
}