.aznps-cls-lightbox {
    background-color: rgba(0,0,0,0.1);
    text-align: center;
    padding: 1em;
}

    .aznps-cls-lightbox > img {
        max-width: 100%;
        width: 640px;
        height:auto;
        display: inline-block;
        cursor: pointer;
    }

.aznps-cls-lightbox-instructions {
    font-weight: bold;
    font-size: 0.8em;
    padding: 1em;
}

.aznps-cls-lightbox-floating {
    background-color: rgba(0,0,0,0.85);
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 99999;
    padding: 20px;
    display:none;
    text-align:center;
}

.aznps-cls-vpos {
    display: inline-block;
    height: 100%;
    width: 1px;
    margin-right: -1px;
    vertical-align: middle;
}

.aznps-cls-lightbox-floating > img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    width:auto;
    height:auto;
    box-sizing: border-box;
    border: 1px solid #555;
}

.aznps-cls-lightbox-close {
    color: #fff;
    background-color: #3a3a3a;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAYCAYAAADzoH0MAAAACXBIWXMAABVVAAAVVQFe4fQDAAAAnklEQVQ4je1SWxGAMAybhElBAlKQghMkIAUpkxCux3Zso03HJ3fkkzyAJuHHBQAzgBXA5J1ENI0WwIIbiYVkc8rqS1s9QENwc8EhxIEnmhDDLNiEjCyEmMUTyxtYCDdXn2mF+OYXIba524SFeWQk2j/XN9F3MmC2Q5yq+E68nr2daFNGf20Sok5ZrcoI2XuC9mxqM8E7bkOGtF9ACOEEQBnWZweX7UcAAAAASUVORK5CYII=");
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    cursor: pointer;
    border: 2px solid #aaa;
    z-index: 1;
}

.aznps-cls-lightbox-download {
    color: #fff;
    background-color: #3a3a3a;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAABVVAAAVVQFe4fQDAAAA7ElEQVRIie2V4RGCMAyF8zwGYAMZgQ1cRTdwBDbQDWADVtAJdAQ3kA2eF6Ver0chBf2l71fote+7pgmBGESyFJHc29kBuFrOTkrNOayt5fzKsCePrBefAizSH/ADgCxcILkPSnMdObshWQVrRwBdlDbSVFaVk1fSDp1pXk+aL4DYzWdA0s0TIPPNDRCTeUayGPszAmhIaugbNgB2A3PC12tmkLxb0uDdJPyOyqUg+SGtBfDMgAsMOonIue9s0zSDKgEQk85m18E3/z3V35qimC59yg4k2z6u/RQtBWiBVAry4nfROIDSv6FWROQBOD8CZHfPmWsAAAAASUVORK5CYII=");
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    right: 70px;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    cursor: pointer;
    border: 2px solid #aaa;
    z-index: 1;
}

.aznps-letters a {
    display: inline-block;
    padding: 9px 14px !important;
    margin: 2px 2px !important;
    text-decoration: none;
    background-color: rgba(0,0,0,0.5);
    border-radius: 4px;
    color: #fff;
    display: inline-block !important;
}

    .aznps-letters a:hover {
        background-color: rgba(0,0,0,0.75);
    }

.aznps-family-list {
    padding-left: 20px;
}

    .aznps-family-list h3 {
        padding: 0px;
        margin-top: 1em;
        margin-bottom: 0.5em;
        border-left: 8px solid #cbc7bd;
        padding-left: 5px;
    }

    .aznps-family-list a {
        display: block;
        padding-left: 14px;
        margin-bottom: 4px;
    }

.aznps-family-search {
    margin: 1em 20px;
    margin-top:0em;
    padding: 20px;
    background-color: #eaf1dd;
}

.aznps-jump-to-letter {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: #888;
}

table.aznps-cls-families img {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    display: block;
    margin: 0px auto;
}

table.aznps-cls-families {
    width: 100%;
    box-sizing: border-box;
}

.aznps-navigation-type label {
    display: inline;
    vertical-align: middle;
    cursor:pointer;
}

.aznps-navigation-type input {
    display: inline-block;
    vertical-align: -11%;
    margin-right: 6px;
    cursor:pointer;
}

input#aznps_cls_txtSearch {
    display: inline-block;
    width: 300px;
    margin-right: 8px;
}

.aznps-navigation-type {
    background-color: #e3e3e3;
    padding: 10px;
    margin-bottom: 1em;
}

div#aznps_cls_searchResults p {
    padding-left: 0em;
    padding-bottom: 0.5em;
}

.aznps_cls_result {
    padding-left: 1em;
}

button.aznps-cls-btnSearch {
    background-color: #52aa3e;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    margin-right:5px;
}


@keyframes doRotate {
    from {
        transform:rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.aznps-cls-spinner {
    animation-timing-function: linear;
    animation-duration: 1s;
    animation-name: doRotate;
    animation-iteration-count: infinite;
    animation-direction: forward;
}