	#gallery {
		width: 665px;
		overflow: hidden;
		position: relative;
		/*margin: 20px;*/
	}
	
	#gallery .main {
		height: 400px;					
	}
	
	#gallery  .box {
		background-color: #F2F2F3;
		border-radius: 8px;
		
		/*width: 614px;*/
		padding: 8px;	
		margin: 15px 0px;	
		overflow: hidden;
				
		font-size: 12px;
		color: #939598;
	}	
	#gallery  .album_list .header {
		position: relative;				
	}	
	
	#gallery h1 {
		font-size: 16px;
		font-weight: bold;
		margin-left: 7px;
	}
	
	#gallery  h2 {
		color: #3d7b92;
		text-transform: uppercase;
		
		font-size: 18px;	
	}	
	#gallery .box  h2 , #gallery .comments  h2{
		color: #3d7b92;				
		font-size: 16px;
		margin: 5px 0px 15px 0px;
		padding: 0;
	}	
	
	
	#gallery  .album_list .header #gallery_list {
		float: left;
		margin-bottom: 8px;
	}	
	#gallery  .album_list .header #gallery_own {
		position: absolute;
		right: 5px;
		bottom: 8px;
		width: 265px;
	}	
	#gallery  .album_list .header #gallery_own div {
		float: right;
		margin-top: 4px;
                margin-right: 10px;
	}	
	#gallery  .album_list .album {		
		height: 102px;			
	}
			
	#gallery  .album_list #gallery_abc {	
		clear:both; 	
		display:none;
		margin: 5px 0px 16px 0px;
		float: left;		
	}

	#gallery  .album_list #gallery_abc a {
				
	}	
	#gallery  .album_list #gallery_abc a:hover  .albumGroup {
		background-color: #77bff4;
		text-decoration: none;
	}	

	
	#gallery  .album_list #gallery_abc .albumGroup {	
		background-color: #6aabda;
		color: white;
		border-radius: 8px;
				
		width: 17px;
		height: 17px;
		text-align: center!important;
		float: left;
		margin: 2px;
		font-size: 10px;
		font-weight: bold;
	}
	
	#gallery  .album_list #gallery_abc .albumKisP {
		padding-bottom: 4px;
	}
				
	#gallery  .album_list #gallery_search {	
		clear:both;
		margin: 20px 0px 2px 0px;
	}
	#gallery  .album_list #gallery_search  input {
		vertical-align: middle;
		display: inline-block;
		height: 16px;
		position: relative;		
	}
	
	#gallery  .album_list #gallery_search  input.button {
		margin-left: -13px;
		z-index: 5;
		height: 24px;
		width: 35px;		
	}	
	#gallery  .album_list .button.r {
		background-color: #f4868f;
		outline: none;
	}	
	#gallery  .album_list #gallery_search .t {
		width: 138px;
		z-index: 10;	
		outline: none;
	}
	#gallery  .album_list #gallery_search  label {
		margin-right: 10px;	
	}
		
	
	#gallery  .album_list .img-wrap {
		float: left;
		width: 132px;
		height: 92px;
		margin: 3px 3px;
		
		background-position: center 30%;
		background-repeat: no-repeat;		
		border: 1px solid rgba(245, 240, 233, 0.5);		
	}
	
	#gallery  .album_list .txt-wrap {
		float: right;
		
		background-color: #FFFFFF;
		border-radius: 8px;		
		width: 160px;
		height: 82px;
		padding: 5px;
		margin: 5px;
		line-height: 16px;
		font-size: 13px;
		color: #939598;		
	}
	
	#gallery  .album_list .album_title {		
		font-size: 14px;
		font-weight: bold;
		color: #F4858C;
		margin-bottom: 5px;
		margin-left: 3px;
		font-family: Arial;
	}
	
	#gallery  .album_list .arrow {
		float:right;
		width: 12px;
		text-align: center;
		color: #4495D1;
		font-size: 24px;
		font-weight: bold;
		padding-top: 42px;
	}
	
	#gallery  .album_list .details {
		font-size: 13px;
		color: #4495D1;
		
	}
	
	#gallery #gallery_search  .bn_checkbox {
		float: left;
		margin-top: 2px;
	}

	#gallery  .bn_checkbox input[type="checkbox"] {
		display: none !important;
	}	
	#gallery  .bn_checkbox input[type="checkbox"]+label:before{
	  content:"";
	  display:inline-block;
	  margin: 0 5px 0 0;
	  
	  vertical-align:middle;
	  width:20px;
	  height:20px;
	  background: url(images/bn_checkbox.png) no-repeat transparent;
	  background-position: 0 0;
	}

	#gallery  .bn_checkbox input[type="checkbox"]:checked+label:before{
	  background: url(images/bn_checkbox.png) no-repeat transparent;
	  background-position: 0 -20px;
	}	
	
