/* ocp = option cell position */
/* pcp = poll cell position */
/* bp = box position */

/* root */
.apsmx-ocp-root {
	position:relative;
	margin:0;
	padding:0;
	line-height:0;
}
.apsmx-ocp-root.apsmx-ocp-fheight {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
/* layer */
.apsmx-ocp-layer {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	margin:0;
	padding:0;
}
.apsmx-ocp-layer[data-posy-loc="main"] {
	position:relative;
	width:auto;
	height:auto;
}
.apsmx-ocp-root.apsmx-ocp-fheight .apsmx-ocp-layer[data-posy-loc="main"] {
	position:absolute;
	width:100%;
	height:100%;
}
/* pad */
.apsmx-ocp-pad {
	position:relative;
	margin:0;
	padding:0;
}
.apsmx-ocp-root.apsmx-ocp-fheight .apsmx-ocp-pad {
	position:absolute;
	top:0;
	left:0;
	width:auto;
	height:auto;
}
/* row */
.apsmx-ocp-row {
	position:relative;
	display:table;
	width:100%;
	background-color:#ccf;
	line-height:0;
}
.apsmx-ocp-root.apsmx-ocp-fheight .apsmx-ocp-row {
	position:absolute;
	left:0;
}
/* cell */
.apsmx-ocp-cell {
	position:relative;
	display:table-cell;
	text-align:center;
	vertical-align:middle;
}
.apsmx-ocp-cell[data-posy-loc="left"] {
	text-align:left;
}
.apsmx-ocp-cell[data-posy-loc="right"] {
	text-align:right;
}
.apsmx-ocp-row[data-posy-loc="main"] .apsmx-ocp-cell {
	text-align:center;
}
.apsmx-ocp-row[data-posy-loc="main"] .apsmx-ocp-cell[data-posy-loc="center"] {
	width:100%;
}
/* wrap */
.apsmx-ocp-wrap {
	position:relative;
	display:inline-block;
	line-height:normal;
	text-align:center;
	vertical-align:middle;
}
.apsmx-ocp-row[data-posy-loc="main"] .apsmx-ocp-cell[data-posy-loc="center"] .apsmx-ocp-wrap {
	display:block;
}
/* absolute positioning */
.apsmx-ocp-aploc {
	position:absolute;
	line-height:0;
}
.apsmx-ocp-apcenter {
	display:inline-block;
}
.apsmx-ocp-apmove {
	display:inline-block;
	position:relative;
	line-height:normal;
}
/* frame */
.apsmx-ocp-frame-rect {
	padding:0.2em 0.2em;
	color:white;
	background-color:rgba(0,0,0,0.5);
}
.apsmx-ocp-frame-round {
	padding:0.2em 1em;
	color:white;
	background-color:rgba(0,0,0,0.5);
	border-radius:0.5em;
}
.apsmx-ocp-background-red {
	background-color:rgba(255,0,0,0.5);
}
/* padding */
.apsmx-ocp-wrap {
	padding:5px;
}

