@media (min-width: 768px) {
	.modal-dialog {width: 450px; margin: 50px auto;}

	#orderDesign .modal-dialog {width: 520px;}
	.ajax_form .widthButtonFull {width: 100%;}
}
@media screen and (min-width: 320px) {
	.modal-content .ajax_form.af_example .controls button[type="submit"] {
	    float: none;
	}	
}

button.close {position: absolute; float: none; background: url(/assets/template/matrix/images/close.png) no-repeat center; width: 20px; height: 20px; margin-top: 0px !important; right: -40px; top: 0px; opacity: 1;}

.modal-text {font-size: 24px; color: #434b59; text-align: center; line-height: 30px; margin-bottom: 30px;}
.modal-header {border-bottom: 0; padding: 35px 15px 15px 15px;}
.modal-title {text-align: center; font-size: 30px; font-weight: bold; color: #00adef; text-transform: uppercase;}
.modal-content {
	border: 5px solid #61abec;
	border-radius: 0;	
	padding: 0 0 20px 0;
	background-color: #fbfbfb;
}
.modal-body {padding: 0px 70px;}

.ajax_form {margin: 0;}
.form-control {text-align: center; font-style: italic; font-size: 18px; box-shadow: inset 1px 1px 4px rgba(0,0,0,0.48); height: 45px; padding: 10px 10px;}
.form-control:focus {box-shadow: inset 1px 1px 4px rgba(0,0,0,0.48);}
.form-control.error {border: 1px solid #a52a2a;}

.button_block .btn{position: relative;}
.button_block .btn:before {background-image: url(/assets/template/matrix/type_1/images/strelka.png); background-repeat: no-repeat;display: inline-block; content: ''; width: 65px; height: 64px; position: absolute; right: -45px; bottom: 10px;}

.btn-yellow {font-weight: bold; background-color: #fff000; box-shadow: 0px 0px 5px rgba(251,240,256, 0.5); border: 1px solid #fbf9a7;text-transform: uppercase; font-size: 24px; color: #3b404a; padding: 0;}
.btn-yellow:hover {background-color: #fdf56f;}
.btn-yellow span {box-shadow: 0px 4px 2px rgba(128,123,33, 0.5); display: block; border-radius: 4px; padding: 5px 50px;}

.requred_input::-webkit-input-placeholder {color:#434b59;}
.requred_input::-moz-placeholder          {color:#434b59;}/* Firefox 19+ */
.requred_input:-moz-placeholder           {color:#434b59;}/* Firefox 18- */
.requred_input:-ms-input-placeholder      {color:#434b59;}	