.sim-edit{
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 10;
    display:none;
    background-color: rgba(255,255,255,0.5);
    background-repeat: repeat;
}
.sim-edit-box{
    width: 500px;
    background-color: rgba(255,255,255,1);
    margin-right: auto;
    margin-left: auto;
    margin-top: 10%;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
    
    height: 300px;
    
}
.drop_images_here{
    min-height: 50px;
}
#modules{
    float:left;
    width: 200px;
}
#templatecontent{
 float:left;
    width: 200px;
}
.sim-modules{
    background-color: #575c6e;
    width:55px;
    height:55px;
    margin-right: 10px;
    margin-bottom: 10px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    -khtml-border-radius: 3px 3px 3px 3px; 
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;       
    }
.sim-modules:hover{
    background-color: #3c404d;
    cursor: pointer;
}     
#colorSelector {
    position: relative;
    width: 36px;
    height: 36px;
    background: url(../colorpicker/images/select.png);
    background-size: 36px 36px;
}
#colorSelector div {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: 30px;
    background: url(../colorpicker/images/select2.png) center;
}
#colorSelectorMobile {
    position: relative;
    width: 36px;
    height: 36px;
    background: url(../colorpicker/images/select.png);
    background-size: 36px 36px;
}
#colorSelectorMobile div {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: 30px;
    background: url(../colorpicker/images/select2.png) center;
}

#nb_wrapper_main{
    overflow-x: auto;
    overflow-y: hidden;
}
#nb_wrapper{
     width: 100%;
     padding-top:35px;
} 
#nb_preview{
    height: 842px;
    width: 480px;
    background-image: url(../img/iphone_overlay.png);
    background-repeat: no-repeat;
    background-size:335px 594px;
    margin:0 auto;
    margin-top: 10px;
    position: relative;
    display: none;
}
#nb_preview_iframe{
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    height: 452px;
    width: 295px;
    position: absolute;
    left: 20px;
    top: 70px;
    overflow-x: hidden;
    overflow-y: scroll; 
}
.nb_module{
    width: 100%;
}
.nb_view{
    width: auto;
    margin-left: auto;
    margin-right: auto; 
    position: relative;
}
.nb_module:hover .nb_view{
   box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
   width:auto;
   border:1px solid #1aae88;
}
.nb_module_highlight{
    border: 1px dashed #999999;
    color: #333333;
    height: 50px;
    background-color: #e6e6e6;
    
    margin-left: auto;
    margin-right: auto;
}

.nb_row_edits{
    position: absolute;
    z-index: 5;
    background-color: #e6e6e6;
    color: #b3b3b3;
    font-size: 18px;
    height: 34px;
    width: 34px;
    text-align: center;
    line-height: 34px;
    margin-top: -35px;
    right:0px;
}
.nb_row_edits:hover{
    background-color: #cccccc;
    color: #999999;
    cursor: pointer;
}
.nb_row_edits-delete{
     right: 105px;
    display: none;
}
.nb_row_edits-move{
     right:70px; 
    display: none;
}
.nb_row_edits-multiply{
     right: 35px; 
    display: none;
}
.nb_row_edits-background{
    display: none;
}
.nb_button_background{
   cursor: pointer;
    display: none;
}
.nb_image_edit{
    position: relative;
    float:left;
    width:100%;
}
.nb_image_button{
    background-color: #e6e6e6;
    color: #b3b3b3;
    font-size: 18px;
    height: 34px;
    width: 34px;
    text-align: center;
    line-height: 34px;
    position:absolute;
    top: 50%;
    margin-left:-30px;
    left:50%;
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
    -khtml-border-radius: 50% 50% 50% 50%; 
    display: none;
    z-index: 20;
}
.nb_placeholder_button{
    background-color: #e6e6e6;
    color: #b3b3b3;
    font-size: 13px;
    text-align: center;
    line-height: 34px;
    position:fixed;
    display: block;
    z-index: 20;
    white-space: nowrap;
}
.nb_image_button:hover{
    background-color: #cccccc;
    color: #999999;
    cursor: pointer;
}
.nb_image_link{

    margin-top:-34px;
}
.nb_image_delete{
    margin-top:-34px;
    margin-left:3px;
}
.nb_image_upload{       
   
}
.nb_image_upload_table{
    margin-left:3px;
}
.nb_image_adobe{
    margin-left:3px;
}
.nb_module:hover .nb_row_edits-delete{
    display: inline;
}
.nb_module:hover .nb_row_edits-move{
    display: inline;
}
.nb_module:hover .nb_row_edits-multiply{
    display: inline;
}
.nb_module:hover .nb_row_edits-background{
    display: inline;
}
.nb_module:hover .nb_button_background{
    display: inline;
}
.nb_module:hover .nb_image_button{
    display: inline;
}

