/* -----------------------------------------------
bepress IR local stylesheet.
Author:   Jami Wardlow
Version: Dec 2021
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

/* ---------------- Meta Elements ---------------- */

	/* --- Meta styles and background --- */

body {
	font: normal 12px/1.5 Verdana, Geneva, sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #fafafa;
}

/* ---------------- Header ---------------- */

#tubitak #header {
	position: relative;  /* needed for logo positioning */
	height: auto !important; /* !important overrides mbl styling */
}

#tubitak #banner_image {
	display: block; /* removes descender of inline element */
	width: 980px; /* not necessary if image is sized correctly */
	height: auto !important;  /* avoids warping improperly sized header image / SUP-19994 */
}

	/* --- Logo --- */

#tubitak #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 8.7755102% !important;  /* 86 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

#tubitak #header a#banner_link:focus img,
#tubitak #header a#logo_link:focus img {
    outline: 2px dotted #286c9e;
}

/* ---------------- Navigation ---------------- */

#tubitak #navigation { border-radius: 0px 0px 4px 4px; }

#tubitak #navigation,
#tubitak #navigation #tabs {
	height: 54px;
	/*overflow: hidden; have seen issues with tabs extending below nav container */
	white-space: nowrap;
}

#tubitak #navigation #tabs,
#tubitak #navigation #tabs ul,
#tubitak #navigation #tabs ul li {
	padding: 0;
	margin: 0;
}

#tubitak #navigation #tabs,
#tubitak #navigation #tabs ul {
	display: flex;
	justify-content: flex-start; /* "flex-start" for left-aligned tabs, change to "flex-end" for right-aligned tabs, "center" for centered */
	width: 100%;
}

#tubitak #navigation #tabs a {
	font: normal 12px Verdana, Geneva, sans-serif;
	display: block;
	/*width: auto !important; fixes "my account" not fitting in container on page load (does it tho?)*/
	height: 54px;
	line-height: 54px;
	color: #333;
	background-color: transparent;
	padding: 0 13px;
	margin: 0;
	border: 0;
}

#tubitak #navigation #tabs a:hover,
#tubitak #navigation #tabs a:active,
#tubitak #navigation #tabs a:focus {
	color: #000;
	text-decoration: underline;
}

#tubitak #navigation #tabs #tabone a { padding-left: 18px; } /* switch for right-aligned nav tabs */

/* ---------------- Sidebar ---------------- */

#tubitak #sidebar {
	width: 220px;
	padding-top: 20px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	margin: 19px 0 20px 15px;
}

#tubitak #sidebar h2 {
	font: bold 13px Verdana, Geneva, sans-serif;
	color: #000;
	background: transparent;
	padding: 0;
	margin: 0;
	border: none;
}

#tubitak #sidebar a {
	font: normal 13px Verdana, Geneva, sans-serif;
	color: #286c9e;
	text-decoration: none;
}

#tubitak #sidebar a:hover,
#tubitak #sidebar a:active,
#tubitak #sidebar a:focus {
	color: #000;
	text-decoration: underline;
}

#tubitak #sidebar input#email_address, 
#tubitak #sidebar input#search,
#tubitak #sidebar select {
  width: 120px;
}

#tubitak #sidebar #sidebar-search label {
	font: normal 13px Verdana, Geneva, sans-serif;
	color: #000;
}

#tubitak #sidebar #sidebar-search {
	margin-top: 8px;
	padding-left: 15px;
}

#tubitak #sidebar #sidebar-search span.border { background: transparent; }

.searchbutton { cursor: pointer; } /* best practice, should move to ir-layout.css */

/* ---------------- Main Content ---------------- */

	/* --- Breadcrumbs --- */

#tubitak #main.text div.crumbs a:link,
#tubitak #main.text div.crumbs a:visited {
	text-decoration: none;
	color: #286c9e;
}

#tubitak #main.text div.crumbs a:hover,
#tubitak #main.text div.crumbs a:active,
#tubitak #main.text div.crumbs a:focus {
	text-decoration: underline;
	color: #000;
}

#tubitak #dcn-home > #homepage-intro { margin: 15px 0; }

 /* (is this even a thing anymore?) adds space under full-width main-content image 
#tubitak #home-page-banner { margin-bottom: 16px; }*/

	/* --- Headers --- */

#tubitak #dcn-home > h2 {
	margin-top: 16px;
	font: normal 21px Verdana, Geneva, sans-serif;
}

h3 {
	margin: 0;
	text-decoration: underline;
}

