/***************For ActiveScroll *************/

.grid-item {	
	min-height:300px !important;
}
.grid-item-name-wrap{height: 50px;
font-size: 14px;
line-height: 18px;
}
.pagination{
	display: inline-block;
	padding-left: 0;
	margin: 5px 0;
	border-radius: 4px;
	height:28px;
}

.paging{display:none;}

 #LoadNextItems{
              height:31px;
              width:100%;
              display:none;
              }
.ActiveScrollAuto{
              background:url(../images/loading.gif) no-repeat center;
              }

#ActivePages li{
              list-style:none outside none;
              margin:0;
              padding:0;}

#ActivePaging{
              background: #eee;
               padding: 5px 10px;
              margin: auto;
              line-height: normal;
              border-radius: 3px;
              box-shadow: 0px 0px 2px rgba(0,0,0,0.4);
              text-align:center;
              position:relative;
              bottom:0;
              z-index:9999;
			  
              }
.ActivePagingPositionStable{
              position:fixed !important;
              }
#ActiveScrollButton{
              width:auto;
              background: #eee;
              padding: 8px;
              margin-bottom: 8px;
              margin-left:37.5%;
              margin-right:37.5%;
              line-height: normal;
              border-radius: 3px;
              box-shadow: 0px 0px 2px rgba(0,0,0,0.4);
              text-align:center;
              cursor:pointer;
              }
.ActiveScrollButtonActive{
              background:url(../images/loading.gif) no-repeat #eee center !important;
              cursor:wait !important;
              }
			  
			  
#ActiveScrollTop .scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 99999999;
    background-color: #777777;
    color: #eeeeee;
    width: 64px;
    height: 64px;
    line-height: 64px;
    right: 30px;
    bottom: 30px;
    padding-top: 2px;      
}
.pagination{margin:10px 0px !important;}
#ActiveScrollTop .scroll-top-wrapper:hover {
    background-color: #888888;
}
#ActiveScrollTop .scroll-top-wrapper.show {
    visibility:visible;
    cursor:pointer;
    opacity: 1.0;
	background:url(../images/Scrolltotop.png) no-repeat;
	width:64px;
	height:64px;
}

@media screen and (max-width:400px){
#ActivePaging{width:92% !important;padding: 12px 10px !important;}
.PageNumber{padding: 6px 8px !important;display:inline-block !important;}
#ActiveScrollButton{width:100%; margin:0px;}
}


 .currentPage{background-color: #428bca !important;
    border-color: #428bca !important;
    color: #ffffff;
    cursor: default;
    z-index: 2; margin-left: -1px;
    padding: 6px 12px !important;
   
	}
	
	 .PageNumber{ background-color: #ffffff;
    border: 1px solid #dddddd;
   
    line-height: 1.42857;
    margin-left: -1px;
    padding: 6px 12px !important;
    
    text-decoration: none;}
	
	#ActivePages{padding:0px;}