/*
 *  Parameters:
 *  - string $property: CSS property name
 *  - int $start: number to range from
 *  - int $end: number to range to
 */
/*******/
/* API */
/*******/
/* VENDOR */
/**********/
/* ALERTS */
/**********/
.alert {
  position: fixed;
  z-index: 2000;
  width: 60vw;
  padding: 0px 30px 0 30px;
  left: 20vw;
  min-height: 50px;
  line-height: 50px;
  font-size: 16px;
  font-weight: bold;
  -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.54);
  -moz-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.54);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.54);
  font-weight: bold;
}

.alert-success {
  background-color: green;
}

.alert-info {
  background-color: cadetblue;
  color: black;
}

.alert-info .close {
  color: black;
}

.alert-warn {
  background-color: #f57c00;
}

div.alert-warn > button.close {
  color: #fff;
}

.alert-warn .close {
  color: black;
}

.alert-error {
  background-color: red;
}

.alert-error-message {
  color: rgba(255, 0, 0, 0.637);
}

.alert-success,
.alert-info,
.alert-warn,
.alert-error {
  -webkit-animation: alertShow 0.5s 1;
  /* Chrome, Safari, Opera */
  -webkit-animation-fill-mode: forwards;
  animation: alertShow 0.5s 1;
  animation-fill-mode: forwards;
}

.btnFlashAlertHide {
  line-height: 44px;
}

/* VENDOR */
md-input-container {
  max-height: 48px;
  margin: 0;
}

md-autocomplete {
  background: white;
}

md-autocomplete input[type=search] {
  font-size: 16x;
  -webkit-box-shadow: inset 0 -1px 0 #ddd;
  box-shadow: inset 0 -1px 0 #ddd;
}

md-autocomplete input:not(.md-input) {
  font-size: 16px;
  padding: 0;
}

md-autocomplete input:not(.md-input)::placeholder {
  opacity: 0.6;
}

.md-autocomplete-suggestions li {
  font-size: 16px;
}

md-input-container:not(.md-input-invalid).md-input-focused label {
  color: #2196f3;
}

md-input-container:not(.md-input-invalid).md-input-focused .md-input {
  border-color: #2196f3;
}

md-autocomplete-wrap {
  box-shadow: none !important;
}

md-ink-bar {
  background-color: #2196f3 !important;
  height: 3px;
}

md-tooltip {
  z-index: 1050;
}

md-radio-group.md-focused.no-focus md-radio-button .md-container:before {
  background-color: transparent !important;
}

md-radio-button input {
  display: inline-block;
  pointer-events: all;
}

.md-checkbox-group {
  display: flex;
  padding-left: 8px;
}

md-checkbox {
  display: inline;
}

md-checkbox span {
  margin-right: 33px !important;
}

md-checkbox + input[type=text] {
  background-color: white;
  outline: 0;
  width: 95.5%;
}

md-checkbox[disabled] .md-label {
  color: #666;
}

md-checkbox.md-checked.md-blue-600[disabled] .md-bar {
  cursor: not-allowed;
}

md-checkbox.md-checked.md-blue-600[disabled] .md-thumb {
  cursor: not-allowed;
}

md-checkbox.md-checked.md-blue-600:not([disabled]) .md-icon {
  background-color: rgba(3, 155, 229, 0.6);
}

md-checkbox.md-checked.md-blue-600:not([disabled]) .md-icon {
  background-color: #2196f3;
}

md-checkbox.md-blue-600.md-indeterminate:not([disabled]) .md-icon {
  background-color: #2196f3;
  color: white;
  border: none;
}

md-tabs md-ink-bar {
  background: none repeat scroll 0 0 rgb(0, 200, 83);
  color: #039be5;
}

md-list::-webkit-scrollbar {
  width: 6px;
}

md-list::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.15);
}

md-list::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.26);
}

md-autocomplete {
  background: white;
}

md-autocomplete input[type=search] {
  -webkit-box-shadow: inset 0 -1px 0 #ddd;
  box-shadow: inset 0 -1px 0 #ddd;
}

md-input-container:not(.md-input-invalid).md-input-focused label {
  color: #2196f3;
}

md-input-container:not(.md-input-invalid).md-input-focused .md-input {
  border-color: #2196f3;
}

md-autocomplete-wrap {
  box-shadow: none !important;
}

md-ink-bar {
  background-color: #2196f3 !important;
  height: 3px;
}

md-tooltip {
  z-index: 1050;
}

md-radio-group:not([disabled]) .md-primary.md-checked .md-off {
  border-color: #2196f3;
}

md-radio-group:not([disabled]) .md-primary .md-on {
  background-color: #2196f3;
}

.md-toolbar-tools {
  background-color: #039be5;
}

.md-toolbar-tools * {
  color: white;
}

.md-toolbar-tools svg {
  fill: white;
}

@media screen and (min-width: 959px) {
  .md-dialog-container {
    height: calc(100vh - 64px) !important;
    min-width: 60vw;
    margin: 45px auto 30px;
    position: absolute;
    top: 0;
  }
}
@media screen and (max-width: 959px) {
  .md-dialog-container {
    z-index: 1030;
  }
}
md-dialog {
  min-width: 60vw;
}

md-dialog-content .content-title {
  font-size: 12pt;
  font-weight: 100;
}

md-radio-button.small .md-on,
md-radio-button.small .md-off {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
}

md-radio-button.small .md-container {
  height: 17px;
  width: 17px;
}

md-radio-button.small .md-label {
  margin-left: 20px;
}

md-radio-group.submitted.ng-invalid md-radio-button:not(.disabled) .md-off {
  border-color: #e57373;
  background-color: #ffcdd2;
}

md-tab-content {
  overflow: hidden;
}

md-tabs-content-wrapper,
md-tab-content > div {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ng-hide.ng-hide-animate {
  display: none !important;
}

.md-tooltip {
  color: #666 !important;
  background-color: white !important;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 2px #ccc;
  font-size: 10pt;
}

.md-button:hover, .md-button:active, .md-button:focus, .md-button .md-focused {
  color: inherit;
}
.md-button:hover span, .md-button:active span, .md-button:focus span, .md-button .md-focused span {
  color: inherit;
}
.md-button span {
  color: inherit;
}

.md-button.md-fab {
  z-index: 20;
  line-height: 56px;
  min-width: 0;
  width: 56px;
  height: 56px;
  vertical-align: middle;
  border-radius: 50%;
  background-clip: padding-box;
  overflow: hidden;
  transition: none;
  transition-property: none;
}

md-select.md-default-theme:not([disabled]):focus .md-select-value, md-select:not([disabled]):focus .md-select-value {
  border-bottom-color: #039be5 !important;
}

md-menu-bar md-menu > button {
  text-transform: none !important;
}

md-menu-bar md-menu.md-open > button, md-menu-bar md-menu.md-open:hover > button {
  background-color: lightskyblue !important;
}

md-menu-item > a {
  padding-top: 0 !important;
}

md-menu-item {
  height: auto !important;
}

.md-open-menu-container {
  z-index: 2000;
}

md-select {
  font-size: 16px;
}

.md-select-menu-container {
  z-index: 1076;
}

/* VENDOR */
/*************/
/* BOOTSTRAP */
/*************/
.md-input-focused md-select .md-select-placeholder span {
  color: #039be5;
}

.modal-backdrop {
  z-index: 70 !important;
}

@-webkit-keyframes alertShow {
  from {
    top: 0px;
  }
  to {
    top: 70px;
  }
}
@keyframes alertShow {
  from {
    top: 0px;
  }
  to {
    top: 70px;
  }
}
/* DATEPICKER */
.cssCampaignDay {
  background-color: #039be5;
}

.cssHideDay .text-muted {
  background-color: white !important;
  color: white !important;
}

.cssCampaignDay .btn {
  color: #666;
}

.cssCampaignDay .btn-info,
.cssCampaignDay .btn-info.active {
  background-color: white;
}

/*Highlight the "today" date*/
.dtpDatePicker span.text-info {
  font-weight: bold;
  color: #666;
  background-color: limegreen;
  border-radius: 35px;
}

/*hide the month navigation*/
.dtpDatePicker .pull-left,
.dtpDatePicker .pull-right {
  visibility: hidden;
}

.uib-datepicker-popup .uib-day button[disabled=disabled] {
  pointer-events: visible !important;
}

/* BASE */
html {
  background-color: #01579b;
  overflow-y: visible !important;
}

body {
  background-color: #01579b;
  height: auto;
  width: 100%;
  min-height: 100%;
  overflow-y: hidden;
}

legend span {
  color: #039be5;
  float: right;
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=text] {
  line-height: 1.8em;
}

/****************/
/* LOGIN SCREEN */
/****************/
#divGooglePlusLogin {
  position: relative;
  top: 20%;
}

