body {
	background-color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333;
}

h1 {
	font-size: 24px;
	color: #000000;
}

h2 {
	margin-top: 0px;
	font-weight: normal;
	font-size: 16px;
}

h3 {
	font-size: 14px;
	color: #000000;
}

h4 {
	font-size: 14px;
	font-weight: normal;
	margin: 0px;
}

a {
	text-decoration: none;
	color: #01568a;
}

a:hover {
	color: #c6a976;
}

a.menu {
	color: #01568a;
}

a.menu:hover {
	color: #c6a976;
}

table.box {
	border: 1px #AAAAAA solid;
	font-size: 12px;
}

table.data, .data_box {
	margin-top: 1em;
	padding: 10px;
	background-color: #F9F9F9;
	border: 1px #999999 dashed;
	font-size: 12px;
}

td.boxtop {
	border-bottom: 1px #AAAAAA solid;
	background-color: #F9F9F9;
	color: #000000;

}

td.maintabletop {
	height: 60px;
	border-bottom: 1px #AAAAAA solid;
}

td.mainmenu {
	height: 400px;
	width: 160px;
	border-right: 1px #AAAAAA solid;
}

td.mainfooter {
	height: 30px;
	border-top: 1px #AAAAAA solid;
}

.textbox {
	border: 1px #AAAAAA solid;
	background-color: #F9F9F9;
	font-size: 12px;
	color: #333;
	padding: 3px;
	font-family: Arial, Helvetica, sans-serif;
}

.textbox.small {
	width: 40px;
}

.textbox:focus {
	background-color: #FFFFFF;
}

.dropdown {
        background-color: #F9F9F9;
        font-size: 12px;
        color: #333;
}

.button {
  background-color: #877452;
  border: 1px solid #877452;
  font-size: 10px;
  color: #FFFFFF;
}

.button:active {
	border: 1px solid #877452;
} 

ol#instillinger {
    margin:0; padding:0;
}
ol#instillinger li {
    list-style: none;
    padding-bottom: 8px;
}
ol#instillinger p {
    margin:0; padding:0;
    color: #333;
}
ol#instillinger strong {
    color: #333;
}

#moderate_guestbook {

}

#moderate_guestbook div.entry {
	border: 1px solid #999;
	margin-bottom: 20px;
	color: black;
}

#moderate_guestbook div.entry > div {
	padding: 8px;
}

#moderate_guestbook div.entry div.comment {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

#moderate_guestbook div.head, #moderate_guestbook div.options {
	background: #eee;
	overflow: hidden;
}

#moderate_guestbook div.options div {
	float: left;
	background: #aaa;
	margin-right: 10px;
	padding: 10px 10px 10px 7px;
	text-align: center;
	color: white;
	border-radius: 5px;
	border: 1px solid #999;
}

#moderate_guestbook div.options div input {
	margin: 0px;
}

#moderate_guestbook div.head h2 {
	margin: 0px;
}

table.newform .hide {
	display: none;
}

.checkboxholder {
	border-radius: 5px;
	padding: 10px;
	margin: 5px 0px 10px 0px;
	color: #eee;
	background: #888;
	border: 1px solid #777;
}

.checkboxholder a {
	color: #eee;
	text-decoration: underline;
}

.checkboxholder ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

.checkboxholder li {
	min-height: 24px;
}

.checkboxholder .option {
	display: block;
	margin: 5px 0px 0px;
	font-size: 10px;
}

.revision {
	background: #eee;
	border: 1px solid #aaa;
	border-radius: 5px;
	margin-bottom: 20px;
	padding: 10px;
	position: relative;
}

.revision h2 {
	margin-top: 0px;
	font-weight: bold;
	color: #000;
}

.revision h2.rev_title {
	margin: 0px;
	width: 660px;
}

.revision h2.rev_date {
	color: #777;
	font-size: 12px;
	width: 660px;
}

.revision .restore {
	position: absolute;
	top: 10px;
	right: 10px;
}

.revision_html {
	display: none;
}

a.help_button {
	float: right;
    margin-left: 8px;
}

#bottom_help_text {
	display: none;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #ccc;
}

#bottom_help_text iframe {
	width: 100%;
	height: 900px;
	border: 0px;
}

#fraktalternativer, 
#use_custom_field_table {
	border-collapse: collapse;
	margin: 10px 0px;
	border: 1px solid #aaa;
}

#fraktalternativer th, #fraktalternativer td,
#use_custom_field_table th, #use_custom_field_table td {
	padding: 5px 10px;
	background: #eee;
}

.edit_table {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-spacing: 0px;
}

.edit_table td,
.edit_table th {
    margin: 0;
    padding: 4px;
    border-spacing: 0px;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

#message {
	border: 1px dashed #ccc;
	margin: 1em 0;
	padding: 10px;
	padding-left: 17px;
	background: #dff4ff;
	font-weight: bold;
	position: relative;
}


#message:before {
	content: '!';
	position: absolute;
	left: 5px;
	top: 0px;
	font-size: 30px;
	color: #12A0E8;
}

#wrap {
    width: 600px;
    overflow: hidden;
}

.domainlisting {
    float: left;
    width: 340px;
    overflow: hidden;
}

