/* -----------------------------------------------
IR Event Community local stylesheet.
Author:   Jami Wardlow
Version:  Jan 2019
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

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

body {
	font: normal 12px/1.5 'Open Sans', sans-serif;  /* should be medium except when fitting into a fixed container */
	background-image: url(../assets/md5images/17d492063ef5b5ff09f7c8ba16629ce5.png), url(../assets/md5images/9a5082467a188878e44acc6dc91f47e4.gif);
	background-position: top left, bottom left;
	background-repeat: repeat-x;
}

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

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

#scaleup #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 --- */

#scaleup #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;
	width: 18.877551% !important;  /* 185 / 980 */
	height: auto;
}

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

#scaleup #navigation,
#scaleup #navigation #tabs {
	height: 54px;
	overflow: hidden; } /* have seen issues with tabs extending below nav container */


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

#scaleup #navigation #tabs,
#scaleup #navigation #tabs ul {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

#scaleup #navigation #tabs a {
	font: normal 16px 'Open Sans', sans-serif;
	height: 54px;
	line-height: 54px;
	color: #fff;
	transition: ease-in-out 0.3s;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
}

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


#scaleup #navigation #tabs li:first-child a { padding-left: 15px; }

#scaleup #navigation #tabs li:last-child a { padding-right: 25px; }   /* hidden but expands to fit 240px #tabs for IE + FF */

#scaleup #navigation #tabs a span { font-size: 16px; }	/* nav tab font size (default: 12px). Using font shorthand style specification causes display issue with My Account pages */


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

#scaleup #sidebar {
 	padding-top: 16px; }

#scaleup #sidebar h2 {
	font: bold 15px 'Open Sans', sans-serif;
	color: #000;
	background-color: transparent;
	border-top: 0;
	border-bottom: 0; }

#scaleup #sidebar a:link,
#scaleup #sidebar a:visited {
	font: normal 13px 'Open Sans', sans-serif;
	color: #0d3f62;
	background-color: transparent;
	text-decoration: none; }

#scaleup #sidebar a:hover,
#scaleup #sidebar a:active,
#scaleup #sidebar a:focus {
	text-decoration: underline; }

#scaleup #sidebar form label {
	color: #000; }

#scaleup #sidebar #sidebar-search {
    padding-left: 15px; } /* aligning sidebar search with rest of sidebar */

#scaleup #sidebar #sidebar-search span.border { background: transparent; } /* search background adjustment to match designs */

#scaleup #sidebar #side-notify {
	padding-top: 0;
	margin-top: 0;
}

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


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

#scaleup #content {
	background-color: transparent;
	min-height: 600px;
}

#main.text #series-home { width: 100%; }

	/* --- Breadcrumbs --- */

#scaleup #main.text .crumbs p { margin-bottom: 0; }

#scaleup #main.text .crumbs a {
	text-decoration: none;
	color: #104e7b; }

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

	/* --- Headers --- */

#scaleup #main.text h2#series-title a {
	font: normal 21px/2 'Open Sans', sans-serif;
	text-decoration: none; }

#scaleup #main.text h2#series-title a:hover,
#scaleup #main.text h2#series-title a:active,
#scaleup #main.text h2#series-title a:focus {
	color: #000;
	text-decoration: underline; }

#scaleup #main.text #series-home h4 {  /* browse the contents... */
	font: normal 18px/1.5 'Open Sans', sans-serif;
}

	/* --- Links --- */

#scaleup #main.text a:link,
#scaleup #main.text a:visited {
	text-decoration: underline; }

#scaleup #main.text a:hover,
#scaleup #main.text a:active,
#scaleup #main.text a:focus {
	color: #000; }


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

#scaleup #footer,
#scaleup #bepress a { /* ir-custom always gives link 75px height */
	height: 109px;
	background-color: #000; }

#scaleup #footer p,
#scaleup #footer p a {
	font: normal 12px/2 'Open Sans', sans-serif;
	color: #fff;
	text-decoration: none; }

#scaleup #footer p:first-of-type { padding-top: 25px; }

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

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

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

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


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

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

.mbl #scaleup #header #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;
	left: 0;  /* change to "right:" for right aligned logo */
	width: 18.877551% !important;  /* 185 / 980 */
	height: auto !important; /* Important avoides DC assigning incorrect height to logo image */
}

	/* fixes invisible space above header */

header#mobile-nav { 
    font-size: 0;
    line-height: 0; }
    
.mbl #scaleup {
	margin-top: 0; }