#divLoginBgImage {
  background-image: url("../images/motox-plus-story-pureandroid.jpg");
  background-position: 10% 20%;
  height: 70%;
  position: absolute;
  width: 100%;
  background-size: cover;
}

#divAlignMotoLogo {
  margin: 0 auto;
  padding-top: 5px;
  width: 20%;
}

.imgLogoLogin {
  width: 18%;
  position: absolute;
}

#divAlignText {
  margin: 0 auto;
  width: auto;
  display: table;
  position: relative;
  top: 75px;
}

#divLoginBody {
  -webkit-box-shadow: -1px 1px 8px 0px rgba(0, 0, 0, 0.85);
  -moz-box-shadow: -1px 1px 8px 0px rgba(0, 0, 0, 0.85);
  box-shadow: -1px 1px 8px 0px rgba(0, 0, 0, 0.85);
  border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border: 0px solid black;
  position: relative;
}

#spnLoginHeaderText {
  display: inline-block;
  font-size: xx-large;
}

#divStripeContainer {
  -webkit-box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.85);
  -moz-box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.85);
  box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.85);
  left: -10px;
  min-height: 100px;
  position: relative;
  width: calc(100% + 20px);
}

#divLoginFirstStripe {
  background-color: #0277bd;
  min-height: 30px;
}

#divLoginSecondStripe {
  background-color: #039be5;
  color: white;
  min-height: 150px;
}

#divLoginSecondStripe h3 {
  font-weight: normal;
  color: white;
  font-size: xx-large;
}

#divLoginPanel {
  width: 26%;
  margin: 0 auto;
  position: relative;
  top: 22vh;
  color: #0277bd;
}

.panel-body-login {
  background-color: #ffffff;
  height: 50vh;
  padding-top: 10px;
}

/************/
/*  MODALS  */
/************/
.modal-dialog {
  width: 90vw;
  height: calc(100vh - 149px);
  overflow: hidden;
  margin: 119px auto 30px;
  display: flex;
  flex-direction: column;
}

.modal-dialog .modal-content {
  display: flex;
  flex-direction: column;
  margin: auto 0;
}

.modal-dialog .modal-content .modal-header {
  max-height: 75px;
}

.modal-dialog .modal-content .modal-footer {
  max-height: 66px;
}

.modalWithList .modal-dialog .modal-body {
  min-height: calc(100% - 75px - 66px);
}

.modalWithList .modal-dialog .modal-content {
  min-height: 100%;
}

.campaignModal tbody tr.trAllClickable {
  cursor: pointer;
}

.campaignModal fieldset {
  width: 100%;
}

.modal-header {
  background-color: #039be5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  z-index: 1;
  min-height: auto;
}

.modal-title * {
  color: white;
}

.modal-footer {
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.modal-60 .modal-dialog {
  width: 60vw;
}

.modal-40 .modal-dialog {
  width: 40vw;
}

/* Alert modal */
.modalContentContainer {
  flex-direction: column;
  order: 1;
  overflow: auto;
  padding: 24px;
  max-height: calc(90vh - 36px - 60px - 44px);
}

.modalActions {
  box-sizing: border-box;
  margin-bottom: 0;
  min-height: 52px;
  order: 2;
  padding-left: 16px;
  padding-right: 8px;
}

.tdDevIds {
  width: 50%;
}

.tdSurveys {
  width: 25%;
}

.tdCampaigns {
  width: 25%;
}

#group-dialog-modal .modal-body {
  padding: 25px 40px;
}
#group-dialog-modal .md-dialog-container {
  margin-top: 0;
}
#group-dialog-modal .md-dialog-container h2 {
  font-size: 20px;
  color: #199CE5;
  font-weight: normal;
}
#group-dialog-modal .md-dialog-container p {
  color: #666;
}
#group-dialog-modal .md-dialog-container button {
  color: #199CE5;
}
#group-dialog-modal .md-dialog-container md-dialog {
  min-width: 30vw;
}
#group-dialog-modal .md-dialog-container md-dialog .md-confirm-button {
  color: #999;
}

.md-dialog-red-title {
  background-color: #e57373;
}

.md-dialog-custom-content {
  margin-top: 50px !important;
  font-size: 13pt;
}

/**************/
/* NAVIGATION */
/**************/
.dfNavBar {
  height: 64px;
}

.dfNavBar > * {
  z-index: 1075;
}

.aNavBarLogo {
  height: 50px;
  width: 70px;
}

.imgNavBarLogo {
  z-index: 10;
}

.navbar-logo {
  height: 45px;
  position: absolute;
  top: 10px;
}

.btnCollapsedMenu {
  z-index: 3;
}

md-toolbar {
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.42), -1px 1px 5px rgba(0, 0, 0, 0.42);
  position: fixed !important;
}

/*Navigation bar page title show/hide animation*/
.aPageTitle {
  -webkit-transition: all 0.5s linear 0.5s;
  transition: all 0.5s linear 0.5s;
}

/*******************/
/* NAVIGATION MENU */
/*******************/
.menu {
  list-style: none;
  border-bottom: 0.1em solid black;
  margin-bottom: 2em;
  padding: 0 0 0.5em;
}

.menu:before {
  content: "[";
}

.menu:after {
  content: "]";
}

.menu > li {
  display: inline;
}

.menu > li:before {
  content: "|";
  padding-right: 0.3em;
}

.menu > li:nth-child(1):before {
  content: "";
  padding: 0;
}

.animate-repeat {
  list-style: none;
  box-sizing: border-box;
}

/*************/
/* USER SPOT */
/*************/
.user-spot {
  min-width: 250px;
}
.user-spot .profile-pic {
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.25), -1px -1px 1px rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.user-spot .profile-pic img {
  width: 48px;
  height: 48px;
}
.user-spot .info .name {
  line-height: 14px;
}
.user-spot .info .name span {
  font-size: 14px;
  font-weight: 700;
}
.user-spot .info .email {
  line-height: 12px;
}
.user-spot .info .email span {
  font-size: 12px;
}
.user-spot .info .level {
  line-height: 11px;
}
.user-spot .info .level span {
  font-size: 11px;
}
.user-spot > * {
  margin: 5px;
}

/**********/
/* TABLES */
/**********/
.table tr .button-column {
  padding: 0;
  width: 15%;
}

.table .button-column .md-button {
  float: right;
  margin: 0;
}

.table-hover > tbody > tr {
  outline: 0;
}

.greyHeader > thead {
  background-color: #dfdfdf;
}

.table {
  border-collapse: unset;
  margin-bottom: 0;
}

.table td {
  vertical-align: middle !important;
}

.table.fixed {
  table-layout: fixed;
}

.table.sticky th:first-child,
.table.sticky td:first-child {
  padding-left: 16px;
}

.table.sticky th:last-child,
.table.sticky td:last-child {
  padding-right: 16px;
}

