@charset "utf-8";
@import url(normalize.css);
@import url(colours-default.css);

@font-face {
    font-family: 'pna_bold';
    src: url(../fonts/proxima-nova-alt-bold.otf);
    font-weight: normal;
    font-style: normal;
}

#maincontent h2.proxima_nova_test {
	 font-family: 'pna_bold', serif;
}

/* HEADER */

#debug_info {
	position: absolute;
	background-color: silver;
	padding: 5px;
	top: 0;
	left: 0;
	font-size: 70%;
	z-index: 99999;
}
#debug_info p {
	margin: 0;
	padding: 0;
}
#header {
	position: relative;
	margin: 0 0 30px 0;
	padding: 9px 0 0 10px;
}
#skipToContent {
	padding: 4px 6px;
	position: absolute;
	top: -50px;
	left: 0;
	background:#162747;
	color: white !important;
	outline: 0;	
	border-right: 1px solid white;
	border-bottom: 1px solid white;
    z-index: 1000;
}
#skipToContent:focus {
	left: 0;
	top: 0;
}
#hamburgerMenu {
	display: none;
}
/* Logo */
#libraryLogo {
	display: inline-block;
	font-family: Gill Sans, Arial, Helvetica, sans-serif;
	font-size: 21px;
	font-weight: normal;
	background-position: left center;
	background-repeat: no-repeat;
	margin: 0 0 -10px 0;
	letter-spacing: 0.4pt;
	line-height: 23px;
}
#libraryLogo h1 {
	display: none;
}
.logoTreatment1 #libraryLogo {
	padding-left: 82px;
	height: 65px;
	padding-top: 17px;
}
.logoTreatment2 #libraryLogo {
	padding-left: 190px;
	height: 63px;
	padding-top: 19px;
}
.logoTreatment4 #libraryLogo {
	margin: 0;
	padding: 0;
}
#libraryLogo span.english, #libraryLogo span.english {
	display: block;
	color: #162747;
}
#libraryLogo span.gaelic, #libraryLogo span.gaelic {
	display: block;
}
.logoTreatment3 #header img {
	margin-bottom: -10px;	
}
#archiveLogo {
	margin: 0 0 0 81px;
	padding: 5px 0 0 0;
	font-family: Gill Sans, Arial, Helvetica, sans-serif;
	font-size: 21px;
	font-weight: normal;
	border-top: 2px solid #162747;
	letter-spacing: 0.4pt;
}
#archiveLogo h1 {
	display: none;
}
.logoTreatment1 #archiveLogo {
	height: 35px;
}
.logoTreatment2 #archiveLogo, .logoTreatment3 #archiveLogo {
	height: 35px;
}
.logoTreatment4 #archiveLogo {
	margin: 12px 0 0 59px;
	padding: 9px 0 0 0;
	border-top: 1px solid #162747;
}

#libraryLogo a:visited, #libraryLogo a:visited, #archiveLogo a:visited, #libraryLogo span.english a:visited, #libraryLogo span.gaelic a:visited {
	color: inherit;
}
#libraryLogo a:hover, #libraryLogo a:hover span.english, #libraryLogo a:hover span.gaelic, #archiveLogo a:hover {
	color: #ccc;
}
#libraryLogo a, #archiveLogo a {
	text-decoration: none;
}
/* Quick search form */
#quickSearchForm {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0;
	margin: 0;
	border-bottom: 1px solid #162747;
	font-size: 85%;
	background-color: #162747;
}
#quickSearchFormSearchTerm {
	display: block;
	float: left;
	border: none !important;
	color: #162747;
	padding: 3px 6px;
	margin: 0;
	height: 14px;
	width: 188px !important;
}
#quickSearchFormSearchTerm:focus {
	outline: 0 !important;
	background-color: #FFD !important;
}
#quickSearchFormSubmitButton {
	display: block;
	float: right;
	padding: 0;
	margin: 0;
	height: 20px;
	border: none !important;
	color: transparent !important;
	background-color: #162747 !important;
	background-image: url(../graphics/magnifyingGlassWhite.png);
	background-position: center;
	background-repeat: no-repeat;
}
#quickSearchForm:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
* html #quickSearchForm {
	height: 1%;
}

