.popups {
    position: absolute;
    top: 160px;
    width: auto;
    height: auto;
    z-index: 200;
    border-radius: 3%;
    background: #fff;
     overflow: hidden !important;
    justify-content: space-between; 

    flex-direction: column;
}
.popups .popups__img {
	height: auto; overflow: hidden;}




.popups .popups__img > a > img {
    height: auto;
}

.popups .popups__img > img {
    width: 100%;
    height: auto;
    border-radius:3% 3% 0 0;
}

.popups .popups__check {
    margin-top: -6px;
    height: 6%;
    display: flex;
    align-content: center;
    justify-content: space-between;
    padding: 0 30px;
    background: rgba(0, 0, 0, 0.1);
}

.popups .popups__check > div {
    display:flex;
    align-content: center;
}

.popups .popups__check > div > input {
    margin: 0 0 5px 5px;
    cursor: pointer;
}
.popups .popups__check .popups_close {
    cursor: pointer;
    font-weight: bold;
}

@media (max-width: 768px) {
    .popups {
        position: absolute;
        top: 150px !important;
        width: 96%;
        /*height: auto !important;*/
        z-index: 2000;
        /*margin-left: 2%;*/
        border-radius: 3%;
        background: #fff;
        display: flex;overflow: hidden;
        justify-content: space-between;
        flex-direction: column;
    }
    .popups .popups__img {
        height: 100%;
    }

    .popups .popups__img > img {
        width: 100%;
        height: 100%;
        border-radius: 3% 3% 0 0;
    }

    .popups .popups__check {
        height: 9%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 30px;
        background: rgba(0, 0, 0, 0.1);
    }

    .popups .popups__check > div {
        display:flex;
        align-content: center;
    }

    .popups .popups__check > div > input {
        margin: 0 0 0 5px;
        cursor: pointer;
    }
    .popups .popups__check .popups_close {
        cursor: pointer;
        font-weight: bold;
    }
}