/*Pictures*/
.picture_options {
	position: relative;
	display: block;
	min-height: 40px;
	clear: both;
}
.picture_section {
	position: relative;
	display: inline-block;
	border-radius: 5px;
	border: 1px solid #ccc;
	padding: 5px;
	margin: 5px 0 15px 0;
	width: 100%;
}
.picture_section a:hover {
	color: #337ab7;
}
.picture_div { 
	display: inline-block;
	margin: 5px;
	padding: 5px;
	border-radius: 5px;
	border: 1px solid #ccc;
	width: 270px;
}
.picture_div>.picture_cell {
	position: relative;
	display: block;
	margin: 0px;
	height: 166px;
	width: 260px;
	text-shadow: 1px 1px 1px #ccc;
}
.picture_div>.picture_cell>.picture_thumbnail {
	position: relative;
	display: block;
	margin: 0px auto;
	height: 166px;
	width: 250px;
	border-radius: 5px;
	border: 5px solid transparent;
	cursor: pointer;
}
.picture_colorbox {
	position: absolute;
	display: inline-block;
	z-index: 5;
	top: 4px;
	left: 13px;
	color: black;
	font-size: 1em;
}
.picture_delete {
	position: absolute; 
	display: inline-block;
	z-index: 5;
	top: 1px;
	right: 12px;
	color: red;
	font-size: 1em;
}
.picture_rotate.ccw {
	position: absolute;
	display: inline-block;
	z-index: 5;
	bottom: 5px;
	left: 13px;
	color: black;
	font-size: 1em;
}
.picture_rotate.cw {
	position: absolute;
	display: inline-block;
	z-index: 5;
	bottom: 5px;
	right: 13px;
	color: black;
	font-size: 1em;
}
.picture_select {
	display: none;
}
.picture_div>.picture_text {
	position: relative;
	display: block;
	margin: 0px;
	height: 40px;
	width: 260px;
	text-align: center;
	vertical-align: middle;
	font-size: 1em;
	overflow-x: hidden; 
}
.picture_div>.picture_caption {
	position: relative;
	display: block;
	margin: 5px;
	height: 55px;
	width: 250px;
}
.picture_div>.picture_caption>textarea {
	position: relative;
	display: block;
	margin: 0px;
	padding: 5px;
	resize: none;
	height: 100%;
	width: 100%;	
	border-radius: 5px;
	border: 1px solid #ccc;
}

/*Picture Rotate*/
.rotate90 {
	position: relative;
	rotation: 90deg;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
	height: 250px !important;
	width: 166px !important;
	top: -40px !important;
}
.rotate180 {
	position: relative;
	rotation: 180deg;
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.rotate270 {
	position: relative;
	rotation: 270deg;
	-webkit-transform: rotate(270deg);
	-moz-transform: rotate(270deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
	height: 250px !important;
	width: 166px !important;
	top: -40px !important;
}
.cbox-rotate90 img {
	position: relative;
	rotation: 90deg;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}
.cbox-rotate180 img {
	rotation: 180deg;
	position: relative;
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.cbox-rotate270 img {
	rotation: 270deg;
	position: relative;
	-webkit-transform: rotate(270deg);
	-moz-transform: rotate(270deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}