/* ------------------------------------------------------------------ 
   Generic Module
   ------------------------------------------------------------------ */
.moduleToggle { background-image:url("../img/sprite_arrows.gif"); background-repeat:no-repeat; background-position:right -90px; }
.moduleToggle:hover, 
.moduleToggle:focus { cursor:pointer; background-color:#7d7b6e; color:#fff; text-decoration:none; background-position:right 10px; }
.module.expanded .moduleToggle { background-position:right -90px; }
.module.expanded .moduleToggle:hover, 
.module.expanded .moduleToggle:focus { background-position:right 10px; }
.module.collapsed .moduleToggle { background-position:right -240px; }
.module.collapsed .moduleToggle:hover, 
.module.collapsed .moduleToggle:focus { background-position:right -140px; }


/* ------------------------------------------------------------------ 
   Homepage Tabbed Module
   ------------------------------------------------------------------ */
#homeTabs { margin:0; padding:0; }
#homeTabs li { list-style:none; border-top:1px solid #d5d3c7; height:34px; width:225px; }
#homeTabs a { color:#737063; display:block; padding:8px 10px 12px 10px; font-size:11px; font-weight:bold; text-transform:uppercase; }
#homeTabs a:hover,
#homeTabs a:focus{ text-decoration:none; }

#homePanels .panel { }
#homePanels .panel .btnRss { position:absolute; top:-34px; right:0; }
#homePanels .panel .btnRss a { display:block; height:34px; width:32px; background:#d5d3c7 url("../img/icon_rss.png") no-repeat 0 0; }
#homePanels .panel .btnRss span { position:absolute; left:-999em; }



/* ------------------------------------------------------------------ 
   Generic Styling for News Module
   ------------------------------------------------------------------ */
.newsModule { float:left; position:relative; }
.newsModule .btnRss { position:absolute; top:1px; right:0; }
.newsModule .btnRss a { display:block; height:26px; width:26px; background:#134EA4 url("../img/icon_rss.png") no-repeat -3px -4px; }
.newsModule .btnRss span { position:absolute; left:-999em; }

.newsModule h2 { 
	color:#737063; 
	border-top:1px solid #d5d3c7; 
	margin:0 0 1em 0; 
	padding:8px 0 12px 0; 
	font-weight:bold; 
	text-transform:uppercase; 
	font-size:.6875em; /*font-size:11px;*/ 
}
.newsModule h2 a { color:#737063; }

.mainBase .newsModule h2 {
	font-size:0.85em;
   	border-top:none;
    color: #266162;
	letter-spacing: 2px;
}

.mainBase .newsModule { margin:0 0 0 18px; width:222px; margin-bottom:2em; }
.mainBase .newsModule.hasNoLatestItems { width:auto; }

#latestItems { margin:0 18px 0 24px; width:222px; margin-bottom:2em; }

/* ------------------------------------------------------------------ 
   Generic Styling for News Snippet
   ------------------------------------------------------------------ */
.newsBlurb { font-size:0.8em; margin-bottom:1.25em; }
.newsBlurb a { color:#134EA4; }
.newsBlurb h4 { display:none; }
.newsBlurb h3 { color:#242424; font-size:1.167em; /*font-size:14px;*/ font-weight:bold; margin:0; }
.newsBlurb h3 a.external { display:inline; padding-right:17px; background:transparent url("../img/icon_external.png") no-repeat right 5px; }
.newsBlurb p { font-size:12px; line-height:18px; }


.mainBase .newsBlurb h4 { display:block; margin:0; color: #737063; font-weight:bold; }


/* ------------------------------------------------------------------ 
   News Feed Module
   ------------------------------------------------------------------ */
.newsFeedModule { float:left; background-color:#e7e5d9; width:214px; padding:20px 0; }
.newsFeedModule h2 { font-family:Georgia, "Times New Roman", serif; padding:0 20px 1em 20px; margin:0; border-bottom:1px solid #cac8bd; }
.newsFeedModule .newsBlurb { padding:0 20px; }
.newsFeedModule h2 + .newsBlurb { border-top:1px solid #f4f3e7; padding-top:18px; }
.newsFeedModule .newsBlurb a { color: #134ea4; }

/* ------------------------------------------------------------------ 
   Login Module
   ------------------------------------------------------------------ */

#loginPanel { font-family:Arial, Helvetica, sans-serif; width:214px; line-height:1; margin-bottom:13px; color:#444; }
#loginPanel { float:left; }
#loginPanel a { text-decoration:none; }
#loginPanel h2 {
	margin:0;  
	padding:10px 14px; 
	background-color:#CCD0D3; 
	height:14px; 
	font-size:12px;
	line-height:1; 
	font-family:Arial,Helvetica,sans-serif; 
	font-weight:bold;
	color:#333333;
}

#loginPanel ul { list-style:none; padding:10px 0; margin:0 14px; }

#loginPanel #loginwrapper1,
#loginPanel #loginwrapper2 { background-color:#EBEBEB;}

/* #loginPanel #loginwrapper2 p { margin:0 14px; padding:0 0 17px 0; /*background: url(../img/border.jpg) repeat-x 0 bottom;*/

#loginPanel .authType {
  padding:10px 14px;
}

#loginPanel .currentAuth span {
    display: block;
    margin-top: 3px;
}

#loginPanel .authType.libraryCardAuth,
#loginPanel .authType.shibbolethAuth {
    background-image:url(../img/border.jpg);
    background-repeat:repeat-x;
    background-position:0 top;
}


#loginPanel form { margin:0; overflow:hidden; }

.search-library-resources {
    background-image:url(../img/border.jpg);
    background-repeat:repeat-x;
    background-position:0 bottom;
}

#loginPanel #username, 
#loginPanel #password, 
#loginPanel #lcnum { 
    width:calc(100% - 12px);
	border:1px solid #afae9f; 
	color:#444444; 
	padding:5px; 
	vertical-align:middle; 
	height:14px; 
	font:11px Arial,Helvetica,sans-serif; 
}

/* #1557 SAMS Login page needs a full width, bordered password box */
.page-samslogin #loginPanel #password {
    width:174px;
    border:1px solid #afae9f;
}

#loginPanel input[type="submit"] { background-color:#266162; text-transform:none; padding:0; width:50px; vertical-align:middle; height:26px; border:1px solid #afae9f; border-left:none; color:#fff; font: bold 11px Arial,Helvetica,sans-serif; }

#loginPanel #submitRow,
#loginPanel #libcardSubmitRow { margin-top:5px; }
#loginPanel #libcardSubmitRow { margin-top:-26px; }
#loginPanel #libcardForm { border-top:1px solid #e7e5d8; margin:0;  }
#loginPanel #libcardForm label { display:block; float:left; margin-bottom:5px; width:100%; }

#loginPanel ul.actions { list-style:none; margin:0 14px 10px 14px; padding:0; border-top:1px solid #CCD0D3; }
#loginPanel ul.actions li { border-top:1px solid #EBEBEB; border-bottom:1px solid #CCD0D3; padding:10px 0; }
#loginPanel #shibboleth { border-bottom:none; }

#loginPanel #noAccount p { padding:10px 14px; margin:0; background-color:#CCD0D3; }
#loginPanel #noAccount a { color:#333333; }

#loginPanel div.t-error ul { margin:0; list-style:none; padding:0; }
#loginPanel div.t-error li { margin-left:0 !important; }

#login.multi-auth.auth #loginPanel h2,
#login.multi-auth.auth #loginPanel {
	display: none;
}
#login.multi-auth.auth #loginPanel.expanded-login {
    display:block;
}

#loginPanel { font-family:Arial, Helvetica, sans-serif; width:214px; font-size:12px; line-height:1; color:#444; }
#loginPanel a { text-decoration:none; }
#loginPanel h2 { background-color:#666; color:#ffffff; font-weight:bold; text-transform:uppercase; padding:10px 14px; margin:0; height:14px; font:12px/1 Arial,Helvetica,sans-serif; }
#loginPanel ul { list-style:none; padding:10px 0; margin:0 14px; }

#loginPanel #loginwrapper1,
#loginPanel #loginwrapper2 { background-color:#e1e1e1; }
#loginPanel #loginwrapper1 p { margin: 0; }

#loginPanel .currentAuth span {
	display: block;
	margin-top: 3px;
}

#loginPanel form { overflow: hidden; }
#loginPanel input[type="text"], 
#loginPanel input[type="password"], 
#loginPanel #lcnum { 
	border:1px solid #bfc1c3; 
	color:#444444; 
	padding:5px; 
	vertical-align:middle; 
	height:14px; 
	font:11px Arial,Helvetica,sans-serif; 
}
#loginPanel #password, 
#loginPanel #username { width:174px; }

