.cutting_right{
    border-right: 2px solid #000;
}

.cutting_bottom{
    border-bottom:2px solid #000;
}

.perforating_right{
    border-right: 5px dotted #000;
}

.perforating_bottom{
    border-bottom:5px dotted #000;
}

.scoring_right{
    border-right: 2px solid #cccccc;
}

.scoring_bottom{

    border-bottom:2px solid #cccccc;
}

.display_box{
    position: relative;
	float: left;
}


.display_box .horizontal , .display_box .vertical{
    width: 100%;
    height: 100%;
    position: absolute;
    text-align: center;
	top:0;
}
.display_box .vertical{
    text-align: right;
	position:relative
}

.display_box .vertical p{
    writing-mode: vertical-lr;
    top: 40%;
    position: absolute;
    right: -16px;
	transform: rotate(180deg);
}
.display_box .horizontal{
	text-align:center;
}
.display_box .horizontal p{
	position: absolute;
	bottom: -15px;
	text-align: center;
	display: block;
	width: 100%;
}


.scrapContainer , .scrapBG{
    position:absolute;
    width:100%;
    height:100%;
}
.scrapReady{
    z-index:3;
}
.scrapReady:hover , .scrapped{
    background:#F00  url('../images/scrapBg.png') repeat;
    opacity: 0.8;
    cursor: pointer;
	font-weight:bolder;
}

.previewWidth{
    margin-bottom: 0px;
}


/*
        Extra Stylings for the Backend and the printing
*/
.line_item_wrapper{
    display: block;
    position: relative;
    width:450px;
    height:850px;
    margin:0 auto;
    border:3px dashed gray;
}

.line_item_wrapper , .line_item_wrapper * {
    box-sizing: border-box;
}



.mt-2{
    margin-top:3rem;
}

.diagram_keys_container li{
    height:20px;
}

.diagram_keys_container .default_box{
    height:15px;
    width:100px;
    margin:0 30px;
}

.removeLineItemBtn{
    color:#a61c20;
    margin-left:10px;
    cursor: pointer;
}

/* Fix chrome bug with collapseable fieldsets */
.page-admin span.fieldset-legend {
    z-index: 1;
}
