@charset "utf-8";
/* CSS Document */

body.modal-open {
  height: 100%;
  overflow: hidden;
  width: 100%;
  position: fixed;
}
#loading {
    display : none;
}
#loading {
    background-color: #eee;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 9999;
}
#loading > img {
    margin-left: 40%;
    margin-top: 20%;
}

.page-item {
    float: left;
    list-style: outside none none;
    width: 50px;
    word-wrap: normal;
}
.holder .page-item.active .page-link,.holder .page-item.active .page-link:hover {
    color: #fff;
    font-weight: bold;
	background-color:#4CAF50 !important;
}

.disabled .page-link {
    cursor: not-allowed;
}

.holder a {
    color: #333;
    cursor: pointer;
    font-size: 12px;
}
#itemContainer .preload-image {
    height: 130px;
    margin: 0 1% 2%;
    width: 195px;
}

@media only screen and (max-width: 1680px){
	#itemContainer .preload-image {
		height: 85px;
		margin: 0 1% 2%;
		width: 203px;
	}

}

@media only screen and (max-width: 1366px){
	#itemContainer .preload-image {
		height: 75px;
		margin: 0 1% 2%;
		width: 300px;
	}
}
@media only screen and (max-width: 1350px){
	#itemContainer .preload-image {
		height: 85px;
		margin: 0 1% 2%;
		width: 194px;
	}
}
@media only screen and (max-width: 1335px){
	#itemContainer .preload-image {
		height: 85px;
		margin: 0 1% 2%;
		width: 190px;
	}
}
@media only screen and (max-width: 1335px){
	#itemContainer .preload-image {
		height: 85px;
		margin: 0 1% 2%;
		width: 180px;
	}
}
@media only screen and (max-width: 1272px){
	#itemContainer .preload-image {
		height: 85px;
		margin: 0 1% 2%;
		width: 170px;
	}
}
@media only screen and (max-width: 700px){
    #itemContainer .preload-image {
		height: 85px;
		left: 15%;
		margin: 0 1% 5%;
		width: 262px;
	}
	.pagination {
		left: 33%;
	}
}

/* Style the Image Used to Trigger the Modal */
.myImg {
    /*border-radius: 5px;*/
    cursor: pointer;
    transition: 0.3s;
}

.myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 35px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
	
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 83%;
    max-width: 90%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption, #goTo {
    color: #ccc;
    display: block;
    margin: auto;
    /*max-width: 700px;
	height: 20px;
	width: 80%;*/
	width: 100%;
    padding: 1px 0 0;
    text-align: center;
    
}
#goTo a {
    color: #8B8D8E;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption, #goTo { 
    /*-webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;*/
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(.5)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(.5)} 
    to {transform:scale(1)}
}


@-webkit-keyframes slide {
    from {-webkit-transform:scale(1)} 
    to {-webkit-transform:scale(0)}
}

@keyframes slide {
    from {transform:scale(1)} 
    to {transform:scale(0)}
}

.fadeOutLeft, {
  -webkit-animation: fadeOutLeft 5s; 
  -moz-animation:    fadeOutLeft 5s; 
  -o-animation:      fadeOutLeft 5s; 
  animation:         fadeOutLeft 5s; 
}
.fadeOutLeft {
    -webkit-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
}
.fadeOutRight {
  -webkit-animation: fadeOutRight 5s; 
  -moz-animation:    fadeOutRight 5s; 
  -o-animation:      fadeOutRight 5s; 
  animation:         fadeOutRight 5s; 
}
.fadeOutRight {
    -webkit-animation-name: fadeOutRight;
    animation-name: fadeOutRight;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
}

/* The Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}



.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#myModal #previousId {
    background-color: white;
    border-radius: 20px;
    padding-left: 10px;
    position: absolute;
    right: 2%;
    top: 45%;
    width: 20px;
}

#myModal #nextId {
    background-color: white;
    border-radius: 20px;
    padding-left: 10px;
    position: absolute;
    left: 2%;
    top: 45%;
    width: 20px;
}



/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
.paginationDiv {
	width: 100%;
	float: left;
}
	
.pagination {
    margin: 0 auto;
    width: 50%;
}

@media only screen and (max-width: 1024px){
    .pagination {
		width: 40%;
		left: 7.5%;
	}
	#itemContainer {
		margin-left: 5%;
	}
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .pagination {
			width: 100%;
		}
		#itemContainer {
			margin-left: 0%;
		}
	.modal {
		padding-top: 60px;
	}
}
@media only screen and (max-width: 670px){
   .pagination {
		left: 33%;
	}
	#itemContainer .preload-image {
		height: 80px;
		width: 320px;
	}
}

@media only screen and (max-width: 430px){
	#itemContainer .preload-image {
		left: 8%;
	}
	.pagination {
		left: 15%;
	}
}

/*iphone 8plus*/
@media only screen and (max-width: 414px){ 
    #itemContainer .preload-image {
		left : 5.5%
	}
	.pagination {

		left: 3%;
	}
}
/*samsung s7 */
@media only screen and (max-width: 412px){ 
	#itemContainer .preload-image {
		left: 6%;
	}
	.pagination {
		left: 4%;
	}
}
/*iphone 8 */
@media only screen and (max-width: 375px){ 
    #itemContainer .preload-image {
		left : 1%
	}
	.pagination {
		left: 2.5%;
	}
	.page-item{
		width: 45px;
	}
}


