* {
    margin:  0px;
    padding: 0px;
}
.clear{clear:both}
.wrap {
    width: 800px;
    text-align: center;
    overflow: hidden;
    clear: both;
    margin: 0 auto;
}
#metro-submit, #district-submit {
    margin-top: -10px;
}
.metro-station-title input[type="text"], .district-title input[type="text"] {
    margin-bottom: 0;
    margin-right: 10px;
}
.t-right {
    text-align: right !important;
}
th.controls, td.controls {
    text-align: right !important;
    width: 60px;
}
th.id-column, td.id-column {    
    width: 30px !important;
}
#region-select {
    width: 100%;
}
.dashed-underline {
    border-bottom: 1px dashed #515151;
}
h1.admin-page-title {
    font-size: 24px;
    line-height: 30px;
    margin: 0;
}
.hide {display: none;}
span.logout a {
    display: block;
    margin-top: 10px;
    color: white;
}
.table-edit {
    width: 100%;
}
.table-edit tr>td:first-child {
    width: 25%;
}
.table-edit tr>td:last-child {
    width: 75%;
}
#desc {
    /*height: 300px;*/
    width: 100%;
    resize: none;    
}
.album-desc {
    width: 99% !important;
    height: 200px;
}

.ui-combobox {
    position: relative;
    display: inline-block;
}
.ui-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}
.ui-combobox-input {
    margin: 0;
    padding: 0.3em;
}
.undotted-lists ul {
    list-style: none;
}
.undotted-lists > ul {
    padding: 0;
    margin: 0;
}
.undotted-lists ul.metro-district {
    /*width: 45%;*/
    /*float: left;*/
}
.undotted-lists li.title {    
/*    font-size: 13px;
    margin-top: 10px;
    color: #111;
    font-weight: bold;*/
}
.li-town {
    /*clear: both;*/
    /*border-bottom: 1px solid #999;*/
}
.li-town:last-child {
    border-bottom: none;
}
.add-address {
    margin-top: -3px;
}
.remove-address {
    margin: -9px 0 0 5px !important;
}
.remove-main-address {
    margin-top: -10px;
}
.main_address {
    width: 84% !important;
}
.address-input {
    width: 90%;
}
.address-input:last-child {
    margin-bottom: 0;
}
.accordion-heading {
    background: #f5f5f5;
}
.checkbox-input {
    margin: 0 !important;
}
.add-main-address {
    margin-top: -10px;
}

.table-service tr > td:first-child {
    width: 300px;
}

.admin-filter-header {
    font-weight: bold;
    display: block;
    margin: 10px 0;
}

.aligned-flags input[type="checkbox"] {
    margin: -2px 0 0 0px !important;
}

.thumb220 .thumbnail {
    display: table-cell;
    vertical-align: middle;
    width: 210px;
    height: 180px;
    position: relative;
}

.fileupload .thumbnail {
    /*display: table-cell;*/
}

.thumb220 .thumbnail i.icon-remove {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

#uploads-area .uploaded {
    position: relative;
    margin-bottom: 49px !important;
}
#uploads-area .uploaded a.remove-photo {
    position: absolute;
    bottom: -1px;
    right: 10px;
}
#uploads-area .uploaded .thumbnail {
    display: table-cell; width: 200px; height: 150px;
}

/*
    Галерея
*/
.gallery {
	margin-top:0;
	padding: 0;
}

.gallery label {
    display: block;
}

#drop-files {
	position:relative;
	width: 500px;
	height: 140px;
	margin: 0 auto;
	background: rgba(0,0,0,0.1);
	border-radius: 10px;
	border: 4px dashed rgba(0,0,0,0.2);
	padding-top:80px;
	text-align: center;
	font-size: 2em;
	font-weight: bold;
}

#drop-files p {
	clear:none;
	padding:0;
	margin:0;
}

#uploaded-holder {
	display: none;
	position:relative;
	margin: 0 auto;
}

#dropped-files {
	display:block;
	margin: 0 auto;
	width: 950px;
}

