@import 'library.scss';
@import 'reset.scss';
@import 'form.scss';

/*--------------------------------------------------------------

                    * Default Typography.

-------------------------------------------------------------- */

html {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  box-sizing: border-box;
  color: rgb(36, 48, 50);
  font-size: 16px;
  line-height: 1.42857;
  text-rendering: optimizelegibility;
  font-family: $bodyFont;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  width: 100%;
  height: 100%;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  overflow-x: hidden;
}

h1 {
  font-size: 1.5em;
}

h2 {
  color: rgb(44, 42, 116);
  font-size: 1.3em;
}

h3 {
  font-size: 1.2em;
  line-height: 1;
}

h4 {
  font-size: 1.1em;
  line-height: 1.25em;
}

h5 {
  margin-bottom: 0.5em;
  font-size: 1em;
}

h6 {
  font-size: 1em;
}

h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
h6 img {
  margin: 0;
}

em {
  padding-bottom: 1em;
}

.smaller {
  font-size: 0.8em;
}

.upCase {
  text-transform: uppercase;
}

/*--------------------------------------------------------------

                    * End Default Typography.

-------------------------------------------------------------- */

/* misc.
--------------------------------------------- */

img,
object,
video,
embed {
  max-width: 100%;
  #flowMap & {
    max-width: none;
  }
}

.hidden {
  display: none !important;
}

.shown {
  display: block !important;
}

hr,
.hide {
  display: none;
}

a img {
  border: none;
}

.floats-in:after {
  display: block;
  visibility: hidden;
  clear: both;
  height: 0;
  content: '.';
}

pre {
  display: block;
  overflow: auto;
  margin: 0.5em 0;
  padding: 10px;
  width: 800px;
  border: 1px solid #bae2f0;
  background: #e3f4f9;
  font: 100% 'Courier New', Courier, monospace;
}

#tooltip {
  position: absolute;
  display: none;
  padding: 0.5em 1em;
  max-width: 15%;
  background: lighten(rgb(255, 255, 165), 10%);
  -webkit-box-shadow: 0 0 2px rgb(0, 0, 0);
  -o-box-shadow: 0 0 2px rgb(0, 0, 0);
  box-shadow: 0 0 2px rgb(0, 0, 0);
  @include border-radius(5px);
  z-index: 12999;
}

.loadSave {
  .isLoading,
  .isSaving {
    position: fixed;
    top: 90px;
    left: 46%;
    z-index: 9999999;
    border-radius: 3px;
    box-shadow: 0 5px 8px rgba(212, 212, 212, 0.5);
    padding: 5px 3px 5px 25px;
    background: rgb(248, 248, 248) url(/admin/images/loader.gif) 5px center
      no-repeat;
    color: rgb(252, 159, 0);
  }
}

.greyish {
  background: rgb(200, 214, 214);
}

.whiteBgSeparator {
  display: inline-block;
  overflow: auto;
  margin: 1em 1% 0.5em 1%;
  padding: 1em 1%;
  width: 98%;
  background: white;
  -webkit-box-shadow: 0 0 2px rgb(230, 230, 230);
  box-shadow: 0 0 2px rgb(230, 230, 230);
  -o-box-shadow: 0 0 2px rgb(230, 230, 230);
}

.isRequired {
  margin: 0 0 0 5px;
  color: rgb(204, 204, 204);
  font-weight: normal;
}

.errorMsg {
  color: rgb(255, 41, 12);
  text-align: center;
}

.infoText {
  font-size: 0.8em;
  display: block;
  margin: 0.5em 0 0 0;
  padding: 0.2em;
  color: rgb(153, 153, 153);
  width: 90%;
}

.noBG {
  background-image: none !important;
}

/************************* links *************************/
.button,
.standardBtn {
  @include button($flowAnchorLink);
  &.noChanges,
  &.disabled {
    cursor: not-allowed;
    background-color: rgba(128, 128, 128, 0.1) !important;
    color: rgba(128, 128, 128, 0.4) !important;
    border: 1px solid transparent;
    &:hover {
      cursor: not-allowed;
      background-color: rgba(128, 128, 128, 0.1) !important;
      color: rgba(128, 128, 128, 0.4) !important;
      border: 1px solid transparent;
    }
  }
}

.smallButton,
.smallBtn {
  @include smallButton($flowAnchorLink);
}

.btnOutline {
  @include btnOutline($flowAnchorLink);
}

.centre {
  text-align: center;
}

.clickable {
  cursor: pointer;
}

.btnLink {
  background: transparent;
  border: 0;
  color: $flowAnchorLink;
  &:hover {
    color: $flowAnchorLink;
  }
}

a.btn {
  display: block;
  padding: 1px 0 7px 21px;
  height: 10px;
  &.smallBtn {
    display: inline-block;
  }
  &:hover {
    color: $flowAnchorLinkHover;
  }
}

a,
a:link,
a:visited {
  outline: none;
  color: $flowAnchorLink;
  text-decoration: none;
  cursor: pointer;
  &:hover {
    color: $flowAnchorLinkHover;
  }
  /* buttons must be <a> tags (use the appropriate class) */
  &.helpIcon {
    display: inline-block;
    font-size: 0.8em;
    font-weight: bold;
    padding-top: 3px;
    width: 18px;
    height: 16px;
    border-radius: 9px;
    background: $flowAnchorLink;
    color: white !important;
    text-align: center;
    &:hover {
      background: $flowAnchorLinkHover;
    }
    .selectinLabel & {
      line-height: 1.5em;
    }
  }
  &.AddBtn {
    display: inline-block !important;
    padding: 1em 1% 0.8em 1.5em;
    background: url(/admin/images/addbtn.png) left center no-repeat;
    color: rgb(0, 123, 182);
    text-align: left;
    font-size: 1.1em;
    &:hover {
    }
  }
  &.closeDialog {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    width: 20px;
    height: 16px;
    border-radius: 6px;
    background: url(/admin/images/closeDialog.png) center top no-repeat;
    text-indent: -9999px;
    -o-border-radius: 6px;
    &:hover {
      background: url(/admin/images/closeDialog.png) center bottom no-repeat;
    }
  }
}

/********************  end links ********************/

.fadedText {
  color: rgb(153, 153, 153);
}

.selectInfo {
  color: $darkGrey;
}

.visible {
  visibility: hidden;
}

.nonVisible {
  visibility: visible;
}

input[type='submit'] {
  @extend .standardBtn;
}

.selectinLabel a.helpIcon {
  line-height: 1.5em;
}

.greyBg {
  width: 99.7%;
  position: relative;
  padding: 1px 0.15%;
  background: white;
}

.usersList {
  margin-top: 25px;
}

.btnAboveTable {
  margin: 7px 0 7px 5px;
  .usersList & {
    margin: 0;
    position: absolute;
    top: 0px;
    right: 5px;
  }
}

.editAnswerMenu {
  position: relative;
  margin: 10px auto;
  width: 100%;
  background: rgb(205, 205, 205);
  ul {
    @include flexbox;
    -webkit-align-items: center;
    align-items: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    padding: 15px 0;
    li {
      flex-grow: 1;
      text-align: center;
      &.deleteBtn {
        position: initial;
        display: relative;
        top: 10px;
        left: 45%;
      }
      &:first-child {
        margin-left: 0.5%;
        text-align: left;
      }
      &:last-child {
        margin-right: 0.5%;
        text-align: right;
      }
    }
  }
}

.prevNext {
  margin: 0 auto;
  padding: 1em 2% 1.5em 2%;
  width: 96%;
  li {
    a {
      font-weight: bold;
      font-size: 1.2em;
      display: inline-block;
      padding: 0.5em 1em 1em 1em;
    }
    &.prevBtn {
      display: inline-block;
      text-align: left;
      width: 49%;
    }
    &.nextBtn {
      display: inline-block;
      text-align: right;
      width: 49%;
    }
  }
}

.deleteBtn,
.saveBtn {
  position: absolute;
  top: 5px;
  left: 40%;
}

.inline {
  display: inline;
}

/*-------------------------------
            Dialog
-----------------------------------*/

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: none;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity 2s;
  transition: opacity 2s;
  &.display {
    display: block;
    opacity: 1;
  }
}

.blanket {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  opacity: 0.8;
}

.blanketWide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  opacity: 0.3;
}

.dialogWrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.dialog {
  position: absolute;
  top: 5%;
  left: 30%;
  display: block;
  padding: 1em 2em;
  min-width: 500px;
  max-height: 70%;
  width: 25%;
  border: thin solid rgb(153, 153, 153);
  border-radius: 6px;
  background: white;
  -o-border-radius: 6px;
  overflow: auto;
  text-align: center;
}

.dialogWide {
  position: absolute;
  top: 15%;
  left: 20%;
  display: block;
  overflow-y: scroll;
  padding: 1em;
  min-width: 500px;
  max-height: 500px;
  width: 60%;
  border: thin solid rgb(153, 153, 153);
  border-radius: 4px;
  background: white;
  -o-border-radius: 4px;
}

.dialogWrap {
  .menuCentre {
    margin: 30px auto 10px auto;
  }
  p {
    margin: 1em auto;
    padding: 1em 1.3em;
    font-size: 1.2em;
  }
  select,
  input {
    display: block;
    margin: 5px auto;
  }
  .fa-check-circle-o {
    color: green;
  }
  .fa-exclamation-circle {
    color: red;
  }
}

label[for='newDeviceGroupName'] {
  margin: 10px 0 0 0;
}

.dialogWrap table.dataTable select,
.dialogWrap table.dataTable input {
  display: inline;
  margin: 5px 0.5em 0 0.1em;
  width: 70%;
}

.confirmDialog {
  .ember-radio-button {
    display: block;
    padding: 15px 15px 0px 15px;

    input[type='radio'] {
      display: inherit;
      margin-left: 8px;
      margin-right: 8px;
    }

    label {
      display: inline;
    }
  }
}

/* .header
--------------------------------------------- */

header.top {
  position: fixed;
  padding: 5px 0;
  top: 0;
  width: 100%;
  height: 41px;
  background: rgb(252, 252, 255);
  z-index: 9999;
  /*-webkit-box-shadow: 0 0 1px rgba(32, 32, 36, 0.1);
    box-shadow: 0 0 1px rgba(32, 32, 36, 0.5);
    border-bottom: 1px solid rgb(240, 240, 240);*/
  border-top: 2px solid rgb(44, 42, 116);
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  & > div {
    position: relative;
    margin: 0 auto 0 auto;
    padding: 0;
    width: 100%;
    min-width: 768px;
  }
  h1 {
    position: absolute;
    top: 2px;
    left: 0px;
    height: 40px;
    width: 145px;
    background: url(/admin/images/akvoFlowLogo.svg) no-repeat 5px top;
    text-indent: -9999px;
    background-size: 90% auto;
  }
}

#submission-warning-banner {
  position: fixed;
  top: 0;
  z-index: 9999;
  font-size: 0.9rem;
  text-align: center;
  color: #212529;
  background-color: #ffc107;
}
#submission-warning-banner strong {
  font-weight: bold;
}
#submission-warning-banner a {
  color: #dc3545;
}
#submission-warning-banner a:hover {
  color: #9c1c28;
}

.submission-count {
  position: absolute;
  top: 7px;
  right: 80px;
  padding: 2px;
  font-size: 14px;
}

.submission-count-badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: .75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  //color: #fff;
  //background-color: #6c757d;
  //background-color: #dc3545!important;
  color: #212529;
  background-color: #ffc107;
  border-radius: 0.4rem!important;
}

.logIn,
.logOut {
  position: absolute;
  top: 7px;
  right: 0.25%;
  list-style-type: none;
}

.userRegister {
  margin: 5px 0 0 10px;
}

.languageSelector {
  margin-top: 4px;
  .labelText {
    display: block;
    margin: 0 0 0.25em 0em;
  }
  select {
    display: block;
    font-size: 0.9em;
    padding: 5px;
  }
  header.top.top-nav-collapse & {
    top: 8px;
    .labelText {
      display: inline;
      margin: 0 0.25em 0 0em;
    }
    select {
      display: inline;
      font-size: 0.9em;
      padding: 5px;
    }
  }
}

/* Top navigation styles
--------------------------------------------- */

/* nav.appNav {
    ul {
        margin-left: 155px;

        li {
            float: left;
            margin: 0px 10px 0 0;

            a {
                padding: 7px 5px;
                display: block;
            }

            &.current {
                a {
                    color: $akvoFlowOrange;
                }
            }
        }
    }
} */

nav.appNav {
  position: absolute;
  top: 0px;
  left: 180px;
  ul {
    position: relative;
    width: 100%;
    li {
      display: inline;
      float: left;
      margin: 0 0 0 0;
      padding: 10px 20px 10px 0px;
      &:last-child {
        padding-right: 0;
      }
      &.current a {
        color: $flowAnchorLinkHover;
      }
      &:hover,
      &:last-child,
      &:last-child:hover,
      &.current,
      &.current:hover {
        background-image: none;
      }
      a {
        display: block;
        vertical-align: middle;
        cursor: pointer;
        color: $akvoDarkBlue;
        &:hover {
          color: $flowAnchorLinkHover;
        }
      }
    }
  }
}

/* page structure
--------------------------------------------- */

.widthConstraint {
  position: relative;
  margin: 0 auto 0 auto;
  padding: 0;
  width: 100%;
  min-width: 768px;
}

.belowHeader {
  padding-top: 110px;
  padding-bottom: 25px;
  box-sizing: border-box;
}

.middleSection {
  /*margin: 0 0 20px 0;*/
  padding: 50px 0 25px 0;
}

.fullWidth {
  position: relative;
  width: 100%;
}

.mainContent {
  margin: 0 auto;
  padding: 0 0 0 0;
  width: 99%;
}

@mixin bgDetails {
  background-repeat: no-repeat;
  background-position: center 12px;
  -webkit-background-size: 28px auto;
  background-size: 28px auto;
}

/*---------------------------------------------
                    Data Table
-----------------------------------------------*/

table.dataTable {
  position: relative;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  color: rgba($tableHeaderGrey, 0.8);
  font-size: 0.9em;
  &.headerFixed {
    table-layout: fixed;
    white-space: wrap !important;
    thead {
      width: 100%;
      tr {
        display: flex;
        position: relative;
        &:after {
          content: '';
          overflow-y: scroll;
          visibility: hidden;
          height: 0;
        }
        th {
          display: block;
          padding: 9px 1em 9px 1em;
          text-align: center;
          font-weight: normal;
          flex: 1 auto;
          width: 1px;
          &:first-of-type {
            width: 10%;
          }
          &:nth-of-type(2) {
            width: 10%;
          }
          &:nth-of-type(3) {
            width: 35%;
          }
          &:nth-of-type(4) {
            width: 10%;
          }
          &:last-of-type {
            width: 35%;
          }
        }
      }
    }
    tbody {
      width: 100%;
      display: block;
      overflow-y: auto;
      height: calc(100vh - 220px);
      tr {
        width: 100%;
        display: flex;
        td {
          flex: 1 auto;
          width: 1px;
          word-wrap: break-word;
          vertical-align: middle;
          &:first-of-type {
            width: 10%;
          }
          &:nth-of-type(2) {
            width: 10%;
          }
          &:nth-of-type(3) {
            width: 35%;
          }
          &:nth-of-type(4) {
            width: 10%;
          }
          &:last-of-type {
            width: 35%;
          }
        }
      }
    }
  }
  thead tr {
    background: rgba($linkColor, 0.2);
    border-top: thin solid rgba(32, 32, 36, 0.05);
    th {
      position: relative;
      padding: 9px 1em 9px 1em;
      border-right: thin solid white;
      background: url(/admin/images/sortTableArrows.png) right center no-repeat;
      text-align: center;
      font-weight: normal;
      color: $linkColor;
      input[type='checkbox'] {
        margin: 0;
      }
    }
  }
  td {
    overflow: hidden;
    padding: 1.1em 0 1.1em 0.5em;
    vertical-align: middle;
    text-align: center;
    &:hover {
      font-weight: normal;
    }
  }
}

// Assignment Data table
table.dataTable.assignmentListTable thead tr th {
  text-align: left;
  padding-left: 2em;
}

table.dataTable.assignmentListTable td {
  text-align: left;
    padding-left: 2em;
}

table.dataTable tbody tr,
table.dataTable tbody tr:nth-child(2n + 1),
table.dataTable tbody tr.odd {
  border-bottom: thin solid white;
  background: white;
  -webkit-transition: background-color 0.4s linear;
  transition: background-color 0.4s linear;
}

table.dataTable tbody tr:nth-child(2n),
table.dataTable tbody tr.even {
  -webkit-transition: background-color 0.4s linear;
  transition: background-color 0.4s linear;
}

table.dataTable tbody tr:hover,
table.dataTable tbody tr:nth-child(2n):hover,
table.dataTable tbody tr.even:hover {
  background: rgba($flowAnchorLink, 0.1);
  color: rgba($tableHeaderGrey, 0.5);
}

#usersListTable thead tr th {
  padding: 11px 1em 7px 1em;
}

table.dataTable thead tr th a,
table.dataTable thead tr th a:link,
table.dataTable thead tr th a:visited {
  cursor: pointer;
  display: block;
}

/* end addition MTW */

table.dataTable thead tr th a.helpIcon {
  position: absolute;
  top: 9px;
}

table.dataTable thead tr th.sorting_desc {
  background: url(/admin/images/sortTableDown.png) right center no-repeat;
}

table.dataTable thead tr th.sorting_asc {
  background: url(/admin/images/sortTableUp.png) right center no-repeat;
}

table.dataTable thead tr th:last-child {
  border-right: none;
}

tfoot tr {
  display: none;
  background: transparent;
}

