#popup_order_form input[type=text].error,
#popup_order_form textarea.error
{
    color: red;
    outline: red;
}

#popup_order_form
{
    position: fixed;
    left: 50%;
    top: 50%;
    width: 330px;
    margin-left: -165px;
    margin-top: -170px;
    border-radius: 7px;
    background-color: #FFF;
    -webkit-box-shadow: 0px 0px 7px #C6C6C6;
    -moz-box-shadow: 0px 0px 7px #C6C6C6;
    box-shadow: 0px 0px 7px #C6C6C6;
    z-index: 99;
    display: none;
    border: 3px solid #5A5D64;
    padding: 15px;
    font-family: arial;
}

#popup_order_form *
{
    margin: 0; padding: 0;
}

#popup_order_form input[type=text]
{
    display: inline-block;
    color: #A0A0A0;
    width: 300px;
    padding: 3px;
    border: 1px solid #c6c6c6;
    font-size: 16px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 7px #C6C6C6;
    -moz-box-shadow: 0px 0px 7px #C6C6C6;
    box-shadow: 0px 0px 7px #C6C6C6;
}

#popup_order_form textarea
{
    display: inline-block;
    width: 300px;
    height: 60px;
    padding: 3px;
    border: 1px solid black;
    border: 1px solid #c6c6c6;
    border-radius: 3px;

    -webkit-box-shadow: 0px 0px 7px #C6C6C6;
    -moz-box-shadow: 0px 0px 7px #C6C6C6;
    box-shadow: 0px 0px 7px #C6C6C6;
    resize: none;
    font-size: 16px;
    font-family: 'Arial';
    color: #A0A0A0;
}

#popup_order_form textarea:focus,
#popup_order_form input[type=text]:focus
{
    color: #000000;
}

#popup_order_form .popup_order_form_header
{
    font: 24px arial;
    color: #666;
    font-weight: bold;
    padding: 0px 0px 0px 10px;
}

#popup_order_form .popup_order_form_content
{

}

#popup_order_form .instruction
{
    padding: 2px 20px 8px 11px;
    color: #333;
    font: 14px 'Arial';
}

#popup_order_form .popup_order_form_message
{
    display: none;
}

#popup_order_form .popup_order_form_message p
{
    font: 21px/30px arial;
    font: 21px/30px arial;
    color: #333;
}

#popup_order_form span.error
{
    font-size: 12px;
    color: red;
    display: block;
    height: 15px;
    padding-left: 15px;
    background: none;
}

#popup_order_form .submit
{
    position: relative;
    top: 0;
    left: 11px;
    width: 310px;
    padding: 2px 0 3px;
    font: 20px Arial;
    font-weight: bold;
    color: red;
    cursor: pointer;
}

#popup_order_overlay
{
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("overlay.png")/*tpa=http://smasmo.ru/popup_order/overlay.png*/;
    opacity: 0.7;
    display: none;
}

#popup_order_form span.close_popup
{
    position: absolute;
    right: 5px;
    top: 10px;
    width: 33px;
    height: 33px;
    background: url(close_popup.png)/*tpa=http://smasmo.ru/popup_order/close_popup.png*/ 0 0 no-repeat;
    cursor: pointer;
}

#popup_order_form .red
{
    position: relative;
    top: 7px;
    width: 7px;
    color: red;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
}

a.close_popup
{
    display: block;
    text-decoration: underline;
    white-space: nowrap;
    margin-top: 15px;
    color: #F00;
    text-align: center;
}

#popup_order_form .button_zak1
{
    cursor: pointer;
    border-top: 1px solid #1f597d;
    background: #1f262b;
    background: -webkit-gradient(linear, left top, left bottom, from(#7da0b5), to(#1f262b));
    background: -moz-linear-gradient(top, #7da0b5, #1f262b);
    background: -ms-linear-gradient(top, #7da0b5, #1f262b);
    background: -o-linear-gradient(top, #7da0b5, #1f262b);
    padding: 5.5px 11px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
    text-shadow: rgba(0,0,0,.4) 0 1px 0;
    color: white; font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none; vertical-align: middle;
}

#popup_order_form .button_zak
{
 border-top: 1px solid #e30000; background: #960505; background: -webkit-gradient(linear, left top, left bottom, from(#f78c8c), to(#960505)); background: -moz-linear-gradient(top, #f78c8c, #960505); background: -ms-linear-gradient(top, #f78c8c, #960505); background: -o-linear-gradient(top, #f78c8c, #960505); padding: 4.5px 9px; -webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.2); text-shadow: rgba(0,0,0,.4) 0 1px 0; color: #ffffff; font-size: 15px; font-family: Helvetica, Arial, Sans-Serif; text-decoration: none; vertical-align: middle; font-weight:bold;
}

.make_order:hover
{
    color: #d9ff00; background: #00678e;
    background: -webkit-gradient(linear, left top, left bottom, from(#c7dbe8), to(#00678e));
    background: -moz-linear-gradient(top, #c7dbe8, #00678e);
    background: -ms-linear-gradient(top, #c7dbe8, #00678e);
    background: -o-linear-gradient(top, #c7dbe8, #00678e);
}

.make_order:active
{
    border-top-color: #5988a8;
    background: #5988a8;
}

