/* -- layout -- */

body.common {
padding: 0;
margin: 0;
background-color: #e1e1e1;
/*background-image: url(images/wallpaper2_bw.jpg);
background-repeat: repeat;*/
background: #ccc url(images/wallpaper2_bw.jpg) repeat scroll;
font: small Verdana, Arial, sans-serif;
color: #262c30;
overflow-y:scroll;
}

#footer {
	border-top: 10px solid #ffffff;
	text-align: right;
	padding: 15px 20px;
	color: #ffffff;
	background: #888888;
}


/* -- fonts -- */

h1 {
	font-size: 1.4em;
	font-weight: Bold;
	margin: 0 0 5px;
	color: #0000d0;
}

h2 {
	font-size: 1.2em;
	
	margin-bottom: 0px;
	color: #000000;
	padding-bottom: 0px;
}

h3 {
	font-size: 1.0em;
	
	margin-bottom: 0px;
	color: #003399;
	padding-bottom: 0px;
}
p {
	font-size: 1em;
	line-height: 1.2em;
	margin: 0.5em 0 0.5em;
	margin-left: 0em;
}
#footer p {
margin: 0;
}

/* -- links -- */
a {
	color: #333333;
	text-decoration: none;
}

a:hover {
color: #FF0000;
text-decoration: underline;}

a.alt1 {
	color: #0000ff;
	text-decoration: none;
}
a.alt1:hover {
color: #ff00ff;
text-decoration: underline;}

a.alt2 {
	color: #003399;
	text-decoration: none;
}
a.alt2:hover {
color: #00d000;
text-decoration: none;}

a.alt3 {
	color: #0000ff;
	text-decoration: none;
}
a.alt3:hover {
	color: #0000ff;
	text-decoration: underline;}

a.nav {
	font-size: 12px;
    font-family: Tahoma, Geneva, sans-serif;
	color: #000080;
	text-decoration: none;
}
a.nav:hover {
    font-size: 12px;
    font-family: Tahoma, Geneva, sans-serif;
	color: #008000;
	text-decoration: none;}

/* -- Navigation Bar -- */ 


table.p1 {
	width=1000px;
	/*background-color:rgba(255, 255, 255, 0.67);*/
	background-color: #e0f0ff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border-collapse: collapse;
}

td.p1 {
	width: 160px;
	font-size: 12px;
    font-family: Tahoma, Geneva, sans-serif;
	color: #000080;
	text-align: center;
}

table.nav {
/*	width: 280px;  */
/*	width: 520px;*/
	height: 25px;
	background-color: #e0f0ff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border-collapse: collapse;
}

td.nav:hover {
	background-color: #e0ffe0;
	color: #008000;
}

td.nav {
	width: 80px;
	font-size: 12px;
    font-family: Tahoma, Geneva, sans-serif;
	color: #000080;
	text-align: center;
}

td.navcurrent {
	width: 80px;
	font-size: 12px;
    font-family: Tahoma, Geneva, sans-serif;
	color: #000000;
	text-align: center;
	background-color: #c0d0df;
}

td.navends {
	width: 20px;
}

/* Scrolling images */
#myreel{ /*sample CSS for demo*/
border:1px solid white;
}

.paginate{
width: 950px;
margin-top:0px;
font:bold 14px Arial;
text-align:center;
}

#myslideshow{
border:1px solid white;
}

.center {
     margin-left: 200px;
     width: 50%;
}

/* Photo Banner https://designshack.net/articles/css/infinitephotobanner/ */
#container {
	width: 1000px;
	overflow: hidden;
	margin: 50px auto;
	background: white;
}

.photobanner {
	height: 233px;
	width: 3550px;
	margin-bottom: 80px;
}

/*keyframe animations*/
.first {
	-webkit-animation: bannermove 10s linear infinite;
	   -moz-animation: bannermove 10s linear infinite;
	    -ms-animation: bannermove 10s linear infinite;
	     -o-animation: bannermove 10s linear infinite;
	        animation: bannermove 10s linear infinite;
}
 
@keyframes "bannermove" {
 0% {
    margin-left: 0px;
 }
 100% {
    margin-left: -2125px;
 }
 
}
 
@-moz-keyframes bannermove {
 0% {
   margin-left: 0px;
 }
 100% {
   margin-left: -2125px;
 }
 
}
 
@-webkit-keyframes "bannermove" {
 0% {
   margin-left: 0px;
 }
 100% {
   margin-left: -2125px;
 }
 
}
 
@-ms-keyframes "bannermove" {
 0% {
   margin-left: 0px;
 }
 100% {
   margin-left: -2125px;
 }
 
}
 
@-o-keyframes "bannermove" {
 0% {
   margin-left: 0px;
 }
 100% {
   margin-left: -2125px;
 }
 
}

.photobanner {
	height: 233px;
	width: 3550px;
	margin-bottom: 80px;
}
 
.photobanner img {
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
 
.photobanner img:hover {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
	cursor: pointer;
 
	-webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
	box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
}

p.ubc_5 {
    display: block;
    margin-top: 0;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: 0;
}

p.ubc_10 {
    display: block;
    margin-top: 0;
    margin-bottom: 1.0em;
    margin-left: 0;
    margin-right: 0;
}

p.ubc_15 {
    display: block;
    margin-top: 0;
    margin-bottom: 1.5em;
    margin-left: 0;
    margin-right: 0;
}

input.ubc_enter_button {
    background-image: url(images/enter_button.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 325px;
    height: 84px;
	border:none;
}
input.ubc_enter_button:hover {
    background-image: url(images/enter_button_hover.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 325px;
    height: 84px;
	border:none;
}


nav {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  width: 319px;
  display: table;
  margin: 0 auto;
  transform: translateY(-50%);
}

nav a {
  position: relative;
  width: 33.333%;
  display: table-cell;
  text-align: center;
  color: #949494;
  text-decoration: none;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
  padding: 10px 20px;
  transition: 0.2s ease color;
}


input.ubc_home_button {
    background-image: url(images/Nav_Home.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 225px;
    height: 8px;
	border:none;
}
input.ubc_home_button:hover {
    background-image: url(images/Nav_Home_Hover.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 225px;
    height: 80px;
	border:none;
}