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

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

.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;
}

/* ----------- Extended Album - Updated Default Template -------------*/

.ngg-albumoverview.default-view .ngg-album {
    border: 1px solid rgba(150,150,150,.4);
    margin-bottom: 15px;
    padding: 40px 36px 30px;
}

.ngg-albumoverview.default-view .ngg-albumtitle {
    font-size: 17px;
    text-transform: uppercase;
}

.ngg-albumoverview.default-view .ngg-thumbnail {
    margin-right: 20px;
}

.ngg-albumoverview.default-view .ngg-thumbnail img {
    background: transparent;
    border: 1px solid rgba(150,150,150,.1);
    padding: 0px;
    margin: 0;
}

.ngg-albumoverview.default-view .ngg-thumbnail img:hover {
    background-color: transparent;
}

.ngg-albumoverview.default-view .ngg-description,
.ngg-albumoverview.default-view .ngg-description p {
    font-size: 15px;
    margin: 0 0 10px;
}

.ngg-albumoverview.default-view p.ngg-album-gallery-image-counter {
    display: none;
}

@media (max-width: 960px) {
    .ngg-albumoverview.default-view .ngg-albumtitle {
        font-size: 16px;
    }
    .ngg-albumoverview.default-view .ngg-description,
    .ngg-albumoverview.default-view .ngg-description p {
        font-size: 14px;
    }
}

@media (max-width: 800px) {
    .ngg-albumoverview.default-view .ngg-album {
        padding: 22px 20px 14px;
    }
    .ngg-albumoverview.default-view .ngg-thumbnail img {
        max-width: 240px;
    }
    .ngg-albumoverview.default-view .ngg-albumtitle {
        font-size: 15px;
    }
    .ngg-albumoverview.default-view .ngg-description,
    .ngg-albumoverview.default-view .ngg-description p {
        font-size: 13px;
    }

}

@media (max-width: 600px) {
    .ngg-albumoverview.default-view .ngg-album {
        padding: 40px 36px 30px;
    }
    .ngg-albumoverview.default-view .ngg-album,
    .ngg-albumoverview.default-view .ngg-albumtitle,
    .ngg-albumoverview.default-view .ngg-description {
        text-align: center;
    }
    .ngg-albumoverview.default-view .ngg-thumbnail {
        float:none;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .ngg-albumoverview.default-view .ngg-thumbnail img {
        max-width: 100%;
    }
}

/* ----------- Compact Album - Updated Default Template -------------*/

.ngg-albumoverview.default-view {
    text-align: center;
}

.ngg-albumoverview.default-view .ngg-album-compact {
    text-align: center;
    margin: 0 10px 10px 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(150,150,150,.3);
    box-shadow: 0 0 4px 2px rgba(150,150,150,.1);
    float: none;
    display: inline-block;
}

.ngg-albumoverview.default-view .ngg-album-compactbox,
.ngg-albumoverview.default-view .ngg-album-compactbox .Thumb {
    border: none !important;
}

.ngg-albumoverview.default-view .ngg-album-compactbox:before,
.ngg-albumoverview.default-view .ngg-album-compactbox:after,
.ngg-albumoverview.default-view p.ngg-album-gallery-image-counter {
    display: none;
}

.ngg-albumoverview.default-view .ngg-album-compact h4 {
    padding: 0;
}


.ngg-albumoverview.default-view .ngg-album-compact h4 .ngg-album-desc {
    font-size: 14px;
    letter-spacing: 1.4px;
    box-shadow: none;
}