/* modified from Article on CodyHouse (http://codyhouse.co/?p=429), Terms (http://codyhouse.co/terms/) */
.cd-pricing-container ol, .cd-pricing-container ul {
    list-style: none;
}
.cd-pricing-container em {
    font-style: normal;
}
.cd-pricing-footer {
    margin: 0 !important;
    padding-top: 0 !important;
}
.cd-header {
    height: 100px;
    line-height: 170px;
    position: relative;
}
.cd-header h1 {
    text-align: center;
    color: #FFFFFF;
    font-size: 22px;
}
.cd-pricing-container {
    max-width: 1170px;
    margin: 0em auto;
}
@media only screen and (min-width: 768px) {
    .cd-pricing-container {
        margin: 0em auto;
    }
    .cd-pricing-container.cd-full-width {
        width: 100%;
        max-width: none;
    }
}
.cd-pricing-list {
    margin: 0;
}
.cd-pricing-list > li {
    position: relative;
    margin-bottom: 1em;
    background-color: #FFFFFF;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Firefox bug - 3D CSS transform, jagged edges */
    outline: 1px solid transparent;
}
@media only screen and (min-width: 768px) {
    .cd-pricing-list {
        margin: 0;
    }
    .cd-pricing-list:after {
        content: '';
        display: table;
        clear: both;
    }
    .cd-pricing-list > li {
        width: 33.333%;
        float: left;
    }
    .cd-pricing-list-4 > li {
        width: 25%;
    }
    .col-sm-9 .cd-pricing-list-4 {
        font-size: 80%;
    }
    .cd-pricing-list > li::before {
        /* separator between pricing tables - visible when number of tables > 3 */
        content: '';
        position: absolute;
        z-index: 6;
        left: -1px;
        top: 50%;
        bottom: auto;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        height: 50%;
        width: 1px;
        background-color: #b1d6e8;
    }
    .cd-pricing-list > li::after {
        /* hide gradient layer */
        display: none;
    }
    .cd-pricing-list > li.cd-popular {
        box-shadow: inset 0 0 0 3px #2980b9;
    }
    .cd-pricing-list > li.cd-popular::before {
        /* hide table separator for .cd-popular table */
        display: none;
    }
    .cd-pricing-list > li.cd-popular + li::before {
        /* hide table separator for tables following .cd-popular table */
        display: none;
    }
    .cd-has-margins .cd-pricing-list > li,
    .cd-has-margins .cd-pricing-list > li.cd-popular {
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    }
    .cd-pricing-list:nth-of-type(1)::before {
        /* hide table separator for the first table */
        display: none;
    }
    .cd-has-margins .cd-pricing-list > li {
        width: 32.333%;
        float: left;
        margin-right: 1.5%;
        border-radius: 4px 4px 6px 6px;
    }
    .cd-has-margins .cd-pricing-list-4 > li {
        width: 23.875%;
    }
    .cd-has-margins .cd-pricing-list > li:last-of-type {
        margin-right: 0;
    }
    .cd-has-margins .cd-pricing-list > li::before {
        display: none;
    }
}
@media only screen and (min-width: 1500px) {
    .cd-full-width .cd-pricing-list > li {
        padding: 2.5em 0;
    }
}
@media only screen and (min-width: 768px) {
    .cd-popular .cd-pricing-wrapper > li::before {
        /* hide table separator for .cd-popular table */
        display: none;
    }
}
.cd-pricing-header {
    position: relative;
    z-index: 1;
    padding: 1em;
    pointer-events: none;
    background-color: #3aa0d1;
    color: #FFFFFF;
}
.cd-pricing-header h2 {
    margin-bottom: -15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
}
.cd-popular .cd-pricing-header {
    background-color: #2980b9;
}
.cd-pricing-header {
    height: auto;
    pointer-events: auto;
    text-align: center;
    color: #173d50;
    background-color: transparent;
}
.cd-popular .cd-pricing-header {
    color: #2980b9;
    background-color: transparent;
}
.cd-currency,
.cd-value {
    font-size: 30px;
    font-weight: 300;
}
.cd-value sup {
    top: -1em;
    font-size: 35%;
}
.cd-duration {
    font-weight: 700;
    font-size: 13px;
    color: #8dc8e4;
    text-transform: uppercase;
}
.cd-duration::before {
    content: '/';
    margin-right: 2px;
}
.cd-monthly{
    display: block;
    margin-top: -5px;
    opacity: 65%;
    font-weight: 700;
    font-size: 75%;
}
.cd-currency,
.cd-duration {
    color: rgba(23, 61, 80, 0.4);
}
.cd-popular .cd-currency,
.cd-popular .cd-duration {
    color: #2980b9;
}
@media only screen and (min-width: 768px) {
    .cd-value {
        font-size: 70px;
        font-weight: 300;
    }
    .cd-value sup {
        top: -1.5em;
        font-size: 25%;
    }
    .cd-currency {
        display: inline-block;
        margin-top: 10px;
        vertical-align: top;
        font-size: 20px;
        font-weight: 700;
    }
    .cd-duration {
        font-size: 14px;
    }
    .cd-duration-shift {
        margin-left: -20px;
    }
    .cd-monthly{
        margin-top: -15px;
        opacity: 65%;
        font-size: 100%;
    }
}
.cd-pricing-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
@media only screen and (min-width: 768px) {
    .cd-pricing-body {
        overflow-x: visible;
    }
}
.cd-pricing-features:after {
    content: '';
    display: table;
    clear: both;
}
.cd-pricing-features li {
    width: 100%;
    float: left;
    padding: 0.25em 0;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}
