@media (min-width: 100px) {
    .navbar-nav>li {
        float: left;
    }
}

#3d-rotation {
    cursor: pointer;
}

#move-3d-cont {
    cursor: move;
    position: absolute;
    width: 70px;
    top: 20px;
    left: -70px;
    padding: 1px 10px 1px;
    color: #fff;
    background-color: #e8a64a;
    border-color: #faebcc;
}

/* SVG Uploadia varten */

.btn-file {
    position: relative;
    overflow: hidden;
    color: black;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100px;
    cursor: pointer;
}

.btn-file input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 0;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    color: black;
    cursor: pointer;
    display: block;

}

#svg-file-preview,
#material-file-preview {
    text-align: center;
}

/* end - SVG Uploadia varten */


.scene-name {
    cursor: pointer;
}

.scene-name-active {
    position: relative;
    padding: 0px 10px;
    left: -14px;
    border-left: 4px solid rgb(234, 180, 56);
}


#div-ratio-slider {
    float: right;
    width: 95%;
}

#glyphicon-ratio-slider {
    position: relative;
    top: 5px;
}

.required-field {
    color: #fff;
    background-color: #f48a3e;
}

.mchar {
    vertical-align: bottom;
}

.col-scripture {
    padding-right: 2px;
    padding-left: 2px;
    border: solid 0px #000;
}

.row-scripture {
    /* margin-bottom: 10px; */
    padding-top: 10px;

}

.btn-col-scripture {
    width: 25px;
    padding-left: 2px;
    padding-right: 2px;
}


/* Valikot */
.orn-main-category,
.scripture-main-category,
.base-category {
    cursor: pointer;
    padding: 10px 10px 10px 10px;
    border: solid 0px #eee;
    background-color: #f5f5f5;
    font-weight: 600;
}

#orn-categories {
    margin-top: 20px;
}

#orn-scenes {
    margin-bottom: 10px;
}

.shape-category,
.orn-category,
.XXXbase-category,
.model-category {
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 10px 10px 10px;
    border: solid 0px #eee;
}

.shape-category-active,
.orn-category-active,
.XXXbase-category-active {
    cursor: pointer;
    padding: 10px 10px 10px 10px;
    border-left: 4px solid rgb(234, 180, 56);
}

.orn-main-category-active,
.scripture-main-category-active,
.base-category-active {
    border-top: 4px solid rgb(234, 180, 56);
}

.shape-category:hover,
.orn-category:hover {
    background-color: #ddd;
}

.menu-btn:hover {
    background-color: #ddd;
}



.list-group-item {
    background-color: transparent;
}


#menu-btns {
    background-color: #f5f5f5;
    padding: 10px 10px 10px 10px;
    z-index: 888;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.31);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.31);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.31);
}

.menu-btn {
    background-color: #f5f5f5;
    font-weight: 600;
}

.menu-btn-active {
    background-color: #f5f5f5;
    border-top: 4px solid rgb(234, 180, 56);
    font-weight: 600;
}

#row-ornaments,
#row-bases,
#row-scriptures {
    padding-top: 10px;
}

.font-caret {
    margin-left: 5px !important;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    color: #555;
    cursor: default;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

.nav-tabs {
    border-bottom: 0px solid #ddd;
}

#active-element-container,
#rougher-container {
    padding: 0px 20px 15px 20px;
    z-index: 12;
}

.img-font-family {
    margin: 5px;
    cursor: pointer;
}

/* Tallennukseen */
#save-container {
    padding: 15px 20px;
}



/* Tulostukseen */
#print-container {
    font-size: 12px;
    padding: 15px 20px;
}

.hea-print {
    font-size: 14px;
    font-weight: 700;
}

.price-data,
.warning-text {
    color: rgb(195, 139, 9);
}

#total-price-table {
    position: absolute;
    bottom: 0px;
}

#customer-col-print {
    font-size: 14px;
}

#draft-image-message {
    position: relative;
    width: 650px;
    top: -20px;
    left: -2px;
    padding: 1px 10px 1px;
}

.gold-bg {
    background: url("/stedit/img/gold-bg.jpg");
}

.palladium-bg {
    background: url("/stedit/img/palladium-bg.jpg");
}

.nocolor-bg {
    background: url("/stedit/img/nocolor-bg.jpg");
}

#stedit-page-container {
    border: 0px dashed #921111;
}

