
/* "Fit Vids Style" may have worked at some point, but it doesn't now!
Overriding. */
.fluid-width-video-wrapper iframe, 
.fluid-width-video-wrapper object, 
.fluid-width-video-wrapper embed {
   position: relative !important;
}

.single-mtc_production #main-content h2 {
   margin: 30px 0 10px;
   clear: both;
}

.et_pb_blog_grid .post-content-inner.et_pb_blog_show_content {
   display: flex;
   flex-direction: column;
}

 .mtc-roles-block {
    margin-bottom: 15px;
 }

 .mtc-role-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
 }

 .mtc-role-block .mtc-role-name {
    font-weight: bold;
    margin-right: 10px;
 }

 .mtc-production-block {
    margin-bottom: 15px;
 }

 .mtc-production-block p {
   margin: 0;
 }

.mtc-query-details {
   display: flex;
   flex-wrap: wrap;
   gap: 5px;
}



.mtc-search-form,
.mtc-search-form h2 {
	color: white !important;
}

.mtc-search-form form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mtc-search-form select,
.mtc-search-form input.mtc-input,
.mtc-search-form button,
.mtc-search-form select:focus,
.mtc-search-form input.mtc-input:focus {
	padding: 10px;
	border-radius: 10px;
	background-color: #a1193e;
	color: white;
	font-weight: bold;
	border: 2px solid white;
}

.mtc-search-form input::placeholder {
	color: white;
}

.mtc-search-form button:hover {
	color: #a1193e;
	background-color: white;
	cursor: pointer;
}

.mtc-search-select-container {
	position: relative;
	display: inline-block;
}

.mtc-search-select-options {
    border: 2px solid #fff;
	border-radius: 10px;
	background-color: #a1193e;
    max-height: min(200px, 50vh);
    width: 100%;
    overflow-y: auto;
    position: absolute;
    z-index: 1000;
}

.mtc-search-select-option {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 8px;
    cursor: pointer;
}

.mtc-search-select-option:hover,
.mtc-search-select-option[aria-selected="true"] {
    background: #74102c;
}

.single-mtc_production a,
.single-mtc_production a:hover,
.single-mtc_production a:visited {
	color: #a1193e;
}

/* Move gallery image captions below image */
.single-mtc_production .wp-block-gallery.has-nested-images figure.wp-block-image figcaption, 
.single-mtc_production .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
  position: relative;
   top: -1px;
  background: #a1193e;
  text-shadow: none;
  font-weight: bold;
}