.table.tall > tbody > tr > td {
  height: 56px;
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.table.noWrap > thead > tr > th {
  white-space: nowrap;
}

.table.noWrap > thead > tr > th,
.table.noWrap > thead > tr > th > div,
.table.noWrap > thead > tr > th > div > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.table td {
  vertical-align: middle !important;
}

.table.noWrap > tbody > tr > td,
.table.noWrap > tbody > tr > td span,
.table.noWrap > tbody > tr > td i,
.table.noWrap > tbody > tr > td a {
  vertical-align: middle !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-icon-18 {
  min-width: 18px;
  min-height: 18px;
  width: 18px;
  height: 18px;
}

.pairColumn > *:first-child {
  font-weight: 400;
}

.pairColumn > *:last-child {
  font-weight: 100;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.sortingIcon {
  margin: 0;
  margin-left: 10%;
}

.sortingIcon svg {
  fill: black !important;
}

.sortingIcon {
  -webkit-animation: unSpin 0.25s linear;
  -moz-animation: unSpin 0.25s linear;
  animation: unSpin 0.25s linear;
  animation-fill-mode: forwards;
}

.spinning-icon {
  -webkit-animation: unSpin 0.25s linear;
  -moz-animation: unSpin 0.25s linear;
  animation: unSpin 0.25s linear;
  animation-fill-mode: forwards;
}

.md-checkbox-with-tooltip-span {
  margin-right: 0px !important;
}

/*********/
/* VIEWS */
/*********/
footer {
  background-color: rgba(61, 112, 175, 0.9725490196);
  color: white;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  font-family: monospace;
  font-size: 8pt;
  text-align: center;
  line-height: 1.5;
}
footer .footer-wrapper span:not(:last-child) {
  margin-right: 10px;
}

.bottomSeparator {
  border-bottom: 2px solid #039be5;
}

#divNgView {
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.container {
  height: calc(100vh - 64px);
  width: 98vw;
}

.form-group {
  margin-bottom: 23px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.form-group label {
  font-weight: normal;
  margin-bottom: 0;
  font-size: 13px;
  color: rgb(130, 130, 130);
}

.form-group textarea {
  resize: none;
}

.form-group .form-control {
  height: 33px;
  font-size: 16px;
  font-weight: normal;
  color: rgb(80, 80, 80);
  padding-top: 0px;
  padding-left: 0px;
  padding-bottom: 0px;
}

.form-group .form-control.txaForm {
  height: auto;
}

.viewSection {
  font-size: 20px;
  margin-bottom: 3vh;
  padding-left: 0;
  padding-right: 0;
  color: #039be5;
}

.panel-body-view {
  background-color: #ffffff;
  min-height: calc(100vh - 64px - 25px);
  padding: 2% 6% 5%;
}

.panel-body-with-float-button {
  min-height: calc(99vh - 64px);
}

.panel-body-dashboard {
  padding: 64px 0 2% 0;
}

.panel.background {
  min-height: calc(100vh - 132px);
}

.container > .panel {
  background-color: #fdfdfd;
}

.panel-default > .panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ddd;
}

.panel-default > .panel-heading .badge {
  color: #f5f5f5;
  background-color: #333;
}

.panel-default > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #ddd;
}

.panel-primary {
  border-color: #337ab7;
}

.panel-primary > .panel-heading {
  color: #fff;
  background-color: #337ab7;
  border-color: #337ab7;
}

.panel-primary > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #337ab7;
}

.panel-primary > .panel-heading .badge {
  color: #337ab7;
  background-color: #fff;
}

.panel-primary > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #337ab7;
}

.panel-info {
  border-color: #bce8f1;
}

.panel-info > .panel-heading {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.panel-info > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #bce8f1;
}

.panel-info > .panel-heading .badge {
  color: #d9edf7;
  background-color: #31708f;
}

.panel-info > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #bce8f1;
}

.panel-primary md-tab-item {
  color: #666 !important;
}

.panel-primary md-tabs-wrapper {
  background-color: #efefef;
  border-bottom: 1px solid #d9d9d9;
}

/*Floating buttons*/
.floatingButtonBox {
  position: fixed;
  bottom: 5vh;
  right: 2.5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divSpacer {
  clear: both;
  height: 2vh;
}

.divSpacerSmall {
  clear: both;
  height: 10px;
}

.viewBgColor {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #e6e6e6;
  overflow-x: hidden;
  overflow-y: auto;
}

.viewBgColor legend,
.viewBgColor fieldset {
  color: rgb(130, 130, 130);
  overflow: auto;
}

/* Card-like container */
.boxShadow {
  -webkit-box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.26);
  -moz-box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.26);
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.26);
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: white;
}

.boxShadowTitle {
  color: #999;
  font-size: 150%;
}

.detailsModalSubtitle {
  font-size: 125%;
}

.gray {
  color: gray;
}

/* MODULES */
/******************************/
/* DASHBOARD CAMPAIGN FILTERS */
/******************************/
.dbFilters {
  background-color: #fefefe;
  color: white;
  position: fixed;
  width: calc(98vw - 30px);
  z-index: 1;
  border: 1px solid #0277bd;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.54);
  -webkit-transition: 0.1s ease-out all;
  transition: 0.1s ease-out all;
}

.dbFiltersDates input {
  font-size: 10pt;
}

.dbFilters md-checkbox.md-checked .md-icon {
  background-color: #0277bd !important;
}

.dbFilters md-checkbox > div:last-of-type {
  white-space: nowrap;
}

.dbExpandFilters {
  align-items: center;
  -webkit-align-items: center;
  display: flex;
  -webkit-flex: 1;
  flex: 1;
  height: 54px;
  justify-content: center;
  -webkit-justify-content: center;
  outline: none;
}

.dbFiltersChips {
  height: 54px;
  padding-left: 20px;
}

.dateFilter {
  color: rgb(130, 130, 130);
  margin-right: 5px;
}

.textFilter {
  color: rgb(130, 130, 130);
}

.dbChip {
  display: inline-flex;
  background-color: #90caf9;
  color: black;
  margin-right: 10px;
  padding: 5px 8px 5px 8px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 0px solid black;
  line-height: 1.2;
  -webkit-transition: 0.2s ease-in all;
  transition: 0.2s ease-in all;
}

.dbChip .title {
  font-weight: 100;
  margin-bottom: 5px;
}

.dbChip .content {
  font-weight: 700;
}

.filterChip {
  margin-right: 20px;
  font-weight: 100;
  color: black;
}

.dbFiltersFields {
  border: 1px solid white;
  margin: 0 5%;
  padding: 0;
}

.stringFilters > div {
  min-height: 88px;
}

.stringFilters .md-button {
  min-width: 0;
  width: 42px;
}

/*******************/
/* DASHBOARD CARDS */
/*******************/
.dbCardRow {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(515px, 1fr));
  justify-items: center;
  width: 100%;
}

.dbCard {
  width: 510px;
  height: 650px;
  background-color: white;
  border: 1px solid #ddd;
  margin: 20px;
  -webkit-box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.15);
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  display: -webkit-flex;
  /* Safari */
  flex-direction: column;
  -webkit-flex-direction: column;
  margin-top: 25px;
}

.dbCardStatus {
  height: 25px;
  padding: 0 20px;
  color: black;
}

.dbCardStatus span {
  font-size: 12pt;
  font-weight: 400;
  text-align: right;
  text-transform: uppercase;
}

.dbCardHeader {
  color: white;
  height: 20%;
  background-color: #0277bd;
  overflow: hidden;
}

.dCardHeaderTitle {
  padding: 0 20px;
  max-height: 50%;
  height: 50%;
}

.dbCardInfo {
  padding: 5px 15px;
}

.dbCardContent {
  height: 69.5%;
  background-color: white;
}

.dbCardActions {
  background: #eee;
  border-top: 1px solid #ccc;
}

.dbCardActions .md-button {
  font-weight: 700;
  color: #0277bd;
}

.dbCardContentRowSeparator {
  background-color: #ddd;
  height: 1px;
  margin: 0 2.5%;
}

.dbCardContentCellSeparator {
  background-color: #ddd;
  width: 1px;
  margin: 3% 0;
}

.dbCard .cardTextLabel {
  padding-left: 10px;
}

.dbCard .cardTextValue {
  padding-right: 5px;
}

.dbCardContentTitle {
  color: #42a5f5;
  padding-left: 10px;
  padding-top: 5px;
  font-size: 115%;
}

.dbCardContentValues {
  color: rgb(130, 130, 130);
}

.dbCardTitle {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 135%;
  text-decoration: none;
  line-height: normal;
  max-height: 4em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  word-wrap: break-word;
  display: -webkit-box;
}

