#image-container {
    margin: 20px auto;
    text-align: center;
}

#upload-background-container{
  margin: 20px auto;
}

#pan-preview {
    margin-top: 20px;
    display: inline-block;
    border: 1px solid #000;
    line-height: 1 !important;
}

.square-row {
    line-height: 1;
}

.pan {
    width: auto;
    height: auto;
}

#pan-delete{
    float: right;
}

input[type="color"] {
    width: 100%;
    vertical-align: middle;
    height: 20px;
}

.square {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 0.5px;
    background-image: url('../img/px.png');
    /* background-blend-mode: exclusion; */
}

.square-view {
    display: inline-block;
    margin: 0 0.5px;
    background-image: url('../img/px.png');
    /* background-blend-mode: exclusion; */
}

.square-view > div, .square > div {
    opacity: 0.5;
    width: 100%;
    height: 100%;
}

#upload-container {
    margin: 20px auto;
    width: 400px;
    text-align: center;
}

#image-preview, #background-preview {
    margin-top: 20px;
    max-width: 100%;
    max-height: 300px;
    position: relative;
    cursor: move;
}

#background-preview {
    width: 800px;
    height: 800px;
    background-size: cover;
    background-repeat: no-repeat;
}

#image-preview img {
    position: relative;
    z-index: 1;
}

#controls-container {
    margin: 20px auto;
    /* height: 115px; */
    text-align: center;
    padding: 10px;
    border: 1px solid #dedede;
}

#controls-container label {
    display: inline-block;
    width: 100px;
    text-align: center;
}

input[type="range"] {
    width: 150px;
    margin: 0 auto;
}

#global-image{
    border: 1px solid #dedede;
    margin: 0 auto;
    background-size: cover;
    background-repeat: no-repeat;
}

#background-input{
    margin: 0 auto;
}

.screen-dp4 {
    width: 100%;
    position: relative;
    padding-left: 20px;
    padding-bottom: 18px;
}

.bg-roof {
    width: 100%;
    height: 0;
    background-size: 20%;
    background-repeat: repeat;
}

.roof-element-size {
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.roof-pan {
    position: absolute; 
    z-index: 1050; 
    white-space: nowrap; 
    margin: 10px;
    height: auto;
    width: auto;
}

#controls-container .input-colorpicker .input-group-addon {
    border-left: 1px solid #ccc;
    border-radius: 4px;
 }

 .div_pvsize input, .div_pvline input {
    display: inline;
    width: 40%;
 }