body {
  background: url(./images/bg.jpg) top left repeat-x #1a1a18;
  font-family: Arial, Trebuchet MS, Verdana, sans-serif;
  font-size: 11pt;
  text-align: left;
  overflow-y: auto;
  overflow-x: hidden;
}

img {
  margin: 0;
  padding: 0;
  border: 0px;
}

#float {
  left: 0px;
  margin: 7px auto 0 auto;
  max-width: 780px;
  width: 100%;
  min-height: 580px;
  border-collapse: collapse;
}

#floatH {
  left: 0px;
  margin: 7px auto 0 auto;
  width: 780px;
  height: 570px;
  border-collapse: collapse;
  background-color: #ffffff;
}

td.float {
  padding: 0;
}

.topbar {
  position: absolute;
  margin: 0px;
  top: 0px;
  left: 0px;
  height: 15px;
  width: 105%;
  background: url(./images/t_bar.png) top left repeat-x;
}

.head {
  position: relative;
  z-index: 0;
  margin: 0px;
  padding: 0;
  width: 100%;
  max-width: 780px;
  height: 76px;
  background: url(./images/header.png) top left no-repeat #ffffff;
  background-size: cover;
}

.splash-header {
  position: relative;
  z-index: 0;
  margin: 0px;
  padding: 0;
  width: 100%;
  max-width: 780px;
  height: 76px;
  background: url(./images/splash-header.jpg) top left no-repeat #ffffff;
  background-size: cover;
}

.spanish-header {
  position: relative;
  z-index: 0;
  margin: 0px;
  padding: 0;
  width: 100%;
  max-width: 780px;
  height: 76px;
  background: url(./images/spanish-header.jpg) top left no-repeat #ffffff;
  background-size: cover;
}

.head h1 {
  height: 53px;
  position: absolute;
  top: 25px;
  left: 8px;
  margin: 0px;
  padding: 0px;
  color: #745e89;
  font-size: 280%;
  font-weight: bold;
  text-align: left;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

h1.spanish,
h1.splash {
  height: 53px;
  position: absolute;
  top: 25px;
  left: 8px;
  margin: 0px;
  padding: 0px;
  color: #fff;
  font-size: 280%;
  font-weight: bold;
  text-align: left;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

h3 {
  text-align: center;
  font-size: 13pt;
  font-weight: bold;
  margin: 2px auto 0px auto;
}

#menu {
  position: relative;
  z-index: 1;
  padding: 0;
  font-weight: bold;
  height: 17px;
  background-color: #ffffff;
}

#menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu li {
  display: inline;
}

#menu a {
  margin: 0 10px 0 10px;
  padding: 0;
  text-decoration: none;
  font-size: 80%;
  color: #707754;
}

#menu a:hover {
  color: #cccccc;
}

#menu a:active {
  color: #777777;
}

#menu .first a {
  border: none;
}

.main {
  background: url(./images/DLI_Logo_footer.png) no-repeat bottom center;
  z-index: 0;
  margin: 0;
  min-height: 400px;
  height: auto;
  width: 100%;
  max-width: 780px;
  background-color: #ffffff;
  overflow: visible;
}

.mainH {
  z-index: 0;
  margin: 0;
  min-height: 448px;
  height: auto;
  width: 100%;
  max-width: 780px;
  background-color: #ffffff;
  overflow: visible;
}

#help {
  margin: 15px;
}

#content {
  width: 760px;
  margin: 0;
  padding: 0 10pt;
  border: 0px;
  text-align: center;
}

.intro {
  width: 780px;
  margin: 0;
  padding: 0;
  border-collapse: collapse;
}

.intro td.w {
  width: 60%;
  padding: 0px;
  font-size: 10pt;
  text-align: left;
  vertical-align: top;
}

.intro td.w p {
  margin: 50px 0px 15px 15px;
  font-weight: bold;
}

div.splash h2,
div.splash ul {
  float: left;
}

div.splash h2 {
  font-size: 20px;
  margin: 20px 0 10px 40px;
}

div.splash ul {
  margin: 0;
}

.ie div.splash ul {
  margin: 0 0 0 40px;
}

div.splash ul li {
  list-style-type: none;
}

div.splash ul li a {
  background: url(./images/lang-bg.png) no-repeat scroll 0 0 transparent;
  display: block;
  height: 35px;
  margin: 0;
  padding: 8px 0 0;
  text-align: center;
  width: 170px;
  color: #222;
  outline: none;
  text-decoration: none;
}

div.splash ul li a:hover {
  background: url(./images/lang-bg-hov.jpg) no-repeat;
}

div.splash p {
  margin: 20px 25px 0px 0;
  float: right;
  font: 14px/23px Arial, Helvetica, sans-serif;
  width: 500px;
}

#lang {
  float: left;
  width: 250px;
}

.intro td.w ul {
  margin: 0px 0px 0px 15px;
}

