/* nefos form-styles
 * by christoph tavan
 */
/* Suggested order (by http://www.mozilla.org/css/base/content.css):
 * display
 * list-style
 * position
 * float
 * clear
 * width
 * height
 * margin
 * padding
 * border
 * background
 * color
 * font
 * text-decoration
 * text-align
 * vertical-align
 * white-space
 * other text
 * content
 *
 */

/* ======================================================== *
 *   Forms
 * ======================================================== */

/* form.css */

form {
    padding:0;
    margin:0;
}


.widget-content div {
    margin: 1em;
}
.widget-content>div,
.widget-content form>div,
.widget-content form>div.form-content>div {
	margin: 1em 2em;
}
.dock .widget-content form>div {
	margin: 1em;
}
.widget-content div.form-content {
	position: absolute;
	top: 6.7em;
	bottom: 0;
	left: 0;
	right: 0;
	border: none;
	margin: 0;
	padding: 1em 0;
	overflow: auto;
/*	overflow-x: hidden;
	overflow-y: scroll;*/
}
.widget-content ul.language+div.form-content {
	top: 10.2em;
}
.widget-content fieldset div {
	margin-left: 0;
	margin-right: 0;
}
.widget-content fieldset {
	margin: 1em 1em 1.5em 1em;
	border-top: 1px solid #B6BCBD;	
	border-left: none;
	border-right: none;
	border-bottom: none;
	padding: 0 1em;
}
.widget-content fieldset fieldset {
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.widget-content legend, .widget-content label, .widget-content h2, span.ornew,
.widget-content fieldset fieldset legend {
    display: block;
    padding: 0 0 0.7em 0;
    color: #004468;
    font-weight: bold;
    font-size: 1em;
}
.widget-content legend {
	padding: 0 .3em .1em .3em;
	margin-left: -0.3em;
}
.widget-content fieldset label,
.widget-content fieldset h2,
.widget-content fieldset fieldset legend {
	font-weight: normal;
}

.widget-content div.multiple div.checkbox {
	margin-top: 0;
	margin-bottom: 0;
}
.checkbox label,
.widget-content fieldset fieldset label {
	font-weight: normal;
	color: #4C4E4F;
	padding-top: .4em;
}


input, textarea, select {
    font-size: 1em;
    line-height: 1em;
    float: left;
    color: #4C4E4F;
    padding: 0;
    margin: 0;
	background-color: #EEF5F7;
}

input[type='text'],
input[type='password'] {
    width: 20em;
    border: 1px solid #B6BCBD;
    padding: 0.5em 0.7em;
}

input[type='file'] {
    width: 23em;
}

input[type='checkbox'],
input[type='radio'] {
	margin-right: .7em;
}
input[type='radio'] {
	clear: left;
}
input[type='radio'] + label {
	float: left;
}
textarea {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    border: 1px solid #B6BCBD;
    padding: 0.5em 0 0.5em 0.7em;
    width: 30em;
    height: 10em;
    background-color: #EEF5F7;
	line-height: 1.4em;
}

select {
    width: 21.6em;
    height: 2.2em;
    /*margin-bottom: 1em;*/
    border: 1px solid #B6BCBD;
    background: #EEF5F7;
}
select[multiple] {
    height: 10em;
}
select option {
    padding: 0.5em 0.7em;
}
div.ornew {
	margin: 0 0 0 1em;
	float: left;
}
div.ornew input {
	width: 15em;
}
select.ornew {
    width: 17em;
}
span.ornew {
    float: left;
    padding: 0.7em 0 0 1em;
}


/*input.button {
    width: 10em;
    padding: 0.5em 0.7em;
    border: 1px solid #B6BCBD;
    background-color: #EEF5F7;
    color: #004468;
    font-weight: bold;
}*/

input.form-error, textarea.form-error, select.form-error,
div.drop.form-error {
    border: 1px solid #E32118; /* #B11F16 Pantone 484 U */
    background-color: #E32118; /* #E32118 Pantone 485 U */
    /*background: #f8c5c5;*/ /* #f8c5c5 25% Opacity */
}

input:focus, select:focus, textarea:focus {
    background-color: #fff;
}

input:hover, select:hover, textarea:hover {
    background-color: #fff;
}

p.error,
div.error-message {
    float: left;
    margin: 0 0 0 1em;
    padding: 0.5em 0.7em;
    color: #E32118;
    font-weight: bold;
    clear: none;
}

p.content-error {
    color: #E32118;
    font-weight: bold;
    padding:0;
    margin: 0 0.7em 0.5em 0;
}

textarea.tinymce-area {
    padding: 0;
    border: 1px solid #B6BCBD;
    float: left;
    margin: 0 1em 1em 0;
}
/*textarea.tinymce-area .div
{
    padding: 0;
    margin: 0;
}*/
/*.mceEditorContainer
{
    float: left;
}*/

div.drop {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	border: 1px solid #B6BCBD;
	background: #EEF5F7;
	white-space: nowrap;
}

div.drop.active {
	/*border: 1px solid #004468;
	background-color: #becdd9;*/
	border: 1px solid #51A025;
	background-color: #d3e7c8;
}
div.drop.hover,
.sortable-placeholder {
	border: 1px solid #F7E832;
	background-color: #fdf9cc;
}
.sortable-placeholder {
	border: none;
}
div.drop.active img,
div.drop.hover img {
	opacity: .5;
}

div.drop.form_error {
	background-color: #E32118;
}
div.drop.photo {
	overflow: hidden;
}
div.drop.gallery {
	overflow: hidden;
}
div.drop.gallery ul {
	overflow: auto;
}

div.drop .drop-info {
	position: absolute;
	z-index: 5;
	top: 0;
	left: 0;
	padding: 2px 4px;
	margin: 5px;
	border: 1px solid #B6BCBD;
	background: #EEF5F7;
	font-size: 0.7em;
}
div.drop.drop-media .drop-info {
	right: 0;
}
div.drop .drop-delete {
	position: absolute;
	overflow: hidden;
	margin: 0;
	right: 0.2em;
	bottom: 0.2em;
	padding: .2em;
	z-index: 7;
	border: 1px solid #B6BCBD;
	background: #EEF5F7;
	cursor: pointer;
}
div.drop .drop-delete a {
	display: block;
	line-height: 3em;
	text-indent: -1000px;
}
div.drop .drop-delete:hover {
	background-color: #FFFFFF;
}
div.drop ul {
	list-style: none;
}
div.drop ul li.thumb {
	position: relative;
	float: left;
	display: inline-block;
	overflow: hidden;
}
div.drop li > img {
	display: none;
}
div.drop li > img.fit {
	display: block;
}
.helper {
	float: left;
	background-color: #becdd9;
	line-height: 0;
}
#dragHelper {
	line-height: 0;
}