#loginPanel input[type="submit"] { background-color:#266162; text-transform:none; padding:0; width:50px; vertical-align:middle; height:26px; border:1px solid #afae9f; border-left:none; }
#loginPanel #usernameRow .emptyBlur { background-position:left top; }
#loginPanel #passwordRow .emptyBlur { background-position:left bottom; }
#loginPanel #noAccount p { padding:10px 14px; margin:0; background-color:#666666; background-image:none; }
#loginPanel #noAccount a { color:#ffffff; }
#loginPanel .formRow { margin-top:5px; float:left;  margin-bottom: 0; }
#loginPanel form div:first-of-type { margin-top:0px; }
#loginPanel .flex-box { display:flex; clear:both; }
#loginPanel .flex-contents { width:50%; }
#loginPanel .submit-and-login-links { padding-top:5px; }
#loginPanel #login-links { width:150px; font-size:11px; line-height:14px; margin-left:7px; margin-top:5px; text-align:right; }
#loginPanel #submitRow,
#loginPanel #libcardSubmitRow { margin-top:5px; float:none; }
#loginPanel #libcardSubmit { margin-top:5px; }
#loginPanel .subscriber-sign-in-label { font-size:15px; display:block; padding-left:15px;padding-top:15px;}
#loginPanel .libraryCardAuth { background:none; }
#loginPanel #libcardForm label { display:block; float:left; margin-bottom:5px; width:100%; }

