.admin-form {
	width: auto;
}

.field, div.buttons {
/*	width: 100%;*/
/*	clear: both;*/
/*	float: left;*/
}
	.field label,
	.field dt {
/*		float: left;*/
/*		clear: left;*/
		display: block;
		margin-bottom: 5px;
		font-size: 0.9em;
	}
	.field label span {
		color: red;
	}
	.field.choose-link input {
		width: 70%;
	}
	.field.choose-link a {
/*		float: left;*/
		font-size: 0.8em;
		margin-left: 15px;
		line-height: 22px;
		text-decoration: none;
		color: #428BDF;
	}
		.field.choose-link a:hover {
			text-decoration: underline;
			color: #228;
		}
	.field input.input,
	.field textarea,
	.field .media-list-container {
/*		float: left;*/
/*		clear: left;*/
		width: 100%;
		padding: 4px;
	}
	.field dd {
/*		float: left;*/
/*		clear: left;*/
		width: 100%;
		font-size: 1em;
		padding: 4px;
		background-color: #FFF;
	}
	.cp-content .field input.readonly {
		background-color: #F8F8F8;
		border-color: #BBB;
	}
	.field textarea.fck-field {
		padding: 0;
		margin: -1px 0;
	}
	.field select {
/*		float: left;*/
/*		clear: left;*/
		margin: 5px 2px 4px;
		width: auto;
		padding: 0;
	}
	.field.multi-level p {
		clear: left;
		margin: 0.4em 0;
		font-weight: bold;
	}
	p.error {
		float: right;
		font-size: 0.9em;
		color: #E24948;
		margin-top: 3px;
	}
	.field input.calendar {
		width: 150px;
	}
	.field input.check_box {
		border: 0 !important;
		background: none !important;
	}
	.field span.calendar {
		float: left;
	}
	div.location div,
	div.location div input,
	div.location p {
		clear: left;
/*		float: left;*/
	}
	div.location p {
		width: 100%;
		margin: 10px 0;
	}
		div.location input {
			margin-right: 7px;
		}
    .field div.repeater-content {
        clear: both;
        display: block;
    }
    .field div.repeater-content div.repeater-content-item-container {
        margin-bottom: 5px;
    }
    .field div.repeater-content div.repeater-content-item input,
    .field div.repeater-content div.repeater-content-item select,
    .field div.repeater-content div.repeater-content-item textarea {
        clear: none;
    }
	div.date-select select,
	div.card-select select {
		clear: none;
		margin-right: 5px;
	}
	div.date-select label,
	div.card-select label {
		display: block;
		float: none;
	}
	.field .option_cols {
		clear: left;
	}
	.field .select_option_col {
		float: left;
		list-style: none;
		margin: 0;
	}
	
.cp-content div.array {
/*	width: auto;*/
}
div.array fieldset {
	border: 1px solid #999;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 10px 10px 0;
	background:#FFF;
	clear: both;
}
	div.array fieldset .array-field {
		padding-left: 150px;
		margin: 0 8px 10px 0;
	}
		div.array fieldset .array-field label {
			float: left;
			margin: 0 0 -100px -150px;
			width: 140px;
			padding-top: 5px;
		}
		div.array fieldset .array-field .input {
			width: 100%;
		}

.cp-content .field {
	background-color: #F1F2F9;
}
.cp-content .field.field-alt {
	background-color: #FFF;
}

.cp-content div.buttons {
/*	width: 40%;
	clear: both;
	float: right;*/
	width: 96%;
	padding: 15px 2%;
	text-align: right;
/*	border: 1px solid red;*/
}
.cp-content .field {
/*	width: 96%;*/
	padding: 15px 25px 15px 15px;
}

	.cp-content .field input, .cp-content .field textarea {
		background: #FFF url(/core/images/form-field_bg.gif) repeat-x 0 0px;
		border: none;
		border: 1px solid #999;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
	}
	.cp-content .field textarea {
		line-height: 1.5;
	}
	.cp-content .field input.number {
		width: 120px;
	}
	.cp-content .field dd {
		background: #F8F8F8;
		border: 1px solid #BBB;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		font-family: "Lucida Grande", arial, sans-serif;
		font-size: 11px;
		line-height: 14px;
		height: auto !important;
		height: 14px;
		min-height: 14px;
	}

	.cp-content .admin-table .field {
		padding: 0;
	}

