.reclame_photo_block{
	margin-top: 50px;
}

.reclame_photo_block .photo_item{
	margin-bottom: 6px;
}

.reclame_photo_block .photo_item,
.reclame_photo_block .photo_item img{
	width: 100%;
}

.reclame_photo_block .photo_item a{
	border: none!important;
	text-decoration: none!important;
}

.reclame_photo_block.right .photo_item a.a-text,
.reclame_photo_block.right .photo_item p.p-text,
#reclame_manager_page .uploaded-preview p.p-text{
	display: block;
	font-weight: bold;
	font-size: 12px;
	text-align: center;
	color: #000!important;
	margin: 4px 0;
}

.reclame_photo_block.left .photo_item a.a-text,
.reclame_photo_block.left .photo_item p.p-text{
	display: block;
	text-align: left;
	color: #000!important;
	margin: 4px 0;
}

#reclame_manager_page h2{
	text-align: center;
}

#reclame_manager_page .clear{
	clear: both;
}

#reclame_manager_page .add_new_reclame{
	float: left;
	width: 70%;
}

#reclame_manager_page .new_reclame_preview{
	float: right;
	width: 30%;
}

#reclame_manager_page .add_new_reclame label{
	display: inline-block;
	width: 30%;
	text-align: right;
	padding: 1px 10px;
}

#reclame_manager_page .add_new_reclame .for_text input,
#reclame_manager_page .add_new_reclame .for_text select,
#reclame_manager_page .add_new_reclame .for_link p{
	display: inline-block;
	width: 60%;
	padding: 1px 8px;
	font-size: 12px;
}

#reclame_manager_page .add_new_reclame .for_text input.invalid{
	background-color: #F99;
}

#reclame_manager_page .add_new_reclame .for_link a.invalid{
	color: #F99;
}

#reclame_manager_page .add_new_reclame .for_radio p{
	display: inline-block;
	width: 60%;
}

#reclame_manager_page .add_new_reclame .for_radio input{
	margin: 0;
}

#reclame_manager_page .add_new_reclame .for_radio p label{
	display: block;
	width: 100%;
	text-align: left;
	font-size: 12px;
}

#reclame_manager_page .add_new_reclame #delete_pict,
#reclame_manager_page .add_new_reclame #add_pict,
#reclame_manager_page .add_new_reclame #process_pict{
	display: none;
}

#reclame_manager_page .new_reclame_preview .preview_conteiner{
	width: 90%;
}

#reclame_manager_page .new_reclame_preview .preview_conteiner img{
	width: 100%;
}

#reclame_list_page{
	font-size: 14px;
}

#reclame_list_page .add-reclame{
	display: inline-block;
	margin: 15px 0 50px 0;
}

#reclame_list_page table{
	width: 50%;
}

#reclame_list_page table tr.gray,
#reclame_list_page table tr.gray a{
	color: #ccc;
}

#reclame_list_page table td{
	padding-bottom: 35px;
}

#reclame_list_page table table td{
	padding-bottom: 0;
}

#reclame_list_page table .info{
	width: 160px;
}

#reclame_list_page table .info a{
	border: none;
	text-decoration: none;
}

#reclame_list_page table .info p,
#reclame_list_page table .info img{
	width: 150px;
	font-size: 12px;
	text-align: center;
	margin: 0;
}



#reclame_list_page table .control{
	vertical-align: top;
}


#reclame_list_page table .control a{
	visibility: hidden;
}


#reclame_list_page table tr:hover .control a{
	visibility: visible;
}


#reclame_manager_page .for_text {
	position: relative;
}

#reclame_manager_page .for_text .sport-selected.sample{
	display: none;
}

#reclame_manager_page .for_text .sport-selected{
	margin-left: 205px;
	font-size: 90%;
}

#reclame_manager_page .for_text .sport-selected a.delete{
	display: inline-block;
	margin-left: 5px;
	position: relative;
	top: 3px;
	text-decoration: none;
	border: none;
}

#reclame_manager_page .combobox,
#apps_group_form .combobox,
#reclame_manager_page .input-in-select-box {
	position: absolute;
	left: 33%;
	margin-top: -12px;
	margin-left: 1px;
	display: block;
	background: #fff;
	color: #000;
	z-index: 100;
	-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.5);
	text-shadow: 0px 0px 0px rgba(0,0,0,0.3);
	width: 62%;
	max-height: 200px;
	overflow-x: hidden;
	overflow-y: auto;
}

.combobox li,
.input-in-select-box li {
	width: 276px;
/*	height: 18px;*/
	padding: 2px 14px;
	overflow: hidden;
	border-bottom: 1px solid #ddd;
}

.combobox li p,
.input-in-select-box li p{
	margin-bottom: 0;
}

.combobox li p.distfield,
.combobox li p.regionfield,
.input-in-select-box li p{
	font-size: 9px;
}

#reclame_manager_page input + ul.input-in-select-box {
	display: none;
}

#reclame_manager_page input:focus + ul.input-in-select-box,
#reclame_manager_page input + ul.input-in-select-box:hover {
	display: block;
}

#reclame_manager_page input + ul.input-in-select-box.hide:hover{
	display: none;
}
