.ap_form input[type='number'] {
    -moz-appearance:textfield;
}

.ap_form input::-webkit-outer-spin-button,
.ap_form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.ap_form input[type=text],
.ap_form input[type=tel],
.ap_form input[type=email],
.ap_form input[type=number],
.ap_form input[type=password],
.ap_form select,
.ap_form textarea {
    margin-right:       2px;
    background:         #FFF;
    box-sizing:         border-box;
    height: auto;
    line-height: 120%;
    min-height: 32px;

    -moz-border-radius:		4px !important;
    -webkit-border-radius:	4px !important;
    border-radius:			4px !important;

    width: 100%;
    font-size: 12px;
}

.ap_form .ap_input_file[type=file] {
    margin: 0;
    padding: 5px 0;
    background: none;
    box-sizing:         border-box;
    height: auto;
    line-height: 120%;
    min-height: 32px;

    -moz-border-radius:		4px !important;
    -webkit-border-radius:	4px !important;
    border-radius:			4px !important;

    width: 100%;
    font-size: 12px;
}



.ap_form input::-webkit-input-placeholder {
    color: #AAA;
    font-size: 11px;
}
.ap_form input:-moz-placeholder {
    color: #AAA;
    font-size: 11px;
}

.ap_form  {
background:#FFF;
width:100%;
}

.ap_form td, .ap_form th {
vertical-align: top;
    line-height: 26px;
}

.ap_form td.ap_fbl_line {
padding: 0;
height: 0;
border-bottom:#DDD solid 1px;
}

.ap_form tr.ap_fbl_start:hover {
    background: none;
}

.ap_form tr.ap_fbl_start_top td {
padding-top: 0 !important;
}

.ap_form tr.ap_fbl_start td {
padding-top: 20px;
padding-bottom: 2px;
border-bottom:#DDD solid 1px;
}

.ap_form tr.ap_fbl_start td div.ap_fbl_title {
font-weight: bold;
font-size: 1em;
color: #666;
}

.ap_form tr.ap_fbl_start td div.ap_fbl_descr {
padding: 0 0 5px 0;
font-size: 0.9em;
line-height: 1.1em;
color: #666;
}

img.ap_form_logo {
float: left;
margin-right: 20px;
margin-bottom: 5px;
}

div.ap_form_title{
line-height: 36px;
font-size: 22px;
margin-bottom: 5px;
width: 100%;
}

div.ap_form_descr{
color: #777;
padding: 0;
margin-bottom: 15px;
margin-left: 0;
}

div.ap_f_errdiv {
margin:5px 0 5px 0;
padding:7px 10px 7px 10px;

background: #FBE1B3;

line-height:24px;
font-size:110%;

border: 1px solid #EC9;
border-right: 4px #DD4B39;
border-left: 4px #DD4B39;

-moz-border-radius:       2px;
-webkit-border-radius:    2px;
border-radius:            2px;
}

div.ap_f_sucdiv {
margin:5px 0 5px 0;
padding:7px 10px 7px 10px;

background: #CBE2B4;

line-height:24px;
font-size:110%;

border: 1px solid #AED28A;
border-right: 4px #85B94A;
border-left: 4px #85B94A;

-moz-border-radius:        2px;
-webkit-border-radius:    2px;
border-radius:            2px;
}

div.ap_f_errdiv > img.ap_f_msgimg, div.ap_f_sucdiv > img.ap_f_msgimg {
float:left;
position:relative;
margin: 0 10px 3px 0;
}

.ap_form > tbody > tr > td {
padding:10px;
border-bottom:#F8F8F8 solid 1px;
}

.ap_form > tbody > tr:hover {
background:#F7F7F7;
}

.ap_form td.ap_fc1{
width:5%;
min-width:130px;
white-space:nowrap;
color:#555;
padding-left:20px;
text-align: right;
}

.ap_form td.ap_fc2{
text-align:left;
padding-top:8px;
padding-bottom:8px;
min-width:180px;
width: 300px;
color: #555;
}


.ap_form td.ap_fc3{
text-align:left;
width:48%;
color:#777;
padding-left:15px;
min-width:200px;
font-size: 11px;
}

.ap_form div.respLabel{
    display: none;
}

.ap_form div.respComment{
    display: none;
}

.ap_form tr.ap_ftrbtn input.btn {
    margin-bottom: 10px;
}

