/**
* public-facing css
*/

#pbd_iframe_container {
    width: 100%;
    margin-bottom: 16px;
}
#pbd_iframe {
    width: 100%;
    max-width: calc(100vw - 16px);
    min-height: 600px;

    margin: 0 auto;
    display: block;
}

.pbd_form_text {
    text-align: center;
    margin: 20px 0;
}

.price {
    width: 100%;
    float: left;
}

.pbd_form {
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px;
}

.pbd_form_centered {
    text-align: center;
}

.check_other_zip {
    text-decoration: underline;
    color: #069;
    float: left;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.terms_container {
    text-align: center;
    margin: 20px 0;
    clear: both;
}

.check_price_btn {
    border-radius: 0;
    height: 56px;
}

.pbd_cp_discount_note {
    max-width: 550px;
    margin: 0 auto;
    font-size: 1em;
}

.continue_button_container {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    clear: both;
}

.order_btn, #addTankButton {
    border-radius: 0;
    padding-left: 60px;
    padding-right: 60px;
    margin: 0;
}

.order_btn {
    margin-top: 10px;
}

.order_btn a {
    color: #fff;
}

#deliver_by_date {
    margin: auto;
}

.price_widget .order_btn {
    margin: auto;
}

table.price_tiers {
    max-width: 550px;
    margin: auto;
    padding-top: 10px;
}

.flow_arrow_ctr div {
    float: left;
    width: 33%;
    text-align: center;
}

.price_per_gallon_container {
    float: right;
}

.price_per_gallon {
    font-size: 2em;
    font-weight: bold;
}

.thousandths {
    font-size: 0.6em;
    vertical-align: super;
}


ol.progtrckr {
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin-bottom: 20px;
    box-sizing: border-box;
    display:flex;
    flex-flow: row nowrap;
    align-items: center;
}

ol.progtrckr li {
    display: inline-block;
    text-align: center;
    line-height: 3em;
}

ol.progtrckr a {
    color: #7a7a7a;
}

ol.progtrckr[data-progtrckr-steps="3"] li {
    width: 33%;
    margin: 0 0.2%;
    box-sizing: border-box;
}
ol.progtrckr li.progtrckr-done {
    border-bottom: 4px solid yellowgreen;
}
ol.progtrckr li.progtrckr-current {
    color: black;
    border-bottom: none;
    background: linear-gradient(to right, #9acd32 50%, silver 50%) bottom;
    background-repeat: no-repeat;
    background-size: 100% 4px;
    padding-bottom: 4px;
}
ol.progtrckr li.progtrckr-todo {
    border-bottom: 4px solid silver;
}
ol.progtrckr li:after {
    content: "\00a0";
}
ol.progtrckr li:before {
    position: relative;
    float: left;
    left: 50%;
    bottom: -2.5em;
    box-sizing: border-box;

    content: "";
    color: white;
    background-color: white;
    height: 1.2em;
    width: 1.2em;
    line-height: 1.0em;
    border: .2em solid silver;
    border-radius: 1.2em;
}
ol.progtrckr li.progtrckr-done:before {
    content: "\2713";
    color: white;
    background-color: yellowgreen;
    border: .2em solid yellowgreen;
}
ol.progtrckr li.progtrckr-current:before {
    border: .2em solid yellowgreen;
}

#editTankSection {
    max-width: 800px;
    margin: 0 auto;
}

.pick_other_container {
    text-align: center;
}

#pbd_submit {
    border-radius: 0;
}

.price_heading {
    padding: 0;
}

table.price_tiers {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 20px;
}

table.price_tiers, .price_tiers tbody, .price_tiers tr, .price_tiers td {
    border: 0;
}
table.price_tiers td h4 {
    text-align: left;
}
table.price_tiers td {
    padding: 0;
    width: 50%;
    text-align: right;
}

.pbd_form input, .pbd_form select {
    margin: 5px 0;
}

.pbd_form input:read-only {
    background: #eaeaea;
    color: #666 !important;
}

.pbd_form .product_select_container {
    width: 100%;
    max-width: 600px;
    margin: 5px auto;
}

