.LMMagContainer {
    position: relative;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: rgba(200, 200, 200, 0.4);*/
    /*overflow: hidden;*/
    /*margin-top: 10px;*/
    margin-bottom: 20px;
    width: 100%;
}

.LMThumbContainer {
    position: relative;
    height: 150px;
    width: 150px;
    
    margin-bottom: 40px;
}

.LMMagThumbDiv,
.LMMag .ThumbDiv {
    width: 150px;
    height: 150px;
    position: absolute;
    /*z-index: 100;*/
    /*border: 3px #ccc solid;
    background-color: #ccc;*/
    /*margin: 10px;*/
    
    overflow: hidden;
}

.LMMag .LMMagImageContainer {
    /*overflow: hidden;*/
    position: absolute;
    /*width: 100%;*/
}

.LMMag .LMMagImageContainerMask {
    background-color: #ccc;
    opacity: 0.6;
    position: absolute;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border: 1px solid #666;
}

.LMMagThumbDiv img,
.LMMag .ThumbDiv img {
    /*height: 100%;*/
    width: 100%;
    position:absolute;
}

.LMMag .imageDiv {
    /*height: 100%;*/
    height: 500px;
    width: 100%;
    /*overflow: hidden;*/
    /*background-color: #ccc;*/
    position: absolute;
    /*cursor: pointer;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
}

.LMMag .imageDiv img {
    /*height: 90%;
    width: 90%;*/
    position: absolute;
}

.LMMagwhiteMask {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 3px #fff solid;
}

.GrabPhoto {
    cursor: -webkit-grab; 
    cursor: -moz-grab;
}

.GrabingPhoto {
    cursor: -webkit-grabbing; 
    cursor: -moz-grabbing;
}

.LMThumbContainer .thumbControl {
    padding-top: 10px;
    position: absolute;
    width: 100%;
    display: inline-block;
    /*margin-left: 10px;*/
}

.LMThumbContainer .thumbControl .lmmagcontrolbtn {
    display: inline;
    cursor: pointer;
    -webkit-transition: color .5s ease-in-out;
    -moz-transition: color .5s ease-in-out;
    -o-transition: color .5s ease-in-out;
    transition: color .5s ease-in-out;
    /*color: #444;*/
}

.LMThumbContainer .thumbControl .lmmagcontrolbtn:hover {
    color: #888;
}

.LMThumbContainer .thumbControl .lmmagplus {
    float: right;
}

.LMThumbContainer .thumbControl .lmmagminus {
    float: left;
}

.LMThumbContainer .thumbControl .lmmagslider {
    width: 90px;
    float: left;
    margin-left: 13px;
    margin-right: 13px;
    cursor: pointer;
}