.custom-select {
  display: inline-block;
  width: 100%;
  height: calc(3rem + 2px);
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  vertical-align: middle;
  background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  background-size: 8px 10px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.btn-container {
  padding: 20px;
}
.btn-container .btn:not(:first-child) {
  margin-left: 30px;
}
.inline-form {
  display: inline-block;
}
.greybox {
  background-color: #f0f0f0;
  padding: 20px;
  margin-top: 10px;
}
#error-message {
  display: none;
  color: #f00;
}
body {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
  background: #fff;
  padding-top: 50px;
  font-family: Lato, 'Open Sans', sans-serif;
  font-size: 16px;
  color: #2d2d35;
}
h2 {
  margin: 0 0 6px 0;
  font-weight: bold;
}
h6 {
  margin: 2px 0 20px 0;
}
hr {
  margin: 14px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #fff;
}
ul {
  margin: 4px 0 0 0;
}
label,
h6 {
  color: #808080;
  font-size: 13px;
  font-weight: normal;
  text-shadow: -1px 1px 0 #fff;
}
h6.progress-color {
  font-family: Lato;
  font-weight: lighter;
  font-size: 30px;
  line-height: 26px;
  margin: 10px 0 20px 0;
}
h3.topic-name {
  font-family: Lato;
  font-size: 30px;
  color: #2d2d35;
  line-height: 36px;
  margin-top: 0px;
  margin-bottom: 0px;
}
h1.menu-title {
  font-family: Lato;
  font-size: 55px;
}
h1.carousel-title {
  font-size: 40px;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 20px;
}
.well {
  background: #f8f8f8;
  margin-bottom: 0;
}
.well .tab-title {
  float: left;
  margin-left: 10px;
}
.well .button-top-right {
  float: right;
  margin: 0 10px 20px 0;
}
.navbar-btn {
  min-width: 100px;
  margin-right: 8px;
}
.navbar-btn .btn {
  min-width: 100px;
}
.glyphicon {
  margin-right: 8px;
}
/*
	login window
*/
#login label {
  margin-left: 2px;
}
#login .controls {
  margin-top: 10px;
}
#login .btm-links {
  font-size: 0.9em;
  margin: 2px 0 0 0;
}
#login .btm-links #forgot-password {
  float: left;
  margin-left: 10px;
}
#login .btm-links #create-account {
  float: right;
  margin-right: 5px;
}
#login-modal .modal-dialog,
#account-signup-container .modal-dialog,
#get-username .modal-dialog,
#ebook-modal .modal-dialog {
  width: 320px;
}
#account-form-container form .well {
  margin-bottom: 0;
}
#account-form-container form label {
  margin-top: 5px;
}
/*
	modal windows
*/
.modal .modal-dialog {
  width: 480px;
}
.modal .form-group {
  margin-bottom: 0px;
}
.modal .alert {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 8px 15px 8px 15px;
}
.modal .alert-dismissable,
.modal .close {
  right: -4px;
}
.modal p {
  margin: 0;
  padding: 0;
}
.alert-success {
  color: #43894e;
}
.center-vertical {
  height: 100vh;
}
.center-vertical form {
  top: 50%;
  margin: auto;
  position: relative;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.form-horizontal .form-buttons {
  float: right;
}
.form-horizontal .form-buttons .btn {
  width: 80px;
  margin-left: 6px;
}
.form-horizontal input,
.form-horizontal select {
  height: 30px;
}
.navbar .container {
  width: 1000px;
}
.navbar,
.alert {
  margin-bottom: 0;
}
.alert {
  text-align: center;
}
.footer {
  padding: 0.8rem;
  background-color: #f2f2f2;
  text-align: center;
  font-family: Open Sans;
  font-weight: 300;
  font-size: 12px;
  color: #000;
}
#myCarousel {
  background-image: url("/img/home/herobanner.png");
  background-size: cover;
}
#myCarousel .carousel-inner {
  overflow: hidden;
  height: calc(100vh - 150px);
  position: relative;
}
#myCarousel .carousel-inner >.item {
  width: 1000px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
