/*
 * NME Unwound Warehouse Gallery
 * 
 */
  
.NME_UWGallery_anchor {
    display: block;
    position: relative;
    top: -55px;
    visibility: hidden;
}

.NME_UWGallery {
    box-sizing: content-box;
	width: 508px;
	margin: 0 auto;
    background-color: rgb(236, 237, 241);
    
    border: 1px solid rgb(236, 237, 241);
    
    border-top-color: #c72b1a;
}

.NME_UWGallery:after {
	clear: all;
}

.NME_UWGallery h3 {
    margin: 5px 0;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.NME_UWGallery .NME_UWG_image {
    text-align: center;
    position: relative;
    min-height: 230px;
}

.NME_UWGallery .NME_UWG_image .NME_UWG_theCounter {
    font-size: 14px;
    margin-bottom: 5px;
}

.NME_UWGallery .NME_UWG_image img {
    background-color: #FFF;
    padding: 10px;
}

.NME_UWGallery .NME_UWG_image .NME_UWG_image_scrollButtonPrev,
.NME_UWGallery .NME_UWG_image .NME_UWG_image_scrollButtonNext,
.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_scrollButtonPrev,
.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_scrollButtonNext {
    border: 1px solid #c72b1a;
    background-color: #c72b1a;
    border-radius: 4px;

    position: absolute;
}
    
.NME_UWGallery .NME_UWG_image .NME_UWG_image_scrollButtonPrev {
    text-align: left;
    left: -7px; /* left: 0px; */
    top: 100px;
}

.NME_UWGallery .NME_UWG_image .NME_UWG_image_scrollButtonNext {
    text-align: right;
    right: -7px;
    top: 100px;
}

.NME_UWGallery .NME_UWG_image .NME_UWG_image_scrollButtonPrev a,
.NME_UWGallery .NME_UWG_image .NME_UWG_image_scrollButtonNext a,
.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_scrollButtonPrev a,
.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_scrollButtonNext a {
    color: white;
    padding: 30px 5px;
    width: 15px;
    display: inline-block;
    line-height: 1px;
    vertical-align: middle;
}
.NME_UWGallery .NME_UWG_image .NME_UWG_image_scrollButtonPrev a:hover,
.NME_UWGallery .NME_UWG_image .NME_UWG_image_scrollButtonNext a:hover,
.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_scrollButtonPrev a:hover,
.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_scrollButtonNext a:hover {
	text-decoration:  none;
}

.NME_UWGallery .NME_UWG_image .NME_UWG_text {
    margin: 5px 10px;
}

.NME_UWGallery .NME_UWG_image .NME_UWG_text .NME_UWG_text_title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.NME_UWGallery .NME_UWG_image .NME_UWG_text .NME_UWG_text_description {
    font-size: 14px;
    text-align: left;
}

.NME_UWGallery .NME_UWG_thumbs {
	height: 87px;
    text-align: center;
    position: relative;
    margin: 10px 0;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_sliderArea {
	width: 430px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_slider {
	width: 10000px;
	position: relative;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_slider ul {
    margin: 0;
    padding: 0;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_slider li {
	border: 1px solid #dadada;
	width: 70px;
	height: 70px;
	margin: 8px 8px 0;
	padding: 0;
	
	list-style: none!important;

	float: left;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_slider li img {
	border: 5px solid #dadada;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_slider li img.active {
	border: 5px solid #6b6990;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_slider li img:hover {
	border: 5px solid #ffffff;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_scrollButtonPrev {
    text-align: left;
    left: -7px; /* left: 0px; */
    top: 5px;
}

.NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_scrollButtonNext {
    text-align: right;
    right: -7px;
    top: 5px;
}


/* Mobile devices */
@media (max-width: 1110px) {
/* debug *//* body { background-color: red; } */

   .NME_UWGallery_anchor {
        top: -100px;
    }
   
    .NME_UWGallery {
        width: 668px;
    }

    .NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_sliderArea {
        overflow: hidden;
        width: 602px;
    }
}

@media (max-width: 767px), (device-width: 320px) and (device-height: 533px) and (-webkit-device-pixel-ratio: 1.5), (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 2), (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3), (device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2), (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
/* debug *//* body { background-color: pink; } */
 
    .NME_UWGallery_anchor {
        top: -100px;
    }
   
    .NME_UWGallery {
        width: 715px;
        max-width: 100%;
    }

    .NME_UWGallery .NME_UWG_text .NME_UWG_text_title {
        font-size: 21px;
    }
    
    .NME_UWGallery .NME_UWG_text .NME_UWG_text_description {
        font-size: 19px;
    }


    .NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_sliderArea {
        overflow: hidden;
        max-width: 602px;
        max-width: 80%;
    }
}

@media (max-width: 359px) {
/* debug *//* body { background-color: orange; } */
    .NME_UWGallery {
        width: 307px;
    }

    .NME_UWGallery .NME_UWG_thumbs .NME_UWG_thumbs_sliderArea {
        overflow: hidden;
        width: 172px;
    }
}
