#feedback {
    width: 600px;
    margin-top: -250px;
    margin-left: -300px;
    position: relative;
    display: flex;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.7);
    transition: width 0.5s ease;
    -webkit-transition: width 0.5s ease 0s;
}

#feedback .form-container {border: none; width: 65%;}

.form-picture {
	width: 35%;
    background: #ffc31e;
	background-repeat: no-repeat;
	background-position: center;	
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 50px;
    justify-content: center;
}

.popup .form-picture img {max-width: 130px;}

/*#feedback .form-container {width: 40%;}*/

form.form-container {
    background: #fff;
	border: 5px solid #eee;
    display: block;
    margin: 0 auto;
    color: #333;
    padding: 40px 40px 25px 40px;
    font-size: 1.2rem;
	border-radius: 5px;
}

form.form-container h2, form.form-container p {margin-bottom: 15px;}

form.form-container input {width: 100%; margin-bottom: 15px; font-size: 1.1rem; border-radius: 5px;}

form.form-container input.submit-button {
    background: #ffde00;
    border: none;
    width: 50%;
    font-size: 1.4rem;
    box-shadow: 0px 3px 0px #FFC107;
    border-radius: 5px;
	cursor: pointer;
}

form.form-container input.submit-button:hover {background: #FFEB3B;}

form.form-container small {color: #aaa;}

form.form-container small a {color: #aaa; text-decoration: underline;}

input.form-field.form-address, #address_input {
    height: 1px;
    font-size: 0.1rem;
    padding: 0;
    border: none;
    margin-bottom: 0;
    visibility: hidden;
}


.thanks {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99;
    font-size: 22px;
    background: #ffc31e;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
    width: 500px;
    margin-left: -250px;
    margin-top: -150px;
    padding: 50px;
    text-align: center;
    display: none;
}


@media screen and (max-device-width: 640px) {
	#feedback {flex-wrap: wrap; width: 340px; margin-left: -170px;}
	.form-picture {width: 100%; padding: 75px 50px;}
	/*p.close {color: #fff;}*/
	.popup .form-picture img {display: none;}
}

@media screen and (max-device-width: 480px) { 
	.thanks {width: 320px; margin-left: -160px; padding: 25px 30px;} 
	#feedback .form-container {width: 100%;}
	.form-picture {width: 100%; padding: 15px;}
	.popup .form-picture img {max-width: 75px;}
	form.form-container {padding: 20px 20px 15px 20px;}
	form.form-container input.submit-button {width: 100%;}
}

@media screen and (max-device-width: 380px) { #feedback {width: 90%; margin-left: -45%;} }