:root {
  --black: #242e35;
  --grey-medium: #444;
  --ruby: #c01f35;
  --green: #74ad4f;
  --blue-links: #245dc1;
  --yellow: #FFFCB2;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
}

a {
  color: var(--blue-links);
  /* text-decoration: none; */
}

h2 {
  color: var(--grey-medium);
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 2em;
}

h2 a {
  text-decoration: none;
  color: var(--grey-medium);
}

h2 a:hover {
  color: var(--ruby);
}

h3 {
  font-size: 1.3em;
  margin-bottom: 0;
}

h2 + p, h3 + p {
  margin-top: 0;
}

p, li {
  line-height: 150%;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0px auto;
  padding: 0 2.5%;
}

#header {
  border-bottom: solid 1px var(--grey-medium);
}

#header .container {
  padding-top: 0.5em;
  padding-bottom: 0em;
  overflow: auto;
}

#header .logo {
  float: left;
  /* margin-bottom: 10px; */
}

#header nav {
  float: right;
  font-weight: bold;
  padding-top: 0.75em;
  text-transform: uppercase;
}

#header nav li {
  list-style: none outside none;
  display: inline-block;
  margin-right: 1.5em;
}

#header nav li a, #header nav li a:visited {
  text-decoration: none;
  color: var(--grey-medium);
  display: block;
}

#header nav li a:hover {
  color: var(--ruby);
}

#header nav li:last-child {
  margin-right: 0;
}

#body {
  clear: both;
  padding: 1em 0;
}

#footer {
  background-color: var(--grey-medium);
  color: white;
  position: relative;
  padding: 1em;
  padding-bottom: 2em;
  clear: both;
  overflow: auto;
}

#footer section {
  width: 33%;
}

#footer a, #footer a:visited {
  color: white;
  text-decoration: underline;
}

#footer a:hover {
  color: var(--ruby);
  text-decoration: none;
}

#footer li {
  list-style: none outside none;
}

#footer ul {
  padding: 0;
}

#footer nav li a, #footer nav li a:visited {
  text-decoration: none;
  color: white;
  display: block;
}

#footer nav li a:hover {
  color: var(--ruby);
}

#footer .legal {
  font-size: 0.8em;
}

#large-links a, #large-links a:visited {
  color: black;
}

#large-links a:hover {
  color: #c01f35;
  text-decoration: none;
}

