.responsive-img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.carousel-caption {
  padding: 0;
  font-size: 77%;
  background-color: rgba(0, 0, 0, 0.33);
}

.carousel-caption a {
  color: #fff;
}

.carousel-caption .title a {
  color: #fff;
  font-size: 120%;
}

.carousel-caption .author {
  color: #fff;
  font-size: 105%;
}

.carousel-control {
  &.left,
  &.right {
    background-image: none;
  }
}

@media screen and (min-width: 480px) {
  body {
    margin: 0;
    padding-left: 0;
    background-color: #333;
    background-position: left top;
    max-width: 950px;
    font-family: "Varela", sans-serif;
    color: #ddd;
    background-image: url(../images/homunculus_nimbus_04.png);
    background-repeat: no-repeat;
  }

  h1 {
    font-size: 22px;
    margin-left: 200px;
    color: #ddd;
    margin-top: 0%;
  }
}

@media screen and (max-width: 479px) {
  body {
    margin: 0;
    padding: 0;
    background-color: #333;
    background-position: left top;

    font-family: "Varela", sans-serif;
    color: #ddd;
    background-image: url(../images/homunculus_nimbus_04.png);
    background-repeat: no-repeat;
  }

  h1 {
    font-size: 16px;
    margin-left: 3%;
    margin-top: 15%;
    color: #333;
  }
}

#container {
  margin-top: 75px;
  max-width: 100%;
}

#top {
  display: inline-block;
  width: 100%;
}

#mainBody {
  font-size: 12px;
  line-height: 17px;
  max-width: 600px;
  text-align: justify;
  padding-left: 10px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

#bottom {
  max-width: 100%;
  height: 25px;
  background-position: right top;
  background-repeat: no-repeat;
  clear: both;
}

#footer {
  max-width: 100%;
}

.copyright {
  font-size: 9px;
  font-weight: 400;
  font-style: italic;
  color: #666;
}

td,
tr,
p,
div {
  color: #ddd;
}

img {
  border: 0 none;
  max-width: 100%;
  height: auto;
  width: auto\9; /* ie8 */
}

/*
ul {
  margin           : 0px 0px 0px 0px;
}
*/

hr {
  background: #ccc;
  height: 1px;
  width: 100%;
}

.boxes {
  border: dotted;
  border-width: 1px;
  border-bottom-color: #b0c4de;
  border-top-color: #b0c4de;
  border-left-color: #b0c4de;
  border-right-color: #b0c4de;
}

.title {
  font-family: sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #666;
}

.pathway {
  color: #aaa333;
}

a.pathway:link,
a.pathway:visited {
  color: #666;
  font-weight: normal;
}

a.pathway:hover {
  color: #336666;
  font-weight: normal;
  text-decoration: underline;
}

/* -- Menus -- */
@media screen and (min-width: 380px) {
  .menu {
    font-family: "Varela Round", sans-serif;
    display: -webkit-flex; /* Safari */
    display: flex;
    flex-wrap: wrap;
  }

  ul.menu {
    list-style: none;
    width: 65%;
    text-align: center;
    max-width: 620px;

    margin-left: auto;
    margin-right: auto;
  }

  .menu li {
    font-size: 12px;
    line-height: 20px;
    display: inline;
    padding-right: 20px;
    padding-left: 15px;
  }

  a.menu:link,
  a.menu:visited {
    color: #666;
    font-weight: 700;
  }
}

@media screen and (max-width: 380px) {
  .menu {
    font-family: "Varela Round", sans-serif;
  }

  ul.menu {
    list-style: none;
    width: 100%;
    text-align: left;
  }

  .menu li {
    font-size: 14px;
    line-height: 20px;
  }

  a.menu:link,
  a.menu:visited {
    color: #666;
    font-weight: 700;
  }
}

a.mainlevel:link,
a.mainlevel:visited {
  font-size: 12px;
  color: #666;
  float: left;
  font-weight: bold;
  padding-right: 12px;
  vertical-align: bottom;
}

a.mainlevel:hover {
  color: #ddd;
}

a.sublevel:link,
a.sublevel:visited {
  color: #666;

  font-weight: bold;
}

a.sublevel:hover {
  color: #ddd;
}

/* -- ////////////////// -- */

table.moduletable {
  width: 95%;
}

table.moduletable th {
  font-weight: bold;
  color: #666;
  text-align: left;
  width: 100%;
}

/*
table.moduletable td {

        }
        */

.poll {
  font-size: 10px;
  color: #666;
  line-height: 14px;
}

.sectiontableheader {
  color: #666;
  font-weight: bold;
}

/*
.sectiontableentry1 {
  
}

.sectiontableentry2 {
 
}
*/

.small {
  font-size: 10px;
  color: #3366c0;
  text-decoration: none;
  font-weight: medium;
}

.smalldark {
  font-size: 10px;
  color: #666;
  text-decoration: none;
  font-weight: normal;
}

.contentpane {
  font-weight: normal;
}

.contentpaneopen {
  font-weight: normal;
}

.contentheading,
.componentheading {
  font-size: 11px;
  font-weight: bold;
  color: #666;
  text-align: left;
}

.createdate {
  font-size: 10px;
  color: #999999;
  text-align: left;
}

.button {
  font-style: normal;
  font-size: 10px;
  font-weight: bold;
  background-color: #f0f0f0;
  color: #666;
  border: 1px solid #ccc;
}

.inputbox {
  font-size: 10px;
  color: #666;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
}

carousel-wrapper {
  width: 100%;
  height: 100%;
}

a:link,
a:visited {
  color: #999;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: #ddd;
  text-decoration: none;
  font-weight: bold;
}

/* For content item titles that are hyperlink instead of Read On */
a.contentpagetitle:link,
a.contentpagetitle:visited {
  font-size: 13px;
  font-weight: bold;
  color: #666;
  text-align: left;
}

a.contentpagetitle:hover {
  font-size: 13px;
  font-weight: bold;
  text-align: left;
  color: #336666;
  text-decoration: underline;
}

a.category:link,
a.category:visited {
  color: #666;
  font-weight: bold;
}

a.category:hover {
  color: #336666;
}

/* Styles for dhtml tabbed-pages */
.ontab {
  background-color: #ffae00;
  border-left: outset 2px #ff9900;
  border-right: outset 2px #808080;
  border-top: outset 2px #ff9900;
  border-bottom: solid 1px #d5d5d5;
  text-align: center;
  cursor: hand;
  font-weight: bold;
  color: #ddd;
}

.offtab {
  background-color: #e5e5e5;
  border-left: outset 2px #e0e0e0;
  border-right: outset 2px #e0e0e0;
  border-top: outset 2px #e0e0e0;
  border-bottom: solid 1px #d5d5d5;
  text-align: center;
  cursor: hand;
  font-weight: normal;
}

/*
.tabpadding {
}
*/

.tabheading {
  background-color: #ffae00;
  text-align: left;
}

.pagetext {
  visibility: hidden;
  display: none;
  position: relative;
  top: 0;
}

/* for modifying {moscode}
 output.  Don't set the colour! */
.moscode {
  background-color: #f0f0f0;
}

/* Text passed with mosmsg url parameter */
.message {
  font-weight: bold;
  font-size: 10pt;
  color: #ff6600;
  text-align: center;
}