.tab-number {
    border-radius: 50%;
    padding: 10px 18px;
    background: #fff;
    border: 3px solid #d6dce0;
    color: #d6dce0;
    text-align: center;
    font: 28px Arial, sans-serif;
    font-weight: bold;
}

.custom_checkout_message{
    clear: both;
    display: block;
    margin-top: 10px;
    padding: 10px;
    text-align: left;
}

span.fa.fa-check.tab-icon {
    position: absolute;
    top: -10px;
    color: #2ecc71;
    right: -5px;
}

.tab-done .tab-number {
    position: relative;
    background: #d6dce0;
    color: #fff;
}

select:focus:not(disabled) {
    background-color: #fff !important;
}

.webforms form .fieldset .field .control select.validation-failed {
    background-color: rgba(227, 6, 19, 0.05);
    border: solid 1px #f23c1a;
}

.left-col > fieldset {
    width: 100% !important;
}

input ~ .validation-passed-icon {
    display: none;
}

input.validation-passed ~ .validation-passed-icon {
    display: unset;
    font-size: 20px;
    float: right;
    margin-right: 6px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    color: #2ecc71;
}

div.webforms form .fieldset .field.webforms-fields-postcode {
    width: calc(33% - .7rem);
}

div.webforms form .fieldset .field.webforms-fields-housenr {
    width: calc(33% - .7rem);
}

div.webforms form .fieldset .field.webforms-fields-addition {
    width: calc(33% - .7rem);
}

.webforms form .fieldset .field {
    margin-bottom: 1rem;
}

.actions-toolbar {
    margin: 0 !important;
}

.actions-col {
    vertical-align: middle;
    display: inline-block;
}

span.price-notice {
    display: none;
}

.star {
    font-style: italic;
}

.requestbutton-div {
    padding-top: 30px;
    width: 100%;
}

.requestbutton {
    width: 100%;
}

.requestbutton-div {
    padding-left: 65px;
}

button.primary {
    font-size: 16px;
}

select {
    background-image:
            linear-gradient(45deg, transparent 50%, gray 50%),
            linear-gradient(135deg, gray 50%, transparent 50%),
            linear-gradient(to right, #ccc, #ccc);
    background-position:
            calc(100% - 20px) calc(1em + 2px),
            calc(100% - 15px) calc(1em + 2px),
            calc(100% - 2.5em) 0.5em;
    background-size:
            5px 5px,
            5px 5px,
            1px 1.5em;
    background-repeat: no-repeat;
}

select:focus {
    background-image:
            linear-gradient(45deg, gray 50%, transparent 50%),
            linear-gradient(135deg, transparent 50%, gray 50%),
            linear-gradient(to right, #ccc, #ccc);
    background-position:
            calc(100% - 15px) 1em,
            calc(100% - 20px) 1em,
            calc(100% - 2.5em) 0.5em;
    background-size:
            5px 5px,
            5px 5px,
            1px 1.5em;
    background-repeat: no-repeat;
    border-color: green;
    outline: 0;
}

.dob-month {
    min-width: 70px;
}

.dob-day {
    min-width: 70px;
}

.webforms-datepicker > div {
    margin-left: 5px;
}

.request-tabs {
    text-align: center;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.request-tab {
    display: inline-block;
    padding: 20px;
    margin: 0 10px;
}

.request-tab.active {
    /*-webkit-box-shadow: 8px 0 4px -5px #2ecc71, -8px 0 4px -5px #2ecc71, 0 -6px 4px -4px #2ecc71;*/
    /*-moz-box-shadow: 8px 0 4px -5px #2ecc71, -8px 0 4px -5px #2ecc71, 0 -6px 4px -4px #2ecc71;*/
    box-shadow: 3px 0 4px -4px #2ecc71, -3px 0 4px -4px #2ecc71, 0 -3px 4px -4px #2ecc71;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: white;
    z-index: 1;
    top: 2px;
}

.tab-text {
    display: inline-block;
    max-width: 120px;
    margin-left: 5px;
}

main#maincontent {
    padding: 15px;
}

/* For some reason the inputs are placed at the top label, so clicking the top radio button would cause the bottom option to be selected */
.field.choice > input {
    display: none;
}

.field.choice {
    margin-bottom: 10px !important;
}

.summary-details {
    display: inline-block;
}

.summary-items {
    display: inline-block;
    float: right;
}

h3.legend {
    color: #333333;
}

@media screen and (min-width: 770px) {
    .actions-col {
        width: calc(50% - 1rem);
    }
}

@media screen and (max-width: 768px) {
    .request-tab {
        display: none;
    }

    .summary-details {
        display: block;
    }

    .summary-items {
        display: block;
        float: unset;
    }
}

.cart-items {
    border-bottom: .1rem solid #d1d1d1;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: relative;
}

.cart-item-description {
    margin-right: auto;
    margin-left: 2rem;
}

.cart-item-price {
    font-weight: bold;
}

.cart-item-description {
    float: right;
    margin: 0 !important;
}

.cart-item-action {
    display: inline-block;
    margin-right: 45px;
}

.cart-item-price {
    display: inline-block;
}

.cart-delete {
    font-size: 20px;
    color: #7f8c8d;
}

@media only screen and (min-width: 992px) {
    main#maincontent {
        margin-bottom: 50px;
        border-radius: 15px;
        -webkit-box-shadow: 0 0 2px 2px rgba(236,240,241,1);
        -moz-box-shadow: 0 0 2px 2px rgba(236,240,241,1);
        box-shadow: 0 0 2px 2px rgba(236,240,241,1);
    }
}