﻿/* ======================================================================================================================================================
Contact Form
====================================================================================================================================================== */
.fm-registration-form .field-validation-error {
    color: white;
    background-color: #007070;
    width: 100% !important;
    display: inline-block;
    padding: 0 4px;
    font-weight: bold;
    font-size: 0.92em;
}

.fm-registration-form label.error {
    color: #fff !important;
    background-color: #007070;
    padding: 0px 4px;
}

#top .main_color .input-text, #top .main_color input[type="text"], #top .main_color input[type="input"], #top .main_color input[type="password"], #top .main_color input[type="email"], #top .main_color input[type="number"], #top .main_color input[type="url"], #top .main_color input[type="tel"], #top .main_color input[type="search"], #top .main_color textarea, #top .main_color select {
    border-color: #e1e1e1;
    background-color: #f9f9f9;
    color: #444;
}
.main_color table caption, .main_color tr:nth-child(2n), .main_color .pricing-table > li:nth-child(2n), #top .main_color .avia-data-table.avia_pricing_minimal td {
    color: #333;
}
.main_color, .main_color .site-background, .main_color .first-quote, .main_color .related_image_wrap, .main_color .gravatar img .main_color .hr_content, .main_color .news-thumb, .main_color .post-format-icon, .main_color .ajax_controlls a, .main_color .tweet-text.avatar_no, .main_color .toggler, .main_color .toggler.activeTitle:hover, .main_color #js_sort_items, .main_color.inner-entry, .main_color .grid-entry-title, .main_color .related-format-icon, .grid-entry .main_color .avia-arrow, .main_color .avia-gallery-big, .main_color .avia-gallery-big, .main_color .avia-gallery img, .main_color .grid-content, .main_color .av-share-box ul, #top .main_color .av-related-style-full .related-format-icon, .main_color .related_posts.av-related-style-full a:hover, .main_color.avia-fullwidth-portfolio .pagination .current, .main_color.avia-fullwidth-portfolio .pagination a, .main_color .av-hotspot-fallback-tooltip-inner, .main_color .av-hotspot-fallback-tooltip-count {
    color: #333;
}

label.error[for="agree"] {
    display: inline;
}

#registration-information .title {
font-weight: bold;
}

fieldset {
    border: none;
}

.fm-registration-form {
    clear: both;
}

.fm-registration-form fieldset p br {
    display: none;
}

.fm-registration-form label {
    display: block;
    visibility: visible;
    position: relative;
}
/*dont delete. ie8 needs this separate*/
.fm-registration-form label, .modified_width:before {
    display: block;
    visibility: visible;
    position: relative;
    margin-bottom: 7px;
    font-weight: 600;
}

#ajaxresponse.hidden {
    visibility: visible;
    position: static;
    display: none;
}


#top .fm-registration-form .text_input, #top .fm-registration-form .select, #top .fm-registration-form .text_area {
    width: 100%;
    margin-bottom: 0;
    display: inline;
    min-width: 50px;
    padding: 13px;
    border-radius: 2px;
}

#top select, #top .fm-registration-form .select, #top .entry-content-wrapper select {
    -webkit-appearance: none;
    border-radius: 0px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC);
    background-position: center right;
    background-repeat: no-repeat;
    border-radius: 2px;
}

    #top select[multiple], #top .fm-registration-form .select[multiple] {
        background-image: none;
    }

        #top .fm-registration-form .select[multiple] option {
            padding: 5px;
        }


/*remove bg on firefox*/
.avia-mozilla #top select, .avia-mozilla #top .fm-registration-form .select, .avia-mozilla #top .entry-content-wrapper select {
    background-image: none;
}

#top select[multiple] {
    background-image: none;
}

#top .fm-registration-form input[type="checkbox"] {
    float: left;
    margin-right: 8px;
    top: 2px;
    position: relative;
}

.value_verifier_label {
    position: absolute;
    bottom: 11px;
    left: 10px;
    font-size: 13px;
    line-height: 21px;
}

#top .fm-registration-form .captcha {
    padding-left: 65px;
}

.fm-registration-form p {
    position: relative;
    clear: both;
    float: left;
    width: 100%;
    margin: 11px 0;
}

.fm-registration-form.av-form-labels-hidden p {
    margin-top: 8px;
    margin-bottom: 8px;
}

.fm-registration-form p.hidden {
    position: absolute;
    width: 0px;
    left: 0;
    top: 0;
}

.fm-registration-form .form_element_half {
    width: 49.5%;
    float: left;
    margin-left: 1%;
    clear: none;
}

.fm-registration-form .form_element_third {
    width: 32.6%;
    float: left;
    margin-left: 1%;
    clear: none;
}

.fm-registration-form .form_element_two_third {
    width: 66.4%;
    float: left;
    margin-left: 1%;
    clear: none;
}