#devicesListTable {
  .macAddress {
    width: 14%;
  }
  .action {
    width: 10%;
  }
  .deviceName {
    width: 17%;
  }
  .extraName {
    width: 17%;
  }
  .joinDate {
    width: 10%;
  }
  .latitude {
    width: 16%;
  }
  .longitude {
    width: 16%;
  }
}

#usersListTable {
  .userName {
    width: 35%;
  }
  .emailAdr {
    width: 35%;
  }
  .permLevel {
    width: 20%;
  }
  .action {
    width: 10%;
  }
  .notFound {
    color: rgb(227, 27, 35);
  }
  .Admin {
    color: rgb(219, 135, 201);
  }
  .User {
    color: rgb(119, 97, 0);
  }
}

.greyBg a.standardBtn {
  background-image: url('/admin/images/addPlus.png') left center no-repeat;
}

@mixin disabledMix {
  border-radius: 0;
  background: transparent;
  color: grey;
  -o-border-radius: 0;
}

.disabled {
  @include disabledMix;
}

.dataTabMenu {
  position: absolute;
  top: 30px;
  right: 5px;
  ul {
    li {
      display: inline;
      float: left;
      margin: 0 0.5em 0 0;
      a {
        display: block;
        padding: 0.4em 0.8em;
        background: transparent;
        color: rgb(0, 123, 182);
        @include transition(all 0.2s ease);
        @include border-radius(0.3em);
        &.disabled {
          @include disabledMix;
        }
        &:hover {
          border-radius: 2px;
          background: $flowAnchorLink;
          color: white;
          -o-border-radius: 2px;
          &.disabled {
            @include disabledMix;
          }
        }
      }
    }
  }
}

/**************** Inspect Data tab. **************/

#inspectData {
  label {
    &.surveyInstanceId {
      &.tooltip {
        a {
          color: red;
        }
      }
    }
  }
  div {
    &.noResults {
      color: red;
      text-align: center;
    }
  }
  tr {
    td {
      &.survey,
      &.submitter {
        text-align: left;
      }
    }
  }
}

/********* Editing Multiple Option Type quesitons ********/

#inspectData {
  td.multiple-option {
    * {
      box-sizing: border-box;
    }
    > ul {
      padding: 1em;
      background: whitesmoke;
      max-height: 600px;
      overflow-y: scroll;
      margin-right: 1em;
      margin-bottom: 1em;
    }
    input[type='checkbox'] {
      width: initial;
    }
  }
  .editOtherContainer {
    margin-bottom: 1em;
    .otherLabel {
      display: inline-block;
      margin-right: 0.5em;
      &:after {
        content: ':';
      }
    }
    .editOtherText {
      width: 60%;
      margin-left: auto;
      margin-right: 0;
    }
  }
}

/******* Multiple Option Type question survey entry ******/

p.optionTitle strong {
  margin-left: 1em;
}

.optionListView {
  li {
    padding: 0 1em;
    input {
      display: inline-block;
      &:first-child {
        width: 10em;
        margin-right: 1em;
      }
      &:nth-child(2) {
        width: 35em;
      }
    }
    a {
      margin-left: 1em;
    }
  }
  .optionAdd {
    display: block;
    width: 10em;
    padding: 1em;
    font-weight: bold;
    &:before {
      content: '+ ';
    }
  }
}

/**************** Assign Survey to devices. **************/

#assignSurveys h2 {
  margin: 0.1em 0 1em 0;
}

#assignSurveys select,
#assignSurveys input {
  margin: 0.3em 0 0.2em 0;
}

#assignSurveys label {
  margin: 0.5em 0 0 0;
}

#assignSurveys fieldset {
  position: relative;
  margin: 3px auto;
  padding: 1em 0.5% 3em 0.5%;
}

fieldset#assignmentDetails {
  background: white;
}

#assignSurveys input {
  padding: 3px 5px;
  border: 1px solid rgb(158, 158, 158);
}

.manualTransfer input {
  padding: 3px 5px;
  border: 1px solid rgb(158, 158, 158);
  width: 48%;
}

.manualTransfer textarea {
  width: 98%;
  margin: 0.2em 0;
  border: 1px solid rgb(158, 158, 158);
}

.manualTransfer input[type='checkbox'] {
  width: inherit;
}

#assignmentDetails > input {
  width: 47.5%;
}

.dateRange {
  position: relative;
  display: block;
  width: 100%;
}

input.hasDatepicker {
  display: inline;
  width: 95%;
  background: rgb(250, 244, 230);
}

.dateRange div.activeDate,
.dateRange div.expireDate {
  width: 50%;
}

.dateRange div.activeDate {
  float: left;
}

.dateRange div.expireDate {
  float: right;
}

.fieldSetWrap {
  position: relative;
  clear: both;
  overflow: hidden;
  margin: 3px auto;
  padding: 0;
  width: 99%;
  background: rgb(242, 242, 242) center center no-repeat;
}

.fieldSetWrap.makeWhite {
  background: white center center no-repeat;
}

#assignSurveys .fieldSetWrap fieldset table {
  overflow: scroll;
  margin: 0 auto;
  max-height: 210px;
  width: 98%;
}

.action a:first-child {
  margin-right: 5px;
}

.action a.remove {
  display: inline-block;
}

.action a.edit {
  display: inline-block;
}

.action a.edit:hover {
}

table.previewList {
  color: rgb(209, 84, 95);
}

#assignSurveys .fieldSetWrap fieldset table tbody {
  border: thin solid rgb(230, 230, 230);
}

#assignSurveys .fieldSetWrap fieldset table th {
  padding: 5px 0 5px 5px;
  background: rgb(242, 242, 242);
  color: rgb(107, 134, 141);
  text-align: left;
  font-weight: normal;
  cursor: pointer;
}

#assignSurveys .fieldSetWrap fieldset table tr:nth-child(2n + 1) {
  background: rgb(230, 230, 230);
}

#assignSurveys .fieldSetWrap fieldset table tr:nth-child(2n) {
  background: white;
}

#assignSurveys .fieldSetWrap fieldset table tr:last-child {
  background: transparent;
}

#assignSurveys .fieldSetWrap fieldset table td {
  padding: 0 0 0 1.5%;
  border-right: thin solid white;
  vertical-align: middle;
  text-align: left;
}

#assignSurveys .fieldSetWrap fieldset table td:last-child {
  border-right: none;
}

#assignSurveys .fieldSetWrap fieldset table tfoot tr {
  display: table-row;
  height: 21px;
  background: transparent;
  vertical-align: middle;
}

#assignSurveys .fieldSetWrap fieldset table tfoot td {
  position: relative;
  text-align: center;
}

#assignSurveys .fieldSetWrap fieldset table tfoot td a {
  float: right;
  @include button($flowAnchorLink);
}

.groupPreview {
  width: 37.5%;
}

.surveyPreview {
  width: 48.5%;
}

th.action {
  width: 15%;
}

#assignSurveys .fieldSetWrap div fieldset table td.action {
  padding: 0.6em 0 0.6em 3%;
  width: 15%;
}

#assignSurveys .fieldSetWrap > div {
  display: inline-block;
  margin: 0;
  padding: 1em 0.5% 1.5em 0.5%;
  width: 48%;
}

.manualTransfer .fieldSetWrap fieldset.fullWidth {
  min-height: inherit;
  width: 100%;
}

#assignSurveys .fieldSetWrap .formLeftPanel {
  position: relative;
  float: left;
  overflow: auto;
}

#assignSurveys .fieldSetWrap .formRightPanel {
  position: relative;
  float: right;
  padding: 1em 0.5% 1.5em 1.5%;
  height: 98%;
  overflow: auto;
}

#assignSurveys .fieldSetWrap .formLeftPanel div {
  position: relative;
}

#assignSurveys .fieldSetWrap .formLeftPanel div nav {
  position: absolute;
  top: 0.3em;
  right: 2.5%;
  display: inline;
}

#assignSurveys .fieldSetWrap .formLeftPanel div nav ul li {
  display: inline;
  margin: 0 0 0 5px;
}

#assignSurveys .fieldSetWrap .formLeftPanel div nav ul li:first-child {
  margin: 0 0 0 0;
}

#assignSurveys .fieldSetWrap .formLeftPanel div nav ul li a {
  color: rgb(0, 123, 182);
}

#assignSurveys .fieldSetWrap .formLeftPanel div.SelectLayout {
  max-width: 85%;
  position: relative;
  .modularSelection {
    display: inline;
    select {
      max-width: 20%;
      float: left;
      display: inline;
      @include noWrapTxt;
    }
  }
}

#assignSurveys .fieldSetWrap .formLeftPanel div.formSelectorList {
  width: 85%;
  margin-top: 30px;
  select {
    width: 97.5%;
  }
}

.menuConfirm {
  margin: 1em auto;
  text-align: center;
}

.menuConfirm ul li {
  display: inline;
  margin: 0 15px 0 0;
}

.menuConfirm ul li a {
  display: inline-block;
}

.surveysList {
  position: relative;
}

/* Style the buttons that are used to open and close the accordion panel */
#assignSurveys .accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  margin-bottom: 2px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
#assignSurveys .active,
.accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
#assignSurveys .panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

#assignSurveys .accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
}

#assignSurveys .active:after {
  content: '\2796'; /* Unicode character for "minus" sign (-) */
}

#assignSurveys .displayInline {
  display: inline-block;
  margin-right: 5px;
}
/* Survey Groups Menu Bar
--------------------------------------------- */

.leftSidebar nav.surveyGroupNav input {
  display: block;
  margin: 8px 0 0 10px;
  width: calc(100% - 32px);
  z-index: 9999;
  &.text_edit {
    display: none;
  }
}

a.text_label {
}

.leftSidebar a.smallBtn {
  margin: 0 5px 10px 10px;
}

.leftSidebar nav.surveyGroupNav a.smallBtn:nth-child(2n) {
  margin: 0 0 10px 0;
}

.leftSidebar input[type='search'] {
  display: block;
  margin: 8px auto 10px auto;
  width: 77%;
}

.no-textshadow .leftSidebar h2 {
  color: rgb(125, 125, 125);
}

nav.menuGroupWrap {
  overflow-y: hidden;
  height: 370px;
  &.topMenuGroupWrap {
    height: initial;
    background: rgba(white, 0.98);
    padding: 3px 0 2px 0;
    ul.menuGroup {
      li {
        border-bottom: none;
      }
    }
  }
  ul.menuGroup {
    li {
      position: relative;
      margin: 2px 1% 1px 1%;
      width: calc(98%-30px);
      border-bottom: thin solid rgb(55, 55, 55);
      background: rgb(70, 70, 70);
      background: rgba(255, 255, 255, 0.05) url(/admin/images/selectFolder.svg)
        2px center no-repeat;
      background-size: 20px 20px;
      div.edit {
        position: absolute;
        background: url(/admin/images/IconEditGrey.svg) center center no-repeat;
        background-size: 20px 20px;
        width: 25px;
        height: 25px;
        display: none;
        cursor: pointer;
        top: 7px;
        right: 5px;
      }
      div.trashFolder {
        position: absolute;
        background: url(/admin/images/IconTrashGrey.svg) center center no-repeat;
        background-size: 20px 20px;
        width: 25px;
        height: 25px;
        display: none;
        cursor: pointer;
        top: 7px;
        right: 30px;
      }
      div.copyFolder {
        position: absolute;
        background: url(/admin/images/IconCopyGrey.svg) center center no-repeat;
        background-size: 20px 20px;
        width: 25px;
        height: 25px;
        display: none;
        cursor: pointer;
        top: 7px;
        right: 55px;
      }
      &.folderUp {
        background: rgb(70, 70, 70);
        background: url(/admin/images/folderUp.svg) 2px center no-repeat;
        background-size: 35px 35px;
        &:hover {
          background: rgb(70, 70, 70);
          background: rgba(255, 255, 255, 0.05)
            url(/admin/images/folderUpHover.svg) 2px center no-repeat;
          background-size: 35px 35px;
        }
        a {
          color: $flowAnchorLink;
          background-image: none;
          padding: 10px 1% 10px 45px;
          width: calc(99% - 40px);
          &:hover {
            color: $flowAnchorLinkHover;
            background-image: none;
          }
        }
      }
      &.current {
        border-bottom: thin solid rgb(55, 55, 55);
        background: rgb(90, 90, 90) url(/admin/images/selectFolder.svg) left
          center no-repeat;
        background: rgba(255, 255, 255, 0.15)
          url(/admin/images/selectFolder.svg) 2px center no-repeat;
        background-size: 20px 20px;
        a,
        a:hover {
          background: url(/admin/images/carretFolderSelected.svg) right center
            no-repeat;
          color: $flowAnchorLinkHover;
          background-size: 15px 25px;
        }
      }
      a {
        display: block;
        padding: 10px 10% 10px 2%;
        width: 93%;
        height: 23px;
        background: url(/admin/images/carretFolder.svg) right center no-repeat;
        background-size: 15px 25px;
        color: rgb(153, 153, 153);
        color: rgba(255, 255, 255, 0.6);
        @include noWrapTxt;
        cursor: pointer;
        &:hover {
          background: rgb(80, 80, 80) url(/admin/images/carretFolder.svg) right
            center no-repeat;
          background: rgba(255, 255, 255, 0.05)
            url(/admin/images/carretFolder.svg) right center no-repeat;
          color: rgb(114, 205, 255);
          background-size: 15px 25px;
        }
        span.monitorIcn {
          font-weight: bold;
          line-height: 21px;
          color: white;
          background-color: $monitorGreen;
          display: inline-block;
          border-radius: 10px;
          width: 16px;
          height: 20px;
          padding: 0 0 0 4px;
        }
      }
    }
  }
}

.scrollWrap {
  display: block;
  margin: 4px auto;
  width: 100%;
  height: 15px;
  a {
    display: block;
    margin: 0 auto 0 auto;
    width: 50%;
    height: 15px;
    text-align: center;
    text-indent: -9999px;
    -webkit-transition: background 0.4s ease-in;
    transition: background 0.4s ease-in;
    &.scrollUp {
      border-radius: 5px 5px 0 0;
      background: rgb(31, 31, 31) url(/admin/images/scrollUp.png) center center
        no-repeat;
      &:hover {
        background: rgb(107, 134, 141) url(/admin/images/scrollUp.png) center
          center no-repeat;
      }
    }
    &.scrollDown {
      border-radius: 0 0 5px 5px;
      background: rgb(31, 31, 31) url(/admin/images/scrollDown.png) center
        center no-repeat;
      &:hover {
        background: rgb(107, 134, 141) url(/admin/images/scrollDown.png) center
          center no-repeat;
      }
    }
  }
}

a.FadeIt {
  display: none;
}

.projectDetail {
  li {
    margin: 10px auto;
    h2 {
      display: block;
      overflow: inherit;
      text-overflow: inherit;
      white-space: inherit;
      margin: 10px 0 0 5px;
      color: $flowAnchorLink;
    }
  }
}

.noFormsContainer {
  background: white;
  padding: 10px 0;
  li.formList {
    padding: 10px 0;
    &.populated {
      background: rgba(white, 0);
    }
    h4 {
      margin: 5px 0 10px 5px;
      color: rgba($flowAnchorLink, 0.5);
    }
    .noForms {
      text-align: center;
      width: 90%;
      margin: 0 auto 20px auto;
    }
    ul.menuForm {
      li {
        position: relative;
        margin: 2px 1% 1px 1%;
        width: calc(98%-30px);
        border-bottom: thin solid rgb(55, 55, 55);
        background: rgb(70, 70, 70);
        &.current {
          border-bottom: thin solid rgb(55, 55, 55);
          background: rgba($flowAnchorLink, 0.25);
          a,
          a:hover {
            color: white;
          }
        }
      }
    }
  }
}

/* Survey Top Bar
--------------------------------------------- */
#float-right {
  float: right;
}

