body {
    margin: 0;
    padding: 0;
    background: #FFF;
    font: 500 18px Poppins, sans-serif;
}

h1, h2, h3, h4 {
    padding: 1rem 0 0 0;
    margin: 0 0 1rem 0;
    font-weight: 700;
    position: relative;
    line-height: 2.5rem;
    color: #B80033;
}

h1 {
    font-size: 2.15rem;
}

h2 {
    font-size: 1.85rem;
}

h3 {
    font-size: 1.55rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1.5rem 0;
    line-height: 1.8rem;
}

a {
    text-decoration: underline;
    color: #B80033;
    transition: .5s;
}

a:hover {
    color: #857c7c;
}

ul, ol {
    margin: 1.5rem 0;
    padding: 0 1.8rem;
}

ol {
    padding-left: 2rem;
}

li {
    margin-top: 0.8rem;
    line-height: 1.8rem;
}

hr {
    border: 0;
    border-bottom: 1px solid #E5E7EB;
    margin: 2rem 0;
}

pre {
    padding: 1rem 1.4rem;
    max-width: 100%;
    overflow: auto;
    line-height: 1.5rem;
    margin: 0 0 1.8rem 0;
}

code {
    padding: 3px 5px;
    font-weight: 700;
}

pre, code {
    font-family: Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace;
    background: #F6F8FA;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-size: 1rem;
}

pre code {
    border: 0;
    border-radius: 0;
    padding: 0;
    font-weight: 400;
}

blockquote {
    padding: 1.5rem;
    background: #F6F8FA;
    border-left: 5px solid #E5E7EB;
    font-style: italic;
    margin: 1rem 0 1.8rem 0;
    line-height: 1.5rem;
}

main img {
    max-width: 100%;
    height: 100%;
    margin: 1.5rem auto;
    display: block;
}

small {
    font-size: 0.95rem;
}

table {
	border-collapse: collapse;
	width: 100%;
	margin: 1rem 0 1.8rem 0;
}

td, th {
	border: 1px solid #E5E7EB;
	text-align: left;
	padding: .5rem;
}

th {
	background: #F6F8FA;
}

tr:nth-child(even) {
	background: #F6F8FA;
}

kbd {
  color: #444;
  border: 1px solid #444;
  border-bottom: 3px solid #444;
  border-radius: 5px;
  padding: 0.1rem 0.4rem;
}

mark {
  padding: 2px 5px;
  border-radius: 4px;
  background-color: #fd3;
}

figure {
    margin: 0 0 1.8rem 0;
    padding: 0;
}

figcaption {
    font-size: .9rem;
    text-align: center;
}

form {
    margin: 1.5rem auto;
    width: 60%;
}

label {
    display: block;
    margin: 0 0 .2rem 0;
}

textarea, select, input {
    font-size: 1rem;
    padding: .6rem;
    margin-bottom: .2rem;
    color: #000;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 5px;
    max-width: 100%;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    min-height: 200px;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    border: 0;
}

input[type="checkbox"],
input[type="radio"],
input[type="checkbox"] + span,
input[type="radio"] + span {
    cursor: pointer;
}

#nav-content,
#breadcrumb-content,
#banner-content,
#main-content,
#footer-content {
    margin: auto;
    max-width: 940px;
    padding: 2rem 1rem;
}

#breadcrumb-content {
    padding: 0 1rem;
}

#main-content {
    min-height: 55vh;
}

/* Classes */

.button {
    background: #B80033;
    color: #FFF;
    display: inline-block;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 .5rem 1rem 0;
    border: 0;
    font-size: 1.1rem;
    cursor: pointer;
}

.button.secondary {
    background: #000;
}

a.button, a.button:hover {
    color: #fff;
}

.center, p.center {
    text-align: center;
}

.right, p.right {
    text-align: right;
}

.required {
    color: #900;
}

.hide {
    display: none;
}

/* Header */

#header-content {
    padding: 1rem 2rem;
}

#header-content a.title {
    font-size: 2.5rem;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    line-height: 69px;
    display: inline-block;
    vertical-align: top;
}

#header-content a.title img {
    vertical-align: bottom;
    max-width: 100%;
    height: 100%;
}

#header-content nav {
    line-height: 69px;
    display: inline-block;
    vertical-align: top;
    margin-left: 3rem;
}

#header-content nav a {
    display: inline-block;
    padding: 0 1.2rem 0 0;
    text-align: center;
    text-decoration: none;
}

#header-content nav a:last-child {
    padding: 0;
}

#header-content nav a.active {
    font-weight: 700;
}

#header-content p {
    float: right;
}

#header-content p.baseline {
    margin: 1.3rem 0 0 0;
}

/* Breadcrumb */
#breadcrumb {
    background: #B80033;
}

#breadcrumb-content {
    line-height: 51px;
}

#breadcrumb-content a {
    color: #fff;
    text-decoration: none;
}

#breadcrumb-content ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#breadcrumb-content li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

#breadcrumb-content li:before {
    content: "\2022";
    color: #fff;
    margin: 0 1rem;
}

#breadcrumb-content li:first-child:before {
    content: "";
    margin: 0;
}

/* Cart */

.cart {
    float: right;
}

