/* styles for tile of tags */

.tiletags {
    margin-bottom: 20px;
    background: #1db1bc;
    padding: 20px;
    border-radius: 5px;
}

.tiletags ul {
    display: flex;
    /*flex-wrap: wrap;*/
    grid-gap: 10px;
}

.tiletags ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 5px 10px;
    min-width: 200px;
}

.tiletags ul li a {
    text-decoration: none;
    color: black;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.tns-controls {
    display: flex;
    grid-gap: 10px;
    margin-top: 5px;
}

.tns-controls button {
    font-size: inherit;
    font-family: inherit;
    background: white;
    border-radius: 10px;
    padding: 0 10px;
    border: none;
    height: 30px;
    min-width: 80px;
}

.show-all-btn {
    border: none;
    background: none;
    font-size: inherit;
    font-family: inherit;
    color: #02448a;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 5px;
}

.tiletags .showall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .tiletags ul li {
        min-width: unset;
    }
    .tiletags ul li a {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .tiletags .showall {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .tiletags .showall {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* // styles for tile of tags */

/* styles for anchor links*/

.anchorlinks {
    margin-bottom: 20px;
    background: #1db1bc;
    padding: 20px;
    border-radius: 5px;
}

.anchorlinks ul {
    list-style: inside;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px 10px;
}

.anchorlinks ul li {
    list-style: inside;
}

.anchorlinks ul li a:hover {
    color: #c0bfbf;
}

.anchorlinks ul li::marker {
    color: white;
}

.anchorlinks ul li a {
    font-size: 20px;
    color: white;
    text-decoration: none;
    transition: color .3s;
}

@media (max-width: 800px) {
    .anchorlinks, .tiletags {
        padding: 10px;
    }
    .anchorlinks ul {
        grid-gap: 10px;
    }
    .anchorlinks ul li a {
        font-size: 16px;
    }
}

/* // styles for anchor links*/

/* styles for filter */

.filter {
    padding: 20px;
    margin-bottom: 30px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 0 8px rgb(0 0 0 / 30%);
}

.filter__top {
    display: flex;
    flex-wrap: wrap;
    grid-column-gap: 20px;
    grid-row-gap: 10px;
}

.filter__select {
    /*margin-right: 30px;*/
}

.filter__select {
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    background: #e8e8e8;
}

.search-input:focus {
    border: 1px solid #83afb2;
}

.find-btn {
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    background: #0f8c96;
    color: white;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

.reset-btn {
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    background: gray;
    color: white;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

@media (max-width: 800px) {
    .filter {
        padding: 10px;
    }
}

@media (max-width: 400px) {
    #catselect {
        width: 100%;
    }
}

/* // styles for filter*/

/* styles for select city modal */

.header_top {
    position: relative;
}

#selected-city {
    cursor: pointer;
}

.select-city-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 18px;
    text-underline: dot-dash;
}

.select-city-btn span {
    cursor: pointer;
    text-decoration: underline;
}

.select-city-modal__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    transition: z-index .3s, opacity .3s;
}

.select-city-modal__content {
    position: relative;
    background: white;
    border-radius: 5px;
    padding: 30px 20px;
    min-width: 600px;
    min-height: 400px;
    transform: scale(.5);
    transition: transform .3s;
}

.select-city-modal__content h3 {
    margin-bottom: 30px;
}

.city-item {
    list-style: inside;
    cursor: pointer;
	margin-bottom:10px;
}

.city-item:hover{
	color: #0f8c96;
}

.city-item:hover a {
    color: #0f8c96;
    text-decoration: underline;
}

.city-item a{
	color: #000;
    font-weight: 700;
    font-size: 15px;
	text-decoration:none;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

.modal--opened {
    overflow: hidden !important;
}

.modal--opened .select-city-modal__wrapper {
    opacity: 1;
    z-index: 101;
}

.modal--opened .select-city-modal__content {
    transform: scale(1);
}

@media (max-width: 767px) {
    .select-city-modal__wrapper {
        padding: 10px;
    }
    .select-city-modal__content {
        margin: auto;
        width: 98%;
        min-width: unset;
    }
}

/* // styles for select city modal */

/* rating */

.rating {
    margin: 0 auto;
    width: 115px;
    height: 21px;
    background: url("../img/rating/star_empty.svg") repeat-x;
}

.rating-fill {
    height: 21px;
    background: url("../img/rating/star_full.svg") repeat-x;
}

.card-rating {
    background: url("../img/rating/star_empty_yellow.svg") repeat-x;
    top: 10px;
    right: 10px;
    margin: unset;
    width: 75px;
    height: 15px;
    background-size: 15px;
}

.card-rating .rating-fill {
    background: url("../img/rating/star_full_yellow.svg") repeat-x;
    max-height: 15px;
    background-size: 15px;
}

/* // rating */

/* list of services */

@media(min-width: 767px) {
    .doctor_item_price_content .service_name {
        width: 400px;
    }
}

/* // list of services */