﻿/******************** CSS RESET ********************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video 
{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section 
{
	display: block;
}
body 
{
	line-height: 1;
	overflow:hidden;background: #f9f0e0; /* Old browsers */
background: #ffffff; /* Old browsers */


}
ol, ul
{
	list-style: none;
}
blockquote, q 
{
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after 
{
	content: '';
	content: none;
}
table 
{
	border-collapse: collapse;
	border-spacing: 0;
}
/***************************************************/

#viewImage, #viewImage img 
{
    margin:auto;
    display:block;
    width:1024px;
    height:644px;
}

#bottom{
	margin:auto;
	/*width:1024px;
	background:#ccc;*/
}
#viewName
{
    position:absolute;
    top:0;
    left:0;
    padding:4px 14px;
    font:22px 'Open Sans Condensed', arial, serif;
    color:White;
    background-color:Black;
    opacity:0.5;
    filter:alpha(opacity=50);
}
#cornerTopLeft
{
    position:absolute;
    top:25px;
    left:25px;
}
#cornerTopRight
{
    position:absolute;
    top:25px;
    right:25px;
}
#cornerBottomLeft
{
    position:absolute;
    bottom:25px;
    left:25px;
}
#cornerBottomRight
{
    position:absolute;
    bottom:25px;
    right:25px;
}
.popup
{
	
	display:none;
    position:absolute;
    top:50%;
    left:50%;
    margin-top:-197px;
    margin-left:-350px;
    border: 1px solid #333333;
	
	-webkit-box-shadow: 7px 7px 5px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    7px 7px 5px rgba(50, 50, 50, 0.75);
	box-shadow:         7px 7px 5px rgba(50, 50, 50, 0.75);
}
.popup .popupImg
{
	
    /*width:700px;
    height:394px;*/
	height:282px;
	/*width:501px;*/
}
.popup .closeBtn
{
    position:absolute;
    top:5px;
    right:5px;
    width:60px;
    height:60px;
    cursor:pointer;
    opacity:0.7;
    filter:alpha(opacity=70);
}
.popup .fullScreenGo
{
    position:absolute;
    bottom:10px;
    right:10px;
    width:50px;
    height:50px;    
    cursor:pointer;
    opacity:0.7;
    filter:alpha(opacity=70);
}
.popup .popupName, .popup .videoName
{
    display:block;
    position:absolute;
    top:0;
    left:0;
    padding:2px 30px;
    font:18px 'Open Sans Condensed', arial, serif;
    color:White;
    background-color:Black;
	opacity:0.5;
	border-radius:0 0 8px 0;
}
.videowrap{
    z-index: 10100;
    background: rgba(217,217,163,0.8);
    width:600px;
    height: 380px;
}
.videowrap video{
     z-index: 10101;
    position: absolute;
    bottom: 0;
}
.videowrap .closeBtn{
    top: -10px;
    right: -10px;
}
.closeFSBtn
{
    position:absolute;
    top:5px;
    right:5px;
    cursor:pointer;
    opacity:0.7;
    filter:alpha(opacity=70);
	max-width:80px;
}
.fullScreenBack
{
    position:absolute;
    bottom:10px;
    right:10px;
    cursor:pointer;
    opacity:0.7;
    filter:alpha(opacity=70);
	max-width:80px;
}

.popup .filters{
    position: absolute;
    bottom: 8px;
    width: 90%;
    left: 5px;
    height: 30px;
    list-style: none;
    
}

.popup .filters li{
    width: 30px;
    height: 30px;
    float: left;
    margin: 0 0 0 5px;
    text-align: center;
    cursor: pointer;
}
.popup .filters li img{
    opacity: 0.7;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0);
}
.popup .filters li img:active{
    background: rgba(0,0,0,0.4);
}





/* Navigation Fullscreen */
#navigation 
{  	
    visibility: hidden;
    position:fixed;
    z-index:1;
    bottom:0;
	/*left:0;*/
    padding:5px 0;
    width:100%;
    background-image:url(../Images/bar.gif);
}
#navigation ul
{   
    margin:auto;
}
#navigation li 
{	
	float:left;
}
#navigation li a 
{	
    display:block;
    border:1px solid #1f212a;
	-webkit-box-shadow: 1px 1px 0px rgba(69, 75, 87, 0.75);
	-moz-box-shadow:    1px 1px 0px rgba(69, 75, 87, 0.75);
	box-shadow:         1px 1px 0px rgba(69, 75, 87, 0.75);
	margin-right:10px;
    padding:3px 0;
    width:100px;
	text-decoration:none;
	text-align:center;
	font:19px 'Open Sans Condensed', arial, serif;
	color:#ffffff;
	background-image:url(../Images/bar.gif) no-repeat;
	cursor:pointer;
	/* Rounded Corners */
	-moz-border-radius:6px;
    -webkit-border-radius:6px;
    border-radius:6px;
    -khtml-border-radius: 6px;
    /* Drop Shadow
    -moz-box-shadow: 0px 1px 3px #000000;
    -webkit-box-shadow: 0px 1px 3px #000000;
    box-shadow: 0px 1px 3px #000000; */
}
#navigation li a:hover 
{	
    border:1px solid #1f212a;
}
#navigation li a:active 
{	
    color:#ffffff;
    background:rgba(0,0,0,0.5);
}
/* END */