.dbCardValue {
  padding: 0 10px 0 10px;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dbCardIcon {
  height: 18px;
  width: 18px;
  display: block;
}

.card-dates-cell {
  margin-left: -10px;
}

/********************/
/* CAMPAIGN DETAILS */
/********************/
.deviceDetailsRow {
  margin-bottom: 15px;
  margin: 20px 10px;
  position: relative;
  min-height: 150px;
}

.campaignName {
  font-size: 14pt;
  font-weight: 500;
}

.deviceDetailsPairFirst {
  margin-right: 10px;
  font-weight: 100;
}

.deviceDetailsBasicPair {
  min-height: 36px;
}

.deviceBasicPairFirst,
.deviceBasicPairSecond {
  white-space: pre-line;
  word-wrap: break-word;
}

.deviceBasicPairFirst {
  margin-right: 10px;
  text-align: right;
}

.deviceBasicPairSecond {
  font-weight: 100;
  font-size: 11pt;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deviceBasicPairFirst span {
  white-space: nowrap;
}

.deviceDetailsElement {
  padding: 0 10px;
}

.deviceDetailsStatistics {
  padding: 16px;
}

.deviceDetailsBasicInfo {
  /* Safari */
  padding: 10px 16px;
  background-color: #0277bd;
  color: white;
  -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.15);
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

/********************/
/* CAMPAIGN DETAILS */
/********************/
.expandBtn {
  min-width: 0;
  min-height: 0;
  display: flex;
  padding: 0;
  margin: 0;
}

.expandBtn md-icon {
  -webkit-animation: unSpin 0.1s ease-out;
  -moz-animation: unSpin 0.1s ease-out;
  animation: unSpin 0.1s ease-out;
  animation-fill-mode: forwards;
}

.cardHeader {
  max-height: 42px !important;
}

.table-message {
  color: #ccc;
  display: flex;
  justify-content: center;
  font-size: 14pt;
  font-weight: 100;
  width: 100%;
}

.survey-table-footer {
  padding: 5px;
  background-color: #eee;
  overflow: hidden;
}

.surveyTableFooterBorder {
  border: 1px solid #ee8282;
}

/***************************************/
/* CAMPAIGN DETAILS MONITORING POPOVER */
/***************************************/
.ue.popover {
  max-width: 45vw;
  min-width: 30vw;
}

.ue .popover-content {
  padding: 0;
}

.ue .ue-footer {
  background-color: #e5e5e5;
  padding: 5px 16px;
  font-weight: 100;
  color: #666;
}

.ue .ue-popover-container {
  box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.26);
}

.ue .ue-footer {
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

/**********************/
/* SEND MESSAGE MODAL */
/**********************/
.message-content {
  min-height: 138px;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
  padding: 10px !important;
}

.list-legend {
  display: block;
  width: 100%;
  text-align: right;
  background-color: #efefef;
  padding-right: 1%;
  font-weight: 100;
}

/***************************/
/* TARGET POPULATION MODAL */
/***************************/
.targetPopulationCard {
  min-width: 250px;
  background-color: white;
  border: 1px solid #ddd;
  margin: 20px;
  -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
  display: flex;
  display: -webkit-flex;
  position: relative;
  left: 0px;
  top: 0px;
}

.targetPopulationCardFab {
  position: absolute !important;
  margin: -10px -10px auto auto;
  right: 0px;
  top: 0px;
}

.targetPopulationCardName {
  color: #039be5;
  font-size: 13pt;
}

.targetPopulationCardButton {
  color: #039be5;
}

.targetPopulationInput {
  color: #039be5;
  margin-top: 15px;
}

.targetPopulationCardFilter {
  margin-top: 47px;
  margin-left: 20px;
}

md-checkbox.md-checked.blue .md-icon {
  background-color: #039be5;
}

#dfConnectLink {
  color: #4141B5;
  font-weight: bold;
}
#dfConnectLink span {
  color: #f9a825;
}

.scrollable {
  overflow-y: auto;
  width: 100%;
}

md-chips .md-chips {
  box-shadow: none !important;
  height: 100%;
}

.md-chips {
  display: flex;
  flex-wrap: wrap;
}

.md-chips md-chip {
  order: 2;
}

.md-chips .md-chip-input-container {
  order: 1;
  width: 100%;
  box-shadow: 0 1px rgba(0, 0, 0, 0.12);
}

/*************/
/* DASHBOARD */
/*************/
.grey-tag {
  color: #666;
  border-right: 1px solid #ccc;
  font-weight: 100;
  font-size: 8pt;
  text-transform: uppercase;
  padding: 0 25px 0 0;
  margin: 2px 10px;
}

.autocomplete-message span {
  color: #666;
  padding: 0 0.25em;
  font-weight: 100;
}

.ms-autocomplete[md-floating-label] md-input-container {
  max-height: fit-content;
  margin: 18px 0;
}

/**********/
/* GROUPS */
/**********/
.add-modify-group .btnFloatBlue md-icon {
  width: 36px;
  height: 36px;
}

.add-modify-group tr {
  height: 37px;
}

.deviceChip {
  background-color: #eee;
  padding: 5px 5px;
  min-width: 92px;
  border-radius: 2px;
  text-align: center;
}

.view-group legend {
  color: #666;
}

.grid-title {
  font-size: 14pt;
  font-weight: 100;
  background-color: #fcfcfc;
  border-bottom: 1px solid #eee;
}

.grid-title.blue {
  color: rgb(49, 112, 143);
}

.grid-title.green {
  color: rgb(60, 118, 61);
}

.grid-title.red {
  color: rgb(169, 68, 66);
}

.blue .deviceChip {
  background-color: rgb(217, 237, 247);
  color: rgb(49, 112, 143);
}

.green .deviceChip {
  background-color: rgb(223, 240, 216);
  color: rgb(60, 118, 61);
}

.red .deviceChip {
  background-color: rgb(242, 222, 222);
  color: rgb(169, 68, 66);
}

.grid-container {
  border: 1px solid #eee;
  border-radius: 3px;
  box-shadow: 2px 4px 5px #eee;
  max-height: 400px;
}

.grid-container > div:last-child {
  overflow-y: auto;
}

.message-watermark {
  font-size: 100px;
  font-weight: 100;
  opacity: 0.1;
  height: 100%;
  vertical-align: middle;
  padding-bottom: 10%;
}

/* Modal */
.campaignModal md-tab-item {
  color: #666 !important;
}

.campaignModal md-tabs-wrapper {
  background-color: #efefef;
  border-bottom: 1px solid #d9d9d9;
}

