@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);

/* This stylesheet is for Swinburne's OpenEquella institutions on version 2021.1 */

/*------------------- Shared Research Bank and Commons elements ------------------------ */

/*------------------- General ------------------------ */

html, body, div, span, applet, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, 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, input, textarea, table, caption, tbody, tfoot, thead, tr, th, td, select {
	font-family: 'Open Sans', sans-serif;
}

/*------hides edalex logo-------*/
img[src*="/api/theme/newLogo.png"] {
    margin-left: -1000px;
	height: 100px;
}

/*------adds swin logo ------- */
.jss17 {
	margin-left: 20px;
	background: url(/p/r//com.equella.core/images/swinburne_logo.gif) no-repeat;
}

.jss3 {
	background-color: #FFFFFF !important;
	box-shadow: none !important;
}

h5.MuiTypography-h5 {
	color: black;
	font-size: 35px;
	font-family: 'Open Sans', sans-serif;
}

body {
	background-color: #FFFFFF !important;
}

#breadcrumbs {
	font-size: 12px;
}

/* Removes borders around content areas */
div.area {
	padding: 0px 33px 33px;
	box-shadow: none;
}

/* Prevents content being too wide or too narrow. This div has been added to items via Collection Display */
div #summary_screen {
	max-width: 1000px;
	min-width:400px;
}

.area h2, a.titlelink {
	font-weight: bold;
	margin-top: 20px;
	line-height: 1.2;
	font-size: 22px;
}
	
/*------------------- Left menu ------------------------ */

a.MuiButtonBase-root {
	padding: 4px;
}

.material-icons {
	color: rgba(0, 0, 0, 0.54) !important;
}

/*------------------- Right menu ------------------------ */
	
	div#col2 {
		font-size: .8em;
	}
	
	.itemsummary-layout #col2 h3 {
		font-size: 1em;
	}
	
	.content a:hover, modal a:hover {
		color: #000;
		text-decoration: underline;
	}

/*------------------- Search ---------------------- */

	/* search box */

	#searchform {
		background-color: #f1f3f4;
	}

	#searchform .query-wrapper #querycontainer input[type="text"] {
		border-radius: 0px 0px 0px 0px;
		border: none;
		background-color: white;
	}

	.searchresults-header, .repo-onecol .searchresults-header, .search-layout .searchresults-header {
		border-bottom: 1px solid #292625;
	}
	
	/* search button */
	#searchform-search {
		background: #DC2D27;
		border-radius: 4px;
		height: 37px;
	}
		
	/* Search headings */
	a.titlelink {
		color: #292625;
		font-size: 17px;
	}
	
	/* Temp fix for mobile - prevents content from getting too narrow */
	div#searchresults-outer-div {
		min-width: 400px;
	}
	
	/* Temp fix for mobile - pushes content down so it doesn't overlap */
	
	#actionbuttons .btn {
		margin-top: 28px;
		color: black; /* see Sort/Filter/Share section*/
	}
	
	.itemlist:first-child {
		margin-top: 28px;
	}
		
	#actioncontent.resulttopblock {
		margin-top: 75px;
	}
	
	/* result spacing */
	.itemresult-wrapper {
		margin: 0px 0;
		padding-bottom: 0;
		padding-top: 10px;
	}

	.itemresult-metaline {
		font-size: 14px;
		line-height: 1.65em;
	}
	
	/* Prevents description from wrapping under thumbnail */
	.itemresult-content p {
		overflow: auto;
	}

	/* Hides ratings */
	.rating-bar {
		display: none;
	}
	
	/* Hides paperclips */
	a[title="Hide attachments"] {
		display: none;
	}
	a[title="Show attachments"] {
		display: none;
	}

	/* Hide Filter by Date Modified from search/browse results*/
	#date-range-filter {
		display:none;
		float:none
	}

	#actioncontent hr
	 {
		display:none;
		float:none
	}

	/* Hides search by item owner */
	#owner.filter {
		display:none;
		float:none
	}