div.drop.drop-media .input.text {
	display: none;
}

div.drop.drop-media {
	min-width: 20em;
	min-height: 20px;
	padding: 25px 5px 0 5px;
}
div.drop.drop-media > ul li {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid #B6BCBD;
	min-height: 33px;
	line-height: 33px;
	margin-bottom: 5px;
	padding: 0 5px;
	background-color: #fff;
}


div.drop .extensions {
	display: none;
}

div.formcontainer {
	margin-bottom: 0;
}

.quickupload div.upload {
	float: left;
	margin: 0.5em 0 0 0;
	border: 1px solid;
	text-align: center;
}

.quickupload img.indicator {
	margin: 3px;
}
.quickupload.uploading img {
	display: block;
}
.quickupload.uploading input[type='image'],
.quickupload img {
	display: none;
}

/* Upload area display */
#quick-upload {
	padding: 0;
	margin: 1em 1em 0 1em !important;
}
#quick-upload h2 {
	font-weight: normal;
	display: inline;
	line-height: 230%;
}
#quick-upload > div {
	clear: both;
}
#quick-upload h2 a,
#quick-upload h2 a:visited {
	border: 1px solid #B6BCBD;
	padding: 0em 1.5em;
	margin: 0 .5em -1px 0px;
	background-color: #EEF5F7;
	text-decoration: none;
	color: #004468;
	position: relative;
	display: block;
	float: left;
}
#quick-upload h2.active a,
#quick-upload h2 a:hover {
	border-bottom: 1px solid #fff;
	background-color: #fff;
}
#quick-upload > div {
	margin: 0;
	padding: 0;
	display: none;
}
#quick-upload > div.active {
	display: block;	
}
.upload-queue {
	height: 10em;
	overflow: auto;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid #B6BCBD;
	list-style: none;
	margin: 0;
}
.upload-queue li {
	position: relative;
	display: block;
	padding: 1em 0.2em 1em 0.7em;
}
.upload-queue li .progress {
	background: #004468;
	display: block;
	height: 5px;
	left: 0.7em;
	position: absolute;
	top: 2.4em;
	width: 0;
	z-index: 2;
	padding: 0;
	margin: 0;
}
.upload-queue li div {
	margin: 0;
	padding: 0;
	float: right;
	margin-top: -16px;
}
body:first-of-type .upload-queue li div {
	margin-top: 0;
}
.upload-queue li a {
}
.upload-queue li a:hover {
}