#3d-container {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: clip;
    margin: 0 auto;

}

.container-print {
    border: 1px dashed rgb(73, 72, 74);
    border: 3px solid rgb(234, 180, 56);
}

@media print {
    .container-print {
        border: 0px dashed rgb(82, 32, 163);
    }
}

.td-center {
    text-align: center;
}

.moveable-scene {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 8px;
    color: #000;

}


.col-date {
    padding-left: 0px;
    padding-right: 0px;
}

.s-cont {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.grid {
    position: relative;
    margin: auto;
}

.d-border {
    border-style: dashed;
    border-width: 1px;
}

.EndPoint {
    fill: none;
    stroke: #888888;
    stroke-width: 2
}

.CtlPoint {
    position: absolute;
    border-style: dashed;
    border-width: 0px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    cursor: move;
    opacity: 0.4;
}

.CtlPointActive {
    opacity: 0.5;
}

.shp-2dfs {
    opacity: 0.7;
}

.shp-fs {
    opacity: 0.9;
}

.shp-fs-image {
    opacity: 0.9;
}

.AutoCtlPoint {
    fill: none;
    stroke: blue;
    stroke-width: 4
}

.Label {
    text-anchor: middle;
    font-size: 22;
    font-family: Verdana
}

#shape-container {
    cursor: crosshair;

}

#data-container {
    position: fixed;
    bottom: 40px;
    right: 0px;
    font-size: 12px;
    width: 200px;
    z-index: 10;
}

#children-2d-container {
    position: fixed;
    top: 90px;
    right: 0px;
    font-size: 14px;
    width: 200px;
    z-index: 10;
}


.top-jumbo {
    padding-top: 5px;
    padding-bottom: 10px;
    margin-bottom: 0px;
    background-color: #dbdbdb;
}

#bottom-jumbo {
    position: fixed;
    width: 100%;
    bottom: 0px;
    left: 0px;
    font-size: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0px;
    opacity: 0.8;
    z-index: 2;
}

/* 3d node */
.bnode {
    stroke-width: 3;
    stroke: darkgrey;
    fill: white;
}

.no-bnode {
    stroke-width: 0;
    stroke: white;
    fill: none;
}

.ghostnode {
    width: 50px;
    height: 50px;
    z-index: -3;
}


.alertnode {
    stroke-width: 1;
    stroke: red;
    fill: red;
}

/* scenen keskipiste */
.nnode {
    stroke-width: 1;
    stroke: blue;
    fill: blue;
}

path {
    pointer-events: all;
}

.mittateksti {
    font: italic bold 12px Georgia, serif;
}

.mitta-teksti {
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    fill: green;
}

.grid-line {
    stroke: rgb(221, 221, 221);
}

.rough-div {
    opacity: 0.7;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;
}

.rough-div img {
    height: 100%;
    width: 100%;
}



.scene-move-div {
    border-style: solid;
    border-width: 0px;
    cursor: move;
}

.ornament,
.orn-on-img {
    cursor: move;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;
}
.orn-on-img {
    cursor: pointer;
}
.holeimg {
    cursor: move;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;
}
.path-skin {
    cursor: pointer;
}
.kirjoitus {
    /* font-weight: bolder; */
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;
    white-space: nowrap;

}

.d-scripture,
.scripture-on-stone {
    cursor: move;
    border: 0px solid rgb(242, 242, 11);
    text-align: center;
}

.scripture_engraved {
    text-shadow: 0px 1px 0px rgba(255, 255, 255, .3), 0px -1px 0px rgba(0, 0, 0, 0.7);
}

.scripture_embossed {
    background-color: #bababa;
    text-shadow: #2e2e2e 0 4px 5px;
}

.t3d {
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    top: -20;
}

.span-stone-size {
    font-size: 12px;
    font-weight: bolder;
    text-align: center;
    width: 100px;
}

/* oikealla */


#panel-faces {
    position: fixed;
    right: 0;
    top: 100;
    z-index: 888;
    font-size: 12px;
    background-color: #f5f5f5;
    -webkit-box-shadow: 8px 0 6px -6px #999;
    -moz-box-shadow: 8px 0 6px -6px #999;
    box-shadow: 8px 0 6px -6px #999;
}

.shapeskin-tab {
    font-size: 10px;
    padding: 5px;
}

#nav-shapeskin>li>a {
    padding: 10px 2px;
}

