﻿kImageBrowser_dialog
{
    overflow: hidden;
    width: auto;
    height: auto;
}

.kImageBrowser_dialog .imgContainer {
    border: 1px solid #AAAAAA;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 5px #808080;
    float: left;
    height: 75px;
    margin: 5px;
    width: 76px;
    position: relative 
}

.kImageBrowser_dialog .imgContainer .close {
    background: none repeat scroll 0 0 #FF5555;
    border: 1px solid;
    border-radius: 20px 20px 20px 20px;
    box-shadow: 0 0 4px #000000;
    color: #FFFFFF;
    display: block;
    font-size: 15px;
    height: 20px;
    line-height: 16px;
    position: absolute;
    right: -7px;
    text-align: center;
    top: -7px;
    width: 20px;
    text-shadow: 0 0 1px #000000;
}

.kImageBrowser_dialog .close:hover
{
     background: none repeat scroll 0 0 #CC5555;
    box-shadow: 0 0 4px #FF0000;
    height: 22px;
    width: 22px;
    line-height: 17px;
    right: -8px;
    top: -8px;
    cursor :pointer;
}

.kImageBrowser_dialog .imgContainer img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-height: 90%;
    max-width: 90%;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    height: auto;
    cursor: pointer;
}




.kImageBrowser_dialog .imgContainer.selectedImage 
{
    box-shadow: 0px 0px 5px gold;
    border-radius: 10px;
}

/*
.wraptocenter {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: ...;
    height: ...;
}
.wraptocenter * {
    vertical-align: middle;
}
*/
.wraptocenter {
    display: block;
}
.wraptocenter * {
    display: inline-block;
    height: 100%;
    width: 1px;
}

