/* Dantzaz - Reconstructed Stylesheet
   Based on archived 2014 snapshot */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #333333;
  background-color: #e6e6e6;
  text-align: center;
}

a {
  color: #005596;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

/* Layout */
#container {
  width: 960px;
  margin: 0 auto;
  background-color: #ffffff;
  text-align: left;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Top Bar */
#topbar {
  background-color: #f5f5f5;
  border-bottom: 1px solid #dddddd;
  padding: 5px 15px;
  font-size: 11px;
  color: #666666;
  overflow: hidden;
}

#topbar .lang {
  float: right;
}

#topbar .lang a {
  margin-left: 10px;
  padding: 2px 6px;
}

#topbar .lang a.active {
  color: #76b82a;
  font-weight: bold;
}

#topbar .contact-top {
  float: left;
}

#topbar .contact-top a {
  color: #666666;
}

/* Header / Logo */
#header {
  padding: 15px;
  overflow: hidden;
  border-bottom: 1px solid #e1e1e1;
}

#logo {
  float: left;
  width: 400px;
}

#logo h1 {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: -1px;
}

#logo h1 .dan {
  color: #76b82a;
}

#logo h1 .tzaz {
  color: #005596;
}

#logo .tagline {
  font-size: 11px;
  color: #76b82a;
  font-style: italic;
  margin-left: 5px;
  text-transform: lowercase;
}

#partners {
  float: right;
  margin-top: 10px;
}

.partner-logo {
  display: inline-block;
  margin-left: 20px;
  vertical-align: middle;
  height: 40px;
  line-height: 40px;
  font-size: 10px;
  color: #999999;
}

/* Navigation */
#nav {
  background-color: #ffffff;
  overflow: hidden;
  border-bottom: 3px solid #76b82a;
}

#nav ul {
  list-style: none;
  width: 100%;
  display: table;
}

#nav li {
  display: table-cell;
  text-align: center;
  padding: 8px 2px;
  position: relative;
  border-right: 1px solid #f0f0f0;
}

#nav li:last-child {
  border-right: none;
}

#nav li a {
  display: block;
  color: #666666;
  font-size: 11px;
  text-transform: lowercase;
}

#nav li a:hover {
  text-decoration: none;
  color: #005596;
}

#nav li a .nav-img {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: 5px;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

#nav li a:hover .nav-img {
  filter: grayscale(0%);
}

#nav li.active a {
  color: #76b82a;
  font-weight: bold;
}

/* Hero Slider */
#hero {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: #000000;
}

#hero .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#hero .slide.active {
  opacity: 1;
}

#hero .slide-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
}

#hero .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: #333333;
  width: 36px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  user-select: none;
}

#hero .slider-arrow:hover {
  background: rgba(255, 255, 255, 1);
}

#hero .slider-arrow.prev {
  left: 0;
}

#hero .slider-arrow.next {
  right: 0;
}

/* Main Content */
#main {
  overflow: hidden;
  padding: 15px;
}

#content {
  float: left;
  width: 620px;
}

#sidebar {
  float: right;
  width: 290px;
  padding-left: 15px;
  border-left: 1px solid #e1e1e1;
}

/* Page Title */
.page-title {
  color: #ff9900;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e1e1e1;
}

/* Content Sections */
#content p {
  margin-bottom: 12px;
  text-align: justify;
}

#content h2 {
  color: #005596;
  font-size: 14px;
  font-weight: bold;
  margin: 18px 0 8px;
}

#content h3 {
  color: #76b82a;
  font-size: 13px;
  font-weight: bold;
  margin: 14px 0 6px;
}

#content ul, #content ol {
  margin: 10px 0 10px 25px;
}

#content li {
  margin-bottom: 5px;
}

.readmore {
  display: inline-block;
  margin-top: 8px;
  color: #76b82a;
  font-weight: bold;
  font-size: 11px;
}

.readmore:hover {
  color: #005596;
}

/* Sidebar */
.sidebar-title {
  color: #ff9900;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sidebar-program {
  margin-bottom: 15px;
  display: block;
}