.field iframe {
/*	float: left;*/
/*	clear: left;*/
	width: 100%;
}


/* media library */
#media-list-container {
/*	clear: left;*/
/*	float: left;*/
}
	.media-select-link,
	.media-select-wait {
	    padding-left: 20px;
		margin-top :10px;
/*		float: left;*/
	    background: transparent url(/core/images/icons/application_view_gallery.gif) left center no-repeat;
	    cursor: pointer;
	}
	.media-select-wait {
		display: none;
		color: #1C4FAD;
		background-image: url(/core/images/spinner-grey.gif);
	}
		.field-alt .media-select-wait {
			background-image: url(/core/images/spinner-white.gif);
		}
	.updating .media-select-link {
	    display: none;
	}
	.updating .media-select-wait {
	    display: inline;
	}


	#media-list-container img {
		-webkit-box-shadow: RGBA(25,25,25,0.6) 1px 1px 3px;
		margin: 2px;

	}


/** Core Assets **/
.core-asset-field p {
	margin: 1em 0;
	}
.field .core-asset-items {
	clear: left;
	}
.field .core-asset-item,
.field .core-asset-pending,
.field .core-asset-item-placeholder {
	float: left;
	}
.field .core-asset-pending {
	font-size: 0.8em;
	margin-bottom: 2px;
	background: #FFF url(/core/images/assets-wait.gif) center center no-repeat;
	text-indent: -9999em;
	}
.field .core-asset-item-template {
	display: none;
	}
.field .core-asset-item {
	width: 100px;
	height: 82px;
	text-align: center;
	margin: 8px;
	-webkit-box-shadow: RGBA(25,25,25,0.4) 1px 1px 5px;
	-moz-box-shadow: RGBA(25,25,25,0.4) 1px 1px 5px;
	padding: 2px 4px;
	background-color: #FFF;
	position: relative;
	}
	.field .core-asset-item div {
		text-align: center;
	}
	.field .core-asset-item a,
	.field .core-asset-item img {
		-moz-user-select: none;
		-webkit-user-select: none;
		/* this will work for QtWebKit in future */
		-webkit-user-drag: none;
		}
	.field .core-asset-item .icon {
		margin-top: 5px;
		}
	.field .core-asset-item .caption {
		font-size: 0.8em;
		text-align: center;
		}
	.field .core-asset-items .control {
		position: absolute;
		top: 4px;
		right: 3px;
		text-indent: -999em;
		height: 16px;
		width: 16px;
		display: none;
		}
	.field .core-asset-item:hover .control {
		display: block;
		}
    .field .core-asset-item .delete {
		background-image: url(/core/images/icons/cross.png);
        }
    .field .core-asset-item .view-original {
		background-image: url(/core/images/icons/view-original.png);
        left: 4px;
        }
	.field .core-asset-items .pending {
		width: 100px;
		height: 82px;
		text-align: center;
		}
		.field .core-asset-items .pending img {
			margin-top: 2.5em;
			}

/** Plain template version **/
.field.plain .core-asset-item {
	height: 90px;
	}
	.field.plain .core-asset-item .control {
		position: relative;
		text-indent: 0;
		display: inline;
		background-image: none;
		font-size: 0.8em;
		}
