html, body {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    min-width: 360px;
}


body.popup {
    background: #898989;
}

body.embedded {
    background: #FFF;
}

body.embedded .popform .popform_container {
    max-width: none;
}

body.embedded .popform .popform_wrapper {
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 10px !important;
}

body.embedded .popform .logo {
    display: none;
}

body.embedded  .popform h2.with_logo {
    margin-top: 0;
}

.clear {
    clear: both;
}

a.new_window {
    padding-right: 16px;
    background: transparent url("../img/form/new-window.png") no-repeat right 1px;
}

input.form_element, select.form_element, textarea.form_element {
    border: 0 none;
    padding: 0 8px;
    margin: 0;
    line-height: 30px;
    background: none;
    width: 100%;
    display: block;
    position: relative;
    left: -8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

input.form_element {
    height: 30px;
}

input.numeric {
    text-align: right;
}

select.form_element {
    height: 34px;
    left: -10px;
    top: -2px;
    width: 130%;
    cursor: pointer;
}

select.form_element option {
    padding: 5px 8px;
}

textarea.form_element {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 20px;
    resize: vertical;
}

input.element_checkbox {
    display: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.form_info {
    clear: both;
}

.form_info .instructions {
    background: #EEE;
    border-radius: 10px;
    padding: 16px;
    font-size: 11px;
    color: #666;
}

.popform {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
    z-index: 1001;
}

.popform .popform_container {
    margin: 0 auto;
    max-width: 800px;
    min-width: 360px;
}

.popform .logo {
    text-align: center;
}

.popform .popform_wrapper {
    margin: 50px 4.5%;
    background: #FFF;
    border-radius: 20px;
    padding: 50px 6%;
    position: relative;
    box-shadow: 0 0 10px #000;
}

.popform h2, .popform h3 {
    margin: 0;
}

.popform h4 {
    margin: 0;
    border-bottom: 1px solid #aaa;
    line-height: 26px;
}

.popform .instructions {
    margin: 0;
    font-size: 11px;
    color: #888;
    line-height: 22px;
}

.popform h3 {
    padding: 16px 0 0 0;
    clear: both;
}

.popform form {
    margin: 0;
    position: relative;
    zoom: 1;
}

.popform .row {
    padding: 10px 0 0 0;
    clear: both;
    zoom: 1;
}

.popform .row .form_grid_30 {
    min-width: 29%;
    float: left;
}

.popform .row .form_grid_30 label {
    height: 32px;
    display: table-cell;
    vertical-align: middle;
}

.popform .row .form_grid_70 {
    width: 69%;
    float: right;
}

.popform .row .form_grid_ynlabel {
    padding-right: 115px;
}

.popform .row .form_grid_ctlabel {
    padding-right: 165px;
}

.popform .row .form_grid_cplabel {
    padding-right: 330px;
}

.popform .row .form_grid_ynitem {
    width: 105px;
    float: right;
}

.popform .row .form_grid_ctitem {
    width: 155px;
    float: right;
}

.popform .row .form_grid_cpitem {
    width: 320px;
    float: right;
}

.popform .row .form_grid_100 {
    width: 100%;
    clear: both;
}

.popform .row label {
    font-size: 14px;
    font-weight: bold;
    line-height: 18px;
    color: #6f6f6f;
}

.popform .row label span.req {
    color: red;
    padding: 0 0 0 3px;
}

.popform .row label.checkbox_label {
    cursor: pointer;
    display: block;
}

.popform .row .input_element {
    padding: 0 8px;
    border: 1px solid #aaa;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.popform .row .input_date {
    width: 200px;
    background: #fff url("../img/calendar.png") no-repeat right center;
}

.popform .row .input_date input {
    width: 160px;
    padding-right: 48px;
}

.popform .row .input_number {
    width: 200px;
}

.popform .row .form_grid_ctitem .input_number {
    width: 137px;
}

.popform .row .form_grid_cpitem .input_number {
    width: 137px;
    float: left;
}

.popform .row .form_grid_cpitem .select_element {
    width: 137px;
    float: right;
}

.popform .row .input_tc {
    padding: 10px;
    font-size: 11px;
}

.popform .row .input_percent {
    width: 200px;
}

.popform .row .input_year {
    width: 100px;
}

.popform .row .select_element {
    overflow: hidden;
    background: #f5f5f5 url("../img/select_arr.png") no-repeat right center;
    cursor: pointer;
    height: 30px;
}

.popform .row .switch_element {
    display: table;
    padding: 0;
    border: 0 none;
    width: 100%;
}

.popform .row .form_grid_ynitem .switch_element {
    float: right;
    width: auto;
}

.popform .row .switch_element .checkbox_label {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-right: 1px solid #aaa;
    color: #000;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-weight: normal;
    line-height: 20px;
    padding: 5px 13px;
    background: #f5f5f5;
}

.popform .row .switch_element .checkbox_label input {
    display: none;
}

.popform .row .switch_element .checkbox_first {
    border-left: 1px solid #aaa;
    border-radius: 5px 0 0 5px;
}

.popform .row .switch_element .checkbox_last {
    border-radius: 0 5px 5px 0;
}

.popform .error .input_element, .popform .error .input_checkbox, .popform .error .switch_element .checkbox_label {
    border-color: #f72727;
    background-color: #ffc5c5;
}

.popform .row .hint {
    padding: 2px 0 0 0;
    font-size: 11px;
    font-style: italic;
    color: #888;
}

.input_checkbox {
    background: #f5f5f5  url("../img/check.png") no-repeat 0 30px;
    border: 1px solid #aaa;
    border-radius: 5px;
    display: block;
    height: 20px;
    float: left;
    width: 20px;
}

.active .input_checkbox {
    background: transparent url("../img/check.png") no-repeat center center;
}

.input_checkbox_label {
    min-height: 18px;
    margin: 0 0 0 30px;
    padding: 2px 0;
    display: block;
}

.row_children {
    padding-left: 30px;
}

.progress_bar_container {
    padding: 10px 0 0 0;
    clear: both;
}
.progress_bar {
    background: #bbb none repeat scroll 0 0;
    border-radius: 10px;
    box-shadow: 0 0 0 1px #ececec inset, 0 16px 16px #f5f5f5 inset, 0 2px 2px #a9a9a9;
    overflow: hidden;
    position: relative;
    zoom: 1;
}

.form_body, .form_slides, .form_slide {
    display: none;
}

.progress_bar .gauge {
    width: 0;
    height: 24px;
    line-height: 24px;
    border-radius: 10px 0 0 10px;
}

.progress_bar .gauge_100 {
    border-radius: 10px;
}

.progress_bar .gauge .value {
    float: right;
    height: 24px;
    line-height: 24px;
    padding: 0 5px 0 0;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
}

.progress_bar .gauge .value_0 {
    color: #6f6f6f;
    left: 8px;
    position: absolute;
    top: 1px;
}

.form_buttons {
    clear: both;
    padding: 10px 0 0 0;
    display: none;
}

.form_buttons_row {
    padding: 10px 0 0 0;
    border-top: 1px solid #aaa;
}

.from_buttons_center {
    padding: 10px 0;
}

.form_buttons_row a.button, .unsub_btn {
    border: 0 none;
    border-radius: 10px;
    float: right;
    font-weight: bold;
    line-height: 38px;
    padding: 0 24px;
    text-decoration: none;
    margin: 0 0 0 10px;
    font-size: 16px;
}

.unsub_btn {
    float: none;
    margin: 0;
}

.from_buttons_center a.button {
    float: none;
    display: block;
    margin: 0 auto;
}

.form_buttons_row a.disabled {
    box-shadow: none;
    text-shadow: none;
    background: #aaa;
    color: #777;
}

.form_buttons_row a#btn_back, .form_buttons_row a#btn_save {
    box-shadow: none;
    text-shadow: none;
    line-height: 36px;
    font-weight: normal;
}

.form_buttons_row a#btn_save {
    display: none;
}