.lib
{
    position:absolute;
    right:10px;
}
#menuTab
{
    display:none;
    visibility: hidden;
    position:fixed;
    z-index:1;
    bottom:0;
    left:50%;
    margin-left:-45px;
    padding:10px 0;
    width:100px;
    text-align:center;
	font:18px 'Open Sans Condensed', arial, serif;
	color:#ffffff;
    background-image:url(../Images/bar.gif);
    -moz-border-radius:6px 6px 0px 0px ;
    -webkit-border-radius:6px 6px 0px 0px;
    border-radius:6px 6px 0px 0px;
    -khtml-border-radius: 6px 6px 0px 0px;
}
#fullscreen{
	height:100%;width:100%;
	position:absolute;
	/*min-height:740px;*/
	display:none;
	top:0;
	left:0;
	/*height:100%;*/
	background:#000;
	overflow:hidden;
}
.closeFSBtn, .fullScreenBack, #fullscreen, #fullscreen img, #viewName, #menuTab{
	z-index:4;
}
#navigation{
    z-index:5;
}
.popup, .popup img{
	z-index:1;
}
#navigation, #menuTab, #viewName, .popup, .closeFSBtn, .fullScreenBack, #fullscreen img, .popupMsg{
	display:none;
}

.fullScreenBack img, .closeFSBtn img{ width:100%}
.fullScreenBack, .closeFSBtn{ width:8%}

.fullScreenBack img, .closeFSBtn img, .popup .closeBtn, .popup .fullScreenGo{
	background: transparent;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE8 */   
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);   /* IE6 & 7 */      
    zoom: 1;
}

/* Message Fullscreen */
.message{
	width: 452px;
    height:220px;
	background-image: url("../images/msgGradient.png");
	background-position:left top;
	background-repeat:repeat-x;
    border-radius: 0 20px 20px 0;
    color: #CCCCCC;
    display: none;
    font: 17px 'Open Sans Condensed',arial,serif;
    overflow: hidden;
    padding: 20px 5px 20px 20px;
    position: absolute;
    z-index: 10;
	top:40%;
	left:0;
    min-height: 60px;
}
.message #msgSH{
	position: absolute;
    right: 10px;
    top: 44%;
	width: 10px;
}
.message p{
    margin: 10px 0 0;
	float: left;
    font-size: 16px;
    overflow: auto;
    width: 90%;
    height:50%;
	padding:0 12px 20px 0;
}
.message h2{
	font-size:32px;
}
.message #hideMsg{
	height: 100%;
    padding: inherit;
	padding-left:0;
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
	cursor:pointer;
}
.message #msgScroll{
	margin:auto;
	padding:14px 10px 10px 10px;
	transition: -webkit-transform 2s, -moz-transform 2s;
}
.rotated{
	transition: -webkit-transform 2s, -moz-transform 2s;
	-webkit-transform: rotate(180deg); 
	-moz-transform: rotate(180deg);	
}
.unrotated{
	transition: -webkit-transform 2s, -moz-transform 2s;
	-webkit-transform: rotate(0deg); 
	-moz-transform: rotate(0deg);	
}
.message strong{
    font-weight: 700;
    font-size: 14px;
}
#msgScroll, #msgScroll img{
	width: 16px;
}
/* END */

#loader{
    display: none;
    background: rgba(0,0,0,0.6);
    /*height: 100%;
    width: 100%;*/
    position: absolute;top: 0;left: 0;right: 0;bottom: 0;
    background: url("../images/overlay.png") repeat scroll 0 0 transparent;
    border-radius: 5px 5px 5px 5px;
    text-align: center;
    z-index: 11000;
}
#loader div{
    left: 50%;
    position: absolute;
    top: 50%;
    margin-left:-120px;
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 1px 3px rgba(0, 53, 98, 0.2);
    color: #555555;
    padding: 20px;
    width: 200px;
}

.clearfix{height:1px;clear:both}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	#viewImage, #viewImage img, #fullscreen, #fullscreen img{
		width:100%;
		/* Height set with jQuery dynamically */
	}
    .popup .filters li{
        margin: 0 0 15px 10px;
    }
    .popup .filters li img{
        width: 60px;
        height: 60px;
    }
    .popup .filters{
        left: 0;
        bottom:30px;
	}
}
/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	#viewImage, #viewImage img, #fullscreen, #fullscreen img{
		width:100%;
		height:512px;
	}
	html, body {width:100%;height:100%}
    .popup .filters li{
        margin: 0 0 15px 10px;
    }
    .popup .filters li img{
        width: 60px;
        height: 60px;
    }
	
}
/* iPhone 3 ----------- */
@media only screen and (max-device-width: 480px) {
	#viewImage, #viewImage img, #fullscreen, #fullscreen img{
		/*width:1024px;*/
		/*height:644px;*/
	}
	.closeFSBtn, .fullScreenBack{position:fixed;}
    .popup .filters li{
        margin: 0 0 15px 10px;
    }
    .popup .filters li img{
        width: 60px;
        height: 60px;
    }
}