/* FF, IE, Chrome take parent element's color as text-decoration-color (black, usually) */
#dcn-home #cover-browse h3 { color: #286c9e; }

#tubitak #dcn-home #cover-browse h3 a {
	font: 400 15px/1.6 Verdana, Geneva, sans-serif;
	text-decoration: none;
}

#tubitak #dcn-home #cover-browse h3 a:hover,
#tubitak #dcn-home #cover-browse h3 a:focus,
#tubitak #dcn-home #cover-browse h3 a:active {
	text-decoration: underline;
}

	/* --- Links --- */

#tubitak #main.text a:link,
#tubitak #main.text a:visited {
	color: #286c9e; /* declared for #network-icon text */
}

#tubitak #main.text a:hover,
#tubitak #main.text a:active,
#tubitak #main.text a:focus {
	color: #000;
	text-decoration: underline;
}

	/* PotD / Top DL widgets */

#tubitak #dcn-home .box.aag h2,
#tubitak #dcn-home .box.potd h2 {
	font: normal 16px Verdana, Geneva, sans-serif;
	width: 267px;
	border-bottom: 1px solid #e5e5e5;
	margin: 0;
}

#tubitak #main.text .box a:link,
#tubitak #main.text .box a:visited {
	background: none;
	font: bold 13px Verdana, Geneva, sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #e5e5e5;
}

#tubitak #main.text .box a:hover,
#tubitak #main.text .box a:active,
#tubitak #main.text .box a:focus {
	text-decoration: underline;
}

	/* article-level text // default values 12px/13px */

#alpha .element p, #custom-fields .element p { font-size: 12px; }

#alpha .element h4, #custom-fields .element h4 { font-size: 13px; }

/* ---------------- Footer ---------------- */

#tubitak #footer,
#tubitak #bepress a {
	height: 73px;
	background-color: #ececec;
}

#bepress a:focus { outline: 2px dotted #286c9e; }

#tubitak #footer p,
#tubitak #footer p a {
	font: normal 12px/1.7 Verdana, Geneva, sans-serif;
	color: #3e3e3e;
	text-decoration: none;
}

#tubitak #footer p:first-of-type {
    padding-top: 17px;
}

#tubitak #footer p a:hover,
#tubitak #footer p a:active,
#tubitak #footer p a:focus {
	text-decoration: underline;
}

/* ---------------- Miscellaneous fixes ---------------- */

	/* --- Advanced Search --- */

.legacy #tubitak #wrapper {	background-image: none; }

	/* --- Browse Authors accessibility fix (CSFR-2684) --- */

#tubitak #main.text .authorbrowser p.letters a:hover,
#tubitak #main.text .authorbrowser p.letters a:focus {
   background: url(/assets/azMe.jpg) bottom center no-repeat;
   color: #fff;
}

#tubitak .text #myaccount thead tr th { color: #000; }

/* ---------------- Mobile ---------------- */

.mbl #tubitak #header,
.mbl #tubitak #header a#banner_link img,
.mbl #tubitak #navigation {
	width: 100% !important;
}

.mbl #tubitak #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 8.7755102% !important;  /* 86 / 980 */
	height: auto !important; /* !important avoids DC assigning incorrect height to logo image */
}

	/* fixes invisible space above header */

header#mobile-nav { 
    font-size: 0;
    line-height: 0;
}

	/* fixes bullet underline for Browse Research and Scholarship links */

.mbl #main #cover-browse h3 { text-decoration: none; }

	/* stacks headings and spans in .box */

.mbl #tubitak #dcn-home .box.aag h2,
.mbl #tubitak #dcn-home .box.potd h2 {
	width: 100%;
}
	
.mbl #dcn-home .box.aag span,
.mbl #dcn-home .box.potd span {
    display: block;
}

/* styling for sliedshow on homepage -RKarberg 15 March 2022 */
#tubitak #main.text .box-left {
	float: left;
	height: auto;
	margin: -8px 10px 10px 0;
	padding: 10px 0 0 0;
	width: 340px; }

#tubitak #main.text .box-right {
    float: right;
	height: 280px;
	margin: 15px 0;
	padding: 0;
	width: 300px;
    overflow:hidden; }
 
#tubitak .box {
	margin-top: 10px;
	padding-top: 5px; }

/* adjust margins for link to all_issues.html in ir_sidebar_search_7_8.inc - RKarberg 09/12/2022 */
#tubitak #sidebar #search-issue {
	margin-top: -10px;
	margin-bottom: 10px;
}