.processing {
    height: 100px;
    background: transparent url("../img/processing.gif") no-repeat center center;
}

.thankyou {
    clear: both;
    display: none;
}

.thankyou .thankyou_row {
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
    border-top: 1px solid #aaa;
}

@media (max-width: 700px) {

    .popform .row .form_grid_30, .popform .row .form_grid_70 {
        float: none;
        width: auto;
        min-width: auto;
    }

    .popform .row .form_grid_30 label {
        height: 22px;
    }

    body.popup {
        background: #FFF;
    }

    body .popform .popform_container {
        max-width: none;
    }

    body .popform .popform_wrapper {
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 10px !important;
    }

}

@media (min-width: 700px) {
    .popform .company_logo {
        position: absolute;
        top: -61px;
        right: -20px;
        float: right;
    }
    .popform h2.with_logo {
        margin-top: 55px;
    }
}

@-ms-viewport{
    width: device-width;
}

#form_errors {
    display: none;
    margin-top: 10px;
}

.errors_title {
    font-weight: bold;
    padding: 10px 0;
    font-size: 12px;
    color: #FFF;
    padding: 7px 10px;
    background: #d85353;
    border-radius: 10px 10px 0 0;
    text-shadow: 1px 1px 0 #a62121;
}
.errors_body {
    font-size: 11px;
    color: #c13c3c;
    padding: 10px 10px 7px;
    border: 1px solid #d85353;
    background: #ffd4d4;
    border-radius: 0 0 10px 10px;
}

.errors_body div {
    padding: 0 0 3px 0;
}

.errors_body div a {
    font-weight: bold;
    color: #c13c3c;
}

.pds-row {
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.pds-row:last-child {
    padding-bottom: 0;
    border-bottom: 0 none;
}

.pds-icon {
    width: 100px;
    margin-right: 30px;
}

.pds-download {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 40px;
    margin-left: 16px;
}

.pds-download a {
    text-decoration: none;
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
}
.pds-name {
    width: 100%;
    overflow: hidden;
}

.pds-name .name {
    font-size: 20px;
    line-height: 30px;
}

.pds-name .name a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
}

.pds-name h3 {
    font-size: 23px;
    font-weight: normal;
    padding: 0;
}
.pds-name h3 a {
    text-decoration: none;
}

.pds-name .data {
    color: #999;
}