:root {
    --arrow: black;
    --cl_country_phone_primary: black;
}	

.cl_country_phone_select-box * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
	font-size: 16px;
	font-family: Averta !important;;
}
.cl_country_phone_country-name {
	font-size: 14px !important;
}

.cl_country_phone_select-box {
    position: relative;
	width: 100%;
}

.cl_country_phone_select-box input {
	width: 100%;
	padding: 1rem .6rem;
	font-size: 16px;
	border: .1rem solid transparent;
	outline: none;
    border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}
.cl_country_phone_options.active input {
    border-top-left-radius: .5rem !important;
}

.cl_country_phone_telinput {
    border-radius: 0 .5rem .5rem 0;
}


.cl_country_phone_selected-option {
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    box-shadow: inset 0 0 0px 1px #ddd;
	min-width: 210px;
}

#phone_input {
	outline: none;

}

.cl_country_phone_selected-option div{
	position: relative;
	padding: 0;
	text-align: center;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
	padding-left: 10px;
	padding-right: 30px;
}

.cl_country_phone_selected-option > div:first-child::after {
/* .cl_country_phone_selected-option div::after{ */
	position: absolute;
	content: "";
	right: 15px;
	top: 50%;
	transform: translateY(calc(-50% - 2px)) rotate(45deg);
	width: 0.4rem;
	height: .4rem;
	border-right: .17rem solid var(--cl_country_phone_primary);
	border-bottom: .17rem solid var(--cl_country_phone_primary);
	transition: .2s;
}

.cl_country_phone_selected-option div.active::after{
    transform: translateY(calc(-50% - -2px)) rotate(225deg);
}

.cl_country_phone_select-box .cl_country_phone_options {
    position: absolute;
    top: 4rem;
    width: 100%;
    background-color: #ffffff;
    color: #888;
    box-shadow: inset 0 0 0px 1px #b3b3b3;
    border-radius: .5rem;
    display: none;
    z-index: 1;
}

.cl_country_phone_select-box .cl_country_phone_options.active {
	display: block;
	top: 60px;
}

.cl_country_phone_select-box .cl_country_phone_options::before {
	position: absolute;
    content: "";
    left: 1rem;
    top: -1.2rem;
	
    width: 0;
    height: 0;
    border: .6rem solid transparent;
    border-bottom-color: var(--arrow);
}
.cl_country_phone_select-box
.cl_country_phone_options::before {
	top: unset;
	bottom: -1.2rem;
    transform: rotate(180deg);
}

.cl_country_phone_search-box {
    background-color: var(--cl_country_phone_primary);
    color: #fff;
    border-radius: .5rem .5rem 0 0 !important;
    padding: 1.4rem 1rem;
}

.cl_country_phone_select-box ol {
    list-style: none;
    max-height: 200px;
    overflow: overlay;
}

.cl_country_phone_select-box ol::-webkit-scrollbar {
    width: 0.6rem;
}

.cl_country_phone_select-box ol::-webkit-scrollbar-thumb {
    width: 0.4rem;
    height: 3rem;
    background-color: #343434;
    border-radius: .4rem;
}

.cl_country_phone_search-box {
    box-shadow: inset 0 0 0px 1px #b3b3b3 !important;
    background-color: #efefef !important;
}

.cl_country_phone_select-box ol li {
	padding: 8px;
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	margin: 0 8px;
    color: #bcbcbc;
	border-radius: 8px;
}

.cl_country_phone_select-box ol li.hide {
    display: none;
}

.cl_country_phone_select-box ol li:first-child {
    margin-top: 8px;
}
.cl_country_phone_select-box ol li:last-child {
    margin-bottom: 8px;
}

.cl_country_phone_select-box ol li:hover {
    background-color: #ededed;
    color: white;
}

.cl_country_phone_select-box ol li .country-name {
    margin-left: .4rem;
}
.cl_country_phone_flag_and_country {
    display: flex;
	gap: 5px;
	align-items: center;
}

.cl_country_phone_select-box .cl_country_phone_options.active {
	top: 60px;
    bottom: auto;
}
.cl_country_phone_select-box .cl_country_phone_options.active {
	top: auto;
    bottom: calc(100% + 15px);
}

.cl_country_phone_select-box .cl_country_phone_options.active[style*="bottom: 100%"] {
    top: auto;
    bottom: calc(100% + 15px);
}

@media (max-width: 500px) {
    .floating-label label, .range-field label {
        font-size: 12px;
    }
}