#productSelect {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;

    background: url(../img/icon-arrow-down-b-128.png) no-repeat;
    background-size: 24px;
    background-position: right 5px center;
    background-color: white;

    height: 57px;
    min-width: 140px;
    padding: 10px;
    font-size: 16px;
}

.email_zip_input_container {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.email_zip_input_container button {
    height: 57px;
    width: 160px;
    margin: 5px 0;
}

.email_zip_input_container input {
    height: 57px;
    width: 100%;
    text-align: center;
    margin: 5px 0;
}

.zip_input_container {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.zip_input_container button {
    height: 57px;
    flex: 0 0 160px;
}

.zip_input_container input {
    height: 57px;
    flex: 1 0 140px;
    margin-right: 5px;
    min-width: 140px;
    padding: 10px;
    font-size: 16px;
}

.payment_sec {
    margin-top: 20px;
}

.connect_form_container {
    max-width: 800px;
    margin: 20px auto 10px;
    overflow: auto;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ccc;
}

.connect_form_container form {
    margin: 0;
    padding: 0;
    border: none;
}

.connect_container {
    overflow: auto;
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
}

.connect_container button {
    background: none!important;
    border: none;
    padding: 0!important;
    font-family: inherit;
    color: #069;
    text-decoration: underline;
    cursor: pointer;
    font-weight: normal;
    font-size: inherit;
    line-height: 1.2;
    border-radius: 0;
}
.connect_logo_container {
    color: #777;
    font-style: italic;
    float: right;
    padding: 5px 10px 0;
    line-height: 1.2;
}
.connect_logo_container img {
    height: 30px;
    padding: 0 0 5px 5px;
    vertical-align: middle;
}

#previousTanksContainer {
    margin-top: 20px;
    text-align: center;
}

.tanks_list {
    margin: auto;
}

.tank_button {
    margin: 5px;
}

.select_tank_section {
    width: 100%;
    float: left;
    text-align: center;
    padding: 20px 0;
}

.enter_zip h4 {
    text-align: center;
}
.pbd_price_table {
    float: left;
    width: 100%;
    padding: 5px;
}
.pbd_price_table50 {
    width: 50%;
}
.pbd_price_table h2 {
    font-size: 2em;
    text-align: center;
}
.pbd_price_table_widget h3 {
    font-size: 1.5em;
    text-align: center;
}
.pbd_price_table tr:nth-child(odd) {
    background-color: #e4e4e4;
}
.pbd_price_table tr:nth-child(1) {
    background-color: #c9c9c9;
    color: black;
}
.pbd_price_table td, .pbd_price_table th {
    text-align: center;
}

.page-template-pbd-confirmation-template #content .ast-container {
    padding-left: 0!important;
    padding-right: 0!important;
}

/* account section */
.pbd-account-nav {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    max-width: 800px;
    margin: 20px auto 10px;
    overflow: auto;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ccc;
}

a.pbd-account-nav-link {
    font-weight: bold;
    padding: 5px;
    text-decoration: none;
}
a.pbd-account-nav-link.pbd-account-nav-current {
    text-decoration: underline;
}
.pbd-account-login-ctr {
    width: 100%;
    max-width: 800px;
    margin: 20px auto 10px;
    overflow: auto;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #ccc;
    text-align: center;
}
.pbd-account-login-ctr a {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 20px auto 10px;
    overflow: auto;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.label-td {
    text-align: left;
    font-weight: bold;
}
.value-td {
    text-align: center;
    font-weight: normal;
}
.change-td {
    text-align: center;
}

.pbd_form_centered input {
    text-align: center;
}

.pbd_mobile_show { display: block; }
.pbd_srv_only .pbd_hide_srv_only { display: none; }

@media only screen and (min-width:769px) {
    .pbd_mobile_show { display: none; }
}


@media only screen and (max-width:900px) {
    .pbd_price_table50 {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .tank_button {
        float: left;
        width: 100%;
        margin: 5px;
    }

    .pbd_form .page_title {
        text-align: center;
    }

    ol.progtrckr[data-progtrckr-steps="3"] li {
        font-size: 12px;
    }

    ol.progtrckr {
        padding-bottom: 20px;
    }

    .order_btn, #addTankButton {
        padding-left: 40px;
        padding-right: 40px;
    }

    .pbd_mobile_hide { display: none; }
}
