
.popupAppContainer {
	display: flex;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(180deg, #000000 0%, #212121 90%);

}

.popupAppForm {
	width: 350px;
	padding: 35px 50px 0 50px;
	text-align: center;
	font-size: 1.3rem;
	background-color: #ff6600; /* Red */
	border: solid;
	border-radius: 42px;
    border-width: 0;
}

.popupAppText {
    font-family: 'AvantGardeCTT', sans-serif;
    font-size: 28px;
/*    font-style: italic;*/
    font-weight: bold;
}

.popupAppText2 {
    padding: 20px 0;
}

/* -------------------------------------- */

.popupAppTimer {
    display: flex;
    padding-top: 0px;
    padding-bottom: 20px;
    align-items: center;
    justify-content: center;
}

.popupAppTimerRectangle {
    padding-top: 5px;
    padding-bottom: 5px;
}

.popupAppTimerDigit {
    font-size: 38px;
    font-style: italic;
    font-weight: bold;
	color: white;
	background-color: black;
    border-radius: 5px;
    padding: 15px 20px 15px 12px;
}

.popupAppTimerUnit {
	color: black;
    font-size: 15px;
    font-weight: bold;
    margin-top: 3px;
}

.popupAppTimerСolon {
    font-size: 35px;
    font-style: italic;
    padding: 0 10px 0 5px;
    margin-bottom: 27px;
}

/* -------------------------------------- */

.popupAppAgree {
    display: flex;
    padding-top: 10px;
    padding-bottom: 27px;
}

.popupAppAgreeCheck {
    accent-color: black;
    width: 25px;
    height: 25px;
}

.popupAppAgreeText {
    color: black;
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    padding-left: 11px;
}

.popupAppRow {
    box-sizing: border-box;
    position: relative; /* для popupAppError */
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    height: 70px;
    padding: 0 20px;
    background-color: white;
    border-radius: 50px;
}
.popupAppRow1 {
    margin-bottom: 15px;
}
.popupAppRow3 {
    width: 420px;
    margin: 12px 0 12px 20px;
}
@media screen and (max-width: 1240px) {
    .popupAppRow3 {
        margin-left: 60px;
    }
}
@media screen and (max-width: 390px) {
    .popupAppRow3 {
        margin-left: 0;
    }
}

.popupAppInput {
    box-sizing: border-box;
    width: 100%;
    border-width: 0;
    font-size: 19px;
    font-weight: 500;
}
.popupAppInput:focus { outline: none; }

.popupAppName {
    width: 100%;
}

.popupAppTelFlag {
    box-sizing: border-box;
    width: 40px;
    height: 25px;
    margin-right: 5px;
    box-shadow: 0px 0px 5px grey;
    cursor: pointer;
}

.popupAppTelArrow {
    box-sizing: border-box;
    cursor: pointer;
}
.popupAppTelArrow svg {
    width: 20px;
    height: 20px;
    color: black;
}
.popupAppTelCode {
    box-sizing: border-box;
    width: auto;
    margin-left: 10px;
    color: black;
}

.popupAppTel {
    box-sizing: border-box;
    width: 170px;
    margin-left: 8px;
}

/* Locality */

.popupAppLocality {
    width: 100%;
    background-color: white;
}

.popupAppLocality input:disabled {
    background-color: white;   
}

/* SELECT Locality */
.popupAppLocalitySelect {
    box-sizing: border-box;
    visibility: hidden;
    width: 100%;
    background-color: lavender;
    color: black;
    text-align: center;
    border-radius: 16px;
    padding: 16px 20px;
    position: absolute;
    bottom: 110%;
    left: 50%;
    margin-left: -50%;
    max-height: 460px;
    overflow-y: auto;
}

.popupAppLocalitySelectRow {
    box-sizing: border-box;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px 10px;
    cursor: pointer;
}
.popupAppLocalitySelectRow:hover { background-color: whitesmoke;}

/* Type */

.popupAppType {
    width: 100%;
    background-color: white;
}

.popupAppType input:disabled {
    background-color: white;   
}

.popupAppTypeArrow {
    box-sizing: border-box;
    cursor: pointer;
}
.popupAppTypeArrow svg {
    width: 20px;
    height: 20px;
    color: black;
}

/* SELECT TYPE */
.popupAppTypeSelect {
    box-sizing: border-box;
    visibility: hidden;
    width: 100%;
    background-color: lavender;
    color: black;
    text-align: center;
    border-radius: 16px;
    padding: 16px 20px;
    position: absolute;
    bottom: 110%;
    left: 50%;
    margin-left: -50%;
}

.popupAppTypeSelectRow {
    box-sizing: border-box;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px 10px;
    cursor: pointer;
}
.popupAppTypeSelectRow:hover { background-color: whitesmoke;}

/*  */
.popupAppTelCodeSelectName {
    box-sizing: border-box;
    text-align: left;
    margin-left: 15px;
}

/* Submit */

.popupAppSubmit {
    box-sizing: border-box;
    height: 70px;
    border-radius: 50px;
    border-width: 0;
    padding: 0 20px;
    font-size: 28px;
    cursor: pointer;
}

.popupAppSubmit1 {
    font-family: 'AvantGardeCTT_bold', sans-serif;
    color: #ffffff;
    background-color: #212121;
    width: 100%;
    margin-bottom: 12px;
/*    font-style: italic;*/
    font-stretch: condensed;
}

.popupAppSubmit2 {
    color: #ffffff;
    background-color: #ff6600;
    min-width: 377px;
}
@media screen and (max-width: 1070px) {
    .popupAppSubmit2 {
        min-width: 100%;
    }
}

.popupAppSubmit3 {
    color: #ffffff;
    background-color: #ff6600;
    width: 420px;
    margin: 0 0 16px 20px;
}
@media screen and (max-width: 1240px) {
    .popupAppSubmit3 {
        margin-left: 60px;
    }
}
@media screen and (max-width: 390px) {
    .popupAppSubmit3 {
        margin-left: 0;
    }
}

.popupAppSubmit4 {
    color: #ffffff;
    background-color: #ff6600;
    min-width: 377px;
}
@media screen and (max-width: 1070px) {
    .popupAppSubmit4 {
        min-width: 100%;
    }
}

/* SELECT COUNTRY CODE */
.popupAppTelCodeSelect {
    visibility: hidden;
    width: 100%;
    background-color: lavender;
    color: black;
    text-align: center;
    border-radius: 16px;
    padding: 16px 0;
    position: absolute;
    bottom: 110%;
    left: 50%;
    margin-left: -50%;
}

.popupAppTelCodeSelectRow {
    box-sizing: border-box;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
}
.popupAppTelCodeSelectRow:hover { background-color: whitesmoke;}

.popupAppTelCodeSelectFlag {
    box-sizing: border-box;
    width: 40px;
    height: 25px;
    margin-left: 15px;
    box-shadow: 0px 0px 5px grey;
}

.popupAppTelCodeSelectCode {
    box-sizing: border-box;
    width: 40px;
    text-align: left;
    margin-left: 15px;
}

.popupAppTelCodeSelectName {
    box-sizing: border-box;
    text-align: left;
    margin-left: 15px;
}

/* Сообщение об ошибке */
/* https://www.schoolsw3.com/howto/howto_js_popup.php */
.popupAppError {
    visibility: hidden;
    width: 100%;
    background-color: yellow;
    color: tomato;
    text-align: center;
    border-radius: 20px;
    padding: 8px 0;
    position: absolute;
    bottom: 110%;
    left: 50%;
    margin-left: -50%;
}

/* Стрелка окна сообщения об ошибке */
.popupAppError::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: yellow transparent transparent transparent;
}
