@import url("https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.box {
  border-radius: 4px;
  border: 1px solid #e6eaeb;
}

.box p {
  margin-bottom: 0;
}

body {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #4d5356;
  background: #f0f4f5;
}

p {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin: 8px 0px 16px 0px;
}

a {
  color: #33aacc;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style-position: inside;
  line-height: 1.6em;
}

ol {
  list-style-position: inside;
  line-height: 1.6em;
}

/* header */
#header { 
  background: #263e63;
  padding: 16px 0;
}

#header nav {
  display: flex;
  align-items: center;
  max-width: 960px;
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

#header a {
  display: flex;
  align-items: center;
}

#logo {
  flex-shrink: 0;
  width: 96px;
  margin-left: 20px;
  margin-right: 80px;
  margin-bottom: 8px;
}

#menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 660px;
}

#menu ul li {
  display: block;
  margin: 4px 12px;
}

#menu ul li a {
  font-size: 18px;
  font-weight: 300;
  text-decoration: none;
  color: #ffffff;
}

#menu ul li a:hover {
  text-decoration: underline;
}

#main {
  max-width: 960px;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
}

/* sidebar */
#sidebar {
  max-width: 240px;
  padding-bottom: 20px;
}

#sidebar h2 {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 24px 0 8px;
}

#sidebar h2 a {
  margin-bottom: 3px;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 38px;
  color: #ffffff;
  border-radius: 5px;
  background: #263e63;
}

#sidebar .box {
  padding: 15px 20px 20px 20px;
  background: #ffffff;
}

#sidebar .dc-image {
  margin-top: 30px;
}

#sidebar .dc-image img {
  border-radius: 4px;
  background: #263e63;
}

#sidebar p {
  text-align: left;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 14px;
}

#sidebar ul {
  list-style: none;
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 0;
  border: 1px solid #e6eaeb;
  border-radius: 4px;
  background: #fff;
}

#sidebar ul li {
  border-top: 1px solid #e6eaeb;
  background: #fff;
}

#sidebar ul li:last-child {
  border-radius: 0 0 4px 4px;
}

#sidebar ul li:first-child {
  border-radius: 4px 4px 0 0;
  border-top: none;
}

#sidebar ul li.active {
  border-top: 1px solid #e6eaeb;
  background: #fff;
  text-decoration: none;
  color: #4d5356;
  display: block;
  border-bottom: 0;
  font-weight: 700;
  -ms-flex-align: center;
  align-items: center;
  color: #4d5356;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 8px 16px;
}

#sidebar ul li:hover {
  border-bottom: 0;
  background-color: #ebf4f7;
  color: #3d4251;
}

#sidebar ul li a {
  text-decoration: none;
  color: #4d5356;
  display: block;
  border-bottom: 0;
  font-weight: 400;
  -ms-flex-align: center;
  align-items: center;
  color: #4d5356;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 8px 16px;
}

h2.back {
  text-decoration: none;
  color: #4d5356;
  background: #fff;
  display: block;
  border-bottom: 0;
  font-weight: 400;
  align-items: center;
  display: flex;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid #e6eaeb;
}

h2.back:hover {
  background-color: #ebf4f7;
  color: #3d4251;
}

#sidebar h2.back a {
  margin-bottom: 0;
  margin-top: 0;
  color: #4d5356;
  background: none;
  display: block;
  margin-left: 16px;
  line-height: 1.6;
}

#sidebar h2.back a:hover {
  text-decoration: none;
}

/* content */
#content {
  padding-bottom: 5px;
  background: #ffffff;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 24px auto 0;
  flex-grow: 1;
  border: 1px solid #e6eaeb;
  width: 100%;
}

#content img {
  max-width: calc(100% - 8px);
  height: auto;
}

#content .post {
  padding: 0 0 45px 0;
}

#content h1 {
  margin: 0px 0px 0px 0px;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 34px;
  line-height: 40px;
  font-weight: normal;
  color: #3d4251;
}

#content h1 a {
  color: #3d4251;
  text-decoration: none;
  font-weight: normal;
}

#content h2 {
  font-size: 24px;
  line-height: 32px;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: #3d4251;
  margin: 22px 0 0px 0px;
  /* line added by RIK */
}

#content h2 a {
  color: #3d4251;
  text-decoration: none;
  font-weight: normal;
}

#content h3 {
  font-size: 20px;
  line-height: 32px;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: #3d4251;
  padding: 20px 0 0px 0px;
  /* line added by RIK */
}

p.postmeta {
  color: #888888;
}

#content .entry {
  padding: 20px 0 0 0;
}

/* footer */
#footer {
  min-height: 10px;
  padding: 10px 8px 48px;
  background: #263e63;
  text-align: center;
}

#footer p {
  text-align: center;
  color: #ffffff;
}

#footer a {
  color: #ffffff;
}

code {
  margin: 40px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;
  font-family: "Lato Mono", courier, monospace;
  font-size: 14px;
  /* white-space: pre; */
  background: #fafafa;
  border: 1px solid #eaeaea;
  border-left: 5px solid #263e63;
}

table {
  background-color: #ffffff;
}

td {
  background-color: #f2f2f2;
  padding: 3px;
  word-break: break-all;
  vertical-align: top;
}

pre {
  font-family: "Lato Mono", courier, monospace;
  font-size: 12px;
  color: #999999;
}

blockquote {
  margin: 15px;
  padding: 0 0 0 32px;
  background: #fafafa url(/images/quote.gif) no-repeat 5px 10px !important;
  background-position: 8px 10px;
  border: 1px solid #eaeaea;
  border-left: 5px solid #263e63;
  font-family: "Lato Mono", courier, monospace;
  font-weight: bold;
}

/* media queries */

@media screen and (min-width: 680px) {
  #logo {
    width: 200px
  }

  #header nav {
    flex-direction: row;
  }
}

@media screen and (min-width: 920px) {
  #content {
    max-width: 682px;
    margin: 24px 0;
  }

  .clearing {
    clear: both;
    height: 1px;
    overflow: hidden;
  }
  #main {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}

/* lines added by pedro : */

#content ul {
  margin-left: 40px
}

#content ol {
  margin-left: 40px
}

summary {
  text-decoration: underline;
  cursor: pointer;
}

strong {
  font-weight: bold;
}