.fm-registration-form .form_element_fourth {
    width: 24.2%;
    float: left;
    margin-left: 1%;
    clear: none;
}

.fm-registration-form .form_element_three_fourth {
    width: 74.8%;
    float: left;
    margin-left: 1%;
    clear: none;
}

.fm-registration-form .first_form {
    clear: both;
    margin-left: 0;
}

.fm-registration-form .button {
    margin: 0;
    padding: 16px 20px;
    border-radius: 2px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    font-weight: normal;
    font-size: 0.92em;
    min-width: 142px;
    outline: none;
}


.modified_width .button {
    width: 100%;
    padding: 13px 10px 14px;
    min-width: 0;
}

.av-form-labels-visible .modified_width:before {
    display: block;
    content: "Submit Form";
    visibility: hidden;
}

.av-form-labels-visible .av-last-visible-form-element.first_form.modified_width:before {
    display: none;
}


#footer .fm-registration-form textarea {
    height: 90px;
}


.fm-registration-form p input, .fm-registration-form p textarea, .fm-registration-form p select, .fm-registration-form p .input_checkbox_label {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#top .button.av-sending-button {
    -webkit-transition: none;
    transition: none;
    background-size: 32px 32px;
    -webkit-animation: avia-bg-move 1.2s linear infinite; /* Safari 4+ */
    animation: avia-bg-move 1.2s linear infinite; /* IE 10+ */
}

.av-centered-form, #top .av-centered-form input {
    text-align: center;
}

#top .av-centered-form ::-webkit-input-placeholder {
    text-align: center;
}

#top .av-centered-form ::-moz-placeholder {
    text-align: center;
}

#top .av-centered-form :-ms-input-placeholder {
    text-align: center;
}


.fm-registration-form .av-hidden-submit {
    display: none;
}

.avia-form-success {
    text-align: center;
    border-style: solid;
    border-width: 1px;
    padding: 20px 15px;
    line-height: 1.4em;
    border-radius: 2px;
}

#top .av-centered-form input[type="checkbox"] {
    float: none;
}

#top .av-centered-form .input_checkbox_label {
    display: inline-block;
}

.fm-registration-form .required {
    text-decoration: none;
}

/*contact form datepicker*/



#top .avia-datepicker-div {
    background: #fff;
    border: 1px solid #e1e1e1;
    font-size: 15px;
}

    #top .avia-datepicker-div a {
        color: #333;
        background-color: #f8f8f8;
        background-image: none;
    }

        #top .avia-datepicker-div a.ui-state-active {
            color: #8bba34;
        }

        #top .avia-datepicker-div a.ui-state-highlight {
            color: #8bba34;
        }

        #top .avia-datepicker-div a.ui-state-hover {
            color: #FFF;
            background-color: #bbb;
        }

    #top .avia-datepicker-div .ui-datepicker-buttonpane button {
        background-color: #8BBA34;
        color: #FFF;
        border-color: #8BBA34;
    }


    #top .avia-datepicker-div.ui-datepicker {
        width: 300px;
        padding: 20px;
        display: none;
        box-shadow: 0px 0px 44px 0px rgba(0, 0, 0, 0.2);
        border-radius: 0;
    }

        #top .avia-datepicker-div.ui-datepicker .ui-datepicker-header {
            position: relative;
            padding: .2em 0;
            background: transparent;
            border: none;
        }

        #top .avia-datepicker-div.ui-datepicker .ui-datepicker-prev, #top .avia-datepicker-div.ui-datepicker .ui-datepicker-next {
            position: absolute;
            top: 4px;
            width: 50px;
            text-align: center;
            line-height: 34px;
            height: 34px;
            cursor: pointer;
            border-radius: 0;
            text-decoration: none;
            font-size: 12px;
        }

        #top .avia-datepicker-div.ui-datepicker .ui-datepicker-prev {
            left: 2px;
        }

        #top .avia-datepicker-div.ui-datepicker .ui-datepicker-next {
            right: 2px;
        }

        #top .avia-datepicker-div.ui-datepicker .ui-datepicker-title {
            margin: 0px 53px;
            line-height: 32px;
            text-align: center;
            font-weight: bold;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

#top .ui-datepicker-title select {
    width: 72px;
    float: left;
    font-size: 12px;
    margin-left: 3px;
    margin-bottom: 0;
    border-radius: 0px;
}

#top .avia-datepicker-div.ui-datepicker .ui-datepicker-title select {
    font-size: 14px;
    margin: 1px;
}

#top .avia-datepicker-div.ui-datepicker select.ui-datepicker-month-year {
    width: 100%;
}

#top .avia-datepicker-div.ui-datepicker select.ui-datepicker-month,
#top .avia-datepicker-div.ui-datepicker select.ui-datepicker-year {
    width: 48%;
}

#top .avia-datepicker-div.ui-datepicker select.ui-datepicker-year {
    float: right;
}