#loggedInMessage {
	position: absolute;
	top: 34px;
	right: 0;
	padding: 0 12px 0 0;
	margin: 0;
	color: #999 !important;
	font-size: 85%;
}

/* Header menues - general */
#header ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
}
#header ul li {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 85%;
}
#header ul li a, #header ul li span {
	display: inline-block;
	text-decoration: none;
	margin: 0;
	color: #162747;
}
#header ul li a {
	font-weight: normal;
}
#header .current a, #header .current span {
	font-weight: bolder;
}
/* Log in menu */
#logInMenu {
	right: 0;
	bottom: 42px;
	padding-left: 380px !important;
}
.logoTreatment4 #logInMenu {
	bottom: 27px;
}
#logInMenu a, #logInMenu span {
	padding: 2px 12px;
}
#logInMenu a {
	border-bottom: 3px solid transparent;
}
#logInMenu span {
	border-bottom: 3px solid transparent;
	color: #999 !important;
}
#logInMenu a:hover {
	border-bottom: 3px solid;
	background-color: #e0e0e0;
}
/* Main menu */
#mainMenu {
	right: 0;
	top: 83px;
}
.logoTreatment4 #mainMenu {
	top: 82px;
}
#mainMenu {
	padding-left: 320px !important;
}
#mainMenu a, #mainMenu span {
	padding: 2px 12px;
}
#mainMenu a {
	border-top: 3px solid transparent;
}
#mainMenu span {
	border-top: 3px solid #162747;
	font-weight: bolder;
}
#mainMenu a:hover {
	border-top: 3px solid;
	background-color: #e0e0e0;
}



/* FOOTER */
#footer {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid #162747;
	margin-bottom: 10px;
	margin-left: 92px;
	text-align: center;
	clear: both;
}
.logoTreatment4 #footer {
	border-top: 1px solid #162747;
	margin-left: 70px;
}
#footer li {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 85%;
}
#footer li a, #footerMenu li span {
	display: block;
	text-decoration: none;
	margin: 0;
	color: #162747;
}
#footer li a {
	font-weight: normal;
}
#footer a, #footer span {
	padding: 2px 12px;
}
#footer a {
	border-top: 3px solid transparent;
}
#footer span {
	border-top: 3px solid #162747;
	font-weight: bolder;
}
#footer a:hover {
	border-top: 3px solid;
	background-color: #e0e0e0;
}

/* MAIN CONTENT AREA - GENERAL */
body {
	font-size: 1em !important;
}
#maincontent {
	margin: 0 40px 40px 92px;
	padding: 0;
	line-height: 1.4em;
	min-height: 25em;
	color: #666;
	font-family: Arial, Helvetica, sans-serif;
}
.logoTreatment4 #maincontent {
	margin: 0 40px 40px 70px;
}
#maincontent .generalInnerPage {
	max-width: 1092px;
}
#maincontent h1, #maincontent h2, #maincontent h3, #maincontent h4 {
	color: #162747;
}
#maincontent h1, #maincontent h2, #maincontent h3 {
	border-bottom: 1px dotted #162747;
	margin-right: -40px;
	padding-right: 40px;
}
#maincontent h1, #maincontent h2 {
	font-size: 130%;
	padding-bottom: 5px;
}
#maincontent h3 {
	font-size: 110%;
	padding-bottom: 2px;
}
#maincontent h4 {
	font-size: 100%;
	padding-bottom: 2px;
}
#maincontent ul {
	list-style: square;
}
#maincontent ul ul {
	list-style: circle;
	margin: 0;
}
#maincontent ol {
	list-style: decimal;
}
#maincontent ol ol {
	list-style: lower-alpha;
	margin: 0;
}

