/**
 * Header
 */

.wpae-header {
    text-align: center;
}
.wpae-header h3 {
    color: #ff9400;
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
}
.wpae-header__insurance {}
.wpae-header__insurance p {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: #494949;
}
.wpae-header__instructions {}
.wpae-header__instructions h3 {
    margin-bottom: 0;
}
.wpae-header__instructions p {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    color: #6ca7ba;
}


/**
 * Excess items
 */

.wpae-excess-items {
    margin-right: -5px;
    margin-left: -5px;
}

.wpae-excess-item {
    position: relative;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
    float: left;
    width: 20%;

    font-family: 'PT Sans', sans-serif;
}

.wpae-excess-item__header {
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.wpae-excess-item:nth-child(1) .wpae-excess-item__header {
    background: #e6612f;
}
.wpae-excess-item:nth-child(2) .wpae-excess-item__header {
    background: #e6aa2f;
}
.wpae-excess-item:nth-child(3) .wpae-excess-item__header {
    background: #9de62f;
}
.wpae-excess-item:nth-child(4) .wpae-excess-item__header {
    background: #2fe6ab;
}
.wpae-excess-item:nth-child(5) .wpae-excess-item__header {
    background: #2fbde6;
}

.wpae-excess-item__body {
    border: 1px solid #e2e2e2;
    border-top: 0;
    color: #494949;
    text-align: center;
    text-transform: uppercase;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.wpae-excess-item__body > div {
    display: table;
    width: 100%;
    height: 45px;
}
.wpae-excess-item__body > div:not(:last-child) {
    border-bottom: 1px solid #e2e2e2;
}
.wpae-excess-item__body > div:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.wpae-excess-item__body > div .radio {
    display: table-cell;
    vertical-align: middle;
}
.wpae-excess-item__body > div .radio label {
    line-height: 20px;
}
@media (max-width: 585px) {
    .wpae-excess-item {
        width: 100%;
        margin-bottom: 10px;
    }
}
@media (min-width: 585px) and (max-width: 991px) {
    .wpae-excess-item {
        width: 100%;
        margin-bottom: 10px;
    }
    .wpae-excess-item__header {
        height: 50px;
        line-height: 50px;
        width: 150px;
        float: left;
        border-radius: 4px 0 0 4px;
    }
    .wpae-excess-item__body {
        float: left;
        height: 50px;
        line-height: 50px;
        border: none;
        border-radius: 0 4px 4px 0;
        background: #f6f6f6;
    }
    .wpae-excess-item__body > div {
        border: none;
        float: left;
        width: auto;
        padding: 0 20px;
    }
    .wpae-excess-item__body > div:not(:last-child) {
        border: none;
        border-right: 1px solid #e2e2e2;
    }
}

@media (min-width: 525px) and (max-width: 991px) {
    .wpae-excess-items {
        margin: 0 auto;
        width: 525px;
    }
}


/**
 * Instant Quote
 */

.wpae-instantQuote {
    height: 65px;
    margin-top: 30px;
    line-height: 65px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    overflow: hidden;
}

.wpae-instantQuote__label {
    float: left;
    width: 260px;
    height: 65px;
    padding: 0 15px;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #494949;
}
.wpae-instantQuote__items {
    float: left;
    width: calc(100% - 260px);
    height: 65px;
}
.wpae-instantQuote__item {
    position: relative;
    float: left;
    display: table;
    width: 50%;
    height: 65px;
    border-left: 1px solid #e2e2e2;
    text-align: center;
}
.wpae-instantQuote__item.disabled:after {
    content: 'Not available';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #fff;
}
.wpae-instantQuote__item .radio {
    display: table-cell;
    vertical-align: middle;
}
.wpae-instantQuote__item .radio label {
    line-height: 10px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #494949;
}
.wpae-instantQuote__item .radio label span {
    display: inline-block;
    margin: 0 5px 0 10px;
    font-size: 30px;
    color: #e6612f;
}

.wpae-instantQuote__item .radio label table {
    width: auto;
    margin: 0;
    display: inline-table;
    vertical-align: middle;
}

.wpae-instantQuote__item .radio label table tr:last-child {
    font-size: 12px;
}
@media (max-width: 992px) {
    .wpae-instantQuote__label {
        width: 145px;
    }
    .wpae-instantQuote__items {
        width: calc(100% - 145px);
    }
}

@media (max-width: 720px) {
    .wpae-instantQuote {
        height: auto;
    }
    .wpae-instantQuote__items {
        height: auto;
    }
    .wpae-instantQuote__item {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 450px) {
    .wpae-instantQuote__label {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #efefef;
    }
    .wpae-instantQuote__items {
        width: 100%;
    }
    .wpae-instantQuote__item {
        border-bottom: 1px solid #efefef;
    }
}


/**
 * Form
 */

#page .fapi-form {
    padding: 25px 45px;
    margin-top: 30px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
}
#page .fapi-form .form-control {
    border-radius: 4px!important;
    padding: 6px 12px;
}

#page .fapi-form .fapi-form-service-button {
    width: 100%;
}

#page .fapi-form .col-xs-12:last-child td {
    text-align: center;
}
/*#page .fapi-form .col-xs-12:last-child td:first-child {
    display: none;
}*/
#page .fapi-form .col-xs-12:last-child .btn {
    height: 52px;
    line-height: 52px;
    padding: 0;
    max-width: 310px;
    background-color: rgba(47, 189, 230, 1);
    border-radius: 6px;
    color: #fff;

    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

/**
 * Helpers
 */
.wpae-clearfix {}
.wpae-clearfix:before,
.wpae-clearfix:after {
    display: table;
    content: " ";
}
.wpae-clearfix:after {
    display: table;
    content: " ";
}