body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: Roboto;
  font-size: 12px;
  color: #424242;
}

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

header, nav, footer, section, article, div {
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

header, footer {
  flex-shrink: 0;
}

main {
  flex-grow: 1;
}

/*
 * Menu
 */
.cmenu {
  font-size: 1rem;
  text-align: center;
}

.cmenu__item {
  display: inline-block;
  padding: 2px;
  color: #444;
}

.cmenu__active-item {
  text-decoration: none;
  background-color: #ddeedd;
  cursor: default;
}

.cmenu__delimiter {
  padding: 0 2px;
}

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

.banner {
  width: 258px;
  height: 58px;
  margin: 5px auto 0;
  background: url("/images/datasurveys_logo_258_58.png");
}

/*
 * footer
 */

.footer-info {
  text-align: right;
}

.footer-copyright {
  text-align: left;
}

/*
 * common styles
 */

.pagetitle {
  padding: 6px 0;
  text-align: center;
  color: #444;
}

.project-title {
  text-align: center;
  color: #444;
}

.intro {
  width: 98%;
  max-width: 680px;
  text-align: left;
  border: 1px solid #ffcccc;
  padding: 2px 6px;
  margin: auto;
}

.card__button-wrapper {
  float: left;
  margin-right: 5px;
}

.surveys-list-card__item-title,
.locations-list-card__item-title,
.assign-list-card__item-title {
  font-weight: bold;
  width: 80px;
  display: inline-block;
}

.surveys-list-card__next-link {
  margin-left: 0.5rem;
}

.info-message {
  display: inline-block;
  border: 1px solid #17a2b8;
  max-width: 768px;
}

.danger-message {
  display: inline-block;
  border: 1px solid #721c24;
  max-width: 768px;
}

.active-item {
  background-color: #ddeedd;
}

.auto-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.small-button {
  width: 55px !important;
}

.large-checkbox {
  transform: scale(1.5);
}

.survey-progress {
  display: inline-block;
  padding-left: 1.2rem;
  font-size: 1rem;
}
.survey-progress.survey-progress--on {
  background: url("/images/loader_16x16.gif") no-repeat 0 4px;
}

/*
 * colors
 */
.text-success-icon {
  fill: #28a745;
}

.text-info-icon {
  fill: #17a2b8;
}

.text-muted-icon {
  fill: #6c757d;
}