/*------------------- Hierarchy / Browse pages -------------------  */

	/* Temporary fix - sort dropdown logged out on SRB */
	#sort {
		background: #fff;
		height: 35px;
	}

	/* width of 'search within' field */
	#actioncontent.resulttopblock .input {
		width: 80%;
	}

	.browse-topics li a {
		font-size: 17px;
		color: #292625;
	}
	
	.area.browse-topics a {
		font-weight: bold;
	}
		
	/* Hides hierarchy sub-headings */
	h2.folder {
		display: none;
	}
	
	/* Collection images - text and image combined */
	.browse-topics tr:hover {
		background-color: unset;
	}
	div.browse-banner {
		display: flex;
		justify-content: space-between;
		max-width: 900px; 
		background-color: #292625;
	}
	div.banner-text {
		display: inline-flex; 
		height: 230px; 
		font-size:40px; 
		text-align: center; 
		align-items: center; 
		color: white;
		justify-content: center;
	}
	div.banner-image {
		display: inline-flex;
	}
	
/*------------------- Sort/Filter/Share/Help/Manage Resources ------------------- */
	
	/* Tabs for filtering 
	#actionbuttons .btn {
		color: black;
	}
	To be re-enabled once mobile workaround in search is resolved
	*/
		
	/* Search within box border height */	
		input#q {
		height: 55px;
	}
	
	.filter.filterbymimetype {
		margin-top: 15px;
	}
	
	#actioncontent.resulttopblock .btn {
		border: none;
		background-color: #DC2D27;
	}
		
	/* Background of blocks */
	#actioncontent.resulttopblock, .topblock {
		background: #292625;
		border: #292625;
		}

	#searchresults-actions #actioncontent h3, .topblock h3 {
		color: #FFF;
		}
		
/*------------------- Contribution wizards / forms------------------- */

	/* Interim contribution screen */
	#contribution_panel table tbody > tr > td, #contribution_panel table tbody > tr > td a {
		font-size: 1rem;
		}

	/* fields in forms */
	input[type="text"], input[type="password"], input[type="number"], textarea, select[multiple="multiple"] {
	}
	
	#wizard-controls .autocompleteControl input[type="text"] {
		height: 14px;
		margin-top: 14px;
	}
	
	.filedrop {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	
	/* moderation pop up field */
	textarea#1_m {
		height: 80px;
		width: 300px;
	}

	.wizard-controls .control {
		margin: 0 0 0px;
	}

	.ctrlEditboxMultiLine {
		height: 120px;
	}
	
	/* buttons */
	.action-button, .btn {
		background-color: #292625;
	}
	
	#wizard-controls h3 {
		font-size: 15px;
		padding-top: 8px;
		margin-top: 10px;
	}
	
	.wizard-controls .control p {
		font-size: 12px;
		margin-left: 20px;
	}
	
	.universalresources {
		font-size: .8em;
	}

	[title="Save and continue"] {
		display: none; 
		}

	.wizard-controls .indent1 .input.text input[type="text"], 
	.wizard-controls .indent1 .input.text textarea, 
	.wizard-controls .indent1 select.listbox {
	height: 34px;
	}
		
	.wizard-controls .control p {
		margin-bottom: 0;
	}
	
	#wizard-major-actions .action-button.save {
		background-image: none;
	}
	
	/* Thumbnail select screen - fix for interface bug */
	.selected, li.thumbrow.selected {
		background: #80d2ee !important;
	}
	
/* ------------------- Record display / Summary screens ------------------- */
		
	.area h3   {
		font-size: 17px;
		font-weight: bold;
		padding-top: 0px;
	}
		
	.area p {
		font-size: 14px;
		margin: auto;
		line-height: 1.2rem;
		margin-bottom: 10px;
	}
	
	.displayNodeFull, .displayNodeHalf {
		padding-top: 4px;
	}
	
	.itemsummary-layout #col1 .displayNodeHalf {
		margin: -5px 0;
	}
	
	.link-div {
		font-weight: bold;
	}
	
	/* --TESTING IN TEST-- */
	p.item-description {
		white-space: pre-line;
	}
		
	
