
/***OKNA*Окна***/

#progressbar {
  display: flex;
  align-items: center;
  height: 2em;
  width: 100%;
  min-width: 4em;
  border: solid 2px lightgray;
  position: relative;
  border-radius: 0px;
  margin: 10px 0;
}
#progressbar > div {
	border-radius:0px;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background: linear-gradient(to bottom, var(--lightgreen), var(--green));
	transition: width .5s linear;
	z-index: -1;
}
#progressbar:after {
  content: attr(data-progress) '%';
  display: block;
  margin: auto;
}
/*Старые окна подтверждения и так далее*/
.block-field{
	overflow: auto;
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 770px;
	height: auto;
	min-height:100vh;
	max-width: 100%;
	margin: auto;
	border-radius: 3px;
	background-color: var(--white);
	color: var(--black);
	z-index: 92;
	font-family: "Open Sans", sans-serif;
	padding: 10px;
}
.block-field .info_left{
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex; 
	border-bottom: 2px solid #e6e6e6;
	margin: 5px 0;
	padding-bottom: 6px;
	font-size: 18px;
}
.info_right{
	color: var(--green) !important;
	line-height: 1;
	text-align: left;
	width: 72%;
	word-break: break-all;
	margin: auto 0;
}
.adr-from:not(:first-child){
	padding-top: 5px;
}
.info_text{
	width: 28%;
	margin: auto 0;
}
/*.phone-call{
	display: block;
	width: 180px;
	height: 43px;
	color: var(--green);
	background-color: var(--white);
	text-decoration: none;
	text-align: center;
	border-radius: 2px;
	line-height: 2.4;
	border: 1px solid var(--green);
}*/
.phone-call:hover{
	background-image: linear-gradient(to bottom, var(--lightgreen), var(--green));
	color: var(--white);
}

.block-field div,
.block-field input {
	box-sizing:border-box;
}
.block-field h1{
	color: var(--green);
	font-weight: 600;
	font-size: 24px;
	text-align: center;
	margin-bottom: 10px;
}

.block-field .input_text{
	-webkit-appearance:none;
	width:100%;
	padding:0 15px;
	height:40px;
	font-size:1.1em;
	border:none;
	border-radius:0;
	box-shadow:none;
	outline:none;
	box-sizing:border-box;
	-webkit-user-modify:read-write-plaintext-only
}

.block-field .block_border {
	border:1px solid var(--gray);
}

.modal {
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height: 101%;
	background:var(--white);
	z-index:2010;
	border-radius:5px;
	box-sizing:border-box;
	display:none;
}

.border {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex; 
	-khtml-box-lines:single;
	-webkit-box-lines:single;
	-ms-flex-wrap:nowrap;
	-webkit-flex-wrap:nowrap;
	flex-wrap:nowrap;
	-webkit-box-pack:justify;
	-webkit-justify-content: space-between;
	justify-content: space-between;	
	-webkit-box-align:end;
	-webkit-align-items:flex-end;
	align-items:flex-end;
	cursor:pointer;
}

/* {
  display: flex;
  text-align: center;
  text-decoration: none;  
  background-color: var(--white);
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  margin: 1em auto;
  border: 1px solid var(--green);
  cursor:pointer;
  justify-content: center;
  line-height: 40px;
  height: 40px;
  min-width: 40%;
  max-width: 75%;
  box-sizing: border-box;
}*/
.exit:hover, .ok:hover, .cancelalertbtnno:hover, .cancel:hover  {
	background-image: linear-gradient(to bottom, var(--lightgreen), var(--green));
	color: var(--white);
}
.cancelalert .buttons_cancel{
  display: flex;
  justify-content: space-between;
}
.cancelalert .buttons_cancel .default-btn{ 
  width: 45% !important;
  margin: auto;
}
.order_footer{
	display: flex;
	justify-content: center;
}
.info_right.summ-updatable{
  display: flex;
}
.info_right.summ-updatable>span{
	display: flex;
	margin: auto;
}
.modalntf-cls-btn {
	display: none;
	position: absolute;
	top: 10px;
	right: 26px;	
	width: 35px;
	height: 35px;
	background: url(../img/modal-cls-btn.png) 0 0 no-repeat;
	cursor: pointer;
}
.overlay {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	background:var(--black);
	opacity:0.5;
	z-index:1050;
	display:none;
}

.add-cost-alert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Модальное окно */
.modal-content {
    background: #fff;
    padding: 15px 5px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 320px;
    max-width: 95%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}
.modal-content h4{
	margin-bottom: 20px;
}
/* Анимация появления */
.add-cost-alert-overlay.show {
    opacity: 1;
    visibility: visible;
    z-index: 100;
}

.add-cost-alert-overlay.show .modal-content {
    transform: translateY(0);
}
@media(max-width:375px){
	.add-cost-alert-overlay.show .modal-content{
		transform: translateY(35%);
		/*margin-top: auto;
		margin-bottom: 50px;*/
	}
}
.modal-content .block-field{
	min-height: unset;
	padding: 0;
}

.addInOrderCost.add-to-cost {
    margin: 20px auto;
}

.cost-controls{
	display: flex;
	justify-content: center;
}
.add-cost-buttons{
	display: flex;
	justify-content: space-between;
}
.add-cost-buttons>button{
	width: 45%;
}
.error-add-cost .buttons_cancel{
  display: flex;
}
.error-add-cost .buttons_cancel .default-btn{
  margin: 10px auto;
  width: 45%;
}
.info_right.summ-updatable > span.ptype{
	text-wrap: nowrap;
	white-space: nowrap; /* Запрещает перенос строк */
  overflow: hidden; /* Скрывает выходящий за границы текст */
  text-overflow: ellipsis; /* Добавляет "..." при обрезке */
  font-size: 12px;
}
.order_notify{
	text-align: center;
}