.ou-justedit-region {
	/*background-color: #FFFFFF !important;*/
	/*color: #000000 !important;*/
	padding: 15px;
	width: 98%;
}

/* Fix issue with bootstrap buttons in WYSIWYG */
.ou-justedit-region .btn {
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}

.ou-justedit-region table {
	width: 100%;
	table-layout: fixed;
}

.ou-justedit-region table[class^="ou-"] {
	width: 100%;
	cursor: default;
	margin: 32px 0 !important;
}

.ou-justedit-region table[class^="ou-"] td {
	position: relative !important;
}

.ou-justedit-region table[class^="ou-"] img:not(.mce-object-iframe) {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.ou-justedit-region table[class^="ou-"] img[data-mce-object='video']:not(.mce-object-iframe) {
	min-width: 50px;
}

.ou-justedit-region table[class^="ou-"],
.ou-justedit-region .mce-item-table,
.ou-justedit-region .mce-item-table td,
.ou-justedit-region .mce-item-table th,
.ou-justedit-region .mce-item-table caption {
	border-collapse: separate;
	border-spacing: 0px;
	border: 1px solid #d2d2d2;
	box-sizing: border-box;
}

.ou-justedit-region table[class^="ou-"] thead tr th,
.ou-justedit-region table[class^="ou-"] tbody tr th,
.ou-justedit-region table[class^="ou-"] caption,
.ou-justedit-region table[class^="ou-"] thead tr td {
	font-weight: 800;
}

.ou-justedit-region table[class^="ou-"] thead tr th,
.ou-justedit-region table[class^="ou-"] tbody tr th,
.ou-justedit-region table[class^="ou-"] caption,
.ou-justedit-region table[class^="ou-"] thead tr td,
.ou-justedit-region table[class^="ou-"] tbody tr td {
	color: #000;
	font-size: 14px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 5px;
	padding-right: 5px;
	vertical-align: top;
}

.ou-justedit-region table[class^="ou-"] thead tr th,
.ou-justedit-region table[class^="ou-"] tbody tr th,
.ou-justedit-region table[class^="ou-"] caption {
	background: none repeat scroll 0 0 #f0f0f0;
	color: #333;
	font-weight: 600;
	font-size: 14px;
}

.ou-justedit-region table[class^="ou-"] caption {
	font-size: 18px;
	text-align: center;
	background-image: linear-gradient(to bottom, #f9f9f9, #d3d3d3);
	margin: 0px;
	border-bottom: 0;
	caption-side: top;
}

.ou-justedit-region table.ou-[data-gallery-type="slick"] tr[data-gallery-type="fancybox"],
.ou-justedit-region table.ou-[data-gallery-type="fancybox"] tr[data-gallery-type="slick"] {
	display: none;
}

/********************
* Component Preview Helper Styles
***/

div.ou-je-component [data-ouc-test=''] {
	display: none;
}

div.ou-je-component [data-ouc-not]:not([data-ouc-not='']) {
	display: none;
}

div.ou-je-component [data-ouc-justedit]::before {
	display: block;
	width: 100%;
	font-weight: bold;
	padding: 5px 15px;
	margin-bottom: 10px;
	border: 1px solid #bce8f1;
	color: #31708f;
	background-color: #d9edf7;
	content: 'The content you see in the editor is a sample render intended for WYSIWYG preview only. Once you save the page, you will see the actual rendered element.';
}

div.ou-je-component [data-ouc-left='right'],
div.ou-je-component [data-ouc-right='left'] {
	display: none !important;
}

/***
* /Component Preview Helper Styles
********************/

/********************************
* START Table Input Hint Styling
********************************/

/* Generic table "tool-tip/alert" info styling */
.ou-justedit-region table[class^="ou-"] th:before,
.ou-justedit-region table[class^="ou-"] td:before,
.ou-justedit-region table[class^="ou-"] caption:before,
.ou-justedit-region table[class^="ou-"]:before {
	display: block;
	padding: 5px 15px;
	margin-bottom: 10px;
	border: 1px solid transparent;
	border-radius: 4px;
	color: #31708f;
	background-color: #d9edf7;
	border-color: #bce8f1;
}

/********************************
* END Table Input Hint Styling
********************************/

/* default helper text for different content type */
table[data-snippet^='ou-'] thead th { text-align: center }
table[data-snippet^='ou-'] > tbody > tr > td::before { content: "Enter text. All styling will be stripped." }
table[data-snippet^='ou-'] td[data-type='wysiwyg']::before { content: "Enter content freely using the WYSIWYG toolbar." }
table[data-snippet^='ou-'] td[data-type='feature-heading']::before { content: "Enter feature heading text." }
table[data-snippet^='ou-'] td[data-type='item-heading']::before { content: "Enter item heading text." }
table[data-snippet^='ou-'] td[data-type='text-link']::before { content: "Enter text. Optionally, make it a link." }
table[data-snippet^='ou-'] td[data-type='link']::before { content: "Insert a link using the WYSIWYG toolbar. The system only reads the first link inside this cell." }
table[data-snippet^='ou-'] td[data-type='links']::before { content: "Insert multiple links using the WYSIWYG toolbar. The system only reads links inside this cell." }
table[data-snippet^='ou-'] td[data-type='list']::before { content: "Insert multiple links using the WYSIWYG toolbar. The system only reads links inside this cell." }
table[data-snippet^='ou-'] td[data-type='image-link']::before { content: "Insert an image using the WYSIWYG toolbar. Optionally, make it a link. The system only reads the first image inside this cell." }
table[data-snippet^='ou-'] td[data-type='image']::before { content: "Insert an image using the WYSIWYG toolbar. The system only reads the first image inside this cell." }
table[data-snippet^='ou-'] td[data-type='images']::before { content: "Insert multiple images using the WYSIWYG toolbar. The system only reads images inside this cell." }
table[data-snippet^='ou-'] td[data-type='number']::before { content: "Enter a number. This field must be a number." }
table[data-snippet^='ou-'] td[data-type='list']::before { content: "Enter a list using the WYSIWYG. The system only reads list items inside this cell." }
table[data-snippet^='ou-'] td[data-type='snippet']::before { content: "Insert a specific snippet. Please refer to the documentation to see which snippets are supported." }
table[data-snippet^='ou-'] td[data-type='snippets']::before { content: "Insert one or more snippets. Please refer to the documentation to see which snippets are supported." }
table[data-snippet^='ou-'] td[data-type='iframe']::before { content: "Insert a video using the WYSIWYG. The system only reads the first video inside this cell." }
table[data-snippet^='ou-'] td[data-type='asset']::before { content: "Insert an asset. This cell only reads the first asset." }
table[data-snippet^='ou-'] td[data-type='asset'][data-asset='gallery']::before { content: "Insert a gallery asset. This cell only reads the first gallery asset." }
table[data-snippet^='ou-'] td[data-select-list]::before { content: "This is a multiple-choice cell. Click on the cell to view your list of options." }
table[data-snippet^='ou-'] td[data-type='element'][data-elements='table']::before { content: "Insert a table using the WYSIWYG toolbar. This cell only supports 1 table."; }
table[data-snippet^='ou-'] td[data-name='feed-parser-config']::before { content: "Please link to a simplified feed parsing configuration file." }

table[data-snippet^='ou-'] td[data-type='video']::before { content: "Insert an video using the WYSIWYG toolbar." }

table[data-snippet^='ou-'] { counter-reset: items }
table[data-snippet^='ou-'] > tbody > tr[data-name="item"] { counter-increment: items }
table[data-snippet='ou-accordion'] > tbody > tr[data-name="item"] > td[data-name="heading"]::before { content: 'Panel ' counter(items) ' — All styling is stripped.' }
table[data-snippet='ou-tabs'] > tbody > tr[data-name="item"] > td[data-name="heading"]::before { content: 'Tab ' counter(items) ' — All styling is stripped.' }

table[data-snippet^='ou-'] td[data-name='intro-content'][data-type='wysiwyg']::before { content: "Enter intro content freely using the WYSIWYG toolbar." }
table[data-snippet^='ou-'] td[data-name='section-heading'][data-type='text']::before { content: "Enter section heading text. All styling will be stripped." }
table[data-snippet^='ou-'] td[data-name='introduction'][data-type='wysiwyg']::before { content: "Enter intro content freely using the WYSIWYG toolbar." }
table[data-snippet^='ou-'] td[data-name='intro'][data-type='wysiwyg']::before { content: "Enter intro content freely using the WYSIWYG toolbar." }

/* example of helper text */
.ou-justedit-region table.ou-table-class>tbody>tr>td:nth-child(1):before {
	content: 'Add your content and style via WYSIWYG editor toolbar';
}

table[data-snippet^='ou-snippet-hero'] th:nth-child(1) { width: 15%; }
table[data-snippet^='ou-snippet-hero'] td[data-name='image'] > img { width: 30%!important;}
table[data-snippet^='ou-snippet-hero'] td[data-name='video']::before { content: "Insert an video using the WYSIWYG toolbar. (Optional)" }
table[data-snippet^='ou-snippet-hero'] td[data-name='caption']::before { content: "Enter text. All styling will be stripped. (Optional)" }
table[data-snippet^='ou-snippet-hero'] td[data-name='cta']::before { content: "Enter a list using the WYSIWYG. The system only reads list items inside this cell. (Optional)" }

table[data-snippet^='ou-snippet-intro-buttons'] th:nth-child(1) { width: 75%; }

table[data-snippet^='ou-snippet-grid-block'] th:nth-child(1) { width: 25%; }
table[data-snippet^='ou-snippet-cta-buttons'] th:nth-child(1) { width: 15%; }

table[data-snippet^='ou-snippet-info-cards-container'] th:nth-child(1) { width: 15%; }
table[data-snippet^='ou-snippet-info-card-item'] th:nth-child(1) { width: 15%; }
table[data-snippet^='ou-snippet-info-card-item'] td[data-name='image'] > img { width: 30%!important;}
table[data-snippet^='ou-snippet-info-card-item'] td[data-name='image']::before { content: "Insert an image/video using the WYSIWYG toolbar." }

table[data-snippet^='ou-snippet-split-image'] th:nth-child(1) { width: 15%; }
table[data-snippet^='ou-snippet-split-image'] td[data-name='image'] > img { width: 30%!important;}

table[data-snippet^='ou-snippet-numbers-content'] td[data-name='heading']::before { content: "Enter item heading text. All styling will be stripped." }
table[data-snippet^='ou-snippet-numbers-content'] td[data-name='content']::before { content: "Enter content freely using the WYSIWYG toolbar." }
table[data-snippet^='ou-snippet-numbers-content'] td[data-name='numbers']::before { content: "Insert \"Numbers Content\" Component." }
table[data-snippet^='ou-snippet-numbers-content'] td[data-name='cta']::before { content: "Insert a CTA link using the WYSIWYG toolbar. The system only reads the first link inside this cell." }

table[data-snippet^='ou-snippet-stack-video'] th:nth-child(1) { width: 15%; }
table[data-snippet^='ou-snippet-stack-video'] td[data-name='video'] > img { width: 30%!important;}
table[data-snippet^='ou-snippet-stack-video'] td[data-name='more']::before  { content: "Insert a link using the WYSIWYG toolbar. (Optional)" }
table[data-snippet^='ou-snippet-stack-video'] tr[data-name='item'] > td[data-name='video']::before  { content: "Insert an video using the WYSIWYG toolbar." }

table[data-snippet^='ou-snippet-prefooter-bacta'] th:nth-child(1) { width: 15%; }
table[data-snippet^='ou-snippet-prefooter-bacta'] td[data-name='image'] > img { width: 30%!important;}

table[data-snippet^='ou-snippet-prefooter-contact'] td[data-name='heading']::before { content: "Enter item heading text. All styling will be stripped." }
table[data-snippet^='ou-snippet-prefooter-contact'] td[data-name='content']::before { content: "Enter content freely using the WYSIWYG toolbar." }
table[data-snippet^='ou-snippet-prefooter-contact'] td[data-name='email']::before { content: "Enter email address. All styling will be stripped." }
table[data-snippet^='ou-snippet-prefooter-contact'] td[data-name='phone']::before { content: "Enter phone number. All styling will be stripped." }
table[data-snippet^='ou-snippet-prefooter-contact'] td[data-name='link']::before { content: "Insert a link using the WYSIWYG toolbar." }
table[data-snippet^='ou-snippet-prefooter-contact'] td[data-name='location']::before { content: "Enter location content freely using the WYSIWYG toolbar." }

table[data-snippet^='ou-snippet-prefooter-news'] td[data-name='image'] > img { width: 30%!important;}

table[data-snippet^='ou-snippet-issue-feature'] td[data-name='f_image'] > img { width: 30%!important;}
table[data-snippet^='ou-snippet-issue-list'] td[data-name='image'] > img { width: 30%!important;}

.footer-university-links .ou-justedit-region li a,  .legal-links .ou-justedit-region li a, .ou-justedit-region ul li a {
	color: #000000;
}

.footer.distro .footer-bottom .footer-bottom-links .footer-university-links .ou-justedit-region li {
	display: block;
	list-style-type: inherit;
}

.footer.distro .footer-bottom .footer-bottom-links .footer-legal-links .legal-links .ou-justedit-region li {
    list-style-type: initial;
    font-size: initial;
}

.footer.distro .footer-bottom .footer-bottom-links .footer-university-links .ou-justedit-region li:first-child a {
    margin-left: 1rem;
}
