@media only screen and (min-width: 320px) {
    .ttl_form_pay h2 {
        color: #023373;
        font-size: 20px;
        margin-bottom: 15px;
        font-family: 'Montserrat-Bold';
        float: left;
        width: 100%;
    }

    .infotextbloc {
        float: left;
        position: relative;
        width: 100%;
    }

    p.payxpens {
        float: left;
        position: relative;
        color: #023373;
        font-size: 16px;
        font-family: 'Montserrat-Bold';
    }

    .ttl_form_pay p {
        color: #023373;
        font-size: 15px;
        margin-bottom: 15px;
        font-family: 'Montserrat-Regular';
        width: 100%;
        float: left;
    }

    /******/
    section.method_pay {
        float: left;
        position: relative;
        width: 100%;
        padding: 90px 0 130px;
        background-color: #f2f2f2;
        height: auto;
        min-height: 100vh;
    }

    .content_bloc {
        position: relative;
        width: 100%;
        float: left;
        background-color: #fff;
        padding: 40px 20px 10px;
        box-shadow: 0px 3px 30px #0000006f;
    }

    .ttl_form_pay {
        float: left;
        position: relative;
        width: 100%;
        padding-bottom: 10px;
    }

    .ttl_form_pay a {
        color: #023373;
        font-size: 14px;
        margin-bottom: 15px;
        font-family: 'Montserrat-Bold';
        width: auto;
        text-decoration: none;
    }

    .input__form_cipmpay {
        width: 100%;
        margin-bottom: 15px;
    }

    .content__form_paycipm {
        float: left;
        position: relative;
        width: 100%;
    }

    .input__form_cipmpay input {
        border: 1px solid #023373;
        height: 55px;
        padding: 14px;
        font-family: "Montserrat-Medium";
        font-size: 14px;
    }

    .input__form_cipmpay a,
    .input__form_cipmpay input[type="submit"]{
        font-size: 14px;
        width: 100%;
        float: left;
        position: relative;
        display: block;
        background-color: #023373;
        padding: 17px 15px;
        color: #fff;
        text-align: center;
        font-family: "Montserrat-Medium";
        text-decoration: none;
        border-radius: 3px;
        margin:15px 0;
        cursor:pointer;
    }

    a.forgotpassword {
        text-align: right;
        color: #023373;
        font-size: 15px;
        font-family: 'Montserrat-Regular';
        text-decoration: none;
    }

    .infoend_pay {
        float: left;
        position: relative;
        width: 100%;
        padding-top: 30px;
    }

    ul.listcardspay {
        float: left;
        position: relative;
        width: 100%;
        padding: 0;
        list-style: none;
    }

    ul.listcardspay li {
        display: inline;
        margin-right: 10px;
    }

    ul.listcardspay li img {
        width: 40px;
    }

    .infoend_pay h2 {
        color: #023373;
        font-size: 13px;
        font-family: 'Montserrat-Bold';
    }

    .infoend_pay p {
        color: #023373;
        font-size: 12px;
        font-family: "Montserrat-Regular";
        margin-bottom: 5px;
        float: left;
        position: relative;
        width: 63%;
    }

    .infoend_pay_info {
        float: left;
        position: relative;
        width: 100%;
        padding-top: 30px;
    }

    ul.listcardspay_info {
        float: left;
        position: relative;
        width: 100%;
        padding: 0;
        list-style: none;
        margin: 0;
    }

    ul.listcardspay_info li {
        margin-bottom: 20px;
    }

    ul.listcardspay_info li img {
        width: 50px;
    }

    .listcardspay_info li p {
        color: #888888;
        font-size: 12px;
        font-family: "Montserrat-Regular";
        margin-bottom: 5px;
    }

    .infoend_pay_info h2 {
        color: #888888;
        font-size: 17px;
        font-family: 'Montserrat-Bold';
        margin-bottom: 20px;
    }

    .infoend_pay_info p {
        color: #888888;
        font-size: 12px;
        font-family: "Montserrat-Bold";
        margin-bottom: 15px;
    }

    .infoenend_pay {
        float: left;
        position: relative;
        width: 100%;
        border-top: 1px solid #88888888;
        padding-top: 15px;
    }

    .infoenend_pay p {
        color: #888888;
        font-size: 14px;
        font-family: "Montserrat-Regular";
    }

    .infoenend_pay a {
        color: #888888;
        font-size: 14px;
        font-family: "Montserrat-Bold";
        text-decoration: none;
    }

    .imginfobloc {
        position: relative;
        float: left;
        width: 70px;
        margin-right: 15px;
    }

    .infotextbloc h2 {
        color: #023373;
        font-size: 16px;
        font-family: 'Montserrat-Bold';
        margin-bottom: 15px;
    }

    .infotextbloc ul {
        padding-left: 18px;
        color: #023373;
    }

    .infotextbloc ul li p {
        margin: 0;
        color: #023373;
        font-size: 12px;
        font-family: "Montserrat-Regular";
    }

    .summarypay {
        float: left;
        position: relative;
        width: 100%;
        border-top: 1px solid #88888888;
        padding-top: 15px;
        margin-top: 30px;
    }

    .textleft {
        font-size: 16px;
        font-family: 'Montserrat-Bold';
        color: #023373;
        float: left;
        position: relative;
        width: auto;
    }

    .textright {
        font-size: 16px;
        font-family: 'Montserrat-Bold';
        color: #023373;
        float: right;
        position: relative;
        width: auto;
    }

    .textfinformoth p {
        margin: 0;
        color: #023373;
        font-size: 12px;
        font-family: "Montserrat-Regular";
    }

    .textfinformoth {
        float: left;
        position: relative;
        width: 100%;
    }

    .txtbold {
        font-family: 'Montserrat-Bold';
    }

    .oculto {
        display: none;
    }

    .mostrar {
        display: block;
    }

    .paypal_pay {
        float: left;
        position: relative;
        width: 100%;
        border: 1px solid #023373;
        padding: 20px 15px;
    }

    .paypal_pay h2 {
        color: #023373;
        font-size: 16px;
        font-family: 'Montserrat-Bold';
    }

    .paypal_pay p {
        margin: 0;
        color: #023373;
        font-size: 14px;
        font-family: "Montserrat-Regular";
    }

    .infoenend_pay2 {
        float: left;
        position: relative;
        width: 100%;
    }

    .infoenend_pay2 p {
        color: #888888;
        font-size: 14px;
        font-family: "Montserrat-Regular";
        margin: 0;
    }

    .btnpay_paypal {
        float: left;
        position: relative;
        width: 100%;
        background: #18AAE1;
        height: 45px;
        border-radius: 7px;
        margin: 20px 0;
    }

    .none {
        display: none;
    }

    .show {
        display: block;
    }

    .recoverypassmodal {
        float: left;
        position: relative;
        width: 100%;
        padding: 45px 35px 30px;
    }

    .recoverypassmodal h3 {
        color: #023373;
        font-size: 20px;
        margin-bottom: 15px;
        font-family: 'Montserrat-Bold';
        text-align: center;
    }

    .recoverypassmodal p {
        color: #023373;
        font-size: 15px;
        margin-bottom: 15px;
        font-family: 'Montserrat-Regular';
        text-align: left;
    }

    .footer__form_pay {
        display: block;
        width: 100%;
        padding: 10px 0 0;
        border-top: 1px solid #023373;
        text-align: center;
    }

    .footer__form_pay p {
        font-family: "Montserrat";
        color: rgba(0, 0, 0, 0.6);
        margin: 0;
        text-align: center;
    }

    .footer__form_pay a {
        font-family: "Montserrat-Bold";
        color: #023373;
    }

    .infoenend_pay2 a {
        color: #888888;
        font-family: "Montserrat-Bold";
    }

    .imginfobloc img {
        width: 100%;
    }

    span.closemodalpay {
        font-size: 45px;
        float: left;
        position: absolute;
        width: auto;
        color: #fff;
        top: -29px;
        right: 0;
        font-family: 'Montserrat-Bold';
        cursor: pointer;
        line-height: 20px;
    }
}

@media only screen and (min-width: 992px) {
    .ttl_form_pay h2 {
        width: 42%;
    }

    p.payxpens {
        top: 57px;
    }
}

@media only screen and (min-width: 1024px) {
    .ttl_form_pay p {
        width: 57%;
        text-align: right;
    }
    
}

@media only screen and (min-width: 1200px) {
    .ttl_form_pay p {
        width: 50%;
    }

    p.payxpens {
        top: 40px;
    }

    .ttl_form_pay h2 {
        width: 50%;
    }

    .infotextbloc {
        float: left;
        position: relative;
        width: calc(75% - 85px);
    }
    
    p.payxpens {
        float: right;
        position: absolute;
        right: 20px;
        top: 56px;
    }
    
}