.scene-name,
.order-hea {
    font-size: 14px;
    font-weight: 600;
}

.btn-visible-obj,
.btn-visible-obj:any-link {
    color: rgb(221, 221, 221);
}

.btn-color-picker {
    height: 55px;
    background-image: linear-gradient(to right, black, blue, green, brown, red, orange, yellow);
}

.hs-menu-down {
    padding-bottom: 20px;
}

#row-designs,
#row-shapes,
#row-scriptures,
#row-customer,
#row-materials,
#row-bases,
#row-ornaments {
    position: absolute;
    width: 100%;
    z-index: 999;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);

}

/* Vasemmalla 
.div-sceobj {
    margin-bottom: 20px;
}
*/


/* Demot, testit etc.*/
#demo {
    position: fixed;
    left: 0;
    bottom: 100;
    z-index: 888;
    font-size: 18px;
    padding: 15px 20px;
    background-color: #eee;
    -webkit-box-shadow: 8px 0 6px -6px #999;
    -moz-box-shadow: 8px 0 6px -6px #999;
    box-shadow: 8px 0 6px -6px #999;
}


#vas-pal {
    position: fixed;
    left: 0;
    top: 100;
    width: 200px;
    z-index: 888;
    font-size: 12px;
    padding: 15px 20px;
    background-color: #f5f5f5;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
}

#oik-pal {
    position: fixed;
    right: 0;
    top: 100;
    z-index: 888;
    font-size: 12px;
    background-color: #f5f5f5;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
}

#rougher-container {
    font-size: 12px;
    background-color: #f5f5f5;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.31);
}

#font-sizes {
    font-size: 14px;
}

.lineh1 {
    line-height: 13px !important;
    padding: 2px !important;
}


.btn-check {
    font-size: 14px;
    background-color: Transparent;
    background-repeat: no-repeat;
    border: 0px solid grey;
    border-radius: 12px;
    overflow: hidden;
    outline: none;
}


#skin-tables {
    height: 500px;
    width: 200px;
    overflow: auto;
}

#table-faces {
    font-size: 10px;
}


/* materiaali panel tuote panel */
.shape-cell,
.prod-cell,
.mat-cell,
.new-mat-cell,
.active-mat-cell,
.active-ornament-cell,
.orn-cell-print,
.new-prod-cell,
.design-cell {
    position: relative;
    float: left;
    width: 130px;
    height: 130px;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
    border: solid 1px #dcdcdc;
    border-radius: 5px;
    border-bottom: 1px solid #9d9d9d;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.mat-cell,
.new-mat-cell {
    width: 130px;
    height: 130px;
}

.active-mat-cell {
    float: none;
}

.design-cell {
    width: 180px;
    height: 180px;
    border: solid 2px #dcdcdc;
    border-radius: 5px;
    overflow: hidden;
}

.desing-div-small {
    -ms-transform: scale(0.3, 0.3);
    -webkit-transform: scale(0.3, 0.3);
    transform: scale(0.3, 0.3);
    transform-origin: top left;
}

.design-name {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 10px;
    font-weight: 600;
    width: 100%;
    background-color: #dcdcdc;
    padding: 10px 10px 10px 10px;
    z-index: 999;
    opacity: 0.8;
}


.active-ornament-cell {
    border: solid 0px #dcdcdc;
    border-bottom: 0px solid #9d9d9d;
    cursor: default;
}

.orn-cell-print {
    width: 50px;
    /*100*/
    height: 50px;
    /*100*/
    border: solid 0px #dcdcdc;
    border-bottom: 0px solid #9d9d9d;
    margin-bottom: 0px;
    cursor: default;
}

.orn-print-div {
    min-height: 1em;
    display: table-cell;
    vertical-align: middle;
    height: 50px;
    /*100*/
    width: 50px;
    /*100*/
}

.prod-img-div {
    min-height: 1em;
    display: table-cell;
    vertical-align: middle;
    height: 130px;
    width: 130px;
}

.prod-icon,
.shape-icon {
    max-width: 100px;
    max-height: 100px;
    border: 0px;
}

.img-type {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 10px;
    font-weight: 600;
    width: 100%;
    background-color: #dcdcdc;
    padding: 5px 5px 5px 5px;
    z-index: 100;
    opacity: 0.8;
}

.btn-color {
    height: 40px;
    width: 40px;
}

#btn-curren-font-family {
	border-radius: 12px !important;
}