/*BASIC SETTINGS*/
html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

header, footer, section, article, nav, iframe {
   display: block;
   margin: 0;
   padding: 0;
}

body	{
	margin: 0;
	padding: 0;
	background: #000000;
	font-size: .8em;
	line-height: 1.4;
	font-family: calibri, arial, sans-serif;
}

.hide	{
	display: none;
}

.show	{
	display: block;
}	

.clearfix	{
	clear: both;
}	

.back, .more, .continue	{
	font-style: italic;
	margin: 0;
	font-size: 1.1em;
	
}	

.back, .continue	{
	float: right;
}	

.long section	{
	clear: right;
}	

.foreign	{
	font-style: italic; 
}

/*BASIC LAYOUT*/

#wrapper {
	width: 96%;
	margin: 0 auto;
	
	/*height: 100%;*/
}


header  {
    width: 100%;
    margin: 0;
    padding-top: 35%;
	float: left;/*not sure why*/
  	background: #f1f1f1;
	background-image: url(../img/frieze_three.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 96%;
}

header img	{
	display: none;
}

footer {
	clear: both;
	text-align: center;
	color: #f1f1f1;
	font-family: calibri, arial, sans-serif;
}

.copyright a, .copyright  a:hover, .copyright  a:active, .copyright  a:focus, .copyright  a:visited	{
	color: #f1f1f1;
}	

.copyright  a:hover, .copyright  a:active, .copyright  a:focus	{
	text-decoration: none;
}	

/**********************************/

/*NAVIGATION*/
nav {
	width: 100%;
	margin: 0;
	background: #000000;
	font-size: 1.1em;
}

nav ul	{
	list-style: none;
	margin: 0;
	padding: 0;
}	

nav li	{
	width: auto;
	padding: .5em 1em;
	text-align: left;
	border-bottom: 1px solid #cccccc;
	text-transform: uppercase;
	display: block;
	font-weight: bold;
}

nav #menu li	{
	text-align: right;
}

nav a	{
	width: 100%;
	text-decoration: none;
	display: inline-block;
}	

nav a, nav a:visited   	{
	color: #cccccc;
}

nav .parent ul a:hover, nav .parent ul a.current 	{
	color: #aa182c;
}	
	
nav a:hover, nav a:focus, nav a:active	{
	color: #aa182c;
}

nav a.current	{
	color: #f1f1f1;
}	

nav .parent	{
	position: relative;
}

/*SUB NAVIGATION*/

.parent ul	{
	overflow: hidden;
    height: 0px;
	position: absolute;
	top: 0;
	left: 7em;
	width: 60%;
}	

.parent:hover ul, .parent:active ul, .parent:focus  ul {
    margin: 0;
	padding: 0;
	z-index: 100;
	height: auto;
	background: #cccccc;
	border: 1px solid #fcfcfc;
	border-top: none;
}

.parent ul li	{
	display: block;
	background: none;
	text-align: left;
	border-bottom: 1px solid #f1f1f1;
}

.parent ul li:last-child	{
	border-bottom: none;
}

.parent ul li:hover	{
	background-image: linear-gradient(to bottom, #cccccc, #fcfcfc);
}
	
.parent ul a {
	display: inline-block;
	text-transform: none;
	font-weight: normal;
	color: #595959;
}

/*LOCAL NAVIGATION*/

.local_nav	{
	list-style: none;
	margin: 0;
	padding: .5em 0 0;
	float: right;
}

.local_nav li	{
	display: inline-block;
	float: left;
	margin: 0 .5em;
	padding: 0;
}	
	
.local_nav li:last-child	{
	margin-right: 0;
}
	
.local_nav a	{
	display: block;
	width: 1em;
	text-align: center;
	border-radius: 50%;
	text-decoration: none;
	border: 1px solid #f1f1f1;
	color: #f1f1f1;
}

#main .local_nav a:hover	{
	background: #f1f1f1;
	color: #aa182c;
}

#main .local_nav a.current	{
	background: #f1f1f1;
	color: #3a3b40;
}
/***************************************/	
/*CONTENT LAYOUT*/
	
#content	{	
	clear: both;
}	

#main	{
	background: #3a3b40;
	color: #fcfcfc;
	padding: 2% 4% 4%;
}

.text	{
	margin-top: 2em;
}	

ul.column_list	{
	list-style: disc;
	font-size: 1.1em;
	/*column layout*/
	-webkit-columns: 10em 5; /* Chrome, Safari, Opera */
    -moz-columns: 10em 5; /* Firefox */
	columns: 10em 5;
}

ul.column_list li	{
	margin-bottom: .5em;
}	

/*ARTICLE*/

article	{
	background: #f1f1f1; 
	width: 96%;
	padding: 2%;
	color: #000000;
	height: auto;
}	

article.long	{
	height: 25em;
	overflow: hidden;
}	

.columns	{
	display: block;
	font-family: georgia, serif;
	margin: 0;
	padding: 0;
	background: #f1f1f1; 
	height: 100%;
	overflow: auto;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;/*enable scrolling on iPhone and iPad*/
}

#preface p:first-child	{
	margin-top: 0;
}	

/*DIALOGUE WINDOW*/
	
.initials {
	font-weight: bold;
}

#dialogue .question	{
	color: #595959;
}

#dialogue .answer	{
	color: #000000;
}	

#dialogue section 	{
	margin-bottom: 2em;
}	

.signature	{
	font-style: italic;
}	

/*LINKS TO RELATED OBJECTS IN THE DIALOGUE*/
.related	{
	font-family: calibri, arial, sans-serif;
	color: #aa182c;
	margin-top: -.5em;
}
	
.related p	{
	font-style: italic;
	font-size: 1.1em;
	float: left;
	margin: 0 0 0 .5em;
}

