/* rjc - horizontal menu tabs, originally in header */
/* id selector "#menu_tabs" changed to class selector ".menu_tabs" in case we need more than once on page. */
ul.menu_tabs {
	/* font: 12px/1.2 Geneva, Arial, Helvetica, sans-serif; */
	/* font-weight: bold; */
	clear:left;
	float:left;
	width:100%;
	list-style:none;
	margin:0 0 0 0;
	padding:0;
	/* border-top:8px solid #9cf; */
}
.menu_tabs li {
	display:inline;
	list-style:none;
	margin:0;
	padding:0;
}
.menu_tabs li a {
	display:block;
	float:left;
	border-style: solid;
	border-width: 2px;
	/* border-color: #9cf; */
	margin:0 0 0 1px;
	padding:3px 5px;
	text-align:center;
	background:#eee;
	/* color:#333; */
	text-decoration:none;
	position:relative;
	left:5px;
	line-height:1.3em;
	/* box-shadow: 5px 5px 3px #bbb; */
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
.menu_tabs li a:hover {
	/* color:#fff; */
	background-color:#ccc;
	/* border-color:#069; */
}
.menu_tabs li a.active,
.menu_tabs li a.active:hover {
	/* color:#069; */
	/* border-color:#069; */
	background:#333;
	color:#fff;
	border-color:#333;
	font-weight:bold;
	cursor: default;
	pointer-events: none; /* doesn't work in Opera or IE */
}
.menu_tabs li a span {
	display:block;
}
/* rjc - model display, based on menu_tabs above */
ul.model_tabs {
	/* font: Geneva, Arial, Helvetica, sans-serif; */
	font-size: small;
	clear:left;
	float:left;
	width:100%;
	margin:10px 0 0 0;
	padding:0;
	
}
.model_tabs li div a{
	text-decoration: none;
}
.model_tabs li {
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;				/* for IE */
	*display:inline;	/* ditto */
	vertical-align: top;
	list-style:none;
	margin:0;
	padding:0;
	
}
.model_tabs li img {
	max-width:100%; /* shrink images to fit */
}
.model_tabs li div {
	border-style: solid;
	border-width: 2px;
	margin:3px;
	padding:2px 2px;
	text-align:center;
	text-decoration:none;
	left:5px;
	width: 150px; /* rjc - this is a major difference from menu_tabs */
	border-radius: 4px;
}

.shift_up{
	position: absolute;
	top: 30px;
	opacity: .95;
	pointer-events: none;

}
.shift_up .w3-container{
	border-style: none;
}

/*To make entire div clickable, assign class="clickable-div", then make an empty <span> with class="link-spanner" within the <a> element.*/
/* Beware this may not work with some versions of IE */
/* See https://stackoverflow.com/questions/796087/make-a-div-into-a-link */
/* Another method is to simply put the <div> inside the <a> tags, but this is apparently discouraged for HTML4 */
.clickable-div {
	position:relative;
}

.link-spanner{
  position:absolute; 
  width:100%;
  height:100%;
  top:0;
  left: 0;
  z-index: 1;

  /* edit: fixes overlap error in IE7/8, 
     make sure you have an empty gif 
  background-image: url('empty.gif');*/
}