.modalbutton{
    display: inline-block;
    cursor: pointer;    
}
.modalwindow {
	background: url(/img/modal/preload.gif) 50% 50% no-repeat #F0F0F0;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;	
	-webkit-box-shadow: 1px 1px 4px #000;	
	-moz-box-shadow: 1px 1px 4px #000;	
	box-shadow: 1px 1px 4px #000;	
    display: none;
    left: 50%;
    overflow: hidden;    
	position: fixed;	
	top: 50%;	
    z-index: 1002;
}

#modalimg{
    z-index: 1000;
}
.img-next,.img-prev{
    z-index: 10005;
}
.img-next {
        background-image: url(/img/modal/right-h.png); 
    background-position: 94% 50%;	
  background-repeat: no-repeat;
    opacity: 1;
    filter: alpha(opacity=100);
	height: 100%;	
	position: absolute;
    right: 0;
	top: 0;
	width: 50%;
}


.img-prev {	
        background-image: url(/img/modal/left-h.png); 
    background-position: 4% 50%;
    background-repeat: no-repeat;
    opacity: 1; 
    filter: alpha(opacity=100);
	height: 100%;
    left: 0;
	position: absolute;
	top: 0;
	width: 50%;
}

/*
.img-next:hover, .img-prev:hover {
    background-color: rgb(240, 240, 240);
    background-color: rgba(240, 240, 240, .1);
}

.img-next:active, .img-prev:active {
    background-color: rgb(240, 240, 240);
    background-color: rgba(240, 240, 240, .2);    
}
*/
.modalhead {
    display: none;
    margin: 10px;
}
.modalheadtext, .modalclose {
    font-family: 'Trebuchet MS';
	font-size: 11px;
	font-style: normal;
	font-weight: bold;
}

.modalheadtext {
	color: #39414A;
    float: left;
    line-height: 1.5em;
    text-shadow: 1px 1px 1px #fff;
	text-transform: uppercase;    
    width: 90%;
}

.modalclose {
	background: #F0F0F0;
    border: none;
	color: #AA0000;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 12px; 
}

.modalclose:hover,.modalclose:active {
	color: #999999;
}

.modalcontent {
	text-align: left;
    margin: 0 10px 10px;
	position: relative;
    z-index: 10000;
}

.modalwindow1{background:#f0f0f0;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:1px 1px 4px #000;-moz-box-shadow:1px 1px 4px #000;box-shadow:1px 1px 4px #000;position:fixed;z-index:1002;left:50%;margin-left:-240px;top:-10000px;}
.modalhead1{
    margin: 10px;
}
#videoDiv{margin-right:3px;}
#videoInfo{margin-left:3px;}
.loaded-gallery{display:none;}
.preload-video{text-align:center;margin: 20px 0;}
#new{
    filter: alpha(opacity=50);
}
#new1{
    filter: alpha(opacity=50);
}