/*	Less Framework 4
	http://lessframework.com
	by Joni Korpi
	License: http://opensource.org/licenses/mit-license.php	*/


/*	Resets
	------	*/

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}



/*	Typography presets
	------------------	*/

.gigantic {
	font-size: 110px;
	line-height: 120px;
	letter-spacing: -2px;
}

.huge, h1 {
	font-size: 32px;
	line-height: 36px;
	letter-spacing: 0px;
}

#mainInner h1 {
	font-size: 26px;
	line-height: 28px;
	letter-spacing: 0px;
	margin-bottom: 0;
}

.large, h2, .largeWhite {
	font-size: 18px;
	line-height: 20px;
	font-weight: normal;
	color: #6c3a96;
}

.largeWhite{
	color: #FFF;
}

#mainInner h2{
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 20px;
	line-height: 22px;
}

.bigger, h3 {
	font-size: 26px;
	font-weight: normal;
	line-height: 36px;
}

#mainInner h3 {
	font-size: 18px;
	font-weight: normal;
	line-height: 20px;
	margin: 20px 0 10px 0;
}

.big, h4 {
	font-size: 22px;
	line-height: 30px;
}

#mainInner h4{
	font-size: 16px;
	font-weight: bold;
	line-height: 28px;
}

body {
	font: 14px/24px 'Noto Sans',sans-serif;
}

.small, small {
	font-size: 12px;
	line-height: 18px;
}

/* Selection colours (easy to forget) */

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}

div.clear{
	clear: both;
}

form{
	margin:0;
	padding:0;
}