section.topBar {
  position: fixed;
  top: 53px;
  margin: 0px auto 0 auto;
  z-index: 10000;
  width: 100%;
  box-shadow: 0 1px 3px rgba($akvoBlack, 0.1);
  padding: 0 0 0px 0;
  background: white;
  &.activeMenu {
    border: 1px solid rgb(212, 212, 212);
  }
  /*--------------------------------------------------------------------
                                Tabs Styling
    ----------------------------------------------------------------------*/
  #tabs div > section {
    border-top: thin solid white;
    &.cascadeSection {
      background: $projectBackground;
      box-sizing: border-box;
      width: 100%;
      padding: 15px 0;
      margin: 0 auto;
      -ms-overflow-style: none;
      overflow-y: scroll;
    }
  }
  #tabs section h1,
  .messagesList h1,
  .usersList h1,
  .surveyTranslation > h1 {
    display: block;
    margin: 0.5em 0 0.5em 0.5em;
    color: $flowAnchorLinkHover;
    font-weight: 400;
  }
  #tabs div > section h3 {
    -moz-text-shadow: 0 -1px 0 rgb(185, 185, 185), 0 2px 0 white;
    -webkit-text-shadow: 0 -1px 0 rgb(185, 185, 185), 0 2px 0 white;
    -o-text-shadow: 0 -1px 0 rgb(185, 185, 185), 0 2px 0 white;
    text-shadow: 0 -1px 0 rgb(185, 185, 185), 0 2px 0 white;
  }
  #tabs {
    position: relative;
    nav.tabNav {
      display: block;
      padding: 0px 0 0px 0;
      width: 100%;
      background-color: white;
      position: fixed;
      z-index: 9999;
      margin-bottom: 0px;
      ul {
        padding: 0;
        overflow: auto;
        background: rgb(252, 252, 255);
        &:after {
          content: '';
          display: block;
          overflow: auto;
          margin-top: -1px;
          width: 100%;
          height: 1px;
          border-bottom: thin solid rgba($akvoBlack, 0.2);
        }
        li {
          display: inline;
          float: left;
          margin: 0 0px -2px 0;
          font-size: 90%;
          @include border-radius(0 0 0 0);
          background: rgba($akvoBlack, 0);
          -webkit-background-clip: padding-box;
          background-clip: padding-box;
          -webkit-transition: none;
          transition: none;
          -moz-background-clip: padding;
          -webkit-background-clip: padding-box;
          border: thin solid transparent;
          &:hover {
            border: thin solid rgba($akvoBlack, 0.2);
            border-bottom: thin solid white;
          }
          &.active {
            position: relative;
            background: rgba(white, 1);
            border-top: 2px solid rgba($akvoFlow, 1);
            border-left: thin solid rgba($akvoBlack, 0.2);
            border-right: thin solid rgba($akvoBlack, 0.2);
            border-bottom: thin solid white;
            cursor: not-allowed;
            &:hover {
              background: rgba($akvoBlack, 0);
            }
            a {
              color: rgba($akvoBlack, 1);
              text-shadow: none;
              -webkit-text-shadow: none;
              -moz-text-shadow: none;
              @include noWrapTxt;
              &:hover {
                color: rgba($akvoBlack, 1);
                text-shadow: none;
                -webkit-text-shadow: none;
                -moz-text-shadow: none;
              }
            }
          }
          a {
            display: block;
            padding: 10px 15px;
            color: rgba($akvoBlack, 0.5);
            -webkit-transition: none;
            transition: none;
            &:hover {
              color: rgba($akvoBlack, 1);
            }
          }
        }
      }
    }
  }
  nav {
    &.breadCrumb {
      margin-left: 0.5%;
      width: 65.5%;
      float: left;
      ul li {
        white-space: nowrap;
        display: inline-block;
        height: 34px;
        line-height: 34px;
        width: auto;
        margin: 5px 3px 0 -1px;
        text-indent: 19px;
        position: relative;
        max-width: 175px;
      }
      ul li:before {
        content: ' ';
        height: 0;
        width: 0;
        position: absolute;
        left: -2px;
        border-style: solid;
        border-width: 17px 0 17px 17px;
        border-color: transparent transparent transparent #fff;
        z-index: 0;
      }
      ul li:first-child:before {
        border-color: transparent;
      }
      ul li a:after {
        content: ' ';
        height: 0;
        width: 0;
        position: absolute;
        right: -17px;
        border-style: solid;
        border-width: 17px 0 17px 17px;
        border-color: transparent transparent transparent $akvoLightBlue;
        z-index: 10;
      }
      ul li a {
        display: block;
        background: $akvoLightBlue;
        color: white;
        @include noWrapTxt;
        &:hover {
          background: $flowAnchorLinkHover;
        }
        &.homeRoot {
          border-radius: 3px 0 0 3px;
          width: 40px;
          background: url(/admin/images/breadCrumb-Root.png) center center
            no-repeat $akvoLightBlue;
          background-size: 60%;
          text-indent: -9999px;
          z-index: 9999;
          margin-left: 0;
          &:hover {
            background: url(/admin/images/breadCrumb-Root.png) center center
              no-repeat $flowAnchorLinkHover;
            background-size: 60%;
          }
        }
      }
      ul li a:hover:after {
        border-color: transparent transparent transparent $flowAnchorLinkHover;
      }
      ul li:last-of-type {
        opacity: 0.8;
        a {
          border-radius: 0 3px 3px 0;
          padding-right: 15px;
          background: $flowAnchorLinkHover;
          &.homeRoot {
            padding-right: 0;
            border-radius: 3px 0 0 3px;
            width: 40px;
            background: url(/admin/images/breadCrumb-Root.png) center center
              no-repeat $akvoLightBlue;
            text-indent: -9999px;
            z-index: 9999;
            margin-left: 0;
            background-size: 60%;
            &:hover {
              background-size: 60%;
            }
            &:after {
              content: ' ';
              height: 0;
              width: 0;
              position: absolute;
              right: -17px;
              border-style: solid;
              border-width: 17px 0 17px 17px;
              border-color: transparent transparent transparent $akvoLightBlue;
              z-index: 10;
            }
            &:hover {
              background: url(/admin/images/breadCrumb-Root.png) center center
                no-repeat $akvoLightBlue;
            }
          }
          &:after {
            border-width: 0;
            &:hover {
              background: $akvoLightBlue;
            }
          }
        }
      }
    }
    &.menuTopbar {
      margin-right: 0.25%;
      width: 33.5%;
      float: right;
      margin-top: -5px;
      h3 {
        color: rgb(198, 198, 198);
        margin: 0;
        padding: 0;
        &.actionTitleEdit {
          padding: 5px 5px 5px 15px;
          background: url(/admin/images/IconEditGreyLight.svg) left center
            no-repeat;
          background-size: 15px;
        }
      }
      ul {
        width: 100%;
        li {
          margin: 10px 10px 0 0;
          float: right;
          &:first-of-type {
            margin: 10px 0px 0 0;
          }
          p {
            color: $midGrey;
            .itemMoved {
              color: $akvoDarkBlue;
              margin-right: 5px;
              margin-left: 5px;
              display: inline-block;
              max-width: 350px;
              line-height: initial;
              top: 3px;
              position: relative;
              @include noWrapTxt;
            }
          }
        }
      }
      &.actionHighLighted {
        width: 80%;
        float: none;
        position: absolute;
        top: -47px;
        right: 0;
        padding: 0;
        background: white;
        box-shadow: 0 0 5px #8dc63f;
        border: 1px solid rgb(241, 242, 242);
        margin: 0 0 0 10%;
        li {
          margin: 7px 0 0 10px;
          &:first-child {
            float: left;
            margin: 7px 0 0 10px;
          }
          &:nth-of-type(2),
          &:nth-of-type(3) {
            margin: 2px 0 0 0;
          }
          p {
            span {
            }
          }
        }
      }
    }
  }
  input[type='text'] {
    padding: 5px;
    margin: 16px 0 0 10px;
    width: 20%;
  }
  .addCascade {
    input[type='text'] {
      width: 50%;
      margin: 0 10px 0 0;
      padding: 9px 10px;
      background: lighten($akvoDarkBlue, 50%);
    }
  }
}

.surveyLandingText {
  display: inherit;
  vertical-align: middle;
  text-align: center;
  color: rgb(204, 204, 204);
  padding: 1em 3em;
  text-shadow: 0px 2px 1px rgba(247, 242, 229, 0.5);
}

section.topBar h2 {
  display: inline-table;
  max-width: 45%;
  color: rgb(44, 42, 116);
  @include noWrapTxt;
  margin: 5px 0 0 15px;
}

section.topBar > a {
  position: relative;
  display: inline-block;
}

section.topBar > a:hover {
  color: $flowAnchorLinkHover;
}

section.topBar > a.smallBtn {
  margin: 0 10px;
  color: rgb(235, 235, 235);
}

nav.menuTopbar {
  margin: 0 auto 0;
  padding: 0 0 10px 0;
}

#surveyCreator nav.menuTopbar ul {
  background: none;
}

ul.folderMenu {
  display: block;
  margin: 0px auto 45px;
  li {
    width: 48%;
    padding: 10px 1%;
    display: inline;
    float: left;
    background: $blackOpac;
  }
}

ul.cancelMenu {
  display: none;
  margin: 10px auto 0;
  li {
    width: 98%;
    padding: 10px 1%;
    display: inline;
    float: right;
    background: $blackOpac;
  }
}

a.addGroup,
a.addSurvey,
a.stepBack,
button.stepBack,
a.editGroupName,
a.addMenuAction,
a.makeMonitorGroup,
a.manageNotifications,
a.deleteGroup,
a.addFolder,
a.editFolder,
a.cancelFolder,
a.saveMenuAction {
  @include btnOutline($flowAnchorLink);
  &.noChanges,
  &.disabled {
    cursor: not-allowed;
    background-color: rgba(128, 128, 128, 0.1) !important;
    color: rgba(128, 128, 128, 0.4) !important;
    border: 1px solid transparent;
    &:hover {
      cursor: not-allowed;
      background-color: rgba(128, 128, 128, 0.1) !important;
      color: rgba(128, 128, 128, 0.4) !important;
      border: 1px solid transparent;
    }
  }
}

li.dropdown {
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
  display: block;
}

.new {
  margin: 0.5em auto;
  padding: 0.25em 0.25em 0.25em 0.25em;
  background-color: #0096b2;
  color: white;
  font-weight: bold;
}

/* Survey Asset
--------------------------------------------- */

div.monitorSwitch {
  margin: 0 0 30px 20px;
}

ul.surveyBatch {
  position: relative;
  width: 100%;
  margin-top: 30px;
}

ul.actionProcess {
  .aFolder {
    nav {
      opacity: 0.2;
    }
  }
  .aSurvey {
    nav {
      opacity: 0.2;
    }
  }
}

li.aSurvey {
  position: relative;
  display: block;
  box-sizing: border-box;
  margin: 0.5em auto 1em auto;
  padding: 0.5em 0 0.5em 1%;
  min-height: 115px;
  width: 99%;
  background: rgb(245, 245, 245);
  -webkit-background-size: 35px 45px;
  background-size: 35px 45px;
  cursor: pointer;
  -o-border-radius: 0.3em;
  border-radius: 0.3em;
  clear: both;
  &:hover {
    cursor: default;
  }
  a {
    display: block;
    &:first-of-type {
      width: calc(100% - 320px);
      h2 {
        display: inline;
        color: rgba($akvoBlack, 0.7);
        &:hover {
          color: rgba($akvoBlack, 1);
        }
      }
    }
  }
}

li.aFolder {
  @extend .aSurvey;
  min-height: 6px;
  background-color: rgb(232, 232, 232);
  border: 1px solid rgba(200, 200, 200, 0);
  clear: none !important;
  input {
    width: 50%;
    font-size: 1.2em;
    padding: 7px inherit;
  }
  a.editFolderName {
    display: inline-block;
    width: 30px;
    background: url(/admin/images/IconEditGreyLight.svg) center center no-repeat;
    background-size: 25px;
    text-indent: -9999px;
    opacity: 0.5;
    &:hover {
      background: url(/admin/images/IconEditOrange.svg) center center no-repeat;
      background-size: 25px;
      opacity: 1;
    }
  }
  a.editingFolderName {
    @extend .editFolderName;
    background: url(/admin/images/IconSave.svg) center center no-repeat;
    background-size: 70px 70px;
    &:hover {
      background: url(/admin/images/IconSaveOrange.svg) center center no-repeat;
      background-size: 70px 70px;
      opacity: 1;
    }
  }
  a {
    display: inline-block;
    width: calc(100% - 30%);
    padding-top: 10px;
    padding-bottom: 10px;
    h2 {
      color: rgba($akvoBlack, 0.7);
      background: url(/admin/images/folderIcn.svg) right center no-repeat;
      display: inline;
      width: initial;
      padding-right: 45px;
      &:hover {
        color: rgba($akvoBlack, 1);
      }
    }
  }
  &:hover {
    background-color: rgb(222, 222, 222);
    border: 1px solid rgba(200, 200, 200, 1);
  }
  &.folderEmpty {
    h2 {
      background: url(/admin/images/folderIcnEmpty.svg) right center no-repeat;
    }
  }
}

li.aFolder,
li.aSurvey {
  &.highLighted {
    background: #e7eee0;
    border: 1px solid rgba(141, 198, 63, 0.5);
    h2 {
      color: rgba(141, 198, 63, 1);
    }
    &:hover {
      background: #e7eee0;
      border: 1px solid rgba(141, 198, 63, 0.5);
      h2 {
        color: rgba(141, 198, 63, 1);
      }
    }
  }
}

ul.surveyInfo {
  position: relative;
  display: inline;
  float: left;
  padding: 0;
  width: calc(100% - 50% - 30px);
  margin-top: 10px;
}

ul.surveyInfo li {
  position: relative;
  float: left;
  display: inline-block;
  margin: 0 3px 0 0;
  width: calc(25% - 3px);
}

ul.surveyInfo li span {
  display: block;
  color: rgb(128, 130, 133);
  @include noWrapTxt;
}

ul.surveyInfo li time {
  font-weight: bold;
  color: black;
}

ul.surveyInfo li p {
  display: block;
  margin-top: 8px;
}

ul.surveyInfo li.surveyLanguage p {
  color: rgb(107, 174, 61);
}

ul.surveyInfo li.surveyType p {
  color: rgb(227, 27, 35);
}

ul.surveyInfo li.responseNumber {
  display: none;
  p {
    color: rgb(225, 237, 195);
  }
}

.aSurvey nav {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  float: right;
  width: 30%;
  padding-right: 30px;
  top: -27px;
}

.aSurvey.aFolder {
  .deleteSurvey {
    display: none;
  }
  &.folderEmpty {
    .deleteSurvey {
      display: inline;
    }
  }
  nav {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    right: 0;
    padding-right: 30px;
    top: 0px;
  }
  body:not(:-moz-handler-blocked) nav {
    margin-top: -30px;
  }
}

.aSurvey nav ul {
  float: right;
  padding-top: 0px;
}

.aSurvey.aFolder nav ul {
  padding-top: 16px;
}

.aSurvey nav ul li {
  display: inline;
  float: left;
  margin: 0 2px 0 0;
  border-radius: 3px;
  -webkit-transition: background 0.2s ease-in;
  transition: background 0.2s ease-in;
}

.aSurvey nav ul li a {
  display: block;
  text-align: center;
  padding: 5px 7px;
}

.newlyCreated,
.newlycreated:hover {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-animation: appearFx 2s linear 1 normal forwards;
  -moz-animation: appearFx 2s linear 1 normal forwards;
  -o-animation: appearFx 2s linear 1 normal forwards;
  animation: appearFx 2s linear 1 normal forwards;
  background-image: url(/admin/images/carret.svg);
  background-position: right center;
  background-repeat: no-repeat;
}

@-webkit-keyframes appearFx {
  0% {
    opacity: 0;
    box-shadow: 0 0 2px rgba(200, 200, 200, 0);
    background-color: rgba($akvoFlowOrange, 0);
  }
  30% {
    opacity: 0.2;
    box-shadow: 0 0 10px rgba(200, 200, 200, 1);
    background-color: rgba($akvoFlowOrange, 0.5);
  }
  40% {
    background-color: rgba(white, 1);
    opacity: 1;
    box-shadow: 0 0 15px rgba($akvoFlowOrange, 0.6);
  }
  100% {
    background-color: rgba($akvoFlowOrange, 0.1);
    opacity: 1;
    box-shadow: 0 0 5px rgba($akvoFlowOrange, 0.5);
    border: 2px solid rgba($akvoFlowOrange, 0.3);
  }
}

@-moz-keyframes appearFx {
  0% {
    opacity: 0;
    box-shadow: 0 0 2px rgba(200, 200, 200, 0);
    background-color: rgba($akvoFlowOrange, 0);
  }
  30% {
    opacity: 0.2;
    box-shadow: 0 0 10px rgba(200, 200, 200, 1);
    background-color: rgba($akvoFlowOrange, 0.5);
  }
  40% {
    background-color: rgba(white, 1);
    opacity: 1;
    box-shadow: 0 0 15px rgba($akvoFlowOrange, 0.6);
  }
  100% {
    background-color: rgba($akvoFlowOrange, 0.1);
    opacity: 1;
    box-shadow: 0 0 5px rgba($akvoFlowOrange, 0.5);
    border: 2px solid rgba($akvoFlowOrange, 0.3);
  }
}

@-o-keyframes appearFx {
  0% {
    opacity: 0;
    box-shadow: 0 0 2px rgba(200, 200, 200, 0);
    background-color: rgba($akvoFlowOrange, 0);
  }
  30% {
    opacity: 0.2;
    box-shadow: 0 0 10px rgba(200, 200, 200, 1);
    background-color: rgba($akvoFlowOrange, 0.5);
  }
  40% {
    background-color: rgba(white, 1);
    opacity: 1;
    box-shadow: 0 0 15px rgba($akvoFlowOrange, 0.6);
  }
  100% {
    background-color: rgba($akvoFlowOrange, 0.1);
    opacity: 1;
    box-shadow: 0 0 5px rgba($akvoFlowOrange, 0.5);
    border: 2px solid rgba($akvoFlowOrange, 0.3);
  }
}

@keyframes appearFx {
  0% {
    opacity: 0;
    box-shadow: 0 0 2px rgba(200, 200, 200, 0);
    background-repeat: no-repeat;
  }
  30% {
    opacity: 0.2;
    box-shadow: 0 0 10px rgba(200, 200, 200, 1);
    background-repeat: no-repeat;
  }
  40% {
    background-color: rgba(white, 1);
    opacity: 1;
    box-shadow: 0 0 15px rgba($akvoFlowOrange, 0.6);
  }
  100% {
    background-color: rgba($akvoFlowOrange, 0.1);
    opacity: 1;
    box-shadow: 0 0 5px rgba($akvoFlowOrange, 0.5);
    border: 2px solid rgba($akvoFlowOrange, 0.3);
  }
}

/*----------------------------------------------------------------------------------------------------------------
                                         Survey Creation & Editing
----------------------------------------------------------------------------------------------------------------*/

.leftSidebar {
  background: $darkGrey;
  padding: 0 0 10px 0;
}

.leftSidebar h2 {
  display: block;
  @include noWrapTxt;
  color: $flowAnchorLinkHover;
  margin: 10px 0 0 5px;
}

.leftSidebar.surveyDetailSideBar h2 {
  margin-bottom: 10px;
}

.leftSidebar form {
  position: relative;
}

.leftSidebar label {
  margin-top: 15px;
  margin-bottom: 15px;
}

.leftSidebar label,
.leftSidebar input,
.leftSidebar textarea,
.leftSidebar select {
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 96%;
  margin-right: auto;
  margin-left: auto;
}

.leftSidebar input[type='checkbox'] {
  display: inline;
  width: 13px;
}

.leftSidebar label > span {
  color: rgb(225, 237, 195);
  margin: 3px 0 3px 5px;
}