.field .core-asset-uploader-plain {
	position: relative;
	}
	.field .core-asset-uploader-plain .button {
		float: left;
		display: block;
		margin-top: 2px;
		}
	.field .core-asset-uploader-plain .input {
		float: left;
		width: 160px;
		}

	.field .core-asset-uploader-plain input.file {
		position: absolute;
		top: 0px;
		left: 0px;
		z-index: 2;
		-moz-opacity: 0;
		filter:alpha(opacity: 0);
		opacity: 0;
		}
	.field .core-asset-uploader-plain .file-overlay {
		z-index: 1;
		}

.field .core-asset-item-placeholder {
	margin: 8px;
	width: 108px;
	height: 86px;
	background-color: #E4E8EE;
	}
.field .core-asset-uploader {
	float: right;
	padding: 3px 6px;
	margin-top: -2.25em;
	margin-right: -1em;
	}
.field .core-asset-uploader .upload-button,
.field .core-asset-uploader .upload-messages {
	float: right;
	}
	.field .core-asset-uploader .upload-button {
		position: relative;
		overflow: hidden;
		}
	/*.field .core-asset-uploader .button {
		margin: 0;
		}*/
	.field .core-asset-uploader .overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 400px;
		height: 100px;
		}
	.field .core-asset-uploader .upload-messages {
		padding: 0.5em;
		padding-right: 1em;
		font-size: 0.8em;
		}

	.field .core-asset-messages {
		display: none;
		background-color: #D5D8E4;
		margin: -5px auto 0 auto;
		width: 50%;
		font-size: 0.8em;
		padding: 0.25em 0.5em 0.5em 0.5em;
		text-align: center;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		}

/* file inputs  old style */

.admin-form .file-input {
	float: left;
	position: relative;
	text-align: right;
	width:  300px;
	height: 25px;
}

.admin-form .file-input .input {
	float: left;
	width:  160px;
}

.admin-form .file-input input.file {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 2;
	-moz-opacity: 0;
	filter:alpha(opacity: 0);
	opacity: 0;
	width: default;

}

.admin-form .file-input .file-overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	width: 300px;
}

.admin-form .file-input .button {
	float: left;
	display: block;
}


/* file and image upload old style */

.admin-form  p.file-name {
	color: #666;
	clear: both;
}


.admin-form  .file-name img {
	border: 1px solid #CCC;
	padding: 5px;
	margin: 5px 0 6px 0;
}

.admin-form  .file-name img.icon {
	vertical-align: bottom;
	margin: 5px 0 4px 0;
	padding: 0;
	border: 0;
}

.admin-form  .file-name a.delete {
	clear: left;
	margin-top: 10px;
}

.model-repeater {

}
	.model-repeater .nodes {
		width: 70%;
		margin-top: 10px;
		border: 1px solid #999;
		padding: 10px 10px 0;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		background:#F1F2F9;
	}
	.field-alt.model-repeater .nodes {
		background:#F1F2F9;
	}
		.model-repeater .nodes .node {
			background:#FFFFFF url(/core/images/form-field_bg.gif) repeat-x scroll 0 0;

			border: 1px solid #999;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			padding: 12px 10px;
			margin-bottom: 10px;
		}
			.model-repeater .nodes .node .field {

			}

	.model-repeater .remove {
		float: right;
	}

.flagmap {
	position: relative;
	background-position: 0 0;
}
	.flagmap .mappoint {
		position: absolute;
		top: 0;
		left: 0;
		height: 0;
		width: 0;
	}
		.flagmap .mappoint .pointmarker {
			display: block;
			position: absolute;
			width: 10px;
			height: 10px;
			left: -5px;
			top: -5px;
			background: red;
			overflow: hidden;
		}
		.flagmap .dirty .pointmarker{
			background: green;
		}
		.flagmap .dragging .pointmarker{
			background: blue;
		}
		.flagmap .mappoint .pointcontent {
			position: absolute;
			display: none;
			width: 400px;
			background: #FFF;
			padding: 10px;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			-webkit-box-shadow: 3px 3px 10px RGBA(0,0,0,0.3);
			-moz-box-shadow: 3px 3px 10px RGBA(0,0,0,0.3);
		}
		.flagmap .se .pointcontent {
			top: 0;
			left: 0;
		}
		.flagmap .sw .pointcontent {
			top: 0;
			right: 0;
		}
		.flagmap .nw .pointcontent {
			bottom: 0;
			right: 0;
		}
		.flagmap .ne .pointcontent {
			bottom: 0;
			left: 0;
		}
			.flagmap .mappoint .pointcontent img {
				float: left;
				margin-right: 10px;
			}
			.flagmap .hover {
				z-index: 10;
			}
			.flagmap .hover .pointcontent {
				display: block;
			}
