/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
    margin-top: 10px;
    width: 100%;
    clear: both;
    display: block !important;
}

.ngg-album {
    height: 100%;
    overflow: hidden;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #cccccc;
}

.ngg-albumtitle {
    text-align: left;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.ngg-thumbnail {
    float: left;
    margin-right: 12px;
}

.ngg-thumbnail img {
    background-color: #FFFFFF;
    border: 1px solid #A9A9A9;
    margin: 4px 0px 4px 5px;
    padding: 4px;
    position: relative;
}

.ngg-thumbnail img:hover {
    background-color: #A9A9A9;
}

.ngg-description {
    text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
    float: left;
    padding: 0 12px 4px 0 !important;
    margin: 0px !important;
    text-align: left;
}

.ngg-album-compact a {
    border: none;
}

.ngg-album-compactbox {
    margin: 0 !important;
    padding: 8px !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
    border: 1px solid gray;
    border-radius: 6px;
    z-index: 1;
}

.ngg-album-compactbox:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -7px;
    border-bottom: 1px solid gray;
    border-radius: 6px;
    z-index: -1;
}

.ngg-album-compactbox:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -4px;
    border-bottom: 1px solid gray;
    border-radius: 6px;
    z-index: -1;
}

.ngg-album-compactbox .Thumb {
    margin: 0px !important;
    padding: 0px 0 0 0 !important;
    border: 1px solid black !important;
}

.ngg-album-compact h4 {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    margin-top: 10px;
}

.ngg-album-compact h4 .ngg-album-desc {
    overflow: hidden;
    display: block;
    height: 54px;
}

.ngg-album-compact p {
    font-size: 11px;
    margin: 0;
}

.ngg-clear {
    clear: both;
    float: none;
}
