﻿.template {
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	position: relative !important;
}

.nbt-r {
	float: none !important;
	width: 100% !important;
	position: relative !important;
	overflow: hidden !important;
}

.nbt-i {
	position: relative !important;
	float: left !important;
	left: 100% !important;
}
.nbt-r > .nbt-i {
	overflow: hidden !important;
}

.edit div.nbt-c {
	position: relative !important;
}
.edit .nbt-r > .nbt-i > div.nbt-c {
	min-width: 10px;
	min-height: 10px;
}
.edit .wrap > .nbt-c {
	overflow: hidden !important;
}
.edit .item.wrap > .nbt-c {
	overflow: visible !important;
}

.edit .wrap {
	border: 1px solid #fff;
}
.edit .nbt-i > .wrap,
.edit .nbt-r > .wrap {
	border: 1px solid #E7E4D5;
}
.edit .itemHover,
.edit .itemSelected {
	border: 1px dotted #444;
}

.edit .itemHover > div.wrap,
.edit .itemSelected > div.wrap {
	border: 1px solid #444;
}

.edit .nbt-i, .edit .nbt-r { border: none; }

.i1 { margin-left: -100% !important; }
.w100 > .wrap > .nbt-c > .i1 { width: 100% !important; }
.w5050 > .wrap > .nbt-c > .i1 { width: 50% !important; }
.w5050 > .wrap > .nbt-c > .i2 { margin-left: -50% !important; width: 50% !important; }
.w3367 > .wrap > .nbt-c > .i1 { width: 33% !important; }
.w3367 > .wrap > .nbt-c > .i2 { margin-left: -67% !important; width: 67% !important; }
.w6733 > .wrap > .nbt-c > .i1 { width: 67% !important; }
.w6733 > .wrap > .nbt-c > .i2 { margin-left: -33% !important; width: 33% !important; }
.w2575 > .wrap > .nbt-c > .i1 { width: 25% !important; }
.w2575 > .wrap > .nbt-c > .i2 { margin-left: -75% !important; width: 75% !important; }
.w7525 > .wrap > .nbt-c > .i1 { width: 75% !important; }
.w7525 > .wrap > .nbt-c > .i2 { margin-left: -25% !important; width: 25% !important; }
.w333433 > .wrap > .nbt-c > .i1 { width: 33% !important; }
.w333433 > .wrap > .nbt-c > .i2 { margin-left: -67% !important; width: 34% !important; }
.w333433 > .wrap > .nbt-c > .i3 { margin-left: -33% !important; width: 33% !important; }
.w252550 > .wrap > .nbt-c > .i1 { width: 25% !important; }
.w252550 > .wrap > .nbt-c > .i2 { margin-left: -75% !important; width: 25% !important; }
.w252550 > .wrap > .nbt-c > .i3 { margin-left: -50% !important; width: 50% !important; }
.w502525 > .wrap > .nbt-c > .i1 { width: 50% !important; }
.w502525 > .wrap > .nbt-c > .i2 { margin-left: -50% !important; width: 25% !important; }
.w502525 > .wrap > .nbt-c > .i3 { margin-left: -25% !important; width: 25% !important; }
.w255025 > .wrap > .nbt-c > .i1 { width: 25% !important; }
.w255025 > .wrap > .nbt-c > .i2 { margin-left: -75% !important; width: 50% !important; }
.w255025 > .wrap > .nbt-c > .i3 { margin-left: -25% !important; width: 25% !important; }
.w25252525 > .wrap > .nbt-c > .i1 { width: 25% !important; }
.w25252525 > .wrap > .nbt-c > .i2 { margin-left: -75% !important; width: 25% !important; }
.w25252525 > .wrap > .nbt-c > .i3 { margin-left: -50% !important; width: 25% !important; }
.w25252525 > .wrap > .nbt-c > .i4 { margin-left: -25% !important; width: 25% !important; }
.w2020202020 > .wrap > .nbt-c > .i1 { width: 20% !important; }
.w2020202020 > .wrap > .nbt-c > .i2 { margin-left: -80% !important; width: 20% !important; }
.w2020202020 > .wrap > .nbt-c > .i3 { margin-left: -60% !important; width: 20% !important; }
.w2020202020 > .wrap > .nbt-c > .i4 { margin-left: -40% !important; width: 20% !important; }
.w2020202020 > .wrap > .nbt-c > .i5 { margin-left: -20% !important; width: 20% !important; }
.w171717171616 > .wrap > .nbt-c > .i1 { width: 17% !important; }
.w171717171616 > .wrap > .nbt-c > .i2 { margin-left: -83% !important; width: 17% !important; }
.w171717171616 > .wrap > .nbt-c > .i3 { margin-left: -66% !important; width: 17% !important; }
.w171717171616 > .wrap > .nbt-c > .i4 { margin-left: -49% !important; width: 17% !important; }
.w171717171616 > .wrap > .nbt-c > .i5 { margin-left: -32% !important; width: 16% !important; }
.w171717171616 > .wrap > .nbt-c > .i6 { margin-left: -16% !important; width: 16% !important; }

