/* Скрытый элемент и элемент JS */

.hidden, .js_enabled {
	display: none;
}

/* Обтекания */

.float_left {
	float: left;
}

.float_right {
	float: right;
}

/* Невидимый элемент */

.invisible {
	opacity: 0;
}

/* Заголовки */

#bitrix_center_template h1, #bitrix_center_template h2, .zend_banks h1, .zend_banks h2 {
	margin: 0 0 15px;
    padding: 15px 0 5px;
	/*border-bottom: 1px solid #ccc;*/
}

/* Рамка рисунка-ссылки */

.zend_banks a img {
	border: none;
}

/* Важная ссылка */

a.important_link {
	font-weight: bold;
}

/* Важная кнопка */

a.important_button {
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background: #004080;
}

	/* При наведении мышью */

	a.important_button:hover, a.important_button:visited {
		color: #fff;
		text-decoration: underline;
	}	
	
	a.important_button:link {
		color: #fff;
	}
	
	/* При наведении мышью */
		
	#upload_button a.important_button:hover {
		color: #fff;
		text-decoration: none;
	}

/* Ссылки JS */

a.is_js_handlers {
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
}

/* Элементы формы Zend */

.zend_form input[type='text'], .zend_form input[type='password'], 
.zend_form textarea, .zend_form select, .zend_form fieldset {
	border: 1px solid #ccc;
}

	/* Обязательные элементы ... */

	.zend_form .required:after {
		content: "*";
		color: #cc5252;
	}
	
		/* ... кроме следующих */
		
		.zend_banks #search_form .required:after, #course_set .required:after, #exchange_add .required:after, #exchange_edit .required:after, 
		#options_edit .required:after, #auth .required:after, #user_add .required:after, #district_add .required:after, 
		#district_edit .required:after, .zend_banks #image-label .required:after {
			content: "";
		}

	/* Набор полей */
	
	.zend_form fieldset {
		width: 420px;
		padding: 0; 
		padding-bottom: 15px;
	}
		
		/* Заголовок */
		
		.zend_form fieldset legend {
			margin-left: 10px;
		}
	
		/* Элементы */
	
		.zend_form fieldset dt, .zend_form fieldset dd {
			margin-top: 5px;
			margin-left: 40px;
			margin-right: 10px;
		}
		
	/* Captcha */
	
	.zend_form #captcha-input {
		display: block;
	}

/* Форма поиска */

.zend_banks .search_form {
	position: absolute;
	padding: 0;
	padding-top: 20px;
	border: 1px solid #ccc;
	background: #f4fbff;
	z-index: 5;
}
	
	/* Заголовок поиска */
	
	.zend_banks .search_form h3 {
		margin-top: 0;
		padding-top: 0;
	}
	
	/* CSRF */
	
	.zend_banks .search_form #csrf-label, .zend_banks .search_form #csrf-element {
		display: none;
	}
	
	/* Заголовок, текст и форма поиска */
	
	.zend_banks .search_form h3, .zend_banks .search_form p, .zend_banks .search_form .zend_form {
		margin-left: 20px;
		margin-right: 20px;
	}
	
	/* Кнопка "Submit" */
	
	.zend_banks .search_form #submit-element {
		margin-bottom: 25px;
	}

/* Ошибки формы Zend */

.zend_form .errors {
	color: #964141
}

/*.zend_form .errors {
	margin-top: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	max-width: 400px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background: #ffeaea;
}*/

/* Ошибки загрузки */

.zend_banks #upload_errors {
	color: #cc5252;
	font-weight: bold;
}

/* Список страниц */

.paginator {
	margin-top: 10px;
}
	
/* Таблица */

.zend_banks table {
	border-collapse: collapse;
}

	/* Простая ячейка и заголовок */

	.zend_banks table th, .zend_banks table td {
		padding: 0 5px;
	}

/* Карта */

.zend_banks #map .content {
	display: none;
	position: relative;
	width: 600px;
	height: 400px;
	overflow: hidden;
}

/* Ошибка карты */

.zend_banks #map .map_error {
	color: #964141
}

	/* Пункт списка в просмотре филиала */
	
	#branch_view #map .map_error li {
		list-style: none;
	}

/* Сортировки */

.zend_banks #sorts .active {
	font-weight: bold;
}

/* Слайдеры */

.slider .period {
	width: 200px;
}

	/* Все элементы */
	
	.slider select, .slider .work, .slider .is_break, .slider .break, .slider .exchange, .slider .start, .slider .period, .slider .end {
		float: left;
	}
	
	/* Периоды работы, перерыва и курсов */
	
	.slider .work, .slider .break, .slider .exchange {
		position: relative;
	}
	
	/* Почти все элементы */
	
	.slider select, .slider .work, .slider .is_break, .slider .break, .slider .exchange {
		margin-right: 20px;
	}
	
	/* Левое и правое значения */
	
	.slider .start, .slider .end {
		position: absolute;
		top: 20px;
		font-size: 11px;
	}
	
	/* Левое значение */
	
	.slider .start {
		left: 0;
	}
	
	/* Правое значение */
	
	.slider .end {
		right: 0;
	}

/* Значок загрузки */

#zend_wait img {
	margin-left: -5px;
}

/* Кнопка загрузки файлов */

.zend_banks #upload_button {
	width: 200px;
	height: 30px;
}
	
	/* Ссылка */
	
	.zend_banks #upload_button a {
		position: relative;
		top: 5px;
	}

/* Значок загрузки файлов */

#upload_wait {
	position: absolute;
	margin-top: -4px;
	margin-left: 180px;
}

/* Блок получение кода информера */

.result_code {
	position: absolute;
	left: 50%;
	margin-left: -250px;
	margin-top: -200px;
	width: 500px;
	border: 1px solid #ccc;
	background: #f4fbff;
	z-index: 5;
}

	/* Элементы */

	.result_code h3, .result_code p, .result_code textarea {
		margin-left: 20px;
	}
	
	.result_code textarea {
		float: left;
	}
	
	.result_code p {
		clear: both;
	}
	
		/* Блок ссылки "Закрыть" */
	
		.result_code .close_block {
			text-align: center;
		} 

	/* Область ввода */

	.result_code textarea {
		width: 460px;
		height: 85px;
	}
	
/* Значок загрузки */

#site_wait {
	position: absolute;
	left: 50%;
	margin-left: -110px;
}

/* Кнопка "Закрыть" в форме поиска */

.close_search {
	margin-right: 20px;
}

/* Админка */

.admin_menu {
	position: absolute;
	top: 20px;
	right: 15px;
	padding: 10px;
	background: #f7f7f7;
}