#locimoi_m {
  display: flex;
  #m_close {
    display: none;
  }
  &.interactive #m_close {
    display: flex;
  }
  > .navigation {
    position: relative;
    padding-left: 34px;
    padding-top: 2px;
    .menu-item, #logout_link {
      padding: 0 2px;
      cursor: pointer;
      margin-right: 6px;
    }
    #logout_link a {
      text-decoration: none;
      color: var(--tertiary-70);
    }
    .overflow {
      left: 34px;
    }
  }
  --locimoi-pad: 10px;
  #md_register, #md_login {
    width: 300px;
  }
  #md_options, #md_subscription {
    width: 540px;
    form {
      flex-grow: 1;
    }
    .display {
      align-items: stretch;
    }
  }
  *, input, select {
    font-family: Roboto;
  }
}


#dash {
  /*background-color: var(--tertiary-30);*/
  flex-flow: column nowrap;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 34px;
  flex-grow: 0;
  overflow: visible;
  z-index: 9000;
}
.dash-notifications {
  display: none;
  flex-flow: column nowrap;
  top: 14px;
}
.dash-notifications.vis {
  display: flex;
  width: auto;
  min-width: 300px;
}
.notifications-icon {
  cursor: pointer;
  left:10px;
  top: 8px;
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 8px;
  background:
        linear-gradient(
            to left,var(--tertiary-70) 10px,transparent 0)
            no-repeat right bottom/2px 8px,
        linear-gradient(
            to left,var(--tertiary-70) 10px,transparent 0)
            no-repeat left top/8px 2px
}
.notifications-icon::after,
.notifications-icon::before {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box
}
.notifications-icon::before {
    width: 14px;
    height: 14px;
    border-left: 2px solid var(--tertiary-70);
    border-bottom: 2px solid var(--tertiary-70);
}
.notifications-icon::after {
    width: 6px;
    height: 6px;
    border-radius: 4px;
    background: var(--tertiary-60);
    top: -2px;
    right: -2px;
    transition: all 0.4s;
}
.notifications-icon:hover {
  background:
        linear-gradient(
            to left,var(--tertiary-10) 10px,transparent 0)
            no-repeat right bottom/2px 8px,
        linear-gradient(
            to left,var(--tertiary-10) 10px,transparent 0)
            no-repeat left top/8px 2px
}
.notifications-icon:hover::before {
  border-left: 2px solid var(--tertiary-10);
    border-bottom: 2px solid var(--tertiary-10);
}
.notifications-icon::after {
  animation-name: notify;
  animation-duration: 4s;
  transition-timing-function: cubic-bezier(.29, 1.01, 1, -0.68);
}
@keyframes notify {
  0%   {transform: scale(1,1);background: var(--tertiary-60);}
  20%  {transform: scale(1.4,1.4);background: var(--secondary-60);}
  25%  {transform: scale(1,1);background: var(--secondary-95);}
  45%  {transform: scale(1.6,1.6);background: var(--secondary-60);}
  50%  {transform: scale(1,1);background: var(--tertiary-60);}
  
  70%  {transform: scale(1.4,1.4);background: var(--secondary-60);}
  75%  {transform: scale(1,1);background: var(--secondary-95)}
  95%  {transform: scale(1.6,1.6);background: var(--secondary-60);}
  100%  {transform: scale(1,1);background: var(--tertiary-60);}
}
.dash-notifications > div {
  align-items: center;
  padding: 2px 8px;
}
#authorisation_email_link {
  position: relative;
  font-size: 12px;
  color: var(--primary-99);
  background-color: var(--tertiary-40);
  padding: 2px;
  border-radius: 3px;
  margin:2px 0;
  padding: var(--tiny-pad) var(--primary-pad);
  flex-grow:0;

}
.jump-link {
  position: absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:800;
  opacity: 0.28;
  cursor: pointer;
  transition: all 0.2s;
  background-color: var(--tertiary-60);
  &:hover {
   opacity: 0;
   transition: all 0.2s;
  }
}

#authorisation_email_link {
  background-color: var(--secondary-40);
}
#authorisation_email_link a {
  text-decoration: none;
  align-items: center;
  padding: 2px 8px;
  display: block;
  color: var(--primary-99);
}




.avatar {
  overflow: hidden;
  width: 22px;
  height: 22px;
  position: relative;
  top: 5px;
  left: 34px;
}

.avatar,
.avatar::after,
.avatar::before {
  display: block;
  box-sizing: border-box;
  border: 2px solid var(--tertiary-70);
  border-radius: 100px;
}
.avatar::after,
.avatar::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 8px;
  height: 8px;
  color: var(--tertiary-70)
}
.avatar::after {
  border-radius: 200px;
  top: 11px;
  left: 0px;
  width: 18px;
  height: 18px;
}

