@import url(style.css);
@import url(theme-gray.css);

/* main page layout */

body {
  width: 760px;
  margin: 0px auto;
  /*overflow: hidden;*/
}
header h1 {
  font-size: 1.5em;
  margin: 0;
  padding: 0;
}
header p {
  margin-top: 0;
  padding-top: 0;
  /*text-align: right;*/
}
footer {
  padding-top: 1em;
}
footer p {
  margin: 0;
  padding: 0;
  text-align: right;
}

/* default slideshow layout */
#slideshow {
  position: relative;
  width: 100%;
  height: 620px;
  border-radius         : 15px;
  -o-border-radius      : 15px;
  -moz-border-radius    : 15px;
  -webkit-border-radius : 15px;
  box-shadow         : 0px 1px 10px #444; /* color */
  -o-box-shadow      : 0px 1px 10px #444;
  -moz-box-shadow    : 0px 1px 10px #444;
  -webkit-box-shadow : 0px 1px 10px #444;
  background-color: white;
}
video {
  position: absolute;
  top: 20px;
  left: 680px;
}
div#images {
  position: relative;
  top: 20px;
  left: 20px;
  width: 720px;
  height: 540px;
  overflow: hidden;
}
div#images img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

/* alternative slideshow layout */
#swap {
  display: none;
}
#swap span {
  display: none;
}
div#images, video {
  transition         : all 1s;
  -o-transition      : all 1s;
  -moz-transition    : all 1s;
  -webkit-transition : all 1s;
  z-index: 1;
}
.swapped video {
  width: 640px !important;
  height: 480px !important;
  transform         : translate(-660px);
  -o-transform      : translate(-660px);
  -ms-transform     : translate(-660px);
  -moz-transform    : translate(-660px);
  -webkit-transform : translate(-660px);
}
.swapped div#images {
  width: 320px !important;
  height: 240px !important;
  transform         : translate(+660px);
  -o-transform      : translate(+660px);
  -ms-transform     : translate(+660px);
  -moz-transform    : translate(+660px);
  -webkit-transform : translate(+660px);
}

/* Table of Contents */
div.smil-toc {
	display: none;
}
div.smil-toc ul {
  margin: 0;
  margin-top: 0.8em;
  list-style-type: none;
}
div.smil-toc ul ul {
  margin-top: 0;
}
div.smil-toc ul a {
  /*color: white !important;*/
  text-decoration: none;
}
div.smil-toc ul a:hover {
  text-decoration: underline;
}

/* timeline */
.smil-controlBar {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 740px;
  z-index: 2;
}
.smil-timeline, .smil-timeline a:hover span {
  /*width: 540px;*/
}
.smil-timeSegments, .smil-timeCursor {
  display: block;
}
.smil-timeSlider {
  display: none;
}

/* cross-fade transitions */
.cross-fade div#images img {
  opacity: 0;
  transition         : opacity 1s;
  -o-transition      : opacity 1s;
  -moz-transition    : opacity 1s;
  -webkit-transition : opacity 1s;
}
/*
.cross-fade div#images img[smil=active],
.cross-fade div#images img:first-child[smil=idle] {
  opacity: 1;
  z-index: 1;
}
*/
.cross-fade div#images img[smil=active] {
  opacity: 1;
  z-index: 1;
}

/* slide-in transitions */
.slide-in div#images img {
  transition         :         transform 1s;
  -o-transition      :      -o-transform 1s;
  -moz-transition    :    -moz-transform 1s;
  -webkit-transition : -webkit-transform 1s;
}
.slide-in div#images img[smil=idle] {
  transform         : translate(0, +480px);
  -o-transform      : translate(0, +480px);
  -moz-transform    : translate(0, +480px);
  -webkit-transform : translate(0, +480px);
}
.slide-in div#images img[smil=done] {
  transform         : translate(0, -480px);
  -o-transform      : translate(0, -480px);
  -moz-transform    : translate(0, -480px);
  -webkit-transform : translate(0, -480px);
}
