/*! Includes code from:
    - Initializr Responsive template, by Jonathan Verrecchia: http://www.initializr.com/
    - Stripe Elements Examples: https://stripe.github.io/elements-examples/
 */

html {
    color: rgb(95, 98, 95);
    background-color: #fff;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body {
    font: 26px/38px 'Crimson Text', serif; /* was 28px/40px */
    /*height: 100%;*/
    }

/* ===================
    ALL
   =================== */

a, b, h1, h2, h3, h4, h5, h6 {
    color: rgb(167, 18, 29);
}

b {
    font-weight: normal;
}

h1, h2 {
    margin-top: 0;
    margin-bottom: 0;
}

body {
    /* background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
                url("/img/molochna-map.jpg"); */
    background-image: url("/img/molochna-map-light.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    position: relative;
}

.main-container {
    overflow: auto;
    background-image: url("/img/great-trek.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    min-height: 600px;
    position: relative;
}

.bios strong {
    vertical-align: top; position: relative; /*top: 5px;*/ /* so hacky */
}

.footer-container {
    text-align: center;
    background: #333333;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Main
   ============== */

.wrapper {
    margin: 0 2.5%;
}

.footer-container footer {
    padding: 30px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
    Custom styles
   ========================================================================== */
html, body {
    height: 100%;
}

@font-face {
    font-family: 'AkzidenzGroteskBE-Regular';
    src: url('/fonts/AkzidenzGroteskBE-Regular.woff2') format('woff2'),
    url('/fonts/AkzidenzGroteskBE-Regular.woff') format('woff');
}

@font-face {
    font-family: 'AkzidenzGroteskBE-Light';
    src: url('/fonts/AkzidenzGroteskBE-Light.woff2') format('woff2'),
    url('/fonts/AkzidenzGroteskBE-Light.woff') format('woff');
}

@font-face {
    font-family: 'AkzidenzGroteskBE-Md';
    src: url('/fonts/AkzidenzGroteskBE-Md.woff2') format('woff2'),
    url('/fonts/AkzidenzGroteskBE-Md.woff') format('woff');
}

@font-face {
    font-family: 'AkzidenzGroteskBE-BoldCn';
    src: url('/fonts/AkzidenzGroteskBE-BoldCn.woff2') format('woff2'),
    url('/fonts/AkzidenzGroteskBE-BoldCn.woff') format('woff');
}

@font-face {
    font-family: 'AkzidenzGroteskBE-Bold';
    src: url('/fonts/AkzidenzGroteskBE-Bold.woff2') format('woff2'),
    url('/fonts/AkzidenzGroteskBE-Bold.woff') format('woff');
}

h1, h2, h3, h4 {
    /*font-family: Roboto, Helvetica Neue, Arial, sans-serif;*/
}

header h1, header h2 {
    text-align: center;
}

h1 {
    font-size: 1.2em;
}
h2 {
    font-size: 1.1em;
}
h3, h4 {
    font-size: 1.05em;
}

.flourish {
    height: 20px;
    background-image: url("/img/echoverlagtree.gif");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 25px 0;
}

.two-column {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*-ms-flex-align: flex-start;
    align-items: flex-start;*/
    justify-items: space-between;
}

.two-column.main-promo {
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
    /*-ms-flex-align: flex-end;
    align-items: flex-end;*/

}

.two-column > .column {
    flex: 1;
    min-width: 320px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: space-between;
}

.two-column > .column.cover {
    text-align: center;
    padding: 20px;
}

.two-column > .column p {
    margin-top: 0;
}

.two-column > .column.cover img {
    max-width: 100%;
    height: auto;
    box-shadow: 7px 8px 14px rgba(50, 50, 93, 0.25);
}

.grab-text {
    font-size: 110%;
}

p { 
}

.main-promo p {
    margin-bottom:10px;
}

.main-promo .grab-text {
    line-height: 1.5em;
}

.main-promo button {
    margin: 20px auto;
}



.promo-info {
    font-family: Roboto, Helvetica Neue, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.25em;
}

/* ====================
   Small viewports ...
   ==================== */

@media all and (min-width: 768px) {
    /* ====================
       Wide viewport ...
       ==================== */
}

.ajax-loader {
    display: block;
    text-align: center;
}

.page {
    height: 100%;
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 0;
}

.page img {
    height: 100%;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
}

img.profile {
    float: left;
    margin: 0.5em 0.5em 0.5em 0;
    height: 200px;
}



blockquote {
    border-radius: 3px;
    position: relative;
    font-size: 90%;
    font-style: italic;
    text-align: center;
    padding: 1rem 0;
    width: 80%;
    color: #4a4a4a;
    margin: 1rem 3rem 2rem;
    color: #4a4a4a;
    background: #E8E8E8;

}

blockquote:before,
blockquote:after{
    font-family: FontAwesome;
    position: absolute;
    top: 13px;
    color: #E8E8E8;
    font-size: 34px;
}
blockquote:before{
    content: "\f10d";
    margin-right: 13px;
    right: 100%;
}
blockquote:after{
    content: "\f10e";
    margin-left: 13px;
    left: 100%;
}

.excerpt blockquote {
    margin: 0 auto 200px;
    max-width: 30em;
}

.button {
    display: block;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    /*border: 1px #FF7E3D solid;
    background: #FF6D23;*/
    background: #12a752;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    color: white;
    padding: 0.5em 1em;
    margin: 2px auto;
    width: 12em;
}

.credit {
    font-size: 12px;
    line-height: 16px;
    color: rgb(153,153,153);
}

.order-buttons, .submit {
    padding: 1em 0;
    text-align: center;
}

.footer-container footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-evenly;
    font-family: Roboto, Helvetica Neue, Arial, sans-serif;
    font-weight: 300;
    font-size: 0.75em;
    line-height: 1.25em;
    color: #bcbec0;
}

.footer-container footer a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.footer-panel {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0.5em 0;
}

.footer-panel p {
    flex-basis: auto;
    margin: 0;
    padding: 0 0.5em;
    text-align: right;
}

.footer-panel + .footer-panel {
    margin-left: 2em;
}

.footer-panel .logo {
    height: 2.5em;
}

/* ============
    Order form
   ============ */

button,
select {
    border: none;
    outline: none;
    font-family: inherit;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

:root {
    /*overflow-x: hidden;*/
    height: 100%;
}

body {
    /*background: #fff;*/
    /*min-height: 100%;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "pnum";*/
}

@font-face {
    font-family: StripeIcons;
    src: url(data:application/octet-stream;base64,d09GRk9UVE8AAAZUAAoAAAAAB6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAADKAAAAx8AAAOKkWuAp0dTVUIAAAZIAAAACgAAAAoAAQAAT1MvMgAAAXAAAABJAAAAYGcdjVZjbWFwAAACvAAAAFYAAACUKEhKfWhlYWQAAAD8AAAAMAAAADYJAklYaGhlYQAAAVAAAAAgAAAAJAYoAa5obXR4AAABLAAAACQAAAAoEOAAWW1heHAAAAD0AAAABgAAAAYAClAAbmFtZQAAAbwAAAD%2FAAABuXejDuxwb3N0AAADFAAAABMAAAAg%2F7gAMgAAUAAACgAAeNpjYGRgYABifeaSpHh%2Bm68MzMwHgCIMl08yqyDo%2F95Mkcy8QC4zAxNIFAD8tAiweNpjfMAQyfiAgYEpgoGBcQmQlmFgYPgAZOtAcQZEDgCHaQVGeNpjYGRgYD7z34eBgSmCgeH%2Ff6ZIBqAICuACAHpYBNp42mNgZtzAOIGBlYGDqYDJgYGBwQNCMwYwGDEcA%2FKBUthBqHe4H4MDg4L6Imae%2Fz4MB5jPMGwBCjOC5Bi9mKYAKQUGBgAFHgteAAAAeNplkMFqwkAURU9itBVKF6XLLrLsxiGKMYH0B4IgoqjdRokajAmNUfolhX5Df7IvZhBt5zHMeffduQwDPPCFQbWM81mzyZ3uocEz95qtK0%2BTN140t2jzLk7DaotiEmk2eWSlucErH5otnvjW3OSTH82tSg8n8eaYRkVXOY4TzIaLURB2tDaPi0OSZ3Y9G09tx6lxm5erPDtVA%2BX7wT7axXm5Vmmy7ClXDfqe515CCJkQs%2BFIKk8t6KJwzhUwY8iCkVBI54%2FvvzKXruBAQk6GfZM0ZipKxdfqVpylfErlP11uKHypgL2k7iSz8qxFTSV5SU%2FIlT2gjyfl%2FgKN9EDsAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAHEEACj8QNOBhYGOyDNAYRMQFpBcZL6ov%2F%2Foaw5%2F%2F%2F%2Ff3kvH8iD2McCxExAO1kYWIE2cjCwAwAgUQwvAAB42mNgZgCD%2F1sZjBiwAAAswgHqAHjaNVFbbxNHGN2JMmtlNnIoZFFx1F2nDoTWgJLIhRQqWlRowyXiUkqE1IZLVW0dJzHYjpAhxnbYi8HXdWxsEKCIi0DdqjxVyhOKkBBS%2FdAX%2FkJfmiCe0Gz4orbjLNFo5uj79B19Z85BXGsLhxAiB7ef%2BFmZGj8XaVb9dgdn%2B5Dd02J%2F2JqFIXtpeQ5Lc6h1YzKbXcN2F%2F2qg373wZ3ly%2Bs5gpCwfpO3d8dnXwyfOheJhC9FgsovsanJ4MCuzw84sN%2BBb1Zh34ADfU7za6fq%2Fyl8Ib7K9E4Eo9HgpHLQu6aL45CB8ug6yqAbKIeyqMAhjjD1nM49596hbqQgHf2B%2Fm5xt3S8sqXlORFe%2FHuSvuD3vesUQ4eVxjgEfm08PWK5%2FoF14lBjDAJvXI0xMRS0%2BMVjbGLIbzV%2BP2y5aOC46IfAb7TzT5cFbSJwEKCc9eXifGgqtOBahN3vWy7aOS76f1zkrVNiaNw1NIpfhyBg8X%2FN428t3v2KJl6KtVqxWpXpCD2Bq5XZW3XPrWv1dMVHEmZy9pr8dhsGdQuhKt%2FTh9Mz6nTCE34Yeyy56byfUHMzqaWrEpRpHldmrpqJrosXPyV0N%2BzAsMJYKzwMwjacTmtXGe9%2B7InkrtPz3aRoaIWPSUEtGjL1wUcYFnoJXeChG7qwpmfUHkI30XsvRdMsmKZMs9TwEsjR67ik6%2Fk14hk4jVcGe4k9yMMojGDNyKiqRy1opi5phUrG7HLDnkfdxOHktZIu072wB9jFhpHReoj3UXNF3lmReb%2FC0eaMx%2BESO1NY1w2myfuMuXW7VKvJ9CQ9im9Wy3XmllpLVX0kWUzNpmW6E%2FrY8ePkjLaV%2FPCMWVTeTJidTYtyuJpuWhSOMYsuwBhMgNK0dCtxS3O7%2Fmtvy7YL9lKn7RfvbODaEerw%2BXfuPfT92WDkiopLpaJZ9pQNUy9JAlNdyjVVH6PDTDV7saB2TadSCVWQYIQeZ2F8QgTVM30zdZtFlcOVSmU1WYFXolFFeRB9Kgt8PJmMx2vJu7IwvZoOS9XRFwsLsXCylKjMyGxXrV5kXxb%2BBxsddR0AAAEAAAAAAAAAAAAA)
      format("woff");
}

.order-form {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 1040px;
}

/** Page-specific styles */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(1turn);
    }
}

@keyframes void-animation-out {
    0%,
    to {
        opacity: 1;
    }
}

body {
    /*overflow-x: hidden;*/
}

main {
    position: relative;
    display: block;
    z-index: 1;
}

.order-container {
    background-image: url("/img/1897Molotschna-2.jpg");
    width: 100%;
    /*background-attachment: fixed;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 80%;
}

.order-form {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    box-sizing: border-box;
    min-height: 400px;
}

@media only screen and (max-width: 500px) {
    .order-form {
        padding: 0;
    }
}

.order-form .order-checkout {
    flex: 1 0;
    padding-left: 2em;
    padding-right: 2em;
}

.order-form .order-item-qty {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /* should consolidate border/shadow/margin into common class */
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.order-form .order-item-img {
    box-sizing:border-box;
    padding: 0.5em;
}

.order-form .order-item-desc {
    flex-grow: 1;
    padding: 0.5em;
    line-height: 1.25em;
    box-sizing:border-box;
    position: relative;
}

.order-form .order-item-desc p:first-child {
    margin-top: 0;
}

.order-item-desc .currency {
    font-variant: small-caps;
    font-size: small;
}

.cell {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    /*justify-content: center;*/
    position: relative;
    /*-ms-flex: 1 0 calc(50% - 80px);
    flex: 1 0 calc(50% - 80px); */
    /* min-width: 100%; */
    /* min-height: 500px; */
    padding: 0 40px;
}

.order-form .cell.intro {
    padding: 0;
}

@media (min-width: 670px) {
    .order-form .cell.intro {
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }
}

.order-form .cell.intro > * {
    width: 100%;
    max-width: 700px;
}

.order-panel {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    margin: 5px;
    padding: 40px 10px;
    font-family: Roboto, Helvetica Neue, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.25em;
}

.order-form .order-customer-details {
    flex: 2 1 300px;
    -ms-flex-align: center;
    align-items: center;
}

.order-form .order-customer-details h3 {
    font-family: Roboto, Helvetica Neue, Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.order-form .order-summary {
    -ms-flex-align: center;
    align-items: center;
}

.order-form .order-summary h3 {
    text-align: left;
    font-size: 18px;
    font-weight: 500;
}

@media (min-width: 670px) {
    /*.order-form .order-customer-details {
        padding: 40px;
    }*/
}

.order-form .order-customer-details.submitted form,
.order-form .order-customer-details.submitting form {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.order-form .order-customer-details.submitted .success,
.order-form .order-customer-details.submitting .success {
    pointer-events: all;
}

.order-form .order-customer-details.submitting .success .icon {
    opacity: 1;
}

.order-form .order-customer-details.submitted .success > * {
    opacity: 1;
    transform: none !important;
}

.order-form .order-customer-details.submitted .success > :nth-child(2) {
    transition-delay: 0.1s;
}

.order-form .order-customer-details.submitted .success > :nth-child(3) {
    transition-delay: 0.2s;
}

.order-form .order-customer-details.submitted .success > :nth-child(4) {
    transition-delay: 0.3s;
}

.order-form .order-customer-details.submitted .success .icon .border,
.order-form .order-customer-details.submitted .success .icon .checkmark {
    opacity: 1;
    stroke-dashoffset: 0 !important;
}

/*.order-form .order-customer-details * {
  margin: 0;
  padding: 0;
}*/

.order-form .order-customer-details .caption {
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    padding: 15px 10px 0;
    color: #aab7c4;
    font-family: Roboto, Helvetica Neue, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.order-form .order-customer-details .caption * {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.order-form .order-customer-details .caption .no-charge {
    color: #cfd7df;
    margin-right: 10px;
}

.order-form .order-customer-details .caption a.source {
    text-align: right;
    color: inherit;
    transition: color 0.1s ease-in-out;
    margin-left: 10px;
}

.order-form .order-customer-details .caption a.source:hover {
    color: #6772e5;
}

.order-form .order-customer-details .caption a.source:active {
    color: #43458b;
}

.order-form .order-customer-details .caption a.source svg {
    margin-right: 10px;
}

.order-form .order-customer-details .caption a.source svg path {
    fill: currentColor;
}

.order-form .order-customer-details form {
    position: relative;
    width: 100%;
    max-width: 500px;
    transition-property: opacity, transform;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.order-form .order-customer-details form input::-webkit-input-placeholder {
    opacity: 1;
}

.order-form .order-customer-details form input::-moz-placeholder {
    opacity: 1;
}

.order-form .order-customer-details form input:-ms-input-placeholder {
    opacity: 1;
}

.order-customer-details .error {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    /*position: absolute;*/
    width: 100%;
    top: 100%;
    margin-top: 20px;
    left: 0;
    padding: 0 15px;
    font-size: 13px !important;
    opacity: 0;
    transform: translateY(10px);
    transition-property: opacity, transform;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.order-customer-details .error.visible {
    opacity: 1;
    transform: none;
}

.order-customer-details .error .message {
    font-size: inherit;
}

.order-customer-details .error svg {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-top: -1px;
    margin-right: 10px;
}

.order-form .order-customer-details .success {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10px;
    text-align: center;
    pointer-events: none;
    overflow: hidden;
}

@media (min-width: 670px) {
    .order-form .order-customer-details .success {
        padding: 40px;
    }
}

.order-form .order-customer-details .success > * {
    transition-property: opacity, transform;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(50px);
}

.order-form .order-customer-details .success .icon {
    margin: 15px 0 30px;
    transform: translateY(70px) scale(0.75);
}

.order-form .order-customer-details .success .icon svg {
    will-change: transform;
}

.order-form .order-customer-details .success .icon .border {
    stroke-dasharray: 251;
    stroke-dashoffset: 62.75;
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: spin 1s linear infinite;
}

.order-form .order-customer-details .success .icon .checkmark {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    transition: stroke-dashoffset 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) 0.35s;
}

.order-form .order-customer-details .success .title {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
}

.order-form .order-customer-details .success .message {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.6em;
}

.order-form .order-customer-details .success .message span {
    font-size: inherit;
}

.order-form .order-customer-details .success .reset:active {
    transition-duration: 0.15s;
    transition-delay: 0s;
    opacity: 0.65;
}

.order-form .order-customer-details .success .reset svg {
    will-change: transform;
}

.order-buttons {
    flex: 0 1 100%;
}

.order-customer-details * {
    font-family: Source Code Pro, Consolas, Menlo, monospace;
    font-size: 16px;
    font-weight: 500;
}

.order-customer-details .row {
    display: -ms-flexbox;
    display: flex;
    margin: 0 5px 10px;
    /*width: 100%;*/
}

.order-customer-details .field {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 0 10px;
}

.order-customer-details .field.half-width {
    width: 50%;
}

.order-customer-details .field.quarter-width {
    width: calc(25% - 10px);
}

.order-customer-details .baseline {
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: #cfd7df;
    transition: background-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.order-customer-details label {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 8px;
    color: #cfd7df;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform-origin: 0 50%;
    cursor: text;
    transition-property: color, transform;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.order-customer-details .input {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding-bottom: 7px;
    color: #32325d;
    background-color: transparent;
}

.order-customer-details .input[type="text"]:disabled,
.order-customer-details .select:disabled {
    color: rgb(102, 102, 102);
}

.order-customer-details .input::-webkit-input-placeholder {
    color: transparent;
    transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.order-customer-details .input::-moz-placeholder {
    color: transparent;
    transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.order-customer-details .input:-ms-input-placeholder {
    color: transparent;
    transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.order-customer-details .input.StripeElement {
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity;
}

.order-customer-details .input.focused,
.order-customer-details .input:not(.empty) {
    opacity: 1;
}

.order-customer-details .input.focused::-webkit-input-placeholder,
.order-customer-details .input:not(.empty)::-webkit-input-placeholder {
    color: #cfd7df;
}

.order-customer-details .input.focused::-moz-placeholder,
.order-customer-details .input:not(.empty)::-moz-placeholder {
    color: #cfd7df;
}

.order-customer-details .input.focused:-ms-input-placeholder,
.order-customer-details .input:not(.empty):-ms-input-placeholder {
    color: #cfd7df;
}

.order-customer-details .input.focused + label,
.order-customer-details .input:not(.empty) + label {
    color: #aab7c4;
    transform: scale(0.85) translateY(-25px);
    cursor: default;
}

.order-customer-details .input.focused + label {
    color: #24b47e;
}

.order-customer-details .input.invalid + label {
    color: #ffa27b;
}

.order-customer-details .input.focused + label + .baseline {
    background-color: #24b47e;
}

.order-customer-details .input.focused.invalid + label + .baseline {
    background-color: #e25950;
}

.order-customer-details input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border-style: none;
}

.order-customer-details input:-webkit-autofill {
    -webkit-text-fill-color: #e39f48;
    transition: background-color 100000000s;
    -webkit-animation: 1ms void-animation-out;
}

.order-customer-details .StripeElement--webkit-autofill {
    background: transparent !important;
}

.order-customer-details input {
    -webkit-animation: 1ms void-animation-out;
}

.order-customer-details select {
    -webkit-animation: 1ms void-animation-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border-style: none;
    border-radius: 0;
}

.order-customer-details select.input,
.order-customer-details select:-webkit-autofill {
    background-image: url('data:image/svg+xml;utf8,<svg width="10px" height="5px" viewBox="0 0 10 5" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path fill="#999" d="M5.35355339,4.64644661 L9.14644661,0.853553391 L9.14644661,0.853553391 C9.34170876,0.658291245 9.34170876,0.341708755 9.14644661,0.146446609 C9.05267842,0.0526784202 8.92550146,-2.43597394e-17 8.79289322,0 L1.20710678,0 L1.20710678,0 C0.930964406,5.07265313e-17 0.707106781,0.223857625 0.707106781,0.5 C0.707106781,0.632608245 0.759785201,0.759785201 0.853553391,0.853553391 L4.64644661,4.64644661 L4.64644661,4.64644661 C4.84170876,4.84170876 5.15829124,4.84170876 5.35355339,4.64644661 Z" id="shape"></path></svg>');
    background-position: 100%;
    background-size: 10px 5px;
    background-repeat: no-repeat;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}

.order-customer-details input[type="submit"] {
    display: block;
    width: calc(100% - 30px);
    height: 40px;
    margin: 40px 15px 0;
    background-color: #24b47e;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

.order-customer-details input[type="submit"]:active {
    background-color: #159570;
}

.order-customer-details span.error-message {
    color: red;
    font-size: 12px;
    font-style: italic;
}

.order-customer-details span.error-message::before {
    content: "  ";
}

.order-customer-details .error svg {
    margin-top: 0 !important;
}

.order-customer-details .error svg .base {
    fill: #e25950;
}

.order-customer-details .error svg .glyph {
    fill: #fff;
}

.order-customer-details .error .message {
    color: #e25950;
}

.order-customer-details .success .icon .border {
    stroke: #abe9d2;
}

.order-customer-details .success .icon .checkmark {
    stroke: #24b47e;
}

.order-customer-details .success .title {
    color: #32325d;
    font-size: 16px !important;
}

.order-customer-details .success .message {
    color: #8898aa;
    font-size: 13px !important;
}

.order-customer-details .success .reset path {
    fill: #24b47e;
}

.order-summary-lbl {
    width: 6em;
}

.order-summary-val {
    text-align: right;
    min-width: 5em;
}

*, *:before, *:after {
    box-sizing: border-box;
}

.product-form__item {
    /*-webkit-flex: 1 0 160px;
    -moz-flex: 1 0 160px;
    -ms-flex: 1 0 160px;
    flex: 1 0 160px;*/
    width: 100px;
    margin-bottom: 10px;
}

.product-form__item label {
    display: block;
    font-size: 0.70588em;
    font-weight: 700;
    color: rgb(102, 102, 102);
    text-transform: uppercase;
    margin-bottom: 0;
}

.product-form__item--quantity {
    -webkit-flex: 0 0 100px;
    -moz-flex: 0 0 100px;
    -ms-flex: 0 0 100px;
    flex: 0 0 100px
}


.js-qty {
    position: relative;
}

.js-qty__input {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
    line-height: 1.75em;
}

.js-qty__adjust {
    position: absolute;
    top: 0px;
    bottom: 0px;
    text-align: center;
    width: 30px;
    padding: 0px;
    background: none;
    border-style: solid;
    border-color: rgb(231, 231, 231);
    border-width: 0px;
    transition: background-color 0.03s ease-in;
}

.js-qty__adjust:hover, .js-qty__adjust:focus {
    background-color: #e7e7e7;
    transition-duration: 0.08s;
}

.js-qty__adjust .icon {
    width: 8px;
    height: 8px;
    fill: currentColor
}

.js-qty__adjust--minus {
    left: 0;
    border-right-width: 1px
}

.js-qty__adjust--plus {
    right: 0;
    border-left-width: 1px
}

.icon--wide {
    width: 40px
}

.icon__fallback-text {
    position: absolute !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0
}

/* === /Order form === */

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE ...
   ==================== */
    header {
        padding: 1em 0.5em;
    }
    .two-column > .column {
        padding: 0.5em;
    }
    blockquote {
        padding: 1rem 1.2rem;
    }

    .excerpt blockquote {
        margin: 1em 40px 400px;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .footer-container {
        -webkit-box-shadow: 0 -3px 3px rgba(51,51,51,1);
           -moz-box-shadow: 0 -3px 3px rgba(51,51,51,1);
                box-shadow: 0 -3px 3px rgba(51,51,51,1);
    }

}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 1em auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.giftwrap {
  position: relative;
  border: 1px solid #BBB;
  background: #EEE;
}
.ribbon {
  position: absolute;
  right: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 150px; height: 150px;
  text-align: right;
    border:1px solid yellow;
}
.ribbon span {
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 40px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  width: 150px;
    border:1px solid green;
  display: block;
  background: #79A70A;
  background: linear-gradient(#F70505 0%, #8F0808 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 50px; right: -30px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #8F0808;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #8F0808;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #8F0808;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #8F0808;
}
.special-promo {
    text-align: center;
    color: #4d4d4d;
    font-style: italic;
    font-weight: 600;
    font-size: 1.75em;
    line-height: 1.1em;
    letter-spacing: -1px;
    margin-bottom: 15px;
}
.order-note {
    padding: 1em;
}
.order-note p {
    margin: 0;
}
/* TRMS book secondary colour: #18c4e9 / RGB(24,196,233) */
