.container {
	display: block;
	height: auto;
	width: auto;
}

.container > .content {
	margin-left: auto;
	margin-right: auto;
	width: 1024px;
}

.popup-frame {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;

	background-color: #333;
	background-color: rgba(30, 30, 30, 0.8);
	z-index: 1000;
}

.popup-frame .iframe-container {
	margin-left: auto;
	margin-right: auto;
	top: 50px;
	position: relative;
	width: 1064px;
	box-shadow: #000 0px 0px 25px;
	border-radius: 10px;
}

.iframe-container .popup-frame-nav {
	background-color: rgb(255, 255, 226);
	text-align: left;
	padding: 2px;
	height: 16px;
}

.iframe-container .popup-frame-nav a {
	float: right;
}

.iframe-container iframe {
	width: 1064px;
	height: 835px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.search .title {
	margin-bottom: 5px;
	color: #ccc;
	padding-bottom: 5px;
}

.search a {
	color: #666;
	text-shadow: white 0px 1px 0px;
	text-decoration: none;
}

.search .title a.mambo_item {
	font-weight: bold;
}

.search .title a:hover,
.search .title a.active {
	text-shadow: white 0px 1px 0px;
	color: #990000;
	text-decoration: underline;
}

.search form input {
	font-size: 11px;
	height: 17px;
}

.search form select,
.search form input {
	outline: none;
	border: 1px inset #CCC;
	border-radius: 3px;
	padding: 3px;
	color: #666;
	text-shadow: #fff 0px 1px 0px;
}

.search form input[type=reset],
.search form input[type=button] {
	border-style: solid;
}

.search form .action {
	text-align: right;
}

.search form select:focus,
.search form input[type=text]:focus {
	border: 1px solid #990000;
	box-shadow: #990000 0px 0px 3px;
	background-color: #f2dbdb;
}

.search form .autolist input,
.search form .text input,
.search form input.freetext {
	width: 235px;
}

.search.simple form input.freetext {
	width: 229px;
}

.search.simple form input.year {
	width: 60px;
}

.search {
	margin: 35px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: #999 0px 0px 2px;
	padding: 15px;
	width: 455px;
	border-radius: 6px;
	background-color: white;
	-webkit-transition: height 0.5s ease-out;
}

.search form input[action=help],
.search form input[action=reset],
.search form input[action=search] {
	color: #333;
	text-shadow: #fff 0px 1px 0px;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 3px;
	padding-bottom: 3px;
	height: 23px;
}

.search form input.loading {
	background-image: url(images/loader.gif);
	background-position: 99% center;
	background-repeat: no-repeat;
	opacity: 0.5;
}

.search.simple form.ext {
	display: none;
}

.search.extended form.simple {
	display: none;
}

.search.extended {
	width: 455px;
	-webkit-transition: width 0.3s ease;
}

.shadow {
	box-shadow: #333 0px 0px 10px;
}

div.rslt_max {
	border-radius: 6px;
	overflow: hidden;
	height: auto;
}

.gradient {
	background: rgb(252, 255, 244);
	background: -moz-linear-gradient(45deg, rgba(252, 255, 244, 1) 0%, rgba(255, 255, 226, 1) 100%);
	background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(252, 255, 244, 1)), color-stop(100%, rgba(255, 255, 226, 1)));
	background: -webkit-linear-gradient(45deg, rgba(252, 255, 244, 1) 0%, rgba(255, 255, 226, 1) 100%);
	background: -o-linear-gradient(45deg, rgba(252, 255, 244, 1) 0%, rgba(255, 255, 226, 1) 100%);
	background: -ms-linear-gradient(45deg, rgba(252, 255, 244, 1) 0%, rgba(255, 255, 226, 1) 100%);
	background: linear-gradient(45deg, rgba(252, 255, 244, 1) 0%, rgba(255, 255, 226, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfff4', endColorstr='#ffffe2', GradientType=1);

}

.container-title,
.toptitle {
	padding-bottom: 5px;
	margin-bottom: 10px;
	border-bottom: 1px inset #DDD;
	color: #444;
	text-shadow: white 0px 1px 0px;
}

.toptitle {
	margin-bottom: 25px;
}

.toptitle span {
	color: #758D86;
}

.container {
	margin-bottom: 25px;
	padding-bottom: 5px;
}

.container .group {
	margin-bottom: 4px;
	color: #666;
}

.order-container .group label,
.constraints-container .group label {
	display: inline-block;
	width: 123px;
}

.search form select.order {
	margin: 0;
}

.group div.autolist,
.group div.text {
	display: inline-block;
}

.container-title .icon {
	display: none;
}

.container-title:hover {
	text-decoration: underline;
	cursor: pointer;
}

.search form select {
	height: 25px;
}

select.field {
	width: 121px;
	margin-right: 2px;
}

.container.collapsed {
	display: none;

}

.fields-container .group {
	margin-bottom: 4px;
}

.result-content > div {
	display: none;
}

.result-content > div.active {
	display: block;
}

.result-container {
	position: absolute;
	top: 40px;
	left: 0;
	right: 0;
	bottom: 0;
}

.group.opt-column {
	width: 217px;
	display: inline-block;
	vertical-align: top;
	color: #666;
	border-radius: 6px;
	border: 1px solid #EEE;
	position: relative;
}

.group.opt-column:hover {
	background-color: white;
	box-shadow: #900 0px 0px 6px;
}

.group.opt-column > label {
	color: #444;
	padding-left: 17px;
	margin-bottom: 4px;
	display: block;
}

.group.opt-column .checkbox-option > label {
	height: 21px;
	display: inline-block;
	cursor: pointer;
}

.group.opt-column label:hover {
	color: #990000;
}

.checkbox-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
	height: 10px;
	width: 10px;
}

