/* Medienta Kft. - main stylesheet
   Layout: 780px fixed width, header / nav bar / left sidebar / content / footer
   Last revised: 2003 (well, sort of) */

body {
  margin: 0;
  padding: 15px 0 25px 0;
  background: #d9dde3;
  font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #222222;
}

a:link    { color: #003399; text-decoration: underline; }
a:visited { color: #663399; text-decoration: underline; }
a:hover   { color: #cc6600; text-decoration: underline; }

img { border: 0; }

/* ---------- Page wrapper ---------- */
#wrapper {
  width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #8a94a3;
}

/* ---------- Header ---------- */
#header {
  height: 86px;
  background: #0b2a55;
  background: linear-gradient(to bottom, #1d4a85 0%, #0b2a55 100%);
  border-bottom: 3px solid #e08a1e;
  position: relative;
}
#logo {
  position: absolute;
  left: 20px;
  top: 16px;
  color: #ffffff;
  text-decoration: none;
}
#logo:link, #logo:visited, #logo:hover { color: #ffffff; text-decoration: none; }
#logo .name {
  display: block;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 3px;
  line-height: 34px;
}
#logo .name span { color: #f2a33a; }
#logo .tagline {
  display: block;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b9c9e0;
}
#header .header-right {
  position: absolute;
  right: 20px;
  top: 22px;
  text-align: right;
  font-size: 10px;
  color: #b9c9e0;
}
#header .header-right a:link,
#header .header-right a:visited { color: #ffffff; }

/* ---------- Navigation bar ---------- */
#nav {
  background: #3a6597;
  background: linear-gradient(to bottom, #4f7aad 0%, #2f5a8c 100%);
  border-bottom: 1px solid #1d3d66;
  height: 26px;
  margin: 0;
  padding: 0 0 0 10px;
  list-style: none;
}
#nav li { float: left; }
#nav a {
  display: block;
  height: 26px;
  line-height: 26px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  border-right: 1px solid #6d90bb;
}
#nav li:first-child a { border-left: 1px solid #6d90bb; }
#nav a:hover { background: #e08a1e; color: #ffffff; }
#nav a.current { background: #ffffff; color: #0b2a55; }

/* ---------- Breadcrumb ---------- */
#crumbs {
  background: #eef1f5;
  border-bottom: 1px solid #c9d0da;
  padding: 4px 12px;
  font-size: 10px;
  color: #555555;
}

/* ---------- Columns ---------- */
/* "faux columns": the grey sidebar background runs the full height of the page */
#columns {
  overflow: hidden;
  background: linear-gradient(to right, #f3f4f6 0, #f3f4f6 200px, #d3d7dd 200px, #d3d7dd 201px, #ffffff 201px);
}
#sidebar {
  float: left;
  width: 180px;
  padding: 12px 10px 20px 10px;
  border-right: 1px solid transparent;
}
#content {
  overflow: hidden; /* fills the space next to the floated sidebar */
  padding: 14px 20px 30px 20px;
}

