html, body {
  height: 100%;
  margin:0;
}

body {
  width:100%;
}
#leaf, .leaf {
  height:100%;
}
.log pre {
  height: 100px;
  width: 300px;
  background-color: rgb(16, 19, 17);
  border: solid 1px lightgreen;
  overflow-y: auto;
  padding: 3px;
  font-size: 0.7pc;
  opacity: 0.7;
  color: green;
  margin: 0.5em;
  white-space: pre-line;
}

.log li {
  list-style: none;
}

.log input {
  border-left: solid 1px lightgreen;
  border-right: solid 1px lightgreen;
  border-bottom:solid 1px lightgreen;
  border-top: none;
  background: darkgreen;
  position: relative;
  top: -9px;
  left: 6px;
  width: 306px;
  color: rgb(202, 206, 104);
  font-family: monospace;
  font-size: 0.7pc;
  text-indent: 15px;

}
.log input:focus {
  outline: none;
}
.log i {
  position: absolute;
  right: 300px;
  bottom: 12px;
  color: rgb(202, 206, 104);
}
div[class^="ui-"] {
  position: absolute;
  z-index: 99999;

}

div[class^='ui-top-'] {
  top:0px;
}

div[class^='ui-bottom-'] {
  bottom:0px;
}

div[class^='ui-'][class$='-left'] {
  left: 0px;
  padding: 10px;
}

div[class^='ui-'][class$='-right'] {
  right: 0px;
}

.ui-center {
  top:15%;
  left:33%;
  width:30%;
  height:70%;
}
/*.info {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  position: absolute;
  bottom: 1em;
  left: 1em;
  z-index: 100;
  padding: .2em .5em;
  line-height: 1.1em;
  text-align: center;
 }
.info h2 {
  font-size: 2em;
  font-weight: bold;
}
.info ul {
  list-style: none;
}*/

.timeButtons {

    margin-top: 15px;
    margin-right: 5px;
}
.timeButtons i{
    display: inline-block;
/*    width: 20px;
    height: 20px;*/
    margin-left:3px;
    padding:5px;
    cursor: pointer;
    background-color: lightgray;
}
.timeButtons i:hover {
    box-shadow: 0 0 2px white;
}

.timeButtons .active {
    background-color: darkgray;
    box-shadow: 0 0 1px 2px;
}


.calendar {
    float: right;
    margin-right: 2em;
    width: 64px;
    height: 20px;
    background: #fff;
    top: 15px;
    text-align: center;
    font-family: 'Helvetica', sans-serif;
    position: relative;
    display:inline-block;
    z-index:1;
}

.calendar .binds {
    position: absolute;
    height: 9px;
    width: 14px;
    background: transparent;
    border: 2px solid goldenrod;
    border-width: 0 5px;
    top: -6px;
    left: 0;
    right: 0;
    margin: auto;
}
.calendar .year {
    margin: 0;
    background-color: #555;
    color: whitesmoke;
}
.calendar .month {
    background: #AAA;
    display: block;
    padding: 0;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 2px solid #333;
    box-shadow: inset 0 -1px 0 0 #666;
}

.calendar .date {
    background:white;
    display: block;
    margin: 0;
    padding: 0;
    font-size: 24px;
    box-shadow: 0 1px 3px #ccc;
    position: relative;
}

.calendar .date::after {
    background:white;
  content: '';
  display: block;
  height: 100%;
  width: 96%;
  position: absolute;
  top: 3px;
  left: 2%;
  z-index: -1;
  box-shadow: 0 1px 3px #ccc;
}

.calendar .date::before {
  background:white;
    content: '';
  display: block;
  height: 100%;
  width: 90%;
  position: absolute;
  top: 6px;
  left: 5%;
  z-index: -1;
  box-shadow: 0 1px 3px #ccc;
}

.windowWidget {
  height:100%;
  width: 100%;
  background: #222;
  opacity: 0.8;
  border-radius: 3px;
  border: solid 2px goldenrod;
  box-shadow: 0 0 5px;
  padding:10px;
  color: whitesmoke;
}
.windowWidget a, a:hover,a:active,a:visited {
  color: grey;
}
.menu {
   opacity: 0.5;
}
.menu:hover {
  opacity: 1;
}

