.vgis-popup {
    font-size: 12px !important;
    font-family: "Helvetica", helvetica, arial, sans-serif !important;
    color: #111 !important;
    width: 920px;
    height: 440px;
    position: relative;
    overflow: hidden;
}

.vgis-td-left {
    width: 620px;
    vertical-align: top;
    padding: 10px;
}

.vgis-td-right {
    border-left: 1px solid #ddd;
    background: #fcfcfc;
    vertical-align: top;
    padding: 10px;
}

.vgis-dashicons {
    vertical-align: middle !important;
}

.vgis-container {
    width: 618px;
    display: inline-block;
    margin-top: 10px;
}

.vgis-item {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    text-align: center;
    border: 1px solid #ddd;
    float: left;
    margin-right: 3px;
    margin-bottom: 3px;
    padding: 0;
    background: #fff;
    box-sizing: content-box !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.vgis-item:nth-child(4n+0) {
    margin-right: 0px !important;
}

.vgis-input, .vgis-select {
    padding: 0 6px !important;
    border-color: #DDD !important;
    box-shadow: none !important;
    border-radius: 2px !important;
    border: 1px solid #DDD !important;
    background-color: #fff !important;
    color: #32373c !important;
    float: left !important;
    margin-right: 2px !important;
    outline: none !important;
    font-size: 12px !important;
    line-height: 28px !important;
    height: 28px !important;
}

.vgis-input {
    width: 100%;
}

.vgis-input-small {
    width: 60px !important;
}

.vgis-input-normal {
    width: 355px !important;
}

.vgis-textarea {
    padding: 6px !important;
    border-color: #DDD !important;
    box-shadow: none !important;
    border-radius: 2px !important;
    border: 1px solid #DDD !important;
    background-color: #fff !important;
    color: #32373c !important;
    float: left !important;
    margin-right: 2px !important;
    outline: none !important;
    font-size: 12px !important;
    width: 100%;
}

.vgis-button {
    padding: 0 6px !important;
    border-color: #00a0d2 !important;
    box-shadow: none !important;
    border-radius: 2px !important;
    border: 1px solid #00a0d2 !important;
    background-color: #00a0d2 !important;
    color: #fff !important;
    float: left !important;
    margin-right: 2px !important;
    cursor: pointer !important;
    outline: none !important;
    font-size: 12px !important;
    line-height: 26px !important;
    height: 28px !important;
}

.vgis-button-disable {
    padding: 0 6px !important;
    border-color: #dedede !important;
    box-shadow: none !important;
    border-radius: 2px !important;
    border: 1px solid #dedede !important;
    background-color: #dedede !important;
    color: #555 !important;
    float: left !important;
    margin-right: 2px !important;
    cursor: pointer !important;
    outline: none !important;
    font-size: 13px !important;
    line-height: 26px !important;
    height: 28px !important;
}

.vgis-table {
    display: table !important;
    border-collapse: separate !important;
    border-color: grey !important;
    vertical-align: middle !important;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border-spacing: 0;
    vertical-align: top;
}

.vgis-tr {
    display: table-row !important;
    vertical-align: middle !important;
    border-color: inherit !important;
}

.vgis-td {
    display: table-cell !important;
    vertical-align: middle !important;
}

.vgis-display-none {
    display: none;
}

.vgis-display-inlineblock {
    display: inline-block;
}

.vgis-right {
    height: 370px;
    overflow-y: auto;
    overflow-x: hidden;
}

.vgis-checkbox {
    border: 1px solid #DDDDDD;
    background: #fff;
    color: #32373c;
    clear: none;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    height: 16px;
    margin: -4px 4px 0 0;
    outline: 0;
    padding: 0 !important;
    text-align: center;
    vertical-align: middle;
    width: 16px;
    min-width: 16px;
    border-radius: 2px !important;
    -webkit-appearance: none;
    box-shadow: none !important;
    -webkit-transition: .05s border-color ease-in-out;
    transition: .05s border-color ease-in-out;
}

.vgis-button:hover {
    opacity: 0.7;
}

.vgis-item img {
    max-width: 150px;
    max-height: 150px;
}

.vgis-use-image {
    width: 100%;
    display: none;
}

.vgis-item span {
    position: absolute;
    bottom: 2px;
    right: 2px;
    padding: 0 4px;
    color: #fff;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10;
}

.vgis-page {
    text-align: center;
}

.vgis-item-overlay {
    width: 150px;
    height: 150px;
    background: #000;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 997;
    opacity: 0.7;
    filter: alpha(opacity=70);
    display: none;
}

.vgis-item-link {
    display: none;
    position: absolute;
    top: 50px;
    width: 150px;
    text-align: center;
    z-index: 998;
}

.vgis-item-link a {
    display: inline-block;
    background: #fff;
    padding: 0 10px;
    height: 24px;
    line-height: 24px;
    margin-bottom: 5px;
    text-decoration: none;
    width: 120px;
    font-size: 12px;
    outline: none !important;
    cursor: pointer;
    outline: none;
}

#vgis-view img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.vgis-p {
    margin: 10px 0 5px 0;
    width: 100%;
    display: inline-block;
}

.vgis-check {
    z-index: 995;
    position: absolute;
    top: 5px;
    right: 8px;
}

.vgis-check input[type=checkbox] {
    margin: 0 !important;
}

.vgis-item:hover > .vgis-item-overlay {
    display: block;
}

.vgis-item:hover > .vgis-item-link {
    display: block;
}

.vgis-item-single {
    width: 100%;
    height: auto;
    text-align: center;
}

.vgis-loading {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    min-width: 20px;
    background: url("../images/loading.gif") no-repeat;
    background-position: center;
}

.vgis-loading-text {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    min-width: 20px;
    background: url("../images/loading.gif") no-repeat;
    padding-left: 30px;
}