.dialog{
    text-align:left;
    margin:0;
    max-width:600px;
}

.body{
    display:inline-block;
    text-align:left;
    padding:0;
    overflow: auto;
    max-height: calc(100vh - 140px);
}

.body h4{
    font-weight: bold;
    margin-top: 4px;
    margin-bottom: 5px;
}

.body p{
    line-height: 17px;
}

.rangeslider{
    margin-top: 20px;
    margin-bottom: 20px;
}

.buttons{
    width:100%;
    padding:0;
}

.cancel-button{
    clear:both;
    margin-bottom:0;
}

.cancel-button:hover, .cancel-button:focus {
    background:#e6e6e6;
}

.rangeslider > div {
    margin-bottom: 10px;
    overflow: hidden;
}

.rangeslider > div > div{
    font-weight: bold;
}

.body > div{
    display: table;
    width: 99.99%;      /*Fix for chrome. Sometimes horizontal scrollbar appears*/
}

.body > div > div{
    display: table-row;
}

.body > div > div > div{
    display: table-cell;
    vertical-align: top;
}

.body > div > div > div > img{
    width: 150px;
    margin-right: 10px;
}

@media (max-width:600px){
    .body > div > div > div:first-child{
        display: none;
    }
}