:root {
  --primary: #669928;
  --secondary: #ffd33c;
  --light: #f3f3f3;
  --dark: #212121;
  --red: #c21300;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////CABECERA //////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////*/

#header {
  background-color: var(--light);
  cursor: default;
  height: 45px;
  position: fixed;
  width: 100%;
  z-index: 10001;
  padding: 5px;
  box-sizing: border-box;
  visibility: hidden;
}

.logo-content {
  float: left;
  padding: 2px 8px;
  box-sizing: border-box;
  font-size: 30px;
  color: var(--primary);
}

.logo-content img {
  width: auto;
  margin-top: 0px;
  height: 31px;
}

.ej-name {
  margin-left: 10px;
  min-width: 255px;
  height: 15px;
  padding: 10px 10px 3px 0px;
  font-size: 0.9em;
  font-style: italic;
  border: none;
  float: left;
  color: #aaa;
  background: white;
  -webkit-text-fill-color: #aaa;
  opacity: 1 !important;
  background: transparent;
  border-bottom: 1px solid #595a59;
  border-radius: 0;
}

#rec-button {
  height: 17px;
  margin-left: 15px;
  cursor: pointer;
  float: left;
  font-size: 25px;
  margin-top: 4px;
  color: var(--red);
}

#plusGreen-button {
  margin-left: 12px;
  cursor: pointer;
  line-height: 36px;
}

.flags_cnt {
  width: 40px;
  float: right;
  position: absolute;
  right: 35px;
  height: 40px;
  top: 16px;
  list-style: none;
  box-sizing: border-box;
}

.flags_cnt a {
  text-decoration: none;
  background-color: transparent;
}

.flags_cnt img {
  width: 20px;
  height: auto;
  float: left;
  box-sizing: border-box;
}

.flags_cnt img.arrow {
  width: 10px;
  margin-left: 5px;
  margin-top: 4px;
  vertical-align: middle;
  border-style: none;
  transform: none;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.flags_cnt .dropdown-menu {
  top: 20px;
  left: -8px;
  text-align: center;
  width: 38px;
  padding-top: 5px;
}

.flags_cnt .dropdown-menu img {
  margin-top: 5px;
  margin-left: 8px;
}

#header h1 {
  float: left;
  width: auto;
  color: var(--dark);
  font-size: 1rem;
  line-height: 36px;
  font-weight: bold;
  margin: 0px;
  margin-left: 6px;
  overflow: hidden;
  word-break: break-all;
  max-width: 70vw;
}

#header h1.prep_act {
  max-width: calc(100% - 420px);
}

#rec-button.prep_act {
  width: 0;
  margin: 0;
}

#header .info {
  color: white;
  float: right;
  margin-right: 60px;
  padding-top: 8px;
  font-size: 0.9em;
}

#header .info p {
  font-size: 0.8em;
  line-height: 0.7em;
  margin-top: 0;
  margin-bottom: 0.5em;
  font-style: italic;
  opacity: 0.8;
}

/*Alerta offline*/
/*Comprobar si se usa*/
#header .fa-wifi {
  float: left;
  color: #eee;
  margin-left: 5px;
  margin-top: 7px;
  width: 20px;
}

#header .fa-wifi.verde {
  color: green;
}

#header .fa-wifi.rojo {
  color: red;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////MENU ///////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////*/

#header > a[href='#menu'] {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 100%;
  height: 45px;
  width: 35px;
  line-height: 36px;
  color: var(--primary);
  text-align: center;
  font-size: 19px;
  float: right;
  margin-right: 0px;
  margin-top: 0px;
}

#header > a[href='#menu'] span {
  display: none;
}

#header > a[href='#menu']:hover {
  color: rgba(255, 255, 255, 0.25);
  background: none;
  /*box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);*/
}

#menu {
  visibility: hidden;
}