.group.opt-column:nth-child(even) {

	margin-left: 15px;
}

.search.shadow.gradient.open {
	width: 955px;
	height: 683px;
	position: relative;
}

.column-right,
.column-left {
	display: inline-block;
	width: 455px;
	vertical-align: top;
	position: relative;
}

.column-right {
	display: none;
}

.search.shadow.gradient.open .column-right {
	display: inline-block;
	position: absolute;
	top: 15px;
	right: 15px;
	bottom: 15px;
}

div.rslt_max {
	background-color: rgba(240, 240, 240, 0.52);
}

.column-right .middle-shadow {
	width: 40px;
	position: absolute;
	top: -15px;
	bottom: -15px;
	left: -41px;
	opacity: 1;
	background: -moz-linear-gradient(left, transparent 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.55) 49%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.1) 75%, transparent 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%, transparent), color-stop(25%, rgba(0, 0, 0, 0.1)), color-stop(49%, rgba(0, 0, 0, 0.55)), color-stop(50%, rgba(0, 0, 0, 0.9)), color-stop(52%, rgba(0, 0, 0, 0.55)), color-stop(75%, rgba(0, 0, 0, 0.1)), color-stop(100%, transparent));
	background: -webkit-linear-gradient(left, transparent 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.55) 49%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.1) 75%, transparent 100%);
	background: -o-linear-gradient(left, transparent 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.55) 49%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.1) 75%, transparent 100%);
	background: -ms-linear-gradient(left, transparent 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.55) 49%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.1) 75%, transparent 100%);
	background: linear-gradient(left, transparent 0%, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.55) 49%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.55) 52%, rgba(0, 0, 0, 0.1) 75%, transparent 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#00000000', GradientType=1);
}

.column-right .close {
	position: absolute;
	right: 0;
	top: 0;
	color: #999;
	font-weight: bold;
	background-image: url(images/close.png);
	width: 9px;
	height: 18px;
	background-position: center center;
	background-repeat: no-repeat;
}

.column-right .close:hover {

	cursor: pointer;
	background-image: url(images/close_hl.png);
}

ul.tabs {
	margin: 0;
	margin-bottom: 5px;
	border-bottom: 1px solid #EEE;
	padding: 5px;
	padding-bottom: 0;
}

ul.tabs li {
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: inline-block;
	margin-left: 2px;
	margin-right: 2px;
	padding-bottom: 3px;
	border-top: 1px solid #EEE;
	padding-left: 15px;
	border-left: 1px solid #EEE;
	border-right: 1px solid #EEE;
	padding-top: 3px;
	position: relative;
	padding-right: 15px;
	box-shadow: #ddd 1px -1px 5px;
	border-radius: 5px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	background-color: #FFFFE2;
	border-bottom: none;
}

ul.tabs li a .close {
	right: 2px;
	top: 1px;
	display: none;
}

ul.tabs li a.active .close {
	display: block;
	right: 5px;
}

ul.tabs li a.active {
	color: #900;
	padding-right: 5px;
}

ul.tabs li:hover {
	background-color: #CCC;
}

.result-content {
	height: 614px;
	overflow: auto;
}

.result-content .total {
	color: #999;
	margin-bottom: 10px;
}

.result-entry span {
	padding: 2px;
	padding-left: 0;
	display: inline-block;
	height: auto;
	vertical-align: top;
}

.result-title {
	width: 340px;
}

.result-entry {
	margin-bottom: 5px;
	border-bottom: 1px solid #DDD;
}

.result-location {
}

.result-pad {
	margin-left: 63px;
}

.result-kv {
	width: 63px;
}

.result-id {
	color: #aaa;
    width: 70px;
}
.autocomplete div {
	padding: 2px 5px;
	white-space: nowrap;
}

.autocomplete strong {
	font-weight: normal;
	color: #3399FF;
}

label {
	cursor: pointer;
	color: #666;
}

.group.opt-column .info {
	cursor: help;
	background-repeat: no-repeat;
	background-position: right center;
	background-image: url(../img/info.png);
	position: absolute;
	left: -11px;
	top: 1px;
	width: 12px;
	height: 12px;
}

form.simple .actions {
	margin-top: 15px;
	text-align: right;
	width: 385px;
}

#loading-icon {
	display: none;
	margin: auto;
	margin-top: 250px;
}
.result-container.loading #loading-icon{
	display: block;
}


.query-item {
    margin: 5px 0;
}
.query-item .remove {
    cursor: pointer;
}

.query-item .query-input,
.query-item .query-date {
    display: inline-block;
}
.query-item .query-date input {
    width: 40px;
}

.query-input .autocomplete-result {
    position: absolute;
    background: #607870;
    color: #f4f4f4;
    border: #ccc;
    padding: 5px 10px;
}
.query-input .autocomplete-result .item{
    cursor: pointer;
}
.query-input .autocomplete-result .item:hover{
    opacity: 0.7;
}
.hide {
    display: none !important;
}
