/* Modern template */
/*transparent,transparent_invert,dark_gray,gray,light_gray,blue*/
.ifrm.modern * {
    box-sizing: border-box;
    vertical-align: baseline;
}

.ifrm.modern {
    display: block;
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    font-size: 14px;
    line-height: 16px;
    text-align: left;
}

.ifrm.modern .ifrm_inv {
    display: none;
}

.ifrm.modern .ifrm_hid {
    display: inline;
    position: absolute;
    z-index: -999;
    left: -9999px;
    width: 1px;
    height: 1px;
    padding: 5px;
    overflow: hidden;
}

.ifrm.modern .ifrm_box {
    display: block;
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    margin: 0px 0px 20px 0px;
    padding: 3px 1%;
}

@media (min-width: 768px) {
    .ifrm.modern .ifrm_box {
        max-width: 600px;
    }
}

.ifrm.modern .ifrm_title {
    display: block;
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    margin: 0px 0px 20px 0px;
    padding: 0px 1%;
    font-size: 1.2em;
    line-height: 1.4em;
    font-weight: bold;
}

.ifrm.modern .ifrm_form {
    display: block;
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

/* fields */
.ifrm.modern .ifrm_element {
    display: block;
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    margin: 0px 0px 7px 0px;
    padding: 0px;
}

.ifrm.modern .ifrm_element > .ifrm_label {
    display: block;
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    margin: 0px;
    padding: 2px 0px;
    text-align: left;
    line-height: 1em;
    font-size: 1em;
    font-weight: bold;
}

.ifrm.modern .ifrm_element > .ifrm_field,
.ifrm.modern .ifrm_element > .ifrm_field_list {
    display: block;
    position: relative;
    min-height: 35px;
    width: 100%;
    margin: 0px;
    padding: 3px;
}

.ifrm.modern .ifrm_element > .ifrm_error {
    display: block;
    position: relative;
    width: 100%;
    min-height: 12px;
    margin: 0px;
    padding: 2px 0px;
    line-height: 0.7em;
    text-align: left;
}

.ifrm.modern .ifrm_element > .ifrm_field_list {
    display: block;
    position: relative;
    list-style: none;
    margin: 0px;
    padding: 2px;
}

.ifrm.modern .ifrm_element > .ifrm_field_list > li {
    display: block;
    position: relative;
    margin: 0px;
    padding: 2px 0px 2px 0px;
}

.ifrm.modern .ifrm_element > .ifrm_field_list > li > .ifrm_field {
    display: block;
    position: relative;
    float: left;
}

.ifrm.modern .ifrm_element > .ifrm_field_list > li > label {
    display: inline;
    margin: 0px 0px 0px 5px;
    text-align: left;
}


@media (min-width: 768px) {
    .ifrm.modern .ifrm_element > .ifrm_label {
        float: right;
        width: 30%;
        padding-top: 10px;
    }

    .ifrm.modern .ifrm_element > .ifrm_field,
    .ifrm.modern .ifrm_element > .ifrm_field_list {
        float: left;
        width: 68%;
    }
    
    .ifrm.modern .ifrm_element > .ifrm_error {
        float: right;
        width: 30%;
    }
}
/* captcha */
.ifrm.modern .ifrm_form > .ifrm_captcha_box {
    display: block;
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    min-height: 50px;
    margin: 0px 0px 10px 0px;
    padding: 0px;
    line-height: 14px;
}

.ifrm.modern .ifrm_form > .ifrm_captcha_box > .ifrm_captcha_label {
    display: block;
    position: relative;
    height: 16px;
    margin: 0px;
    padding: 0px;
    line-height: 16px;
    font-size: 1.0em;
    text-align: left;
}

.ifrm.modern .ifrm_form > .ifrm_captcha_box > .ifrm_captcha_image {
    display: block;
    position: relative;
    float: left;
    width: 70px;
    height: 32px;
    margin: 8px 0px 0px 0px;
    padding: 0px;
}

.ifrm.modern .ifrm_form > .ifrm_captcha_box > .ifrm_captcha_field {
    display: block;
    position: relative;
    float: left;
    width: 30px;
    height: 20px;
    margin: 14px 0px 0px 5px;
    padding: 0px;
}

.ifrm.modern .ifrm_form > .ifrm_captcha_box > .ifrm_captcha_error {
    display: block;
    position: relative;
    float: left;
    min-height: 12px;
    margin: 26px 0px 0px 5px;
    padding: 0px;
    text-align: left;
}

.ifrm.modern .ifrm_form > .ifrm_captcha_recaptcha_box {
    display: block;
    position: relative;
    float: left;
    clear: both;
    margin: 0px 0px 10px 0px;
}

.ifrm.modern .ifrm_form > .ifrm_captcha_recaptcha_box > .ifrm_captcha_recaptcha_field {
    display: block;
    position: relative;
    float: left;
    clear: both;
    min-height: 80px;
}

.ifrm.modern .ifrm_form > .ifrm_captcha_recaptcha_box > .ifrm_captcha_recaptcha_error {
    display: block;
    position: relative;
    float: left;
    clear: both;
    min-height: 16px;
    margin: 0px;
    padding: 0px;
    text-align: left;
}

/* ajax bar */
.ifrm.modern .ifrm_ajax_bar > .ifrm_bar_ani {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100px;
    height: 10px;
    background: #E0E0E0;
}

.ifrm.modern .ifrm_ajax_bar > .ifrm_bar_ani > span {
    display: block;
    position: relative;
    width: 15px;
    height: 8px;
    background: #000000;
}

.ifrm.modern .ifrm_form > .ifrm_ajax_bar {
    display: block;
    position: relative;
    float: right;
    clear: both;
    height: 18px;
    padding: 1px;
    margin: 0px 0px 10px 0px;
    line-height: 14px;
}

.ifrm.modern .ifrm_form > .ifrm_ajax_bar > .ifrm_bar_mes {
    display: block;
    position: relative;
    float: left;
    height: 16px;
    margin: 3px 0px;
    padding: 0px;
    line-height: 10px;
    font-size: 10px;
}

.ifrm.modern .ifrm_form > .ifrm_ajax_bar > .ifrm_bar_ani {
    display: block;
    position: relative;
    float: left;
    margin: 4px;
    padding: 0px;
}

/* submit button */
.ifrm.modern .ifrm_submit {
    display: block;
    position: relative;
    float: left;
    min-width: 100px;
    min-height: 30px;
    margin: 0px;
    padding: 5px;
    text-align: center;
    text-transform: none;
    font-weight: bold;
}

/* errors & messages */
.ifrm.modern .ifrm_error_mes,
.ifrm.modern .ifrm_required_mes {
    display: block;
    position: relative;
    float: left;
    clear: both;
    width: 100%;
    min-height: 16px;
    margin: 0px 0px 10px 0px;
    padding: 0px;
    line-height: 1.0em;
    font-size: 0.8em;
}

.ifrm.modern .ifrm_error,
.ifrm.modern .ifrm_captcha_error,
.ifrm.modern .ifrm_captcha_recaptcha_error {
    font-size: 0.7em;
}

.ifrm.modern .ifrm_required {
    margin: 0px;
    padding: 2px;
    font-size: 1.2em;
}

/* +++ COLORS & EFFECTS +++ */
.ifrm.modern {
    background-color: #101010;
    color: #fff;
}

.ifrm.modern .ifrm_title {
    color: #fff;
}


.ifrm.modern .ifrm_element > .ifrm_label {
    color: #fff;
}

.ifrm.modern .ifrm_captcha_box > .ifrm_captcha_label {
    color: #fff;
}

.ifrm.modern .ifrm_captcha_box > .ifrm_captcha_field {
    border-width: 1px;
    border-style: solid;
    border-color: #707070;
    background-color: #fff;
    color: #000000;
    outline: none;
}

.ifrm.modern .ifrm_element > .ifrm_field {
    border-width: 1px;
    border-style: solid;
    border-color: #707070;
    background-color: #fff;
    color: #000000;
    outline: none;
}

.ifrm.modern .ifrm_captcha_box > .ifrm_captcha_field:focus,
.ifrm.modern .ifrm_element > .ifrm_field:focus {
    box-shadow: 0px 0px 3px 0px #909090;
}

.ifrm.modern .ifrm_submit {
    border-width: 1px;
    border-style: solid;
    border-color: #707070;
    background-color: #f09020;
    font-weight: bold;
    color: #fff;
    outline: none;
    transition: background-color 0.3s ease-in-out;
}

.ifrm.modern .ifrm_submit:hover {
    background-color: #d07000;
}

.ifrm.modern .ifrm_ajax_bar > .ifrm_bar_ani {
    border-width: 1px;
    border-style: solid;
    border-color: #303030;
    color: #000000;
    background-color: #fff;
    outline: none;
    transition: none;
}

.ifrm.modern .ifrm_ajax_bar > .ifrm_bar_ani > span {
    background-color: #d07000;
    outline: none;
    transition: none;
}

.ifrm.modern .ifrm_error_mes,
.ifrm.modern .ifrm_required_mes {
    color: #fff;
}

/* gray */
.ifrm.modern.dark_gray {
    background-color: #303030;
}

.ifrm.modern.gray {
    background-color: #505050;
}

.ifrm.modern.light_gray {
    background-color: #707070;
}

/* blue */
.ifrm.modern.blue {
    background-color: #1E73BE;
}

/* transparent */
.ifrm.modern.transparent {
    background-color: transparent;
}

/* transparent-invert */
.ifrm.modern.transparent_invert {
    background-color: transparent;
}

.ifrm.modern.transparent_invert,
.ifrm.modern.transparent_invert .ifrm_title,
.ifrm.modern.transparent_invert .ifrm_element > .ifrm_label,
.ifrm.modern.transparent_invert .ifrm_captcha_box > .ifrm_captcha_label,
.ifrm.modern.transparent_invert .ifrm_error_mes,
.ifrm.modern.transparent_invert .ifrm_required_mes {
    color: #000;
}

/* errors */
.ifrm.modern .ifrm_required {
    color: #FF0400;
}

.ifrm.modern .ifrm_element > .ifrm_error, 
.ifrm.modern .ifrm_form > .ifrm_captcha_box > .ifrm_captcha_error,
.ifrm.modern .ifrm_form > .ifrm_captcha_recaptcha_box > .ifrm_captcha_recaptcha_error {
    color: #FF0400;
}

.ifrm.modern .ifrm_element > .ifrm_field_error,
.ifrm.modern .ifrm_form > .ifrm_captcha_box > .ifrm_captcha_field_error {
    border-color: #FF0400;
}