.campaignModal .modal-title h4:last-of-type {
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.smallTableContainer {
  max-height: 66vh;
}

/*************/
/*  BUTTONS  */
/*************/
.btnFloatWhite {
  background-color: white !important;
  color: #666;
}

.btnFloatWhite svg {
  fill: #666;
}

.btnFloatWhite svg path {
  fill-opacity: 1;
  opacity: 1;
}

.btnFloatGreen {
  background-color: #00c853 !important;
  color: white;
}

.btnFloatBlue {
  background-color: #1976d2 !important;
  color: white;
}

.btnFloatAmber {
  background-color: #ffb300 !important;
  color: white;
}

.btnFloatInverted {
  background-color: #fdfdfd !important;
  color: #1976d2 !important;
}

.btnFloatBig {
  width: 20vh !important;
  height: 20vh !important;
  opacity: 0.66;
}

.btnFloatBig md-icon {
  width: 12vh !important;
  height: 12vh !important;
}

.btnFloatBigContainer {
  border: 2px dashed lightskyblue;
  position: relative;
  height: 60vh;
  width: 66vw;
}

.btnFloatBigContainer input[type=file] {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0;
  top: 0;
  z-index: 50;
  cursor: pointer;
}

.btnFloatBig md-icon svg,
.btnWhiteIcon md-icon svg {
  fill: white;
}

.btnFloatBigTitle {
  font-size: 4vh;
  font-weight: 100;
  opacity: 0.25;
  text-align: center;
  line-height: 1.5em;
}

.scrollLoader {
  clear: both;
  height: 2vh;
  color: #0277bd;
  font-size: 1.25em;
  margin-bottom: 1%;
}

.btnBlue {
  background-color: #039be5 !important;
  color: white;
}

.requiredRadioButton {
  color: #e57373;
  font-weight: bold;
}

/* INFO BUTTON */
.glyphicon-info-sign {
  height: 1px;
  padding: 1px 1px;
  font-size: 10px;
  line-height: 0.1;
}

/*****************/
/* PAGING LOADER */
/*****************/
.pagingToolbar {
  text-align: center;
  vertical-align: middle;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 125px;
}

/*************/
/* QUESTIONS */
/*************/
.fakeTextarea {
  background-color: #fefefe;
  border: 1px solid #efefef;
  border-radius: 8px;
  height: 48px;
  margin: 0 auto;
  width: 100%;
  padding-left: 25px;
  display: flex;
  display: -webkit-flex;
  /* Safari */
  -webkit-align-items: center;
  /* Safari */
  align-items: center;
}

.fakeFreeText {
  color: #999;
  font-style: italic;
}

/***********/
/* SURVEYS */
/***********/
.multiple-choice-section {
  background-color: #fefefe;
  border-radius: 5px;
  border: 1px #efefef solid;
  color: #999;
}

/**********************/
/* SURVEY TRANSLATION */
/**********************/
.translationAction,
.isArchivedIcon {
  float: right;
  height: 32px;
  width: 32px;
}

.surveyTranslationHeader {
  background-color: rgba(0, 0, 0, 0.01);
  border: 1px solid #ddd;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  padding: 31px;
  padding-right: 33px;
}

.surveyTranslationAction,
.surveyTranslationEditAction {
  border-right: 3px solid rgb(255, 68, 51) !important;
  padding: 30px !important;
}

.surveyTranslationTextPair {
  line-height: 1.5em;
}

.surveyTranslationSingleLableEdit {
  line-height: 3.8em;
}

.questionTranslation {
  border-right: 3px solid;
}

.questionTranslationAction {
  border-right: 3px solid #ef5350 !important;
}

.translationAction svg {
  fill: #ef5350 !important;
}

.iptQuestionTranslation {
  color: #337ab7;
  font-size: 1.02em !important;
  font-weight: 100;
  width: 100%;
}

.iptInformationTranslation {
  color: #337ab7;
  width: 100%;
  font-weight: 100;
  font-size: 1.27em !important;
}

.surveyTranslateActions {
  background-color: #e9e9e9;
  border: 1px solid #ddd;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.33);
}

.survey_list_translate svg {
  fill: #757575 !important;
}

.spnValueTranslatedLarge {
  color: #337ab7;
  font-weight: 100;
  font-size: 1.255em;
}

.spnValueTranslated {
  color: #337ab7;
  font-weight: 100;
  font-size: 1.02em;
}

.surveyTranslationEditChosenLanguage {
  color: #999;
  font-size: 200%;
}

.questionOptionsIcon {
  color: #a0a0a0;
  transform: scale(1.3);
  height: 40px;
}

.mandatory-label {
  text-transform: uppercase;
  color: #e85c72;
  float: right;
  font-weight: bold;
}

/***********/
/* TRIGGERS */
/***********/
.trSelected .triggerKeyword {
  color: #eee;
}

.triggerKeyword {
  color: #999;
}

.tdSurveyTrigger {
  font-weight: bold;
  text-decoration: underline;
  outline: none;
}

.tdSurveyTrigger.grey {
  color: #666;
}

.tdSurveyTrigger.blue {
  color: #039be5;
}

.tdSurveyTrigger * {
  outline: none;
}

.tdSurveyTriggerDisabled {
  cursor: auto;
}

.iptSoftVersion {
  width: 80%;
  display: inline-block;
}

.add-tag {
  margin-left: 0;
}

/*************/
/* TAG CHIPS */
/*************/
.tagChip {
  display: inline-block;
  background-color: #039be5;
  color: white;
  padding: 5px 8px 5px 8px;
  border-radius: 15px 15px 15px 15px;
  -moz-border-radius: 15px 15px 15px 15px;
  -webkit-border-radius: 15px 15px 15px 15px;
  border: 0px solid black;
}

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(180deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}
@-moz-keyframes unSpin {
  0% {
    -moz-transform: rotate(180deg);
  }
  100% {
    -moz-transform: rotate(0deg);
  }
}
@-webkit-keyframes unSpin {
  0% {
    -webkit-transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
  }
}
@keyframes unSpin {
  0% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
/**********/
/* LABELS */
/**********/
.spanLabel {
  margin: 0 8px 0 0;
}

.spanValue {
  font-size: 16px;
  font-weight: normal;
}

.triggerName {
  font-size: 11pt;
  font-weight: 400;
}

.separatorSubtext {
  color: #666;
  font-size: 13px;
  padding-top: 5px;
}

.subText {
  font-weight: 100;
}

.mandatory {
  color: red;
}

/*****************/
/* NUMBER PICKER */
/*****************/
.numberPickers {
  align-items: center;
  display: flex;
  flex: 1;
}

.numberPickerLabel {
  margin-right: 10px;
}

/*****************/
/* PROGRESS BARS */
/*****************/
.progress-bar {
  margin-top: -5px;
}

/*loading button*/
.loader {
  position: fixed;
  top: 61px;
  z-index: 1076;
}
.loader .md-container {
  height: 3px;
  background-color: transparent !important;
}
.loader .md-container .md-bar1 {
  background-color: #039be5;
}

/****************/
/* TABLE PAGING */
/****************/
.dfPaging {
  background-color: #f0f0f0;
}

.dfPaging .md-button svg {
  fill: #666;
}

.dfPagingBtnCount {
  min-width: 0;
  width: 48px;
}

.dfPaging .md-button[disabled] {
  color: #aaa;
}

md-select.dfPagingSelect {
  margin: 0;
}

.campaign.tag, .survey.tag {
  line-height: 21px;
  background-color: transparent;
  border: 1px solid #039be5;
  font-weight: 500;
  color: #039be5;
  text-align: center;
  padding: 0 4px;
}

.campaign.tag {
  flex-grow: 0;
  flex-shrink: 1;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 70px;
}

.finishedIndicator, .onHoldIndicator, .inProgressIndicator {
  height: 12px;
  min-width: 12px;
  width: 12px;
  opacity: 0.75;
  border-radius: 15%;
}

.inProgressIndicator {
  background-color: #2ddd6b;
}

.onHoldIndicator {
  background-color: #fbc02d;
}

.finishedIndicator {
  background-color: #999;
}

/* STATE */
/* STATE */
/************/
/* ARCHIVED */
/************/
.isArchived legend span {
  color: #aaa;
}

.isArchived .viewSection {
  color: #aaa;
}

.isArchived .bottomSeparator {
  border-color: #aaa;
}

.isArchived .dtpDatePicker .cssCampaignDay {
  background-color: #aaa;
}

/* STATE */
/******************************/
/* DASHBOARD CAMPAIGN FILTERS */
/******************************/
.dbFiltersOpened {
  border: 1px solid #ccc;
  color: #666;
}

.dbFiltersClosed svg {
  fill: white;
}

.dbFiltersRowVisible {
  background-color: #0277bd;
  padding: 0 2%;
  height: 54px;
  -webkit-transition: 0.2s ease-in all;
  transition: 0.2s ease-in all;
}

.dbFiltersOpened .dbFiltersRowVisible {
  background-color: #eee;
  border-top: 1px solid #e5e5e5;
  -webkit-transition: 0.1s ease-out all;
  transition: 0.1s ease-out all;
}

.dbFiltersClosed {
  top: -170px;
}

.dbFiltersClosed .dbExpandFilters md-icon svg {
  fill: white;
}

.dbFilters:not(.dbFiltersClosed) .dbExpandFilters md-icon svg {
  fill: #666;
}

.dbFiltersOpened {
  top: 64px;
}

.dbFiltersClosed .dbChip {
  background-color: #039be5;
  color: white;
  -webkit-transition: 0.2s ease-in all;
  transition: 0.2s ease-in all;
}

.dbChip.ng-enter,
.dbChip.ng-leave.ng-leave-active {
  opacity: 0;
}

.dbChip.ng-leave,
.dbChip.ng-enter.ng-enter-active {
  opacity: 1;
}

.removeFilter {
  align-items: baseline;
  -webkit-align-items: baseline;
  display: flex;
  display: -webkit-flex;
  /* Safari */
  margin-left: 5px;
  font-weight: 120%;
}

.removeFilter md-icon {
  min-height: 18px;
  min-width: 18px;
  height: 18px;
  width: 18px;
  margin: 0;
}

.dbFiltersClosed .removeFilter md-icon svg {
  -webkit-transition: 0.2s ease-in all;
  transition: 0.2s ease-in all;
}

/*******************/
/* DASHBOARD CARDS */
/*******************/
.statusOnHold {
  font-weight: bold;
  color: #fbc02d;
  font-size: 16px;
}

.statusInProgress {
  font-weight: bold;
  color: #2ddd6b;
  font-size: 16px;
}

.statusFinished {
  font-weight: bold;
  color: #999;
  font-size: 16px;
}

.dbCardStatusInProgress {
  background-color: #2ddd6b;
}

.modal-body .dbCardStatusInProgress {
  z-index: 2;
  width: 100%;
  position: absolute;
  left: 0;
}

.dbCardStatusOnHold {
  background-color: #fbc02d;
}

.dbCardStatusFinished {
  background-color: #ddd;
}

.dbCardActions .md-button:hover,
.dbCardActions .md-button:focus {
  background-color: initial !important;
}

.dbCardTitle:hover {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 135%;
  text-decoration: none;
}

.dbCardTitle:focus {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 135%;
  text-decoration: none;
}

.dbTagCampaignCategory {
  margin-right: 5px;
}

/********************/
/* CAMPAIGN DETAILS */
/********************/
.expandBtn.spun md-icon {
  -webkit-animation: spin 0.1s ease-out;
  -moz-animation: spin 0.1s ease-out;
  animation: spin 0.1s ease-out;
  animation-fill-mode: forwards;
}

.campaignHeaderContent {
  padding-top: 15px;
  max-height: 200px;
  opacity: 1;
}

.iconHiddenQuestions {
  width: 25px;
  overflow: inherit;
}

.notClickable {
  pointer-events: none;
}

/**********************/
/* SEND MESSAGE MODAL */
/**********************/
.message-content.submitted.ng-invalid {
  border: 2px solid #e57373 !important;
}

.message-content:focus {
  border: 2px solid #039be5 !important;
  padding: 9px !important;
}

.expanded .expand .msg-history-content {
  white-space: pre-wrap;
  padding-right: 2%;
}

.collapsed .expand .msg-history-content {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.collapsed-content > .expand {
  padding: 8px;
}

/************/
/* CAMPAIGN */
/************/
.emptyListMessage {
  font-size: 14pt;
  font-weight: 100;
  color: #ccc;
  text-transform: uppercase;
}

.num_devices_changed {
  color: #039be5;
  font-weight: bold;
}

/* STATE */
/**********/
/* GROUPS */
/**********/
.add-modify-group tr.trSelected {
  background-color: rgba(3, 155, 229, 0.6);
  color: white;
}

.campaignActionsBtnsDisabled {
  background-color: rgba(0, 0, 0, 0.15) !important;
  color: rgba(0, 0, 0, 0.26) !important;
  cursor: not-allowed;
}

.invalidDeviceBarcode {
  box-shadow: 0px 0px 3px red, 0px 0px 3px red;
}

/* STATE */
/**************/
/* VALIDATION */
/**************/
.css-form input.submitted.ng-invalid {
  border: 2px solid #e57373;
  background-color: #ffdddd;
}

.css-form select.submitted.ng-invalid {
  border: 2px solid #e57373;
  background-color: #ffdddd;
}

.css-form textarea.submitted.ng-invalid {
  border: 2px solid #e57373;
  background-color: #ffdddd;
}

.ngDirtyValidation.ng-dirty.ng-invalid {
  border: 2px solid #e57373;
  background-color: #ffdddd;
}

/*************/
/*  BUTTONS  */
/*************/
.btnDisabled {
  background-color: #e0e0e0 !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26) !important;
  color: white !important;
}

.btnDisabled svg {
  fill: #999 !important;
}

.btnDisabled:hover,
.btnDisabled:active {
  cursor: not-allowed;
}

.btnDisabledSimple {
  color: #e0e0e0 !important;
}

.btnDisabledSimple:hover {
  background-color: white !important;
}

.btn.disabled {
  opacity: 1;
  color: #aaa;
}

/*****************/
/* RADIO BUTTONS */
/*****************/
.mdRadioDisabled,
.mdRadioDisabled .md-container,
.mdRadioDisabled md-radio-button {
  cursor: default !important;
  color: #666;
}

.mdRadioDisabled .md-on {
  background-color: #666 !important;
}

.mdRadioDisabled .md-off {
  border-color: #999 !important;
}

/******************/
/* CHECKBOX GROUP */
/******************/
.md-checkbox-group.fadeOutSlideUp {
  max-height: 35px;
}

.fadeOutSlideUp.ng-leave {
  -moz-transition: ease-out 0.5s;
  -o-transition: ease-out 0.5s;
  transition: ease-out 0.5s;
  max-height: 500px;
  opacity: 1;
  overflow: hidden;
}

.fadeOutSlideUp.ng-leave-active {
  max-height: 0px !important;
  opacity: 0;
}

/* STATE */
/****************/
/* LOGIN SCREEN */
/****************/
@media screen and (max-height: 700px) {
  .panel-body-login {
    height: 60vh;
  }
  #divLoginPanel {
    position: relative;
    top: 15vh;
  }
}
@media screen and (max-width: 1000px) {
  #divLoginBgImage {
    background-position: 70% 0%;
  }
  #divLoginPanel {
    width: 40%;
    margin: 0 auto;
  }
}
@media screen and (max-width: 600px) {
  #divLoginBgImage {
    background-position: 70% 0%;
  }
  #spnLoginHeaderText {
    font-size: x-large;
  }
  #divLoginPanel {
    width: 70%;
    margin: 0 auto;
  }
}
/* STATE */
/**********/
/* MODALS */
/**********/
.modal-open .modal {
  z-index: 80 !important;
}

