* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font: normal small Verdana, Arial, Helvetica, sans-serif;
  color: #666666;
  background: #fff;
}

body.rtl {
  direction: rtl;
  text-align: right;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

h1, h2, h3, .csc-header {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #385B88;
}

.csc-firstHeader,
h2,
.csc-header h1 {
  background: url(../assets/images/img6.gif) repeat-x left bottom;
  padding-bottom: 10px;
  margin-bottom: .8em;
  font-size: 1.3em;
  font-weight: normal;
}

.csc-firstHeader {
  border-bottom: 1px solid #D6D5D5;
}

p, blockquote, ul, ol {
  margin-bottom: 1.0em;
  line-height: 1.2em;
}

a {
  text-decoration: none;
  color: #385B88;
}

a:hover {
  text-decoration: underline;
}

#content {
  width: 770px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 500px;
  grid-template-areas:
    "sidebar main"
    "updates main";
  column-gap: 30px;
}

#main {
  grid-area: main;
  padding: 10px;
  box-sizing: border-box;
}

#welcome {
  padding-top: 4px;
}

#sidebar {
  grid-area: sidebar;
}

#updates {
  grid-area: updates;
}

#logo {
  width: 240px;
  height: 243px;
  margin: 0 auto;
}

#menu {
  min-height: 234px;
  height: auto;
  margin-bottom: 30px;
  border-bottom: 4px solid #EBEBEB;
}

ul#nav, ul#nav ul {
  margin: 0;
  padding: 0;
  width: 240px;
  list-style: none;
  line-height: normal;
}

ul#nav li {
  position: relative;
  list-style: none;
  margin-bottom: 0;
}

ul#nav li a {
  display: block;
  padding: 10px 0 10px 20px;
  border-top: 1px solid #EBEBEB;
  color: #666;
}

ul#nav li ul {
  display: none;
  position: absolute;
  width: 240px;
  margin: 0;
  left: 239px;
  top: 0;
  list-style: none;
  background: #fff;
  z-index: 10;
}

ul#nav li:hover > ul,
ul#nav li:focus-within > ul,
ul#nav li.open > ul {
  display: block;
}

ul#nav li ul li a {
  padding: 10px 0 10px 20px;
  border-top: 1px solid #EBEBEB;
  font-size: 1em;
}

ul#nav li.has-children > a::after {
  content: " +";
  float: right;
  margin-right: 12px;
}

ul#nav a:hover, ul#nav a.active {
  background: #EBEEF3;
  text-decoration: none;
  font-weight: bold;
  color: #385B88;
}

#footer {
  clear: both;
  padding: 20px 50px;
  width: 770px;
  margin: 0 auto;
  background: #EAEAEA url(../assets/images/img6.gif) repeat-x left top;
  font-size: 10px;
  line-height: 1.2em;
}

#legal,
#links {
  display: inline;
}

#links {
  float: right;
}

#footer ul li {
  display: inline;
}

#langmenu ul {
  list-style: none;
}

#langmenu li {
  display: inline;
  margin-right: 0.5em;
}

#langmenu .langmenu {
  font-weight: bold;
}

.bodytext {
  line-height: 1.5;
  white-space: pre-line;
}

.page-items {
  margin-left: 3em;
  padding-left: 0;
  list-style-image: url(../assets/images/list.gif);
}

.page-items li {
  margin-bottom: 4px;
  line-height: 1.2em;
}

#updates .csc-firstHeader {
  padding: 0 0 10px 10px;
  border-bottom: 1px solid #D6D5D5;
  background: none;
  font-size: 1.3em;
}

#logo img, #main img {
  max-width: 100%;
  height: auto;
}

.profile-home {
  text-align: center;
}

.profile-home img {
  display: inline-block;
  width: 200px;
  height: 280px;
}

.profile-entry {
  min-height: 150px;
  margin: 0 0 12px;
  overflow: hidden;
}

.profile-entry img {
  float: left;
  width: 100px;
  height: 150px;
  margin: 0 10px 4px 0;
}

.profile-entry .bodytext {
  white-space: pre-line;
}

.boxed .content,
.boxed .bodytext {
  padding: 10px;
}

.tx-powermail-pi1_form fieldset {
  border: 1px solid #EBEBEB;
  padding: 12px;
}

.tx-powermail-pi1_form legend {
  padding: 0 4px;
  color: #385B88;
  font-weight: bold;
}

.fieldwrap {
  margin: 0 0 10px;
}

.fieldwrap label {
  display: block;
  margin-bottom: 3px;
}

@media (max-width: 800px) {
  #content,
  #footer {
    width: 100%;
    max-width: 770px;
    box-sizing: border-box;
  }

  #content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "main"
      "updates";
  }

  #main,
  #sidebar,
  #updates {
    width: 100%;
    box-sizing: border-box;
  }

  #logo,
  ul#nav,
  ul#nav ul {
    width: 100%;
  }

  ul#nav li ul {
    position: static;
    width: 100%;
  }

  #footer {
    padding: 20px;
  }

  #links {
    float: none;
    display: block;
  }
}

.fieldwrap input[type="text"],
.fieldwrap input[type="email"],
.fieldwrap textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #BDBDBD;
  padding: 4px;
  font: inherit;
}

.fieldwrap textarea {
  resize: vertical;
}

.fieldwrap input[type="checkbox"] {
  vertical-align: middle;
}

.privacy-wrap label {
  display: inline;
}

.mandatory {
  color: #A00000;
}

.form-message {
  padding: 7px;
  border: 1px solid #BDBDBD;
  background: #F5F5F5;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px;
}