.intro td.w ul li {
  margin: 5px 0px 10px 15px;
  line-height: 22px;
}

.intro td.n {
  width: 40%;
  text-align: left;
}

.intro td.n p {
  margin: 5px auto 15px auto;
  text-align: center;
}

.intro td.n #srch {
  position: relative;
  display: block;
  padding: 0px;
  margin: 10px auto 7px auto;
  background: url(./images/srchbg.jpg);
  width: 290px;
  height: 400px;
  border: 1px solid #ffffff;
}

.intro td.n #srch-spanish {
  position: relative;
  display: block;
  padding: 0px;
  margin: 10px auto 7px auto;
  background: url(./images/spanish-srchbg.jpg);
  width: 290px;
  height: 400px;
  border: 1px solid #ffffff;
}

form {
  margin: 0px;
  padding: 0px;
  border: 0px;
  width: 290px;
  font-size: 10pt;
  background-color: transparent;
  display: inline;
}

table.search {
  border: 0px;
  padding: 0px;
  margin: 21px 0px 0px -1px;
  width: 292px;
  background-color: transparent;
}

table.search-spanish {
  border: 0px;
  padding: 0px;
  margin: 21px 0px 0px -1px;
  width: 292px;
  background-color: transparent;
}

.search th {
  background-color: #d6c2d6;
  /*#D7C7EC;*/
  text-align: center;
}

.search-spanish th {
  color: #fff;
  background-color: #2d82c3;
  text-align: center;
}

.search td {
  text-align: left;
  background-color: transparent;
}

#languageselect {
  width: 100%;
  margin: 0px;
  border-collapse: collapse;
}

#languageselect td {
  float: left;
  width: 93px;
  margin: 0 0 5px 0;
  display: block;
}

#levelSelect {
  width: 100%;
  margin: 0px;
  border-collapse: collapse;
}

#levelSelect td {
  width: 25%;
}

#topicSelect {
  width: 100%;
  margin: 0px;
  border-collapse: collapse;
}

#topicSelect td {
  width: 50%;
  padding: 1px;
}

#submit {
  font-weight: bold;
  background-color: #ddced6;
}

#submit-spanish {
  color: #fff;
  font-weight: bold;
  background-color: #2d82c3;
}

.copy {
  padding: 0;
  font-size: 10pt;
  color: #aaaaaa;
  vertical-align: middle;
  text-align: center;
}

.splash-copy {
  padding: 0;
  padding-top: 0px;
  font-size: 0pt;
  color: #aaaaaa;
  vertical-align: middle;
  text-align: center;
}

/* ----------------------- result-specific ---------------------------- */

.intro td.wst {
  width: 100%;
  font-size: 10pt;
  text-align: left;
  vertical-align: top;
  padding: 0;
  border: 0px;
}

.rzlts {
  margin: 0;
  border: 0;
  height: 405px;
  border-collapse: collapse;
}

.rzlts2 {
  margin: 0;
  border: 0;
  height: 405px;
  border-collapse: collapse;
}

.rzlts th {
  background-color: #d6c2d6;
  /*#9475C3;*/
  color: #ffffff;
  font-size: 10pt;
  font-weight: normal;
  padding: 0px 0px 0px 2px;
  height: 29px;
  text-align: center;
}

.spanish th {
  background-color: #1881c3;
  /*#9475C3;*/
  color: #ffffff;
  font-size: 10pt;
  font-weight: normal;
  padding: 0px 0px 0px 0px;
  height: 29px;
  text-align: center;
}

.spanish2 th {
  background-color: #1881c3;
  /*#9475C3;*/
  color: #ffffff;
  font-size: 10pt;
  font-weight: normal;
  padding: 0px 0px 0px 0px;
  height: 29px;
  width: 780px;
  text-align: center;
}

.rzlts3 {
  background-color: #1881c3;
  /*#9475C3;*/
  color: #ffffff;
  font-size: 10pt;
  font-weight: normal;
  padding: 0px 0px 0px 2px;
  height: 29px;
  text-align: center;
}

.ie .rzlts th {
  background-color: #d6c2d6;
  /*#9475C3;*/
  color: #ffffff;
  font-size: 10pt;
  font-weight: normal;
  padding: 0px 0px 0px 2px;
  height: 5px;
  text-align: center;
}

.ie .spanish th {
  background-color: #1881c3;
  /*#9475C3;*/
  color: #ffffff;
  font-size: 10pt;
  font-weight: normal;
  padding: 0px 0px 0px 2px;
  height: 5px;
  text-align: center;
}

.--rzlts tr {
  border-bottom: 1px dotted #9475c3;
  /* class="cntr"*/
}

.rzlts td {
  padding: 0 2px 0 2px;
  font-size: 9pt;
  text-align: left;
  vertical-align: top;
  vertical-align: middle;
}