#upload-button {
	z-index: 9999;
	display: none;
	margin: 20px 0;
}

.drop-button {
	display: block;
	position: absolute;
	z-index: 9999;
	padding: 5px;
	width: 100%;
	background: rgba(0,0,0,0.6);
	font-size: 1em;
	bottom: 0;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	color: #FFF;
}

#dropped-files .image {
	position: relative;
	height: 200px;
	width: 300px;
	border: 4px solid #fff;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
	background: #fff;
	float: left;
	border-radius: 4px;
	margin: 0 7px 7px 0;
	overflow: hidden;
}

#upload-button .ss-upload {
	font-size: 0.7em;
}

#upload-button a {
	padding: 10px 20px;
}

#upload-button span {
	position:relative;
	text-align: center;
	background: white;
	border-radius: 10px;
	font-size: 1.1em;
	padding: 6px;
	margin-right: 8px;
}

#dropped-files #upload-button .delete {
	padding: 7px 6px 4px 6px;
	margin-left: 8px;
}

#loading {
	display: none;
	width: 100%;
	position: relative;
	margin: 20px;
}

#loading-bar {
	width: 404px;
	height: 40px;
	background: #fff;
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
	border-radius: 5px;
	padding: 2px;
}

.loading-color {
	width: 0%;
	height: 100%;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-ms-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
	border-radius: inherit;
	background-color: #4edbf1;
}

#loading-content {
	position: relative;
	top: 15px;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	width: 405px;
}

#file-name-holder {
	width: 100%;
	float: left;
}

#file-name-holder h1 {
	text-align: center;
	padding: 20px 0;
	font-size: 3em;
	margin: 0;
}

#uploaded-files {
	width:500px;
	list-style:none;
	margin:0 auto;
	padding: 10px;
	color: #545454;
}

#uploaded-files li {
	padding: 10px;
	border-bottom: 1px solid #eee;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 25px;
	color: #545454;
}

#uploaded-files a {
	color: #1bacbf;
}
.main {
	width:900px;
	margin:0 auto;
	height:100%;
	margin-top:100px;
}
.main img {
	position:relative;
	float:left;
	width:280px;
	height:180px;
	margin:10px;
}
.file_upload {
  /* Для того, чтобы спозиционировать input
     относительно контейнера. */
  position: relative;
  /* Скрываем неумещающуюся часть input-а. */
  overflow: hidden;
 
  /* Украшательство: */
  background: #eee;
  border: 1px solid #ccc;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  padding: 5px;
  width: 70px;
}
 
.file_upload input[type=file] {
  /* Позиционируем правый верхний край
     input поверх нашего контейнера.
     Правый верхний потому как именно там
     у нас кнопка. */
  position: absolute;
  top: 0; right: 0;
 
  /* Делаем input побольше, чтобы он точно
     перекрыл контейнер. */
  font-size: 200px;
 
  /* Делаем input невидимым. По-другому нельзя,
     иначе браузер не будет на него реагировать. */
  opacity: 0;
  filter: alpha(opacity=0);
 
  /*  Украшательства: */
  cursor: pointer;
}

::-webkit-file-upload-button { cursor:pointer; }

.tab-content {
    overflow: hidden;
}

/*
    Галерея (админ)
*/
#drop-files {
	position:relative;
	width: 500px;
	height: 140px;
	margin: 0 auto;
	background: rgba(0,0,0,0.1);
	border-radius: 10px;
	border: 4px dashed rgba(0,0,0,0.2);
	padding-top:80px;
	text-align: center;
	font-size: 2em;
	font-weight: bold;
}

#drop-files p {
	clear:none;
	padding:0;
	margin:0;
}

#uploaded-holder {
	display: none;
	position:relative;
	margin: 0 auto;
}

#dropped-files {
	display:block;
	margin: 0 auto;
	width: 950px;
}

#upload-button {
	z-index: 9999;
	display: none;
	margin: 20px 0;
}