#myCarousel .carousel-inner >.item .carousel-item {
  height: 100%;
  width: 100%;
}
#myCarousel .carousel-inner >.item .carousel-item img {
  max-width: 100%;
}
#myCarousel .carousel-inner >.item .carousel-item h4 {
  text-align: center;
  line-height: 26px;
}
.carousel-control.right,
.carousel-control.left {
  background-image: none;
}
.learning-flashcard-header,
.essay-planner-header {
  background-color: #f39b3a;
  width: 100%;
  height: 100px;
  line-height: 100px;
  color: #fff;
}
.learning-flashcard-header .title,
.essay-planner-header .title {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}
.learning-flashcard-header .title h1,
.essay-planner-header .title h1 {
  display: inline;
  margin: 0px 0px 0px 20px;
  position: absolute;
  top: 20px;
}
.essay-planner-header {
  background-color: #15bc9e;
}
.topic-header {
  background-color: #f39b3a;
  width: 100%;
  height: 8px;
}
.grey-header {
  background-color: rgba(0,0,0,0.03);
  width: 100%;
  height: auto;
}
.grey-header .link {
  width: 1000px;
  margin: 0 auto;
}
.grey-header .link h3 {
  margin: 0;
}
.grey-header .link #topic-name {
  margin-top: 10px;
  padding-bottom: 10px;
  color: #000;
}
.essay-form {
  font-size: 20px;
  line-height: 30px;
}
:not(.confirmation).popover {
  max-width: 600px;
  width: 600px;
}
.checkbox input[type="checkbox"]:disabled + label,
.checkbox input[type="radio"]:disabled + label {
  opacity: 1 !important;
}
.essay-header {
  background-color: #15bc9e;
  width: 100%;
  height: 8px;
}
.body-content {
  width: 1000px;
  margin: 0 auto;
  min-height: calc(100vh - 83px);
}
.learning-flashcard-header + .body-content {
  min-height: calc(100vh - 200px);
}
.card-content {
  background: #fff;
  border-radius: 10px;
  -webkit-box-shadow: 2px 2px 5px 2px rgba(156,156,156,0.43);
  -moz-box-shadow: 2px 2px 5px 2px rgba(156,156,156,0.43);
  box-shadow: 2px 2px 5px 2px rgba(156,156,156,0.43);
  padding: 20px 15px;
  min-height: 400px;
  position: relative;
}
.card-content .question,
.card-content .answer {
  margin: 20px 40px;
  font-family: "Open Sans";
  font-size: 30px;
  color: #2d2d35;
  line-height: 41px;
}
.card-content #ask-mr-koh {
  position: absolute;
  top: 20px;
  right: 10px;
}
.card-content #ask-mr-koh h3 p {
  font-family: Lato;
  font-weight: bold;
  font-size: 28px;
  color: #4187e5;
  line-height: 36px;
}
.card-content #ask-mr-koh h3 span {
  color: #397fe8;
}
.card-content #ask-mr-koh.btn-link:hover {
  text-decoration: none;
}
.card-content #ask-mr-koh btn-link:hover {
  text-decoration: none;
}
.card-content .well-done-message {
  text-align: center;
  margin-top: 100px;
  color: #56b963;
}
.card-content .well-done-message img {
  margin-bottom: 20px;
}
p.send-success {
  text-align: center;
  color: #56b963;
}
#ask-mr-koh-modal .modal-dialog {
  width: 1000px;
}
.nav-buttons.row {
  margin-top: 15px;
}
.nav-buttons.row div {
  padding: 5px;
  height: 60px;
}
.nav-buttons.row div button {
  width: 100%;
  height: 100%;
}
.nav-buttons.row div .btn {
  font-size: 24px;
}
.nav-buttons.row div .btn.btn-default {
  text-align: center;
  color: #fff;
  background-color: #9facbd;
}
.nav-buttons.row div .btn .glyphicon {
  margin-right: 0px;
}
.answer {
  display: none;
}
#essay-competition img,
#flashcards img {
  width: 100%;
}
.flashcard-container {
  position: relative;
}
.flashcard-container .btn-study {
  position: absolute;
  top: 5px;
  right: 0px;
}
.btn-primary {
  color: #fff;
  background-color: #397fe8;
  border-color: #2e6da4;
}
.btn-study button {
  width: 100px;
}
.flashcard-body {
  background-image: url("/img/flashcard/herobanner-inside.png");
  background-size: cover;
  min-height: calc(100vh - 100px);
}
.link {
  font-family: Lato, "Open Sans", sans-serif;
  font-size: 20px;
  color: #a3adbb;
  line-height: 26px;
  font-weight: bold;
  padding-top: 10px;
}
.link span {
  color: #a1adbc;
}
.link a {
  color: #444;
}
.link a:hover {
  text-decoration: none;
}
.question-index {
  margin-left: 20px;
}
.question-index h3 {
  font-family: Lato;
  font-size: 30px;
  color: #a4aeba;
  line-height: 36px;
}
.question-index small {
  font-family: Lato;
  font-size: 20px;
  color: #a4aeba;
  line-height: 24px;
}
.btn-access {
  height: 50px;
  font-size: 25px;
  position: absolute;
  top: 210px;
}
.progress-color {
  color: #bd15d6;
}
#get-userinfo .modal-dialog {
  width: 600px;
}
#get-userinfo small {
  font-size: 10px;
  line-height: 10px;
}
#checkbox-group .checkbox.checkbox-inline {
  width: 24%;
}
#checkbox-group .checkbox.checkbox-inline.checkbox-other {
  width: 30%;
}
#checkbox-group .checkbox-inline+.checkbox-inline,
#checkbox-group .radio-inline+.radio-inline {
  margin-left: 0;
}
.flashcard-info-row {
  margin-bottom: 15px;
}
.chapters-big-title {
  font-family: Lato;
  font-size: 40px;
  color: #2d2d35;
  line-height: 50px;
}
span.glyphicon.glyphicon-chevron-left:hover,
span.glyphicon.glyphicon-chevron-right:hover {
  color: #397fe8;
}
.modal-backdrop {
  background-color: #2e3b4f;
}
.modal {
  text-align: center;
  padding: 0 !important;
}
.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}
.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
#ask-mr-koh-form textarea.form-control {
  height: 150px;
}
.modal-header h3 {
  margin-top: 0px;
  margin-bottom: 0px;
}
#btn-send {
  width: 400px;
}
#flashcards,
#essay-competition {
  text-align: center;
}
#flashcards:hover,
#essay-competition:hover {
  text-decoration: none;
}
#flashcards h1,
#essay-competition h1 {
  margin-top: 0px;
  font-family: Lato;
  font-weight: bold;
  font-size: 40px;
  color: #1abc9c;
}
#flashcards p,
#essay-competition p {
  color: #2d2d35;
}
#flashcards > h1 {
  color: #f39c12;
}
h3#what-you-learn {
  font-family: Lato;
  font-size: 30px;
  color: #2d2d35;
  line-height: 36px;
  text-align: center;
}
h1#random-quote {
  font-family: Lato;
  font-size: 25px;
  line-height: 36px;
  color: #a4aeba;
  line-height: 36px;
  text-align: center;
  margin: 30px 40px 40px;
}
#forgot-password {
  font-size: 10px;
  float: right;
}
.term {
  font-size: 10px;
  text-align: center;
}
.term a {
  padding-left: 5px;
}
#profile-info {
  font-size: 12px;
}
#profile-info label {
  font-family: Lato;
  font-weight: lighter;
  font-size: 20px;
  line-height: 26px;
}
#profile-info .row {
  margin-bottom: 30px;
}
#profile-info input {
  font-family: Lato;
  font-weight: 300;
}
button {
  background-color: #9facbc;
  color: #fff;
}
.btn-half-block {
  width: 49%;
  display: inline;
}
.navbar-nav a {
  color: #2d2d35;
}
.navbar-nav .btn-highlighted a {
  color: #0d2791;
  font-weight: bold;
}
.navbar-nav .btn-link:hover {
  text-decoration: none;
}
.navbar-nav a:hover {
  text-decoration: none;
}
.navbar-btn.btn-link {
  min-width: 0px;
  width: 60px;
}
.elaborate-text {
  margin-top: 10px;
  color: #555;
}
#elaborate-graphs img {
  max-width: 100%;
}
.elaborate-result-textarea {
  width: 100%;
  height: 200px;
}
#diagram-modal .modal-dialog,
#essay-view .modal-dialog,
#cca-essay .modal-dialog,
#misc-essay .modal-dialog,
#sol-essay .modal-dialog,
.modal.fade.in .modal-dialog {
  width: 800px;
}
#essay-content.result-page small {
  display: block;
  font-size: 100%;
  color: #f00;
  font-weight: bolder;
}
#essay-content .btn-add-diagram {
  margin-bottom: 20px;
}
#essay-content.result-page h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
}
#essay-content .question {
  font-family: Lato;
  font-weight: lighter;
  font-size: 24px;
  color: #000;
  margin-top: 20px;
}
#essay-content .new-plan,
#essay-content .my-essay {
  margin-top: 20px;
}
#essay-content .new-plan :not(.popover.confirmation) h3,
#essay-content .my-essay :not(.popover.confirmation) h3 {
  font-size: 30px;
  display: inline;
  margin-left: 10px;
}
#essay-content .new-plan img,
#essay-content .my-essay img {
  height: 27px;
  margin-top: -10px;
}
#essay-content .radio-wrapper {
  margin-top: 20px;
}
#essay-content .essay-menu-row {
  position: relative;
  padding-bottom: 20px;
}
#essay-content .essay-menu-row .dashboard-btn {
  position: absolute;
  top: 5px;
  right: 0px;
  width: 100px;
  font-size: 20px;
}
#essay-content .essay-menu-row .dashboard-btn.edit-btn {
  right: 120px;
}
#essay-content .essay-menu-row .dashboard-btn.delete-btn {
  right: 250px;
}
#essay-content .button-group {
  padding: 20px 0;
}
#essay-content #next-button,
#essay-content #result-button {
  float: right;
  padding-left: 10px;
}
#essay-content input[type="text"] {
  font-size: 24px;
}
#essay-content input[type="text"].form-control {
  height: 40px;
  border-radius: 0px;
}
#essay-content .fa-question-circle {
  margin-left: 4px;
}
#essay-content .question-label {
  font-size: 24px;
  font-family: Lato;
  font-weight: lighter;
  margin-bottom: 20px;
  margin-top: 20px;
}
#essay-content .options p {
  font-size: 24px;
}
#essay-content .options label p {
  font-size: 15px;
}
#essay-content .options label p.black {
  color: #000;
  font-weight: bold;
}
#essay-content .radio {
  margin: 0;
}
#essay-content .radio:last-child {
  margin-bottom: 20px;
}
#essay-content .radio:first-child {
  margin-top: 20px;
}
#essay-content .radio label {
  font-size: 20px;
  color: #000;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
}
#essay-content .radio label::before {
  width: 20px;
  height: 20px;
  margin-top: 5px;
}
#essay-content .radio label::after {
  width: 14px;
  height: 14px;
  margin-top: 18px;
}
#essay-content .checkbox {
  margin-top: 0px;
}
#essay-content .checkbox label {
  width: 100%;
  font-size: 20px;
  color: #000;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  font-size: 20px;
  color: #000;
  padding-top: 0px;
  padding-bottom: 13px;
  padding-left: 20px;
}
#essay-content .checkbox label::before {
  left: initial !important;
  margin-top: 5px;
}
#essay-content .checkbox label::after {
  left: initial !important;
  top: -13px;
  margin-top: 18px;
}
#essay-content :not(.confirmation-buttons) .btn {
  font-size: 24px;
  min-width: 50px;
}
#essay-content .btn-default {
  background-color: #a3adbb;
  color: #fff;
}
.btn.btn-link.inactivate {
  color: #000;
}
