.select {
	position: relative;
	z-index: 3000;
    flex: 1 1;
}

.show.select {
	z-index: 70000;
}

.select-name {
	position: relative;
    display: flex;
    align-items: center;
    height: 64px;
	width: 100%;
	font-family: 'Helveticaneuecyr-Roman';
	font-size: 23px;
	line-height: 1.1;
	color: #000;
	background: #fff;
	border: 2px solid #fff;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	padding: 0 25px;
    padding-right: 47px;
    cursor: pointer;
	overflow: hidden;
}

.item p.select-name {
	padding: 0 25px !important;
}

.payment-plan-list {
	width: 100%;
	max-width: 320px;
}

@media(max-width: 767px) {
    .select-name, .item p.select-name {
        font-size: 20px;
        padding-left: 15px !important;
    }
}

.select-name span {
    display: block;
    /*white-space: nowrap;*/
	margin: 0;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.select-name:after {
	content: url(../img/arrow_select.svg);
	position: absolute;
    width: 17px;
	right: 25px;
	top: 17px;
	transition: .2s;
}

@media(max-width: 767px) {
    .select-name:after {
		top: 21px;
		right: 15px;
    }
}

.select.selcl:after, .show .select-name:after {
	transform: rotate(180deg);
}

.select-name.sel, .show .select-name {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select-list {
	position: absolute;
	top: 97%;
    height: 0;
    opacity: 0;
    width: 100%;
	background: #d2ecff;
	border-top: 1px solid #d2ecff;
	border-bottom: 1px solid #d2ecff;
	margin-top: 0;
    transition: .3s;
    overflow-y: auto;
}

.show .select-list {
    /*height: 290px;*/
    height: auto;
    max-height: 324px;
    opacity: 1;
    /*display: block;*/
    transition: .3s;
}

.show .select-list.hauto {
	height: auto;
}

.select-list li {
	font-family: 'Helveticaneuecyr-Roman';
	font-size: 19px;
    line-height: 1.3;
	font-weight: 100;
	color: #000;
	border-bottom: 1px solid rgba(255,255,255,0.2);
    border-top: 1px solid rgba(0,0,0,0.3);
	border-left: 1px solid rgba(0,0,0,0.3);
	border-right: 1px solid rgba(0,0,0,0.3);
	padding: 14px 25px 12px 25px;
	cursor: pointer;
	margin-top: 0;
}

.quantity .select-list li {
	padding-top: 9px;
	padding-bottom: 7px;
}

.quantity .select-list {
	height: 180px;
}

.select-list li:before {
	display: none;
}

@media(max-width: 767px) {
    .select-list li {
		padding-left: 15px;
        padding-right: 15px;
    }
}

.select-list li:last-child {
    border-bottom: 1px solid rgba(0,0,0,0.3);
}

.select-list li:hover {
	background: #fff;
	color: #000;
}
