/**
 * Main elements
 */

html,
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-size: 16px;
}

body {
  background-color: #fff;
  color: #000;
}

p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Times";
}

h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 30px;
}

h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 14px;
  margin-top: 24px;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 18px;
}

h4 {
  font-size: 20px;
  margin-bottom: 4px;
  margin-top: 16px;
}

h5 {
  font-size: 18px;
  margin-bottom: 4px;
  margin-top: 12px;
}

a {
  overflow-wrap: anywhere;
}

/**
 * Tables
 */

table {
  border-collapse: collapse;
}

th,
td {
  vertical-align: top;
  border: 1px solid black;
}

/**
 * Forms
 */
input[type=text],
input[type=number],
input[type=email],
input[type=password],
input[type=search],
input[type=tel],
input[type=url],
select,
textarea {
  box-sizing: border-box;
  width: 100%;
}

input,
textarea {
  box-sizing: border-box;
  padding: 5px;
  margin-top: 6px;
  margin-bottom: 6px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

input:hover,
textarea:hover {
  border: 2px solid rgba(0, 0, 0, 0.24);
}

button,
input[type=button] {
  padding: 5px;
  border-radius: 3px;
  border: 0;
  font-size: 1em;
}

textarea {
  height: 150px;
}

input:focus,
textarea:focus {
  border: 2px solid #0099ff;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.1);
}

button,
input[type=button] {
  margin: 3px;
}

button::-moz-focus-inner,
input[type=button]::-moz-focus-inner {
  border: 0;
}

button[type=submit] {
  background-color: #0099ff;
  color: white;
}

button[type=submit]:focus {
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
}

button,
input[type=button] {
  background-color: #0099ff;
  color: white;
}

button:focus,
input[type=button]:focus {
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
}

input:focus,
textarea:focus {
  border: 2px solid #0099ff;
}

button[type=submit] {
  background-color: #0099ff;
  color: white;
}

button[type=submit]:focus {
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
}

button,
input[type=button] {
  background-color: #0099ff;
  color: white;
}

button:focus,
input[type=button]:focus {
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
}

button[type=submit] {
  background-color: rgba(0, 153, 255, 1);
  color: rgba(255, 255, 255, 1);
}

button,
input[type=button] {
  background-color: rgba(0, 153, 255, 1);
  color: rgba(255, 255, 255, 1);
}

/**
 * Section content/widgets
 */

.section-content {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  max-width: 900px;
}

.section-content .column {
  position: relative;
}

.section-content .column:not(:last-child) {
  flex-grow: 1;
  flex-shrink: 1;
  margin-right: 5%;
}

.section-content .col-4 {
  flex-basis: 20%;
}

.section-content .col-3 {
  flex-basis: 28%;
}

.section-content .col-2 {
  flex-basis: 45%;
}

.section-content .col-1 {
  flex-basis: 100%;
  margin-right: 0;
  max-width: 100%;
}

.widget {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.youtube-widget iframe {
  max-width: 100%;
}

/**
 * Mobile view
 */
@media (max-width: 767.98px) {
  .section-content .column {
    max-width: 100vw;
  }

  .section-content .column.col-2 {
    flex-basis: 100%;
  }

  .widget {
    margin-left: 8px;
    margin-right: 8px;
  }
}

/**
 * Built with Fabrica
 */

#built-with-fabrica-badge {
  border-radius: 3px;
  position: absolute;
  font-family: "Segoe UI", sans-serif;
  right: 20px;
  border: 1px solid rgba(128, 128, 128, 0.7);
  background-color: white;
  color: black;
  font-size: 10px;
  bottom: 40px;
  position: fixed;
}

#built-with-fabrica-badge a {
  display: block;
  white-space: nowrap;
  color: black;
  text-decoration: none;
  padding: 5px 7px;
}

#built-with-fabrica-badge:hover {
  border-color: #0099ff;
  color: white;
}