.rzlts td.cntr {
  padding: 0px;
  text-align: center;
}

p.lesson,
p.arabic,
p.english {
  display: inline-table;
  width: 61px;
  text-align: center;
  font-size: 9pt;
  font-weight: bold;
  text-decoration: none;
  border: 0px;
}

p.lesson {
  display: inline-table;
  margin: 0px 3px 1px 1px;
  background: url(./images/lesson.gif) no-repeat top left;
}

p.arabic {
  display: inline-table;
  margin: 0px 3px 1px 0px;
  background: url(./images/arabic.gif) no-repeat top left;
}

p.english {
  display: inline-table;
  margin: 0px 0px 1px 0px;
  background: url(./images/english.gif) no-repeat top left;
}

.navig {
  margin: 0;
  padding: 0;
  width: 100%;
  border: 0px;
  border-collapse: collapse;
  background-color: #ffffff;
  font-size: 10pt;
  text-align: center;
}

.navig td {
  text-align: center;
  vertical-align: middle;
  padding: 8px 0;
  white-space: nowrap;
}

.navig td a,
.navig td span.a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  font-size: 9pt;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.navig td a {
  color: #555555;
  border: 1px solid #cccccc;
  background-color: #f5f5f5;
}

.navig td a:hover {
  background-color: #745e89;
  color: #ffffff;
  border-color: #745e89;
}

.zip {
  margin: 3px 0 3px 0;
  color: #555555;
  font-size: 9pt;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #cccccc;
}

.ie .zip {
  margin: 5px 0 0 0;
  color: #555555;
  font-size: 9pt;
  border: 1px solid #cccccc;
  height: auto;
  display: inline-block;
  vertical-align: top;
}

.zip:hover {
  color: #aaaa00;
}

.aaa {
  margin: 5px 0 3px 0;
  font-weight: bold;
  text-decoration: none;
  border: 0px solid #cccccc;
}

.iii {
  margin: 5px 0 3px 0;
  font-weight: bold;
  text-decoration: none;
  border: 0px solid #cccccc;
}

.navig td span.a {
  color: #ffffff;
  background-color: #745e89;
  border: 1px solid #745e89;
}

.nav-arrow {
  background-color: #f0f0f0;
  border: 1px solid #aaaaaa;
  color: #444444;
}

.nav-arrow:hover {
  background-color: #745e89;
  border-color: #745e89;
  color: #ffffff;
}

select {
  margin: 0px;
  width: 180px;
  color: #745e89;
  border: 1px solid #745e89;
}

/* ----------------------- popup overlay ---------------------------- */

.css_d-h_div {
  padding: 0px;
  height: 19px;
  cursor: move;
  overflow: hidden;
  background-color: transparent;
}

.css_d-controler {
  margin: 1px;
  height: 21px;
  position: absolute;
  left: 0px;
  top: 0px;
  cursor: pointer;
  background-color: transparent;
  z-index: 101;
}

.css_d-controls {
  padding: 0px;
  margin: 1px;
  height: 21px;
  position: absolute;
  right: -1px;
  top: 0px;
  cursor: pointer;
  background-color: transparent;
  z-index: 101;
}

.ttl {
  position: absolute;
  font-size: 90%;
  font-family: "Trebuchet MS";
  font-weight: bold;
  padding: 0px;
  margin: 0px;
  top: 0px;
  left: 0px;
  text-indent: 20px;
  height: 19px;
  width: 100%;
  background: url(./images/bar_gradient.gif) top left repeat-x;
  border-bottom: 1px solid #bebebe;
  color: #ffffff;
}

h4 {
  text-align: center;
  font-size: 80%;
  margin: 2px auto 3px auto;
}

.css_d-controler img,
.css_d-controls img {
  margin: 0px;
  padding: 0px;
}

.css_d-content_div {
  text-align: center;
  border: 1px solid #bebebe;
}

.css_d-status_div {
  border: 1px solid #bebebe;
  background-color: #f8f8f8;
  height: 13px;
}

/* ----------------------- responsive layout ------------------------- */

@media screen and (max-width: 640px) {
  body {
    font-size: 10pt;
  }

  h1.splash,
  h1.spanish,
  .head h1 {
    font-size: 180%;
    top: 18px;
  }

  div.splash {
    padding: 10px;
  }

  div.splash h2 {
    float: none;
    text-align: center;
    margin: 12px 0 8px 0;
    font-size: 18px;
  }

  div.splash ul {
    float: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0 0 12px 0;
  }

  div.splash ul li a {
    width: 140px;
    font-size: 10pt;
  }

  div.splash p {
    float: none;
    width: 100%;
    margin: 8px 0;
    font-size: 13px;
    line-height: 20px;
  }

  #lang {
    float: none;
    width: 100%;
    text-align: center;
  }

  .splash-copy img {
    width: 100%;
    height: auto;
  }
}