/* Sidebar boxes */
.box {
  border: 1px solid #a9b4c4;
  background: #ffffff;
  margin-bottom: 12px;
}
.box h3 {
  margin: 0;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: bold;
  color: #ffffff;
  background: #0b2a55;
}
.box .inner { padding: 7px 8px; font-size: 11px; }
.box ul { margin: 0; padding: 0; list-style: none; }
.box li { padding: 2px 0 2px 11px; border-bottom: 1px dotted #c9d0da; position: relative; }
.box li:last-child { border-bottom: 0; }
.box li:before { content: "\00BB"; position: absolute; left: 0; color: #e08a1e; font-weight: bold; }
.box p { margin: 0 0 6px 0; }

/* ---------- Content typography ---------- */
h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  color: #0b2a55;
  margin: 0 0 10px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #c9d0da;
}
h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #0b2a55;
  background: #e6edf6;
  border-left: 4px solid #e08a1e;
  padding: 3px 8px;
  margin: 22px 0 10px 0;
}
h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #1d4a85;
  margin: 14px 0 4px 0;
}
p { margin: 0 0 10px 0; }
ul.bullets { margin: 4px 0 12px 0; padding-left: 20px; }
ul.bullets li { margin-bottom: 3px; }
.small { font-size: 10px; color: #666666; }
.intro { font-size: 13px; }

/* Welcome banner (inset box) */
.banner {
  border: 1px solid #a9b4c4;
  background: #f4f7fb;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.banner .banner-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: #0b2a55;
  margin: 0 0 6px 0;
}

/* Three service teasers in a row */
.teasers { overflow: hidden; margin: 0 -6px 4px -6px; }
.teaser {
  float: left;
  width: 163px;
  margin: 0 6px 10px 6px;
  border: 1px solid #c9d0da;
}
.teaser h4 {
  margin: 0;
  padding: 4px 7px;
  font-size: 11px;
  background: #e6edf6;
  color: #0b2a55;
  border-bottom: 1px solid #c9d0da;
}
.teaser div { padding: 7px; font-size: 11px; min-height: 120px; }

/* Data tables */
table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 14px 0;
  font-size: 11px;
}
table.data th {
  background: #d4dfec;
  color: #0b2a55;
  text-align: left;
  padding: 4px 6px;
  border: 1px solid #a9b4c4;
}
table.data td {
  padding: 4px 6px;
  border: 1px solid #c9d0da;
  vertical-align: top;
}
table.data tr:nth-child(even) td { background: #f6f8fb; }

/* Team listing */
.person {
  overflow: hidden;
  border: 1px solid #c9d0da;
  padding: 10px;
  margin-bottom: 12px;
}
.person .photo {
  float: left;
  width: 90px;
  height: 110px;
  margin-right: 12px;
  border: 1px solid #8a94a3;
  background: #e6edf6;
  color: #1d4a85;
  font-family: Georgia, serif;
  font-size: 30px;
  text-align: center;
  line-height: 110px;
}
.person .details { margin-left: 104px; }
.person h3 { margin: 0 0 2px 0; font-size: 13px; }
.person .role { font-weight: bold; color: #666666; font-size: 11px; margin-bottom: 6px; }

/* Notice / note */
.note {
  border: 1px solid #e0c48a;
  background: #fff8e6;
  padding: 7px 10px;
  margin: 10px 0 14px 0;
  font-size: 11px;
}

.top-link { text-align: right; font-size: 10px; margin: -4px 0 6px 0; }

/* Terms */
.terms ol { padding-left: 22px; }
.terms ol li { margin-bottom: 5px; }
.terms ol ol { list-style: lower-alpha; margin-top: 4px; }
.toc { border: 1px solid #c9d0da; background: #f6f8fb; padding: 8px 12px; margin-bottom: 14px; font-size: 11px; }
.toc ol { margin: 4px 0 0 0; padding-left: 22px; }

/* ---------- Footer ---------- */
#footer {
  clear: both;
  background: #eef1f5;
  border-top: 1px solid #c9d0da;
  padding: 10px 12px;
  text-align: center;
  font-size: 10px;
  color: #555555;
}
#footer p { margin: 2px 0; }

/* Small screens: let the fixed layout collapse instead of scrolling sideways */
@media (max-width: 800px) {
  body { padding: 0; }
  #wrapper { width: auto; border: 0; }
  #columns { background: #ffffff; }
  #sidebar { background: #f3f4f6; float: none; width: auto; min-height: 0; border-right: 0; }
  #sidebar { border-bottom: 1px solid #d3d7dd; }
  #nav { height: auto; overflow: hidden; }
  #header .header-right { display: none; }
  .teaser { width: auto; float: none; }
  .teaser div { min-height: 0; }
  table.data { display: block; overflow-x: auto; }
}
