@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.box, div.login-box, #main div.es-plans ul li.es-plan-box, #main .es-message {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 20px;
  border: solid 1px #ccc;
  background-color: #eee;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.box, div.login-box, #main div.es-plans ul li.es-plan-box, #main .es-message {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  padding: 20px;
  border: solid 1px #ccc;
  background-color: #eee;
}

#main .es-message {
  font-size: large;
  border: solid 1px #ccc;
  background-color: #ddd;
  width: 80%;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  font-family: roboto;
}
#main div.es-plans ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
#main div.es-plans ul li.es-plan-box {
  flex-grow: 1;
  flex-basis: 100px;
  align-self: auto;
  margin: 2px;
  list-style: none;
}
#main div.es-plans ul li.es-plan-box > div.title {
  font-weight: bold;
}
#main div.es-plans ul li.es-plan-box div.description {
  margin: 5px;
  font-style: italic;
  display: block;
}
#main div.es-installations > p {
  font-weight: bold;
}
#main div.es-installations > p > a.note {
  float: right;
  font-weight: normal;
  font-style: italic;
}
#main div.es-installations > p > a.note:before {
  content: "(";
}
#main div.es-installations > p > a.note:after {
  content: ")";
}
#main div.es-installations li {
  list-style: none;
  padding: 3px 5px 30px 5px;
  margin-bottom: 5px;
}
#main div.es-installations li span {
  float: right;
  border: dotted 1px #bbb;
  padding: 0 5px 0 5px;
  margin-left: 10px;
  background-color: #fff;
  clear: both;
}
#main div.es-installations li span.creation {
  font-size: smaller;
}
#main div.es-installations li span.creation:before {
  content: "Installed: ";
}
#main div.es-installations li span.access {
  font-size: smaller;
}
#main div.es-installations li span.access:before {
  content: "Last-seen: ";
}
#main div.es-installations li.session {
  margin-top: 5px;
}
#main div.es-installations li.session span.creation:before {
  content: "Started: ";
}
#main div.es-installations li.session.active {
  border-left: solid 5px orange;
  border-top: dotted 1px orange;
}
#main div.es-installations li.session.active span {
  background-color: #cfc;
}
#main div.es-installations li.session.paused {
  border-left: solid 5px #009;
  border-top: dotted 1px #009;
}
#main div.es-installations li.session.paused span {
  background-color: #ccf;
}
#main div.es-installations li.session.paused span.access:before {
  content: "Paused: ";
}
#main div.es-installations li.session.closed {
  border-left: solid 5px #999;
  border-top: dotted 1px #999;
}
#main div.es-installations li.session.closed span {
  background-color: #bbb;
}
#main div.es-installations li.session.closed span.access:before {
  content: "Closed: ";
}
#main div.es-installations li.session.expired {
  border-left: solid 5px #999;
  border-top: dotted 1px #999;
}
#main div.es-installations li.session.expired span {
  background-color: #ddd;
}
#main div.es-installations li.session.expired span.access:before {
  content: "Expired: ";
}
#main div.es-installations li.never {
  border-left: solid 5px #ccc;
  border-top: dotted 1px #ccc;
}
#main div.es-subscription, #main div.es-licenses {
  margin-bottom: 1rem;
}
#main div.es-subscription > p, #main div.es-licenses > p {
  font-weight: bold;
}
#main div.es-subscription li, #main div.es-licenses li {
  list-style: none;
}
#main div.es-subscription li.status, #main div.es-licenses li.status {
  padding-left: 5px;
}
#main div.es-subscription li.status.success, #main div.es-licenses li.status.success {
  color: #0a0;
  border-left: solid 5px #090;
}
#main div.es-subscription li.status.warning, #main div.es-licenses li.status.warning {
  color: #990;
  border-left: solid 5px #900;
}

div.es-new-license {
  position: relative;
  margin-top: 4rem;
}
div.es-new-license form .button {
  position: absolute;
  top: -4rem;
  right: 1rem;
  margin: 1rem;
  padding: 0.3rem;
  color: #fff;
  background-color: #00a6fd;
  border-radius: 20px;
  border: solid 0.3rem #00a6fd;
  font-size: 110%;
  font-weight: bold;
}
div.es-new-license form .button:hover {
  color: #00a6fd;
  border: solid 0.3rem #00a6fd;
  background-color: rgba(0, 166, 253, 0.1254901961);
}

