/*------------------------------------*\
    $STORY DETAILS PAGE
\*------------------------------------*/

//Extends
%details_propertyLabel_base {
	width: 102px;
	margin-right: 51px;
	height: 14px;
	@include type($base-font, 1.4, 2.0, #575f66, $regular);
}
	

.details_section {
	padding: 35px 28px;

	.details_propertyLabel {
		@extend %details_propertyLabel_base;
		text-align: right;
		margin-top: 5px;
	}

	.details_property_half {
		width: 330px;
		float: left;
		@include clearfix();

		.details_propertyLabel {
			margin-right: 40px;
		}

		&.omega {
			width: 240px;

			.details_propertyLabel {
				text-align: left;
				width: auto;
				min-width: 24px;
			}
		}

		.creditEditButtons,
		input {
			float: left;
		}

		input {
			width: 150px;
			margin-top: -7px;
		}
	}
	
	textarea {
		width: 420px;
		float: left;
	}

	.details_property {
		padding: 17px 20px;
		cursor: pointer;
		text-align: left;
		position: relative;
		@include clearfix();

		&.inactive {
			height: 59px;

			&:hover {
				@include icon($pen, right, -30px);

				.deleteCredit {
					display: block;
				}
			}

			.details_propertyValue {
				display: block;
			}

			.details_propertyEdit,
			.details_property_half input,
			.creditEditButtons,
			.customSelectBoxContainer
			 {
				display: none;
			}

			.deleteCredit {
				position: absolute;
				cursor: pointer;
				top: 25px;
				left: 25px;
				@include sprite($cancel-red);
				display: none;
			}
		}

		&.active {

			.details_propertyValue {
				display: none;
			}

			.details_propertyEdit,
			.details_property_half input,
			.creditEditButtons {
				display: block;
			}

			.creditEditButtons {
				float: right;
			}
		}

		&:hover,
		&.active {
			background: #f0f3f5;
			border-radius: 5px;
		}
	}

	&.seperate {
		border-bottom: 1px solid #d5dade;
	}

	&.imageUploader {
		@include clearfix();
		text-align: left;

		.imageUploader_block {
			width: 300px;
			float: left;
			margin-right: 30px;

			&.omega {
				margin-right: 0;
			}
		}

		.imageUploader_title {
			display: block;
			height: 25px;
			float: none;
			height: 14px;
			@include type($base-font, 1.4, 1.4, #575f66, $regular);
			margin-bottom: 22px;
		}

		.imageUploader_content {
			@include clearfix;

			.bigButton {
				margin-bottom: 10px;
				width: 100%;
				margin-left: 0;
			}
		}

		.imageUploader_imageContainer {
			width: 120px;
			float: left;
			position: relative;
			margin-right: 20px;
		}

		.imageUploader_actions {
			width: 154px;
			float: left;
		
			.coverImgInput {
				visibility: hidden;
				position: absolute;
			}
		}
	}

	.details_propery_edit {
		@include clearfix();
		margin-bottom: 20px;
	}

	span {
		display: block;
		float: left;
	}

	.details_propertyInput {
		float: left;

		&.full {
			width: 504px;
		}

		&.half {

		}
	}

	.details_propertyValue {
		@include type($base-font, 1.4, 2.5, #1f2c33, $medium);
	}

	.details_propertyEdit {
		float: left;
		text-align: left;
		width: 528px;

		input {
			@include type($base-font, 1.4, 1.4, #1f2c33, $medium);
			padding: 8px 10px 8px 10px;
			width: 420px;
			top: -6px;
			position: relative;
			float: left;
		}

		button {
		}
	}

	&.creditsSection {
		padding-bottom: 0;
	}

	&.addCreditSection {
		padding-top: 0;
	}
}

.slugPrefix {
	@include type($base-font, 1.1, 1.1, #8f9498, $regular);
}

.infoTooltip {
	@include vertical-align;
	display: inline-block !important;
	float: none !important;
	vertical-align: top;
	margin-right: 8px;
}

.addCredit {
	@include icon($add-blue);
	margin: 32px 0;
}

.detailsSectionSeperator {
	width: 100%;
	height: 1px;
	background: #dce2e6;
	margin: 40px 0;
}

//Fixes for custom selectbox
.customSelectBoxContainer {

	#sectionsSelectSelectBoxIt {
		float: none;
	}
}