.sidebar-program img {
  width: 100%;
  border: 1px solid #dddddd;
  margin-bottom: 5px;
}

.sidebar-program .program-title {
  font-size: 11px;
  color: #005596;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.sidebar-box {
  background-color: #f5f5f5;
  border: 1px solid #e1e1e1;
  padding: 10px;
  margin-bottom: 15px;
}

.sidebar-box h3 {
  color: #005596;
  font-size: 12px;
  margin-bottom: 8px;
}

/* Footer */
#footer {
  clear: both;
  background-color: #e1e1e1;
  border-top: 3px solid #76b82a;
  padding: 12px 15px;
  overflow: hidden;
  font-size: 11px;
  color: #555555;
}

#footer .footer-left {
  float: left;
  width: 60%;
}

#footer .footer-right {
  float: right;
  width: 35%;
  text-align: right;
}

#footer .footer-meta {
  margin-top: 8px;
  font-size: 10px;
  color: #888888;
}

#footer .footer-meta a {
  color: #888888;
  margin-right: 10px;
}

/* Contact Form */
.contact-form {
  margin: 15px 0;
}

.contact-form .form-row {
  margin-bottom: 10px;
  overflow: hidden;
}

.contact-form label {
  display: block;
  float: left;
  width: 120px;
  padding-top: 5px;
  font-weight: bold;
  font-size: 11px;
  color: #555555;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 380px;
  padding: 5px;
  border: 1px solid #cccccc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background-color: #ffffff;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form input[type="submit"] {
  margin-left: 120px;
  padding: 6px 16px;
  background-color: #76b82a;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
}

.contact-form input[type="submit"]:hover {
  background-color: #5c9a1e;
}

/* Agenda / Calendar */
.agenda-item {
  border-bottom: 1px solid #e1e1e1;
  padding: 10px 0;
  overflow: hidden;
}

.agenda-date {
  float: left;
  width: 80px;
  text-align: center;
  background-color: #76b82a;
  color: #ffffff;
  padding: 8px 5px;
  margin-right: 15px;
}

.agenda-date .day {
  font-size: 24px;
  font-weight: bold;
  display: block;
}

.agenda-date .month {
  font-size: 10px;
  text-transform: uppercase;
}

.agenda-info {
  float: left;
  width: 500px;
}

.agenda-info h3 {
  margin-top: 0;
  color: #005596;
}

/* Gallery / Images */
.gallery-grid {
  overflow: hidden;
  margin: 10px 0;
}

.gallery-item {
  float: left;
  width: 140px;
  height: 120px;
  margin: 0 15px 15px 0;
  overflow: hidden;
  border: 1px solid #dddddd;
  background-size: cover;
  background-position: center;
}

.gallery-item:hover {
  border-color: #76b82a;
}

/* Program cards */
.program-card {
  border: 1px solid #e1e1e1;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #fafafa;
}

.program-card .program-img {
  float: left;
  width: 200px;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.program-card .program-body {
  float: left;
  width: 400px;
  padding: 12px;
}

.program-card h3 {
  margin-top: 0;
  color: #005596;
  font-size: 14px;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 11px;
  color: #888888;
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: #888888;
}

.breadcrumbs a:hover {
  color: #005596;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 6px 12px;
  background: #76b82a;
  color: white;
  z-index: 1000;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* Responsive additions (modern enhancement) */
@media (max-width: 768px) {
  #container { width: 100%; }
  #content, #sidebar { float: none; width: 100%; padding: 0; border: 0; }
  #sidebar { border-top: 1px solid #e1e1e1; margin-top: 20px; padding-top: 15px; }
  #logo, #partners { float: none; width: 100%; text-align: center; margin-bottom: 10px; }
  #nav li { display: block; width: 50%; float: left; }
  #nav li a .nav-img { height: 80px; }
  #hero { height: 200px; }
  .program-card .program-img { width: 100%; float: none; height: 150px; }
  .program-card .program-body { width: 100%; float: none; }
  .contact-form label { float: none; display: block; margin-bottom: 3px; }
  .contact-form input[type="submit"] { margin-left: 0; }
}