div.es-licenses div.es-license,
div.es_summary div.es-license {
  color: #5b5b5b;
  padding: 1rem;
  border: solid 1px #ccc;
  background-color: #f5f5f5;
  margin-bottom: 1rem;
}
div.es-licenses div.es-license div.header,
div.es_summary div.es-license div.header {
  padding: 1rem;
  background-color: #fff;
  position: relative;
  box-sizing: border-box;
}
div.es-licenses div.es-license div.header div.title,
div.es_summary div.es-license div.header div.title {
  font-weight: bold;
  font-size: larger;
}
div.es-licenses div.es-license div.header div.license-id,
div.es_summary div.es-license div.header div.license-id {
  box-sizing: border-box;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
div.es-licenses div.es-license div.header div.license-id span.id,
div.es_summary div.es-license div.header div.license-id span.id {
  display: block;
  font-weight: bold;
}
div.es-licenses div.es-license div.details div.es-installations,
div.es_summary div.es-license div.details div.es-installations {
  margin-top: 0.2rem;
}
div.es-licenses div.es-license div.details li,
div.es_summary div.es-license div.details li {
  margin-bottom: 0.2rem;
}
div.es-licenses div.es-license div.details li span.title,
div.es_summary div.es-license div.details li span.title {
  font-weight: bold;
}
div.es-licenses div.es-license div.details li.status.warning,
div.es_summary div.es-license div.details li.status.warning {
  color: red !important;
  font-weight: bold;
}
div.es-licenses div.es-license div.details li.es-installation,
div.es_summary div.es-license div.details li.es-installation {
  font-style: italic;
}
div.es-licenses div.es-license div.details li.es-installation button,
div.es_summary div.es-license div.details li.es-installation button {
  color: #c00;
  padding: 2px 4px 2px 4px;
  border-radius: 3px;
  border: solid 1px #ccc;
  font-size: larger;
  font-weight: bold;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
div.es-licenses div.es-license div.details li.es-installation button:hover,
div.es_summary div.es-license div.details li.es-installation button:hover {
  color: white;
  background-color: #f00;
}

.es_summary div.es-license {
  padding: 0;
  border: none;
  margin-bottom: 0.02rem;
}
.es_summary div.header {
  border: solid 1px #ccc;
}
.es_summary div.header div.details {
  color: #333;
  font-style: italic;
  font-size: smaller;
}
.es_summary div.header div.details .warning {
  color: red;
  font-weight: bold;
}

div.cms-node div.info {
  display: none;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  position: relative;
  background-color: #ececee;
  font-family: "Roboto", sans-serif;
  font-family: Arial, Tahoma, sans-serif;
  line-height: 1.6rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#header {
  display: flex;
  flex-direction: row wrap;
  background-color: #fff;
  color: #000;
  border-bottom: solid 1px #999;
}
#header #logo img {
  width: 169px;
  height: auto;
  padding: 10px 20px 0 20px;
}
#header #menu-bar {
  padding: 0;
  margin: 0;
}
#header #menu-bar #primary {
  height: 100%;
}
#header #menu-bar ul.horizontal {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  height: 100%;
  padding: 0;
  margin: 0;
  line-height: 53px;
}
#header #menu-bar ul.horizontal li.icon {
  display: none;
}
#header #menu-bar ul.horizontal li {
  height: 100%;
  padding: 0 0.8rem;
  display: inline-block;
  border: none;
}
#header #menu-bar ul.horizontal li a {
  display: inline-flex;
  color: #000;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.02em;
  font-size: 0.9em;
}
#header #menu-bar ul.horizontal li.active {
  color: #fff;
  background-color: #6c9edd;
}
#header #menu-bar ul.horizontal li:hover {
  height: 100%;
  background-color: #446084;
}
#header #menu-bar ul.horizontal li:hover a {
  color: #fff;
}
#header div#built-with-eiffel {
  display: flex;
  margin-left: auto;
  padding: 10px 20px 0 20px;
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 40%, rgb(117, 193, 255) 100%);
}
#header div#built-with-eiffel a {
  color: #000;
}
#header div#built-with-eiffel a:hover {
  text-decoration: underline;
}