#maincontent ol ol ol {
	list-style: lower-roman;
	margin: 0;
}
#maincontent li {
	margin-bottom: 1em;
}
#maincontent .compact li {
	margin-bottom: 0;
}
/* Tables */
#maincontent table {
	padding: 0; 
	margin: 0.5em 0;
	border-collapse: separate;
	border-spacing: 1px;
	empty-cells: show;
}
#maincontent table caption {
	margin-bottom: 0.2em;
	margin: 0;
	padding: 0;
	text-align: left;
	font-weight: bold;
	padding: 5px;
}
#maincontent table.centered {
	margin: 0.5em auto 1em auto;
}
#maincontent table.full_width {
	width: 100%;
}
#maincontent table.flow_left {
	float: left;
	margin-right: 2em;
}
#maincontent table.flow_right {
	float: right;
	margin-left: 2em;
}
#maincontent table.flow_right caption {
	margin-left: 2em;
}
#maincontent table.flow_left caption {
	margin-right: 2em;
}
#maincontent table.centered caption {
	text-align: center;
}
#maincontent th, #maincontent td {
	margin: 0;
	padding: 2px 6px;
	text-align: left;
	vertical-align: top;
	font-size: 100%;
}
#maincontent caption {
	font-weight: bold;
	background-color: #999;
	color: white;
}
#maincontent th {
	font-weight: bold;
	background-color: #999;
	color: white;
}
#maincontent tr.alt_row td {
	background-color: #e3e3e3;
}
#maincontent td {
	font-weight: normal;
	background-color: #f0f0f0;
}
.newFilm,.newVideo{
	display: inline-block;
	position: relative;
	
	margin: 0;
	padding: 0 8px 0 8px;
	
	font-size: 10px;
	font-weight: bold;
	color: #e94417;
	
	border: 1px solid #e94417;
	border-radius: 2em;
	background-color: white;
	
	line-height: 1.4em;
}
/* MESSAGE */
#maincontent .message {
	border: 1px solid #d50000;
	background-color: white;
	margin: 25px 0;
	padding-bottom: 0.5em;
	font-weight: bolder;
}
#maincontent .message p,
#maincontent .message h3,
#maincontent .message h2,
#maincontent .message h1  {
	padding-left: 10px;
	padding-right: 10px;
}
#maincontent .message h4 {
	background-color: #e6e6e6;
	border-bottom: 1px solid #d50000;
	padding: 5px 10px;
	margin: 0;
	color: #d50000;
}
#maincontent .update {
	border: 1px solid #008000;
}
#maincontent .update h4 {
	border-bottom: 1px solid #008000;
	color: #008000;
}

/* Action and warning messages */
/* Because action messages usually require more than one paragraph, 
this class is intended for use with a div element */
.action_message, .warning_message, .email_message
{
	padding: 0;
	margin-bottom: 1em;
}
.action_message, .warning_message
{
	border: 1px solid red;
}
.email_message
{
	padding: 1em 2em;
	margin-bottom: 0;
	font-family: "Courier New", Courier, monospace;
	color: black;
	border: 1px dashed #999;
	background-color: #eee;
}
.action_message h4, .warning_message h4
{
	margin: 0;
	padding: 0.25em 1em;
	text-align: left; 
	font-style: normal;
	background-color: red;
	color: white !important;
	border: none !important;
}
.action_message p, .warning_message p
{
	margin: 0;
	padding: 0.25em 1em;h
	text-align: left; 
	font-style: normal;
}
.return_message {
	background-color: #eee;
	font-weight: bolder;
}

.nobr {
	white-space: nowrap;
}
.order_by_arrow {
	color: white !important;
	text-decoration: none;
}



/* ADJUSTMENTS - TABLET PORTRAIT */
@media only screen and (max-width: 60em) {
	#responsiveDesignIndicator:after {
		content: "60em";
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		font-size: 70%;
		color: red;
	}
}

