/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

@font-face {
  font-family: 'CharisSILRegular';
  src: url('../fonts/CharisSILR-webfont.eot');
  src: url('../fonts/CharisSILR-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CharisSILR-webfont.woff') format('woff'),
    url('../fonts/CharisSILR-webfont.ttf') format('truetype'),
    url('../fonts/CharisSILR-webfont.svg#CharisSILRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CharisSILBold';
  src: url('../fonts/CharisSILB-webfont.eot');
  src: url('../fonts/CharisSILB-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/CharisSILB-webfont.woff') format('woff'),
    url('../fonts/CharisSILB-webfont.ttf') format('truetype'),
    url('../fonts/CharisSILB-webfont.svg#CharisSILBold') format('svg');
  font-weight: normal;
  font-style: normal;
}

.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

.tool-container {
  margin: 0 0 3rem;
  position: relative;
  padding: 0;
  clear: both;
}

.box-container {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  overflow-x: scroll;
  overflow-y: visible;
}

.borderedcontainer {
  margin: 0 auto;
  width: 100%;
  /* height: 500px; */
  top: -20px;
  left: -10px;
  position: relative;
  border: 1px solid #888;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 1px 1px 2px #777;
  -webkit-box-shadow: 1px 1px 2px #777;
  box-shadow: 1px 1px 2px #777;
  padding: 1px;
}

.column-box {
  position: relative;
  margin: 0 auto;
  /* width: 310px;
	height: 300px; */
  resize: vertical;
}

.column-box {
  width: 48%;
}

.orth-header {
  font-family: "Aboriginal Serif", 'CharisSILRegular', "Cambria", "Lucida Sans Unicode", "Calibri", "Consolas", "Charis SIL", 'CharisSILRegular', "Aboriginal Sans", "Doulos SIL", "Helvetica", "Arial", "Verdana", sans-serif;
  font-size: 2rem;
  margin: 1.25rem 0 0.25rem;
  padding: 2px;
  text-align: center;
}

.write {
  width: 100%;
  height: 200px;
  font-family: "Aboriginal Serif", 'CharisSILRegular', "Cambria", "Lucida Sans Unicode", "Calibri", "Consolas", "Charis SIL", 'CharisSILRegular', "Aboriginal Sans", "Doulos SIL", "Helvetica", "Arial", "Verdana", sans-serif;
  font-size: 20px;
}

.upwedge {
  margin: 0 auto;
  width: 30px;
  top: -10px;
  position: relative;
  z-index: 15;
}

.keyboard {
  position: relative;
  max-width: 98%;
  width: 98%;
  left: 0;
  margin-top: -20px;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
  background-color: #ddd;
  border: 1px solid #888;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 1px 1px 2px #777;
  -webkit-box-shadow: 1px 1px 2px #777;
  box-shadow: 1px 1px 2px #777;
  padding: 5px;
  z-index: 1;
}

.keyboardRow {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

.keyboardRow li {
  cursor: pointer;
  display: table-cell;
  vertical-align: middle;
  margin: 1px;
  padding: 8px 2px 0;
  min-width: 26px;
  border: 1px solid #bbb;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;
  -moz-box-shadow: 1px 1px 1px #999;
  -webkit-box-shadow: 1px 1px 1px #999;
  box-shadow: 1px 1px 1px #999;
}

.keyboardRow li span {
  white-space: nowrap; /* Keys on keyboard should not wrap text to second line */
}

.keyboardRow li.half {
  min-width: 15px;
  padding: 3px;
  border: 1px solid #bbb;
}

.keyboardRow li {
  background-color: #FFF;
  border: 1px solid #aaa;
  border-radius: 8px;
  font-family: "Aboriginal Serif", 'CharisSILRegular', "Cambria", "Lucida Sans Unicode", "Calibri", "Consolas", "Charis SIL", 'CharisSILRegular';
}

.keyboardRow li.capslock::before {
  content: "^";
}

.keyboardRow li.capslock img {
  display: none;
  /* padding: 9px 4px 4px 4px; */
}

.keyboardRow li.symbol:hover {
  cursor: pointer;
}

.keyboardRow li:active {
  position: relative;
  top: 1px;
  left: 1px;
  -moz-box-shadow: 0px 0px 2px #999;
  -webkit-box-shadow: 0px 0px 2px #999;
  box-shadow: 0px 0px 2px #999;
}

.nodisplay {
  display: none;
}

.hint {
  font-family: "Aboriginal Serif", 'CharisSILRegular', "Cambria", "Lucida Sans Unicode", "Calibri", "Consolas", "Charis SIL", 'CharisSILRegular', "Aboriginal Sans", "Doulos SIL", "Helvetica", "Arial", "Verdana", sans-serif;
  font-size: 14px;
  margin: 0 auto;
  width: 800px;
  position: relative;
  top: 80px;
}

.hint h1 {
  text-align: center;
}

.hint table {
  border: 0px;
  padding: 0px;
  margin: 0px;
}

.orthSelect {
  list-style-type: none;
}

.orthSelect li {
  padding: none;
  margin: none;
}



@media (max-width: 960px) {
  .orth-header {
    font-size: 1.5rem;
  }

  .write {
    width: 98%;
  }

  .box-container {
    flex-direction: column;
  }

  .column-box {
    width: 98%;
  }
}

/* Buttons */

.dropdown {
  position: relative;
}

.dropdown-toggle {
  white-space: nowrap;
}

.dropdown-menu {
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .15);
  color: #212529;
  display: none;
  float: left;
  font-size: 1rem;
  left: 0;
  list-style: none;
  margin: .125rem 0 0;
  min-width: 10rem;
  overflow: hidden;
  padding: .5rem 0;
  position: absolute;
  text-align: left;
  top: 100%;
  z-index: 1000;
}

.dropdown-item {
  background-color: transparent;
  border: 0;
  clear: both;
  color: #212529;
  display: block;
  font-weight: 400;
  padding: .25rem 1.5rem;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}

.dropdown-item:hover {
  background-color: #e9ecef;
  color: #16181b;
  text-decoration: none;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #0d506e;
  color: #fff;
  text-decoration: none;
}

.btn {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  color: #212529;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  padding: .375rem .75rem;
  text-align: center;
  text-decoration: none;
  -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
  -o-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: middle;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
}

.btn-secondary {
  background-color: #575757;
  border-color: #575757;
  color: #fff;
}