/* -----------------------------------------------
IR Event Community local stylesheet.
Author:   Paul Ryan
Version:  January 2017
PLEASE SAVE THIS FILE LOCALLY!
----------------------------------------------- */

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

	/* --- Google font --- */

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

html { background-color: #10334f; }

body {
	/* style | variant | weight | stretch | size/line-height | family */
	font: normal 12px/1.5 'Lato', sans-serif;  /* should be medium except when fitting into a fixed container */
	background: #ffffff url(../assets/md5images/e8f35175083f3f955986196a8de22a49.gif) top left repeat-x; 
}

#lawcorpus { background: url(../assets/md5images/877ee6e9c692c85b380e39ee6025a39b.gif) repeat-x bottom left; }

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

#lawcorpus #header {
	position: relative;  /* needed for logo positioning */
  	height: auto !important; /* !important overrides mbl styling */
  	margin-bottom: 25px;
}

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

#lawcorpus #logo_image {
	position: absolute !important; /* !important overrides mbl styling */
	top: 0;  
	right: 0;  /* change to "left:" for left aligned logo */
	width: 24.4897959183% !important;  /* 240 / 980 */
	height: auto; 
}


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

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


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

#lawcorpus #navigation #tabs a {
	font: normal 12px 'Lato', sans-serif;
	height: 36px;
	line-height: 36px;	
	color: #104e7b;
	background-color: transparent;
	padding: 0 11px;
	margin: 0;
	border: 0;
	float: left; }

#lawcorpus #navigation #tabs a:hover,
#lawcorpus #navigation #tabs a:active,
#lawcorpus #navigation #tabs a:focus {
	color: #000000;
	background-color: #efefef;
	text-decoration: underline; }

#lawcorpus #navigation #tabs li:first-child a { padding-left: 10px; }     

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


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

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

#lawcorpus #sidebar h2 {
	font: 700 15px 'Lato', sans-serif;
	color: #000;
	background-color: transparent;
	border-top: 0;
	border-bottom: 0; }

#lawcorpus #sidebar a:link,
#lawcorpus #sidebar a:visited {
	font: 400 13px 'Lato', sans-serif;	
	color: #0d3f62;
	background-color: transparent;
	text-decoration: none; }

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

#lawcorpus #sidebar form label {
	color: #000000; }

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

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


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

#lawcorpus #content {
	background-color: transparent; }

#lawcorpus .text { min-height: 500px; }

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

	/* --- Breadcrumbs --- */

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

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

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

	/* --- Headers --- */

#lawcorpus #main.text h2#series-title a {
	font: 400 21px/2 'Lato', sans-serif;
	text-decoration: none; }

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

#lawcorpus #main.text #series-home h4 {  /* browse the contents... */
	font: 700 17px/1.4 'Lato', sans-serif;
}


	/* --- Links --- */

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

#lawcorpus #main.text a:hover,
#lawcorpus #main.text a:active,
#lawcorpus #main.text a:focus {
	color: #000000; }


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

#lawcorpus #footer { margin-top: 25px; }

#lawcorpus #footer,
#lawcorpus #bepress a { /* ir-custom always gives link 75px height */
	height: 131px;
	background-color: #10334f; }

#lawcorpus #footer p {
	padding: 50px 0 0 240px; }

#lawcorpus #footer p,
#lawcorpus #footer p a {
	font: 400 12px 'Lato', sans-serif;
	color: #ffffff;
	text-decoration: none; }

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


/* Additional footer logo */

#lawcorpus #footer { position: relative; }

a#footerlink { margin: 0; }

#footerlogo { 
	position: absolute;
	top: 0;
	left: 0;
 } 

.mbl #footerlink { display: none; } /* logos aren't hidden by mbl footer */


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

#lawcorpus #logo_link {display: none;}


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

.mbl #lawcorpus {
	margin-top: 0; }