#top .avia-datepicker-div.ui-datepicker table {
    width: 100%;
    font-size: .9em;
    border-collapse: collapse;
    margin: 0 0 .4em;
}

#top .avia-datepicker-div.ui-datepicker th {
    padding: .7em .3em;
    text-align: center;
    font-weight: bold;
    border: 0;
}

#top .avia-datepicker-div.ui-datepicker td {
    border: 0;
    padding: 1px;
}

    #top .avia-datepicker-div.ui-datepicker td span, #top .avia-datepicker-div.ui-datepicker td a {
        border: none;
        display: block;
        padding: .2em;
        text-align: center;
        text-decoration: none;
    }

#top .avia-datepicker-div.ui-datepicker .ui-datepicker-buttonpane {
    background-image: none;
    margin: .7em 0 0 0;
    padding: 0 .2em;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

    #top .avia-datepicker-div.ui-datepicker .ui-datepicker-buttonpane button {
        float: right;
        margin: .5em 0 .4em;
        cursor: pointer;
        padding: 10px 20px;
        width: auto;
        overflow: visible;
        border: none;
        background-image: none;
        border-radius: 3px;
        font-size: 13px;
    }

        #top .avia-datepicker-div.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
            float: left;
        }

#top .avia-datepicker-div .ui-widget-content {
    background: transparent;
    border: none;
}

#top .avia-datepicker-div.ui-datepicker .ui-datepicker-prev span, #top .avia-datepicker-div.ui-datepicker .ui-datepicker-next span {
    text-indent: 0;
    overflow: visible;
    background-image: none;
    display: inline;
    position: static;
    margin: 0;
    font-weight: normal;
}

/* RTL support */
.avia-datepicker-div.ui-datepicker-rtl {
    direction: rtl;
}

    .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-prev {
        right: 2px;
        left: auto;
    }

    .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-next {
        left: 2px;
        right: auto;
    }

    .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-prev:hover {
        right: 1px;
        left: auto;
    }

    .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-next:hover {
        left: 1px;
        right: auto;
    }

    .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-buttonpane {
        clear: right;
    }

        .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-buttonpane button {
            float: left;
        }

            .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current {
                float: right;
            }

    .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-group {
        float: right;
    }

    .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header {
        border-right-width: 0;
        border-left-width: 1px;
    }

    .avia-datepicker-div.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
        border-right-width: 0;
        border-left-width: 1px;
    }

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.avia-datepicker-div.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display /**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}




/*custom form colors*/
#top .av-custom-form-color * {
    color: inherit;
}

#top .av-custom-form-color a {
    text-decoration: underline;
}

#top .av-custom-form-color ::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.8;
}

#top .av-custom-form-color ::-moz-placeholder {
    color: inherit;
    opacity: 0.8;
}

#top .av-custom-form-color :-ms-input-placeholder {
    color: inherit;
    opacity: 0.8;
}

#top .av-custom-form-color .button {
    border: 2px solid;
}

    #top .av-custom-form-color .button:hover {
    }

#top .av-light-form, #top .av-light-form + .ajaxresponse * {
    color: #fff;
}

    #top .av-light-form + .ajaxresponse .avia-form-success {
        background: transparent;
    }

#top div .av-light-form .input-text, #top div .av-light-form input[type='text'], #top div .av-light-form input[type='input'], #top div .av-light-form input[type='password'], #top div .av-light-form input[type='email'], #top div .av-light-form input[type='number'], #top div .av-light-form input[type='url'], #top div .av-light-form input[type='tel'], #top div .av-light-form input[type='search'], #top div .av-light-form textarea, #top div .av-light-form select, div div .av-light-form .button {
    color: #fff;
    border-color: #fff;
    border-width: 2px !important;
    background-color: transparent;
}

#top .av-dark-form, #top .av-dark-form + .ajaxresponse * {
    color: #222;
}

    #top .av-dark-form + .ajaxresponse .avia-form-success {
        background: transparent;
    }

#top div .av-dark-form .input-text, #top div .av-dark-form input[type='text'], #top div .av-dark-form input[type='input'], #top div .av-dark-form input[type='password'], #top div .av-dark-form input[type='email'], #top div .av-dark-form input[type='number'], #top div .av-dark-form input[type='url'], #top div .av-dark-form input[type='tel'], #top div .av-dark-form input[type='search'], #top div .av-dark-form textarea, #top div .av-dark-form select, div div .av-dark-form .button {
    color: #222;
    border-color: #222;
    border-width: 2px !important;
    background-color: transparent;
}

#fm-policies-link:hover {
    color: #333;
}


@media only screen and (max-width: 479px) {
    .responsive .fm-registration-form .form_element {
        width: 100%;
        clear: both;
        margin-right: 0;
        margin-left: 0;
        float: none;
    }
}
