/* HTML 5 activation on older browsers */
header, footer, nav, section { display: block; }

body {
  position: relative;
  
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 0 30px;
  
  background: #2e2e2e;
  
	font-family: 'lmsans', Verdana, Geneva, sans-serif;
  font-size: 16px;
  color: #f7f7f7;
}

.smooth {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
}

.clearfx {
  clear: both;
}

.bold {
  font-weight: bold;
}

.sc {
  font-variant: small-caps;
}

.italic {
  font-style: italic;
}

a {
  text-decoration: none;
  color: #343434;
  
  -webkit-transition: all 175ms ease-in-out;
  -moz-transition: all 175ms ease-in-out;
  -ms-transition: all 175ms ease-in-out;
  -o-transition: all 175ms ease-in-out;
  transition: all 175ms ease-in-out;
}
a:hover {
  color: #1a1a1a;
}

a img {
  border: none;
}

.odd {
  background-color: #989898;
}

.even {
  background-color: #afafaf;
}

ul.spaced > li {
  padding: 8px 0;
}


/* HEADER */
#menubar {
  height: 76px;
  width: 100%;
  
  background: url("img/bg.menubar.png") repeat-x;
  
  font-size: 24px;
  font-family: 'lmsansdemicond', Verdana, Geneva, sans-serif;
  text-align: center;
  text-transform: uppercase;
}

#menubar > nav {
  width: 900px;
  
  margin: 0 auto;
}

#menubar > nav > ul {
  list-style: none;
  
  padding: 3px 0;
  margin: 0 0px;
  
  float: left;
}

#menubar > nav > ul > li {
  height: 70px;
  
  float: left;
}

#menubar > nav > ul > li.separator {
  width: 14px;
  
  background: url("img/bg.menubarSeparator.png") center center no-repeat;
}

#menubar > nav > ul > li > a {
  display: block;
  height: 54px;
  
  padding: 16px 16px 0;
  
  color: #f7f7f7;
  background: url("img/bg.menubarHover.png") repeat-x 0 -70px;
}

#menubar > nav > ul > li > a:hover {
  color: white;
  background-position: 0 0;
}

#wrap {
  width: 900px;
  
  margin: 0 auto;
  padding: 0 4px 30px;
  /*box-shadow: 0 2px 7px 0 rgba(0,0,0,0.6);*/
  background: url("img/bg.wrap.png") repeat-y;
}

header {
  position: relative;
  height: 178px;
  background: url("img/bg.headerHome.png") no-repeat #989898;
}

#pageTitleBack {
  position: absolute;
  top: 0;
  right: 0;
  
  width: 900px;
  height: 40px;
  
  z-index: 1;
  background: url("img/bg.pageTitle.png") no-repeat;
}

header > .titles {
  position: absolute;
  right: 8px;
  top: 0;
  z-index: 2;
  
  margin: 0;
  padding: 0;
  
  color: #444444;
  font-family: 'lmsansdemicond', Verdana, Geneva, sans-serif;
  text-shadow: 0 0 10px rgba(255,255,255,1);
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

/* HOME */
#homeBanner {
  position: relative;
  
  height: 87px;
  margin: 10px 0 0;
  padding: 0;
  
  background: url("img/bg.homeBanner.png") repeat-x;
  
  text-align: center;
  font-size: 30px;
  font-weight: normal;
  font-family: 'lmsansdemicond', Verdana, Geneva, sans-serif;
  line-height: 32px;
}
#earLeft {
  position: absolute;
  top: -32px;
  left: -18px;
  
  width: 18px;
  height: 150px;
  
  background: url("img/bg.ears.png") no-repeat 0 0;
}
#earRight {
  position: absolute;
  top: -32px;
  right: -18px;
  
  width: 18px;
  height: 150px;
  
  background: url("img/bg.ears.png") no-repeat -18px 0;
}

section {
  padding: 15px 22px;
}

