/**
 * @copyright Copyright (c) rexx systems GmbH
 *
 * @link https://www.rexx-systems.com
 *
 * This software is protected by copyright.
 *
 * It is not permitted to copy, present, send, lease and / or lend the website
 * or individual parts thereof without the consent of the copyright holder.
 *
 * Contravention of this law will result in proceedings under criminal
 * or civil law.
 *
 * All rights reserved.
 */

.intl_tel_input_box {
    position: relative;
    display: flex;
    align-items: center;
}

.intl_tel_container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.intl_tel_input_box input.app_input {
    padding-left: 110px;
    box-sizing: border-box;
}

.country_dropdown {
    border: 1px solid #ccc;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    z-index: 1000;
    box-sizing: border-box;
    overflow: visible;
}

.country_dropdown .country_list {
    position: relative;
    left: -1px;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.country_dropdown .country_list .country_item img {
    width: 25px;
    height: auto;
}

.country_dropdown .country_search_wrapper {
    display: flex;
    position: relative;
    flex: 1 1 1px;
    gap: 6px;
    padding: 5px 10px;
    border-bottom: 1px solid #ccc;
    align-items: center;
}

.country_dropdown .country_list .country_item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    cursor: pointer;
}

.intl_tel_container .flag_button {
    position: absolute;
    top: 50%;
    left: 0;
    height: 100%;
    width: auto;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.intl_tel_container .flag_button img {
    width: 25px;
    height: auto;
}

.intl_tel_container .flag_button .arrow {
    color: #0065BD;
}

.intl_tel_container .flag_button .arrow i {
    font-size: 16px;
}

.intl_tel_container .flag_button .intl_country_dial {
    font-size: 19px;
}

.intl_tel_container .iti-dial-code {
    font-size: 14px;
    white-space: nowrap;
}

.country_search_input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.country_search_input {
    width: 100%;
    padding-left: 10px;
    border: 1px solid #ccc;
}

.country_search_input:focus {
    border-color: #66afe999;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(102, 175, 233, 0.75), 0 0 8px rgba(102, 175, 233, 0.6);
}

.country_search_input:focus-visible {
    outline: none;
}

.search_clear {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    background: #0065bd;
    color: #ffffff;
    border-width: 0;
    border-color: #c6bebe;
    border-style: solid;
    text-decoration: none;
}

.search_clear:hover {
    background: #0052a9;
    color: #ccc;
    border-color: #ccc;
}

.country_dropdown .no_results {
    text-align: center;
    padding: 20px 0;
}