.col-sm-9 > .cd-pricing-container .cd-pricing-features li {
    padding: 0.50em 0;
    font-size: 12px;
}
.col-sm-9 > .cd-pricing-container .cd-pricing-list-4 .cd-pricing-features li {
    font-size: 10px;
}
.col-sm-9 > .cd-pricing-container.well {
    margin-bottom: 0px;
    padding: 7px;
}
.full-width-form-elements .col-sm-9 > .cd-pricing-container.well {
    margin-bottom: 20px;
    padding: 15px;
}
.cd-pricing-features em {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.cd-pricing-features li {
    float: none;
    width: auto;
    padding: 1em 0;
}
.cd-popular .cd-pricing-features li {
    margin: 0 3px;
}
.cd-pricing-features li:nth-of-type(2n+1) {
    background-color: rgba(23, 61, 80, 0.06);
}
.cd-pricing-features em {
    display: inline-block;
    margin-bottom: 0;
}
.cd-has-margins .cd-popular .cd-pricing-features li {
    margin: 0;
}
@media only screen and (min-width: 768px) {
    .cd-pricing-features {
        width: auto;
    }
}
.cd-pricing-footer {
    position: relative;
    height: auto;
    padding: 1.8em 0;
    text-align: center;
}
.cd-pricing-footer::after {
    /* hide arrow */
    display: none;
}
.cd-has-margins .cd-pricing-footer {
    padding-bottom: 0;
}
.cd-select {
    position: static;
    display: inline-block;
    height: auto;
    padding: 0em 3em;
    color: #FFFFFF !important;
    border-radius: 2px;
    background-color: #0c1f28;
    font-size: 14px;
    text-indent: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}
@media only screen and (min-width: 768px) {
    .cd-select {
        padding: 1.3em 3em;
    }
}
.no-touch .cd-select:hover {
    background-color: #112e3c;
}
.cd-popular .cd-select {
    background-color: #2980b9;
}
.no-touch .cd-popular .cd-select:hover {
    background-color: #ec907e;
}
.cd-has-margins .cd-select {
    display: block !important;
    padding: 1.7em 0;
    border-radius: 0 0 4px 4px;
}
.cd-pricing-footer .radio input[type=radio] {
    position: relative;
    margin: 0 !important;
}
.cd-has-margins .cd-select.radio {
    padding: 6px 0 3px 0 !important;
}
.cd-pricing-container > div.text-muted {
    font-size: 85%;
}

form[action="/members/store/setup"] div:first-of-type .col-sm-9, form[action="/members/tools/hip-values"] div:first-of-type .col-sm-9 {
    width: 100% !important;
}