.editorjs-div {

	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	margin: 10px auto;
	background-color: white;
	color: black;
	
}

.ce-block__content, .ce-toolbar__content { 
	max-width:calc(80% - 80px) !important; 
} 

.ejs-block { 
	max-width: 100% !important; 
}

.dark-edition .codex-editor a {
	color: rgb(255, 96, 0);
}

.codex-editor {
	background-color: #151515;
	color: white;
	padding-top: 100px;
}

.inline-code {
	background: rgba(255, 96, 0, 0.78) !important;
	color: white !important;
	padding: 3px 4px;
	border-radius: 5px;
	margin: 0 1px;
	font-weight: 500;
	letter-spacing: 0.3px;
	white-space: nowrap;
}

.ce-toolbox,
.ce-settings,
.ce-toolbar__actions {
	background-color: rgb(255, 96, 0);
}

h1.ce-header {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 18px;
    text-transform: uppercase;
}

h2.ce-header {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
}

h3.ce-header {
    font-size: 24px;
    font-weight: 500;
	margin-bottom: 30px;
    text-transform: uppercase;
}

.ce-header {
	font-family: "Oswald", sans-serif !important;
}

.ce-block__content :is(h1, h2, h3) {
	display: flex; 
	justify-content: center; 
	align-items: center; 
	flex-wrap: wrap;
	
}

.ce-block__content .ce-delimiter {
	line-height: 1.6em;
    width: 100%;
    text-align: center;
}

.ce-block__content .ce-delimiter:before {
    display: inline-block;
    content: "*****";
	color: rgba(255, 96, 0, 0.75);
    font-size: 30px;
    line-height: 65px;
    height: 30px;
    letter-spacing: 0.5em;
	margin-right: -18px;
}

.ce-block--selected * {
	background:rgba(113, 43, 0, 0.75)
}

.ejs-block iframe {
	display: flex; 
	justify-content: center; 
	align-items: center; 
	flex-wrap: wrap;
}

.ejs-block iframe[src*="youtube.com"] {
	height: 495px;
}

.ejs-block iframe[src*="instagram.com"] {
	height: 505px;
	width: 400px;
}

.tc-table__wrap {
	border: 3px solid rgba(255, 96, 0) !important;
	border-radius: 10px !important;
}



/* view only */


/* ALLE ELEMENTER */
.ejs-content-container {
	padding-top: 50px;
	padding-bottom: 50px;
	width: 100%;
	background-color: #151515;
	min-height: 400px;
}

.ejs-content-canvas {
	max-width: 950px;
	width: auto;
	margin: 0 auto;
	color: white;
	font-size: 1.2em;
}

.ejs-content-canvas a {
	color: rgb(255, 96, 0);
}

.ejs-content-canvas a:hover {
	color: rgb(255, 176, 128);
}

.ejs-block {
	width: 100%;
	display: flex; 
	justify-content: center; 
	align-items: center; 
	flex-wrap: wrap;
	margin: 0 auto;
	padding-bottom: 10px;
}

.ejs-block-content {
	width:calc(95% - 20px) !important; 
}

.ejs-cdx-block {
	padding: .4em 0;
}

.ejs-cdx-block::-webkit-input-placeholder {
	line-height: normal !important
}



/* OVERSKRIFTER */
.ejs-block-content :is(h1, h2, h3, h4, h5) {
	color: inherit;
	display: flex; 
	justify-content: center; 
	align-items: center; 
	flex-wrap: wrap;
}



/* AVSNITT */
.ejs-paragraph {
	color: inherit;
	line-height: 1.5rem;
	font-size: inherit;

	/* display: inline; 
	justify-content: left; 
	align-items: left; 
	flex-wrap: wrap; */
}


/* AVGRENSERE */
.ejs-delimiter {
    line-height: 1.5em;
    width: 100%;
    text-align: center;
	padding-bottom: 5px;
}

.ejs-delimiter:before {
    display: inline-block;
    content: "*****";
    color: rgba(255, 96, 0, 0.75);
    font-size: 30px;
    line-height: 65px;
    height: 30px;
    letter-spacing: 0.5em;
	margin-right: -18px;
}



/* NØSTEDE LISTER */

.ejs-nested-list {
	margin: 0;
	padding: 0;
	outline: none;
	counter-reset: item;
	list-style: none;
}

.ejs-nested-list-item {
	line-height: 1.6em;
	display: flex;
	margin: 2px 0;
}

.ejs-nested-list-item [contenteditable] {
	outline: none;
}

.ejs-nested-list-item-body {
	flex-grow: 2;
}


.ejs-nested-list-item-content,
.ejs-nested-list-item-children {
	flex-basis: 100%;
}

.ejs-nested-list-item-content {
	word-break: break-word;
	white-space: pre-wrap;
}

.ejs-nested-list-item-children {}

.ejs-nested-list-item::before {
	counter-increment: item;
	margin-right: 5px;
	white-space: nowrap;
}

.ejs-nested-list-ordered>.ejs-nested-list-item::before {
	content: counters(item, ".") ". ";
}

.ejs-nested-list-unordered>.ejs-nested-list-item::before {
	content: "•";
}

.ejs-nested-list-settings {
	display: flex;
}

.ejs-nested-list-settings .ejs-settings-button {
	width: 50%;
}

div.ejs-block-content > .ejs-nested-list > li.ejs-nested-list-item {
	padding-bottom: 10px;
}




/* TABELLER */

.ejs-table {
	width: 100%;
	height: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.ejs-table-editor {
	padding: 10px;
	position: relative;
	box-sizing: content-box;
	width: 100%;
	left: -10px;
}

.ejs-table-area {
	padding: 10px;
	height: 100%
}

.ejs-table-inp {
	outline: none;
	flex-grow: 100;
	min-height: 1.5em;
	height: 100%;
	overflow: hidden
}

.ejs-table-highlight:focus-within {
	background-color: rgba(173, 164, 176, .1)
}

.ejs-table tbody tr:first-child td {
	border-top: none
}

.ejs-table tbody tr:last-child td {
	border-bottom: none
}

.ejs-table tbody tr td:last-child {
	border-right: none
}

.ejs-table tbody tr td:first-child {
	border-left: none
}

.ejs-table-selector {
	display: flex;
	flex-direction: column;
}

.ejs-table-selector .hidden-element {
	display: none
}

.ejs-table-row {
	display: flex;
	flex-direction: row
}

.ejs-table-cell-container {
	width: 30px;
	height: 30px
}


.ejs-table-cell {
	border: 1px solid #ffffff;
	padding: 0;
	vertical-align: top
}

.ejs-table-wrap {
	border: 3px solid rgba(255, 96, 0);;
	border-radius: 10px;
	position: relative;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
}


/* BILDER */

.ejs-block-image-stretched .ejs-image-content {
	max-width: none
}

.ejs-image-content {
	position: relative;
	max-width: 650px;
	margin: 0 auto;
	-webkit-transition: background-color .15s ease;
	transition: background-color .15s ease
}

.ejs-image {
	--bg-color: #0d34c2;
	--front-color: #388ae5;
	--border-color: rgb(255, 96, 0);
}

.ejs-image-image {
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 10px;
}

.ejs-image-picture {
	max-width: 100%;
	vertical-align: bottom;
	display: block;
}

.ejs-image-withBorder .ejs-image-image {
	border: 3px solid var(--border-color);
}