﻿
.phonearea {
    /*padding: 0 15px;*/
    border-radius: 10px;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: calc(100% - 30px);
    margin: 15px;
    border: 2px solid #a7a7a7;
}

.title-enter-phone {
    height: 2rem;
    font-size: 20px;
    color: #0fb7ce;
    font-weight: 600;
    padding-top: 10px;
}

.phone-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.line-phone {
    outline: none;
    border: none;
    border-bottom: 1px solid #a7a7a7;
    text-align: center;
    height: 3rem;
    margin-bottom: 1rem;
    width: 90%;
    color: #505050;
    line-height: 2;
    font-size: 22px;
    white-space: nowrap;
}

.pdkey {
    padding-bottom: 1rem;
}

.slice-key-num {
    background-color: white;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.slice-keyboard-num {
    position: relative;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: repeat(4, 80px);
    grid-gap: 23px;
    justify-content: center;
    margin: auto;
    text-align: center;
}

.btn-key-num {
    border: 2.5px solid #a7a7a7;
    border-radius: 50%;
    grid-column: span 1;
    font-size: 24px;
    display: flex;
    text-align: right;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #a7a7a7;
    cursor: pointer;
}

    .btn-key-num:hover {
        border: 2.5px solid #a7a7a7;
    }

.btn-delete-num {
    background-image: url("/Uploads/delete-num.svg");
    background-position: 5px;
    background-repeat: no-repeat;
    background-size: 68px;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    /* Styles */
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
    /* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    /* Styles */
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    /* Styles */
}
/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
    /* Styles */
}
/* Desktops and laptops ----------- */
@media only screen and (min-width : 1224px) {
    /* Styles */
}

/* Large screens ----------- */
@media only screen and (min-width : 1824px) {
    /* Styles */
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
    /* Styles */
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
    .slice-keyboard-num {
        grid-template-columns: repeat(3, 60px);
        grid-template-rows: repeat(4, 60px);
        row-gap: 7px;
        column-gap: 18px;
    }

    .line-phone {
        height: 25px;
        margin-bottom: 5px;
        line-height: unset;
        font-size: 16px;
    }

    .btn-delete-num {
        background-size: 44px;
    }
    .title-enter-phone {
        font-size: 16px;
    }
}

/* iPhone 6, 7, 8 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
    .slice-keyboard-num {
        grid-template-columns: repeat(3, 70px);
        grid-template-rows: repeat(4, 70px);
        row-gap: 4px;
        column-gap: 24px;
    }

    .line-phone {
        height: 25px;
        margin-bottom: 5px;
        font-size: 17px;
        white-space: nowrap;
        line-height: unset;
    }

    .phonearea {
        padding: 2px 0 2px 0;
    }

    .btn-delete-num {
        background-size: 56px;
    }

    .title-enter-phone {
        font-size: 18px;
    }
    /*    .bookinginfo {
        display: none !important;
    }*/
    /*    .xanh {
        height: 2rem !important;
    }*/
    .center-area {
        height: 100%;
        padding: 0 2rem;
    }

    .enter-mobile {
        font-size: 18px !important;
    }
}

/* iPhone 6+, 7+, 8+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) {
    .slice-keyboard-num {
        grid-template-columns: repeat(3, 70px);
        grid-template-rows: repeat(4, 70px);
        row-gap: 14px;
        column-gap: 24px;
    }

    .line-phone {
        height: 25px;
        margin-bottom: 10px;
        font-size: 17px;
        white-space: nowrap;
        line-height: unset;
    }

    .phonearea {
        padding: 0.5rem 0 0.5rem 0;
    }

    .btn-delete-num {
        background-size: 56px;
    }

    /*    .bookinginfo {
        display: none !important;
    }

    .xanh {
        height: 2rem !important;
    }
*/
    .center-area {
        height: 100%;
        padding: 0 2rem;
    }
}

/* iPhone X ----------- */

@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) {
    .slice-keyboard-num {
        grid-template-columns: repeat(3, 80px);
        grid-template-rows: repeat(4, 80px);
        row-gap: 14px;
        column-gap: 24px;
        font-weight: 500;
        color: #505050;
    }

    .btn-delete-num {
        background-position: 10px;
        background-size: 56px;
    }

    .btn-key-num {
        font-size: 38px;
    }

    .line-phone {
        font-size: 20px;
    }
}

/* iPhone XS Max, XR ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
}

/*iPhone 12 Mini*/
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
}


/*iPhone 12 and iPhone 12 Pro*/
@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
    .slice-keyboard-num {
        grid-template-columns: repeat(3, 70px);
        grid-template-rows: repeat(4, 70px);
        row-gap: 14px;
        column-gap: 24px;
    }
    .btn-delete-num {
        background-size: 56px;
    }
}


/* iPhone XS Max, XR ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
}

/*iPhone 12 Pro Max*/
@media only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) {
    /* Styles */
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) {
    /* Styles */
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3) {
    .slice-keyboard-num {
        grid-template-columns: repeat(3, 73px);
        grid-template-rows: repeat(4, 73px);
        row-gap: 7px;
        column-gap: 18px;
    }

    .line-phone {
        height: 25px;
        margin-bottom: 10px;
        line-height: unset;
        font-size: 17px;
    }

    .btn-delete-num {
        background-size: 62px;
    }
}