@media only screen and (max-width: 720px) {
    .ap_form td.ap_fc1{
        width:5%;
        min-width:130px;
        white-space:nowrap;
        color:#444;
        padding-left:20px;
        text-align: right;
    }

    .ap_form td.ap_fc3{
        display: none;
    }

    .ap_form div.respComment{
        display: block;
    }
}

@media only screen and (max-width: 640px) {
    .ap_form td.ap_fc1{
        display: none;
    }

    .ap_form div.respLabel{
        display: block;
        padding-bottom: 7px;
        color: #888;
        font-weight: bold;
        font-size: 11px;
    }
}

.ap_form td.ap_fc2 div.ap_fcmnt {
color:#777;
padding-top:10px;
font-size: 11px;
line-height: 14px;
}

.ap_form td.ap_fc2 select {
width: 100%;
}

.ap_form td.ap_fc2 label {
width:170px;
padding:5px 4px 5px 4px;
margin-bottom:1px;
margin-right:10px;
margin-top: 3px;
display:block;
float:left;
line-height: 16px;
}

.ap_form td.ap_fc2 label:hover {
background:#FBFBFB;
padding:4px 3px 4px 3px;
border:#E5E5E5 solid 1px;

-moz-border-radius:		4px !important;
-webkit-border-radius:	4px !important;
border-radius:			4px !important;
}

.ap_form td.ap_fc2 label input {
float:left;
margin-right:5px;
}

.ap_form td.ap_fc2 label.ap_f_one_label {
width:auto;
}

.ap_form td.ap_fc2 label.ap_f_one_label input {
    margin-right:0;
}

.ap_form input[type="radio"] {
    margin-right: 10px !important;
}


.ap_form tr.ap_ftrbtn td {
border: 0;
padding: 12px;
}

.ap_form tr.ap_ftrbtn td:first-child {
    width: 5%;
}

.ap_form tr.ap_ftrbtn td:last-child {
    width: 95%;
}

.ap_form tr.ap_ftrbtn td div.ap_btns_box{
}

.ap_form > tbody > tr.ap_ftrbtn:hover {
background:inherit;
}

.ap_form tr.ap_error_tr{
background:#FCF6CF;
border-left:#DD4B39 solid 2px;
border-right:#DD4B39 solid 2px;
}

.ap_form > tbody > tr.ap_error_tr > td {
border-bottom:#F9E8B7 solid 1px;
}

.ap_form > tbody > tr.ap_error_tr:hover {
background:#FFEEBB;
}

.ap_form div.ap_error_node{
clear:both;
padding-top:5px;
color:#DD4B39;
}

input.ap_error_input, select.ap_error_input, textarea.ap_error_input{
border:#DD4B39 solid 1px;
border-width: 1px 1px 1px 1px;
}

div.ap_error_tinymce_div > span.mceEditor > table.mceLayout {
border:0;
}

div.ap_error_tinymce_div > span.mceEditor > table.mceLayout > tbody > tr.mceFirst > td {
border-color:#C76;
}

div.ap_error_tinymce_div > span.mceEditor > table.mceLayout > tbody > tr.mceLast > td {
border-bottom-color: #C76;
border-left-color:	 #C76;
border-right-color:	 #C76;
}

/* ligths table */
.ap_form_ligths{
width:100%;
}

.ap_form_ligths td{
padding:0 7px 0 0;
border:0;
white-space:nowrap;
line-height:28px;
color:#444;
vertical-align: top;
}

.ap_form_ligths td input,
.ap_form_ligths td select{
width: auto;
}

.ap_form_ligths td:last-child{
padding-right: 0;
}

.smart-form .select select {
padding-right: 30px;
}

div.ap_form_report_top {
    float: left;
}

div.ap_form_report_top > div.ap_form_report_top_label {
    font-size: 11px;
    font-family: "Open Sans",Arial,Helvetica,Sans-Serif;
    font-weight: 300;
    padding: 0 5px 0 7px;
    color: #666;
    height:18px
}

div.ap_form_report_top > div.ap_form_report_top_el {
    padding: 0 5px 10px 5px;
}

div.ap_form_report_top > div.ap_form_report_top_el > div.ap_form_static {
    padding: 6px;
    height: 32px;
    border-radius: 4px;
    border: #EEE solid 1px;
    background: #F5F5F5;
    border-top-color: #a3a3a3;
    border-left-color: #a3a3a3;
    border-bottom-color: #ccc;
    border-right-color: #ccc;
}

div.ap_form_static{
    padding: 2px 0 2px 0;
}