.secondLayerModal.modal {
  z-index: 1051 !important;
}

.md-dialog-is-showing.modal-open .modal {
  overflow-y: hidden !important;
}

/**************/
/* SCROLL BAR */
/**************/
.disableScroll {
  position: fixed;
  overflow-y: scroll;
}

/* STATE */
/*******************/
/* NAVIGATION MENU */
/*******************/
.animate-repeat.ng-move {
  opacity: 0;
  -moz-transition: opacity 0.4s ease-in-out;
  -o-transition: opacity 0.4s ease-in-out;
  -webkit-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;
}

/**************/
/* NAVIGATION */
/**************/
.aNavBack:hover {
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
  color: #0277bd;
}

.aNavBack:active {
  border-style: none;
}

.navBarFirst a:hover {
  background-color: inherit !important;
  text-shadow: 0px 0px 5px white;
}

/*Nav dropdown menu*/
.navLinks .nav .open > a,
.navLinks .nav .open > a:hover,
.navLinks .nav .open > a:focus {
  background-color: #0277bd;
  border-color: #2196f3;
}

.navLinks .nav > li > a:focus,
.navLinks .nav > li > a:hover {
  background-color: #0277bd;
}

.aPageTitle.ng-hide {
  opacity: 0;
}

/* STATE */
/**********/
/* TABLES */
/**********/
.table tbody tr.trUnset {
  cursor: unset;
  pointer-events: none;
  opacity: 0.44;
}

.table-hover > tbody > tr:hover {
  background-color: #eee;
}

.table-hover > tbody > tr.expanded:hover {
  background-color: initial;
}

.campaignModal tbody tr.trSelected {
  background-color: rgba(3, 155, 229, 0.6);
  color: white;
}

.disabledRow {
  opacity: 0.3;
}

.list-icon-18-disabled {
  cursor: default;
  outline: none;
}

.list-icon-18-disabled md-icon svg {
  fill: #aaa !important;
}

.sortingIcon.disabled svg {
  fill: #999 !important;
}

.sortingIcon.spun {
  -webkit-animation: spin 0.25s linear;
  -moz-animation: spin 0.25s linear;
  animation: spin 0.25s linear;
  animation-fill-mode: forwards;
}

.spinning-icon.spun {
  -webkit-animation: spin 0.25s linear;
  -moz-animation: spin 0.25s linear;
  animation: spin 0.25s linear;
  animation-fill-mode: forwards;
}

/******************************/
/* ATOMIC AND GENERIC CLASSES */
/******************************/
/* MIXIN GENERATED ATOMIC CLASSES */
.width-0 {
  width: 0% !important;
}

.width-0-5 {
  width: 0.5% !important;
}

.width-1 {
  width: 1% !important;
}

.width-1-5 {
  width: 1.5% !important;
}

.width-2 {
  width: 2% !important;
}

.width-2-5 {
  width: 2.5% !important;
}

.width-3 {
  width: 3% !important;
}

.width-3-5 {
  width: 3.5% !important;
}

.width-4 {
  width: 4% !important;
}

.width-4-5 {
  width: 4.5% !important;
}

.width-5 {
  width: 5% !important;
}

.width-5-5 {
  width: 5.5% !important;
}

.width-6 {
  width: 6% !important;
}

.width-6-5 {
  width: 6.5% !important;
}

.width-7 {
  width: 7% !important;
}

.width-7-5 {
  width: 7.5% !important;
}

.width-8 {
  width: 8% !important;
}

.width-8-5 {
  width: 8.5% !important;
}

