.posrel {
	position: relative;
}
#storyMode {
	margin: 15px auto 0;
	max-width: 1264px;
	min-height: 500px;
	padding: 0 15px;
	position: relative;
}
.turpravda-wrap .review-h {
	padding-top: 10px;
}
.turpravda-wrap .review-wrap .l-part {
	width: 130px;
}
.turpravda-wrap .review-wrap.story .l-part {
	width: 230px;
}
.review-wrap.story .l-part {
    padding-right: 20px;
}
.contest-media-input {
	display: inline-block;
}
.block-title {
	position: absolute;
	width: 130px;
	left: -170px;
	text-align: right;
}
.searchContainer .block-title {
	margin-top: 10px;
}
.dates .block-title {
	margin-top: 7px;
}
.rubric .block-title {
	margin-top: 2px;
}
.story-name .block-title {
	margin-top: 7px;
}
.story-editor .block-title {
	margin-top: 12px;
}
#addCountry {
	display: inline-block;
	font-size: 12px;
	margin: 0 0 9px;
	cursor: pointer;
}
.dates {
	margin: 4px 0 16px;
}
.rubric {
	margin-bottom: 12px;
}
.rubric select {
	cursor: pointer;
}
.story-name {
	margin-bottom: 18px;
}
.story-name .f-wrap.gen-f {
	height: 20px;
}
.story-editor .errors li:not(:empty) {
	margin: 7px 0 -7px;
}
#fileupload .anotherCntryInput {
	background: url("../img/sight_sh.png") repeat-x scroll left top #fcfcfc !important;
    border: 1px solid #ccc;
    cursor: pointer;
    display: block;
    margin: 15px 0 0;
    padding: 5px 5px 4px;
    width: 264px;
    height: 20px;
}
#fileupload .anotherCntryInput:focus {
	cursor: text;
}
#fileupload .anotherCntryInput:last-child {
	margin-bottom: 10px;
}

/*add photos*/
#media-buttons .button-block {
	float: right;
	margin-top: 22px;
}
#media-buttons .title.review-h {
	float: left;
	margin-top: 17px !important;
}
.insertInEditor {
	cursor: pointer;
	margin-top: 12px;
	display: inline-block;
	height: 32px;
	box-sizing: border-box !important;
	line-height: 14px;
    border: 1px solid #BBBBBB;
    color: #333;
    font-style: normal;
    font-size: 12px;
    font-family: ubuntu,​arial,​sans-serif;
    font-weight: bold;
    padding: 7.5px 15px 5px;
	white-space: nowrap;
	border-radius: 2px;
}
.insertInEditor:hover {
	font-size: 12px;
	text-decoration: none;
}
.template-upload textarea.photo-descr {
	margin-top: -10px;
    min-height: 131px;
    max-height: 131px;
}
.template-upload:first-child textarea.photo-descr {
	margin-top: -7px;
}
#media-buttons .grey-but:after {
	content: '';
	display: block;
	width: 5px;
	height: 3px;
	background-color: #fff;
	z-index: 999;
	position: absolute;
}

/*select rubric*/
.select-wrap:before {
	background: linear-gradient(#fff, #f2f2f2) repeat scroll 0 0 rgba(0, 0, 0, 0);
	content: "";
	display: block;
	height: 30px;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	width: 20px;
}
.select-wrap:after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #999999;
	content: "";
	display: block;
	height: 0;
	pointer-events: none;
	position: absolute;
	right: 10px;
	top: 11px;
	width: 0;
	z-index: 1;
}
.select-wrap {
	background: linear-gradient(#fff, #f2f2f2) repeat scroll 0 0 rgba(0, 0, 0, 0);
	border: 1px solid #d6d6d6;
	display: inline-block;
	overflow: hidden;
	padding: 0 !important;
	position: relative;
	color: #666;
	font-size: 14px;
	font-weight: bold;
}
.select-wrap select {
	color: #222;
	font-family: arial;
	font-size: 14px;
	margin: 0;
	padding: 3px;
	background: none repeat scroll 0 0 transparent;
	border: medium none;
	cursor: pointer;
	padding: 4px;
	font-weight: normal !important;
	min-width: 205px;
}
.select-wrap select:focus {
	color: #000;
	color: rgba(0,0,0,0);
	text-shadow: 0 0 0 #000;
}

/*public story*/
.submit-story-btn {
	float: right;
	margin-top: -7px;
}
#media-buttons .grey-but,
.submit-story-btn {
	padding: 0;
}
#buttonForm,
.submit-story-btn,
#media-buttons .grey-but,
#media-buttons .add-photo {
	background: none;
}
#buttonForm,
#media-buttons .add-photo {
	background: linear-gradient(#f5d72f, #ebad37) repeat scroll 0 0 rgba(0, 0, 0, 0);
	border: 1px solid #e8a130;
	box-shadow: 0 0 3px #fff inset;
	height: 37px;
	padding: 9px 20px;
	text-shadow: none;
	border-radius: 2px;
	color: #333;
	cursor: pointer;
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
	margin: 0;
	font-family: ubuntu, arial, sans-serif;
	white-space: nowrap;
	box-sizing: border-box;
	width: 140px;
}
#media-buttons .add-photo,
.insertInEditor {
	background: -webkit-linear-gradient(#F5F5F5, #F2F2F2, #EDEDED);
	background: -o-linear-gradient(#F5F5F5, #F2F2F2, #EDEDED);
	background: -moz-linear-gradient(#F5F5F5, #F2F2F2, #EDEDED);
	background: linear-gradient(#F5F5F5, #F2F2F2, #EDEDED);
	border: 1px solid #d8d8d8;
	box-shadow: 0 0 3px #fff inset;
}
#media-buttons .add-photo:hover,
.insertInEditor:hover {
	color: #111;
	border: 1px solid #c4c4c4;
	background: -webkit-linear-gradient(#dedede, #e3e3e3, #ddd);
	background: -o-linear-gradient(#dedede, #e3e3e3, #ddd);
	background: -moz-linear-gradient(#dedede, #e3e3e3, #ddd);
	background: linear-gradient(#dedede, #e3e3e3, #ddd);
	text-decoration: none;
}
#buttonForm:hover {
	background: -webkit-linear-gradient(#FFE772, #F7C35B);
	background: -o-linear-gradient(#FFE772, #F7C35B);
	background: -moz-linear-gradient(#FFE772, #F7C35B);
	background: linear-gradient(#FFE772, #F7C35B);
}

/*editor*/
.cke_bottom {
	display: none !important;
}
.cke_toolbox > span:nth-last-child(2) {
	display: none !important;
}