
img#cpc_logo_calculator{
    float: left;
    margin-right: 100px;
}
.cpc_rate_details{
    clear: both;
}
.cpc_summary_rate{
    clear: both;
    border-top: 1px solid #CFCFCF;
    padding-top: 10px;
}
@media (max-width:991px){
    img#cpc_logo_calculator{
        float:none;
        display: block;
    }
}
h2#title{
    margin-left: 20px;
    float: left;
    color: #000;
}
div#cpc_rates{
    clear: both;
    margin: 0 auto;
    width: 100%;
    border-bottom: 1px solid #CFCFCF;
    overflow: hidden;
}

@media (max-width:797px){
    div#cpc_rates{
        clear: both;
        margin: 0 auto;
        width: 100%;
    }
}

/*
    radio
*/
input[type="radio"].cpc_input_rate{
    display: none;
}
input[type="radio"].cpc_input_rate + label span.cpc_circle {
    display:inline-block;
    width: 25px;
    height: 25px;
    vertical-align:middle;
    background:url(../img/icon-circle-no.png) no-repeat;
    cursor:pointer;
}
input[type="radio"].cpc_input_rate:checked + label span.cpc_circle {
    background:url(../img/icon-circle-yes.png) no-repeat;
}

/*
    checkbox
*/
input[type="checkbox"].cpc_input_cl{
    display: none;
}
input[type="checkbox"].cpc_input_cl + label span.cpc_square {
    display:inline-block;
    width: 25px;
    height: 25px;
    vertical-align:middle;
    background:url(../img/icon-square-no.png) no-repeat;
    cursor:pointer;
    margin-top: 4px;
}
input[type="checkbox"].cpc_input_cl:checked + label span.cpc_square {
    background:url(../img/icon-square-yes.png) no-repeat;
}

/*
    chevron
*/

.cpc_chevron{
    margin-left: 15px;
    font-size: 25px;
    color: rgb(0,123,198);
    width: 30px;
    float: left;
}

.cpc_chevron-up{
    background: url(../img/icon-chevron-up.png) no-repeat;
}
.cpc_chevron-down{
    background: url(../img/icon-chevron-down.png) no-repeat;
}

div#cpc_rates label.cpc_description_rate{
    color: rgb(0,123,198);
    font-size: 16px;
    margin-left: 3px;
    float: left;
    text-align:left;
}

div#cpc_rates label.cpc_description_rate .cpc_tintae{
    font-weight: lighter;
    color: #746969;
}

p.cpc_safe_pay{
    font-size: 16px;
    color:#777;
    float: left;
    margin-top: 10px;
    display: block;
    width: 70%;
    font-weight: bolder;
}
@media (max-width:797px){
    h2{
        margin-top: 10px;
    }
}
h3{
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
}

div#rate_detail{
    width: 100%;
    margin: 0 auto;
}
@media (max-width:991px){
    div#rate_detail{
        width: 100%;
        margin: 0 auto;
    }
}

.cpc_div_detail {
    margin-top: 25px;
}

.cpc_div_detail ul li {
    display: block;
    float: left;
    width: 24%;
    text-align: center;
    border-left: 1px solid #CFCFCF;
}

.cpc_div_detail ul li:nth-child(1) {
    border-left: none;
}

@media (max-width:797px){
    .cpc_div_detail ul li{
        width: 48%;
        height: 150px;
    }
    .cpc_div_detail ul li:nth-child(3) {
        border-left: none;
    }
    .cpc_div_detail ul li:nth-child(1),
    .cpc_div_detail ul li:nth-child(2){
        border-bottom: 1px solid #C7C7C7;
    }

    .cpc_div_detail ul li:nth-child(3),
    .cpc_div_detail ul li:nth-child(4){
        padding-top: 25px;
    }
    .cpc_chevron{
        float: left;
        padding-bottom: 15px;
        position: relative;
        top: 0px;
        margin-right: 15px;
    }
}

@media (max-width:400px){
    .cpc_div_detail ul li {
        height: 185px;
    }
    .cpc_chevron{
        float: right;
    }
}
.cpc_div_detail ul li div {
    padding: 15px;
}

.cpc_div_detail ul li p.title {
    font-size: 18px;
}

.cpc_div_detail ul li p.price {
    color: rgb(0,123,198);
    font-size: x-large;
}

@media (max-width: 1200px) and (min-width: 400px) and (orientation: landscape) {
    .cpc_div_detail ul li p.price {
        color: rgb(0,123,198);
        font-size: small;
    }
}
.cpc_div_detail ul li p.ultima_cuota, .cpc_div_detail ul li p.commissions{
    font-size: 12px;
    padding: 0px 10px;
    color: rgb(0,123,198);
}

@media (max-width: 1200px) and (min-width: 400px) and (orientation: landscape) {
    .cpc_div_detail ul li p.title {
        font-size: 13px !important;
    }

    p.commissions {
        font-size: 10px !important;
    }
}

.button{
    background: none;
    background-color: rgb(0,123,198);
    color: #fff;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 2px;
    padding: 15px;
    text-align: center;
    float: left;
}

@media (max-width:797px){
    .buttons{
        width: 100%;
    }
    .button{
        width: 45%;
        white-space: normal;
    }
}
@media (max-width:797px){
    .fancybox-error{
        white-space: normal;
        height: 60px;
    }
    p.cpc_safe_pay{
        width: 100%;
    }
}

@media (min-width:798px) and (max-width:1199px){
    .buttons{
        width: 75%;
    }
}

.return{
    background-color: #fff;
    margin-right: 20px;
    color: #C7C7C7;
    border: 1px solid #C7C7C7;
}

#submitCBFC span{
    border:none;
}
.cpc_legal_conditions{
    font-size: 12px;
    color: #000;
    line-height: 25px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.cpc_legal_conditions p:nth-child(1){
    font-weight: bolder;
}
.cpc_legal_conditions p:nth-child(n+2){
    color: #746969;
}

.legal_conditions_top{
    font-size: 16px;
    color:#000;
    text-align: center;
    line-height: 25px;
    float: left;
    margin-bottom: 10px;
}

.legal_conditions_top a{
    color: rgb(0,123,198);
    text-decoration: underline;
}
.icon-info-circle{
    color: rgb(0,123,198);
    font-size: 20px;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid rgb(0,123,198); /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { 
        -ms-transform: rotate(0deg); 
        transform: rotate(0deg); 
    }
    100% { 
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.info-order{
    overflow: hidden;
}
.info-order span#no_completed_text{
    margin-left: 50px;
}

/*
    hook
*/

p.payment_module a.caixabankconsumerfinance {
    background: url(../img/icon-calendar.png) 15px 15px no-repeat #fbfbfb;
}
a.caixabankconsumerfinance::after {
    display: block;
    content: "\f054";
    position: absolute;
    right: 15px;
    margin-top: -11px;
    top: 50%;
    font-family: "FontAwesome";
    font-size: 25px;
    height: 22px;
    width: 14px;
    color: #777;
}

#cpc_container .button
{
    float: none !important;
}

/* Try to fix alignment of payment methods */

div.payment-options div.payment-option label {
    text-align: left;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
body#checkout section.checkout-step .payment-options label.ccf {
    display: table-cell;
    float: left;
    text-align: left;
    color: #746969;
} 