.leftSidebar textarea {
  height: 35px;
}

.leftSidebar form select option {
  background: white;
}

.leftSidebar dl {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  margin: 10px auto;
  padding: 3px 1% 10px 1%;
  width: 96%;
  background: rgb(33, 33, 33);
}

.leftSidebar dt {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  display: table-cell;
  float: left;
  clear: left;
  padding: 0.5em 0 0 2%;
  width: 45%;
  color: rgb(204, 204, 204);
}

.leftSidebar dd {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  display: table-cell;
  float: right;
  clear: right;
  padding: 0.5em 0 0 0;
  width: 55%;
  color: white;
  text-align: left;
}

.leftSidebar .helpIcon {
  position: absolute;
  right: 3px;
  margin: 0;
}

label[for='surveyLanguage'] a.helpIcon {
  right: 10px;
}

.aformContainer {
  nav.newSurveyNav {
    display: table;
    margin: 0 auto 20px auto;
    padding: 0;
    right: 0;
    &.manageStuff {
      margin-top: 10px;
    }
    ul {
      display: -webkit-box;
      display: -moz-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      margin: 0 auto;
      padding: 0;
      width: 100%;
    }
    ul li {
      padding: 0;
      margin-right: 2px;
    }
    ul li a {
      @include btnOutline($flowAnchorLink);
    }
  }
}

div.published {
  .publishNewSurvey {
    pointer-events: none;
    opacity: 0.2;
  }
}

a.publishProjectBtn {
  background: $flowAnchorLink url(/admin/images/IconPublishWhite.svg) left
    center no-repeat;
  background-size: 55px 55px;
  padding: 10px 15px 10px 45px;
  color: white;
  border-radius: 3px;
  &.noChanges {
    background: rgba(32, 32, 36, 0.1) url(/admin/images/IconPublishWhite.svg)
      left center no-repeat;
    background-size: 55px 55px;
    padding: 10px 15px 10px 45px;
    color: white;
    cursor: text;
    &:hover {
      background: rgba(32, 32, 36, 0.1) url(/admin/images/IconPublishWhite.svg)
        left center no-repeat;
      background-size: 55px 55px;
    }
  }
  &:hover {
    background: $flowAnchorLinkHover url(/admin/images/IconPublishWhite.svg)
      left center no-repeat;
    background-size: 55px 55px;
    color: white;
  }
}

a.saveProject {
  background: $flowAnchorLink;
  padding: 10px 15px;
  color: white;
  border-radius: 3px;
  &:hover {
    background: $flowAnchorLinkHover;
    color: white;
  }
  &.noChanges {
    background: rgba(32, 32, 36, 0.1);
    padding: 10px 15px;
    color: white;
    cursor: text;
    &:hover {
      background: rgba(32, 32, 36, 0.1);
    }
  }
}

/*****
        A New Question Form
******---------------------------------------------------------------------------------*/

.aQuestionSet .questionSetContent {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 1.5em 0.5% 1em 0.5%;
  width: 99%;
}

.aQuestionSet .questionSetContent:before {
  display: block;
  margin: 0px auto 5px auto;
  width: 100%;
  border-top: 1px solid rgb(228, 228, 228);
  border-bottom: 1px solid white;
  content: '';
}

.aQuestionSet .questionSetContent a.addQuestion {
  position: relative;
  display: block;
  margin: 15px 0 15px 15px;
  padding: 0.85em 0.5em 0.75em 0.5em;
}

.aQuestionSet .questionSetContent a.addQuestion:hover {
  color: $flowAnchorLinkHover;
}

.aQuestionSet .questionSetContent a.addQuestion:first-child {
  margin: 20px 0 20px 5px;
}

.aQuestionSet header {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 0 0.5% 0 0.5%;
  width: 99%;
  background: rgb(240, 240, 240);
}

.aQuestionSet > div > div.ember-view:first-child header {
}

div.questionGroupBlock {
  margin: 15px 0;
  border-top: thin solid rgb(230, 230, 230);
  border-bottom: thin solid rgb(230, 230, 230);
  background: rgb(240, 240, 240);
}

.aQuestionSet > div > div.ember-view > div.questionGroupBlock {
  margin: 15px 0;
  border-top: thin solid rgb(230, 230, 230);
  border-bottom: thin solid rgb(230, 230, 230);
  background: rgb(240, 240, 240);
}

.aQuestionSet > div > div.ember-view:first-child {
  margin: 0 0 15px 0;
}

span.qtnGroupHead {
  display: block;
  margin: 0.75em 0 0.25em 0;
  width: 100%;
  color: $flowAnchorLinkHover;
}

.qtnGroupTitle {
  margin: 3px 0 0.5em;
  h1 {
    color: rgba($akvoBlack, 0.7);
    &:hover {
      color: rgba($akvoBlack, 1);
    }
  }
  input {
    font-family: $bodyFont;
  }
}

.aQuestionSet header h1.qtnGroupTitle {
  display: inline-block;
  font-size: 1.1em;
  @include noWrapTxt;
}

.aQuestionSet header h1.qtnGroupTitle a {
  color: rgba($akvoBlack, 0.7);
  &:hover {
    color: rgba($akvoBlack, 1);
  }
}

.aQuestionSet header h1 + a.editSetInfo {
  position: relative;
  display: inline-block;
  margin: 0 0 0 10px;
  padding: 0.75em 0.5em 0.25em 17px;
  background: url(/admin/images/editTinyIcon.png) left center no-repeat;
}

.aQuestionSet header input {
  margin: 5px 0;
  width: 25%;
  border: thin solid rgb(224, 224, 224);
  border-radius: 3px;
  -o-border-radius: 3px;
}

.aQuestionSet header input + a.smallBtn {
  margin: 0 5px 0 0;
}

.aQuestionSet footer {
  position: relative;
  display: block;
  margin: 0 0.75%;
  padding: 5px 0.25%;
  width: 98%;
  background: rgb(179, 179, 179);
}

.aQuestionSet footer a.addSet {
  position: relative;
  display: block;
  margin: 0.25% 1% 0.25% auto;
  padding: 0.5em 0.5em 0.35em 25px;
  width: 7%;
  border-radius: 3px;
  background: rgb(235, 235, 235) url(/admin/images/addSet.png) left center
    no-repeat;
  color: rgb(227, 27, 35);
  @include noWrapTxt;
}

.aQuestionSet footer a.addSet:hover {
  background: rgb(214, 214, 214) url(/admin/images/addSet.png) left center
    no-repeat;
  color: rgb(227, 27, 35);
}

nav.groupActionMenu {
  display: block;
  margin: 5px auto;
  padding: 1.5em 0;
  width: 100%;
  background: rgba($akvoFlowOrange, 0.1);
}

nav.groupActionMenu ul {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 30%;
  text-align: center;
}

nav.moveMenu ul li,
nav.copyMenu ul li {
  display: inline;
  margin: 0 10px 0 0;
  text-align: center;
}

nav.groupActionMenu.insertMenu ul {
  margin: 0 0 0 1%;
  text-align: left;
}

nav.groupActionMenu.insertMenu a {
  display: inline-block;
  padding: 1px 5px 9px 10px;
  height: 8px;
}

nav.questionActionMenu {
  display: block;
  margin: 10px auto;
  padding: 1.5em 0;
  width: 100%;
  background: rgb(211, 220, 222);
}

nav.questionActionMenu ul {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 26%;
  text-align: center;
}

nav.moveQMenu ul li,
nav.copyQMenu ul li {
  display: inline;
  margin: 0 10px 0 0;
  text-align: center;
}

nav.questionActionMenu a.smallBtn {
  background: rgb(39, 94, 110);
  color: white;
}

nav.questionActionMenu a.smallBtn:hover {
  background: $darkGrey;
  color: white;
}

nav.questionActionMenu a {
  color: rgb(39, 94, 110);
}

nav.questionActionMenu a:hover {
  color: $darkGrey;
}

/*---------------------------------------------------------------------------------
                                A New Question Form
---------------------------------------------------------------------------------*/

.aQuestionSet .questionSetContent div.innerContent {
  position: relative;
  margin: 0 auto;
  padding: 15px 0.1%;
  width: 99.8%;
  border: thin solid rgb(224, 224, 224);
  border-radius: 0 0 5px 0;
  background: white;
  -o-border-radius: 0 0 5px 0;
}

.aQuestionSet header nav.qtnGroupMenu {
  position: absolute;
  top: 0px;
  right: 10px;
}

.aQuestionSet header nav.qtnGroupMenu ul {
  margin: 0;
  padding: 0;
  width: 100%;
}

.aQuestionSet header nav.qtnGroupMenu ul li {
  display: inline;
  float: left;
  margin: 0 30px 0 0;
  text-align: right;
}

.aQuestionSet header nav.qtnGroupMenu ul li a {
  display: block;
}

.aQuestionSet header nav.qtnGroupMenu ul li a.showQuestionGroup {
  background: url(/admin/images/IconShow.svg) left center no-repeat;
  text-align: left;
  padding-left: 25px;
  background-size: 14%;
  &.disabled {
    background: none;
  }
}

.aQuestionSet header nav.qtnGroupMenu ul li a.showQuestionGroup:hover {
  background: url(/admin/images/IconShowHover.svg) left center no-repeat;
  text-align: left;
  padding-left: 25px;
  background-size: 14%;
}

.aQuestionSet header nav.qtnGroupMenu ul li a.showQuestionGroup.shown {
  color: $flowAnchorLinkHover;
  background: url(/admin/images/IconShowOrange.svg) left center no-repeat;
  padding-left: 25px;
  background-size: 14%;
}

.aQuestionSet header nav.qtnGroupMenu ul li:last-child {
  margin: 0;
}

.aQuestionSet header nav.qtnGroupMenu ul li a:hover {
  color: $flowAnchorLinkHover;
}

.menuCentre {
  position: relative;
  display: inline-block;
  margin: 5px auto 10px auto;
  width: 100%;
}

.menuCentre ul {
  margin: 0 auto;
  width: 40%;
  text-align: center;
}

.menuCentre ul li {
  display: inline;
  width: 20%;
  text-align: center;
}

.menuCentre ul li a {
  display: inline;
  padding: 6px 10%;
}

.menuCentre ul li a.smallBtn {
  margin: 0 5px 0 0;
}

.innerContent nav.smallMenu {
  position: absolute;
  top: 1px;
  right: 1px;
  margin: 0;
  padding: 0.5em 0.1em 0.5em 0.5em;
}

.innerContent nav {
  display: block;
  margin: 0 auto;
  padding: 0.5em 0;
  background: transparent;
}

.innerContent nav ul {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.innerContent nav ul li {
  display: inline;
}

.innerContent nav ul li a.button {
  margin: 2em 1.5em auto auto;
  width: 15%;
}

.innerContent nav.smallMenu ul {
  margin: 0;
  padding: 0;
  width: 100%;
}

.innerContent nav.smallMenu ul li {
  float: right;
  background: transparent;
  text-align: right;
  -webkit-transition: background 0.4s ease-in;
  transition: background 0.4s ease-in;
}

.innerContent nav.smallMenu ul li a {
  display: block;
  padding: 0px 10px 6px 10px;
  height: 10px;
}

.innerContent nav.smallMenu ul li a:hover {
  color: rgba(246, 160, 26, 1);
}



// nav.smallMenu ul li a.editQuestion {
//     background: url(/admin/images/IconEdit.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.deleteQuestion {
//     background: url(/admin/images/IconDelete.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.moveQuestion {
//     background: url(/admin/images/IconMove.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.copyQuestion {
//     background: url(/admin/images/IconCopy.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.showQuestion {
//     background: url(/admin/images/IconShow.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.editQuestion:hover {
//     background: url(/admin/images/IconEditOrange.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.deleteQuestion:hover {
//     background: url(/admin/images/IconDeleteOrange.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.moveQuestion:hover {
//     background: url(/admin/images/IconMoveOrange.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.copyQuestion:hover {
//     background: url(/admin/images/IconCopyOrange.svg) left center no-repeat;
// }

// nav.smallMenu ul li a.showQuestion:hover {
//     background: url(/admin/images/IconShowOrange.svg) left center no-repeat;
// }

/*-------------------------------------------------------------------------------------------------------------------------------
                                            New Survey Settings
--------------------------------------------------------------------------------------------------------------------------------*/

.innerContent {
  width: 100%;
}

.innerContent input[type='checkbox'],
.innerContent input[type='radio'] {
  display: inline-block;
  margin: 5px 0 0 1em;
  padding: 5px 0.5%;
  border-color: rgb(235, 235, 235);
}

.innerContent input[type='checkbox']:first-child,
.innerContent input[type='radio']:first-child {
  margin: 1em 0.5em 0 0.5em;
}

.innerContent .labelcheckbox input[type='checkbox']:first-child,
.innerContent .labelcheckbox input[type='radio']:first-child {
  margin: 0 0.5em 0 0;
}

.innerContent p {
  margin: 0.5em auto 0 auto;
  padding: 3px 0.5%;
}

.innerContent textarea {
  margin: 5px 0 0 10px;
  width: 35%;
  border-color: white;
}

.toolTipArea > textarea {
  width: 97.5%;
  margin: 5px 0px 0px;
  padding: 5px 0.5%;
}

.innerContent h3 {
  margin: 2em 0 0.5em 1em;
  color: rgb(39, 94, 110);
}

.innerContent p.noOptions {
  margin: 0 auto;
  padding: 0.5em 0.5%;
  text-align: center;
  color: rgb(153, 153, 153);
}

/********************************************* To remove when Create new survey setting page confirmed deleted. *******************************************/

.innerContent dl {
  position: relative;
  margin: 0 0 0 1%;
  width: 99%;
}

.innerContent dt {
  display: table-cell;
  float: left;
  padding: 0.5em 0;
  width: 35%;
  color: rgb(39, 94, 110);
}

.innerContent dd {
  display: table-cell;
  float: right;
  padding: 0.5em 0;
  width: 65%;
  font-weight: bold;
}

.surveySettingsBlock {
  overflow: auto;
  margin: 0 auto;
  padding: 1em 0.25%;
  width: 98%;
  border-top: thin solid rgb(230, 230, 230);
  border-bottom: thin solid rgb(230, 230, 230);
  background: rgb(240, 240, 240);
}

.surveySettingsBlock .helpIcon {
  position: absolute;
  left: 44%;
  margin: -4px 0 0 0;
}

.innerContent h1 {
  display: block;
  margin: 1em 0 1em 0.5em;
  &.questionNbr {
    font-size: 1em;
    a {
      color: rgba($akvoBlack, 0.7);
      &:hover {
        color: rgba($akvoBlack, 1);
      }
    }
  }
}

.innerContent h1:after {
  display: block;
  margin: 0.1em auto;
  width: 98%;
  content: '';
}

.questionNbr {
  display: inline;
  color: rgb(0, 0, 0);
  text-transform: none;
  font-weight: normal;
  -webkit-text-shadow: none;
  -moz-text-shadow: none;
  -o-text-shadow: none;
  text-shadow: none;
}

div.error {
    border: medium solid red;
}

.aQuestionSet .questionSetContent div.error  {
    border: medium solid red;
}

.questionNbr span {
  display: inline-block;
  margin: 0 0.1em 0 0;
  padding: 0.1em 0.3em;
  text-align: center;
}

.innerContent input {
  display: block;
}

.innerContent label {
  display: block;
  margin: 1.5em 0 0 1em;
  color: rgb(39, 94, 110);
}

.innerContent .labelcheckbox {
  position: relative;
  display: inline;
  margin: 0.5em 0 0 1em;
  padding: 0.5em 0;
  width: 100%;
}

.innerContent .selectinLabel {
  position: relative;
  margin: 0.5em 0 0 1em;
  padding: 0.5em 0 0.5em 0.25em;
}

.innerContent .selectinLabel span {
  display: block;
}

.innerContent .selectinLabel select {
  margin: 0.5em 0 0 0;
  width: 45%;
}

.innerContent .dependencyBlock {
  margin: 0.5em auto;
  padding: 0.25em 0 0.75em 0;
  width: 98%;
  background: rgb(237, 237, 237);
}

.innerContent .dependencyBlock .qDependency {
  margin: 1.5em 0 0.1em 1.5em;
  width: 97.5%;
  color: rgb(153, 51, 0);
}

.innerContent .dependencyBlock div.ember-radio-button label {
  margin: -0.5em 0 0 2em;
}

.innerContent .questionOption {
  margin: 1em auto;
  padding: 1em 0 1em 0;
  width: 98%;
  background: rgb(243, 243, 243);
}

.innerContent .questionOption .errorLoading {
  color: red;
}

.innerContent .questionOption h1.answerNbr {
  margin: 0 0 0.5em 0.5em;
  padding: 0 0 0 0.5em;
}

.innerContent h1.answerNbr:after {
  display: block;
  margin: 1em auto;
  width: 98%;
  border-top: 1px solid rgb(228, 228, 228);
  border-bottom: 1px solid white;
  content: '';
}

.innerContent .minValNumb,
.innerContent .maxValNumb {
  width: 48%;
}

.innerContent .minValNumb {
  float: left;
}

.innerContent .maxValNumb {
  float: right;
}

.innerContent .selectinLabel a.addAttribute {
  display: block;
  margin: 0.2em 0 0 0.2em;
}

.innerContent .selectinLabel a.addAttribute span {
  display: inline;
  margin: 0.2em 0.2em 0 0;
  font-weight: bold;
}

.innerContent input[type='text'] {
  margin: 5px 0 0 0;
  padding: 5px 0.5%;
  width: 97.5%;
}

.qDependency {
  display: block;
  margin: 1em 0 0 1em;
  color: rgb(204, 204, 204);
}

.innerContent .optiontype input[type='text'] {
  display: inline;
  margin: 5px 0 0 5px;
  padding: 5px 1%;
  width: 35%;
  border-color: rgb(235, 235, 235);
}

.notificationAdd {
  position: relative;
  overflow: auto;
  width: 100%;
}

.notificationAdd fieldset {
  float: left;
  padding: 1em 0 0 0;
  width: 22%;
}

.notificationAdd fieldset.addNotifiBtn {
  float: left;
  padding: 1em 0;
  width: 12%;
}

.notificationAdd fieldset select {
  margin: 0;
  width: 95%;
}

.notificationAdd fieldset label {
  margin: 0 0 0.5em 0;
}

.notificationAdd fieldset input {
  margin: 0;
  width: 89%;
}

.notificationAdd fieldset nav {
  display: block;
  margin: 0.5em auto 0 auto;
  padding: 1em 0;
  background: transparent;
}

.notificationAdd fieldset nav ul {
  position: relative;
  display: block;
  margin: 0 auto;
  width: 100%;
  text-align: right;
}

.notificationAdd fieldset nav ul a.smallBtn {
  margin: 0 0.5em 0 0;
}

a.addNotification {
  margin: 0 0 0 1em;
}

a.addNotification span {
  margin: 0 0.2em 0 0;
  font-weight: bold;
}

table.dataTable.notificationTable {
  margin: 1.5em auto;
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid rgb(230, 230, 230);
  color: #606060;
  text-align: left;
}

table.dataTable.notificationTable td {
  overflow: hidden;
  padding: 1em 0 1em 0.5em;
  vertical-align: middle;
  text-align: left;
  font-weight: normal;
}

table.dataTable.notificationTable td:hover {
  font-weight: normal;
}

table.dataTable.notificationTable tbody tr {
  border-bottom: thin solid white;
  background: white;
  -webkit-transition: background-color 0.4s linear;
  transition: background-color 0.4s linear;
}

table.dataTable.notificationTable tbody tr:nth-child(2n + 1),
table.dataTable.notificationTable tbody tr.odd {
  background: rgb(232, 230, 220);
  -webkit-transition: background-color 0.4s linear;
  transition: background-color 0.4s linear;
}

table.dataTable.notificationTable tbody tr:hover,
table.dataTable.notificationTable tbody tr:nth-child(2n):hover,
table.dataTable.notificationTable tbody tr.even:hover {
  background: rgb(177, 214, 224);
  color: rgb(16, 28, 30);
}

table.dataTable.notificationTable thead tr {
  border-bottom: none;
  background: transparent;
}

table.dataTable.notificationTable thead tr th {
  padding: 5px 1em 0.5em 1em;
  border-right: none;
  background: none;
  color: rgb(39, 94, 110);
  text-align: left;
  text-transform: inherit;
}

.dataSection table.dataTable.notificationTable thead tr th {
  padding: 9px 1em 9px 1em;
}

table.dataTable thead tr th.noArrows {
  background: transparent;
}

table.dataTable.notificationTable thead tr th a,
table.dataTable.notificationTable thead tr th a:link,
table.dataTable.notificationTable thead tr th a:visited {
  color: #ffd200;
  cursor: pointer;
}

/****** Data Page
****************************************************************************/
.modularSelection {
  padding: 0 0 22px 0%;
  display: block;
  select {
    max-width: 20%;
    float: left;
    display: inline;
    @include noWrapTxt;
  }
}

.reportTools {
  position: relative;
  > div {
    position: relative;
  }
}

div.chooseSurveyData {
  position: relative;
  display: block;
  margin: 0px 0 10px 0;
  overflow: auto;
  > select {
    max-width: 20%;
    float: left;
    display: inline;
  }
}

div.redBorder {
  border: 2px solid red;
  border-radius: 8px;
  padding: 5px 3px 0 5px;
}

.filterData {
  border-top: 1px solid white;
  .dataDeviceId {
    display: block;
    padding: 0.5em 1em 8px 1em;
    background: rgba(234, 234, 234, 0.3);
    border-top: 1px solid rgb(234, 234, 234);
    border-bottom: 1px solid rgb(234, 234, 234);
    margin: 0px 0 5px 0;
  }
  h3 {
    margin: 0 0 5px 5px;
    color: #666;
    font-weight: bold;
  }
  a.findData {
    display: block;
    margin: 0 auto 15px;
    padding: 0.5em 1em;
    width: 10%;
    text-align: center;
  }
}

div.dataCollectedDate input {
  display: inline;
  background: white;
}

.dataDeviceId {
  label {
    input.hasDatepicker {
      width: initial;
    }
  }
}

.filterData label {
  display: inline-block;
  font-size: 0.9em;
}

label.collectedTo {
  margin: 0;
}

#monitoringData {
  div.chooseSurveyData {
    width: 98%;
  }
}