.clear {
  clear: both;
}
.left {
  float: left;
}
.right {
  float: right;
}
.center {
  text-align: center;
}
.center_block {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.social_media_icon {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-color: var(--grey-medium);
  line-height: 40px;
  padding: 7px 10px;
}

.social_media_icon i {
  text-decoration: none;
  color: white;
}

.social_media_icon:hover {
  background-color: var(--ruby);
}

.headline {
  text-align: center;
  /* margin-bottom: 10px; */
  color: var(--green);
  /* text-shadow: 1px 1px 3px #999; */
}

.subheader {
  background-color: var(--grey-medium);
  color: white;
  text-align: center;
  padding: 3em;
}

.subheader h1 {
  text-transform: none;
  font-size: 2.3em;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5em;
  text-shadow: 1px 2px 2px #000;
}

.subheader p {
  font-size: 1.6em;
  font-weight: 600;
  color: #fff;
  width: 75%;
  text-shadow: 1px 2px 2px #000;
  margin: auto;
}

.subheader h1.landing-title {
  /* text-transform: uppercase; */
  font-size: 2.5em;
}

.subheader i {
  margin-bottom: 0.25em;
}

.body_squeeze {
  color: white;
  text-align: center;
  padding: 3em;
}

.body_squeeze h1 {
  text-transform: none;
  font-size: 3em;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5em;
  text-shadow: 1px 2px 2px #000;
}

.body_squeeze p {
  font-size: 1.6em;
  font-weight: 600;
  color: #fff;
  width: 75%;
  text-shadow: 1px 2px 2px #000;
  margin: auto;
}

.body_squeeze input {
  padding: 0.62em;
}

.body_squeeze input[type=submit] {
  color: white;
  background-color: var(--ruby);
  border: none;
  padding: 0.75em;
}

.body_squeeze input[type=submit]:hover {
  background-color: #e23f57;
}

.testimonial {
  padding: 0;
  background-color: #e1f5e1;
  border: 1px solid #aaa;
  font-size: 1.2em;
  line-height: 1.5em;
  overflow: auto;
  margin-bottom: 2em;
  /* border-bottom: 1px solid #aaa; */
}

.testimonial img {
  padding: 1em;
}

.testimonial p {
  padding: 0.5em;
}

.courses {
  background-color: var(--grey-medium);
  color: white;
  padding: 1em 2em;
  margin: 2em 0;
}

.instructor img {
  margin-right: 1.5em;
  border-radius: 10em;
}

.instructor h3 {
  padding-top: 1.5em;
}

.email_signup {
  background-color: #e1f5e1;
  border: 1px solid #aaa;
  padding: 2em;
}

.email_signup form {
  margin: 0 auto;
  text-align: center;
}

.email_signup h3 {
  margin-top: 0;
}

.email_signup input {
  padding: 5px;
}

.email_signup input[type=submit] {
  color: white;
  background-color: var(--ruby);
  border: none;
  padding: 7px;
}

.email_signup input[type=submit]:hover {
  background-color: #e23f57;
}

.imgText {
  margin: 0;
  padding: 25px 0 0 0;
}

.crop { width: 940px; height: 600px; overflow: hidden; margin: auto; } /* 378 x 480 */
.crop img { width: 940px; height: 960px; margin: -320px 0 0 0px; }

.cursive {
  font-family: "Shadows Into Light", cursive;
}

.flex-caption {
  color: white;
  background-color: #333;
  padding: 10px;
}

.service_area {
  width: 600px;
  height: 375px;
  position: relative;
}

.service_area .service_text {
  position: absolute;
  /* top: 0px; */
  width: 600px;
  height: 375px;
  display: table;
}

.service_area .service_text div {
  display: table-cell;
  vertical-align: middle;
}

.service_area .service_text div h2 {
  text-align: center;
  line-height: 2em;
}

.product_area {
  width: 400px;
  height: 275px;
  position: relative;
}

.product_area .product_text {
  position: absolute;
  /* top: 10px; */
  width: 400px;
  height: 275px;
  display: table;
}

.product_area .product_text div {
  display: table-cell;
  vertical-align: middle;
}

.product_area .product_text div h2 {
  text-align: center;
  line-height: 2em;
}

.left-side-image {
  float: left;
  margin: 10px 50px 30px 0px;
  border-radius: 10px;
}

.right-side-image {
  float: right;
  margin: 10px 0px 30px 50px;
  border-radius: 10px;
}

.founder img {
  border-radius: 10px;
}

.small {
  font-size: 0.8em;
}

.simple_form {
  margin: 0 auto;
  margin-bottom: 1em;
  padding: 0;
  display: inline-block;
  width: 100%;
  /* max-width: 30em; */
}

.simple_form div {
  margin-bottom: 0.5em;
}

.simple_form label {
  display: block;
  text-align: left;
}

.simple_form label, .simple_form input, .simple_form textarea {
  width: 100%;
  /* max-width: 20em; */
}

.simple_form input[type='checkbox'], .simple_form input[type='radio'] {
  width: auto;
}

.simple_form input, .simple_form textarea {
  padding: 0.5em;
}

.simple_form input[type='submit'] {
  margin-top: 0.5em;
  background-color: var(--green);
  color: white;
  border: none;
  border-radius: 2px;
  padding: 0.5em 1em;
  width: auto;
}

.simple_form input[type='submit']:hover {
  background-color: var(--ruby);
}

.simple_form textarea {
  height: 5em;
}

.simple_form span.error {
  color: red;
  display: block;
}

.simple_form .checkboxes span {
  display: block;
}

.contact-form {
  max-width: 25em;
  float: left;
}

.contact-info {
  float: right;
}

div.signup {
  text-align: center;
}

div.signup form {
  background-color: #ddd;
  padding: 1em;
  border: 1px solid #aaa;
  max-width: 30em;
}

.tutorial {
  border-bottom: solid 1px #e5e5e5;
}

.tutorial img {
  display: inline-block;
  width: 30%;
  vertical-align: top;
  margin: 1em 0em;
  border: solid 1px var(--grey-medium);
}

.tutorial .tutorial_content {
  display: inline-block;
  width: 69%;
  padding: 0 1em;
  padding-right: 0;
  margin: 0;
  color: var(--grey-medium);
}

.tutorial a {
  text-decoration: none;
}

.tutorial a:hover h3 {
  color: var(--ruby);
}

.tutorial a:hover img {
  border: solid 1px var(--ruby);
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.flash {
  text-align: center;
  background-color: var(--yellow);
  color: black;
  padding: 0.75em;
}

.notice {
  color: black;
  background-color: var(--yellow);
}

.signin_header {
  text-align: center;
  margin-top: 5%;
}

.signin_body {
  background-color: #e1f5e1;
  border: 1px solid #aaa;
  margin: 1em auto;
  width: 100%;
  max-width: 400px;
  padding: 1em 3em;
}

.signin_body h1, .signin_body h2 {
  color: var(--grey-medium);
}

.signin_body form {
  margin: 0 auto;
}

.signin_body form input {
  width: 100%;
  margin-bottom: 1em;
  padding: 0.5em;
}

.signin_body form input[type=submit] {
  color: white;
  font-weight: bold;
  background-color: var(--ruby);
  border: 1px solid var(--ruby);
  border-radius: 2px;
}

.signin_body form input[type=submit]:hover {
  filter: brightness(90%);
}

.button {
  color: white;
  font-weight: bold;
  text-decoration: none;
  background-color: var(--ruby);
  border: 1px solid var(--ruby);
  border-radius: 5px;
  padding: 10px;
  margin: 0px 10px 10px 0px;
  width: auto;
  display: inline-block;
}

.button:hover {
  filter: brightness(90%);
}

a.button, a:visited.button {
  color: white;
}

/* Compact buttons for table rows, e.g. the Show and Edit actions on the posts list. */
.button.button-small {
  font-size: 0.85em;
  padding: 2px 8px;
  margin: 0px 4px 0px 0px;
  border-radius: 3px;
}

/* Keep a table row's action buttons side by side. */
td.table_actions {
  white-space: nowrap;
}

/* Small icon in place of a long value; the full value shows on hover. */
td.table_icon {
  text-align: center;
  cursor: help;
}

.button.button-blue {
  background-color: var(--blue-links);
  border-color: var(--blue-links);
}

.button.button-green {
  background-color: var(--green);
  border-color: var(--green);
}

.simple_form label.multi_line {
  display: inline-block;
  vertical-align: top;
  margin-top: 0px;
}

.simple_form div.required abbr {
  color: red;
  position: absolute;
  margin-left: -10px;
  border-style: none;
  text-decoration: none;
}

.simple_form div.checkboxes span label {
  display: inline;
  width: auto;
  margin: 0px;
  margin-left: 5px;
  padding: 0px;
}

div.field_with_errors input {
  border: solid 1px red;
  background-color: #ffb;
}

.simple_form span.error {
  color: red;
  display: block;
  margin-left: 160px;
}

.ruby {
  color: var(--ruby);
}

/*
 * The searchable, sortable list tables (<table class="display"> inside a
 * data-controller="datatable" wrapper).
 * These rules came from the old jQuery DataTables stylesheet and keep the
 * tables looking as they did; thead th / tbody td match simple-datatables'
 * own selectors in specificity, and this file loads after it, so these win.
 */
table.display {
  margin: 0 auto;
  clear: both;
  width: 100%;
}

table.display th {
  text-align: left;
}

table.display thead th {
  padding: 3px 18px 3px 10px;
  border-bottom: 1px solid black;
  font-weight: bold;
  cursor: pointer;
}

table.display tbody td {
  padding: 3px 10px;
}

/* Old DataTables added odd/even classes to the rows for this striping. */
table.display tbody tr:nth-child(odd) {
  background-color: #E2E4FF;
}

/*
 * simple-datatables floats the first div in its top bar left. With the
 * rows-per-page selector turned off, the search box is that first div, so
 * float it right here (this selector outranks simple-datatables' own).
 */
.datatable-wrapper .datatable-top > .datatable-search {
  float: right;
}

.half_field {
  width: 49.5%;
  display: inline-block;
}

/* Submit on the left, secondary actions (e.g. delete) on the right, on one line. */
.simple_form .form_actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5em;
}

.simple_form .form_actions input[type='submit'], .simple_form .form_actions .button {
  margin: 0;
  padding: 0.5em 1em;
  border-radius: 2px;
  line-height: normal;
}

#references div {
  margin: 10px;
  margin-left: 0px;
}

#references div img {
  vertical-align: middle;
}

#references div .handle {
  cursor: move;
}

#references div {
  margin: 2px 0px;
}

#references div div {
  display: inline-block;
  width: 25%;
}

#references div div:last-child {
  width: 10%;
}

.references_header div {
  display: inline-block;
  width: 25%;
}

.references_header div:last-child {
  width: 10%;
}
