.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-"],
.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-list-pathways"] a {
	color: black;
}

/*table[class^="ou-"] a {
	color: black;
}*/


.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
***/

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

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

.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.';
}

span.ou-je-component [data-ouc-justedit]::before { content: none; }

/***
* /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
********************************/

/* 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-"] td[data-type="wysiwyg"]::before {
	content: "Enter content freely using the WYSIWYG toolbar.";
}

table.ou-ccac-full-width-program-image-section td[data-name="catalog"] a.btn.btn-default {
	color: white;
}


/* CCAC Custom Editor Styles */
#cms-inline-editor-id .ou-justedit-pathbar, 
.ou-justedit-pathbar {
	display: none;
}

.ou-justedit-region ul.ou-select-list li.active {
	color: #fff;	
}

.ou-justedit-region table[class^="ou-ccac-"] .header-hint {
	color: #6c757d;
	display: inline-block;
	font-style: italic;
	font-weight: normal;
	padding-right: 10px;
}

.ou-justedit-region table[class^="ou-ccac-"] .ou-select-list img.editor-select-image-sm {
	width: 32px;	
}

.ou-justedit-region table[class^="ou-ccac-"] td[data-name="image"] > img {
	max-height: 300px;
}

#cms-inline-editor-id a[data-region-style="button"][role="button"].ou-btn, 
a[data-region-style="button"][role="button"].ou-btn {
	z-index: 1 !important;
}

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

/* MCE UI */
#cms-inline-editor-id .tox button.tox-tbtn[title="Maximize Content Region"],
.tox button.tox-tbtn[title="Maximize Content Region"] {
	display: none;
}

.ou-justedit-region .temp_toolbar.mceNonEditable {
	left: 8px;
	outline: none;
	width: calc(100% - 16px) !important;
}
#cms-inline-editor-id .component-edit-toolbar, 
.component-edit-toolbar {
	float: left;
	left: auto !important;
	margin-left: 0.5rem;
}

/* Snippet-Component Tables */
#cms-inline-editor-id .ou-je-component table[class^="ou-ccac-"],
.ou-je-component table[class^="ou-ccac-"],
#cms-inline-editor-id .ou-je-component .ou-table-separator {
	display: none;
}
.ou-je-component div.ou-table-separator {
	display: none !important;
}

/* Snippet-Components */
#cms-inline-editor-id .ou-je-component, 
.ou-je-component {
	border: 2px dotted #f0f0f0 !important;
	padding: 4px 4px 2px !important;
}

#cms-inline-editor-id .ou-je-component:hover, 
.ou-je-component:hover, 
#cms-inline-editor-id .ou-je-component.selected, 
.ou-je-component.selected {
	border: 2px dotted #b4d7ff !important;
	background-image: none !important;
}

#cms-inline-editor-id .ou-je-component.selected, 
.ou-je-component.selected {
	border-style: solid !important;
}

#cms-inline-editor-id .ou-je-component:not(.pill)::before, 
.ou-je-component:not(.pill)::before,
#cms-inline-editor-id .ou-je-component:not(.pill):hover::before,
.ou-je-component:not(.pill):hover::before,
#cms-inline-editor-id .ou-je-component:not(.pill).selected::before,
.ou-je-component:not(.pill).selected::before {
	content: '' !important;
}

.ou-je-component .ccac-wysiwyg-component.wc-card {
	display: flex;
}
.ou-je-component .ccac-wysiwyg-component.wc-card .wc-type,
.ou-je-component .ccac-wysiwyg-component.wc-card .wc-value {
	padding: 0.5rem 0.75rem;
}
.ou-je-component .ccac-wysiwyg-component.wc-card .wc-type {
	align-self: start;
	background: #316094;
	color: #fff;
}
.ou-je-component .ccac-wysiwyg-component.wc-card .wc-type .icon {
	margin-right: 0.5rem;
}
.ou-je-component .ccac-wysiwyg-component.wc-card .wc-value {
	display: inline-block;
	font-weight: 700;
	margin: 0;
}
.ou-je-component .ccac-wysiwyg-component.wc-card .wc-value .label {
	font-weight: 400;
	margin-right: 0.5rem;
}

/* table component view - limit display to 3 rows */
.ou-je-component .ccac-wysiwyg-component .table-responsive table tbody {
	counter-reset: hiddenTableRows;
}
.ou-je-component .ccac-wysiwyg-component .table-responsive table tbody tr:nth-child(n + 3) {
	counter-increment: hiddenTableRows;
	visibility: hidden;
}
.ou-je-component .ccac-wysiwyg-component .table-responsive table tbody tr:nth-child(n + 3) th, 
.ou-je-component .ccac-wysiwyg-component .table-responsive table tbody tr:nth-child(n + 3) td {
	display: none;
}
.ou-je-component .ccac-wysiwyg-component .table-responsive table:after {
	color: #63666A;
	content: "and " counter(hiddenTableRows) " more row(s)";
    display: block;
    font-style: italic;
	padding: 0.5rem;
}
