/**
 * Custom CSS which persists through eCard theme updates.
 */

/* Header Edits */

header.site-header {
	background-color: #0e9092;
}

header.site-header a {
	display: block;
}

header.site-header a img {
    margin: 0 auto 2rem;
    width: auto;
}

/* Optional Intro Text */

#field_1_45, #field_5_46 {
    text-align: center;
    margin: 75px 0;
}

#field_1_45 h1, 
#field_5_46 h1,
#field_1_45 h2, 
#field_5_46 h2 {
    margin: 0;
    color: #333;
}

#field_1_45 ul, #field_5_46 ul {
    display: inline-block;
}

#field_1_45 ul li, #field_5_46 ul li {
    display: inline-block;
    margin: 0 25px;
}

#field_1_45 ul li a, #field_5_46 ul li a {
    color: #2f3e78;
    transition: all 0.2s ease-in-out;
}

#field_1_45 ul li a:hover, #field_5_46 ul li a:hover {
    color: #09a4a6;
}

/* Hide organization message (unhidden to work with Gravity PDF) */

li#field_5_36 {
    display: none;
}

/* Footer Edits */

.footer-content {
    background: #0e9092;
    text-align: center;
    padding: 20px 20px 30px;
    margin-top: 50px;
}

.footer-content .credit {
    margin: 30px 0 0;
}

.footer-content a {
    display: inline-block;
}

.footer-content p {
    color: #fff;
}

.footer-content img {
    max-width: 200px;
    margin: auto;
}

.footer-content .credit span {
    color: #fff;
}

.footer-content .copyright {
    margin: 30px 0 40px;
}

.footer-content .copyright a {
    color: #fff;
    transition: 0.2s all ease-in-out;
}

.footer-content .copyright a:hover {
    color: #2f3e78;
}


@media only screen and (min-width: 768px) {
    .footer-content {
        display: flex;
        justify-content: space-between;
    }

    .footer-content .content {
        max-width: 300px;
        text-align: right;
        line-height: 1.4;
    }

    .footer-content .credit {
        text-align: right;
    }
}

#ui-datepicker-div {
	display: none;
}

#field_1_62, #field_5_62 {
    margin: 15px 0 8px;
}

/* Error Edits */

.gform_wrapper.gform_validation_error div.validation_error {
    color: #0083ae;
    border-color: #0083ae;
}

.gform_wrapper.gform_validation_error li.gfield_error div.ginput_complex.ginput_container label, 
.gform_wrapper.gform_validation_error li.gfield_error ul.gfield_checkbox, 
.gform_wrapper.gform_validation_error li.gfield_error ul.gfield_radio {
    color: #0083ae;
}

.gform_wrapper.gform_validation_error .validation_message {
    color: #0083ae;
}

.gform_wrapper.gform_validation_error li.gfield.gfield_error {
    background: rgba( 0, 131, 174, 0.1 );
    border-color: #0083AE;
}

.gform_wrapper.gform_validation_error li.gfield.gfield_error input {
    border-color: #0083AE !important;
}

