﻿body {
    direction: rtl;
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    margin: 0;
}

.main {
    margin: 20px;
}

.main-content {
    max-width: none;
}

.step2-form {
    max-width: none;
}

.title {
    color: #383838;
    font-size: 24px;
    margin-top: 0;
    font-weight: bold;
    text-align: right;
    margin-bottom: 8px;
}

.pay-input {
    width: 100%;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    padding: 10px 15px;
    box-sizing: border-box;
    font-weight: 300;
    color: #383838;
    height: 45px;
}

    .pay-input:focus {
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
        box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
    }

.pay-btn {
    width: 100%;
    background-color: #306889;
    border-radius: 8px;
    border: none;
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    padding: 10px 10px;
    box-sizing: border-box;
    outline: none;
}

    .pay-btn:focus, .pay-btn:hover {
        color: #fff;
        outline: none;
        border: none;
    }

    .pay-btn:focus, .pay-btn:active:focus, .pay-btn.active:focus {
        outline: none;
        border: none;
        box-shadow: none;
    }

.img-shadow {
    width: 100%;
}

/* START pay now page */

/**/
.inner-div {
    position: relative;
}

input[type="text"], input[type="number"], input[type="date"], select {
    box-sizing: border-box;
}

input[type="date"] {
    text-align: right;
}

.effect-19 {
    padding: 20px 14px 5px;
    transition: 0.4s;
    background: white;
    font-family: 'Heebo', sans-serif !important;
}

    .effect-19 ~ .focus-border:before,
    .effect-19 ~ .focus-border:after {
        content: "";
        position: absolute;
        top: -1px;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #3399FF;
        transition: 0.4s;
    }

    .effect-19 ~ .focus-border:after {
        top: auto;
        bottom: 0;
    }

    .effect-19 ~ .focus-border i:before,
    .effect-19 ~ .focus-border i:after {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 2px;
        height: 0;
        background-color: #3399FF;
        transition: 0.6s;
    }

    .effect-19 ~ .focus-border i:after {
        left: auto;
        right: 0;
    }

    .effect-19:focus ~ .focus-border:before,
    .effect-19:focus ~ .focus-border:after
    /* ,.has-content.effect-19 ~ .focus-border:before,
.has-content.effect-19 ~ .focus-border:after */ {
        left: 0;
        width: 100%;
        transition: 0.4s;
    }

    .effect-19:focus ~ .focus-border i:before,
    .effect-19:focus ~ .focus-border i:after
    /* ,.has-content.effect-19 ~ .focus-border i:before,
.has-content.effect-19 ~ .focus-border i:after */ {
        top: -1px;
        height: 100%;
        transition: 0.6s;
    }


    .effect-19 ~ label.ph {
        position: absolute;
        left: -15px;
        width: 100%;
        font-size: 16px;
        top: 12px;
        color: #757575;
        transition: 0.3s;
        font-weight: 300;
    }

    .effect-19:not([type="file"]) ~ label.ph {
        pointer-events: none;
    }

    .effect-19[type="file"] ~ label.ph {
        right: 0px;
    }

    .effect-19:focus ~ label.ph, .effect-19:not(.empty) ~ label.ph, .effect-19:not(:placeholder-shown):not([type='date']) ~ label.ph, label.ph.notEmpty {
        top: 5px;
        left: -15px;
        font-size: 12px;
        transition: 0.3s;
        font-size: 12px;
        font-weight: bold;
        color: #383838;
    }


    .effect-19.error {
        border: 1px solid red;
    }

/**/

.pay-groups-wrap {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 15px 5px 0;
    margin-bottom: 30px;
}

.pay-group {
    margin-bottom: 15px;
}

.pay-label {
    font-size: 16px;
    line-height: 1.5;
}

    .pay-label.bold {
        font-weight: bold;
    }

.credit-title {
    font-size: 16px;
}

.cvv {
    position: relative;
}

.cvv-info {
    position: absolute;
    background-image: url('../images/help.png');
    width: 20px;
    height: 20px;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto 0;
    cursor: pointer;
}

select.pay-input {
    padding: 8px 15px 9px;
}

/* Chrome, Safari, Edge, Opera */
.pay-input::-webkit-outer-spin-button,
.pay-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Firefox */
.pay-input[type=number] {
    -moz-appearance: textfield;
}


@media screen and (max-width:767px) {
    .wrap-row {
        display: flex;
        padding: 0 15px;
        justify-content: space-between;
    }

        .wrap-row .form-group {
            padding: 0;
            width: 32.5%;
        }
}

/* END pay now page */

@media screen and (min-width:768px) {
    .title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .img-container {
        padding-right: 6%;
    }

    .pay-input {
        font-size: 18px;
        height: 58px;
    }

    .effect-19 {
        padding: 22px 14px 3px;
    }

        .effect-19 ~ label.ph {
            font-size: 18px;
            top: 18px;
        }

        .effect-19:focus ~ label.ph, .effect-19:not(.empty) ~ label.ph, .effect-19:not(:placeholder-shown):not([type='date']) ~ label.ph, label.ph.notEmpty {
            top: 7px;
            font-size: 14px;
        }

    .pay-btn {
        font-size: 24px;
    }

    /* START pay now page */

    .pay-groups-wrap {
        background-color: transparent;
        border: 1px solid #e9e9e9;
    }

    select.pay-input {
        padding: 12px 14px;
    }

    /* END pay now page */

    .wrap-row {
    }
}
