/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*:focus {
  outline: none;
}

body {
  background-color: gray;
  overflow-x: hidden;
}

header {
  padding: 0 1rem;
  color: #fff;
  background-color: #000;
  font-family: sans-serif;
  font-size: 1.5rem;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .help-btn {
  padding: 0.45rem 1rem;
  background-color: #17a2b8;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.85rem;
  cursor: pointer;
}
header .help-btn:hover {
  background-color: #117a8a;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - 50px);
  width: 100vw;
}

.controls {
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: gray;
  padding: 0 0.5rem;
}
.controls .controls-inner {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}
.controls .diff-type-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
  border-radius: 15px;
  border: 2px solid #17a2b8;
  background-color: #17a2b8;
}
.controls .diff-type-container p {
  font-family: sans-serif;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
  font-size: 0.85rem;
}
.controls .diff-type-container .set-diff-type {
  padding: 0.5rem 0.75rem;
  border: 0px;
  border-radius: 0px 15px 15px 0px;
  background-color: #117a8a;
  color: #fff;
}
.controls .control-btn {
  margin-right: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0px;
  border: 0px solid #fff;
  cursor: pointer;
  color: #fff;
}
.controls .control-btn.text-btn-1 {
  background-color: rgba(0, 26, 255, 0.35);
}
.controls .control-btn.text-btn-1.active {
  background-color: rgba(0, 26, 255, 0.75);
}
.controls .control-btn.text-btn-2 {
  background-color: rgba(235, 64, 52, 0.35);
}
.controls .control-btn.text-btn-2.active {
  background-color: rgba(235, 64, 52, 0.75);
}
.controls .control-btn.results-btn {
  background-color: rgba(0, 0, 0, 0.35);
}
.controls .control-btn.results-btn.active {
  background-color: rgba(0, 0, 0, 0.7);
}

.content {
  width: 100%;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: row;
}
.content .hidden {
  display: none;
}

.content-panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  background-color: gray;
}
.content-panel p {
  text-align: center;
  padding: 0.25rem 0;
  font-family: monospace;
  color: #fff;
}

.textarea-1,
.textarea-2 {
  font-family: monospace;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  white-space: pre-wrap;
  background-color: #000;
  color: #fff;
  line-height: 14px;
  font-size: 14px;
  border: 1px solid #fff;
  padding: 1rem;
  box-sizing: border-box;
}

.results {
  background-color: #000;
  padding: 1rem;
  font-family: monospace;
  color: #fff;
  border: 1px solid #fff;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 14px;
  font-size: 14px;
  flex-shrink: 1;
  white-space: pre-wrap;
  box-sizing: border-box;
}

.text-1-color {
  background-color: rgba(0, 26, 255, 0.75);
  color: #fff;
  text-align: center;
  font-family: monospace;
  border: 0px solid #fff;
  outline: 0px solid #fff;
  padding: 0.25rem 0;
}

.text-2-color {
  background-color: rgba(235, 64, 52, 0.75);
  color: #fff;
  text-align: center;
  font-family: monospace;
  border: 0px solid #fff;
  outline: 0px solid #fff;
  padding: 0.25rem 0;
}

.text-result-color {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  font-family: monospace;
  border: 0px solid #fff;
  outline: 0px solid #fff;
  padding: 0.25rem 0;
}