#loginPanel div.t-error { border:1px solid red; }
#loginPanel div.t-error ul { margin:0; list-style:disc; padding:0; }
#loginPanel div.t-error li { margin-left:0 !important; color:red; }

#loginPanel #passwordRow,
#loginPanel #usernameRow { position:relative; }

#login.multi-auth #libraryModule,
#login.multi-auth #libraryModuleContent {
	margin-bottom: 0;
}

.libraryModule .automatic-sign-in { font-size:9px; color:#2a2a2a; background-color:#f0f0f0; }
.libraryModule .logged-in {font-size: 13px; padding: 7px 11px; background-color:#e1e1e1;}
.libraryModule #librarySearch.open + .logged-in { background-image:none; }

#login.multi-auth.auth #loginPanel h2,
#login.multi-auth.auth #loginPanel {
	display: none;
}

#login.multi-auth {
	margin-bottom: 13px;
}

/* ------------------------------------------------------------------ 
   Library Module
   ------------------------------------------------------------------ */
.libraryModule { background-color:#EBEBEB; border-top:none; }
.accessTools .libraryModule,
.accessTools #libraryModuleContent { margin-bottom:0; }
#libraryHeader { border-top:none; background-color:transparent; }
#libraryHeader.open { border-bottom:none; }
.libraryModule #institutioninfo img {
	blend-mode: multiply; /* only supported in some browsers for background images: http://dev.w3.org/fxtf/compositing-1/ http://css3clickchart.com/#blending-modes */
    border:none;
}
#libraryModuleContent .keyword {
    background-color: transparent;
    border-top: none;
}
#expandYourSearchForm input[type="text"] {
    border: 1px solid #CCD0D3;
}

.panelsOpen #expandYourSearchForm input[type="text"] { width:451px; }
.panelsOpen #expandedSearchLabel { width:411px; background-position:416px -240px; }
.panelsOpen #expandedSearchDropdown ul { width:416px; }
.libraryModule { 
	border-top:1px solid #cecdcd;
	background-color:#f3f3f3;
	background-color:transparent;
	margin:0 0 15px 0; 
}

#libraryHeader {
	display:block;
	margin:0;
	padding:13px 13px 8px 13px;	
	background-color:#e1e1e1;
	border-top:1px solid #f2f2f2;
	font-family:Arial, sans-serif;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
}
.libraryModule.open #libraryHeader {
	border-bottom: 1px solid #cecdcd;
} 

#libraryHeader h4 {
	font-weight:bold;
	font-size:12px;
	margin:0;
	padding-right:25px;
	position:relative;
}
.library-module-tools { /*float:right;*/ position:absolute; top:0; right:0; width:auto; }

#libraryHeader .refineHeadExpanded, 
#libraryHeader .refineHeadCollapsed {
	cursor:pointer;
	display:block;
	float:right;
	height:20px;
	width:20px;
	background:transparent url(../img/sprite_arrows.gif) no-repeat right -245px;
}

.libraryModule.open #libraryHeader .refineHeadCollapsed {
	background:transparent url(../img/sprite_arrows.gif) no-repeat right -95px;
}

