/* ----------- Image browser style -------------*/

.ngg-imagebrowser {
    margin-top: 20px;
    margin-bottom: 30px;
}

.ngg-imagebrowser h3 {
    text-align: center;
}

.ngg-imagebrowser-desc {
    clear: both;
}

.ngg-imagebrowser .pic {
	max-width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #A9A9A9;
}

.ngg-imagebrowser .pic a {
  display: block !important;
  font-size: 0px;
  margin: 5px;
  text-align: center;
}

.ngg-imagebrowser img {
	max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}

.ngg-imagebrowser-nav {
    padding: 5px;
}

.ngg-imagebrowser-nav .back {
    float: left;
    border: 1px solid #DDDDDD;
    padding: 3px 7px;
}

.ngg-imagebrowser-nav .next {
    float: right;
    border: 1px solid #DDDDDD;
    padding: 3px 7px;
}

.ngg-imagebrowser-nav .counter {
    text-align: center;
    font-size: 0.9em !important;
}

.exif-data {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* TEMPLATES: Updated Default Template */

.ngg-imagebrowser.default-view {
    padding: 0;
    margin: 40px 0 !important;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.ngg-imagebrowser.default-view h3 {
    font-size: 18px !important;
    margin: 0 !important;
    padding: 20px !important;
    text-align: center;
    font-weight: bold;
}

.ngg-imagebrowser.default-view img {
    max-height: 500px;
}

.ngg-imagebrowser.default-view .pic,
.ngg-imagebrowser.default-view .pic a {
    margin: 0;
    border: none;
    box-shadow: none;
} 

.ngg-imagebrowser.default-view .ngg-imagebrowser-nav {
    text-align: center;
    padding: 20px 20px 5px;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-nav .back,
.ngg-imagebrowser.default-view .ngg-imagebrowser-nav .next {
    float: none;
    display: inline-block;
    border: none;
    height: 30px;
    padding: 0;
    width: 80px;
    border-radius: 2px;
    cursor: pointer;
    background: #999;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-nav .back:hover,
.ngg-imagebrowser.default-view .ngg-imagebrowser-nav .next:hover {
    background: #666;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-nav .fa {
    font-size: 16px;
    color: #fff;
    padding: 0 !important;
    line-height: 30px;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-nav .fa-chevron-right {
    margin-left: 2px;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-nav .fa-chevron-left {
    margin-right: 2px;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-nav a,
.ngg-imagebrowser.default-view .ngg-imagebrowser-nav a:hover,
.ngg-imagebrowser.default-view .ngg-imagebrowser-nav a:focus {
    box-shadow: none;
    text-decoration: none;
    padding: 0;
    border: none;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-nav .counter {
    /*margin: 20px 0 22px;*/
    font-size: 12px !important;
    color: rgba(150,150,150,.7);
    margin: 10px 0 6px;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-desc {
    text-align: center;
    padding: 0 50px;
    font-size: 14px;
}

.ngg-imagebrowser.default-view .ngg-imagebrowser-desc p:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 800px) {

    .ngg-imagebrowser.default-view .ngg-imagebrowser-nav {
        text-align: center;
        padding: 20px 10px 5px;
    }

    .ngg-imagebrowser.default-view .ngg-imagebrowser-desc {
        padding: 0;
        font-size: 12px;
    }

}