.upload-control {
	margin: .5em 0 0 0 !important;
}
.upload-control div {
	margin: 0 5px 0 0 !important;
	float: left !important;
}
.upload-control input,
.upload-control .swfupload {
	border: 1px solid #B6BCBD;
	cursor: pointer;
	height: 1.8em;
	padding: 0 2px;
}
.upload-control input:hover,
.upload-control .swfupload:hover {
	margin: 1px -1px -1px 1px;
}
.upload-control .swfupload {
	background-color: #EEF5F7;
}

#upload-categories {
	margin: 0;
}
#upload-categories div.input {
	position: absolute;
	left: 0;
	right: 5.3em;
}
#upload-categories div.control {
	position: absolute;
	right: 0;
}
#upload-categories div.control div {
	margin: 0;
	float: left;
}
#upload-categories div.submit input {
	margin-left: .7em;
	margin-top: .1em;
	width: 22px;
	height: 22px;
	border: none;
	text-indent: -9000px;
	background-color: transparent;
	background-image: url(../../img/nefos/list_icons.png);
	background-repeat: no-repeat;
	cursor: pointer;
}
#upload-categories div.submit input:hover {
	margin: .2em -.1em -.1em .8em;
}

#uploads {
	top: 19em;
}

#uploads td .drag {
	cursor: move;
}

#uploads td:first-child {
	width: 40px;
}

#uploads td.buttons {
	width: 48px;
	padding: 0;
	margin: 0;
}

.upload-editor{border: 1px solid #000; width: 400px; height: 300px;}
.upload-editor label, .upload-editor select{float: left;}

div.cropper {
	overflow: visible !important;
	border: 1px solid #000 !important;
}
.cropper div {
	margin: 0;
}

.ui-resizable-knob-handle {
	border: 1px solid #000 !important;
}

.canvas .bg {
	position: absolute;
	height: 3000px;
	width: 3000px;
	background-color: #000;
	overflow: hidden;
	opacity: 0.3;
	margin: 0 !important;
	padding: 0 !important;
}

.canvas .bg.n {
	top: -3000px;
	left: -1500px;
}

.canvas .bg.s {
	bottom: -3000px;
	left: -1500px;
}

.canvas .bg.w {
	height: 100%;
	left: -3000px;
}

.canvas .bg.e {
	height: 100%;
	right: -3000px;
}