/*		Default Layout: 992px. 
		Gutters: 24px.
		Outer margins: 48px.
		Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

body{
	background-color: #3C8C2D;
	background-color: #6c3a96;
}

a{
	color: #6c3a96;
	text-decoration: none;
	cursor: pointer;
}

a:hover, a:active{
	text-decoration: underline;
}

#header, #footer{
	margin:0;
	padding:0;
	background-color: #6c3a96;
}

#logo{
	float:left;
	color: #FFF;
	width: 150px;
	margin: 10px;
	margin-bottom: 20px;
}

#logo a{
	color: #FFF;
	text-decoration: none;
}

#headerRight{
	float:right;
	margin-top: 10px;
	margin-right: 10px;
}

#search{
	float:right;
}

.goButton{
	cursor: pointer;
	color: #6c3a96;
	padding: 2px;
	margin-left: 5px;
	font-weight: bold;
	background-color: #FFF;
	border: 1px solid #FFF;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15); 
	text-decoration: none;
}

.goButton:hover, .goButton:active{
	background-color: #000;
	border: 1px solid #000;
	color: #FFF;
}

#mainInner .goButton{
	cursor: pointer;
	color: #FFF;
	padding: 2px;
	margin-left: 5px;
	font-weight: bold;
	background-color: #585858;
	border: 1px solid #585858;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15); 
	text-decoration: none;
}

#mainInner .goButton:hover, #mainInner .goButton:active{
	background-color: #6c3a96;
	border: 1px solid #6c3a96;
	color: #FFF;
}

#searchBox .goButton, #docOptions .goButton, #resultsoverview .goButton{
	cursor: pointer;
	color: #6c3a96;
	padding: 2px;
	margin-right: 30px;
	margin-top: 10px;
	font-weight: bold;
	background-color: #FFF;
	border: 1px solid #FFF;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15); 
	text-decoration: none;
}

#searchBox .goButton:hover, #searchBox .goButton:active, #docOptions .goButton:hover, #docOptions .goButton:active{
	background-color: #000;
	border: 1px solid #000;
	color: #FFF;
}

#navBar{
	margin-top: 60px;
	float:right;
}

#subNavBar{
	float: right;
	margin-top: 10px;
}

.nav{
	float:left;
	margin-right: 20px;
}

.nav a{
	display: block;
	text-decoration: none;
	color: #FFF;
	padding: 5px 0;
	border-bottom: 2px solid #6c3a96;
}

#crawfordNav{
	margin-bottom: 20px;
}

#crawfordNav a{
	text-decoration: none;
	color: #6c3a96;
	padding: 2px 0;
	border-bottom: 2px solid #FFF;
	margin-right: 10px;	
}

#crawfordNav a:hover, #crawfordNav a:active, .crawfordCurrent{
	border-bottom: 2px solid #6c3a96 !important;
}

#subNavBar .nav a{
	padding: 2px 0;
	border-bottom: 1px solid #6c3a96;
}

.navCurrent, .nav a:hover, .nav a:active{
	border-bottom: 2px solid #FFF !important;
}

#subNavBar .navCurrent, #subNavBar .nav a:hover, #subNavBar  .nav a:active{
	border-bottom: 1px solid #FFF !important;
}

#main{
	margin:0;
	padding:0;
	background-color: #FFF;
	padding-bottom: 10px;
	border-bottom: 1px solid #6c3a96;
}

#mainInner{
	margin: 0 auto;
	width: 972px;
	padding: 20px 10px;
}

#mainLeft{
	float: left;
	width: 540px;
	padding-right: 10px;
	border-right: 2px dotted #6c3a96;
}

#mainRight{
	float: right;
	width: 400px;
}

#footer{
	padding-top: 10px;
	color: #FFF;
}

.footerLeft{
	float: left;
	margin-right: 10px;
	margin-left: 10px;
}

.footerLeft a{
	color: #FFF;
	text-decoration: underline;
}

#footerRight{
	float:right;
	margin-right: 10px;
}

#footerRight p{
	text-align: right;
}

#footerRight p img{
	padding-bottom: 10px;
}

#critStudBlue{
	display: none;
}

#scotsBar{
	background-color: #585858;
}

.topTab{
	float: right;
	
}

.topTab a{
	display: block;
	padding: 2px 5px;
	text-decoration: none;
	color: #FFF;
}

#scots{
	background-color: #b4b4b4;
	color: #FFF;
}

#cmsw{
	background-color: #6c3a96;
}

#scots:active, #scots:hover{
	background-color: #0a53b9;
}

a{
	color: #6c3a96;
}

#navBarCompact{
	display: none;
}

p{
	margin-bottom: 10px;
	text-align: justify;
}

ul{
	list-style-type: square;
	margin: 20px;
}

ol{
	margin: 20px;
}

li{
	margin-bottom: 10px;
}

.photoBox, .photoBoxLeft{
	width: 270px;
	text-align: center;
	padding: 5px;
	float: right;
	margin-left: 10px;
	background-color: #585858;
	color: #FFF;
}

.photoBoxLeft{
	float: left;
	margin-left: 0;
	margin-right: 10px;
}

.normalLinks a{
	color: #000;
	text-decoration: none;
}

.normalLinks a:active, .normalLinks a:hover{
	color: #6c3a96;
	text-decoration: underline;
}

.cloud{
	padding:10px; 
	margin: 10px 0px;
	text-align: justify;
	background-color: #000;
}

.cloud a{
	padding: 0 5px;
}

.cloud a:active, .cloud a:hover{
	text-decoration: none;
	background-color: #ffff99;
	color: #000 !important;
}

.resultstable, .resultstableSearch{
	width: 100%;
	color: #FFF;
    border-spacing:0;
    border-collapse:collapse;
	margin: 10px 0;
}

.resultstableSearch{
	color: #000;
	border: 1px solid #dbdbdb;
}

.inputform{
    border-spacing:0;
    border-collapse:collapse;
	margin: 10px 0;
	border: 1px solid #585858;
}

.leftOfWord{
	text-align: right;
	width: 50%;
}

.rightOfWord{
	width: 50%;
}

.odd{
	background-color: #000;
}

.even{
	background-color: #202020;
}

.searchOdd{
	background-color: #f5f5f5;
}

.searchEven{
	background-color: #dbdbdb;
}

td, th{
	padding: 5px;
}

th{
	background-color: #585858;
	text-align: left;
	color: #FFF;
}

th a{
	color: #FFF;
	padding: 2px;
	border-radius: 2px;
}

td a{
	color: #000;
	font-weight: bold;
}

.resultstableselected a, th a:hover, th a:active{
	background-color: #000;
	padding: 2px;
	border-radius: 2px;
	text-decoration: none;
}

.toTop{
	text-decoration: none !important;
}

.toTop img{
	vertical-align: text-top;
}

#comPair{
	padding:10px; 
	margin: 10px 0px;
	text-align: justify;
	background-color: #000;
	font-size: 20px;
	line-height: 30px;
}

abbr{
	border-bottom: 1px dotted #000;
}

#diaView{
	overflow:auto;
	background-color: #000;
	padding:10px; 
	margin: 10px 0px;
	background-color: #000;
	color: #FFF;
}

.twoCols{
	float: left;
	width: 50%;
}

#resultsoverview, #overview{
	background-color: #585858;
	color: #FFF;
	padding: 10px;
	float:left;
}

#resultsoverviewinner{
	float:left;
}

#typePanel{
	float:right;
	background-color: #000;
	padding: 5px;
}

#typePanel .odd{
	background-color: #b4b4b4;
}

#typePanel .even{
	background-color: #585858;
}

#resultsoverview img{
vertical-align: text-top;
padding-top: 2px;
}

#typePanel{
	float:right;
	height: 200px;
	overflow: auto;
	margin-left: 10px;
}

#typePanel a{
	color: #FFF;
	text-decoration: underline;
}

#typePanel ul{
	list-style: none;
	margin: 0;
}

#typePanel li{
	margin: 0;
	padding: 2px;
}

.resultspager a{
	padding: 2px;
}

.resultspager a:hover, .resultspager a:active{
	padding: 2px;
	background-color: #6c3a96;
	color: #FFF !important;
	border-radius: 2px;
	text-decoration: none;
}

.resultspagerselected a{
	padding: 2px;
	background-color: #6c3a96;
	color: #FFF !important;
	border-radius: 2px;
	font-weight: bold;
}

.greyed{
	color: #a0a0a0;
}

#searchBox, #searchInfo{
	width: 45%;
	float: left;
}

#searchBox{
	background-color: #585858;
	color: #FFF;
	padding: 10px;
	margin-right: 10px;
}

#searchInfo{
border-left: 2px dotted #6c3a96;
	padding-left: 10px;
}

label{
	display: inline-block;
	cursor: pointer;
	margin-right: 10px;
	width: 35%;
	vertical-align: top;
}

label.smallLabel{
	width: auto;
}

 #searchBox input[type="text"]{
	width: 55%
 }
 
 #searchBox select{
	margin-left: 5px;
	width: 55%;
 }
 
 #searchBox a{
	color: #FFF;
 }
 
 .floatLeft{
	float: left;
 }
 
 .floatRight{
	float: right;
 }
 
 .left{
	text-align: left;
 }
 
 .right{
	text-align: right;
 }
 
 .center{
	text-align: center;
 }
 
#docTitle{
	float: left;
	width: 640px;
	padding-right: 10px;
}

#docOptions{
	float: right;
	width: 280px;
	background-color: #585858;
	color: #FFF; 
	padding: 0 10px 10px 10px;
}

#docOptions a{
	color: #FFF;
}
 
 #document{
	text-align: justify;
	border-top: 2px dotted #6c3a96;
	border-bottom: 2px dotted #6c3a96;
	margin: 20px 0;
	padding: 10px 0;
	
 }
 
 #transcription{
 
 	border-top: 2px dotted #6c3a96;
	border-bottom: 2px dotted #6c3a96;
	margin: 20px 0;
	padding: 10px 0;
 }
 
 #transcription tr{
	vertical-align: top;
 }
 
    .speaker1, .speaker1 a{
	color: #6c3a96;
 }
 .speaker2, .speaker2 a{
	color: #11c42a;
 }
  .speaker3, .speaker3 a{
	color: #e45030;
 }
  .speaker4, .speaker4 a{
	color: #7b7b12;
 }
  .speaker5, .speaker5 a{
	color: #04bebe;
 }
  .speaker6, .speaker6 a{
	color: #7c7c9a;
 }
 
 .synchronised{
  background-color: #6c3a96;
  	color: #FFF;	
 }

 #qtWrap{
   background-color: #6c3a96;
  	color: #FFF;
 }
 
 #leftPlayOption{
	float:left;
	width: 220px;
	padding: 10px;
 }
 
  #rightPlayOption{
	float:right;
	width: 220px;
	padding: 10px;
	text-align: right;
 }
 
 #qtWrap label{
	width: auto;
 }
 
 #transcription a{
	font-weight: normal;
	padding: 0px 5px;
 }
 
 #transcription a:hover, #transcription a:active{
	background-color: #585858;
	color: #FFF; 
	text-decoration: none;
 }
 
 #document br{
	margin-bottom: 5px;
 }
 
 #recent{
	background-color: #f5f5f5;
	border: 1px solid #dbdbdb;
	padding: 0 10px 10px 10px;
 }
 
 .notice{
	font-weight: bold;
 }
 
 .highlight{
	background-color: #585858;
	color: #FFF;
	padding: 0px 3px;
 }
 
 .viewingmatch{
  background-color: #6c3a96;
  	color: #FFF;
	padding: 0px 3px;
 }
 
 #matchNav{
	display: none;
	background-color: #585858;
	color: #FFF;
	padding: 10px;
	position: fixed;
	bottom: 0;
	right: 10px;
	opacity: 0.9;
 }
 
 #matchNav a{
	color: #FFF;
 }
 
 #dialogOuter{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #323232;
	opacity: 0.9;
	z-index: 1000;
 }
 
 #dialogInner, #citeBox{
	display: none;
	position: absolute;
	width: 600px;
	top: 150px;
	left: 50%;
	margin-left: -300px;
	padding: 10px;
	background-color: #FFF;
	color: #000;
	z-index: 1001;
 }
 
 #citeBox h4{
	color: #6C3A96;
	margin: 10px 0;
 }
 
 .citeP {
    margin: 10px 0px;
    padding-bottom: 10px;
    border-bottom: 1px solid #6C3A96;
	text-align: left;
}
 
 .closeInfo, .closeCite{
	padding: 5px;
	border: 1px solid #FFF;
 }
 
 .closeInfo:hover,  .closeInfo:active,  .closeCite:hover,  .closeCite:active{
	border: 1px solid #585858;
	border-radius: 4px;
	background-color: #d1d1d1;
 }
 
 .metadatasection{
	margin: 10px 0px;
	padding: 5px;
	border: 1px solid #585858;
 }
 
 #dialogInner h4{
	margin-bottom: -10px;
	background-color: #6c3a96;
	color: #FFF;
	padding: 5px;
 }
 
 #gmap{
	width:550px;
	height:500px;
	float:left;
	border:1px solid #FF9;
}

#detail{
	width: 250px;
	height: 480px;
	float:left;
	padding: 10px;
	margin-left: 10px;
	background-color: #585858;
	color: #FFF;
	overflow: auto;
}

#detail a{
	color: #FFF;
}

#detail h2{
	color: #FFF;
}

.hide{
	display:none;
}

.expand{
	background-image:url("../graphics/down.png");
	background-repeat:no-repeat;
	background-position:left top;
	padding-left: 20px;
}

.contract{
	background-image:url("../graphics/up.png");
	background-repeat:no-repeat;
	background-position:left top;
	padding-left: 20px;
}

.add{
	background-image:url("../graphics/add.png");
	background-repeat:no-repeat;
	background-position:left top;
	padding-left: 20px;
}

#metadata #heading1, #metadata #heading2, #metadata #heading3{
	background-color: #dbdbdb;
}

.metadatasection .metadatasection{
	background-color: #FFF;
}

#showme{
	margin-top: 10px;
}

#showme p{
	text-align: left;
}

#showme label{
	width: auto;
	margin-left: 10px;
}

.toolBox{
	background-color: #dbdbdb;
	padding: 10px;
	margin-bottom: 10px;
	width: 460px;
	
}

.toolBoxImage, .toolBoxText{
	float: left;
}

.toolBoxImage{
	width: 180px;
	margin-right: 10px;
}

.toolBoxText{
	width: 250px;
}

.thumb, .thumbLarge{
	overflow: hidden;
	float:left;
	width: 180px;
	height: 200px;
}

.thumbLarge{
	margin-top: 10px;
	width: 210px;
	height: 210px;
	text-align: center;
}

.thumb img, .thumbLarge img{
	border: 1px solid #b4b4b4;
}

.image{
	width: 800px;
	border: 1px solid #b4b4b4;
}

.imageNav{
	padding: 5px;
	background-color: #6c3a96;
	border-radius: 2px;
	font-weight: bold;
	margin-right: 10px;
}

.imageNav a{
	color: #FFF;
	text-decoration: none;
}

.imageNavGreyed{
	padding: 5px;
	background-color: #b4b4b4;
	color: #FFF;
	border-radius: 2px;
	font-weight: bold;
	margin-right: 10px;
}

.imageNav img, .imageNavGreyed img{
	vertical-align: text-top;
}

.multiSelect{
	height: 120px;
	float:right;
	width: 55%;
	padding: 5px;
	overflow: auto;
	background-color: #FFF;
	color: #000;
	margin-bottom: 10px;
	margin-right: 20px;
}

.multiSelect label{
	width: 70%;
}


#scotsButton a{
	display: block;
	background-color: #585858;
	padding: 10px;
	width: 250px;
	color: #FFF;
	text-decoration: none;
}

#scotsButton a:hover, #scotsButton a:active{
	background-color: #0a53b9;
}

/*		Tablet Layout: 768px.
		Gutters: 24px.
		Outer margins: 28px.
		Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {

	#mainInner{
		width: 692px;
	}
	#mainLeft{
		width: 400px;
	}

	#mainRight{
		width: 270px;
	}
	
	#headerRight{
		width: 542px;
	}
	
	#docTitle{
		width: 400px;
	}

	#docOptions{
		width: 240px;
	}
	
	#detail{
		width: 90%;
		height: auto;
		float:none;
		padding: 10px;
		margin-left: 0px;
		background-color: #585858;
		color: #FFF;
		overflow: auto;
	}
	
	.image{
		width: 600px;
	}
}



/*		Mobile Layout: 320px.
		Gutters: 24px.
		Outer margins: 34px.
		Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {

	#mainInner{
		width: 232px;
	}
	#mainLeft{
		width: 232px;
		float: none;
		margin: 0;
		border: 0;
	}

	#mainRight{
		width: 232px;
		float: none;
		margin-top: 10px;
		border-top: 2px dotted #6c3a96;
		padding-top: 10px;
	}

	#headerRight{
		width: 232px;
	}
	
	#logo{
		float: none;
	}
	
	#navBarCompact{
	display: inline;
	float: right;
	margin: 10px 0;
	}
	#navBar, #subNavBar{
		display:none;
	}
	
	.twoCols, #searchBox, #searchInfo{
		float: none;
		width: 100%;
	}
	
	#searchBox{
		margin-right: 0;
		margin-bottom: 10px;
	}
	
	#searchInfo{
		border: 0;
		padding: 0px;
	}
	
	label{
		display: block;
		width: 90%;
	}
	
	#docTitle, #docOptions{
		width: 232px;
		float: none;
		margin: 0;
		border: 0;
	}
	
	#docOptions{
		padding-top: 5px;
		margin-top: 10px;
	}
	
	 #dialogInner{
		width: 80%;
		left: 0px;
		margin-left: 10px;
	 }
	 
	 .toolBox{
	background-color: #dbdbdb;
	padding: 10px;
	margin-bottom: 10px;
	width: 100%;
	
	}

	.toolBoxImage, .toolBoxText{
		float: none;
	}

	.toolBoxImage{
		width: 90%;
		margin-right: 10px;
	}

	.toolBoxText{
		width: 90%;
	}
	
	 #gmap{
	width:232px;
	height:232px;
	float:none;
	border:1px solid #FF9;
	}

	#detail{
		width: 232px;
		height: auto;
		float:none;
		padding: 10px;
		margin-left: 0px;
		background-color: #585858;
		color: #FFF;
		overflow: auto;
	}
	
	.image{
		width: 200px;
	}
}



/*		Wide Mobile Layout: 480px.
		Gutters: 24px.
		Outer margins: 22px.
		Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	#mainInner{
		width: 416px;
	}
	#mainLeft{
		width: 416px;
		float: none;
		margin: 0;
		border: 0;
	}

	#mainRight{
		width: 416px;
		float: none;
		margin-top: 10px;
		border-top: 2px dotted #6c3a96;
		padding-top: 10px;
	}
	
	#headerRight{
		width: 416px;
	}
	#logo{
		float: none;
	}
	
	#navBarCompact{
	display: inline;
	float: right;
	margin: 10px 0;
	}
	#navBar, #subNavBar{
		display:none;
	}
	
	.twoCols, #searchBox, #searchInfo{
		float: none;
		width: 100%;
	}
	#searchInfo{
		border: 0;
		padding: 0px;
	}
	
	#searchBox{
		margin-right: 0;
		margin-bottom: 10px;
	}
	label{
		display: inline-block;
		width: 35%;
	}
	#docTitle, #docOptions{
		width: 416px;
		float: none;
		margin: 0;
		border: 0;
	}
	
	#docOptions{
		padding-top: 5px;
		margin-top: 10px;
	}
	
	 #dialogInner{
		width: 80%;
		left: 0px;
		margin-left: 10px;
	 }
	 
	 .toolBox{
	background-color: #dbdbdb;
	padding: 10px;
	margin-bottom: 10px;
	width: 460px;
	
	}

	.toolBoxImage, .toolBoxText{
		float: left;
	}

	.toolBoxImage{
		width: 180px;
		margin-right: 10px;
	}

	.toolBoxText{
		width: 250px;
	}
	
	 #gmap{
		width:416px;
		height:416px;
		float:none;
		border:1px solid #FF9;
	}

	#detail{
		width: 416px;
		height: auto;
		float:none;
		padding: 10px;
		margin-left: 0px;
		background-color: #585858;
		color: #FFF;
		overflow: auto;
	}
	
	.image{
		width: 400px;
	}
}