/*
************************************
This file is part of a package from:
www.freecontactform.com
See license for details
************************************
Parts of these styles are based on Bootstrap 4 
with custom naming, which helps to avoid conflicts
************************************
*/

@import url(https://fonts.googleapis.com/css?family=Roboto);
#fcf-form {
    display: block;
}

#fcf-thank-you {
    display: none;
}

.fcf-body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
    padding: 30px;
    padding-bottom: 10px;
    /* border: 1px solid #ced4da;
    border-radius: 0.25rem; */
    max-width: 100%;
}

.fcf-h3 {
    font-family: sans-serif, 'Roboto';
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0;
    color: #212121;
    margin: 0;
    margin-bottom: 1.5rem;
}

.js-validate-error-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    color: #dc3545 !important;
}

.js-validate-error-field {
    border-bottom: 2px solid #dc3545 !important;
}

.fcf-status {
    margin-bottom: 1rem;
    color: #dc3545;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
}

.fcf-text-muted {
    color: #6c757d !important;
}

.fcf-text-right {
    text-align: right !important;
}

.fcf-text-center {
    text-align: center !important;
}

a.fcf-newwindow {
    color: #212529;
}

a.fcf-newwindow::after {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
    margin: 0 3px 0 5px;
}

.fcf-form-group {
    margin-bottom: 1rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.fcf-form-control {
    font-family: 'Roboto', sans-serif;
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 8px);
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #f5f5f5;
    background-clip: padding-box;
    border: 0px;
    outline: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42);
    border-radius: 4px 4px 0 0;
    padding: 4px 16px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:hover {
    background-color: #e8e8e8;
    border-bottom-color: rgba(0, 0, 0, 0.87);
}

.fcf-form-control:focus {
    background-color: #dbdbdb;
    border-bottom: 2px solid #17a2b8;
}

select.fcf-form-control[size], select.fcf-form-control[multiple] {
    height: auto;
}

label.fcf-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 0.1rem;
    color: #7a7a7a;
}

textarea.fcf-form-control {
    font-family: 'Roboto', sans-serif;
    height: auto;
}

.fcf-checkbox {
    position: relative;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.fcf-checkbox label {
    cursor: pointer;
    padding-left: 2rem;
    font-family: 'Roboto', sans-serif;
    text-align: left;
    display: block;
    font-size: 0.9em;
    color: #7a7a7a;
}

.fcf-checkbox input {
    width: auto;
    opacity: 0.00000001;
    position: absolute;
    left: 0;
}

.fcf-checkbox .helper {
    color: #999;
    position: absolute;
    top: 0;
    left: 0;
    width: 1rem;
    height: 1rem;
    z-index: 0;
    border: 0.125rem solid currentColor;
    border-radius: 0.0625rem;
    -webkit-transition: border-color 0.18s ease;
    transition: border-color 0.18s ease;
}

.fcf-checkbox .helper::before, .fcf-checkbox .helper::after {
    position: absolute;
    height: 0;
    width: 0.2rem;
    background-color: #17a2b8;
    display: block;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 0.25rem;
    content: '';
    -webkit-transition: opacity 0.18s ease, height 0s linear 0.18s;
    transition: opacity 0.18s ease, height 0s linear 0.18s;
    opacity: 0;
}

.fcf-checkbox .helper::before {
    top: 0.65rem;
    left: 0.38rem;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    box-shadow: 0 0 0 0.0625rem #fff;
}

.fcf-checkbox .helper::after {
    top: 0.3rem;
    left: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.fcf-checkbox label:hover .helper {
    color: #17a2b8;
}

.fcf-checkbox input:checked~.helper {
    color: #17a2b8;
}

.fcf-checkbox input:checked~.helper::after, .fcf-checkbox input:checked~.helper::before {
    opacity: 1;
    -webkit-transition: height 0.18s ease;
    transition: height 0.18s ease;
}

.fcf-checkbox input:checked~.helper::after {
    height: 0.5rem;
}

.fcf-checkbox input:checked~.helper::before {
    height: 1.2rem;
    -webkit-transition-delay: 0.18s;
    transition-delay: 0.18s;
}

.fcf-checkbox+.fcf-checkbox {
    margin-top: 1rem;
}

.fcf-btn {
    font-family: Roboto, sans-serif;
    letter-spacing: 0.0892857em;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .fcf-btn {
        transition: none;
    }
}

.fcf-btn:hover {
    color: #212529;
    text-decoration: none;
}

.fcf-btn:focus, .fcf-btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn.disabled, .fcf-btn:disabled, .fcf-btn:active {
    opacity: 0.65;
}

a.fcf-btn.disabled, fieldset:disabled a.fcf-btn {
    pointer-events: none;
}

.fcf-btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.fcf-btn-info:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

.fcf-btn-info:focus, .fcf-btn-info.focus {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
    box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}

.fcf-btn-info.disabled, .fcf-btn-info:disabled {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.fcf-btn-info:not(:disabled):not(.disabled):active, .fcf-btn-info:not(:disabled):not(.disabled).active, .show>.fcf-btn-info.dropdown-toggle {
    color: #fff;
    background-color: #117a8b;
    border-color: #10707f;
}

.fcf-btn-info:not(:disabled):not(.disabled):active:focus, .fcf-btn-info:not(:disabled):not(.disabled).active:focus, .show>.fcf-btn-info.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
}

.fcf-btn-lg, .fcf-btn-group-lg>.fcf-btn {
    padding: 0.375rem 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.fcf-btn-sm, .fcf-btn-group-sm>.fcf-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.fcf-btn-block {
    display: block;
    width: 100%;
}

.fcf-btn-block+.fcf-btn-block {
    margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block, input[type="reset"].fcf-btn-block, input[type="button"].fcf-btn-block {
    width: 100%;
}