/*------------------- Outage message ------------------- */

	#servermessage {
		background-color: #DC2D27;
		border-color: #DC2D27;
	}
	.topblock {
		padding: 10px 10px;
	}

/*------------------- Homepage ------------------- */

	.box {
		box-shadow: none;
	}
	
	.box_head {
		background-color: #f1f3f4;
	}
	
	.box_head h3 {
		padding: 17px 0 0 14px;
	}
	
	.compactQuery .compactQueryButton {
		margin-top: 10px;
		height: 35px;
	}
	
	#ppsp_s {
		background-color: #DC2D27;
	}
	
	.quick-search .compactQuery .autocomplete-container {
		width: 90%;
	}
	
	/* -- Search portlet -- */
	
	input.prompt, input#ppsp_q {
		background: #FFFFFF;
	}

	/* SRB */ #pportlet_7092bf60-a279-4e6b-b960-8092940921a3, 
	/* Commons Prod */ #pportlet_7092bf60-a279-4e6b-b960-8092940921a3, 
	/* Commons Test */ #pportlet_2563ff60-c31e-42f0-ad40-a76094b75538 {
		background: #f1f3f4;
		max-width: 1200px;
	}
	
	/* SRB */ #pportlet_7092bf60-a279-4e6b-b960-8092940921a3 .box_content, 
	/* Commons Prod */ #pportlet_7092bf60-a279-4e6b-b960-8092940921a3 .box_content, 
	/* Commons Test */ #pportlet_2563ff60-c31e-42f0-ad40-a76094b75538 .box_content {
		background: #f1f3f4;
		border-top: 1px solid #f1f3f4;
	}
	
	 /*-- Other portlet -- */
	 
	 
	/* SRB */ #pportlet_b28fb0de-6da0-4323-b559-bc51e6a6f4f1 .box_title_wrapper, 
	/* Commons Prod */ #pportlet_77273f2d-6308-4b9b-979b-d1463e7327e8 .box_title_wrapper, 
	/* Commons Test */ #pportlet_e743b32f-8e70-4cd3-b236-e8d1a7b2c730 .box_title_wrapper {
		display: none;
	}
	
/* ------------------- About collection ------------------- */
		.displayNodeFull li , .displayNodes li  {
			font-size: 13px;
			margin: 10px 0;
		}
		
		div.displayNodeFull ul, div.displayNodeHalf ul {
			list-style: disc;
			margin-left: 2em;
			line-height: 1.6em;
		}

		.darkerdiv {
		background-color:#f7f6f3;
		padding: 1px 2px 1px 2px;
		margin: 10px 0px 10px 2px;
	}
	
/*-------------------Commons only------------------------ */
	
	/*--Subject Materials - temporary fixes for Import Records pages --*/
	
	#searchform.z3950 {
		background-color: white;
	}

	span.operator.where {
		display: none;
	}

	.is {
		padding-left: 5px;
	}
	
	/* Browse page images - full width */
	.collectionimage {
		width:95%;
		max-width: 900px;
	}
	
	/* Temporary fix from Edalex - fix navigation for attached images */
	#fancybox-left, #fancybox-right { width: 30px; top: 40vh; } 
	#fancybox-left { left: -24px; } 
	#fancybox-right { right: -64px; }
	
	/* Item pages - hides description heading */
	h3.item-description-title {
		display:none;
	}
	
	/*--Video players and interactive tools--*/
	
	.responsiveKalturaPlayer {
		position: relative; 
		padding-bottom: 56.25%; 
		padding-top: 25px; 
		height: 0; 
		width: 100%;
		min-width: 400px;
	}
	
	#col1 .area iframe.embedded_tool {
		width: 100%;
		height: 600px;
		margin-top: -45px;
		margin-bottom: -25px;
	}
