﻿#divStudio .panel .panel-title .olstaples-sprite { margin-top: -5px; }
#divStudio .panel .panel-heading { background-color: #ccc; border-bottom: solid 1px #dbdbdb !important; }
#divStudio .panel.open .panel-heading { background-color: #999; color: #fff !important; border-bottom: 0px !important; }
    #divStudio .panel.open .panel-heading .small, #divStudio .panel .panel-heading .glyphicon { color: #fff; }
#divStudio .sticky { position: sticky; top: 10px; }

#divCanvas { width: 100%; height: 100%; padding: 40px 20px; border: solid 1px #cdcdcd; background-color: #f5f5f5; text-align: center; overflow: hidden; min-height: 587px; transform-origin: 0px 0px 0px; -moz-transform-origin: 0px 0px 0px !important; -webkit-transform-origin: 0px 0px 0px !important; -o-transform-origin: 0px 0px 0px !important; display: flex; align-items: center; }
    #divCanvas > svg { max-width: 100%; overflow: visible; margin-top: 10px; margin: auto; height: auto !important; }
        #divCanvas > svg [id*='cutline'] { stroke-dasharray: 5px 5px; stroke: red; stroke-width: 2px; fill: none; }
        #divCanvas > svg [id*='printonly'] { display: none !important; }
    #divCanvas.preview > svg [id*='bleed'] { stroke: none; fill: #fff; }
    #divCanvas.preview > svg [id*='cutcontour'] { stroke-dasharray: none !important; }
    #divCanvas.preview > svg [id*='cutline'] { stroke-dasharray: none; stroke-width: 1px !important; stroke: black; fill: none; }
    #divCanvas.preview > svg [id*='safeline'] { display: none !important; }


    #divCanvas > svg [id*='editable'] { cursor: default; }
        #divCanvas > svg [id*='editable'].active { cursor: move; }
    #divCanvas > svg text { text-anchor: start; }

#divStudio .canvas-note { position: absolute; width: 100%; text-align: center; top: 4px; z-index: 1; }
    #divStudio .canvas-note .layout-instructions { display: inline; }
    #divStudio .canvas-note .layout-instructions-mask { display: none; }
#divStudio[class*='bus-mask'] .canvas-note > .cutline { display: none; }
#divStudio[class*='bus-mask'] #divCanvas > svg [id*='cutcontour'] { stroke-dasharray: none !important; stroke: #fff; }
#divStudio[class*='bus-mask'] .canvas-note > .layout-instructions { display: none; }
#divStudio[class*='bus-mask'] .canvas-note > .layout-instructions-mask { display: none; }
#divStudio[class*='bus-mask'] #divCanvas > svg [id*='cutline'] { display: none; }
#divStudio[class*='bus-mask'] button[data-target='#mdlCutContours'] { display: none; }


.product-name { font-size: 24px; font-weight: 600; padding: 15px; border-bottom: solid 1px #dbdbdb; }
.product-price { font-family: 'Open Sans', Arial, Helvetica; font-size: 24px; font-weight: 600; margin: 10px -15px 0px; padding: 10px 12px 0px; border-top: solid 1px #dbdbdb; }
.product-quantity { }
.product-dimensions { }
    .product-dimensions input { text-align: center; padding: 5px 2px; }
    .product-dimensions .input-group > .input-group-addon { background-color: #fff; padding: 6px 4px; border: 0px; }
    .product-dimensions .col-xs-5 { width: 45%; }
    .product-dimensions .col-xs-2 { width: 10%; padding-top: 5px; }
/*.product-dimensions input { text-align: center; display: inline-block; padding: 6px; height: 34px; }*/

.locksize { position: relative; width: 100%; height: 40px; }
    .locksize > .locksize-left { position: absolute; left: 50px; height: 15px; border-left: dashed 1px #999; border-bottom: dashed 1px #999; border-right-width: 0; border-top-width: 0; width: calc(50% - 60px); }
    .locksize > .locksize-lockicon { position: absolute; left: 50%; margin-left: -10px; width: 30px; height: 30px; }
    .locksize > .locksize-right { position: absolute; right: 50px; height: 15px; border-right: dashed 1px #999; border-bottom: dashed 1px #999; border-left-width: 0; border-top-width: 0; width: calc(50% - 70px); }
    .locksize.locked > .locksize-left, .locksize.locked > .locksize-right { border-style: solid; }
input[type="checkbox"].checkbox-lock { position: absolute; z-index: -1000; left: -1000px; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; }
    input[type="checkbox"].checkbox-lock + label { display: inline-block; vertical-align: middle; position: relative; white-space: normal; padding-left: 0; }
        input[type="checkbox"].checkbox-lock + label::before { content: ""; display: inline-block; position: absolute; width: 20px; height: 20px; background: url("ol-ui-sprites.png") -22px -846px no-repeat; cursor: pointer; margin: 4px 5px; border: none; }
    input[type="checkbox"].checkbox-lock:checked + label::before { background-position: -79px -771px; }


.panel-group.background-color { }
    .panel-group.background-color .panel-title { padding: 5px 10px; }
    .panel-group.background-color .sp-replacer { border: 0; }
.panel.editable-element i { display: none; }
.panel.editable-element.bleed-alert i { display: inline-block; }

.no-elements { text-align: center; padding: 20px 10px; }
.add-element-buttons { white-space: nowrap; border-top: solid 1px #dbdbdb; line-height: 14px; }
    .add-element-buttons > .add-element-button { display: inline-block; width: 25%; text-align: center; border-right: solid 1px #dbdbdb; padding: 12px 7px; line-height: 14px; }
        .add-element-buttons > .add-element-button:last-child { border-right: none; }

.text-align-buttons { border: solid 1px #999; margin: 0; }
    .text-align-buttons > .text-align-button { display: inline-block; width: 33.333333%; border-right: solid 1px #999; text-align: center; padding: 0px; }
        .text-align-buttons > .text-align-button:last-child { border-right: none; }
        .text-align-buttons > .text-align-button > input { display: none; }
            .text-align-buttons > .text-align-button > input + label::before { display: none !important; }
        .text-align-buttons > .text-align-button > label { line-height: 32px; margin: 0px; display: block; cursor: pointer; font-family: 'Times New Roman'; padding: 0; }
        .text-align-buttons > .text-align-button > input:checked + label { background-color: #cdcdcd; }
        .text-align-buttons > .text-align-button.bold > label { font-weight: 900; }
        .text-align-buttons > .text-align-button.italic > label { font-style: italic; }
        .text-align-buttons > .text-align-button.underline > label { text-decoration: underline; }


.asset-categories { float: left; width: 25%; }
.assets { float: left; width: 75%; }

.thumbnail img.svg { height: 200px; }

#mdlStartup { }
    #mdlStartup a { text-decoration: none; color: #696969; border-color: #279DEA; }
/*#mdlStartup a:hover { border-bottom: solid 3px #279DEA; }*/

#mdlCutContours .modal-body .design_options_thumbs .thumbnail { padding: 10px; }

@media (max-width: 768px) {
    #divCanvas { min-height: auto !important;  }
}