#menu.visible {
  -moz-transform: translateX(0);
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  box-shadow: 0 0 1.5em 0 rgba(0, 0, 0, 0.2);
  visibility: visible;
}

#menu.visible {
  -moz-transform: translateX(0);
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  box-shadow: 0 0 1.5em 0 rgba(0, 0, 0, 0.2);
  visibility: visible;
}

#menu {
  visibility: hidden;
}

#menu {
  -moz-transform: translateX(20em);
  -webkit-transform: translateX(20em);
  -ms-transform: translateX(20em);
  transform: translateX(20em);
  -moz-transition: -moz-transform 0.5s ease, box-shadow 0.5s ease,
    visibility 0.5s;
  -webkit-transition: -webkit-transform 0.5s ease, box-shadow 0.5s ease,
    visibility 0.5s;
  -ms-transition: -ms-transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
  transition: transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
  -webkit-overflow-scrolling: touch;
  /*background: #4a544e;*/
  background: var(--light);
  box-shadow: none;
  color: lightgray;
  height: 100%;
  max-width: 80%;
  overflow-y: auto;
  padding: 3em 2em;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  width: 13%;
  min-width: 300px;
  z-index: 10002;
  box-sizing: border-box;
  overflow: hidden;
}

.ejercicio.realt #menu,
.ejercicio.record #menu,
.ejercicio.repr #menu {
  opacity: 0.9;
}

#menu .close {
  text-decoration: none;
  -moz-transition: color 0.2s ease-in-out;
  -webkit-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  -webkit-tap-highlight-color: transparent;
  border: 0;
  color: var(--primary);
  cursor: pointer;
  display: block;
  height: 3.25em;
  line-height: 3.25em;
  padding-right: 1.25em;
  position: absolute;
  right: 0;
  text-align: right;
  top: 0;
  vertical-align: middle;
  width: 7em;
  font-size: 23px;
  /*opacity: .7;*/
  background: none;
}

#menu .close:hover {
  opacity: 0.7;
}

#menu > ul.links {
  list-style: none;
  padding: 0;
}

#menu > ul.links {
  list-style: none;
  padding: 0;
}

#menu > ul {
  margin: 1em 0 1em 0;
  float: left;
  width: 100%;
}

#menu > ul.links > li:first-child {
}

#menu > ul.links img {
  height: 22px;
  float: left;
  margin-top: 10px;
}

#menu > ul.links > li {
  padding: 0;
  padding-top: 5px;
  float: left;
  width: 100%;
}

#menu > ul.links > li:hover {
  opacity: 0.7;
}

#menu .user-div {
  float: left;
  padding-left: 15px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 11px;
  line-height: 4.3em;
  color: var(--dark);
}

#menu > ul.links > li > a:not(.button) {
  border: 0;
  border-top-color: currentcolor;
  border-top-style: none;
  border-top-width: 0px;
  border-top: solid 1px var(--primary);
  color: inherit;
  display: block;
  line-height: 4em;
  text-decoration: none;
  font-size: 12px;
}

#menu > ul.links > li:first-child > a {
  border: none !important;
}

#menu .stopwatch {
  font-size: 1.5em;
}

#menu .clipboard-list {
  font-size: 1.5em;
}

#menu .cog {
  font-size: 2em;
}

#menu .power-off {
  font-size: 2em;
}

#menu .list-icon {
  font-family: FontAwesome;
  color: var(--primary);
  float: left;
  min-width: 25px;
}

.div_user_icon {
  min-width: 25px;
  float: left;
}

.ges_list {
  width: 100%;
  clear: both;
  color: #d3d3d3;
  margin-bottom: 10px;
  display: none;
  list-style: disc;
  float: left;
  width: 100%;
}

.ges_list li {
  float: left;
  width: 100%;
}

.ges_list .user-div {
  line-height: 2em !important;
}

.ges_list a {
  color: #d3d3d3;
}

.ges_list a:hover {
  color: white;
}
