html, body {
  height: auto;
  min-height: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: x-large;
}

body {
  background-color: #FFFFFF;
}

#main {
  min-width:600px;
  max-width: 100%;
  margin: 0 auto;
}

header {
  background-image: url("../DocumentManagement/Documents/Document:4937");
  background-size: cover;
  background-position: center bottom;
  width: 100%;
  height: 400px;
}

header > #websiteName {
  position: absolute;
  top: 20px;
  left: auto;
  right: auto;
  width: 100%;
  height: 240px;
  background-image: url("/Resource/ChartaSoftware.Logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
}

#WebSiteSlogan {
  display: none;
}

div.ToBackEnd {
    position: absolute;
    display: block;
    top: 0px;
    right: 50px;
    left: auto;
    color: #FFFFFF;
    text-align: right;
    background-color: #312F30;
    font-size: 1em;
    z-index: 5;
}

header > .ToBackEnd > a {
  display: inline-block;
  height: 3em;
  padding-right: 1em;
  padding-left: 1em;
  line-height: 3em;
  color: #FFFFFF;
}

div.ToBackEnd > a > * {
  vertical-align: middle;
}

header > .ToBackEnd > a > .Icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.2em;
    background-image: url("../DocumentManagement/Documents/Document:4941");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 1.25em;
}

nav.mainMenu {
  position: absolute;
  bottom: 1em;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  height: 2em;
  z-index: 5;
  text-transform: uppercase;
}

nav.mainMenu .Menu.Horizontal {
  position: relative;
  width: auto;
  height: 2em;
  padding-top: 1em;
  border-top: 1px solid #000000;
}

.Menu.Horizontal > ol > li {
  font-size: 1em;
}

.Menu.Horizontal > ol > li:not(:last-child) {
  margin-right: 1em;
}

.Menu.Horizontal > ol > li> span > a {
  font-weight: 600;
}

.Menu.Horizontal > ol > li.current > span > a {
  color: #0094D8;
}

.ActionBar {
  position: absolute;
}

#articleContent > .summary {
  display: none;
}

#articleContent {
  line-height: 1.75em;
  max-width: 1260px;
  margin: 0 auto;
  font-size: 24px;
}

#content {
  padding: 0;
  z-index: 2;
  background-image: url("../DocumentManagement/Documents/Document:4938");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 3em;
}

#content h1 {
  text-align: center;
  font-size: 2.5em;
  font-weight: 400;
  color: #0071BB;
  margin-top: 2em;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#content .Section1 {
  padding-bottom: 4em;
  color: #0071BB;
}

#content .Section1 > div > ul {
  list-style-type: none;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  margin: 3em;
  padding: 0;
}

#content .Section1 > div > ul > li {
  width: auto;
  margin-bottom: 2em;
}

#content .Section1 div > ul > li .Image {
  display: inline-block;
  height: 250px;
  width: 335px;
  margin-right: 2em;
  margin-top: 2em;
}

#content .Section1 div > ul > li .Image img {
  height: 250px;
}

#content .Section1 div > ul > li .Content {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

#content .Section1 h3 {
  display: inline-block;
  color: #0071BB;
  text-align: left;
  text-transform: uppercase;
  font-size: 1.5em;
  font-weight: bold;
}

#content .Section1 h4 {
  display: inline-block;
  margin-top: 0;
  margin-left: 1em;
}

#content .Section1 > div > ul p {
  text-align: left;
}

#content .Section1 > div > ul > li:last-child {
  margin-right: 0px;
}

#content .Section2 {
  background-color: #0094D8;
  color: #FFFFFF;
  padding-top: 5em;
  padding-bottom: 5em;
  padding-left: 2em;
  padding-right: 2em;
  background-image: url("../DocumentManagement/Documents/Document:4940");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 3em;
}

#content .Section2 > div > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: left;
}

#content .Section2 h2 {
  margin-top: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 2.5em;
  font-weight: 300;
  color: white;
}

#content .Section2 > div h3 {
  height: 3.5em;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.5em;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin-bottom: 0;
}

#content .Section2 ul {
  list-style-type: none;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
}

#content .Section2 ul li {
  width: auto;
  margin: 0;
  color: #FFFFFF;
}

#content .Section2 ul li p {
  margin: 0;
}

#content .Section2 ul li a {
  display: inline-block;
  border: 1px solid #FFFFFF;
  padding-left: 0.75em;
  padding-right: 0.75em;
  margin-top: 20px;
  color: #FFFFFF;
  transition: color 0.5s, background-color 0.5s;
}

#content .Section2 ul li a:hover {
  background-color: #FFFFFF;
  color: #0094D8;
}

#content .Section2 ul li:last-child {
  margin-right: 0;
}