.i1 { margin-left: -100% !important; }
.w100 .i1 { width: 100% !important; }
.w5050 .i1 { width: 50% !important; }
.w5050 .i2 { margin-left: -50% !important; width: 50% !important; }
.w3367 .i1 { width: 33% !important; }
.w3367 .i2 { margin-left: -67% !important; width: 67% !important; }
.w6733 .i1 { width: 67% !important; }
.w6733 .i2 { margin-left: -33% !important; width: 33% !important; }
.w2575 .i1 { width: 25% !important; }
.w2575 .i2 { margin-left: -75% !important; width: 75% !important; }
.w7525 .i1 { width: 75% !important; }
.w7525 .i2 { margin-left: -25% !important; width: 25% !important; }
.w333433 .i1 { width: 33% !important; }
.w333433 .i2 { margin-left: -67% !important; width: 34% !important; }
.w333433 .i3 { margin-left: -33% !important; width: 33% !important; }
.w252550 .i1 { width: 25% !important; }
.w252550 .i2 { margin-left: -75% !important; width: 25% !important; }
.w252550 .i3 { margin-left: -50% !important; width: 50% !important; }
.w502525 .i1 { width: 50% !important; }
.w502525 .i2 { margin-left: -50% !important; width: 25% !important; }
.w502525 .i3 { margin-left: -25% !important; width: 25% !important; }
.w255025 .i1 { width: 25% !important; }
.w255025 .i2 { margin-left: -75% !important; width: 50% !important; }
.w255025 .i3 { margin-left: -25% !important; width: 25% !important; }
.w25252525 .i1 { width: 25% !important; }
.w25252525 .i2 { margin-left: -75% !important; width: 25% !important; }
.w25252525 .i3 { margin-left: -50% !important; width: 25% !important; }
.w25252525 .i4 { margin-left: -25% !important; width: 25% !important; }
.w2020202020 .i1 { width: 20% !important; }
.w2020202020 .i2 { margin-left: -80% !important; width: 20% !important; }
.w2020202020 .i3 { margin-left: -60% !important; width: 20% !important; }
.w2020202020 .i4 { margin-left: -40% !important; width: 20% !important; }
.w2020202020 .i5 { margin-left: -20% !important; width: 20% !important; }
.w171717171616 .i1 { width: 17% !important; }
.w171717171616 .i2 { margin-left: -83% !important; width: 17% !important; }
.w171717171616 .i3 { margin-left: -66% !important; width: 17% !important; }
.w171717171616 .i4 { margin-left: -49% !important; width: 17% !important; }
.w171717171616 .i5 { margin-left: -32% !important; width: 16% !important; }
.w171717171616 .i6 { margin-left: -16% !important; width: 16% !important; }

/* Forms... */
.nbt-fi,
.nbt-fi-l,
.nbt-fi-lr {
	width: 100% !important;
	overflow: hidden !important;
	clear: both !important;
	padding: 2px 0 !important;
	position: relative !important;
}

.nbt-fi br,
.nbt-fi-l br,
.nbt-fi-lr br {
	display: none !important;
}

.nbt-fi label {
	display: block !important;
	float: none !important;
	text-indent: 0 !important;
	position: static !important;
}

