body,html {
    position: relative;
    width:100vw;
    height: 100vh;
    overflow: hidden;
    transform: translate3d(0px, 0px, 2px);
    padding:0; margin:0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
}
* {
    box-sizing: border-box;
    transform: translate3d(0px, 0px, 2px);
}
img {
    max-width: 100% !important;
    height: auto !important;
}
.clickable {
    cursor: pointer;
}
.wrapper {
    position: relative;
    width:100vw;
    height: 100vh;
    overflow: scroll;
    background-color: #efefef;
}
.placemat {
    display: inline-block;
    position: relative;
    padding: 0px;
    width: auto; height: auto;
    min-width: 100vw;
    min-height: 100vh;
}
.canvas {
    /*width: 100cm;*/
    /*height: 80cm;*/
    position: relative;
    /*border:1px solid #000000;*/
    box-shadow: 0px 0px 20px rgba(0,0,0,0.20);
    transform: scale(1);
    /*transform-origin: center;*/

    /*background-image: url('/assets/img/raster.svg');*/
    /*background-size: 100% 100%;*/
    background-color: #FFFFFF;
}


.xline {
    position: absolute;
    width:100%; left:0;
    border-bottom: 1px solid #ef16c6;
}
.yline {
    position: absolute;
    height:100%; top:0;
    border-right: 1px solid #ef16c6;
}
.xline,.yline {
    opacity: 0.5;
}
.xline.invisible, .yline.invisible {
    opacity: 0;
}
.xline.snapped, .yline.snapped {
    opacity: 1 !important;
}
.gridline {
    border-color: #C0C3CC;
}




.canvas .part {
    position: absolute;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 100000;
    background-color: #efefef;
}
.canvas .part .id {
    position: absolute;
    left:10px;
    height: 10px;
    font-size: 20px;
}
.canvas .part[clone] {
    opacity: 0.7;
}
.canvas .part .icons {
    position: absolute;
    top:-20px;
    right:-20px;
    font-size: 20px;
    padding:5px 10px;
    background-color: rgba(0,0,0,0.8);
    border-radius: 100px;
    color:#FFF;
}
.canvas .part .icons:empty {
    display: none;
}
.canvas .part .contents,.canvas .part .artworks,.canvas .part .products,.canvas .part .testers {
    position: absolute;
    left:0; top:0;
    width: 100%; height: 100%;
    z-index: 1;
}
.canvas .part .artwork,.canvas .part .product,.canvas .part .tester {
    position: absolute;
}
.canvas .part .artwork {
    z-index: 5;
    background-color: rgba(46, 138, 138, 0.3);
}
.canvas .part .product {
    z-index: 4;
    background-color: rgba(189, 138, 138, 0.3);
}
.canvas .part .tester {
    z-index: 3;
    background-color: rgba(147, 0, 0, 0.3);
}
.canvas .part .artwork.hover,.canvas .part .product.hover,.canvas .part .tester.hover {
    box-shadow: 0px 0px 16px 9px rgba(0,0,0,0.59);
}




.canvas .area {
    position: absolute;
    cursor: pointer;
    z-index: 100000;
    background-color: rgba(248,152,30,0.7);
}
.canvas .area.dwawingarea {
    background-color: rgba(248,152,30,0.5);
}

.canvas .part.selected, .canvas .area.selected {
    box-shadow: 0px 0px 13px 5px rgba(145,202,237,0.58);
}

.canvas > .area > .part {
    opacity: 0.7;
}

.canvas .part .artwork {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.canvas .part .product {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

*[action] {
    cursor: pointer;
}



.comment .text {

}
.comment .name {
    color:#777;
    font-weight: 500;
    font-size: 11px;
}
.comment .date {
    color:#777;
    font-weight: 500;
    font-size: 11px;
}



/*Boostrap overrides*/
.panel-heading {
    font-weight: 500;
    background-color: #FFF !important;
}
.panel-heading,.panel-body, .panel-default {
    border-radius: 0;
}
.form-control {
    border-radius: 0;
    box-shadow: none;
    border:0;
    border-bottom:1px solid #efefef;
}
.form-group .form-control {
    padding-left: 0; padding-right: 0;
}
.input-group-addon {
    border-radius: 0;
    box-shadow: none;
    border:0;
    border-bottom:1px solid #efefef;
    background-color: #FFF;
    font-weight: bold;
    font-size: 11px !important;
    color: #C0C3CC;
}
textarea {
    resize: vertical;
}