/* ADJUSTMENTS - TABLET PORTRAIT */
@media only screen and (max-width: 52em) {
	#responsiveDesignIndicator:after {
		content: "52em";
	}
	#skipToContent, #headerMenus {
		display: none;
	}
	#hamburgerMenu {
		display: block; 
		height: 20px;
		width: 20px;
		background-image: url(../graphics/hamburger-menu-dark-blue.png);
		background-repeat: no-repeat;
		position: absolute;
		top: 4px;
		right: 4px;
		cursor: pointer;
	}
	#headerMenus {
		margin: 20px 0 20px 81px; /**/
		border-top: 2px solid #162747; /**/
		border-bottom: 1px solid #162747; /**/
	}
	.logoTreatment4 #headerMenus {
		margin: 20px 0 20px 58px; /**/
	}
	/* Header menues - general */
	#header ul {
		position: relative; /**/
	}
	#header ul li {
		display: block; /**/
		border-bottom: 1px solid #162747; /**/
	}
	/* Log in menu */
	#logInMenu {
		right: auto !important; /**/
		bottom: auto !important; /**/
		padding-left: 0 !important; /**/
	}
	#logInMenu a, #logInMenu span {
		padding: 3px 5px; /**/
	}
	#logInMenu a {
		border-bottom: none; /**/
	}
	#logInMenu span {
		border-bottom: none; /**/
	}
	#logInMenu a:hover {
		border-bottom: none; /**/
		background-color: #ddd; /**/
	}
	#loggedInMessage {
		position: relative;
		top: auto;
		right: auto;
		padding: 3px 5px; /**/
		border-bottom: 1px solid #162747; /**/
	}
	/* Main menu */
	#mainMenu {
		right: auto !important; /**/
		top: auto !important; /**/
	}
	#mainMenu {
		padding-left: 0 !important; /**/
	}
	#mainMenu a, #mainMenu span {
		padding: 3px 5px; /**/
	}
	#mainMenu a {
		border-top: none; /**/
	}
	#mainMenu span {
		border-top: none; /**/
	}
	#mainMenu a:hover {
		border-top: none; /**/
		background-color: #ddd; /**/
	}
	#footer a, #footer span {
		padding: 2px 3px;
		font-size: 80%;
	}

	/* Quick search form */
	#quickSearchForm {
		position: relative; /**/
		top: auto; /**/
		right: auto; /**/
		border-bottom-width: 2px; /**/
	}
	#quickSearchFormSearchTerm {
		padding: 4px 5px; none; /**/
	}
}

/* ADJUSTMENTS - PHONE -LANDSCAPE */
@media only screen and (max-width: 45em) {
	#header {
		margin-bottom: 0;
	}
	.homePage #header {
		margin-bottom: 15px;
	}
	#responsiveDesignIndicator:after {
		content: "45em";
	}
}

/* ADJUSTMENTS - PHONE - PORTRAIT */
@media only screen and (max-width: 30em) {
	#responsiveDesignIndicator:after {
		content: "30em";
	}
	.logoTreatment4 #headerMenus {
		margin: 20px 0 20px 41px; /**/
	}
	#libraryLogo {
		font-size: 14px;
		padding-left: 52px;
		padding-top: 12px;
		margin: 0 0 -10px 0;
		line-height: 16px;
	}
	.logoTreatment4 #libraryLogo {
		height: 43px;
		padding: 0;
		margin: 6px 0 0 0;
	}
	.logoTreatment4 #libraryLogo {
		background-image: none;
	}
	.logoTreatment4 #libraryLogo img {
		width: 291px;
		height: 43px;
	}
	#archiveLogo {
		margin: 6px 0 0 52px;
		padding: 3px 0 0 0;
		font-size: 14px;
	}
	.logoTreatment4 #archiveLogo {
		margin: 8px 0 0 43px;
		padding: 6px 0 0 0;
	}
	.logoTreatment4 #archiveLogo img {
		width: 151px;
		height: 10px;
	}
	.homePage #maincontent {
		margin: 0 !important;
		padding: 0 !important;
	}
	#maincontent, .logoTreatment4 #maincontent {
		margin: 0 5px;
		padding: 0;
	}
	#hamburgerMenu {
		height: 15px;
		width: 15px;
		background-image: url(../graphics/hamburger-menu-small-dark-blue.png);
		top: 3px;
		right: 3px;
	}
	#headerMenus {
		margin-left: 52px; /**/
	}
		
	#footer {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	#maincontent h1, #maincontent h2, #maincontent h3 {
		margin-right: -5px;
		padding-right: 5px;
		margin-left: -5px;
		padding-left: 5px;
	}

}

/* ADJUSTMENTS - HIGH RES DEVICE */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
	
}

/* ADJUSTMENTS - PRINT */
@media print {
	#responsiveDesignIndicator, 
	#skipToContent,
	#hamburgerMenu,
	#headerMenus,
	#footer {
		display: none;
	}
    * {
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    #header a[href]:after,
	abbr[title]:after,
	a.dontPrintURL:after,
	.ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "" !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }


}