#gallery .album_form input[type="text"], 
#gallery .album_form textarea {
	width: 400px;
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #939598;
	padding: 5px;
}

#gallery .album_form .functions div {
	margin: 2px;
}


#gallery .album_form textarea {
	height: 80px;
}

#gallery .album_form input[type="file"] {
	padding: 5px;
}
	
#gallery .album_form img.thumb,
#gallery .album_list img.thumb {
	height: 75px;
	margin: 2px 5px 2px 0px;
}
#gallery .album .item .thumb {
	height: 100px;
	margin: 2px 5px 2px 0px;
}
#gallery .album .item {
	display: inline-block;
	padding: 0px 7px 7px 0px;
}

#gallery .tabbed {
	background-color: white;
	border-radius: 8px;
	margin: 10px 0px; 
	padding: 10px;
	width: 588px;
}

#gallery .tabs a {
	color: #4495D1 !important;
}

#gallery .tabbed .results {
	margin-top: 10px;
}

#gallery .comments {
	width: 618px;
	padding-bottom: 15px;
}

#gallery .comments textarea {
	width: 99%;
	margin-bottom: 6px;
}

#gallery .inners .inner iframe {
	border: 0;
	width: 588px;
}

#gallery .comments {
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #939598;
}

#gallery .comments .head {
	width: 99%;
	overflow: hidden;
	padding: 5px 5px;
	background-color: #f5f0e9;
	border-radius: 8px;
}

#gallery .comments .body {
	clear: both;
	overflow: hidden;
	padding: 5px 5px;	
	margin-bottom: 10px;
}
#gallery .comments .show_all {
	font-size: 1.4em;
}

#gallery .tabbed .results img{
	max-width: 300px;
}