#monitoringData div.noResults {
  color: red;
  text-align: center;
}

div.chooseLocationData {
  position: relative;
  display: block;
  float: left;
  margin: 0 1% 2em 0;
  width: 100%;
  height: 15px;
}

div.chooseLocationData select {
  display: inline;
  width: 15%;
}

div.dataCollectedDate {
  position: relative;
  display: block;
  float: right;
  margin: 0 0 2em 0;
  width: 50%;
  height: 20px;
  text-align: left;
  @include responsive(small-max-screens) {
    width: 100%;
  }

  .rawDataReport & {
    float: none;
    margin-top: 35px;
  }
}

.rawDataReport {
  .exportAdvancedOpt {
    display: block;
    margin: 15px 0 35px 5px;
    label {
      color: rgba($akvoBlack, 0.5);
      margin-top: 5px;
      text-transform: none;
    }
  }
}

.dateInput {
  width: 49.5%;
  float: left;
  margin-top: -25px;
  &:last-child {
    margin-left: 1%;
  }
}

div.dateInput input {
  width: 97%;
}

.filterData div.dataLocation {
  display: block;
  margin: 5px 0 10px 0;
  padding: 0.5em 1em 8px 1em;
  background: rgb(234, 234, 234);
}

.dataTables_wrapper {
  margin: 0px auto 1px auto;
  background: rgb(235, 235, 235);
}

.dataTables_length {
  display: inline-block;
  padding: 10px 5px 12px 5px;
}

.dataTables_length select {
  padding: 0;
  padding: 0 8px 0 0;
}

.dataTables_filter {
  display: inline-block;
  margin-left: 70px;
  padding: 10px 5px 12px 5px;
}

.dataTables_filter input {
  border-color: transparent;
}

.dataTables_info {
  display: block;
  margin: 5px auto;
  width: 20%;
  text-align: center;
  letter-spacing: 0.1em;
}

.dataTables_paginate {
  position: relative;
  display: block;
  margin: 5px auto 0 auto;
  width: 12%;
  text-align: center;
}

.dataTables_paginate a {
  position: relative;
  display: block;
  padding: 5px 10px;
  color: rgb(107, 134, 141);
  cursor: pointer;
}

.dataTables_paginate a.paginate_disabled_previous,
.dataTables_paginate a.paginate_disabled_next {
  position: relative;
  display: block;
  padding: 5px 10px;
  color: rgb(184, 184, 184);
  cursor: text;
}

.dataTables_paginate a.paginate_disabled_previous:hover,
.dataTables_paginate a.paginate_disabled_next:hover {
  color: rgb(184, 184, 184);
}

.dataTables_paginate a.paginate_disabled_previous,
.dataTables_paginate a.paginate_enabled_previous {
  float: left;
}

.dataTables_paginate a.paginate_disabled_next,
.dataTables_paginate a.paginate_enabled_next {
  float: right;
}

.dataSection label {
  font-weight: normal;
}

.media {
  max-width: 100%;
}

/******************************************************************************
                                    FLOW MAP
******************************************************************************/

#flowMap {
  float: left;
  margin: 0 0 0 0;
  width: 99.25%;
  height: calc(100vh - 180px) !important;
  border-bottom: 2px solid rgb(158, 158, 158);
}

#dropdown-holder {
  position: relative;
  clear: both;
  margin: 0 auto;
  padding: 4px 1.25% 2px 1.25%;
  width: 97.5%;
  height: 23px;
  background: $darkGrey;
  label {
    color: white;
  }
  select {
    display: inline;
    margin: 0 0 0 0.5em;
  }
}

#pointDetails {
  position: relative;
  float: right;
  overflow: auto;
  overflow-x: none;
  margin: 0 0 0 -2px;
  padding: 5px 0.25% 0px 0.25%;
  width: 24.5%;
  height: calc(100vh - 185px) !important;
  border-left: 2px solid rgb(214, 214, 214);
  background: rgb(241, 241, 241);
  overflow-style: marquee-line;
  border-bottom: 2px solid rgb(158, 158, 158);
  font-size: 80%;
}

#pointDetails h2 {
  margin: 5px 0 10px 5px;
  line-height: inherit;
}

#pointDetails div.mapInfoDetail {
  position: relative;
  overflow: hidden;
  padding: 0.5em 0.25%;
  width: 99.5%;
  background: rgb(240, 240, 240);
  letter-spacing: 0em;
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.2em;
  h4 {
    margin: 5px 0 10px 0;
    color: $akvoFlowOrange;
  }
}

#pointDetails div.mapInfoDetail div.defListWrap {
  display: table;
  margin: 2px auto;
  padding: 0.2em 0;
  width: 100%;
}

#pointDetails div.mapInfoDetail div.defListWrap:nth-child(odd) {
  background: rgb(224, 224, 224);
}

#pointDetails div.mapInfoDetail div.defListWrap dt {
  padding: 5px 0 5px 0.75%;
  width: 44.25%;
  margin: 2px 0 15px 0;
  color: rgba($akvoBlack, 0.4);
}

#pointDetails div.mapInfoDetail div.defListWrap dd {
  padding: 5px 0 5px 0.75%;
  width: 54.25%;
  color: rgb(0, 0, 0);
}

#pointDetails div.mapInfoDetail dt:nth-of-type(1),
#pointDetails div.mapInfoDetail dd:nth-of-type(1) {
  border-top: none;
}

div#drawHandleWrap {
  position: relative;
  display: block;
  clear: both;
  width: 100%;
  height: 16px;
}

div.drawHandle {
  position: absolute;
  top: 1px;
  right: 5px;
  z-index: 99999;
  display: block;
  padding: 4px 7px 15px 7px;
  height: 3px;
  color: $flowAnchorLinkHover;
  font-weight: bold;
  cursor: pointer;
}

.noDetails {
  margin: 2em auto;
  text-align: center;
  color: rgb(147, 145, 144);
  -webkit-text-shadow: 2px 2px 0 white;
  -moz-text-shadow: 2px 2px 0 white;
  -o-text-shadow: 2px 2px 0 white;
  text-shadow: 2px 2px 0 white;
}

#pointDetails .imgContainer {
  position: relative;
  margin: 10px 5px 10px 1px;
  padding: 1px;
}

#pointDetails .imgContainer a {
  position: relative;
  display: block;
  width: 62px;
  padding: 2px;
  margin: 2px;
  float: left;
  border: 1px solid rgb(214, 214, 214);
}

#pointDetails .imgContainer img {
}

#flowMapLegend {
  position: relative;
  display: none;
  clear: both;
  padding: 5px 1%;
  width: 98%;
  border-top: 1px solid white;
  background: rgb(234, 234, 234);
}

.placeMarkBasicInfo {
  padding: 1em 2%;
  width: 96%;
  background: url(/admin/images/mapPointDetailSep.png) center bottom no-repeat;
}

.placeMarkBasicInfo li {
  display: inline;
  float: left;
}

.placeMarkBasicInfo li:last-child {
  float: right;
  width: 50px;
}

.placeMarkBasicInfo li span {
  display: inline;
}

.placeMarkCollectionDate {
  display: inline;
  margin: 0 0 0 5px;
  color: rgb(227, 27, 35);
  font-weight: bold;
}

.placeMarkPointCode {
  margin: 0 0 0 5px;
  color: $darkGrey;
  font-weight: bold;
}

/*---------------------------------------------
                    Footer
-----------------------------------------------*/

footer.bottomPage {
  position: relative;
  margin-top: 5px;
  bottom: 0;
  padding: 10px 0 10px 0;
  width: 100%;
  background: rgb(252, 252, 255);
  z-index: 1001;
}

footer.bottomPage div:nth-child(1n) {
  position: relative;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  min-width: 768px;
}

footer.bottomPage div:nth-child(2n) {
  position: relative;
  min-width: inherit;
  max-width: none;
  width: 100%;
}

footer.bottomPage small {
  position: relative;
  display: block;
  padding: 0.5em 0;
  width: 100%;
  text-align: center;
}

footer.bottomPage nav.footItems {
  display: block;
  width: 100%;
  text-align: center;
}

footer.bottomPage nav.footItems {
  clear: both;
  background: rgba($akvoBlack, 0.05);
  border-top: thin solid rgba($akvoBlack, 0.05);
  /*
border-bottom: thin solid rgba($akvoBlack, 0.05); */
  padding: 5px 0 7px 0;
  ul {
    width: 69%;
    float: left;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: center;
    justify-content: flex-start;
    &:nth-child(2) {
      justify-content: flex-end;
      width: 29%;
      float: right;
    }
  }
}

.publicPage footer.bottomPage nav.footItems ul {
  width: 100%;
  float: none;
  justify-content: center;
}

footer.bottomPage nav.footItems ul li.footLink {
  text-align: center;
  margin-top: 10px;
}

footer.bottomPage nav ul li a {
  color: $akvoDarkBlue;
  display: block;
  padding: 5px 7px;
}

footer.bottomPage nav ul li a.akvoDotOrg {
  margin: 0 10px 0 0;
  width: 42px;
  background: url(/admin/images/akvo.orgLogo.svg) center center no-repeat;
  text-indent: -9999px;
}

footer.bottomPage a[rel='self'] {
}

footer.bottomPage a[rel='self']:hover {
}

label.languageSelector select {
  padding: 10px 42px 10px 10px;
  background: #f8f8f8;
  color: #444;
  border: 1px solid rgba($akvoBlack, 0.1);
  border-radius: 0;
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
}

label.languageSelector select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #444;
}

label.languageSelector select::-ms-expand {
  display: none;
}

label.languageSelector:before {
  content: '';
  right: 5px;
  top: -7px;
  width: 30px;
  height: 33px;
  position: absolute;
  pointer-events: none;
  display: block;
}

label.languageSelector {
  position: relative;
}

label.languageSelector:after {
  content: '>';
  font: 16px Consolas, monospace;
  color: #444;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  right: 2px;
  top: 2px;
  position: absolute;
  pointer-events: none;
  width: 35px;
  padding: 0 0 5px 0;
  text-indent: 14px;
}

@media screen\0 {
  label.languageSelector:after {
    width: 38px;
    text-indent: 15px;
    right: 0;
  }
}

@media screen and (min--moz-device-pixel-ratio: 0) {
  label.languageSelector select {
    padding-right: 40px;
  }
  label.languageSelector:before {
    right: 6px;
  }
  label.languageSelector:after {
    text-indent: 14px;
    right: 6px;
    top: -5px;
    width: 36px;
  }
}

/******************************************************************************************************
                                            Survey Preview
******************************************************************************************************/

.surveyPreviewWrap {
  position: relative;
}

.surveyPreviewWrap span.qtnGroupHead {
  display: block;
  margin: 1em 0 0.5em 0.1em;
  width: 100%;
  color: $flowAnchorLinkHover;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.fixedMenu {
  background: none repeat scroll 0 0 #ffffff;
  -webkit-box-shadow: 0 1px 3px #f2f2f2;
  box-shadow: 0 1px 3px #f2f2f2;
  height: 35px;
  padding: 10px 0;
  position: fixed;
  top: 15.3%;
  width: 60%;
  min-width: 500px;
  z-index: 9999;
}

.surveyPreviewWrap div.questionGroupBlock {
  margin: 5em auto;
  padding: 0.5em 1em 1em 1em;
  border-top: thin solid rgb(238, 238, 238);
  border-bottom: none;
  background: rgb(246, 246, 246);
}

.surveyPreviewWrap h3.qtnGroupTitle {
  margin: 0.2em 0 2em 0.1em;
  padding: 0 0 0.5em 0;
  border-bottom: 1px solid rgb(238, 238, 238);
  color: rgb(44, 42, 116);
}

.surveyPreviewWrap h4 {
  margin: 0.2em 0 0.2em 1.5em;
  color: rgb(44, 42, 116);
}

.surveyPreviewWrap .innerContent h3 {
  margin: 2em 0 1.5em 1.5em;
  color: rgb(39, 94, 110);
}

.surveyPreviewWrap .innerContent h1:after {
  display: block;
  margin: 1em auto 0 auto;
  width: 98%;
  border-top: none;
  border-bottom: none;
  content: '';
}

.surveyPreviewWrap input[type='text'] {
  margin: 0.5em auto 0 auto;
  width: 96%;
}

.surveyPreviewWrap .ember-radio-button label {
  margin: 0em 0 0 1.5em;
}

.surveyPreviewWrap .innerContent input[type='checkbox'],
.surveyPreviewWrap .innerContent input[type='radio'] {
  display: inline-block;
  margin: 5px 0.5em 0 1em;
}

.surveyPreviewWrap .innerContent h1.questionNbr {
  display: block;
  margin: 0 0 0 0.75em;
  color: rgb(0, 0, 0);
  text-transform: none;
  font-weight: normal;
  line-height: inherit;
}

.surveyPreviewWrap .innerContent h1.questionNbr span {
  display: inline-block;
  margin: 0.1em 0.5em 0 0;
  width: inherit;
  height: inherit;
  text-align: center;
}

.surveyPreviewWrap .innerContent h1.questionNbr span:after {
  display: inline-block;
  margin: 0 0.5em 0 0;
}

.surveyPreviewWrap .previewQuestion {
  margin: 2.5em auto 0 auto;
}

/********************************************************************************************************************************
                                                    Reports Tab
********************************************************************************************************************************/

.reportsSection > div > div > section.reportTools select,
.reportTools > div > select {
}

#reportsBlock.reportTools {
  min-height: 650px;
  height: auto;

  .geoshapeExport {
    .geoshapeSelect {
      > select {
        display: block;
        float: none;
        margin-left: 0;
      }
    }
  }
  .geoshapeSelectError {
    padding: 2px;
    display: inline-block;
    border-radius: 8px;
    border: 2px red solid;
  }
}

