/*
 * CSS Document.
 * See: https://www.thesitewizard.com/css/mobile-friendly-responsive-design.shtml
 */

@viewport {
  width: device-width ;
  zoom: 1.0 ;
}

/* ########## LAYOUT ########## */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Segoe UI", Arial, sans-serif;
}
.page {
  position: relative;
  min-height: 100%;
}
#header {
  padding: 10px;
  background: #f8f8f8;
  border-bottom: 1px solid #f0f0f0;
}
#body {
  padding: 10px;
  padding-bottom: 60px;   /* Height of the footer */
}
#footer {
  position: absolute;
  bottom: 0;
  height: 40px;   /* Height of the footer */
  background: #f8f8f8;
  border-top: 1px solid #f0f0f0;
  width: 100%;
}


.btn-bottom {
  width: 100px;
  height: 30px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #C8C8C8;
}

/* ########## START PAGE ########## */

.title-text {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}
.input-label {
  font-size: 15px;
  font-weight: normal;
  padding-bottom: 10px;
}
.input-text {
  font-size: 15px;
  font-weight: bold;
  border: 2px solid black;
  width: 90%;
}
/*
input[type="text"] {
    font-size: 15px;
}*/
.summary-cell {
  padding-bottom: 10px;
}

/* ########## MAP ########## */

#map-canvas {
  width: 100%;
  height: 300px;
}
#info-panel {
  margin-left: 10px;
  font-size: 10px;
  text-align: right;
}

/* ########## COUNTER TRIANGLE FLASH ########## */

@keyframes triangle-animation {
  from {fill: #fff;}
  to {fill: #333;}
}
.triangle-flasher {
  animation-name: triangle-animation;  /* Identify animation. */
  animation-duration: 0.5s;
}

/* ########## COUNTER RESULT PERCENTAGE RING ########## */

.percent-ring {
}
.percent-ring--ring {
  transition: 0.35s stroke-dashoffset;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.percent-ring--ring {
}
.result-percent {
  font-size: 60px;
  font-weight: bold;
}
.result-sample-size {
  font-size: 20px;
  font-weight: bold;
}


/* ########## COUNTER AREA ########## */

.counterset-question-div {
  width: 100%;  
  text-align: center;
  font-size: 40px;
  font-weight: bold;  
  margin-bottom: 20px;
}

.counterset-table {
  width: 100%;  
}

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

/* ########## COUNTER BUTTONS ########## */

.btn-increment {
  width: 100%;
  height: 100px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #C8C8C8;
}
.btn-counter-value {
  font-size: 20px;
  font-style: italic;
  color: rgba(0,0,0,0.5);
}
.btn-counter-name {
  font-size: 60px;
  font-weight: bold;
}

.btn-decrement {
  margin-top: 10px;
  width: 20%;
  height: 20px;
  opacity: 0.5;
  border-radius: 10px;
  border: 1px solid #C8C8C8;
}

.counter-style-regular {
  background-color: #C2D0FF;
}

.counter-style-yes {
  background-color: #A0FFA0;
}.counter-style-yes:active {
  background-color: #00C200;
}

.counter-style-no {
  background-color: #FFABAB;
}.counter-style-no:active {
  background-color: #FF5B5B;
}