:root {
    --color-use-gray-head: #A4A4A4;
    --color-gray-head: #696969;
}

.header__languages-container {
    position: relative;
    background-color: white;
    z-index: 5;
    transition: 0.2s;
    width: fit-content;
}

.header__languages-location {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px 0 20px;
}

.header__languages-location-img {
    display: block;
    width: 17px;
    height: 17px;
    margin-right: 5px;
}

.header__languages-location-title {
    color: var(--color-use-gray-head);
    font-size: 14px;
}

.header__languages-location-vector {
    display: block;
    width: 15px;
    height: 20px;
    margin-left: 5px;
    transition: .2s;
}

.header__languages-list {
    position: absolute;
    display: none;
    flex-direction: column;
    background-color: white;
    padding: 0 20px 20px 23px;
    border-radius: 0 0 16px 16px;
}

.header__languages-list-title {
    padding: 0 5px;
}

.header__languages-list-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
}

.header__languages-list-check {
    display: block;
    width: 17px;
    height: 17px;
    margin-right: 5px;
    opacity: 0;
    transition: 0.2s;
}

.header__languages-list a {
    color: var(--color-gray-head);
    font-size: 14px;
}

.header__languages-list-item:hover {
    cursor: pointer;
    color: var(--color-use-gray-head);
}

.header__languages-list-item img {
    height: 24px;
    width: 24px !important;
	border-radius: 50%;
}

.header__languages-list-item:hover .header__languages-list-check {
    opacity: 1;
}

._location-vector {
    transform: rotateX(180deg);
}

.header__languages-country:hover {
    cursor: pointer;
}

.header__languages-country a {
    display: flex;
    align-items: center;
}

.header__languages-country a img {
    display: block;
    margin: 0 3px;  
}

.header__languages-country a img:first-child {
    width: 24px;
    height: 24px;
	border-radius: 50%;
}

.header__languages-country a img:last-child {
    width: 10px;
    height: 14px;  
}

@media (max-width: 1000px) {
    .header__languages {
        top: 0px;
        right: 25px;
    }
    .header__languages-location-title {
        display: none;
    }
    .header__languages-location-vector {
        width: 13px;
    }
}

@media (max-width: 400px) {
    .header__languages {
        right: 10px;
    }
    .header__languages-location-title {
        font-size: 12px;
    }
    .header__languages-list a {
        font-size: 12px;
    }
}
