
.mod_tm_ajax_contact_form {
    position: relative;
}
.mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message {
    background: transparent none no-repeat scroll 50% 50%;
    font-size: 0;
    height: 100%;
    left: 0;
    line-height: 0;
    position: absolute;
    text-align: center;
    top: 0;
    transition: all 0.5s ease 0s;
    width: 100%;
    z-index: -1;
}
.mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.loader {
    background: #fff url("../images/loading.gif") no-repeat scroll 50% 50%;
    opacity: 0.8;
    z-index: 2;
}
.mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.success {
    background: #fff none repeat scroll 0 0;
    color: #4ec385;
    font-size: 20px;
    line-height: 24px;
    z-index: 2;
}
.mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.error {
    background: #fff none repeat scroll 0 0;
    color: #ec7b7b;
    font-size: 20px;
    line-height: 24px;
    z-index: 2;
}
.mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 0;
}
.mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message > * {
    display: inline-block;
    vertical-align: middle;
}
.mod_tm_ajax_contact_form .controls {
    display: inline-block;
    margin-bottom: 15px;
    max-width: 100%;
    position: relative;
}
.mod_tm_ajax_contact_form .controls input, .mod_tm_ajax_contact_form .controls select, .mod_tm_ajax_contact_form textarea {
    margin: 0;
}
.mod_tm_ajax_contact_form .top-left .controls mark {
    bottom: 100%;
    left: 17px;
    margin-bottom: -7px;
}
.mod_tm_ajax_contact_form .top-left .controls mark label.error::before {
    border-right: 5px solid transparent;
    border-top: 5px solid #ff6363;
    content: "";
    left: 4px;
    position: absolute;
    top: 100%;
}
.mod_tm_ajax_contact_form .top-center .controls mark {
    bottom: 100%;
    left: 0;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}
.mod_tm_ajax_contact_form .top-center .controls mark label.error::before {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ff6363;
    content: "";
    left: 50%;
    margin-left: -5px;
    position: absolute;
    top: 100%;
}
.mod_tm_ajax_contact_form .top-right .controls mark {
    bottom: 100%;
    margin-bottom: 10px;
    right: 0;
    text-align: right;
}
.mod_tm_ajax_contact_form .top-right .controls mark label.error::before {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ff6363;
    content: "";
    position: absolute;
    right: 10px;
    top: 100%;
}
.mod_tm_ajax_contact_form .right-top .controls mark {
    left: 100%;
    margin-left: 5px;
    top: 0;
    white-space: nowrap;
}
.mod_tm_ajax_contact_form .right-top .controls mark label.error::before {
    border-bottom: 5px solid transparent;
    border-right: 5px solid #ff6363;
    border-top: 5px solid transparent;
    content: "";
    margin-top: -5px;
    position: absolute;
    right: 100%;
    top: 50%;
}
.mod_tm_ajax_contact_form .right-center .controls mark {
    bottom: 0;
    left: 100%;
    margin-left: 5px;
    top: 0;
    white-space: nowrap;
}
.mod_tm_ajax_contact_form .right-center .controls mark::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 0;
}
.mod_tm_ajax_contact_form .right-center .controls mark label.error {
    vertical-align: middle;
}
.mod_tm_ajax_contact_form .right-center .controls mark label.error::before {
    border-bottom: 5px solid transparent;
    border-right: 5px solid #ff6363;
    border-top: 5px solid transparent;
    content: "";
    margin-top: -5px;
    position: absolute;
    right: 100%;
    top: 50%;
}
.mod_tm_ajax_contact_form .right-bottom .controls mark {
    bottom: 0;
    left: 100%;
    margin-left: 5px;
    white-space: nowrap;
}
.mod_tm_ajax_contact_form .right-bottom .controls mark label.error::before {
    border-bottom: 5px solid transparent;
    border-right: 5px solid #ff6363;
    border-top: 5px solid transparent;
    content: "";
    margin-top: -5px;
    position: absolute;
    right: 100%;
    top: 50%;
}
.mod_tm_ajax_contact_form .bottom-right .controls mark {
    margin-top: 5px;
    right: 0;
    text-align: right;
    top: 100%;
}
.mod_tm_ajax_contact_form .bottom-right .controls mark label.error::before {
    border-bottom: 5px solid #ff6363;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    bottom: 100%;
    content: "";
    position: absolute;
    right: 10px;
}
.mod_tm_ajax_contact_form .bottom-center .controls mark {
    left: 0;
    margin-top: 5px;
    right: 0;
    text-align: center;
    top: 100%;
}
.mod_tm_ajax_contact_form .bottom-center .controls mark label.error::before {
    border-bottom: 5px solid #ff6363;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    bottom: 100%;
    content: "";
    left: 50%;
    margin-left: -5px;
    position: absolute;
}
.mod_tm_ajax_contact_form .bottom-left .controls mark {
    left: 0;
    margin-top: 5px;
    top: 100%;
}
.mod_tm_ajax_contact_form .bottom-left .controls mark label.error::before {
    border-bottom: 5px solid #ff6363;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    bottom: 100%;
    content: "";
    left: 10px;
    position: absolute;
}
.mod_tm_ajax_contact_form .left-bottom .controls mark {
    bottom: 0;
    margin-right: 5px;
    right: 100%;
    white-space: nowrap;
}
.mod_tm_ajax_contact_form .left-bottom .controls mark label.error::before {
    border-bottom: 5px solid transparent;
    border-left: 5px solid #ff6363;
    border-top: 5px solid transparent;
    content: "";
    left: 100%;
    margin-top: -5px;
    position: absolute;
    top: 50%;
}
.mod_tm_ajax_contact_form .left-center .controls mark {
    bottom: 0;
    margin-right: 5px;
    right: 100%;
    top: 0;
    white-space: nowrap;
}
.mod_tm_ajax_contact_form .left-center .controls mark::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 0;
}
.mod_tm_ajax_contact_form .left-center .controls mark label.error {
    vertical-align: middle;
}
.mod_tm_ajax_contact_form .left-center .controls mark label.error::before {
    border-bottom: 5px solid transparent;
    border-left: 5px solid #ff6363;
    border-top: 5px solid transparent;
    content: "";
    left: 100%;
    margin-top: -5px;
    position: absolute;
    top: 50%;
}
.mod_tm_ajax_contact_form .left-top .controls mark {
    margin-right: 5px;
    right: 100%;
    top: 0;
    white-space: nowrap;
}
.mod_tm_ajax_contact_form .left-top .controls mark label.error::before {
    border-bottom: 5px solid transparent;
    border-left: 5px solid #ff6363;
    border-top: 5px solid transparent;
    content: "";
    left: 100%;
    margin-top: -5px;
    position: absolute;
    top: 50%;
}
.mod_tm_ajax_contact_form .control-group {
    margin: 0;
}
.mod_tm_ajax_contact_form textarea {
    box-sizing: border-box;
    height: 176px;
    width: 100%;
}
.mod_tm_ajax_contact_form .control-group-textarea .controls {
    display: block;
}
#recaptcha_table {
    transition: all 0.5s ease 0s;
}
.recaptcha_error {
    background: #ec7b7b none repeat scroll 0 0;
    box-shadow: 0 0 3px #ff6363;
}
.mod_tm_ajax_contact_form_recaptcha_message {
    color: #ec7b7b;
}
input.error, textarea.error {
    box-shadow: 0 0 3px #ff6363;
}