.domainlisting a {
    float: left;
}

.invalid {
    background-color: #f99;
}

/* TinyMCE */

button[role='presentation'] {
    height: 25px;
}

div.mce-menubtn > button {
    height: 25px;
}

textarea.tinymce {
    width: 100%;
    min-height: 400px;
}

/* Call me back */
.fixed {
    position: fixed;
    bottom: 0;
    right: 20px;
    background: #333!important;
    background: rgba(0,0,0,0.8);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: white;
    padding: 20px;
    box-shadow: 0 0 3px #000;
}

.mce-strong {
    font-weight: bold !important;
}

/* messages */

#admin_messages {
    padding: 0;
    margin: 0;
    list-style: none;
}

#admin_messages li {
    padding: 4px;
    margin-bottom: 4px;
    border-radius: 3px;
    font-size: 13px;
    color: black;
    text-indent: 30px;
    width: 400px;
}

#admin_messages li.info {
    background: url(/graphics/success_green.png) 4px 4px no-repeat;
    background-color: #cfc;
    border: 1px solid #9d9;
}

#admin_messages li.error {
    background: url(/graphics/error_red.png) 4px 4px no-repeat;
    background-color: #fcc;
    border: 1px solid #d99;
}

/* admin_toolbar */

.admin_toolbar.right {
    float: right;
}

.admin_toolbar.bottom {
    margin-top: 12px;
}

.admin_toolbar form {
    display: inline;
}

.admin_toolbar button {
    padding: 4px;
}

.admin_toolbar input,
.admin_toolbar button,
.admin_toolbar button img {
    vertical-align: middle;
    font-size: 14px;
}

.admin_toolbar button img {
    max-height: 14px;
}

/* admin list, search */

#admin_list .search input {
    padding: 4px;
}

/* admin list, table */

#admin_list h1 {
    margin-bottom: 12px;
}

#admin_list table {
    width: 100%;
    max-width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

#admin_list table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
    padding: 8px;
    line-height: 1.4em;
    text-align: left;
}

#admin_list table > tbody > tr:nth-child(odd) {
    background-color: #f9f9f9,
}

#admin_list table > tbody > tr > td {
    padding: 8px;
    line-height: 1.4em;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

/* admin_form */

.admin_form .save_button {
    padding: 4px;
}

.admin_form .field {
    margin-top: 15px;
}

.admin_form .field label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 13px;
    display: block;
}

.admin_form .field label.inline {
    display: inline-block;
    margin-right: 6px;
}

.admin_form .field label.inline input {
    margin: 0;
}

.admin_form .field select,
.admin_form .field input[type=text],
.admin_form .field input[type=date],
.admin_form .field input[type=file],
.admin_form .field textarea {
    padding: 4px;
    font-size: 14px;
}

#mainmenu .active {
    color: #c6a976;
    font-weight: bold;
}

td.sortable {
}

.popover {
    border-bottom: 1px dotted gray;
    cursor: pointer;
}

.sortable .handle {
    cursor: move;
}

.image-grid .box,
.image-grid .add-new {
    width: 96px;
    height: 96px;
    padding: 2px;
    line-height: 100px;
    text-align: center;

    white-space: nowrap;
    display: block;
    float: left;
    margin-right: 6px;
    margin-bottom: 6px;

    background-color: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 3px;

    position: relative;
    cursor: move;
}

.image-grid .add-new {
    cursor: pointer;
    border: none;
    background: none;
    border-radius: 0px;
    opacity: 0.9;
}
.image-grid .add-new:hover {
    opacity: 1;
}

.image-grid .box > img,
.image-grid .add-new > img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.image-grid .add-new > img {
    max-width: 75%;
    max-height: 75%;
}


.image-grid .buttons {
    position: absolute;
    top: 4px;
    right: 4px;
    height: 20px;
    vertical-align: top;
    line-height: 20px;

    display: none;
}
.image-grid .box:hover .buttons {
    display: block;
}

.image-grid .buttons button {
    padding: 0px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #efefef;
}

.image-grid .buttons .edit {
    background-image: url(/graphics/edit.png);
}

.image-grid .buttons .remove {
    background-image: url(/graphics/remove.png);
}

.image-grid .buttons img {
    margin: 0; padding: 0;
    width: 20px;
    height: 20px;
}

#edit-image-dialog {
    display: none;
}

#btn_edit_image {
    padding: 4px;
}

.modal .field {
    margin-bottom: 20px;
}

.modal label {
    font-weight: bold;
    display: block;
}

.modal input[type=text],
.modal textarea {
    display: block;
    padding: 4px;
}

.moxman-title {
    color: white !important;
    font-size: 1px !important;
}
.moxman-title:after {
    color: black !important;
    font-size: 20px !important;
    content: 'Mediabibliotek';
}

.ui-dialog-titlebar {
    color: white;
    background: black !important;
    font-weight: bold;
}

.moxman-btn button {
    padding: 6px 8px !important;
}

.moxman-container-body > .moxman-btn {
    height: 28px !important;
}

.moxman-thumbnailview .moxman-thumb {
    display: flex;
    align-items: center;
    float: left;
    text-align: center;
    justify-content: center;
}
