.dialog-window {
    border: 0;
    width: auto;
    padding:5px;
    overflow: hidden;
    font-family:Helvetica,Verdana,Sans-serif;
}

.dialog-window .tab-page {
    position:relative;
}

.dialog-window .tab {
    font-size:12px;
	background: #F5F5F5 !important;
	text-shadow: #FFF 1px 1px 0;
	-moz-box-shadow: 1px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 1px 1px rgba(0,0,0,0.2);
	box-shadow: 0px 0px rgba(0,0,0,0.2);
	position: relative;
	top: 2px;
	margin: 0 !important;
	&.selected {
		background-color: #ffc !important;
		padding-top: 4px !important;
		padding-bottom: 5px !important;
		border-bottom: 1px solid black !important;
		top: 2px;
	}
	&:first-child {
		margin-left: 20px !important;
	}
}

.tab a {
	background-repeat: no-repeat;
	padding-left: 20px;
}
.dialog-close {
	position: absolute;
	top: 5px;
	right: 0px;
	font-size: 12px;
}

.dialog-еrror {
	margin-top: 5px;
	border: solid 1px red;
	background-color: #ffc;
}

.dialog-еrror ul{
	margin: 0;
	padding: 5px;
	list-style: none;
	color: #F00;
	font-size: 0.9em;
}

.cssGallery .listTitle{
	font-size: 1em;
	font-weight: bold;
}

.dialog-window .chzn-container,  .dialog-window input[name='imgTitle'], select{
	width: 100% !important;
}

.dialog-window .chzn-drop, .dialog-window .chzn-search input{
	width: 99% !important;
}

.dialog-title {
	margin-top: 5px;
	padding: 5px;
	border: solid 1px #ccc;
	background-color: #ffe;
	margin-bottom: 5px;
	font-size: 0.9em;
	padding-left: 23px !important;
	background-repeat: no-repeat;
	background-position: 3px center;
}

.dialog-window .vertical .formTitle {
	background: none !important;
	border: none;
	color: #000;
	font-weight: bold;
	font-size: 1em; 
	position:relative;
	top: -5px;
	padding: 0px;
}

.narrow .vertical .formTitle {
	font-size: 1em; 
}

.dialog-window .vertical .formSection {
	background: none !important;
	padding: 0px;
}

.dialog-window .vertical .formTable{
	-moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    width: 100%;
    td {
        border: none !important;
        max-width: 220px;
    }
}

.dialog-window .vertical .formToolbar, .dialog-window.narrow .vertical .formToolbar {
	background: none;
	border: none !important;
}

.dialog-window .formFieldCaption{
	font-size: 0.96em;
}