.reportTools select:last-child {
  display: inline;
  float: left;
}

.reportTools a.standardBtn {
  clear: both;
}

.reportTools div.block a.standardBtn {
  clear: both;
  margin: 0;
}

.reportTools .chartTitle {
  margin: 0.5em auto 0 auto;
  padding: 0.5em 0 0.3em 0;
  width: 97.5%;
  color: $flowAnchorLinkHover;
}

.reportTools div.block {
  display: block;
  clear: both;
  width: 97%;
  background: rgb(240, 240, 240);
  padding: 1em 1%;
  -o-border-radius: 0.3em;
  border-radius: 0.3em;
}

.reportTools div.block p {
  display: block;
  width: 100%;
  font-size: 0.8em;
  margin: 0.5em auto 1em auto;
  color: rgb(153, 153, 153);
}

.reportTools .chartPie {
  display: block;
  clear: both;
  width: 98%;
  margin: 0 auto 1em auto;
  background: rgb(249, 249, 249);
  padding: 1em 0;
  text {
    font-weight: normal;
    font-size: inherit;
  }
}

.reportTools .chartPie p {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0.5em auto 1em auto;
  color: rgb(153, 153, 153);
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.bar {
  fill: steelblue;
}

.x.axis path {
  display: none;
}

.chartSetting {
  display: block;
  clear: both;
  padding: 0.5em 0 0 10px;
}

.reportTools .chartSetting select {
  display: inline;
  width: 15%;
  float: left;
  margin: 0.1em 0 0 0;
  clear: both;
}

.groupChartSelect {
  display: inline-block;
  margin: 0 5px 0 10px;
}

.chartSetting .groupChartSelect input {
  display: inline;
}

/* Affix the survey select menu to the top of the viewport so it is always visible */

.reportTools {
  .fixedTop {
    position: fixed;
    top: 120px;
    width: 100%;
    background-color: white;
    z-index: 2;
    border-bottom: thin solid #c6c6c6;
  }
}

/* ------------------------------------------------------------------------------------------
                                     .Translate Surveys
------------------------------------------------------------------------------------------ */

.bottomPg {
  width: 90%;
  text-align: center;
  margin: 30px auto;
}

.bottomPg .standardBtn {
  margin: 0.5em auto;
}

.twoColumns {
  position: relative;
  margin: 1px auto 0 auto;
}

.twoColumns > div,
.twoColumns > section {
  position: relative;
  padding: 0.5% 0;
  width: 49%;
  background: white;
}

.twoColumns > div:first-child,
.twoColumns > section:first-child {
  margin: 0 0.25% 0 0.75%;
  float: left;
}

.twoColumns > div:last-child,
.twoColumns > section:last-child {
  margin: 0 0.75% 0 0.25%;
  float: right;
}

#defaultLanguage section,
#targetLanguage section {
  padding: 0.5% 1% 2em 1%;
  border-bottom: 3px solid rgb(230, 230, 230);
}

#defaultLanguage section:last-child,
#targetLanguage section:last-child {
  border-bottom: none;
}

.surveyTranslation table {
  width: 98.5%;
  margin: 0.5% 0.75% 0.1% 0.75%;
  text-align: left;
}

table#languageOption {
  background: rgb(242, 242, 242);
  -o-border-radius: 0.25em;
  border-radius: 0.25em;
}

table#languageOption th {
  color: rgb(39, 94, 110);
  padding: 1em 0.75% 0.5em 0.75%;
}

table#languageOption td {
  padding: 0.25em 0.75%;
  height: 30px;
}

table#languageOption td select {
  margin: 0;
  display: inline;
}

table#languageOption td li {
  display: inline;
  margin: 0 0.5em 0 0;
}

table#languageOption td.formTitle {
  color: rgb(123, 123, 123);
  border-top: 1px solid rgb(230, 230, 230);
  text-align: center;
  width: 98%;
  vertical-align: middle;
  height: 60px;
}

table.surveyTranslate {
  -o-border-radius: 0.25em;
  border-radius: 0.25em;
  background: white url(/admin/images/borderMiddle.png) center top repeat-y;
}

table.surveyTranslate td {
  position: relative;
  padding: 1.75em 0.75% 1.5em;
  width: 48%;
}

table.surveyTranslate th {
  position: relative;
  padding: 0.25em 0.75% 1em 0.75%;
  width: 48%;
}

table.surveyTranslate tr.indented {
  border: none;
}

table.surveyTranslate tr.indented td {
  padding: 0.25em 0.75% 0.25em 3.5em;
}

table.surveyTranslate tr {
  border-top: 1px solid rgb(230, 230, 230);
}

table.surveyTranslate th h3 {
  padding: 1em 0 1em 0.5em;
}

table.surveyTranslate label {
  margin: 1em 0 0.75em 0;
}

table.surveyTranslate p {
  padding: 0 0.25em;
}

table.surveyTranslate textarea {
  width: 88%;
  margin: 0.5em 0 0 0;
}

table.surveyTranslate input {
  width: 88%;
}

table.surveyTranslate .questionNbr span {
  background: transparent;
  -o-border-radius: inherit;
  border-radius: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: inherit;
  display: inline;
  height: inherit;
  margin: 0 10px 0 0;
  padding: inherit;
  text-align: center;
  width: inherit;
  width: 20px;
}

table.surveyTranslate tr.indented .questionNbr span {
  background: transparent;
  -o-border-radius: inherit;
  border-radius: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: rgb(227, 27, 35);
  display: inline;
  font-weight: bold;
  height: inherit;
  margin: 0 10px 0 0;
  padding: inherit;
  text-align: center;
  width: inherit;
  width: 20px;
}

table.surveyTranslate textarea {
  width: 88%;
  margin: 0.5em 0 0 20px;
}

table.surveyTranslate.surveyDetails textarea {
  width: 90.5%;
  margin: 0.5em 0 0 0;
}

table.surveyTranslate select {
  margin: 0.5em 0 0 5px;
  width: 88%;
}

table.surveyTranslate ul {
  padding: 0 0.5em;
}

table.surveyTranslate ul li {
  padding: 0.5em 0.25em;
  border-bottom: none;
  margin: 0.5em 0 0 15px;
  min-height: inherit;
}

table.surveyTranslate .qHelpTooltip {
  margin-left: 20px;
}

table.surveyTranslate .qHelpTooltip p {
  margin: 0;
  padding: 0;
}

table.surveyTranslate .qHelpTooltip label {
  margin: 1.25em 0 0em 0;
}

table.surveyTranslate .qHelpTooltip label.qTooltip + input {
  width: 93%;
}

.surveyDetails {
  min-height: 200px;
}

table.surveyDetails {
  min-height: inherit;
}

.surveyDetails ul textarea {
  margin: 0 0 0 0 !important;
}

.groupSection h1 {
  margin: 0.5em 0 0.5em 0;
}

.fullWidth {
  width: 100%;
  .addWorkflow {
    padding: 15px;
    label {
      margin-bottom: 10px;
    }
    h3 {
      margin: 0px 0 10px 0;
    }
    .confirmWorkflow {
      margin-top: 25px;
    }
    #approvalSteps {
      margin: 10px 0;
      .eachStep {
        margin-bottom: 5px;
        li {
          display: inline;
        }
      }
      .addStep {
        margin-top: 10px;
      }
    }
  }
}

#tabs {
  .fullWidth {
    padding-top: 35px;
  }
}

/************************************* New styles ****************************************/
.projectSection {
  background: $projectBackground;
  box-sizing: border-box;
  width: 100%;
  padding: 1em 0 0 0;
  margin: 0 auto;
  .publishProject {
    padding: 30px 5px;
    display: table;
    text-align: center;
    width: calc(100% - 10px);
    .publishProjectBtn {
      text-align: center;
      margin: 0 auto;
    }
  }
  .projectDetailsPanel {
    position: relative;
    .addMenuAction {
      display: inline-block;
      margin: 0 auto;
      &.addNewForm {
        display: table;
        padding: 8px 8px;
      }
    }
    .addFormBtn {
      position: absolute;
      right: 0px;
      z-index: 9997;
      margin-top: 20px;
    }
    .projectSummary,
    .formSummary {
      display: -webkit-box;
      display: -moz-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-flex-direction: row;
      -webkit-flex-wrap: nowrap;
      -webkit-align-items: center;
      -webkit-align-content: center;
      -webkit-justify-content: space-around;
      justify-content: space-around;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      align-content: center;
      margin-top: 10px;
      li {
        width: 49.75%;
        text-align: center;
        padding: 10px 0;
        background: rgba(32, 32, 36, 0.2);
        color: rgb(128, 130, 133);
        flex-grow: 2;
        @include noWrapTxt;
        span {
          display: block;
          margin-top: 5px;
          font-weight: 600;
          &.projectForm,
          &.projectMonitoring,
          &.projectStatus,
          &.formVersion,
          &.formID,
          &.formQuestionCount {
            color: white;
            font-size: 1.8em;
          }
          &.projectStatus.redColor {
            color: $akvoRed2;
          }
        }
      }
    }
    span.fontInfo {
      color: rgb(212, 212, 212);
      margin: 0 0.5em;
    }
    h2 {
      color: $akvoFlowOrange;
      display: inline;
    }
    .forms {
      background: white;
      .menuTopbar {
        display: inline-block;
      }
      #tabs {
        h2 {
          margin: 0 0 15px 5px;
        }
      }
      .formSummary {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -webkit-flex-wrap: nowrap;
        -webkit-align-items: center;
        -webkit-align-content: center;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        align-content: center;
        margin: 30px auto;
        li {
          width: 33.33333%;
          text-align: center;
          padding: 10px 0;
          background: rgba(32, 32, 36, 0.2);
          color: rgb(128, 130, 133);
          span {
            display: block;
            margin-top: 5px;
            font-weight: 600;
            color: white;
          }
        }
      }
      #tabs div > section {
        border-top: thin solid white;
        background: white;
        margin-top: 15px;
        &.surveyForm,
        &#questionSet {
          margin-top: 5px;
          padding: 0 0 5px 0;
        }
        &.formDetails {
          border: inherit;
          background: inherit;
          display: block;
          position: relative;
          background: $projectBackground;
          padding: 20px 0.25%;
          width: inherit;
          width: 99.5%;
          margin: 0 auto;
        }
      }
      #tabs div > section h3 {
        text-shadow: none;
      }
      #tabs nav.tabNav {
        position: relative;
        display: block;
        padding: 0;
        max-width: calc(100% - 120px);
        z-index: inherit;
        overflow-y: hidden;
        overflow-x: scroll;
        & + section,
        & + div {
          margin-top: 0;
        }
      }
      #tabs nav.tabNav ul {
        padding: 0;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-align-items: center;
        align-items: center;
      }
      #tabs nav.tabNav ul li {
        border-right: 1px solid rgba(32, 32, 36, 0.2);
        margin: 0;
        @include border-radius(2px 2px 0 0);
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        -webkit-transition: none;
        transition: none;
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box;
        a {
          @include noWrapTxt;
        }
        &.aFormTab {
          background: rgba(32, 32, 36, 0.5);
          &:hover {
            background: rgba(32, 32, 36, 1);
          }
          a {
            @include noWrapTxt;
          }
          &.current {
            background: rgba(32, 32, 36, 0.9);
            a {
              color: $flowAnchorLinkHover;
            }
          }
          &.registrationForm {
            box-sizing: border-box;
            -webkit-box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 0.5);
            -moz-box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 0.5);
            box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 0.5);
            &:hover {
              -webkit-box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
              -moz-box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
              box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
            }
            &.current {
              -webkit-box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
              -moz-box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
              box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
              &:hover {
                -webkit-box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
                -moz-box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
                box-shadow: inset 0px 5px 0px 0px rgba($monitorGreen, 1);
              }
            }
          }
        }
        &.newFormTab {
          background: transparent;
          border-right: none;
          a {
            color: $flowAnchorLink;
            &:hover {
              color: $flowAnchorLinkHover;
            }
          }
          span {
            font-weight: bold;
            margin-right: 5px;
          }
          &:hover {
            background: transparent;
          }
        }
      }
      #tabs nav.tabNav ul li:hover {
        background: rgb(174, 174, 174);
      }
      #tabs nav.tabNav ul li.active,
      #tabs nav.tabNav ul li.active:hover {
        background: rgb(0, 0, 0);
      }
      #tabs nav.tabNav ul li a {
        display: block;
        padding: 0.75em 1em;
        color: white;
        -webkit-transition: none;
        transition: none;
        text-shadow: none;
        min-width: 1px;
        min-height: 12px;
      }
      #tabs nav.tabNav ul li.active a,
      #tabs nav.tabNav ul li.active a:hover {
        color: white;
        text-shadow: none;
        -webkit-text-shadow: none;
        -moz-text-shadow: none;
      }
      #tabs nav.tabNav ul li a:hover {
        color: white;
        text-shadow: none;
        -webkit-text-shadow: none;
        -moz-text-shadow: none;
      }
      .tabNav {
        .aFormTab {
          background: rgb(32, 32, 36) url(/admin/images/IconForms.png) no-repeat
            left center;
        }
      }
    }
    .formsContainer {
      background: rgba(32, 32, 36, 0.9);
      margin: 0px auto;
    }
    .projectDetails {
      background: rgb(54, 79, 90);
      margin: 10px auto;
    }
    .projectDetails,
    .formsContainer {
      width: 99.5%;
      position: relative;
      padding: 2em 0.25% 2em 0.25%;
      h3 {
        color: $akvoGolden;
        margin-bottom: 20px;
        display: inline-block;
      }
      label[for='markAsTemplate'],
      label[for='enableMonitoring'],
      label[for='enableDataApproval'] {
        input {
          margin-bottom: 15px;
        }
      }
      label[for='enableDataApproval'] {
        clear: left;
        margin: 0px 0 0 5px;
      }
      label[for='enableMonitoring'] {
        margin: 10px 0 0 5px;
      }
      label[for='markAsTemplate'] {
        margin: 6px 6px 6px 6px;
      }
      .projectDetailForm,
      .surveyDetailForm {
        display: block;
        margin-top: 0 !important;
        .monitoringHint {
          margin: 10px 0 0 10px;
          color: #c49a6c;
          & + select {
            margin: 0 0 20px 10px;
            display: block;
          }
        }
        form {
          width: 100%;
        }
        label.labelcheckbox {
          display: inline-block;
        }
        input {
          width: 99%;
          margin-bottom: 35px;
          background: rgb(248, 248, 248);
          color: rgb(88, 88, 88);
          &:focus {
            border: 1px solid rgb(205, 205, 205);
            background: rgb(245, 255, 216);
          }
          &[type='checkbox'] {
            width: 20px;
            float: left;
          }
        }
        .projectSelect {
          li {
            display: block;
            width: 100%;
            margin-bottom: 20px;
            select {
              width: 99.5%;
            }
          }
        }
      }
    }
  }
}

.forms #tabs nav.tabNav ul:after {
  border: none;
}

/************************************** CASCADING QUESTIONS ************************************/
.noCascadeContainer {
  color: white;
  background: rgba(white, 0);
  padding: 2em 0;
  li.formList {
    padding: 10px 0;
    &.populated {
      background: rgba(white, 0);
    }
    h4 {
      margin: 5px 0 10px 5px;
      color: rgba($flowAnchorLink, 0.5);
    }
    .noCascade {
      text-align: center;
      width: 90%;
      margin: 0 auto 20px auto;
    }
  }
}

.addMenuAction {
  display: inline-block;
  margin: 0 auto;
  &.addNewForm {
    display: table;
    padding: 8px 8px 8px 31px;
  }
}

/*.cascadeWrap {
     height:calc(100vh - 180px);
}*/
.cascadeSection {
  box-sizing: border-box;
  width: 100%;
  padding: 5px 0;
  margin: 50px auto 0 auto;
  overflow-y: hidden;
  overflow-x: hidden;
  .cascadeDetailsPanel {
    .offSet {
      @include offSet(60px, 0);
    }
    padding: 5px 0;
    h2 {
      display: block;
      margin-bottom: 10px;
    }
    li.cascadeInfo {
      font-size: 0.9em;
      margin-left: 20px;
      color: rgba(32, 32, 36, 0.5);
      span {
        margin-left: 10px;
        color: rgba(32, 32, 36, 1);
      }
    }
  }
  /*     .cascadeInfo {
            display: -webkit-box;
            display: -moz-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-flex-direction: row;
            -webkit-flex-wrap: nowrap;
            -webkit-align-items: center;
            -webkit-align-content: center;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            align-content: center;
            margin: 5px auto;
            box-shadow: 0 2px 3px rgba(32, 32, 36, 0.1);
            border-top: 1px solid rgba(32, 32, 36, 0.1);

            li {
                width: 49.75%;
                text-align: center;
                padding: 5px 0;
                color: rgb(128, 130, 133);
                margin-right: 0.5%;

                &:last-of-type {
                    margin-right: 0;
                }

                span {
                    display: block;
                    margin-top: -5px;
                    font-weight: 600;

                    &.projectForm, &.projectMonitoring, &.cascadeStatus {
                        color: white;
                    }

                    &.cascadeStatus.redColor {
                        color: $akvoRed2;
                    }

                    &.cascadeStatus.published {
                        color: $green;
                    }
                }
            }
        } */
  span.fontInfo {
    color: rgb(212, 212, 212);
    margin: 0 0.5em;
  }
  h2 {
    color: $akvoFlowOrange;
    display: inline;
    a {
      display: inline-block;
      width: 20px;
      text-indent: -9999px;
      &.editSurvey {
        background: url(/admin/images/IconEdit.svg) center center no-repeat;
        background-size: 18px 18px;
        &:hover {
          background: url(/admin/images/IconEditOrange.svg) center center
            no-repeat;
          background-size: 18px 18px;
        }
      }
    }
  }
}

