
button {
    width: 50%;
    margin-top: 1rem;
}

.b-flex {
    display:flex;
}

.b-flex-column {
    flex-direction: column;
}

.b-flex-center-horizontal {
    align-items:center;
}

.b-flex-center-both {
    justify-content:center;
    align-items: center;
}

.login-form {
    width: 100%;
}

.thumbImg img {
    max-width: 100%;
}

.infobox {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center
}

.import-header-logos {
    border-width: 0;
    right: 1em;
    top: 0;
    max-height: 80px;
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.import-header-logo {
    max-height: 80px;
    max-width: 100%;
}

.import-header-sublogo {
    max-height: 40px;
    max-width: 100%;
}

.import-row-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.import-row-wrapper-wrapper {
    background-color: rgba(0,0,0,0.05);
    padding: 5px 5px 5px 5px;
    border: solid 1px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    border-radius: 1rem;
    margin-top: 1rem;
}

.import-row {
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: start;
    width: 50%;
}

.import-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content:center;
    margin-bottom: 100px;
}

    .import-form-wrapper.column-3 {
        flex: 0.7
    }

.import-row div.bold {
    font-weight: bold;
}

.import-item {
    flex: 1;
}

.import-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

    .import-form-group.validator {
        margin-top: 0;
    }

.import-what-you-get {
    background-color: rgba(0,0,0,0.05);
    border: solid 1px rgba(0,0,0,0.1);
    border-radius: 1rem;
    margin-top: 1rem;
    font-size: 1rem;
}

    .import-what-you-get strong {
    }


.import-form-group label {
    margin-bottom: 0;
    flex: 1;
}

.import-form-control {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    align-self: start;
    flex: 1;
}

.import-form-group sub {
    bottom: 0;
}

.import-form-group span.help {
    text-decoration: underline;
    cursor: pointer;
    font-weight: normal;
    white-space: nowrap;
    place-self: baseline;
}

ul.select-buttons {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    padding-left: 0;
}

ul.select-buttons li {
    color: #fff;
    background-color: #337ab7;
    border: solid 1px #2e6da4;
    border-radius: 0.75rem;
    padding: 0 1rem;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
}

ul.select-buttons li:hover {
    background-color: #232b33;
}

ul.select-buttons li.selected {
    background-color: #232b33;
}

@media (max-width: 851px) {
    .import-form-control {
        align-self: unset;
    }
    input[type="color"],
    input[type="date"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="email"],
    input[type="month"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="text"],
    input[type="time"],
    input[type="url"],
    input[type="week"],
    select:focus,
    textarea {
      font-size: 16px;
    }

    login-form-control {
        font-size: 18px;
        line-height: 25px;
    }
    ccpay-form-control {
        font-size: 18px;
        line-height: 25px;
    }
    select,select:focus {
        min-height: 30px;
        -webkit-appearance: menulist-button;
        font-size: 20px;
    }
}

@media (max-width: 701px) {
    select.import-form-control, select.import-form-control:focus {
        min-height: 50px;
        font-size: 20px;
    }
}

.form-horizontal {
    margin: 0 0.45em;
    flex: 1;
    min-width: 50vw;
    background-color: rgba(0,0,0,0.05);
    padding: 1em;
    border: solid 1px rgba(0,0,0,0.1);
    border-radius: 1em;
    position: relative;
    max-width: 500px;
    margin-bottom: 100px;
}

@media (max-width: 701px) {
    .form-horizontal {
        margin: 0 0.45em;
        min-width: 100px;
        flex-basis: 100%;
        border-bottom: solid 1px rgba(0,0,0,0.5);
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-top: 0;
        background-color: white;
    }
}

@media (min-width: 702px) {
    .form-horizontal {
        margin: 0 0.45em;
        min-width: 100px;
        flex: 1;
    }

    .infobox {
        display: none;
    }

    .import-hero {
        display: flex;
        flex-direction: column;
    }

    .form-horizontal-start {
        margin-left: 0;
    }

    .form-horizontal-end {
        margin-right: 0;
    }
}

.chkExtraTime {
    display:grid;
    grid-template-columns: 1fr 5fr;
}

.chkExtraTime input {
    display: inline;
    height: 3rem;
    flex-shrink: 4;
}
.chkExtraTime label {
    display:inline;
}

.btn-place-order {
    width: 50%;
    margin-top: 1em;
}

.import-message-error {
    color: #990000 !important;
    font-size: 15px;
    display: inline;
}
.promo-message-error {
    color: #990000 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: red;
}

    .promo-message-error.hidden {
        display: none;
    }

    .import-message-error.hidden {
        display: none;
    }
    .import-error-pulse {
        box-shadow: 0 0 17px #FF9999;
        animation: pulsate 1s ease-out infinite;
    }
    @-webkit-keyframes pulsate {
        0%   { box-shadow: 0 0 0 #FF9999; }
        50%  { box-shadow: 0 0 17px #FF9999; }
        100% { box-shadow: 0 0 0 #FF9999; }
    }

.import-order-summary {
    /* margin-bottom: 2em; */
}


.import-hero-image {
    position: relative;
    width: 100%;
    height: 11em;
    display: flex;
    border-radius: 1em;
    display: flex;
    align-items: end;
    border: solid 1px rgba(0,0,0,0.25);
    overflow: hidden;
}

    .import-hero-image:before {
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position-y: 60%;
        border-radius: 1em;
        opacity: 0.2;
    }

.import-hero-thumbnail {
    background-size: contain;
    background-repeat: no-repeat;
    height: 90%;
    z-index: 2;
    margin-left: 1em;
    background-position: 50%;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0.5em;
    max-width: 260px;
    min-width: 242px;
}

    .import-hero-thumbnail img {
        height: 100%;
        visibility: hidden;
    }

.import-hero-content {
    position: relative;
    display: flex;
    padding: 1em;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.import-hero-content-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    .import-hero-content-bottom div {
        font-size: 0.75rem;
        padding: 0 0.5em;
        color: #333;
        background-color: #ededed;
        border-radius: 1em;
        border: solid 1px rgba(0,0,0,0.25);
        margin-left: 0.25em;
        margin-right: 0.25em;
        padding-top: 1px;
    }

.import-place-order-spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6em;
    z-index: 999;
    background-color: rgba(255,255,255,0.85);
    cursor: wait;
}

.import-form-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    font-size: 2em;
}
