﻿.center1-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.container1 {
    width: 400px;
    border-radius: 8px;
    padding: 10px 40px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 5px 12px -2px rgba(0, 0, 0, 0.1), 0 18px 36px -6px rgba(0, 0, 0, 0.1);
}

    .container1 .title {
        font-size: 20px;
        font-family: Arial, Helvetica, sans-serif;
    }

    .container1 form input {
        display: none;
    }

    .container1 form .category {
        margin-top: 10px;
        padding-top: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }

.category label {
    /* width: 100%; */
    /* height: 65px; */
    height: 55px;
    padding: 20px;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.2);
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
}

/* label:nth-child(2), label:nth-child(3){
    margin: 15px 0;
} */
#Gateway1:checked ~ .category .Gateway1Method,
#Gateway2:checked ~ .category .Gateway2Method,
#Gateway3:checked ~ .category .Gateway3Method,
#Gateway4:checked ~ .category .Gateway4Method,
#Gateway5:checked ~ .category .Gateway5Method {
    box-shadow: 0px 0px 0px 1px #6064b6;
}

    #Gateway1:checked ~ .category .Gateway1Method .check,
    #Gateway2:checked ~ .category .Gateway2Method .check,
    #Gateway3:checked ~ .category .Gateway3Method .check,
    #Gateway4:checked ~ .category .Gateway4Method .check,
    #Gateway5:checked ~ .category .Gateway5Method .check {
        display: block;
    }


label .imgName {
    /*display: flex;*/
    /* justify-content: space-between;*/
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
}

.imgName span {
    /* margin-left: 20px;*/
    position: absolute;
    top: 72%;
    transform: translate(-50px, -24px);
}

.imgName .imgContainer {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: absolute; */
    /* top: 35%; */
    transform: translate(-125px, -1px);
}

.check {
    display: none;
    position: absolute;
    top: -4px;
    right: -4px;
}

    .check i {
        font-size: 18px;
    }

@media (min-width: 992px) {
    .modal-lg {
        max-width: 480px;
    }
}

@media only screen and (max-width: 495px) {
    .container1 {
        max-width: 100%;
    }

    .imgName span {
        font-size: 13px;
        transform: translate(22px, -20px);
    }

    .imgName .imgContainer {
        transform: translate(-40px, -1px);
    }
}