.related ul	{
	float: left;
	margin-top: -.5em;
}

.related a	{
	border: 1px solid #aa182c;
	color: #aa182c;
}

.related a:hover, .related a:focus, .related a:active, .related a:visited 	{
	border: 1px solid #595959;
	color: #595959;
}	

.related + p	{
	clear: both;
	padding-top: 1em;
}	

#dialogue section:target h4:first-of-type {
	background: #cfcfcf;
	padding: .2em 0 .2em .5em;
}	

/*HEADERS*/
	
h1, h2	{
	display: none;
}
	
#main h3	{
	margin-top: .5em;
	padding-top: 0;
	font-size: 1.2em;
	font-weight: normal;
	text-transform: uppercase;
}

h3 .subtitle	{
	display: block;
	text-transform: initial;
}	

#main h4	{
	margin-top: 2em;
	font-size: 1.2em;
	font-weight: normal;
	border-bottom: 1px solid #f1f1f1;
	margin-bottom: 0;
}

/*not sure about these 2*/
article h3, article h4, #dialogue h3, #dialogue h4	{
	margin-top: 0;
	color: #595959;
}

#dialogue section section h4	{
	margin-top: 1em;
}	

/*Article title*/
h5	{
	width: 96%;
	color: #595959;
	background: #f1f1f1;
	font-weight: bold;
	font-size: 1.2em;
	margin: 0;
	padding: .5em 2%;
	font-family: georgia, serif;
	border-bottom: 1px solid #595959;
}	
	
/*CONTENT LINKS*/

#main a, #main a:hover, #main a:visited, #main a:active, #main a:focus	{
	color: #f1f1f1;
	padding: 0 .2em;
	margin: 0 -.2em;
}

#main a:hover, #main a:active, #main a:focus	{
	text-decoration: none;
	background: #333333;
}


h5 a, h5 a:visited, h5 a:hover, h5 a:focus, h5 a:active	{
	color: #aa182c;
}	

h5 a:hover, h5 a:active, h5 a:focus	{
	text-decoration: none;
}
	
article a, article a:visited, article a:hover, article a:active, article a:focus	{
	color: #aa182c;
	padding: 0 .2em;
}

.back a, .back a:visited, .back a:hover, .back a:active, .back a:focus, .more a, .more a:visited, .more a:hover, .more a:active, .more a:focus	{
	color: #aa182c;
	padding: 0;
}

article a:hover, article a:active, article a:focus	{
	text-decoration: none;
	background: #cccccc;
}

.back a:hover, .back a:active, .back a:focus, .more a:hover, .more a:active, .more a:focus	{
	background: none;
}	

.back a:hover, .back a:active, .back a:focus, .more a:hover, .more a:active, .more a:focus	{
	text-decoration: none;
	
}

/************************************************************/

/*IMAGES*/
img {
	border: none;
	width: 100%;
}

.watercolor img	{
	background: #f1f1f1;
	padding: .5em;
	box-sizing: border-box;
}

.window, .vid-wrapper	{
	border: 1px inset #cccccc;
}

.caption	{
	margin-top: 0;
	font-size: .9em;
}

.video_caption	{
	margin-left: 2%;
	margin-top: .5em;
	font-size: .9em;
}	

/********************************/
/*OBJECT PAGES*/

.double, .triple	{
	margin-bottom: 2em;
}

.double:last-child, .triple:last-child  {
	margin-bottom: 0;
}	

.card	{
	max-width: 70%;
}
	
.card span	{
	display: block;
}

.card .more  	{
	margin-top: 1em;
	font-size: 1.1em;
}	
	
.credit	{
	font-style: italic;
}	

ul.coins 	{
	list-style: none;
	font-size: 1.1em;
	margin: 1em 0 0 0;
	padding: 0;
}

.coins li	{
	margin-bottom: .5em;
}

.coins span	{
	font-weight: bold;
}	
	
/***************************************************************/

/*VIDEOS*/

.vid-wrapper	{
	width: 96%; 
	position: relative;
	padding-bottom: 72%;
	height: 0;
	margin: 0 auto;
}	

#dialogue_movie	{
	padding-bottom: 54%;
	
}
	

.vid-wrapper iframe	{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/*******************************/


/*LIST OF OBJECTS*/

/*.thumbs 	{
	margin: 0;
	padding: 0;
	overflow: hidden;
}*/

.item	{
	float: left;
	height: 6em;
	margin: 0 2em 3em 0;
}

.item img	{
	height: 100%;
	width: auto;
	margin: 0;
	padding: .5em;
	background: #f1f1f1;
	border-radius: .3em;
}

.kma .item img	{
	border: 1px solid #cccccc;
	padding: 0;
	border-radius: 0;
}	

.kma .item	{
	height: 8em;
}	

/*EVENTS PAGE*/

.events .event	{
	font-weight: bold;
}	

.events .event_date, .events .more	{
	display: block;
}	

/*ABOUT PAGE*/

#about section	{
	clear: both;
	margin-bottom: 3em;
}	
	
.about .image_container	{
	width: 64%;
	float: left;
	margin: 1.5em 1.5em .5em 0;
}	

#wendy .image_container	{
	float: right;
	margin: 1.5em 0 .5em 1.5em;
}	

#catalogue .image_container	{
	margin: 1.5em 0;
}	


/*NARROW SCREEN*/

#main h3, .local_nav	{
	font-size: .9em;
}

#events section	{
	margin-bottom: 0;
}
	
.events	{
	margin-bottom: 0;
}
	
.events li, .resources li	{
	padding-bottom: .5em;
}	

.secondary_image img:first-child	{
	margin-bottom: 1em;
}	
	