nav.cascadeBreadCrumb {
  position: relative;
  ul li {
    display: inline-block;
    height: 34px;
    line-height: 34px;
    width: auto;
    margin: 5px 3px 0 0;
    text-indent: 29px;
    position: relative;
    transition: all 0.4s ease-in;
  }
  ul li:before {
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    left: -2px;
    border-style: solid;
    border-width: 17px 0 17px 17px;
    border-color: transparent transparent transparent white;
    z-index: 0;
    transition: all 0.4s ease-in;
  }
  ul li:first-of-type:before {
    border-color: transparent;
  }
  ul li a:after {
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    right: -17px;
    border-style: solid;
    border-width: 17px 0 17px 17px;
    border-color: transparent transparent transparent $akvoDarkBlue;
    z-index: 10;
    transition: all 0.4s ease-in;
  }
  ul li {
    a {
      display: block;
      background: $akvoDarkBlue;
      color: white;
      transition: all 0.4s ease-in;
      font-size: 0.9em;
      span {
        display: inline-block;
        margin-left: -20px;
        margin-right: 15px;
        font-weight: bold;
        color: $akvoGolden;
      }
      @include noWrapTxt;
      &:hover {
        background: $akvoDarkBlue;
        &:after {
          border-color: transparent transparent transparent $akvoDarkBlue;
        }
      }
    }
    &.offScreen {
      a {
        background: rgba(32, 32, 36, 0.1);
        color: rgba(white, 1);
        border-color: transparent transparent transparent rgba(32, 32, 36, 0.1);
        transition: all 0.4s ease-in;
        &:after {
          border-color: transparent transparent transparent
            rgba(32, 32, 36, 0.1);
          transition: all 0.4s ease-in;
        }
        &:hover {
          background: rgba($flowAnchorLinkHover, 0.5);
          &:after {
            border-color: transparent transparent transparent
              rgba($flowAnchorLinkHover, 0.5);
          }
        }
      }
    }
  }
  div.addLevelBtn {
    position: absolute;
    top: 10px;
    right: 15px;
    @include responsive(medium-max-screens) {
      position: relative;
      display: table;
      margin: 10px auto;
    }

    &.addLevel {
      display: table;
      &:hover {
        background: $flowAnchorLinkHover;
      }
    }
  }
}

.levelColumns {
  width: 100%;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  margin-top: 15px;
  background: rgba(32, 32, 36, 0);
  box-shadow: 0px -1px 3px rgba(32, 32, 36, 0);
  padding-top: 5px;
  .levelCol {
    position: relative;
    @include border-radius(3px);
    padding: 10px 5px;
    vertical-align: top;
    display: inline-block;
    width: calc(33.2% - 10px);
    background: rgba(32, 32, 36, 0);
    height: calc(100% - 20px);
    overflow: auto;
    transition: all 0.4s ease-in;
    border: 1px solid rgba(32, 32, 36, 0);
    min-height: 100px;
    box-shadow: 0px 0px 2px rgba(32, 32, 36, 0.2);
    .levelNbr {
      color: $akvoGolden;
      padding-left: 5px;
      font-weight: bold;
    }
    .cascadeEntryName {
      width: 55%;
    }
    .cascadeEntryCode {
      width: 15%;
    }
    button {
      width: 15%;
      @include border-radius(3px);
      background: $flowAnchorLink;
      color: white;
      border: none;
      &.squeezeR {
        width: 10%;
      }
      &:hover {
        background: $flowAnchorLinkHover;
      }
    }
    .levelHead {
      padding-left: 5px;
      width: calc(100% - 10px);
      padding-bottom: 15px;
      label {
        margin-bottom: 10px;
        a {
          display: inline-block;
          width: 20px;
          margin-left: 10px;
          &.editSurvey {
            background-size: 18px 18px;
            &:hover {
            }
          }
        }
      }
    }
    ul {
      margin-top: 15px;
      li {
        position: relative;
        color: white;
        padding: 0 2%;
        width: 96%;
        background: url(/admin/images/carret.svg) right center no-repeat;
        margin: 5px auto;
        background-size: 15px 15px;
        border-top: 1px solid rgba(32, 32, 36, 0.1);
        &:first-of-type {
        }
        &:hover {
          background: rgba(255, 255, 255, 0.2) url(/admin/images/carret.svg)
            right center no-repeat;
          background-size: 15px 15px;
          cursor: pointer;
          box-shadow: 1px 1px 1px rgba(32, 32, 36, 0.2);
        }
        &.selected {
          background: rgba(41, 119, 152, 0.1) url(/admin/images/carret.svg)
            right center no-repeat;
          background-size: 15px 15px;
          cursor: text;
          box-shadow: 1px 1px 1px rgba(32, 32, 36, 0.2);
        }
      }
      a {
        display: block;
        width: 80%;
        padding: 15px 0;
        &:first-of-type {
          color: rgba(32, 32, 36, 0.7);
        }
        @include noWrapTxt;
        &.deleteLevel {
          text-align: right;
          position: absolute;
          display: inline-block;
          width: 100px;
          height: inherit;
          padding: 7px 0px;
          margin-top: -7px;
          top: 15px;
          right: 15px;
          font-size: 90%;
        }
        &.editLevel {
          text-align: right;
          position: absolute;
          display: inline-block;
          width: 100px;
          height: inherit;
          padding: 7px 0;
          margin-top: -7px;
          font-size: 90%;
          top: 15px;
          right: 100px;
        }
      }
    }
  }
}

ul.cascadeAction {
  display: inline-block;
  @include responsive(medium-max-screens) {
    margin: 10px 0 10px 0;
  }

  li {
    display: inline-block;
    a {
      @include smallButton($flowAnchorLink);
    }
  }
}

a.levelUp {
  display: table;
  margin: 20px auto 0;
  padding: 15px 35px 15px 15px;
  background: rgba($flowAnchorLink, 0) url(/admin/images/IconRightBlue.svg)
    right center no-repeat;
  -webkit-transition: color 0.2s ease-in, background-color 0.2s ease-in;
  transition: color 0.2s ease-in, background-color 0.2s ease-in;
  -webkit-background-size: 25px 25px;
  background-size: 25px 25px;
  &:hover {
    background: rgba($flowAnchorLink, 0.1)
      url(/admin/images/IconRightOrange.svg) right center no-repeat;
    -webkit-background-size: 25px 25px;
    background-size: 25px 25px;
  }
}

a.levelDown {
  display: table;
  margin: 20px auto 0;
  padding: 15px 15px 15px 35px;
  background: rgba($flowAnchorLink, 0) url(/admin/images/IconLeftBlue.svg) left
    center no-repeat;
  -webkit-transition: color 0.2s ease-in, background-color 0.2s ease-in;
  transition: color 0.2s ease-in, background-color 0.2s ease-in;
  -webkit-background-size: 25px 25px;
  background-size: 25px 25px;
  &:hover {
    background: rgba($flowAnchorLink, 0.1) url(/admin/images/IconLeftOrange.svg)
      left center no-repeat;
    -webkit-background-size: 25px 25px;
    background-size: 25px 25px;
  }
}

li.disable {
  a.levelUp {
    pointer-events: none;
    /* Disables the button completely. Better than just cursor: default; */
    @include opacity(0.2);
    color: white;
    padding: 15px 35px 15px 15px;
    background: rgba($flowAnchorLink, 0) url(/admin/images/IconRightWhite.svg)
      right center no-repeat;
    -webkit-background-size: 25px 25px;
    background-size: 25px 25px;
    &:hover {
      -webkit-background-size: 25px 25px;
      background-size: 25px 25px;
      background: rgba($flowAnchorLink, 0) url(/admin/images/IconRightWhite.svg)
        right center no-repeat;
    }
  }
  a.levelDown {
    pointer-events: none;
    /* Disables the button completely. Better than just cursor: default; */
    @include opacity(0.2);
    color: white;
    padding: 15px 15px 15px 35px;
    background: rgba($flowAnchorLink, 0) url(/admin/images/IconLeftWhite.svg)
      left center no-repeat;
    -webkit-background-size: 25px 25px;
    background-size: 25px 25px;
    &:hover {
      background: rgba($flowAnchorLink, 0) url(/admin/images/IconLeftWhite.svg)
        left center no-repeat;
      -webkit-background-size: 25px 25px;
      background-size: 25px 25px;
    }
  }
}

.levelSecondNav {
  nav {
    ul {
      display: -webkit-box;
      display: -moz-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-align-items: center;
      align-items: center;
      li {
        text-align: center;
        width: 50%;
        -webkit-justify-content: flex-justified;
        justify-content: flex-justified;
      }
    }
  }
}

.importBlock {
  width: 98%;
  margin: 5px auto;
  background: rgba($flowAnchorLink, 0);
  padding: 10px 0.5%;
  box-shadow: 0 0 2px rgba(32, 32, 36, 0.3);
  a {
    & + a {
      margin-left: 10px;
    }
  }
  h4 {
    color: $akvoFlowOrange;
    margin: 5px 0 10px 0;
  }
  @include border-radius(5px);
  fieldset {
    padding: 10px;
    background-color: rgba($akvoBlack, 0.1);
    label {
      display: inline-block;
    }
    &:first-of-type {
      label {
        display: inherit;
      }
    }
    input {
      @include placeholder-color(rgb(32, 32, 36));
      background: rgba(white, 0.4);
      border: none;
      &:first-of-type {
        width: 25%;
      }
      &[type='checkbox'] {
        display: inline-block;
      }
    }
  }
  p {
    width: 35%;
    margin-top: 15px;
  }
  .resumable-progress {
    margin-top: 15px;
  }
}

.copyingSpinner {
  position: absolute;
  left: 45%;
  z-index: 9999999;
  border-radius: 3px;
  box-shadow: 0 5px 8px rgba(212, 212, 212, 0.5);
  padding: 5px 3px 5px 25px;
  background: rgb(248, 248, 248) url(/admin/images/loader.gif) 5px center
    no-repeat;
  color: rgb(252, 159, 0);
  font-weight: bold;
}

/* Set device buttons on device tab to position: fixed */
.deviceControls,
.cascadeControls {
  position: fixed;
  top: 96px;
  left: 0px;
  right: 0px;
  z-index: 9999;
  background-color: white;
  box-shadow: 0 1px 3px rgba(32, 32, 36, 0.1);
  width: 99.5%;
  padding: 5px 0.25%;
  nav {
    &.doubleMenu {
      width: 49%;
      &:first-child {
        float: left;
        margin-top: 7px;
      }
      &:last-child {
        float: right;
        text-align: right;
        margin-top: 3px;
      }
    }
  }
  > a {
    margin-top: 10px;
  }
  .dataTabMenu {
    top: 0px;
    padding-top: 15px;
    background: white;
  }
  + div + .dataTable {
    margin-top: 30px;
  }
  + .dataTable {
    margin-top: 60px;
  }
  @media only screen and (max-width: 600px) {
    height: 80px;
    .dataTabMenu {
      top: 48px;
    }
    + .dataTable {
      margin-top: 60px;
    }
  }
}

/* Assignments list*/
.assignmentsListed {
  .newAssignment {
    float: right;
  }
  .noAssignments {
    margin-top: 60px;
  }
  .cursorStyle {
    cursor: default;
  }
}

/* Repeatable question groups */

.questionGroupBlock {
  header {
    > .labelcheckbox {
      display: inline-block;
      .ember-checkbox {
        width: initial;
        margin: 5px 5px 5px 12px;
        display: inline-block;
      }
    }
  }
}

#inspectData {
  h3 {
    &.questionGroupName {
      margin: 10px 0;
    }
  }
  h5 {
    background &.iterationNumber {
      margin: 16px 0px 5px 8px;
    }
  }
}

.groupSave {
  .smallBtn {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
  }
}

/* Non-scrollable map views */

html.navMaps,
.public {
  border-top: 0px;
  header {
    position: initial;
  }
  #flowMap,
  #pointDetails {
    height: 600px;
    height: 75vh;
  }
  #selected-media {
    z-index: 999;
    position: absolute;
    padding: 5px;
    bottom: 130px;
    left: 20%;
    background-color: white;
    img {
      float: left;
      height: 70px;
    }
    label {
      float: left;
      margin-left: 10px;
    }
  }
  .mapFlow.middleSection {
    padding: 0;
  }
  footer {
    padding-bottom: 15px;
  }
  .mapFlow.middleSection {
    padding: 0;
  }
  footer {
    padding-bottom: 15px;
  }
}

/* Approval Process */

.dataApprovalRow {
  background: rgba(232, 230, 220, 0.2) !important;
  &:hover {
    background: rgba(232, 230, 220, 0.2) !important;
  }
  box-shadow: inset 0 -2px 8px rgba(0, 0, 0, 0.1);
  .dataApprovalBlock {
    ol {
      &.dataPointApproval {
        list-style-type: none;
        list-style: none;
        li {
          text-align: left;
          margin-bottom: 20px;
          select {
            margin-right: 20px;
          }
          input {
            text-overflow: ellipsis;
          }
          .btn {
            display: inline-block;
          }
          h4 {
            margin-bottom: 5px;
          }
        }
      }
    }
  }
}

.approvalDetail {
  padding-left: 30px;
  & > p {
    color: rgb(212, 212, 212);
    margin-bottom: 10px;
  }
  h2 {
    display: inline-block !important;
    margin-top: 15px;
  }
  li {
    display: block;
    padding: 10px 5px !important;
    width: calc(100% - 40px);
    min-height: 15px;
    margin-bottom: 2px;
    clear: both;
    background: rgba(255, 255, 255, 0.05);
    @include border-radius(2px);
    h4 {
      display: inline;
      float: left;
      color: white;
    }
    a {
      display: inline-block;
      text-indent: -9999px;
      margin: -2px 0 0 10px;
      width: 5px;
      height: 5px;
      padding: 5px 0 10px 25px;
      -webkit-background-size: 15px auto;
      background-size: 15px auto;
      background: url(/admin/images/topnavUsers.svg) left center no-repeat;
      &:hover {
        background: url(/admin/images/topnavUsersOrange.svg) left center
          no-repeat;
      }
    }
  }
}

.hideShow {
  margin: 5px 0 0 30px;
}

.public {
  #dropdown-holder {
    margin-top: 30px;
    z-index: 9999;
  }
  footer {
    height: 60px;
  }
  #flowMap {
    height: calc(100vh - (3px + 83px + 53px + 60px));
  }
  #pointDetails {
    height: calc(100vh - (3px + 83px + 53px + 60px + 5px));
  }
}

iframe {
  height: 100vh;
  min-height: calc(100% - 225px);
}

svg {
  g {
    text {
      font-weight: normal !important;
      font-size: 1em !important;
    }
  }
}

/****************************************** NEW EXPORT SECTION ***********************************************/
.surveySelect {
  background: rgba($akvoBlack, 0.05);
  padding: 10px 5px;
  margin-bottom: 25px;
  nav {
    &.monitorFormSelect {
      margin-left: 15px;
    }
    &.breadCrumb {
      background: rgba($akvoBlack, 0);
    }
    &.breadCrumb,
    &.monitorFormSelect {
      select#monitorSelection {
        display: inline-block;
        top: -5px;
        position: relative;
        left: 25px;
      }
      .modularSelection {
        padding: 0;
        display: inline-block;
        min-width: 200px;
        select {
          max-width: 200px;
          @include noWrapTxt;
        }
      }
      ul li {
        white-space: nowrap;
        display: inline-block;
        height: 20px;
        line-height: 20px;
        width: auto;
        margin: 5px 3px 0 5px;
        text-indent: 19px;
        position: relative;
        max-width: 175px;
      }
      ul li:first-child:before {
        border-color: transparent;
      }
      ul li:first-child a:after {
        content: ' ';
        height: 0;
        width: 0;
        position: absolute;
        right: -10px;
        border-style: solid;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent $akvoBlack;
        z-index: 10;
      }
      ul li a {
        display: block;
        background: $akvoLightBlue;
        color: white;
        @include noWrapTxt;
        &:hover {
          background: $flowAnchorLinkHover;
        }
        &.homeRoot {
          border-radius: 3px 0 0 3px;
          width: 40px;
          background: url(/admin/images/breadCrumb-Root.png) center center
            no-repeat $akvoBlack;
          background-size: 40%;
          text-indent: -9999px;
          z-index: 9999;
          margin-left: 0;
          &:hover {
            background: url(/admin/images/breadCrumb-Root.png) center center
              no-repeat $akvoBlack;
            background-size: 40%;
          }
        }
      }
      ul li a:hover:after,
      ul li select:hover:after {
        border-color: transparent transparent transparent $akvoBlack;
      }
    }
  }
}

