.envelope {	
	width: 595px;
	height: 390px;
	background-image: url(img/envelope.png);
	background-repeat: no-repeat;
	margin: 80px 0;
    z-index: 5;
    /* position: relative; */
}
.envelope div {
    padding: 90px 100px 90px 60px;
}
.envelope div p {
	font-size: 16px;
	font-family: 'fira_sanslight';
	margin-bottom: 20px;	
}
.envelope div p.zayavkazag {
	font-size: 30px;
	font-family: 'fira_sansbold';
	margin-bottom: 30px;	
}
.formacard {
	position: absolute;
    background-image: url(img/backform.png);
    background-repeat: no-repeat;
    background-size: contain;
	padding: 40px 100px;
    width: 585px;
    height: 378px;
    left: 650px;
    top: 86px;
	z-index: 3;
	transition: 1.2s;
}
.succes-text {
	position: absolute;
	padding: 40px 100px;
    width: 585px;
    height: 378px;
    left: 650px;
    top: 86px;
	z-index: 1;
	transition: 3s;
	text-align: center;
	display: flex;
    align-items: center;
    opacity: 0;
}
.succes-text.on {
	opacity: 1;
	transition: 3s;
}
.succes-text p {
	font-size: 38px;
}
.formacard.pull {
	left: 0;
	transition: 1.2s;
}
.forminfo {
	margin-top: 20px;
}
.forminfo p, .forminfo a{
	font-size: 16px;
	color: #000;
    margin-top: 12px;
    margin-bottom: 15px;
}
.formacard .submit {
    background-color: #eaeaea;
    border: 2px solid #3e424c;
    padding: 14px 15px;
    width: initial;
}
.formacard input {
    border: 2px solid transparent;
    border-bottom: 2px solid #8b8d93;
    width: 100%;
    padding: 10px 0 1px;
}
.formacard input::-webkit-input-placeholder,
.formacard input:-ms-input-placeholder,
.formacard input::placeholder {
	color: #000;
}
.zakaz table.form-table td {
	padding: 0;
}
@media (max-width: 1199px){ 
    .envelope {
        width: 490px;
        height: 321px;
        background-image: url(img/envelope.png);
        background-repeat: no-repeat;
        background-size: contain;
        margin: 80px 0 80px 30px;
        z-index: 5;
    }
    .envelope div {
        padding: 40px 80px 25px 40px;
    }
    .formacard {
        position: absolute;
        background-image: url(img/backform.png);
        background-repeat: no-repeat;
        background-size: contain;
        padding: 20px 30px;
        width: 480px;
        height: 310px;
        left: 525px;
        top: 86px;
        z-index: 3;
        transition: 1.2s;
    }
    .succes-text {
        position: absolute;
        padding: 20px 30px;
        width: 480px;
        height: 310px;
        left: 525px;
        top: 86px;
        z-index: 1;
        transition: 3s;
        text-align: center;
        display: flex;
        align-items: center;
        opacity: 0;
    }
    .formacard.pull {
        left: 31px;
    }
}
@media (max-width: 1025px){   
    .envelope {
        width: 490px;
        height: 321px;
        background-image: url(img/envelope.png);
        background-repeat: no-repeat;
        background-size: contain;
        margin: 80px 0 80px 30px;
        z-index: 5;
    }
    .envelope div {
        padding: 40px 80px 25px 40px;
    }
    .formacard {
        position: absolute;
        background-image: url(img/backform.png);
        background-repeat: no-repeat;
        background-size: contain;
        padding: 20px 30px;
        width: 480px;
        height: 310px;
        left: 525px;
        top: 86px;
        z-index: 3;
        transition: 1.2s;
    }
    .succes-text {
        position: absolute;
        padding: 20px 30px;
        width: 480px;
        height: 310px;
        left: 525px;
        top: 86px;
        z-index: 1;
        transition: 3s;
        text-align: center;
        display: flex;
        align-items: center;
        opacity: 0;
    }
    .formacard.pull {
        left: 31px;
    }
}
@media (max-width: 769px){ 
    .envelope {
        width: 355px;
        height: 233px;
        background-image: url(img/envelope.png);
        background-repeat: no-repeat;
        background-size: contain;
        margin: 80px 0 80px 30px;
        z-index: 5;
    }
    .envelope div {
        padding: 10px 45px 25px 10px;
    }
    .envelope div p.zayavkazag {
        font-size: 22px;
        font-family: 'fira_sansbold';
        margin-bottom: 10px;
    }
    .envelope div p {
        font-size: 16px;
        font-family: 'fira_sanslight';
        margin-bottom: 12px;
    }

    /*.envelope {
        width: 490px;
        height: 321px;
        background-image: url(img/envelope.png);
        background-repeat: no-repeat;
        background-size: contain;
        margin: 80px 0 80px 30px;
        z-index: 5;
    }
    .envelope div {
        padding: 40px 80px 25px 40px;
    }*/


    .formacard {
        position: absolute;
        background-image: url(img/backform.png);
        background-repeat: no-repeat;
        background-size: contain;
        padding: 10px 10px;
        width: 340px;
        height: 220px;
        left: 400px;
        top: 86px;
        z-index: 3;
        transition: 1.2s;
    }
    .formacard input {
        border: 2px solid transparent;
        border-bottom: 2px solid #8b8d93;
        width: 100%;
        /*padding: 8px 0 1px;*/
        padding: 0;
    }
    .forminfo {
        margin-top: 5px;
    }
    .forminfo p, .forminfo a {
        font-size: 12px;
        color: #000;
        margin-top: 6px;
        margin-bottom: 6px;
    }
    .formacard .submit {
        border: 2px solid #3e424c;
        padding: 3px 15px;
    }
    /*.formacard {
        position: absolute;
        background-image: url(img/backform.png);
        background-repeat: no-repeat;
        background-size: contain;
        padding: 20px 30px;
        width: 480px;
        height: 310px;
        left: 525px;
        top: 86px;
        z-index: 3;
        transition: 1.2s;
    }*/
    .succes-text {
        position: absolute;
        padding: 20px 30px;
        width: 480px;
        height: 310px;
        left: 340px;
        top: 50px;
        z-index: 1;
        transition: 3s;
        text-align: center;
        display: flex;
        align-items: center;
        opacity: 0;
    }
    .succes-text p {
        font-size: 28px;
    }
    .formacard.pull {
        left: 31px;
    }
}
@media (max-width: 575px){ 
    .zakaz {
        height: 570px;
        position: relative;
        margin-bottom: 50px;
    }
    .envelope {
        position: absolute;
        width: 95%;
        /*height: auto;*/
        background-image: url(img/envelopemob.png);
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 5;
        bottom: 0px;
        margin: unset;
        left: 11px;
    }
    .envelope div {
        padding: 50px 40px 0px 40px;
    }
    .formacard {
        position: absolute;
        background-image: url(img/backform.png);
        background-repeat: no-repeat;
        background-size: contain;
        padding: 5px 15px;
        width: 374px;
        height: auto;
        left: 20px;
        top: unset;
        bottom: 300px;
        z-index: 3;
        transition: 1.2s;
    }
    .formacard.pull {
        left: 20px;
        bottom: 10px;
        top: unset;
        transition: 1.2s;
    }
    .envelope div p.zayavkazag {
        font-size: 24px;
        font-family: 'fira_sansbold';
        margin-bottom: 10px;
    }
    .envelope div p {
        font-size: 16px;
        font-family: 'fira_sanslight';
        margin-bottom: 16px;
    }
    .succes-text {
        position: absolute;
        padding: unset;
        width: auto;
        height: auto;
        left: 0px;
        top: 86px;
        z-index: 1;
        transition: 3s;
        text-align: center;
        display: flex;
        align-items: center;
        opacity: 0;
    }
    .forminfo {
        margin-top: 13px;
    }
    .formacard input {
        border: 2px solid transparent;
        border-bottom: 2px solid #8b8d93;
        width: 100%;
        padding: 7px 0 1px;
    }
    .forminfo p, .forminfo a {
        font-size: 14px;
        color: #000;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}
@media (max-width: 400px){ 
    .formacard {
        width: 335px;
        padding: 0px 15px;
    }
    .forminfo {
        margin-top: 10px;
    }
    .formacard input {
        padding: 2px 0 2px;
    }
    .forminfo {
        margin-top: 10px;
    }
    .forminfo p, .forminfo a{
        font-size: 12px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .formacard .submit {
        padding: 2px 15px;
        margin-bottom: 6px;
    }
    .envelope div {
        padding: 50px 10px 10px 10px;
    }
    .envelope div p {
        font-size: 14px;
    }
}
@media (max-width: 360px){ 
    .formacard {
        width: 335px;
        left: 14px;
    }
    .formacard.pull {
        left: 14px;
    }	
    .envelope div p.zayavkazag {
        font-size: 20px;
        font-family: 'fira_sansbold';
        margin-bottom: 5px;
    }
    .envelope div p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}
@media (max-width: 350px){ 
    .formacard {
        left: -7px;
        transform: scale(0.8);
        bottom: 210px;
    }
    .formacard.pull {
        left: -7px;
        bottom: -15px;
    }
    .envelope div {
        padding: 45px 10px 0px 10px;
    }
    .envelope div p {
        font-size: 13px;
        font-family: 'fira_sanslight';
        margin-bottom: 6px;
    }
    .succes-text p {
        font-size: 28px;
    }
}