@media screen and (max-width: 599px) {
  .avatar {display: block;}
  #locimoi_m {
    overflow: visible;
    > .navigation {
      top: 10px;
      padding: 6px;
      flex-flow: column nowrap;
      /*height: 0;
      overflow: hidden;*/
      visibility: collapse;
      z-index: 99999;
      .menu-item, #logout_link {
        background-color: hsl(233, 14%, 36%);
      }
      .menu-item {
        color: #FFF;
      }
      &.exp {
        visibility: visible;
        .overflow {
          position: relative;
          top: 0;
          left:0;
          height: auto;
          flex-flow: column nowrap;
          visibility: visible;
          opacity: 1;       
        }
        /*height: auto;*/
      }

    }
    
  }
}

@media screen and (min-width: 600px) {
  .avatar {display: none;}
} 

.sub-prod {
  display: flex;
  flex-flow: column wrap;
  .sp-title, .sp-desc {
    /*width: 100%;*/
    font-size: 14px;
  }
  ul {
    padding: 10px 0;
    padding-left: 14px;
    margin: 4px 0;
  }
  .select-options {
    font-size: 14px;
    .desc {
      font-size: 16px;
      max-height: 30px;
      min-height: 30px;
      padding: 0px 4px;
      display: flex;
      flex-flow: row wrap;
      align-content: center;
      box-sizing: border-box;
      border-radius: 4px;
      background-color: var(--tertiary-99);
    }
    .select-option.selected .desc {background-color: var(--tertiary-10);}
  }
}




#orders_list {
  margin: 0 auto;
  flex-shrink: 1;
  width: 540px;
  max-width: calc(100% - 20px);
  flex-grow: 1;
  margin: 10px;
  &, div {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    box-sizing: border-box;
  }
  &.hidden {
    display: none;
  }
  .order {
    width: 100%;
    min-width: 100%;
    border-top: 1px solid var(--tertiary-40);
    align-items: center;
    align-content: center;
    .container {
      flex-flow: column nowrap;
    }
    .order-date, .order-invoice {
      width: 100px;
      flex-wrap: nowrap;
      flex-grow: 0;
      flex-shrink: 0;
      white-space: nowrap;
      font-size: 14px;
    }
    .order-date::before {
      content: 'date: ';
      display: block;
      margin-right: 4px;
    }
    .order-invoice::before {
      content: 'invoice: ';
      display: block;
      margin-right: 4px;
    }
    .order-item {
      border-bottom: 1px solid var(--tertiary-40);
      align-items: center;
      width: 100%;
      min-width: 100%;
      padding: 4px 0;
      .oi-title {
        max-width: calc(100% - 120px);
        font-size: 14px;
      }
    }
  }
}
.oi-download input:read-only {
  display: none !important;
}
.oi-download button {
  display: block !important;
}
.oi-download {
  padding: 0 4px;
  background-color: var(--tertiary-30);
  color: var(--tertiary-90);
  border-radius: 4px;
  box-shadow:0px 0px 10px rgba(255,255,255,0.4) inset;
  text-align: center; 
  cursor:pointer;
  justify-content: center;
  font-size: 11px;
  margin-left: auto;
  &:hover {
    box-shadow:0px 0px 16px rgba(50,50,50,0.3) inset;
  }
}

#order_download_form {
  background:rgba(244,244,244,0.9);
  z-index:1000000;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgb(222,222,222);
  box-shadow: var(--box-shadow-1);
 .form-title {
   width: 100%;
 }
}


#app {
  position: relative;
  display: flex;
  margin: 0 auto;
  width: 320px;
  height: auto;
  flex-flow: column nowrap;
}
#controls {
  position: absolute;
  top:0;
  left: 0;
  width: 320px;
  height: 100%;
  display: flex;
  opacity: 0;
  align-items: flex-end;
}
#controls:hover {
  opacity: 0.5;
  flex-flow: row nowrap;
}
.control {
  margin-right: 2px;
  &#pause {
    display: none;
    &.vis {
      display: block;
    }
  }
  &#play.hid {
    display: none;
  }
}
#play {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid;
  border-radius: 4px;
  &::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 0;
  height: 10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid;
  top: 4px;
  left: 7px;
  }
}
#pause {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 22px;
  height: 22px;
  border: 2px solid;
  border-radius: 4px;
  &::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 6px;
  height: 6px;
  left: 6px;
  top: 6px;
  border-left: 2px solid;
  border-right: 2px solid;
  }
}
#back {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid;
  border-radius: 4px;
  &::after, &::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  height: 8px;
  top: 5px;
  }
  &::before {
  width: 2px;
  border-radius: 2px;
  right: 11px;
  background: currentColor;
  }
  &::after {
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 5px solid;
  right: 5px;
  }
}
#skip {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 22px;
  height: 22px;
  border: 2px solid;
  border-radius: 4px;
  &::after, &::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  height: 8px;
  top: 5px;
  }
  &::before {
  width: 2px;
  border-radius: 2px;
  left: 11px;
  background: currentColor;
  }
  &::after {
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid;
  left: 5px;
  }
}

#details, #ending {
  position: relative;
  display: flex;
  width: 100%;
  flex-shrink: 0;
  flex-flow: column nowrap;
}

#username {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  height: 30px;
  width: 100%;
  background: #EEE;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 4px;
  
}

#media {
  display: block;
  position: relative;
  &.hid {
    display: none;
  }
}

#ending {
  display: none;
  &.vis {
    display: flex;
  }
}