.drop-button {
	display: block;
	position: absolute;
	z-index: 9999;
	padding: 5px;
	width: 100%;
	background: rgba(0,0,0,0.6);
	font-size: 1em;
	bottom: 0;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	color: #FFF;
}

.main-button {
	display: none;
	z-index: 9999;
	padding: 5px;
	width: 100%;
	background: rgba(0,0,0,0.6);
	font-size: 1em;
	bottom: 0;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	color: #FFF;
}

#dropped-files .image {
	position: relative;
	height: 200px;
	width: 300px;
	border: 4px solid #fff;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
	background: #fff;
	float: left;
	border-radius: 4px;
	margin: 0 7px 7px 0;
	overflow: hidden;
}

.gallery .main-image {
	position: relative;
	height: 200px;
	width: 300px;
	border: 4px solid #fff;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
	background: #fff;
	border-radius: 4px;
	margin: 7px 7px 7px 310px;
	overflow: hidden;
}

#upload-button .ss-upload {
	font-size: 0.7em;
}

#upload-button a {
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	box-shadow: 0 0 1000px 62px rgba(255, 255, 255, 1), inset 0 -35px 40px -10px #0A9FCA;
	font-size: 20px;
	padding: 10px 20px;
	background-color: #4bc1e3;
	border-radius: 10px;
}

#upload-button span {
	position:relative;
	text-align: center;
	background: white;
	border-radius: 10px;
	font-size: 1.1em;
	padding: 6px;
	margin-right: 8px;
}

#upload-button a:hover {
	box-shadow: 0 0 1000px 62px rgba(255, 255, 255, 1), inset 0 -5px 40px 0px #0A9FCA;	
}


/*#dropped-files #upload-button .delete {
	padding: 7px 6px 4px 6px;
	border-radius: 100px;
	background: rgba(0,0,0,0.6);
	box-shadow: none;
	font-size: 1em;
	margin-left: 8px;
}*/

/*#dropped-files #upload-button .delete:hover {
	background: rgba(0,0,0,0.8);
}*/

#loading {
	display: none;
	width: 100%;
	position: relative;
	margin: 20px;
}

#loading-bar {
	width: 404px;
	height: 40px;
	background: #fff;
	box-shadow: 0 0 15px rgba(0,0,0,0.1);
	border-radius: 5px;
	padding: 2px;
}

.loading-color {
	width: 0%;
	height: 100%;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-ms-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
	border-radius: inherit;
	background-color: #4edbf1;
}

#loading-content {
	position: relative;
	top: 15px;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	width: 405px;
}

#file-name-holder {
	width: 100%;
	float: left;
}

#file-name-holder h1 {
	text-align: center;
	padding: 20px 0;
	font-size: 3em;
	margin: 0;
}

#uploaded-files {
	width:500px;
	list-style:none;
	margin:0 auto;
	padding: 10px;
	color: #545454;
}

#uploaded-files li {
	padding: 10px;
	border-bottom: 1px solid #eee;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 25px;
	color: #545454;
}

#uploaded-files a {
	color: #1bacbf;
}

.exhibitions{
	margin:0 auto;
	width:700px;
	border:0px solid red;
}

.exhibitions .input{
	float:right;
	clear:both;
}

.exhibitions .input input[type="text"],input[type="file"]{
	width:400px;
}

.exhibitions .input input[type="checkbox"]{
	margin:25px;
}

.exhibitions .input select{
	width:415px;
}

.exhibitions .input .field{
	font-size:18px;
	padding-right:10px;
}

.accordion-group:last{
	margin-bottom:20px;
}

/*PAGING*/
.paging {display: inline-block; float: left; margin-left: 10px; margin-top: 10px;}
	.paging a {min-width: 14px; height: 24px; display: block; float: left; padding: 0 5px; margin: 0 4px 0 0;line-height: 24px; text-decoration: none;  text-align: center; background: #ddd;}
	.paging .curpage a {background: #005698; color: #fff; }
	.paging a.last_page, .paging a.first_page {display: none;}
	.paging a:hover {cursor: pointer; background: #ccc; }	
	.paging .curpage a:hover {background: #005698; }