.field .flagmap {
	margin-bottom: 20px;
}
.flagmap-field p.link {
	clear: both;
}

/* ================= */
/* = Clever labels = */
/* ================= */
.field small.form_note {
	display: none;
}
	.cp-content .field small.form_note {
		display: block;
		float:left;
		margin-left:5px;
	}

.field .cleverlabel {
	color: #888;
}

.js .cp-content div.field .form_note {
	display: none;
}

/* ========== */
/* = Banner = */
/* ========== */
.js div.autocomplete select {
	display: none;
}
.field .autocomplete {
/*	float: left;*/
/*	clear: left;*/
	position: relative;
	margin-bottom: 5px;
}
.field ul .autocomplete {
	float: left;
}
	.field .autocomplete .input {
		width: 250px !important;
	}
	.field .autocomplete .options {
		position: absolute;
		z-index: 10000;
		top: 100%;
		left: 0;
		margin-top: -4px;
		padding: 4px 0px 0;
		width: 258px;
		background: #FFF;
		border: 1px solid #999;
		border-top: none;
		display: none;
		-webkit-border-bottom-right-radius: 3px;
		-webkit-border-bottom-left-radius: 3px;
		-moz-border-radius-bottomright: 3px;
		-moz-border-radius-bottomleft: 3px;
		border-bottom-right-radius: 3px;
		border-bottom-left-radius: 3px;
	}

		.field .autocomplete .options.reorder {
			margin-left: 21px;
		}
		.field .autocomplete .options li {
			padding: 5px 4px;
			border-top: 1px dotted #DDD;
			color: #777;
			font-size: 0.833em;
			width: auto !important;
		}
		.field .autocomplete .options li:hover {
			background: #6289F8;
			color: #FFF;
		}

/* adding new values */
.field input.new {
	width: 250px;
}
.js .field input.new {
	display: none;
	margin-left: 10px;
}

/** Length limit display on textareas **/
.limit-length {
	float: right;
	font-size: 0.9em;
	color: #999;
	}
	.limit-length.error {
		color: #EB5A5A;
		}

.import-map {

}
	.import-map td,
	.import-map th {
		padding: 10px;
	}
	.import-map thead th {
		font-weight: bold;
	}
	.import-map td {
		background: #F1F2F9;
	}
	.import-map tr.alt td {
		background: #fff;
	}
	.import-map ul li {
		font-size: 13px;
		padding: 0 0 5px 0;
	}
	.import-map label {
		display: block;
		font-size: 13px;
	}

.selectmodelmultilevel .selects {
	background-position: right top;
	background-repeat: no-repeat;
	}
.selectmodelmultilevel .working {
	background-image: url(/core/images/spinner.gif);
	}
.selectmodelmultilevel .ok {
	background-image: url(/core/images/shop_validate.gif);
	}
.selectmodelmultilevel .breadcrumbs {
	padding: 0.5em 1em;
	}
	.selectmodelmultilevel .change-options {
		padding-left: 20px;
		background: transparent url(/core/images/icons/pencil.gif) left center no-repeat;
		}
	.selectmodelmultilevel .breadcrumbs li {
		display: inline;
		font-size: 0.9em;
		}
		.selectmodelmultilevel .breadcrumbs li span {
			padding: 0 0.5em 0 0.75em;
			color: #999;
			}