#libraryHeader .helpLink { 
	display:block; 
	float:right;
	margin-top:20px;
	margin-left:-20px;
	height:15px; 
	width:15px; 
	background:transparent url("../images/icon-help.gif") no-repeat 0 0; 
}

#libraryModuleContent {
	background-color:#f3f3f3;
	background-color:transparent;
	margin:0 0 15px 0;
	padding:0;
	overflow:hidden;
}

.libraryModule .flex-box { display:flex; background-color:#e1e1e1; }
.libraryModule .search-library-resources { background-color:#e1e1e1; font-size:12px; padding: 7px 0px 7px 11px; }
.libraryModule .automatic-sign-in { font-size:9px; color:#2a2a2a; background-color:#f0f0f0; }
#librarySearch.open { display:block; }
.libraryModule .flex-content { width:48%; }
.libraryModule .flex-content #institutioninfo, .libraryModule .flex-content #institutioninfo img { max-width:100%; }


#libraryModuleContent.open { display:block; }
#libraryModuleContent img { margin:0 0 10px 0; }

.libraryModule .accountName {
  background-color:#e1e1e1;
  border-bottom:1px solid #cecdcd;
  padding:10px;
}
.libraryModule #institutioninfo {
	background-color:#e1e1e1;
	padding:10px;
	text-align:center;
}
.libraryModule #institutioninfo img {
	border:1px solid #cecdcd;
	margin:0;
}
.libraryModule #institutioninfo .preamble { display:block; position:absolute; left:-999em; }
.libraryModule #institutioninfo .institutionName { display:none; }
.libraryModule .logged-in-accounts div:first-of-type { border-style:solid; border-top:1px; border-color:#cecdcd; }
.libraryModule .signOut a { background-color:#266162; color:#ffffff; padding:5px; border:1px solid #afae9f; display:inline-block; margin-bottom:10px; }

#libraryModuleContent .keyword {
	background-color:#e1e1e1;
	overflow:hidden;
	padding:13px;
	display:none;
}

#libraryModuleContent .keyword.open {
    display:block;
}

#expandYourSearchForm input[type='text'] {
	border:1px solid #bcbcbc;
	color:#444;
	margin:0 0 3px 0;
	padding:5px;
	width:177px;
	height:15px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
}

#expandedSearchDropdown { 
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	line-height:1.3;
}
#expandedSearchLabel {
	display:block;
	overflow:hidden;
	background:#ddd url(../img/sprite_arrows.gif) no-repeat 140px -240px;
	border:1px solid #bcbcbc;
	padding:5px 10px 5px 5px;
	width: 135px;
	height:15px;
	float:left;
	cursor:pointer;
}

#expandedSearchDropdown ul {
	position:absolute;
	z-index:99;
	background-color:#ddd;
	border:1px solid #bcbcbc;
	margin:26px 0 0 0;
	padding:5px;
	width:140px;
	list-style:none;
	display:none; /* Temp until JS is in place */
}
#expandedSearchDropdown.hover ul { display:block; }
#expandedSearchDropdown li { margin:6px 0; }
#expandedSearchDropdown li a { color:#444; }

#libraryModuleContent #expandSubmit {
	background-color:#001c54;
	border:1px solid #001c54;
	color:#ffffff;
	float:left;
	margin:0 0 0 5px;
	padding:5px;
	vertical-align:middle;
	width:30px;
	height:26px;
}

#libraryModuleContent .signOut { font-size:12px; padding: 7px; background-color:#e1e1e1; }
#libraryModule .authControls {
	background-color:#001c54;
	clear:both;
	font-size:12px;
	padding:6px 11px;
	margin:0;
	color: #fff;
}
#searchLibraryResources { cursor:pointer; color:#134ea4; }
#searchLibraryResources.library-resources-expanded { color:#000000; cursor:initial; }
#libraryModuleContent .signOut a,
#libraryModule .authControls a { color:#fff; }
#libraryModule .authControls.expanded-panel {
    background-color:#001c54;
}

#libraryModule .authControls #signInExpand {
	margin-right: 15px;
}


/* ------------------------------------------------------------------ 
   Product Module
   ------------------------------------------------------------------ */

