.mod_mrform form {
    margin: 0;
}

.mod_mrform form .control {
    position: relative;
}

.mod_mrform form mark {
    background: none !important;
    font-size: 14px;
    font-weight: 300;
    left: 0;
    top: auto;
    bottom: -18px;
    padding: 0 !important;
    position: absolute;
    z-index: 1;
}

.mod_mrform form mark label {
    color: #ff0000;
    display: block;
    font-weight: 300;
    font-size: 12px;
    line-height: 18px;
    margin: 0 !important;
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-size: 0;
    z-index: 2;
    text-align: center;
    background: #fff no-repeat 50% 50%;
    transition: all 0.5s ease;
}

.mod_mrform .mod_tm_ajax_contact_form{
    position: relative;
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message span.s{
    font-size: 20px;
    line-height: 24px;
    vertical-align: middle;
    max-width: 100%;
    color: #00AF00;
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message span.e {
    font-size: 20px;
    line-height: 24px;
    vertical-align: middle;
    max-width: 100%;
    color: #f41f14;
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.l{
    z-index: 2;
    background: url(../images/loading.gif) 50% 50% no-repeat #fff;
    opacity: .8;
    filter: alpha(opacity=80);
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.s{
    z-index: 2;
    background: #fff;
    color: #4ec385;
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message span.e span{
    display: block;
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.e,
.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.c{
    z-index: 2;
    color: #ec7b7b;
    background: #fff;
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.e span.e,
.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.c span.c,
.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message.s span.s{
    display: inline-block;
}

.mod_mrform .mod_tm_ajax_contact_form .mod_tm_ajax_contact_form_message:before{
    content: '';
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
}

.mod_mrform .mod_tm_ajax_contact_form .control{
    position: relative;
}

.mod_mrform .mod_tm_ajax_contact_form_select{
    width: 100%;
    display: block !important;
    position: absolute;
    z-index: -1;
}

@media (max-width: 768px){
    .mod_mrform .mobile .mod_tm_ajax_contact_form_select{
        position: relative;
        z-index: 1;
    }
}

.mod_mrform  .mod_tm_ajax_contact_form_select.error + mark + div.chzn-container-single .chzn-single{
    border: 1px solid red;
}

.mod_mrform .mod_tm_ajax_contact_form_select.valid + mark + div.chzn-container-single .chzn-single{
    border: 1px solid #ccc;
}

.mr-form a {
    text-decoration: underline;
}

.mr-form .control-with-margin {
    margin: 20px 0;
}

.mr-form-lightbox {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 99999;
}

.mr-form-lightbox__bg {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
}

.mr-form-lightbox__form {
    padding: 20px 20px 0 20px;
    background-color: #fff;
    width: 80%;
    z-index: 999999;
    position: relative;
    margin: 20% auto 0;
    max-width: 600px;
}

@media (max-width: 450px) {
    .mr-form-lightbox__form {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.mr-form-lightbox__close {
    background: none;
    color: #787878;
    font-size: 30px;
    height: 30px;
    line-height: 30px;
    margin: 0;
    padding: 5px 7px 0 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    -webkit-transition: font-size 0.2s ease;
    -o-transition: font-size 0.2s ease;
    transition: font-size 0.2s ease;
    cursor: pointer;
}

.mr-form-lightbox__close:after {
    content: '\f057';
    font-family: FontAwesome;
}

.mr-form-lightbox .mr-form .mod_tm_ajax_contact_form .control{
    text-align: center;
}

.c-select {
    position: relative;
}

.c-select__input {
    display: block;
    max-width: 100%;
    height: 50px;
    background: transparent;
    border: 1px solid #929292;
    color: #787878;
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    padding: 12px 20px;
    vertical-align: middle;
    outline: none;
    margin-bottom: 25px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: border-color 1s ease, box-shadow 1s ease;
    -o-transition: border-color 1s ease, box-shadow 1s ease;
    transition: border-color 1s ease, box-shadow 1s ease;
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.c-select__input.error {
    border-color: #ff0000 !important;
    color: #787878 !important;
}

.c-select__input.active {
    border: 1px solid #dddddd;
}

.c-select__input i {
    float: right;
    margin-top: 5px;
    font-size: 13px;
    color: #303030;
}

.select-drop-down {
    position: absolute;
    left: 0;
    top: 50px;
    width: 100%;
    -webkit-border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid #dddddd;
    border-top: none;
    margin: 0;
    height: auto;
    color: #374046;
    background: #fff;
    z-index: 100;
}

.select-drop-down__item {
    padding: 10px 20px;
    background: transparent;
    margin: 0;
    line-height: 15px;
    word-wrap: break-word;
    -webkit-touch-callout: none;
    cursor: pointer;
    color: #787878;
    font-size: 16px;
    font-weight: 300;
}

.select-drop-down__item:hover {
    background-color: #ff623d;
    color: #fff;
}

@media (max-width: 768px) {
    .mr-form .mod_tm_ajax_contact_form .control{
        text-align: center;
    }
}
