/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}
.cboxElement:active, .cboxElement:link, .cboxElement:visited   { outline:0; }
#cboxOverlay{background:#000;}
#colorbox { outline:0;}
#cboxContent{margin-top:20px;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{}
#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
#cboxLoadingGraphic{background:url(colorbox/loading.gif) no-repeat center center;}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,  #cboxPrevious:visited, 
#cboxNext:active, #cboxNext:visited, 
#cboxSlideshow:active,    #cboxSlideshow:visited,
#cboxClose:active, #cboxClose:visited {outline:0;}

#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}

#cboxPrevious{position:absolute; top:50%; left:5px;  background: url(//images.antiquesatlas.com/sfv12.png) -286px -177px no-repeat; width:28px; height:28px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:-320px -177px;}

#cboxNext{position:absolute; top:50%; right:5px;  background: url(//images.antiquesatlas.com/sfv12.png) -382px -177px no-repeat; width:28px; height:28px; text-indent:-9999px;}
#cboxNext:hover{background-position:-348px -177px;}

#cboxClose{position:absolute; top:5px; right:5px; display:block; background: url(//images.antiquesatlas.com/sfv12.png) -842px -186px no-repeat; width:26px; height:26px; text-indent:-9999px;}
#cboxClose:hover{background-position:-868px -186px;}

#fairalbum
{
margin:20px 0px 35px 10px;
float:left;
width:490px;
}
.fairgallery
{
	margin:0px  12px 12px 0px;
	float:left;
	display:block;
}
#fairalbum img
{
width:150px;
height:150px;
margin:0px;
}

#fairalbum h3
{
margin: 5px 0px 5px 0px;
padding: 0px;
font-weight: normal;
color: #666;
font-size:26px;
letter-spacing: -1px;
}

.btn {
display: inline-block;
margin-bottom: 0;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 3px 14px;
font-size: 14px;
line-height: 1.42857143;
border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-primary {
color: #444;
background-color: #c0c0c0;
background-image: linear-gradient(bottom, #c0c0c0 0%, #e9e9e9 100%);
background-image: -o-linear-gradient(bottom, #c0c0c0 0%, #e9e9e9 100%);
background-image: -moz-linear-gradient(bottom, #c0c0c0 0%, #e9e9e9 100%);
background-image: -webkit-linear-gradient(bottom, #c0c0c0 0%, #e9e9e9 100%);
background-image: -ms-linear-gradient(bottom, #c0c0c0 0%, #e9e9e9 100%);
background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #c0c0c0), color-stop(1, #e9e9e9) );
border-color: #d0d0d0;
text-shadow: 0 1px 0 rgba(255,255,255,0.50);
}

.btn-primary:hover {
background-color: #e0e0e0;
background-image: linear-gradient(top, #d0d0d0 0%, #ffffff 100%);
background-image: -o-linear-gradient(top, #d0d0d0 0%, #ffffff 100%);
background-image: -moz-linear-gradient(top, #d0d0d0 0%, #ffffff 100%);
background-image: -webkit-linear-gradient(top, #d0d0d0 0%, #ffffff 100%);
background-image: -ms-linear-gradient(top, #d0d0d0 0%, #ffffff 100%);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #d0d0d0),color-stop(1, #ffffff));
background-position: center bottom;
cursor:pointer;
}