#order_form {
    max-width: 600px;
    margin: 20px;
    padding: 20px;
    padding-bottom: 55px;

    font-family: Arial;

    background: white;
    background-image: url('../img/formbg.jpg?v1');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

@media (min-width: 600px) and (max-width: 739px) {
    #order_form {
        margin: 0 -12px!important;
        margin-bottom: -170px!important;
        padding: 20px!important;
        padding-bottom: 116px!important;
    }
}


@media (min-width: 460px) and (max-width: 599px) {
    #order_form {
        margin: 0 -26px!important;
        margin-bottom: -190px!important;
        padding: 20px!important;
        padding-bottom: 160px!important;
    }
}



#order_form div {
    background: transparent!important;
}

#order_form h2 {
    margin: 25px 0 0 0;
    padding: 0;

    line-height: 32px;

    border: none;
}

#order_form label {
    display: block;
    width: 230px;
    padding: 5px 0 5px 0;

    font-weight: bold;
    font-size: 16px;
}

#order_form label.vertical {
    border: none!important;
}



.device_info {
    display: block;
    margin: 10px 20px;

    font-size: 14px;
    color: green;
}



#order_form .order_form_pole {
    
    display: inline-block;
    margin: 10px 0 0;
    width: 46%;
}

@media (max-width: 640px) {
	#order_form .order_form_pole {
		width: 100%;
	}
	#order_form label {
		padding: 0;
	}

	#order_form_place>small>div {
		padding: 0 5px!important;
	}
}

@media (max-width: 640px) {
}
#order_form input,
#order_form select {
	font-size: 21px;
	padding: 10px 15px;
	border-radius: 3px;
	border: 2px solid #e9d7dc;
	max-width: 300px;
	width: 100%;
	box-sizing: border-box;
}

#order_form select {
	background-color: #fff;

-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;

background-image: url('../img/sel.png');
background-position: 96% center;
background-repeat: no-repeat;
}

#order_form span {
    font-size: 12px;
}

.additional {
    padding: 5px;
}



#order_form button,
.obutton {
    display: inline-block;
    margin-top: 20px;
    padding: 20px;

    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;

    background-color: #0299ff;
    background-repeat: no-repeat;
    background-position: 1.35em 0.94em;
    background-size: 1em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 15px 0 rgba(129, 150, 160, 0.45);
    cursor: pointer;

    transition: all 0.15s ease-in-out;
}

#order_form button:hover,
.obutton:hover {
    background-color: #017acc;
}

#order_form button:active {
    position: relative;
    top: 1px;
}



.order_info h2 {
    color: red!important;

    border: none!important;
}



.left_count {
    width: 178px;
    margin: 12px 0;
    padding: 23px;

    font-size: 32px!important;
    color: #ffffff;
    text-shadow: 0 -1px 0 #000000, 0 -1px 0 #000000, 0 1px 0 #000000, 0 1px 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;

    background: red;
    border-radius: 5px;
}



.left_count .prod_left_val {
    font-size: 52px!important;
}



#order_form_success {
    position: relative;
}



@media screen and (max-width: 480px) {

	#order_form label {
		font-size: 14px;
	}

	#order_form button {
		font-size: 16px;
	}

	#order_form {
		padding: 10px;
		padding-bottom: 180px;
		margin-bottom: -200px;
	}

	#order_form .order_form_pole {
		padding: 0px;
		margin: 2px;
	}
}

@media screen and (max-width: 459px) {
	#order_form input,
	#order_form select {
		width: 80%;
	}

	#order_form {
		margin-left: -20px;
		margin-right: -20px;
	}
}

@media screen and (max-width: 349px) {
	#order_form input,
	#order_form select {
		font-size: 17px;
	}

	#order_form button {
		margin-left: 0px;
	}
}