.exportSelect {
  * {
    box-sizing: border-box;
  }
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: flex-start;
  li {
    cursor: pointer;
    flex-grow: 1;
    min-height: 150px;
    flex-basis: 20%;
    margin-right: 10px;
    padding: 10px 15px;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.4s ease-in;
    border: 1px solid rgba($akvoBlack, 0.2);
    h2 {
      font-weight: bold;
      padding-top: 70px;
    }
    &.dataCleanExp {
      h2 {
        background: url(/admin/images/Export01.svg) center top no-repeat;
        background-size: 60px;
      }
    }
    &.dataAnalyseExp {
      h2 {
        background: url(/admin/images/Export02.svg) center top no-repeat;
        background-size: 60px;
      }
    }
    &.compReportExp {
      h2 {
        background: url(/admin/images/Export03.svg) center top no-repeat;
        background-size: 60px;
      }
    }
    &.geoShapeDataExp {
      h2 {
        background: url(/admin/images/Export04.svg) center top no-repeat;
        background-size: 60px;
      }
    }
    &.surveyFormExp {
      h2 {
        background: url(/admin/images/Export05.svg) center top no-repeat;
        background-size: 60px;
      }
    }
    &:hover {
      opacity: 1;
    }
    .expDescr {
      font-size: 90%;
      margin: 10px auto;
    }
    &:last-child {
      margin-right: 0px;
    }
    &.active {
      opacity: 1;
      -webkit-animation: fadeExportClick 1s linear 1 normal forwards;
      -moz-animation: fadeExportClick 1s linear 1 normal forwards;
      -o-animation: fadeExportClick 1s linear 1 normal forwards;
      animation: fadeExportClick 1s linear 1 normal forwards;
      border: 1px solid rgba($akvoBlack, 0);
      background: rgba($akvoBlack, 0.05);
      box-shadow: 0 0 10px rgba($akvoBlack, 0.5);
      @-webkit-keyframes fadeExportClick {
        from {
          background: transparent;
          box-shadow: 0 0 4px rgba($akvoBlack, 0);
        }
        to {
          background: rgba($akvoBlack, 0.05);
          box-shadow: 0 0 10px rgba($akvoBlack, 0.5);
        }
      }

      @keyframes fadeExportClick {
        from {
          background: transparent;
          box-shadow: 0 0 4px rgba($akvoBlack, 0);
        }
        to {
          background: rgba($akvoBlack, 0.05);
          box-shadow: 0 0 10px rgba($akvoBlack, 0.5);
        }
      }
    }
    input[type='submit'],
    a.trigger2 {
      margin: 10px auto;
    }
    .options {
      animation: fadeExport 2s;
      @keyframes fadeExport {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

      &:not(.active) {
        display: none;
      }
      .latestOption {
        margin: 10px auto;
        label,
        input {
          display: inline-block;
          font-size: 90%;
        }
      }
      .downFeedback {
        font-size: 90%;
        margin-top: 20px;
        color: rgba($akvoBlack, 0.5);
        em {
          font-weight: bold;
        }
      }
      .dataCollectedDate {
        position: relative;
        display: block;
        text-align: left;
        float: none;
        margin: 20px auto 10px auto;
        width: 100%;
        height: inherit;
        overflow: auto;
        padding: 10px;
        background-color: rgba($akvoBlack, 0.05);
        p {
          font-size: 90%;
          margin-bottom: 10px;
        }
        label {
          margin-top: 0;
          font-size: 90%;
        }
      }
    }
  }
}

#gdprBtn {
  position: absolute;
  right: 15px;
  top: 10px;
  margin-bottom: 20px;
}

#gdprSwitch {
  float: left;
  width: calc(35% - 1px);
  margin-right: 1px;
  height: calc(100vh - 255px);
  box-sizing: border-box;
  // background: rgba(gray, 0.05);
  // border: 1px solid rgba($akvoBlack, 0.05);
  text-align: center;
  h3 {
    font-size: 1em;
  }
}

.gdprSwitchSteps {
  * {
    box-sizing: border-box;
  }
  height: calc(100vh - 255px);
  display: grid;
  overflow-y: scroll;
  li {
    text-align: center;
    position: relative;
    height: calc((100% -150px) / 3);
    width: 100%;
    margin-bottom: 25px;
    &:first-of-type {
      margin-top: 20px;
    }
    .innerFrame {
      display: table;
      width: 100%;
      .wrap {
        display: table-cell;
        text-align: center;
        margin: 0;
        padding: 0;
        img {
          max-width: 50%;
          max-height: 80%;
          min-height: 95px !important;
        }
      }
    }
    h3 {
      font-weight: bold;
      color: $akvoDarkBlue;
      margin: 0 auto !important;
    }
    p {
      max-width: 90%;
      margin: 10px auto 0 auto;
    }
  }
}

.bulkUpload {
  float: right;
  margin-right: 1%;
  width: 64%;
  height: calc(100vh - 335px);
  /* Uploader: Drag & Drop */
  position: relative;
  .resumable-error {
    font-style: italic;
  }
  .resumable-drop {
    position: relative;
    padding: 3em 0;
    color: rgb(32, 32, 36);
    background-color: white;
    background-color: rgba(44, 42, 116, 0);
    border: 1px dashed rgb(171, 170, 200);
    margin: 0em auto 1.5em;
    z-index: 9999;
    height: 100%;
    .dragTxt {
      width: 100%;
      max-width: 450px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      .zipIcn {
        height: 80px;
        background: url(/admin/images/zipIcn.svg) center top no-repeat;
        background-size: 60px;
      }
      p {
        .warningMsg {
          font-size: 0.8em;
          margin-top: 10px;
        }
      }
    }
  }
  .resumable-drop u {
    font-weight: bold;
    cursor: pointer;
  }
  .resumable-drop input {
    cursor: pointer;
  }
  .resumable-dragover {
    padding: 30px;
    color: #555;
    background-color: #ddd;
    border: 1px solid #999;
  }
  /* Uploader: Progress bar */
  .resumable-progress {
    margin: -100px auto 0.5em auto;
    width: 95%;
    display: none;
  }
  .progress-text {
    line-height: 9px;
    padding-left: 10px;
  }
  .progress-pause {
    padding: 0 0 0 7px;
  }
  .progress-resume-link {
    display: none;
  }
  .is-paused .progress-resume-link {
    display: inline;
  }
  .is-paused .progress-pause-link {
    display: none;
  }
  .is-complete .progress-pause {
    display: none;
  }
  /* Uploader: List of items being uploaded */
  .resumable-list {
    position: absolute;
    bottom: 0;
    width: 90%;
    text-align: left;
    max-height: 150px;
    overflow-y: scroll;
    margin: 0 0 0 5%;
    padding: 0.25em 1em;
    color: rgb(180, 180, 180);
    transition-property: all;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    li {
      margin: 0 0 1px 0;
      padding: 15px 0.25em;
      border-bottom: 1px solid rgba($akvoBlack, 0.05);
      font-size: 0.85em;
      &:last-child {
        border-bottom: none;
      }
      .resumable-file-name {
        margin-left: 5px;
        margin-right: 15px;
        color: $akvoBlack;
      }
      .resumable-file-progress {
      }
    }
  }
  .uploader-item {
    width: 148px;
    height: 90px;
    background-color: #666;
    position: relative;
    border: 2px solid black;
    float: left;
    margin: 0 6px 6px 0;
    padding: 3em 0;
  }
  .uploader-item-thumbnail {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .uploader-item img.uploader-item-thumbnail {
    opacity: 0;
  }
  .uploader-item-creating-thumbnail {
    padding: 0 5px;
    color: white;
  }
  .uploader-item-title {
    position: absolute;
    line-height: 11px;
    padding: 3px 50px 3px 5px;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    min-height: 27px;
  }
  .uploader-item-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
  }
  /* Uploader: Hover & Active status */
  .uploader-item:hover,
  .is-active .uploader-item {
    border-color: #4a873c;
    cursor: pointer;
  }
  .uploader-item:hover .uploader-item-title,
  .is-active .uploader-item .uploader-item-title {
    background-color: rgba(74, 135, 60, 0.8);
  }
  /* Uploader: Error status */
  .is-error .uploader-item:hover,
  .is-active.is-error .uploader-item {
    border-color: #900;
  }
  .is-error .uploader-item:hover .uploader-item-title,
  .is-active.is-error .uploader-item .uploader-item-title {
    background-color: rgba(153, 0, 0, 0.6);
  }
  .is-error .uploader-item-creating-thumbnail {
    display: none;
  }
  .marker-cluster {
    background-color: rgba(253, 156, 115, 0.6);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: 20px;
  }
  .marker-cluster div {
    background-color: rgba(241, 128, 23, 0.6);
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-top: 5px;
    text-align: center;
    border-radius: 15px;
    font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
  }
  .marker-cluster span {
    line-height: 30px;
  }
}

/* Uploader: Drag & Drop */

.resumable-error {
  font-style: italic;
}

.resumable-dragover {
  padding: 30px;
  color: #555;
  background-color: #ddd;
  border: 1px solid #999;
}

/* Uploader: Progress bar */

.resumable-progress {
  margin: 0 0 0.5em 0;
  width: 100%;
  display: none;
}

.progress-container {
  height: 10px;
  background: rgb(234, 185, 45);
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VhYjkyZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjNzk4MTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(234, 185, 45, 1)),
    color-stop(100%, rgba(199, 152, 16, 1))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(234, 185, 45, 1) 0%,
    rgba(199, 152, 16, 1) 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(234, 185, 45, 1)),
    to(rgba(199, 152, 16, 1))
  );
  background: linear-gradient(
    to bottom,
    rgba(234, 185, 45, 1) 0%,
    rgba(199, 152, 16, 1) 100%
  );
  position: relative;
  -o-border-radius: 0.5em;
  border-radius: 0.5em;
}

.progress-bar {
  height: 10px;
  left: -1px;
  background: rgb(191, 210, 85);
  /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JmZDI1NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzhlYjkyYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iIzcyYWEwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5ZWNiMmQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, rgba(191, 210, 85, 1)),
    color-stop(50%, rgba(142, 185, 42, 1)),
    color-stop(51%, rgba(114, 170, 0, 1)),
    color-stop(100%, rgba(158, 203, 45, 1))
  );
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    rgba(191, 210, 85, 1) 0%,
    rgba(142, 185, 42, 1) 50%,
    rgba(114, 170, 0, 1) 51%,
    rgba(158, 203, 45, 1) 100%
  );
  /* Chrome10+,Safari5.1+ */
  /* Opera 11.10+ */
  /* IE10+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(191, 210, 85, 1)),
    color-stop(50%, rgba(142, 185, 42, 1)),
    color-stop(51%, rgba(114, 170, 0, 1)),
    to(rgba(158, 203, 45, 1))
  );
  background: linear-gradient(
    to bottom,
    rgba(191, 210, 85, 1) 0%,
    rgba(142, 185, 42, 1) 50%,
    rgba(114, 170, 0, 1) 51%,
    rgba(158, 203, 45, 1) 100%
  );
  width: 0;
  border-right: 1px solid white;
  -o-border-radius: 0.5em;
  border-radius: 0.5em;
}

.progress-text {
  line-height: 9px;
  padding-left: 10px;
}

.progress-pause {
  padding: 0 0 0 7px;
}

.progress-resume-link {
  display: none;
}

.is-paused .progress-resume-link {
  display: inline;
}

.is-paused .progress-pause-link {
  display: none;
}

.is-complete .progress-pause {
  display: none;
}

/* Uploader: List of items being uploaded */
.unsupportedFile {
  display: inline;
  width: 15px;
  height: 15px;
}

.uploadComplete {
  display: inline;
  width: 15px;
  height: 15px;
}

.uploadStatus {
  float: right;
}

.resumable-file-progress {
  color: rgb(44, 42, 116);
  font-weight: bold;
}

.uploader-item {
  width: 148px;
  height: 90px;
  background-color: #666;
  position: relative;
  border: 2px solid black;
  float: left;
  margin: 0 6px 6px 0;
}

.uploader-item-thumbnail {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.uploader-item img.uploader-item-thumbnail {
  opacity: 0;
}

.uploader-item-creating-thumbnail {
  padding: 0 5px;
  color: white;
}

.uploader-item-title {
  position: absolute;
  line-height: 11px;
  padding: 3px 50px 3px 5px;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  min-height: 27px;
}

.uploader-item-status {
  position: absolute;
  bottom: 3px;
  right: 3px;
}

/* Uploader: Hover & Active status */

.uploader-item:hover,
.is-active .uploader-item {
  border-color: #4a873c;
  cursor: pointer;
}

.uploader-item:hover .uploader-item-title,
.is-active .uploader-item .uploader-item-title {
  background-color: rgba(74, 135, 60, 0.8);
}

/* Uploader: Error status */

.is-error .uploader-item:hover,
.is-active.is-error .uploader-item {
  border-color: #900;
}

.is-error .uploader-item:hover .uploader-item-title,
.is-active.is-error .uploader-item .uploader-item-title {
  background-color: rgba(153, 0, 0, 0.6);
}

.is-error .uploader-item-creating-thumbnail {
  display: none;
}

.marker-cluster {
  background-color: rgba(253, 156, 115, 0.6);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border-radius: 20px;
}

.marker-cluster div {
  background-color: rgba(241, 128, 23, 0.6);
  width: 30px;
  height: 30px;
  margin-left: 5px;
  margin-top: 5px;
  text-align: center;
  border-radius: 15px;
  font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.marker-cluster span {
  line-height: 30px;
}

.generatedExports {
  position: relative;
  height: 50px;
  h1 {
  }
  a.exportNewBtn {
    position: absolute;
    right: 0;
    top: 5px;
  }
}

.exportContainer {
  position: relative;
  .noExportMsg {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  .exportList {
    margin: 0 auto;
    li {
      height: 50px;
      display: block;
      padding: 1em 5px;
      border-bottom: 1px solid rgba(128, 128, 128, 0.3);
      &:first-child {
        border-top: 1px solid rgba(128, 128, 128, 0.3);
      }
      .exportStatus {
        display: inline-block;
        width: 20%;
        vertical-align: super;
        margin-top: -5px;
        .loading {
          display: none;
          font-size: 0.8em;
        }
        .exportDate {
          display: inline-block;
          font-size: 0.8em;
        }
      }
      &.exportGenerating {
        .exportStatus {
          display: inline-block;
          width: 20%;
          .loading {
            padding-left: 40px;
            padding-top: 5px;
            display: inline-block;
            width: 100%;
            height: 23px;
            background: url(/admin/images/loading.svg) left center no-repeat;
            background-size: contain;
            font-size: 0.8em;
          }
          .exportDate {
            display: none;
          }
        }
      }
      .exportInfo {
        display: inline-block;
        width: calc(70% - 60px);
        padding-left: 50px;
        h5 {
          margin: 5px 0 0 0;
          color: rgba($akvoBlack, 0.7);
          span {
            &.exportFileName {
              font-weight: bold;
            }
            &.submissionsDate {
              color: rgba($akvoBlack, 0.4);
              margin-left: 20px;
            }
          }
        }

        .surveyPath {
          font-size: 0.8em;
          margin-top: -5px;
        }
      }
      .exportDelete {
        display: inline-block;
        width: 10%;
      }
      &.dataCleanExp {
        background: url(/admin/images/Export01.svg) 15px center no-repeat;
        background-size: 30px;
        &.exportGenerating {
          background: rgba(128, 128, 128, 0.1) url(/admin/images/Export01.svg)
            15px center no-repeat;
          background-size: 30px;
        }
      }
      &.dataAnalyseExp {
        background: url(/admin/images/Export02.svg) 15px center no-repeat;
        background-size: 30px;
        &.exportGenerating {
          background: rgba(128, 128, 128, 0.1) url(/admin/images/Export02.svg)
            15px center no-repeat;
          background-size: 30px;
        }
      }
      &.compReportExp {
        background: url(/admin/images/Export03.svg) 15px center no-repeat;
        background-size: 30px;
        &.exportGenerating {
          background: rgba(128, 128, 128, 0.1) url(/admin/images/Export03.svg)
            15px center no-repeat;
          background-size: 30px;
        }
      }
      &.geoShapeDataExp {
        background: url(/admin/images/Export04.svg) 15px center no-repeat;
        background-size: 30px;
        &.exportGenerating {
          background: rgba(128, 128, 128, 0.1) url(/admin/images/Export04.svg)
            15px center no-repeat;
          background-size: 30px;
        }
      }
      &.surveyFormExp {
        background: url(/admin/images/Export05.svg) 15px center no-repeat;
        background-size: 30px;
        &.exportGenerating {
          background: rgba(128, 128, 128, 0.1) url(/admin/images/Export05.svg)
            15px center no-repeat;
          background-size: 30px;
        }
      }
    }
  }
}

.not-active {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: black;
}

#stats-page {
  text-align: center;
  padding-top: 5%;
  padding-bottom: 3%;

  h2 {
    padding-bottom: 20px;
  }

  p {
    padding: 7px 0px;
  }

  .date-picker {
    display: flex;
    justify-content: space-evenly;
    padding: 7px;
    width: 50%;
    margin: auto;

    label {
      width: 30%;
    }
  }

  button {
    margin-top: 25px;
  }
}

#stats-listing-page {
  .page-header {
    display: flex;
    padding: 2em 1.5em;
    justify-content: space-between;
    align-items: center;

    .newStats {
      padding: 12px 15px;
    }
  }

  .main-page {
    padding: 1em 1.5em;

    .no-stats {
      width: 100%;
      text-align: center;

      p {
        color: #757575;
      }
    }

    .generated-stats {
      .generated-stat {
        display: flex;
        justify-content: space-between;
        padding: 17px 25px;
        background: #efefef;
        margin-bottom: 2px;

        .stats-details {
          display: flex;

          .stat-icon {
            background: url(/admin/images/Export05.svg) no-repeat;
            width: 40px;
            height: 40px;
          }

          div {
            padding-left: 13px;
            color: #424242;

            span.date {
              font-size: 17px;
              display: block;
              font-weight: 500;
              color: #424242;
            }

            span.filename {
              font-size: 14px;
            }
          }
        }

        .stats-status {
          align-self: center;
        }
      }
    }
  }
}

.fui-tooltip {
  .fui-tooltip-ref {
    &.no-action:hover {
      cursor: not-allowed;
    }
  }
  .fui-tooltip-text {
    display: none;
    position: absolute;
    width: max-content;
    background: #222;
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-size: 90%;
    z-index: 9999999;
  }
  .fui-tooltip-arrow {
    position: absolute;
    background: #222;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
    z-index: 9999999;
  }
}