div.with-tooltip {
  display: inline-block;
}
div.with-tooltip div.tooltip {
  position: absolute;
  display: none;
  visibility: hidden;
  max-width: 300px;
  color: #fff;
  background-color: #5171be;
  border: solid 1px #373c8d;
  border-radius: 6px;
  text-align: center;
  padding: 1rem;
  /*
  	  	&::after {
  	  	  content: " ";
  	  	  position: absolute;
  	  	  bottom: 100%; // At the bottom of the tooltip
  	  	  left: 50%;
  	  	  margin-left: -8px;
  	  	  border-width: 8px;
  	  	  border-style: solid;
  	  	  border-color: transparent transparent #373c8d transparent;
  }
  */
  z-index: 999;
}
div.with-tooltip div.tooltip.blue {
  background-color: #5171be;
}
div.with-tooltip div.tooltip.green {
  background-color: #5ea458;
}
div.with-tooltip:hover .tooltip.down {
  position: absolute;
  visibility: visible;
  display: block;
  z-index: 999;
  animation: fadeIn ease 1s;
  -webkit-animation: fadeIn ease 1s;
  -moz-animation: fadeIn ease 1s;
  -o-animation: fadeIn ease 1s;
  -ms-animation: fadeIn ease 1s;
  -webkit-transition: margin-top 0.2s ease-in-out;
  -moz-transition: margin-top 0.2s ease-in-out;
  -o-transition: margin-top 0.2s ease-in-out;
  -ms-transition: margin-top 0.2s ease-in-out;
  transition: margin-top 0.2s ease-in-out;
  margin-top: 0.3rem;
}

div#content {
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  padding: 10px 0 5px 0;
  margin: 0 auto 0 auto;
}

div.sidebar {
  flex: 1 0 auto;
  background-color: white;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(225, 225, 225, 0.5) 100%);
  border: solid 1px rgba(210, 210, 210, 0.7);
  border-left: none;
  border-bottom: none;
  max-width: 20rem;
  padding: 1rem;
  margin-right: 1rem;
}

div#main {
  flex: 10 0 auto;
  width: 100%;
}

div#footer, footer {
  margin-top: auto;
  width: 100%;
  padding: 10px 0 0 0;
  margin-top: 10px;
  color: #e1e1e1;
  background-color: #777777;
}
div#footer a, footer a {
  color: #f1f1f1;
}
div#footer div.footer_legals, footer div.footer_legals {
  padding: 1rem;
  text-align: center;
}
div#footer div.footer_legals a, footer div.footer_legals a {
  color: #f1f1f1;
}
div#footer div.footer_legals a:hover, footer div.footer_legals a:hover {
  color: #fff;
  text-decoration: underline;
}
div#footer div.footer_copyright, footer div.footer_copyright {
  color: #c1c1c1;
  background-color: #5b5b5b;
  padding: 10px 0 10px 0;
  text-align: center;
}
div#footer div.footer_copyright a:hover, footer div.footer_copyright a:hover {
  color: #fff;
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  #header #logo {
    padding-left: 2rem;
  }
  #header #menu-bar {
    position: absolute;
    left: 0;
    top: 0;
    clear: both;
  }
  div#built-with-eiffel {
    display: none;
  }
  div#content {
    flex-direction: column;
  }
  #menu-bar div.menu li.icon {
    display: inline-block !important;
  }
  #menu-bar div.menu li:not(.icon) {
    display: none !important;
  }
  #menu-bar div.menu.responsive {
    background-color: white !important;
  }
  #menu-bar div.menu.responsive li:not(.icon) {
    height: auto !important;
    display: block !important;
    text-align: left;
  }
  #menu-bar div.menu.responsive li.icon {
    height: auto !important;
    display: block;
  }
}
a {
  color: #3670b9;
  text-decoration: none;
}

div#message li.error,
div.error {
  color: red;
  background-color: #fdd;
  /* border: solid 1px #f00; */
  padding: 10px;
}

div.login-box {
  border: solid 3px #6a6;
  background-color: #eee;
}

div.menu.tabs ul.horizontal {
  list-style-type: none;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}
div.menu.tabs ul.horizontal li {
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 2px;
  border-left: solid 1px #ccc;
  border-top: solid 2px #eee;
  border-bottom: solid 1px #ddd;
}
div.menu.tabs ul.horizontal li:hover {
  font-weight: bold;
}
div.menu.tabs ul.horizontal li.active {
  border-top: solid 2px #ccc;
  border-bottom: solid 1px transparent;
}
div.menu.tabs ul.horizontal li:last-child {
  border-right: solid 1px #ccc;
}

h1, h2, h3 {
  color: #1982D1;
}

form div.horizontal > div {
  padding: 1rem;
  display: inline-block;
}

form div.description.collapsible div:nth-child(0n+1):not(expanded)::before {
  content: "[+] ";
}
form div.description.collapsible div:nth-child(0n+1).expanded::before {
  content: "[ - ] ";
}

ul.pagination li {
  margin-right: 0.5em;
  display: inline-block;
}