#gallery div.slide {
	position: relative;
}

		
	
	#gallery .thumbnails {			
		position: relative;
		overflow: hidden;		
		height: 102px;
		background-color: #F5F0E9;			
		margin: 15px 0px;	
		padding-top: 10px;
		border-radius: 8px;			
	}
	
	#gallery div.thumbnails img {
		cursor: pointer;			
		margin: 0px 7px;		
		height: 92px;
		opacity: 0.9;
	}
	
	#gallery div.thumbnails img:hover {
		opacity: 1;
	}
				
	#gallery a.prev, a.next {
		background: url(images/arrow.png) no-repeat transparent;
		width: 13px;
		height: 19px;
		display: block;
		position: absolute;
		top: 50px;
	}
	#gallery .main a.prev, .main a.next {
		top: 200px;
	}
	#gallery .thumbnails a.prev, .thumbnails a.next {
		top: 50px;
	}
	#gallery a.prev {
		left: 5px;
		background-position: 0 0; 
	}		
	#gallery a.next {			
		right: 5px;
		background-position: -12px 0; 
	}	
	#gallery a.prev span, a.next span {
		display: none;
	}
	
	#gallery .clearfix {
		float: none;
		clear: both;
	}		
	
	#gallery div.slide .toolbar {
		background-color: #F5F0E9;			
		opacity: 0.8;
		/*width: 100%;*/
		display: none;
		position: absolute;
		height: 20px;
		padding-top: 10px;
		padding-bottom: 10px;
		/*padding-left: 175px;*/
	}
	
	#gallery div.slide .top {
		box-shadow: 0px 2px 4px #F5F0E9;
		top: 0;
		height: auto;
		padding: 5px;
	}
	#gallery div.slide .bottom {
		box-shadow: 0px -2px 4px #F5F0E9; 
		bottom: 0;
	}
	
	#gallery .clearfix {
		float: none;
		clear: both;
	}
	
	#gallery .toolbar div {
		/*float:left;*/
		width: auto;
	}
	
	#gallery .toolbar_icon {
		float: left;
		/*max-width: 20px;*/
		height: 20px;
		overflow: hidden;
		margin: 0 3px;
	}
	
	
	
	#gallery #photo_link {
		position: relative;
	}
	
	#gallery #photo_link div {
		display: none !important;
		position: absolute;
	}
		
	#gallery a.btn_like, #gallery a.btn_like_sel, #gallery a.btn_link, #gallery a.btn_folder, #gallery a.btn_note{
		background: url(images/pic_iconset.png) no-repeat transparent;
		display: block;
		color: transparent;
	}
	
	#gallery a.btn_like {		
		background-position: -24px 0;
		width: 20px;
		height: 30px;
		margin-right: 2px;
	}	
	#gallery a.btn_like_sel {		
		background-position: -24px -21px;
		width: 20px;
		height: 30px;
		margin-right: 2px;
	}
	#gallery a.btn_link {		
		background-position: -87px 0;
		width: 24px;
	}
	#gallery a.btn_folder {		
		background-position: -44px 0;
		width: 24px;
	}
	#gallery a.btn_note {		
		background-position: -67px 0;
		width: 22px;
	}	
	
	/*#gallery .twitter_btn {
		margin-right: 10px;
	}*/
	
	/* Album pic list */
		
	#gallery .am-wrapper{
				float:left;
				position:relative;
				overflow:hidden;
			}
	#gallery .am-wrapper img{
		position:absolute;
		outline:none;
	}
	
	#gallery .am-container {
	/*background-color: #F4D5D7;
	border-radius: 4px;*/
	overflow: auto;
	padding: 5px;
			
	}

	#gallery .container {
			margin-left: 10px;
		}

	#gallery .img-wrap{
			float: left;
			overflow:hidden;
			position:relative;
		}
	#gallery .img-overlay{
			background-color:#FFFFFF;
			box-shadow: 0px -2px 4px #FFFFFF;
			bottom: 0;
			
			font-weight: bold;
			font-family: Arial;
			color: #4495D1;
			opacity:0;
			filter: alpha(opacity = 0);
			position: absolute;

			z-index:1000;
			
			/*height: 44px;*/
			/*margin: 6px;*/
			padding: 5px;
			}
	#gallery .img-overlay h4, .img-overlay p{
			padding:0 10px;
		}

	#gallery .img-wrap:hover .img-overlay{
			opacity:0.70;
			filter: alpha(opacity = 70);
			transition:opacity 0.25s;
			-moz-transition:opacity 0.25s;
			-webkit-transition:opacity 0.25s;
			
			font-size: 12px;
			width: 100%;
		}

	#gallery .title {	
			margin-left: 20px;
			
			color: #4495D1;
			margin-bottom: 15px;
			font-family: Arial;
			font-size: 16px;
			font-weight: bold;
			text-transform:uppercase;
		}
		
	#gallery .link_box {
		display: none;
		position: absolute;
		left: 200px;
		top: -35px;
		background-color: white;
		border-radius: 4px;
		padding: 3px 10px;
	}
	
	.count_box {
		width: 15px !important;
		height: 18px;	
		top: 1px;
		position: relative;
		border: 1px solid #aaa;
		background-color: white;
		border-radius: 2px;		
		font-size: 11px;
		font-family: 'Helvetica Neue', Helvetica, Arial, 'lucida grande',tahoma,verdana,arial,sans-serif;
	}

	#gallery .count_box:after, #gallery .count_box:before {
		border: solid transparent;
		content: ' ';
		height: 0;
		left: -9px;
		position: absolute;
		width: 0;
	}

	#gallery .count_box:before {
		border-width: 4px;
		border-right-color: #aaa;
		top: 5px;
	}
	#gallery .count_box:after {
		border-width: 4px;
		border-right-color: white;
		top: 5px;
		left: -8px;
	}