.nbt-fi-l label,
.nbt-fi-lr label {
	float: left !important;
	width: 10em;
	padding-right: 1em;
	padding-top: .3em;
}

.nbt-fi-lr label {
	text-align: right !important;
}

.nbt-fi input,
.nbt-fi-l input,
.nbt-fi-lr input,
.nbt-fi select,
.nbt-fi-l select,
.nbt-fi-lr select {
	width: 20em;
}

.nbt-fi textarea,
.nbt-fi-l textarea,
.nbt-fi-lr textarea {
	width: 30em;
	overflow: auto !important;
}

.nbt-fi fieldset {
	margin: 1.6em 0 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.edit .nbt-fi fieldset {
	margin-top: 2em !important;
}

.nbt-fi-l fieldset,
.nbt-fi-lr fieldset {
	margin: 0 0 0 10em;
	padding: 0 !important;
	border: 0 !important;
}

.nbt-fi legend,
.nbt-fi-l legend,
.nbt-fi-lr legend {
	font-weight: normal !important;
	border: 0 !important;
	background: transparent !important;
}

.nbt-fi legend span,
.nbt-fi-l legend span,
.nbt-fi-lr legend span {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	padding-top: .6em !important;
	text-align: left !important;
}

.nbt-fi-lr legend span {
	width: 10em;
	text-align: right !important;
}
.nbt-fi-l legend span {
	width: 10em;
}
.nbt-fi fieldset legend,
.nbt-fi fieldset legend span {
	line-height: 1 !important;
	padding: .2em 0 0 0 !important;
}

.nbt-fi fieldset label,
.nbt-fi-l fieldset label,
.nbt-fi-lr fieldset label {
	display: block !important;
	float: none !important;
	text-indent: 0 !important;
	position: static !important;
	padding: .1em 0 0 0 !important;
	margin: 0 0 0 1em !important;
	width: auto !important;
	text-align: left !important;
}

.nbt-fi fieldset input,
.nbt-fi-l fieldset input,
.nbt-fi-lr fieldset input {
	width: 18px;
}

.form-success,
.form-warning {
	font-size: 1em !important;
	border: 1px solid #000;
	margin-bottom: 20px;
	padding: 12px;
}
.form-success { background: #DFF2BF; border-color: #4F8A10; }
.form-warning { background: #FEEFB3; border-color: #9F6000; }
.form-error { border: 1px solid #000; margin-bottom: 20px; padding: 0 !important; }
.form-error h2 { background: #a00 !important; color: #fff !important; }
.form-error * { font-size: 1em !important; }
.form-error h2 { font-weight: bold !important; font-size: 1.2em !important; margin: 0 0 .5em !important; padding: 6px 12px !important; }
.form-error ul { margin-top: 12px !important; margin-bottom: 12px !important; padding-top: 0 !important; padding-bottom: 0 !important; }

.nbt-fi legend span.nbt-required,
.nbt-fi-l legend span.nbt-required,
.nbt-fi-lr legend span.nbt-required,
span.nbt-required {
	position: static !important;
	color: #c00;
}
.nbt-participants input {
	float: left !important;
}
span.nbt-form-help {
	color: #777 !important;
	float: left !important;
	margin-left: 6px !important;
	padding: .1em 0 0 0 !important;
}
/* /Forms */

.nbt-i img {
	max-width: 100% !important;
}
#divEPEditPageWrapper .nbt-i {
	overflow: visible !important;
}
#divEPEditPageWrapper .template div.nbt-c {
	overflow: visible !important;
	float: none !important;
}

.nbt-r + .item,
.nbt-r + .nbt-c {
	clear: left;
}

.nbt-r > .wrap > .nbt-c:after,
.nbt-r > .nbt-c:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.nbt-r > .wrap > .nbt-c,
.nbt-r > .nbt-c {
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .nbt-r > .wrap > .nbt-c,
* html .nbt-r > .nbt-c {
	height: 1%;
}
.nbt-r > .wrap > .nbt-c,
.nbt-r > .nbt-c {
	display: block;
}
/* End hide from IE-mac */

/* IE7 hacks... */
* + html #tblEditArea .template .nbt-i {
	left: 0 !important;
}

* + html table .w5050 .i2,
* html table .w5050 .i2,
* + html table .w3367 .i2,
* html table .w3367 .i2,
* + html table .w6733 .i2,
* html table .w6733 .i2,
* + html table .w2575 .i2,
* html table .w2575 .i2,
* + html table .w7525 .i2,
* html table .w7525 .i2,
* + html table .w333433 .i3,
* html table .w333433 .i3,
* + html table .w252550 .i3,
* html table .w252550 .i3,
* + html table .w502525 .i3,
* html table .w502525 .i3,
* + html table .w255025 .i3,
* html table .w255025 .i3 {
	margin-right: -2px;
}
* + html table .w25252525 .i4,
* html table .w25252525 .i4,
* + html table .w2020202020 .i5,
* html table .w2020202020 .i5,
* + html table .w171717171616 .i6,
* html table .w171717171616 .i6 {
	margin-right: -3px;
}
* + html table div[class^="o_"] .nbt-i {
	margin-right: -1px;
}
/* End IE7 hacks */

/* IE6 clearfix hack... */
* html .nbt-r .wrap .nbt-c:after,
* html .nbt-r .nbt-c:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

* html .nbt-r .wrap .nbt-c,
* html .nbt-r .nbt-c {
	display: inline-block;
}

/* Hides from IE-mac \*/
* html .nbt-r .wrap .nbt-c,
* html .nbt-r .nbt-c {
	height: 1%;
}
* html .nbt-r .wrap .nbt-c,
* html .nbt-r .nbt-c {
	display: block;
}
/* End hide from IE-mac */
/* End IE6 clearfix hack */

/* IE hacks for template inside table... */
* html table .nbt-r { left: 0 !important; } /* IE6 */
* + html table .nbt-i { left: 0 !important; } /* IE7 */
/* End IE hacks for template inside table */

/* File list control... */
.FLC_wrapper ul,
.FLC_wrapper li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.FLC_wrapper li {
	margin-bottom: 2px !important;
}
.FLC_wrapper a img {
	border: 0 !important;
	padding-right: 4px;
	vertical-align: middle !important;
}
.FLC_fileSize {
	color: #666;
	font-size: .9em;
}

.DM_folderPickerWrapper {
	background: #ecf1f6;
	border: 1px solid #808080;
	margin: 3px 0;
	padding: 3px;
}

/* -- Problems occur when for example .custom1 is used for a whole column/cell that have different elements in it.
*     If the elements(e.g. h2, a, p) have styles of their own they are overriden by the definitions set in .custom1(inherit !important).
.custom1 h1, .custom1 h2, .custom1 h3, .custom1 h4, .custom1 h5, .custom1 h6, .custom1 p,
.custom2 h1, .custom2 h2, .custom2 h3, .custom2 h4, .custom2 h5, .custom2 h6, .custom2 p,
.custom3 h1, .custom3 h2, .custom3 h3, .custom3 h4, .custom3 h5, .custom3 h6, .custom3 p,
.custom4 h1, .custom4 h2, .custom4 h3, .custom4 h4, .custom4 h5, .custom4 h6, .custom4 p {
	background: inherit !important;
	color: inherit !important;
}

.custom1 > h1, .custom1 > h2, .custom1 > h3, .custom1 > h4, .custom1 > h5, .custom1 > h6, .custom1 > p, .custom1 > div > p,
.custom2 > h1, .custom2 > h2, .custom2 > h3, .custom2 > h4, .custom2 > h5, .custom2 > h6, .custom2 > p, .custom2 > div > p,
.custom3 > h1, .custom3 > h2, .custom3 > h3, .custom3 > h4, .custom3 > h5, .custom3 > h6, .custom3 > p, .custom3 > div > p,
.custom4 > h1, .custom4 > h2, .custom4 > h3, .custom4 > h4, .custom4 > h5, .custom4 > h6, .custom4 > p, .custom4 > div > p {
	border: inherit !important;
	font: inherit !important;
	line-height: inherit !important;
	margin: inherit !important;
	padding: inherit !important;
	text-align: inherit !important;
	text-decoration: inherit !important;
}
*/

a img {
	border: 0;
}
