
* {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 20px;
  margin-top: 45px;
}

h2 {
  font-size: 18px;
  margin-top: 40px;
}

h3 {
  font-size: 16px;
  margin-top: 35px;
}

h4 {
  font-size: 15px;
  margin-top: 25px;
}

body {
  /* width: 100%; */
  /* margin-top: 30px;
  margin-bottom: 90px; */
  font-size: 14px;
  color: #AAA;
  font-family: Helvetica Neue Ultra Light, Helvetica Neue Interface M3, Helvetica;
}

a {
  text-decoration: none;
  color: #CCC;
}

a:hover {
  color: #FFF;
  text-decoration: underline;
}

li {
	margin: 5px 20px;
}

/* =================================== */
/*               Specific              */
/* =================================== */
.inline-logo {
  display: block;
  float: left;
  width: 75px; height: 75px;
  background-image: url(BeeDesk_180px.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;
  vertical-align: bottom;
  margin-right: 15px;
  margin-top: 8px !important;
  opacity: 0.7;
}

/* =================================== */
/*                 body                */
/* =================================== */
body {
    background-color: #363333;
    /* background-image: url(soft_black.jpg); */
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
      /* background-image: url(soft_black_2x.jpg); */
  }
}

.article {
	padding-bottom: 80px;
}

/* =================================== */
/*                 #main               */
/* =================================== */
#main {
  min-height: 400px;
  padding: 40px 100px;
  overflow-y: scroll;
  text-align: justify;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.75);
}
#main a {
  color: #DDD;
}
#main > .article {
  /* min-width: 768px; */
  padding: 60px;
  overflow-x: hidden;
  background-color: rgba(31, 31, 31, 0.5);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5), -1px -1px 1px rgba(127, 127, 127, 0.1);
  border-radius: 30px;
}
.article p {
	text-align: justify;
}
#main span {
  color: #BBB;
}
#main p {
  color: #BBB;
}
#main h3, #main h4, #main strong {
  color: #DDD;
}
#main h2, #main h1 {
  text-shadow: -1px -1px 2px rgba(0, 0, 0, 1);
  color: #EEE;
}
#main quote {
  display: block;
  margin: 0 40px;
}
#main ul, #main ol {
  margin: 0 40px;
}
#main p {
  margin-top: 5px;
}
#main * + p, #main p + * {
  margin-top: 15px;
}
#main h4 + *, #main * + h4 {
  margin-top: 20px;
}
#main h3 + *, #main * + h3 {
  margin-top: 30px;
}
#main h2 + *, #main * + h2 {
  margin-top: 40px;
}
#main h1 + *, #main * + h1 {
  margin-top: 50px;
}

/* =================================== */
/*               #footer               */
/* =================================== */
#footer {
  display: block;
  position: fixed;
  top: auto; bottom: 0; left: 0; right: 0;
  text-shadow: 1.5px 1.5px 2px #000;
  font-weight: 400;
  color: #888;
  font-size: 11.5px;
  margin: 0 auto;
  width: 100%;
  height: 120px;
  background-color: rgba(15, 79, 23, 1);
}

#footer a {
  color: #999;
}

#footer a:hover {
  color: #EEE;
}

#footer > div {
  display: block;
  position: relative;
  z-index: 10;
  /* min-width: 768px; */
  line-height: 16px;
  margin: 0px 10px;
} 

#footer > div > div {
  padding: 0 10px;
  margin: 18px 0px;
}

#footer .center {
  margin-left: 50%;
}

#footer .center.logo {
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  left: 50%;
  top: 5px;
  margin-left: -20px;
  background-image: url(BeeDesk_v4a_40px.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  overflow: visible;
  opacity: 0.6;
}

#footer .center.logo:hover {
  opacity: 0.9;
}

#footer .left {
  float: left;
  border-left: 1px solid #777;
}

#footer .right {
  float: right;
  padding: 0 10px;
  border-right: 1px solid #777;
}

#footer .small {
  font-size: 11px;
}

#footer > div > :first-child, #footer > div > .center + * {
  border: 0px solid transparent;
}

/* =================================== */
/*                Modal                */
/* =================================== */
#dialogs {
  display: none;
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background-color: rgba(15, 15, 15, 0.5);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
  z-index: 20;
  opacity: 1;
  -webkit-transition: opacity 100ms linear; 
  font-weight: normal;
}
#dialogs.transition {
  opacity: 0;
}

#dialogs.opened {
  display: block;
}
#dialogs > * {
  margin: 70px 10px auto 10px;
  height: auto;
  bottom: auto;
  padding: 5% 5% 5% 5%;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5), -1px -1px 1px rgba(127, 127, 127, 0.1);
  overflow: hidden;
  border-radius: 5px;
  background-color: rgba(63, 63, 63, 0.9);
  color: #BBB;
}
#dialogs.opened > *.current {
  display: block;
}

#dialogs h3, #dialogs h4, #dialogs strong {
  color: #DDD;
}
#dialogs h2, #dialogs h1 {
  /* text-shadow: -1px -1px 2px rgba(0, 0, 0, 1); */
  color: #EEE;
}

#dialogs > * p {
  margin-top: 5px;
}
#dialogs > * * + p, #dialogs > * p + * {
  margin-top: 15px;
}
#dialogs > * h4 + *, #dialogs > * * + h4 {
  margin-top: 20px;
}
#dialogs > * h3 + *, #dialogs > * * + h3 {
  margin-top: 30px;
}
#dialogs > * h2 + *, #dialogs > * * + h2 {
  margin-top: 40px;
}
#dialogs > * h1 + *, #dialogs > * * + h1 {
  margin-top: 50px;
}