#homeDates {
  text-align: center;
  font-size: 30px;
  font-weight: normal;
  font-family: 'lmsansdemicond', Verdana, Geneva, sans-serif;
  text-shadow: 0 0 10px rgba(0,0,0,0.75);
  text-transform: uppercase;
}

.homeDatesSmall {
  font-size: 20px;
  text-transform: none;
}

section.left > img {
  float: right;
  margin-left: 22px;
}

section.right > img {
  margin-right: 22px;
}

section > .contents {
  text-align: justify;
}

section.left > .contents {
}

section.right > .contents {
  float: right;
  max-width: 540px;
}

section > .contents > h2 {
  margin: 0 0 8px;
  padding: 0;
  
  font-size: 28px;
  font-weight: normal;
  font-family: 'lmsansdemicond', Verdana, Geneva, sans-serif;
  text-transform: uppercase;
}

section.right > .contents > h2 {
  text-align: right;
}

section .first {
  padding-top: 0;
  margin-top: 0;
}

section .last {
  padding-bottom: 0;
  margin-bottom: 0;
}

section > .contents > h3 {
  padding: 0;
  margin: 0;
  
  font-size: 16px;
  font-family: 'lmsansdemicond', Verdana, Geneva, sans-serif;
  text-transform: uppercase;
}

.oddBottoms {
  height: 51px;
  background: url("img/bg.oddBottom.png") no-repeat left top;
}

.evenBottoms {
  height: 60px;
  background: url("img/bg.evenBottom.png") no-repeat left top;
}

.bottomsOnRight {
  background-position: left bottom;
}

/* PROGRAM */
#timetable {
  width: 100%;
  padding: 22px;
  
  font-size: 18px;
}

#timetable .clocks {
  width: 67px;
  height: 56px;
}

#timetable .hours {
  font-weight: bold;
  width: 115px;
}

#timetable .descr {
  background-color: transparent;
  border-radius: 0 0 65px 0;
  
  padding-left: 16px;
  
  -webkit-transition: all 175ms ease-in-out;
  -moz-transition: all 175ms ease-in-out;
  -ms-transition: all 175ms ease-in-out;
  -o-transition: all 175ms ease-in-out;
  transition: all 175ms ease-in-out;
}

#timetable tr:hover .descr {
  background-color: #9C9C9C;
}

/* SIGN IN */
#signinForm {
  font-size: 24px;
}

#signinForm input.textInputs {
  display: block;
  height: 20px;
  width: 290px;
  
  padding: 5px;
  margin-bottom: 24px;
  
  border-radius: 5px;
  border: 2px solid #444;
  font-size: 14px;
}

#signinForm input.checkboxes {
  height: 24px;
  
  margin: 15px 0 5px;
}

#signinForm label {
  float: left;
  width: 200px;
}

#submit {
  height: 40px;
  width: 300px;
  display: block;
  
  margin: 30px auto;
  
  border: 2px solid #9d7525;
  border-radius: 5px;
  background: url("img/illuRegister/bg.submit.png") repeat-x 0 0px;
  cursor: pointer;
  
  text-transform: uppercase;
  color: white;
	font-family: 'lmsansdemicond', Verdana, Geneva, sans-serif;
  font-size: 21px;
}

#submit:hover {
  background-position: 0 -40px;
}

#submit:active {
  position: relative;
  top: 1px;
  
  background-position: 0 0px;
}


.signature {
  position: relative;
  height: 150px;
}

#signinForm .form_recaptcha {
  width: 320px;
  margin: 30px auto 10px;
}


/* FOOTER */
footer {
  height: 145px;
  width: 900px;
  
  padding: 16px 4px 0;
  margin: 0 auto;
  
  font-size: 12px;
  background: url("img/bg.footer.png") no-repeat;
}

footer a {
  color: #868686;
}

footer a:hover {
  color: #979797;
}

footer table {
  margin: 25px 0 0 -3px;
}

footer > table td {
  padding: 0 3px;
}