#content .Section1 table,
#content .Section2 table {
  margin: auto;
}

#content .Section1 table td,
#content .Section2 table td {
  padding-right: 2em;
}

footer {
  position: relative;
  z-index: 1;
  color: rgba(0, 0, 0, 0);
  line-height: 0;
}

footer .Contact {
  display: block;
  height: 20em;
  background-image: url("../DocumentManagement/Documents/Document:4939");
  background-position: center 3em;
  background-repeat: no-repeat;
  background-size: 3em;
   background-color: #E6E7E9;
  margin-top: -3em;
  text-align: center;
}

footer .Contact a {
  display: inline-block;
  height: 2em;
  width: 9em;
  margin-top: 5em;
  text-transform: uppercase;
  background-color: #034EA1;
  line-height: 2em;
  font-size: 2em;
  border-radius: 40px;
  font-weight: 700;
  letter-spacing: 1px;
}

footer .Contact a:hover {
  color: #FFFFFF;
}

footer .Content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  height: 7em;
  padding-top: 3em;
  line-height: 1em;
  color: #FFFFFF;
  background-color: #312F30;
   z-index: 1;
  text-align: center;
  background-image: url("../DocumentManagement/Documents/Document:4938");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 3em;
}

footer > .Content > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

footer > .Content > span:not(first-child) {
  margin-left: 2em;
}

footer a {
  color: #FFFFFF;
}

body[data--source="Home"] header {
  height: 800px;
  background-image: url("../DocumentManagement/Documents/Document:4936");
}

body[data--source="Home"] header > #websiteName {
  top: 15%;
  background-size: contain;
  height: calc(15% + 300px);
}

body[data--source="Home"] nav.mainMenu {
  bottom: 3em;
}

body[data--source="Home"]  #WebSiteSlogan {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 260px;
  padding-top: 20px;
  background-color: #0071BB;
  color: #FFFFFF;
  text-align: center;
  font-weight: 300;
  background-image: url("../DocumentManagement/Documents/Document:4938");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 48px;
}

body[data--source="Home"]  #WebSiteSlogan span {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  width: 1000px;
  font-size: 1.5em;
  margin-left: 2em;
  margin-right: 2em;
}

body[data--source="Home"] #content {
  background-image: url("../DocumentManagement/Documents/Document:4944");
}

body[data--source="Home"] h1 {
  display: none;
}

body[data--source="Home"] #content .Section1 {
  padding-top: 3em;
}

@media only screen and (min-width: 1000px) {
  html, body {
    font-size: medium;
  }

  #articleContent {
    font-size: medium;
  }

  #content .Section1 > div > ul p {
    text-align: justify;
  }

  #content .Section1 div > ul > li .Content {
    width: calc(100% - 380px);
  }

  body[data--source="Home"] header > #websiteName {
    top: 12%;
    background-size: contain;
    height: calc(15% + 350px);
  }

  body[data--source="Home"]  #WebSiteSlogan span {
    font-size: 3em;
  }

  #content h1 {
    font-size: 3em;
  }
}

@media only screen and (min-width: 1260px) {
  body[data--source="Home"] header {
    height: 740px;
    background-image: url("../DocumentManagement/Documents/Document:4936");
  }

  body[data--source="Home"] #content .Section1::before {
    content: "";
    display: block;
    height: 3px;
    width: 882px;
    margin: 0 auto;
    background-image: url("../DocumentManagement/Documents/Document:4945");
    background-repeat: repeat-x;
    background-size: 3px;
  }

  #content .Section1 {
    padding-bottom: 4em;
  }

   body[data--source="Home"] #content .Section1 > div > ul {
    margin: 0;
    justify-content: center;
  }

  body[data--source="Home"] #content .Section1 > div > ul > li {
    width: 350px;
    margin-right: 90px;
  }

  body[data--source="Home"] #content .Section1 > div > ul > li:last-child {
    margin-right: 0px;
  }

  body[data--source="Home"] #content .Section1 h3::before {
    content: "";
    display: block;
    height: 4em;
    background-image: url("../DocumentManagement/Documents/Document:4942");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 2em;
  }

  body[data--source="Home"] #content .Section1 h3 {
    text-align: center;
    margin-top: 0;
  }

  #content .Section2 {
    padding-left: 2em;
    padding-right: 2em;
  }

  body[data--source="Home"] #content .Section2 ul {
    justify-content: center;
  }

  #content .Section2 ul li {
    width: 280px;
    margin: 0;
    margin-right: 110px;
    color: #FFFFFF;
  }

  #content .Section2 ul li p {
    height: 12em;
    overflow: hidden;
  }

  body[data--source="Home"] #content {
    background-image: url("../DocumentManagement/Documents/Document:4943");
  }
}