.region-check {
    display: none;
    width: 310px;
    position: absolute;
    right: calc(22% - 155px);
    top: 80px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
    z-index: 100;
}

.region-check button {
    font-size: 13px;
}

.region-check .close {
    position: absolute;
    top: 8px;
    right: 8px;
    transition: .5s;
    cursor: pointer;
    font-size: 19px;
    border: solid 2px #cbcbcb;
    border-radius: 35px;
    padding: 0px 5px;
    z-index: 10;
    background: #fff;
}

.region-check .close:hover {
    transform: rotate(180deg);
}

.input-block {
    position: relative;
}

ul.city-list a {
    color: #000;
    font-size: 12pt;
    padding: 5px;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

ul.city-list li {
    margin: 4px 0;
}

ul.city-list li:hover {
    background-color: #dedede;
}

.input-city {
    width: 100%;
    border-color: #000;
    border-radius: 5px;
}

.city-list {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    max-height: 220px;
    overflow-y: auto;
    border: solid 1px #a1a1a1;
    position: absolute;
    width: calc(100% - 2px);
    z-index: 100;
    background: #fff;
}

.popular-city {
    overflow: auto;
    margin: 10px 0;
}

.popular-city span {
    border: solid 1px #c1c1c1;
    border-radius: 5px;
    color: #000;
    float: left;
    padding: 5px;
    margin: 2px;
    cursor: pointer;
}

.popular-city span a {
    color: #000;
}

.popular-city span:hover {
    background-color: #dedede;
}

.mymodal {
    display: none;
    z-index: 99999;
    position: relative;
}

.mymodal .overlay22 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.mymodal .content {
    display: block;
    margin: 100px auto;
    width: 500px;
    min-height: 300px;
    background-color: #fefefe;
    border-radius: 10px;
    padding: 20px;
    color: #333333;
    position: relative;
}

.mymodal .close {
    position: absolute;
    right: 10px;
    top: 10px;
    transition: .5s;
    cursor: pointer;
    font-size: 19px;
    border: solid 2px #cbcbcb;
    border-radius: 35px;
    padding: 5px 10px;
}

.mymodal .close:hover {
    transform: rotate(180deg);
}

h3 {
    margin-top: 0;
}

@media(max-width:570px) {
    .region-check {
        right: 5px;
    }

    .mymodal .content {
        width: 90%;
        margin-top: 5px;
        height: 90%;
    }

    .input-block {
        height: 95vh;
    }

    .city-list {
        max-height: 80%;
    }

    .popular-city {
        position: absolute;
        top: 100px;
        left: 15px;
    }
}

@media(min-width: 480px) {
    .popular-city {
        margin-top: 20px;
    }
}

.contents {
    background: #F8F9FA;
    border: 1px solid #A2A9B1;
    padding: 15px 20px 10px 5px;
    display: table;
    border-radius: 2px;
    margin-top: 15px;
}

.contents > h2 {
    margin: 0;
    padding: 0 0 15px;
    font: bold 17px 'Trebuchet MS';
    text-align: center;
}

.contents ul {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
}

.contents ul li {
    margin: 0;
    padding: 1px 0;
}

.contents ul li span {
    color: #444;
    font-size: .9em;
}

.regions_table {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: auto;
    margin-bottom: 2rem;
}

.regions_link {
    width: 20%;
}

@media (max-width: 767px) {
    .regions_link {
        width: 50%;
    }
}

.mymodal .content {
    margin: 110px auto;
}

.list_courses_item__bottom {
    justify-content: space-between;
    width: 100%;
    max-width: 1195px;
}

.list_courses_item__link {
    color: #16c837;
    text-decoration: none;
    transition: .2s ease;
}

.list_courses_item__link:hover {
    cursor: pointer;
    color: #06a8f2;
    text-decoration: none;
}

@media (max-width: 570px) {
    .popular-city {
        position: absolute;
        top: 114px;
        left: 15px;
    }
}

.list_courses_item__bottom {
    justify-content: space-between;
    width: 100%;
    max-width: 1195px;
}

.list_courses_item__link {
    color: #16c837;
    text-decoration: none;
    transition: .2s ease;
}

.list_courses_item__link:hover {
    cursor: pointer;
    color: #06a8f2;
    text-decoration: none;
}