.menu .flag {
  background: url('images/greece_flag.png');
  background-size: cover;
  position: absolute;
  height: 150px;
  width: 150px;
  bottom: 10px;
  border-radius: 150px;
  border: solid 5px whitesmoke;
/*  box-shadow: 0 0 20px;
*/  cursor: pointer;
 
}

.clicked {
  box-shadow: 0 0 5px 5px inset;
}

.btn-close {
  cursor: pointer;
  font-size: 1em;
  color:grey;
}

/*Profile box*/

.profile {
  width: 250px;
  height:120px;
  padding: 10px;
  background-color: #111;
  opacity: 0.9;
  border-radius: 10px;
  /* float: left; */
  display: inline-block;
  font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.profile .info {
    float: right;
    height: inherit;
    width: 160px;
    height: 86px;
}
.profile .info span {
  display: block;
}

.profile .info .player-name {
  font-size: 1pc;
  color: whitesmoke;
  font-weight: bold;
}

.profile .info .player-country {
  color: goldenrod;
  font-size: 1em;
  text-shadow: 0 0 1px white;
}

.profile .modifiers {
  height: 30px;
  width: 250px;
  float: left;
}

.profile .modifiers i {
  width: 24px;
  height: 24px;
  margin: 3px;
  background-color: grey;
  box-shadow: 0 0 2px 1px white;
  border-radius: 20px;
}

.avatar {
  width: 72px;
  height: 72px;
  background: url('  images/no-avatar.png');
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 40px;
  /* margin-left: 10px; */
  /* margin-top: 10px; */
  /* opacity: 1; */
  border: solid goldenrod;
  float: left;
}

.papers, .papers:before, .papers:after
{
  background-color: whitesmoke;
  border: 1px solid #ccc;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.1), 1px 1px 3px rgba(0,0,0,0.2);
}

.papers
{
  position: relative;
  width: 100%;
  height:100%;
  padding: 2em;
  font-family: monospace;
}

.papers:before
{
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.papers:after
{
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.papers h1 {
  text-align: center;
}
.papers > h6 {
  margin: 0;
  opacity: 0.5;
  float: right;
  margin-right: 20px;
  text-decoration: underline;
}
.papers-content {
  margin-top: 70px;

}
.tabs {
  position: absolute;
  right: -46px;
}
.tabs > a {
  display: block;
  text-decoration: none;
  padding: 5px;
  color: white;
  text-shadow: 0 0 4px black;
  margin-bottom: 5px;
  max-width: 100px;
  position: relative;
  left: 70px;
  padding-right: 10px;
  text-align: right;
  text-transform: capitalize;
  font-size: 0.8pc;
  font-weight: bold;
  box-shadow: 2px 0 5px grey inset;
  box-sizing: content-box;
}
.tabs > a:nth-child(1) {
  background: rgb(47, 224, 231);
}
.tabs > a:nth-child(2) {
  background: rgb(76, 231, 47);
}
.tabs > a:nth-child(3) {
  background: rgb(224, 231, 47);
}
.tabs > a:nth-child(4) {
  background: rgb(231, 47, 47);
}
.tabs > a:nth-child(5) {
  background: rgb(231, 47, 209);
}

.tabs > a:last-child {
  left:74px;
}
.tabs > a.active {
  margin-left: -15px;
  border-left: solid 10px grey;
  color: black;
  box-shadow: 0 0 5px grey inset;
  text-shadow: none;

}
.tabs > a.active:after {
  content: "";
  position: absolute;
  background: transparent;
  height: 100%;
  width: 100%;
  right: 0px;
  top: 0;
  box-shadow: 0px 0 2px black inset;
}
.letterhead {
  text-align: center;
  max-width: 120px;
  display: inline-block;
  font-family: sans-serif;
  position: absolute;
  top: 20px;
  left: 15px;
}
.letterhead > h5, .letterhead > h6 {
  margin: 0;
}
.crest {
  background: url('images/greece_flag.png');
  background-size: cover;
  height: 45px;
  width: 45px;
  display: inline-block;
  outline: solid 1px black;
  outline-offset: 2px;
  border-radius: 0px 0px 15px 15px;
  border: solid 1px;
}