.cart button {
    background: #fff url(../images/basket.png) no-repeat 12px center;
    color: #B80033;
    padding: 8px 10px 8px 46px;
    margin: 0;
    text-transform: uppercase;
}

/* Zoom */
.modal.modal-zoom {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s,opacity .2s linear;
}

.modal.modal-zoom.modal-active {
    visibility: visible;
    opacity: 1;
}

.modal.modal-zoom .modal-inner {
    max-height: none;
}

.modal.modal-zoom {
    left: 5%;
    right: 5%;
    width: auto;
    border-bottom: 0;
}

.modal.modal-zoom img {
    width: 100%;
    display: block;
}

/* Screenshots */

.screenshots {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -.5rem;
}

.screenshot {
    display: inline-block;
    width: 33.3333%;
}

.screenshot a {
    display: block;
    padding: .5rem;
}

.screenshot p {
    padding: 0 .5rem;
    font-size: .9rem;
    color: #333;
    line-height: 1.5rem;
}

.screenshot img {
    margin: 0;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

/* Home */

.cards {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    margin: 3rem -.5rem;
}

.card {
    display: inline-block;
    width: 50%;
    margin-bottom: 2.3rem;
}

.card-content {
    border: 1px solid #e6e6e6;
    background: #fdfdfd;
    margin: .5rem .5rem 0 .5rem;
    padding: 1rem 1rem 0 1rem;
    text-align: center;
    height: 100%;
}

.card-content img {
    max-width: none;
    height: auto;
    margin: 1rem auto;
}

.card-content h2 {
    font-size: 1.2rem;
    line-height: 1.5rem;
    min-height: 3.5rem;
}

.card-content h2:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: calc(50% - 25px);
    width: 50px;
    height: 3px;
    background: #B80033;
}

.card-content p {
    font-size: .9rem;
    color: #333;
    line-height: 1.5rem;
    margin-bottom: .5rem;
    text-align: left;
}

/* Documentation */

.state {
    text-transform:uppercase;
    padding:0 5px;
    font-size:12px;
    font-weight:bold;
}
.critical {
    color:#e22626;
    border:1px solid #e22626;
    background:#f9d4d4;
}
.notice {
    color:#ed4f2e;
    border:1px solid #ed4f2e;
    background:#feeee1;
}
.ready {
    color:#185b00;
    border:1px solid #185b00;
    background:#d0e5a9;
}

.animate {
    text-align: center;
    margin: 5rem 0;
}

.animate p {
    margin-top: 1rem;
}

.summary {
    font-size: .95rem;
}

.summary ul {
    margin: 0;
}

.summary li {
    margin: .2rem 0;
    line-height: normal;
}

/* Footer */

#footer-content {
    text-align: center;
}

#footer-content p {
    margin: 0 0 .5rem 0;
}

#footer-content .links a {
    margin: 0 .5rem;
    font-size: 0.95rem;
}

/* Snipcart */

.snipcart__required-fields {
    margin: 16px 0;
}

.snipcart-order__order-info {
    margin: 16px 0;
}

.snipcart-order__order-info span {
    display: inline;
    font-weight: 700;
}

.prod .snipcart-test-banner {
    display: none;
}

/* Banner */
#banner {
    background: url(../images/banner.jpg) repeat-x center bottom;
    height: 300px;
    border-top: 1px solid #fff;
}

#banner-content {
    text-align: center;
}

#banner-content h1 {
    margin-bottom: 3rem;
    font-size: 1.85rem;
    color: #fff;
}

#banner-content h1 span:before {
    content: '\2022';
    padding-right: .5rem;
}

#banner-content img {
    max-width: 100%;
    height: 100%;
}

.page-content_changelog h3 {
    font-size: 1rem;
}

.page-content_changelog h3 strong {
    font-size: 1.55rem;
    margin-right: .5rem;
}

@media (max-width: 1550px) {
    #header-content nav {
        line-height: 40px;
        display: block;
        margin: 1rem 0 0 0;
        text-align: center;
    }

    .screenshot {
        width: 50%;
    }
}

@media (max-width: 1000px) {
    form {
        width: 75%;
    }

    #breadcrumb-content li:before {
        content: "";
        margin: 0;
    }

    #breadcrumb-content li.home {
        display: none;
    }

    #header-content {
        text-align: center;
        padding: 1rem;
    }

    #header-content a.title {
        display: block;
    }

    #header-content p {
        float: none;
        text-align: center;
    }

    #header-content p.baseline {
        margin: 0 0 1rem 0;
    }

    #header-content nav a,
    #header-content nav a:last-child {
        padding: 0 .5rem 0 .5rem;
    }

    .table-container {
        overflow-x: auto;
    }

    .table-container table {
        min-width: 450px;
    }

    .modal.modal-zoom {
        padding: 0;
        left: 2%;
        right: 2%;
    }

    #banner-content h1 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 500px) {
    form {
        width: 100%;
    }

    .card {
        width: 100%;
    }

    #banner-content h1 span {
        display: block;
    }

    #banner-content h1 span:before {
        content: '';
        padding: 0;
    }
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Poppins-Regular.woff2) format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Poppins-Italic.woff2) format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Poppins-Bold.woff2) format('woff2');
}