.width-9 {
  width: 9% !important;
}

.width-9-5 {
  width: 9.5% !important;
}

.width-10 {
  width: 10% !important;
}

.width-10-5 {
  width: 10.5% !important;
}

.width-11 {
  width: 11% !important;
}

.width-11-5 {
  width: 11.5% !important;
}

.width-12 {
  width: 12% !important;
}

.width-12-5 {
  width: 12.5% !important;
}

.width-13 {
  width: 13% !important;
}

.width-13-5 {
  width: 13.5% !important;
}

.width-14 {
  width: 14% !important;
}

.width-14-5 {
  width: 14.5% !important;
}

.width-15 {
  width: 15% !important;
}

.width-15-5 {
  width: 15.5% !important;
}

.width-16 {
  width: 16% !important;
}

.width-16-5 {
  width: 16.5% !important;
}

.width-17 {
  width: 17% !important;
}

.width-17-5 {
  width: 17.5% !important;
}

.width-18 {
  width: 18% !important;
}

.width-18-5 {
  width: 18.5% !important;
}

.width-19 {
  width: 19% !important;
}

.width-19-5 {
  width: 19.5% !important;
}

.width-20 {
  width: 20% !important;
}

.width-20-5 {
  width: 20.5% !important;
}

.width-21 {
  width: 21% !important;
}

.width-21-5 {
  width: 21.5% !important;
}

.width-22 {
  width: 22% !important;
}

.width-22-5 {
  width: 22.5% !important;
}

.width-23 {
  width: 23% !important;
}

.width-23-5 {
  width: 23.5% !important;
}

.width-24 {
  width: 24% !important;
}

.width-24-5 {
  width: 24.5% !important;
}

.width-25 {
  width: 25% !important;
}

.width-25-5 {
  width: 25.5% !important;
}

.width-26 {
  width: 26% !important;
}

.width-26-5 {
  width: 26.5% !important;
}

.width-27 {
  width: 27% !important;
}

.width-27-5 {
  width: 27.5% !important;
}

.width-28 {
  width: 28% !important;
}

.width-28-5 {
  width: 28.5% !important;
}

.width-29 {
  width: 29% !important;
}

.width-29-5 {
  width: 29.5% !important;
}

.width-30 {
  width: 30% !important;
}

.width-30-5 {
  width: 30.5% !important;
}

.width-31 {
  width: 31% !important;
}

.width-31-5 {
  width: 31.5% !important;
}

.width-32 {
  width: 32% !important;
}

.width-32-5 {
  width: 32.5% !important;
}

.width-33 {
  width: 33% !important;
}

.width-33-5 {
  width: 33.5% !important;
}

.width-34 {
  width: 34% !important;
}

.width-34-5 {
  width: 34.5% !important;
}

.width-35 {
  width: 35% !important;
}

.width-35-5 {
  width: 35.5% !important;
}

.width-36 {
  width: 36% !important;
}

.width-36-5 {
  width: 36.5% !important;
}

.width-37 {
  width: 37% !important;
}

.width-37-5 {
  width: 37.5% !important;
}

.width-38 {
  width: 38% !important;
}

.width-38-5 {
  width: 38.5% !important;
}

.width-39 {
  width: 39% !important;
}

.width-39-5 {
  width: 39.5% !important;
}

.width-40 {
  width: 40% !important;
}

.width-40-5 {
  width: 40.5% !important;
}

.width-41 {
  width: 41% !important;
}

.width-41-5 {
  width: 41.5% !important;
}

.width-42 {
  width: 42% !important;
}

.width-42-5 {
  width: 42.5% !important;
}

.width-43 {
  width: 43% !important;
}

.width-43-5 {
  width: 43.5% !important;
}

.width-44 {
  width: 44% !important;
}

.width-44-5 {
  width: 44.5% !important;
}

.width-45 {
  width: 45% !important;
}

.width-45-5 {
  width: 45.5% !important;
}

.width-46 {
  width: 46% !important;
}

.width-46-5 {
  width: 46.5% !important;
}

.width-47 {
  width: 47% !important;
}

.width-47-5 {
  width: 47.5% !important;
}

.width-48 {
  width: 48% !important;
}

.width-48-5 {
  width: 48.5% !important;
}

.width-49 {
  width: 49% !important;
}

.width-49-5 {
  width: 49.5% !important;
}

.width-50 {
  width: 50% !important;
}

.width-50-5 {
  width: 50.5% !important;
}

.width-51 {
  width: 51% !important;
}

.width-51-5 {
  width: 51.5% !important;
}

.width-52 {
  width: 52% !important;
}

.width-52-5 {
  width: 52.5% !important;
}

.width-53 {
  width: 53% !important;
}

.width-53-5 {
  width: 53.5% !important;
}

.width-54 {
  width: 54% !important;
}

.width-54-5 {
  width: 54.5% !important;
}

.width-55 {
  width: 55% !important;
}

.width-55-5 {
  width: 55.5% !important;
}

.width-56 {
  width: 56% !important;
}

.width-56-5 {
  width: 56.5% !important;
}

.width-57 {
  width: 57% !important;
}

.width-57-5 {
  width: 57.5% !important;
}

.width-58 {
  width: 58% !important;
}

.width-58-5 {
  width: 58.5% !important;
}

.width-59 {
  width: 59% !important;
}

.width-59-5 {
  width: 59.5% !important;
}

.width-60 {
  width: 60% !important;
}

.width-60-5 {
  width: 60.5% !important;
}

.width-61 {
  width: 61% !important;
}

.width-61-5 {
  width: 61.5% !important;
}

.width-62 {
  width: 62% !important;
}

.width-62-5 {
  width: 62.5% !important;
}

.width-63 {
  width: 63% !important;
}

.width-63-5 {
  width: 63.5% !important;
}

.width-64 {
  width: 64% !important;
}

.width-64-5 {
  width: 64.5% !important;
}

.width-65 {
  width: 65% !important;
}

.width-65-5 {
  width: 65.5% !important;
}

.width-66 {
  width: 66% !important;
}

.width-66-5 {
  width: 66.5% !important;
}

.width-67 {
  width: 67% !important;
}

.width-67-5 {
  width: 67.5% !important;
}

.width-68 {
  width: 68% !important;
}

.width-68-5 {
  width: 68.5% !important;
}

.width-69 {
  width: 69% !important;
}

.width-69-5 {
  width: 69.5% !important;
}

.width-70 {
  width: 70% !important;
}

.width-70-5 {
  width: 70.5% !important;
}

.width-71 {
  width: 71% !important;
}

.width-71-5 {
  width: 71.5% !important;
}

.width-72 {
  width: 72% !important;
}

.width-72-5 {
  width: 72.5% !important;
}

.width-73 {
  width: 73% !important;
}

.width-73-5 {
  width: 73.5% !important;
}

.width-74 {
  width: 74% !important;
}

.width-74-5 {
  width: 74.5% !important;
}

.width-75 {
  width: 75% !important;
}

.width-75-5 {
  width: 75.5% !important;
}

.width-76 {
  width: 76% !important;
}

.width-76-5 {
  width: 76.5% !important;
}

.width-77 {
  width: 77% !important;
}

.width-77-5 {
  width: 77.5% !important;
}

.width-78 {
  width: 78% !important;
}

.width-78-5 {
  width: 78.5% !important;
}

.width-79 {
  width: 79% !important;
}

.width-79-5 {
  width: 79.5% !important;
}

.width-80 {
  width: 80% !important;
}

.width-80-5 {
  width: 80.5% !important;
}

.width-81 {
  width: 81% !important;
}

.width-81-5 {
  width: 81.5% !important;
}

.width-82 {
  width: 82% !important;
}

.width-82-5 {
  width: 82.5% !important;
}

.width-83 {
  width: 83% !important;
}

.width-83-5 {
  width: 83.5% !important;
}

.width-84 {
  width: 84% !important;
}

.width-84-5 {
  width: 84.5% !important;
}

.width-85 {
  width: 85% !important;
}

.width-85-5 {
  width: 85.5% !important;
}

.width-86 {
  width: 86% !important;
}

.width-86-5 {
  width: 86.5% !important;
}

.width-87 {
  width: 87% !important;
}

.width-87-5 {
  width: 87.5% !important;
}

.width-88 {
  width: 88% !important;
}

.width-88-5 {
  width: 88.5% !important;
}

.width-89 {
  width: 89% !important;
}