.productModule { float:left; margin-bottom:13px; font-size:.88em; /*font-size:~12px;*/ }
.productModule a { color:#242424; }
.productModule h2 { margin:0; padding:10px 16px 10px 38px; background:#266162 url("../img/sprite_globe.png") no-repeat 12px 12px; color:#fff; font-weight:bold; }
.productModule .productNav { margin:0; }
.productModule .productNav h3 { margin:0; font-weight:bold; font-size:1.167em; /*font-size:14px;*/ }
.productModule .productNav h3,
.productModule .productNav li { 
	background:transparent url("../img/btn_bkg_arrow.png") no-repeat right center;
	display: block;
	background-color: #d4d4db;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #d4d4db;  
}
/* .productModule .productNav h3 { background-color:#b6b4a7; } */
.productModule .productNav a { display:block; background-color:#eeeeee; padding:8px 16px; margin-right:16px; }
.productModule .productNav a span { display:inline; }
.productModule .productNav a.locked span { background:transparent url("../img/icon_lock.png") no-repeat right top; padding-right:16px; }
.productModule .productNav a:hover,
.productModule .productNav a:focus { text-decoration:none; }
.productModule .productNav li a { padding-left:29px; }
.productModule .moduleFooter { 
	background-color:#d4d4db; 
	border-top:1px solid #FFF; 
}
.productModule .moduleFooter a { display:block; font-weight:bold; padding:8px 16px; }

.productModule .productNav h3:hover,
.productModule .productNav li:hover,
.productModule .productNav h3:focus,
.productModule .productNav li:focus { 
	background-color:#266162; /* Fall-back for IE8 */
	/* Need to figure out how to convert hex to rgb from sitegen */
	background-color:rgba(0, 90, 161, 0.75); /* Doesn't work in IE8 */
}
.productModule .productNav h3:hover a,
.productModule .productNav li:hover a,
.productModule .productNav h3:focus a,
.productModule .productNav li:focus a {
	background-image: #266162;
	/* Need to figure out how to convert hex to rgb from sitegen */
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 90, 161, 0.30)), to(rgba(0, 90, 161, 0.30)));
	background-image: -moz-linear-gradient(rgba(0, 90, 161, 0.30) 0%, rgba(0, 90, 161, 0.30) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#30005aa1, endColorstr=#30005aa1);
}
.productModule .productNav h3.active,
.productModule .productNav li.active { 
	background-color:#266162;
	background-image:none; 
}
.productModule .productNav h3.active:hover,
.productModule .productNav li.active:hover,
.productModule .productNav h3.active:focus,
.productModule .productNav li.active:focus { 
	background-color:#266162;
	background-image:none;
}
.productModule .productNav h3.active a,
	.productModule .productNav li.active a { font-weight:bold; color:#266162; }

.productModule .productNav h3.active:hover a,
.productModule .productNav li.active:hover a,
.productModule .productNav h3.active:focus a,
.productModule .productNav li.active:focus a { 
	background-color:#e7e5d9; 
	background-image:none; 
	filter:none; 
	text-decoration:none; 
}




/* ------------------------------------------------------------------ 
   Reference Snippet
   ------------------------------------------------------------------ */
.reference { font-size:.8125em; line-height:1.38; } /*font-size:13px; line-height:18px;*/
.reference p { margin:1em; }
.reference .externalNav { margin:1em; padding:1em; border:1px solid #d4d4db; }
.reference .externalNav .navLabel { margin:0; }
.reference .externalNav a { font-weight:bold; }
.reference .externalNav a:hover, 
.reference .externalNav a:focus { font-decoration:underline; }
.reference .closeBtn {
    background:#CCD0D3 url("../img/btn_close.gif") no-repeat 234px 2px;
    display:block;
    height:17px;
    text-indent:-9999em;
}

.dialogs > .reference { 
	width:248px; 
	border:1px solid #CCD0D3; 
	background-color:#EBEBEB; 
}

/* ------------------------------------------------------------------ 
   References Module
   ------------------------------------------------------------------ */
.referencesModule { border-top:1px solid #F1F0E9; }
.referencesModule .moduleLabel { display:none; }
.referencesModule .moduleContent { padding:14px; }
.referencesModule .reference p { margin:0 0 1em 0; }
.referencesModule .reference .externalNav { margin:0 0 1em 0; padding-top:0; border-top:none; }
   
/* ------------------------------------------------------------------ 
   Reporters Module
   ------------------------------------------------------------------ */
.reportersModule { font-size:0.875em; }
.reportersModule h3 { 
	background-color:#CCD0D3; 
	margin:0; 
	padding:10px 14px; 
	font-size: 0.875em; 
	font-weight:bold; 
	color: #333333;
	text-transform:uppercase; 
}
.reportersModule .moduleContent { padding:14px; }


