#gallery{
	/* The pics container */
	width:577px;
	height:444px;
	position:relative;
    background-image:url(../main_images/back_portfolio.jpg);
    background-repeat: no-repeat;
    background-position: top left;
}

.pic, .pic a{
	/* Each picture and the hyperlink inside it */
	width:130px;
	height:118px;
	overflow:hidden;
}

.pic{
	/* Styles specific to the pic class */
	position:absolute;
	border:5px solid #EEEEEE;
	border-bottom:22px solid #EEEEEE;
	
	/* CSS3 Box Shadow */
	-moz-box-shadow:2px 2px 3px #333333;
	-webkit-box-shadow:2px 2px 3px #333333;
	box-shadow:2px 2px 3px #333333;
}

.pic a{
	/* Specific styles for the hyperlinks */
	text-indent:-999px;
	display:block;
	/* Setting display to block enables advanced styling for links */
}
.ui-draggable-dragging {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
    /* For IE 8 (and 9, 10, 11?). Don't miss the added quotes */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    opacity:0.5;
    -moz-opacity:0.5;
    -khtml-opacity:0.5;
}
.drop-box{
	/* The share box */
	width:240px;
	height:130px;
	position:absolute;
	bottom:6px;
	right:5px;
	z-index:-1;
	background:url(main_images/drop_box.png) no-repeat;
}

.drop-box.active{
	/* The active style is in effect when there is a pic hovering above the box */
	background-position:bottom left;
}


#instructions {
    position: absolute;
    top: 410px;
    left: 0px;
    padding-left: 9px;
    height: 50px;
    width: 236px;
}
.blogger {
	position: absolute;
	top: 410px;
	left: 246px;
	height: 50px;
	width: 54px;
	background-image:url(../main_images/socialMediaIcons.jpg);
	background-position: -81px 0;
/*
    z-index: -1;
*/
}
.digg {
	position: absolute;
	top: 410px;
	left: 462px;
	height: 50px;
	width: 54px;
	background-image:url(../main_images/socialMediaIcons.jpg);
	background-position: -135px 0;
}
.facebook {
	position: absolute;
	top: 410px;
	left: 518px;
	height: 50px;
	width: 54px;
	background-image:url(../main_images/socialMediaIcons.jpg);
	background-position: -189px 0;
}
.email {
	position: absolute;
	top: 410px;
	left: 408px;
	height: 50px;
	width: 54px;
	background-image:url(../main_images/socialMediaIcons.jpg);
	background-position: -243px 0;
}
.stumbleUpon {
	position: absolute;
	top: 410px;
	left: 354px;
	height: 50px;
	width: 54px;
	background-image:url(../main_images/socialMediaIcons.jpg);
	background-position: -297px 0;
}
.twitter {
	position: absolute;
	top: 410px;
	left: 300px;
	height: 50px;
	width: 54px;
	background-image:url(../main_images/socialMediaIcons.jpg);
	background-position: -351px 0;
}

label, input{
	/* The modal dialog URL field */
	display:block;
	padding:3px;
}

label{
	font-size:10px;
}

fieldset{
	border:0;
	margin-top:10px;
}

#url{
	/* The URL field */
	width:240px;
}
#shuffle {
    position: absolute;
    height: 38px;
    width: 116px;
    right: 10px;
    bottom: 0px;
    z-index: 1;
    vertical-align: bottom;
    background-image:url(../main_images/shuffle.jpg);
    background-repeat: no-repeat;
}