.width-89-5 {
  width: 89.5% !important;
}

.width-90 {
  width: 90% !important;
}

.width-90-5 {
  width: 90.5% !important;
}

.width-91 {
  width: 91% !important;
}

.width-91-5 {
  width: 91.5% !important;
}

.width-92 {
  width: 92% !important;
}

.width-92-5 {
  width: 92.5% !important;
}

.width-93 {
  width: 93% !important;
}

.width-93-5 {
  width: 93.5% !important;
}

.width-94 {
  width: 94% !important;
}

.width-94-5 {
  width: 94.5% !important;
}

.width-95 {
  width: 95% !important;
}

.width-95-5 {
  width: 95.5% !important;
}

.width-96 {
  width: 96% !important;
}

.width-96-5 {
  width: 96.5% !important;
}

.width-97 {
  width: 97% !important;
}

.width-97-5 {
  width: 97.5% !important;
}

.width-98 {
  width: 98% !important;
}

.width-98-5 {
  width: 98.5% !important;
}

.width-99 {
  width: 99% !important;
}

.width-99-5 {
  width: 99.5% !important;
}

.width-100 {
  width: 100% !important;
}

.btn-no-border-slim, .btn-no-border {
  background-color: rgba(0, 0, 0, 0);
  border: 0px;
  outline: none;
}

.btn-no-border-slim {
  padding: 1px 1px 1px 1px;
}

.btn-mini {
  min-height: 0;
  padding: 0;
  margin: 0;
  width: 34px;
  min-width: 0;
}

.animate-hide {
  transition: 0.3s linear all;
  -moz-transition: 0.3s linear all;
  -webkit-transition: 0.3s linear all;
  opacity: 1;
}

.animate-hide.ng-hide {
  opacity: 0;
}

.longWordWrap {
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  width: 100%;
}

.animate-repeat.ng-move,
.animate-repeat.ng-enter {
  opacity: 0;
}

.animate-repeat.ng-move.ng-move-active,
.animate-repeat.ng-enter.ng-enter-active {
  opacity: 1;
}

.icon-36 {
  width: 36px;
  height: 36px;
}

.height-fill {
  height: 100%;
}

.width-fill {
  width: 100%;
}

.white-svg svg {
  fill: white;
}

.lighter-grey-svg svg {
  fill: #ccc;
}

.light-grey-svg svg {
  fill: #999;
}

.grey-svg svg {
  fill: #666;
}

.blue-svg svg {
  fill: #1976d2;
}

.green-svg svg {
  fill: #00c853;
}

.amber-svg svg {
  fill: #ffb300;
}

.red-svg svg {
  fill: #e57373;
}

.alpha-red-svg svg {
  fill: rgba(220, 10, 10, 0.6);
}

.alpha-light-red-svg svg {
  fill: rgba(220, 60, 10, 0.6);
}

.alpha-yellow-svg svg {
  fill: rgba(220, 150, 10, 0.6);
}

.alpha-light-green-svg svg {
  fill: rgba(100, 180, 10, 0.6);
}

.alpha-green-svg svg {
  fill: rgba(10, 150, 10, 0.6);
}

.min-width-64 {
  min-width: 64px;
}

.min-width-100 {
  min-width: 100px;
}

.no-margin-top-bottom {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.max-width-49-75 {
  max-width: 49.75% !important;
}

.margin-top-15 {
  margin-top: 15px;
}

.margin-bottom-50 {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.noMargin {
  margin: 0 !important;
}

.noPadding {
  padding: 0 !important;
}

.cursorArrow {
  cursor: default !important;
}

.h2-like {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.005em;
  margin-top: 0px;
}

.svg-28 md-icon {
  height: 28px;
  width: 28px;
}

.svg-32 md-icon {
  height: 32px;
  width: 32px;
}

.fit-icon {
  display: flex;
  min-width: 0;
}

.no-hover:hover {
  background-color: transparent !important;
}

.max-height-54 {
  max-height: 54px !important;
}

.min-width-25 {
  min-width: 25px;
}

.min-height-42 {
  min-height: 42px;
}

.min-height-54 {
  min-height: 54px;
}

.min-height-62 {
  min-height: 62px;
}

.min-height-100 {
  min-height: 100px;
}

.min-height-175 {
  min-height: 175px;
}

.margin-bottom {
  margin-bottom: 8px;
}

.margin-left-5 {
  margin-left: 5px;
}

.margin-left-15 {
  margin-left: 15px;
}

.margin-left-20 {
  margin-left: 20px;
}

.margin-right-5 {
  margin-right: 5px;
}

.margin-right-15 {
  margin-right: 15px;
}

.red-hightlight {
  color: #e57373;
}

.highlighted-text {
  font-size: 12pt;
  font-weight: 500;
}

.height-500 {
  height: 500px;
}

.height-50vh {
  height: 50vh;
}

.scroll {
  overflow: auto;
}

.padding-top-bottom-5 {
  padding: 5px 0;
}

.padding-left-15 {
  padding-left: 15px !important;
}

.spacer-10 {
  margin-top: 10px;
}

.spacer-20 {
  margin-top: 20px;
}

.horizontal-spacer {
  box-shadow: inset 0px 0px 1px #ddd;
  height: 1px;
  margin: 0 5px;
  padding: 0;
}

.lighter-text {
  color: #999;
  font-size: 9pt;
  font-weight: 100;
}

.light-text {
  font-size: 9pt;
  font-weight: 100;
}

.light-text-large {
  font-size: 10pt;
  font-weight: 400;
}

.new-tab,
.new-tab:hover,
.new-tab:link,
.new-tab:active,
.new-tab:visited {
  color: inherit;
  text-decoration: none;
}

.normalCase {
  text-transform: initial;
}

.fadeAnimate {
  -webkit-transition: 0.2s ease-in all;
  transition: 0.2s linear all;
}

.fadeAnimate.ng-enter,
.fadeAnimate.ng-leave.ng-leave-active {
  opacity: 0;
}

.fadeAnimate.ng-leave,
.fadeAnimate.ng-enter.ng-enter-active {
  opacity: 1;
  -webkit-transition: 0.2s ease-in all;
  transition: 0.2s linear all;
}

.no-content {
  width: 100%;
  text-align: center;
  display: block;
  padding: 2% 0;
  font-size: 12pt;
}

.noWrap {
  overflow: hidden;
  text-overflow: ellipsis;
}

.noWrap .md-label,
.spanValue.noWrap,
.noWrap > * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-focused.no-focus,
.no-hover {
  background-color: transparent !important;
}

.cursor-pointer {
  cursor: pointer;
}

/* FLEX */
.no-shrink {
  flex-shrink: 0 !important;
}

md-checkbox.checkboxUnset {
  cursor: unset;
  pointer-events: none;
  opacity: 0.44;
}

input.ng-dirty.ng-invalid {
  box-shadow: inset 0 -2px 0 #e57373 !important;
}

/**********/
/* LABELS */
/**********/
.readonly {
  color: #a0a0a0 !important;
  cursor: not-allowed;
}

/****************/
/* TABLE PAGING */
/****************/
md-select.dfPagingSelect:focus md-select-value {
  border-bottom-color: #039be5 !important;
}

md-select-menu md-content md-option[selected] {
  color: #039be5 !important;
}

.dfPaging .md-button[disabled] svg {
  fill: #aaa;
}

/* Tag */
.trSelected .tag {
  line-height: 21px;
  background-color: transparent;
  border: 1px solid white;
  font-weight: 500;
  color: white;
  text-align: center;
  padding: 0 4px;
}

df-flash-cue {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.flashLabel {
  color: #1976d2;
  font-size: 12pt;
  font-weight: 600;
  margin-bottom: 0;
}

.animated-flash-container {
  animation: flash-grow 1s ease-in-out;
  transform-origin: center center;
}

.animated-flash {
  animation: flash-shake 1s ease-in-out;
  transform-origin: center center;
  margin-left: 10px !important;
}

@keyframes flash-shake {
  0%, 20% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(30deg);
  }
  30% {
    transform: rotate(-30deg);
  }
  40% {
    transform: rotate(30deg);
  }
  50%, 100% {
    transform: rotate(0deg);
  }
}
@keyframes flash-grow {
  0%, 10% {
    transform: scale(1);
  }
  20%, 90% {
    transform: scale(1.5, 1.5);
  }
  90%, 100% {
    transform: scale(1);
  }
}
