
body {
  background: #fafafa;
  color: #333333;
  margin-top: 3rem;
  padding: 25px;
  background-color: white;
  color: black;
}

h1, h2, h4, h5, h6 {
  color: #444444;
}

h3 {
  color: #343a40;
  margin-top: 0.25em;
}

.garamond {
   font-family: Garamond, Arial, Helvetica, sans-serif;
   font-style:  italic;
   font-weight: 600;

}

.emphasis {
    color: #999;
    font-family: Georgia,"Times New Roman",Helvetica,Arial,sans-serif;
    font-size: 1em;
    font-style: italic;
    font-weight: 100;
    -line-height: 1em;
}


textarea {
  resize: vertical;
  box-sizing: border-box;
  max-width: 100%;
}

.imgbox img {
    padding: 0;
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
}

.bg-steel {
  background-color: #5f788a;
}

.site-header .navbar-nav .nav-link {
  color: #cbd5db;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2196F3;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  right: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #CCC;
}

input:focus + .slider {
  box-shadow: 0 0 1px #CCC;
}

input:checked + .slider:before {
  -webkit-transform: translateX(-26px);
  -ms-transform: translateX(-26px);
  transform: translateX(-26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*Dark mode: https://www.jqueryscript.net/other/dark-mode-bootstrap.html */
[data-theme="dark"] {
  background-color: #111 !important;
  color: #eee;
}

[data-theme="dark"] .bg-light {
  background-color: #333 !important;
}

[data-theme="dark"] .bg-white {
  background-color: #000 !important;
}

[data-theme="dark"] .bg-black {
  background-color: #eee !important;
}
/*End Dark mode css*/

/* Virtual Keyboard start */
.keyboard {
  background: #999;
  border-radius: 4px;
  color: #555;
  float: left;
  font: bold 16px Helvetica, Arial;
  margin: 5px 5px 5px 5px;
  padding: 8px;
  position: relative;
  -moz-user-select: none;
  -webkit-user-select: none;
  width: 889px;
}

div.first-ch{
  font-size: 0.8em;
}

div.second-ch{
  font-size: 1.5em;
  text-align: right;
  margin-right: 5px;
  /*font-family: cool_font;
  font-size: 1.2em;*/
}

.key {
  background: -moz-linear-gradient(left, #CCC 0%, #D8D8D8 20px, #E5E5E5 35px, #FAFAFA 100%);
  background: -webkit-linear-gradient(left, #CCC 0%, #D8D8D8 20px, #E5E5E5 35px, #FAFAFA 100%);
  border: 6px solid transparent;
  border-width: 5px 5px 8px 6px;
  border-image: -moz-linear-gradient(top, #999 0%, #BBB 45%, #BBB 55%, #CCC 95%, #DDD 100%) 49%;
  border-image: -webkit-linear-gradient(top, #999 0%, #BBB 45%, #BBB 55%, #CCC 95%, #DDD 100%) 49%;
  box-shadow: 3px -5px 6px rgba(100, 100, 100, 0.6), -4px -4px 6px rgba(100, 100, 100, 0.4), 4px -2px 5px rgba(100, 100, 100, 0.5);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  height: 60px;
  margin: 1px 0;
  padding: 2px 0 0 5px;
  position: relative;
  vertical-align: top;
}

.key:active {
  background: -moz-linear-gradient(left, #C8C8C8 0%, #D8D8D8 20px, #E5E5E5 35px, #FAFAFA 100%);
  background: -webkit-linear-gradient(left, #C8C8C8 0%, #D8D8D8 20px, #E5E5E5 35px, #FAFAFA 100%);
  box-shadow: 1px -3px 6px rgba(100, 100, 100, 0.6), -3px -3px 6px rgba(100, 100, 100, 0.3), 4px -2px 6px rgba(100, 100, 100, 0.3);
  top: 1px;
}

.w1 {
  width: 26px;
}

.w2 {
  width: 54px;
}

.w3 {
  width: 83px;
}

.w4 {
  width: 112px;
}

.w5 {
  width: 141px;
}

.w12 {
  width: 344px;
}

.w16 {
  width: 463px;
}


@-webkit-keyframe blinker {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@-moz-keyframe blinker {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}


/* Virtual Keyboard start */
.braillekeys {
  background: #999;
  border-radius: 2px;
  color: #555;
  float: left;
  font: bold 16px Helvetica, Arial;
  margin: 5px 5px 5px 5px;
  padding: 0px;
  position: relative;
  -moz-user-select: none;
  -webkit-user-select: none;

}

.smallkey {
  background: -moz-linear-gradient(left, #CCC 0%, #D8D8D8 20px, #E5E5E5 35px, #FAFAFA 100%);
  background: -webkit-linear-gradient(left, #CCC 0%, #D8D8D8 20px, #E5E5E5 35px, #FAFAFA 100%);
  border: 6px solid transparent;
  border-width: 5px 5px 8px 6px;
  border-image: -moz-linear-gradient(top, #999 0%, #BBB 45%, #BBB 55%, #CCC 95%, #DDD 100%) 49%;
  border-image: -webkit-linear-gradient(top, #999 0%, #BBB 45%, #BBB 55%, #CCC 95%, #DDD 100%) 49%;
  box-shadow: 3px -5px 6px rgba(100, 100, 100, 0.6), -4px -4px 6px rgba(100, 100, 100, 0.4), 4px -2px 5px rgba(100, 100, 100, 0.5);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  height: 35px;
  margin: 1px 0;
  padding: -2px 0px 0px 8px;
  position: relative;
  vertical-align: top;
}


/* Virtual Keyboard end */

/*Edit Braille box Start */
.editarea {
  background: #FFF;
  border-radius: 1px;
  color: #000;
  float: left;
  font: bold 24px Helvetica, Arial;
  margin: 3px 5px 3px 5px;
  padding: 0px;
  position: relative;
  -moz-user-select: none;
  -webkit-user-select: none;

}
.editbox {
  text-align: center;
  border: 2px solid;
  border-width: 1px 1px 1px 1px;
  box-shadow: 3px -5px 6px rgba(255, 255, 255, 0.6), -4px -4px 6px rgba(100, 100, 100, 0.4), 4px -2px 5px rgba(100, 100, 100, 0.5);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  height: 35px;
  min-width: 28px;
  padding: 2px;
  margin: 1px;
  padding: -2px 0px 0px 8px;
  position: relative;
  vertical-align: top;
}

.editbtn {
  margin: 0px 5px 5px 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 120px;
}

.braillebtn {
  margin: 0px 5px 5px 5px;
  width: 60px;
  height: 27px;
  font: 14px Helvetica, Arial;
  Padding: 2px;
  text-align: center;
}

.braillebtn-right {
  margin: 0px 5px 5px 5px;
  width: 60px;
  height: 27px;
  font: 14px Helvetica, Arial;
  text-align: right;
  Padding: 2px;
}

.braillebtn-left {
  margin: 0px 5px 5px 5px;
  width: 60px;
  height: 27px;
  font: 14px Helvetica, Arial;
  text-align: left;
  Padding: 2px;
}

.btn-circle.btn-sm {
    width: 30px;
    height: 30px;
    padding: 2px 2px;
    border-radius: 15px;
    font-size: 8px;
    text-align: center;
    margin: 2px;
}
.btn-circle.btn-md {
    width: 50px;
    height: 50px;
    padding: 7px 10px;
    border-radius: 25px;
    font-size: 10px;
    text-align: center;
    margin: 2px;
}
.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 12px;
    text-align: center;
    margin: 2px;
}

.editbtn-small {
  margin: 0px 0px 0px 0px;
  border: 0px;
  padding: 0px;
  display: inline-block;
  text-align: center;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 32px;
  height: 24px;
  font: 18px Helvetica, Arial;
}


/* ####Checkbox styling .squaredThree */
.NicerCheckBox input[type="checkbox"] {
    box-sizing: border-box;
    position: absolute;
    display: none;
  }

.NicerCheckBox input[type="checkbox"] + label {
    box-sizing: border-box;
    position: relative;
    display: block;
    padding-left: 30px;
    cursor: pointer;
    vertical-align: middle;
    font-size: 16px;
    line-height: 1.3em;
    margin-bottom: 8px;
  }

.NicerCheckBox input[type="checkbox"] + label:hover:before {
    border: 1px solid #0074d9;
  }

.NicerCheckBox input[type="checkbox"] + label:before {
    border-radius: 2px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    content: "";
    transition: border 0.2s ease;
    border: 1px solid rgb(214, 216, 218);
    background: transparent;
  }

.NicerCheckBox input[type="checkbox"] + label:after {
    box-sizing: border-box;
    position: absolute;
    content: "";
    transition: all 0.2s ease;
    top: 2px;
    left: 7px;
    width: 6px;
    height: 12px;
    transform: scale(0) rotate(45deg);
    border-width: 2px;
    border-style: solid;
    border-color: #fff;
    border-top: 0;
    border-left: 0;
  }

.NicerCheckBox input[type="checkbox"]:checked + label:before {
    border: #0074d9;
    background: #0074d9;
  }

.NicerCheckBox input[type="checkbox"]:checked + label:after {
    transform: scale(1) rotate(45deg);
  }

.NicerCheckBox input[type="checkbox"][disabled],
.NicerCheckBox input[type="checkbox"][disabled] + label {
    cursor: not-allowed;
  }

.NicerCheckBox input[type="checkbox"][disabled]:hover,
.NicerCheckBox input[type="checkbox"][disabled]:before,
.NicerCheckBox input[type="checkbox"][disabled]:after,
.NicerCheckBox input[type="checkbox"][disabled] + label:hover,
.NicerCheckBox input[type="checkbox"][disabled] + label:before,
.NicerCheckBox input[type="checkbox"][disabled] + label:after {
    cursor: not-allowed;
  }

.NicerCheckBox input[type="checkbox"][disabled] + label {
    color: rgb(214, 216, 218);
  }

.NicerCheckBox input[type="checkbox"][disabled] + label:before {
    border-color: rgb(214, 216, 218);
  }

.NicerCheckBox input[type="checkbox"]:checked[disabled] + label:before {
    border: rgb(102, 172, 232);
    background: rgb(102, 172, 232);
  }
