/* start of responsiveForms.css only used for employee directory search */

/** {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
            -moz-font-smoothing: antialiased;
            -o-font-smoothing: antialiased;
            font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
        }*/

/*
        body {
            font: 400 12px/1.625 "Helvetica Neue", Helvetica, Arial, sans-serif;
            color: #444;
            background: #991D57;
            background-image: linear-gradient(left, #761542 0%, #991D57 52%, #761542 100%);
            background-image: -moz-linear-gradient(left, #761542 0%, #991D57 52%, #761542 100%);
            background-image: -webkit-linear-gradient(left, #761542 0%, #991D57 52%, #761542 100%);
        }
		*/

h1,
h2,
h3,
h4 {
    color: #24496C;
    display: block;
}
.wrapper {
    max-width: 500px;
    width: 95%;
    margin: 0 auto;
    position: relative;
}
fieldset {
   border: 1px groove #24496C !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000; 
}

.m-legend-border {
    color: #24496C;
    width:inherit; /* Or auto */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
}
/*#contactform input[type="text"],
#contactform input[type="email"],
#contactform input[type="tel"],
#contactform input[type="url"],
#contactform input[type="number"],
#contactform input[type="time"],
#contactform input[type="date"],
#contactform textarea,
#contactform button[type="submit"] {
    font: 400 12px/12px"Helvetica Neue", Helvetica, Arial, sans-serif;
}*/
#contactform {
     text-shadow: 0 1px 0 #FFF;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background: #F9F9F9;
    padding: 25px;
}
/* not needed drh
            #contactform h3 {
                color: #991D57;
                display: block;
                font-size: 28px;
            }

            #contactform h4 {
                margin: 5px 0 15px;
                display: block;
                font-size: 13px;
            }
            */

#contactform label span {
    cursor: pointer;
    color: #24496C;
    display: block;
    margin: 5px 0;
    font-weight: 900;
}
#contactform input[type="text"],
#contactform input[type="time"],
#contactform input[type="date"],
#contactform input[type="email"],
#contactform input[type="tel"],
#contactform input[type="url"],
#contactform input[type="number"],
#contactform textarea {
    width: 90%;
    /*width: 40%;*/
    box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    -webkit-box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    -moz-box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    border: 1px solid #CCC;
    background: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    border-radius: 5px;
}
#contactform input[type="date"] {
    height: 3em;
}
#contactform input[type="text"]:hover,
#contactform input[type="time"]:hover,
#contactform input[type="date"]:hover,
#contactform input[type="email"]:hover,
#contactform input[type="tel"]:hover,
#contactform input[type="url"]:hover,
#contactform input[type="number"],
#contactform textarea:hover {
    -webkit-transition: border-color 0.3s ease-in-out;
    -moz-transition: border-color 0.3s ease-in-out;
    transition: border-color 0.3s ease-in-out;
    border: 1px solid #AAA;
}
#contactform textarea {
    height: 100px;
    max-width: 100%;
}
/*****************************************/

#contactform select {
    /*width: 43%;*/
    width: 100%;
    box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    -webkit-box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    -moz-box-shadow: inset 0 1px 2px #DDD, 0 1px 0 #FFF;
    border: 1px solid #CCC;
    background: #FFF;
    border-radius: 5px;
    height: 40px;
    /*margin: 5px 5px;*/
    margin: 0 0 5px;
    padding: 10px;
}
/***********************************/

/*#contactform button[type="submit"] {*/

#contactform #submit {
    cursor: pointer;
    width: 100%;
    border: none;
    background: #24496C;
    background-image: linear-gradient(bottom, #293D51 0%, #24496C 52%);
    background-image: -moz-linear-gradient(bottom, #293D51 0%, #24496C 52%);
    background-image: -webkit-linear-gradient(bottom, #293D51 0%, #24496C 52%);
    /*background: #991D57;
                background-image: linear-gradient(bottom, #8C1C50 0%, #991D57 52%);
                background-image: -moz-linear-gradient(bottom, #8C1C50 0%, #991D57 52%);
                background-image: -webkit-linear-gradient(bottom, #8C1C50 0%, #991D57 52%);*/
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    border-radius: 5px;
}
/*#contactform button[type="submit"]:hover {*/

#contactform #submit:hover {
    background-image: linear-gradient(bottom, #22506A 0%, #224F6A 52%);
    background-image: -moz-linear-gradient(bottom, #22506A 0%, #224F6A 52%);
    background-image: -webkit-linear-gradient(bottom, #22506A 0%, #224F6A 52%);
    /*background-image: linear-gradient(bottom, #9C215A 0%, #A82767 52%);
                    background-image: -moz-linear-gradient(bottom, #9C215A 0%, #A82767 52%);
                    background-image: -webkit-linear-gradient(bottom, #9C215A 0%, #A82767 52%);*/
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
#contactform button[type="submit"]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
/****************************************************************/

/* Use submit2 if you have two buttons like on thank you pages or if you are using the SelectedIndexChanged event */

/* If you use submit it causes the event not to fire. */

#contactform #submit2 {
    cursor: pointer;
    width: 100%;
    border: none;
    background: #24496C;
    background-image: linear-gradient(bottom, #293D51 0%, #24496C 52%);
    background-image: -moz-linear-gradient(bottom, #293D51 0%, #24496C 52%);
    background-image: -webkit-linear-gradient(bottom, #293D51 0%, #24496C 52%);
    /*background: #991D57;
                background-image: linear-gradient(bottom, #8C1C50 0%, #991D57 52%);
                background-image: -moz-linear-gradient(bottom, #8C1C50 0%, #991D57 52%);
                background-image: -webkit-linear-gradient(bottom, #8C1C50 0%, #991D57 52%);*/
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    border-radius: 5px;
}
/*#contactform button[type="submit"]:hover {*/

#contactform #submit2:hover {
    background-image: linear-gradient(bottom, #22506A 0%, #224F6A 52%);
    background-image: -moz-linear-gradient(bottom, #22506A 0%, #224F6A 52%);
    background-image: -webkit-linear-gradient(bottom, #22506A 0%, #224F6A 52%);
    /*background-image: linear-gradient(bottom, #9C215A 0%, #A82767 52%);
                    background-image: -moz-linear-gradient(bottom, #9C215A 0%, #A82767 52%);
                    background-image: -webkit-linear-gradient(bottom, #9C215A 0%, #A82767 52%);*/
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
#contactform button[type="submit"]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}


/*******************************************************************/

/* removed the following selector so when input or textareas had focus, it did not changed the size of the box or button July 17, 2015 DRH */

/*#contactform input:focus,
            #contactform textarea:focus {
                outline: 0;
                border: 1px solid #999;
                box-shadow: 0 0 5px rgba(81, 203, 238, 1);
                padding: 3px 0px 3px 3px;
                margin: 5px 1px 3px 0px;
                border: 1px solid rgba(81, 203, 238, 1);
            }*/

::-webkit-input-placeholder {
    color: #888;
}
:-moz-placeholder {
    color: #888;
}
::-moz-placeholder {
    color: #888;
}
:-ms-input-placeholder {
    color: #888;
}
img {
    max-width: 100%;
    height: auto !important;
}
.chkbox label {
    padding-left: 10px;
}
.numYear {
    display: inline;
    max-width: 38%;
}
.radiolist label {
    padding-right: 10px;
    padding-left: 3px;
}
#contactform input[type="radio"] {
    margin: 0 5px;
}
#contactform input[type="checkbox"] {
    margin: 0 5px;
}
.certify {
    color: indianred;
}
/* added for the employee directory  */

#contactform table {
    width: 95%;
    font-size: 0.9em;
    margin-top: 15px;
}
#contactform tr {
    border-top: 2px solid black;
}
#contactform tr:last-of-type,
#contactform tr:first-of-type {
    border: none;
}
#contactform tr:nth-child(even) {
    background-color: #e5e5e5;
}
#contactform tr:nth-child(odd) {
    background-color: #ffffff;
}
#contactform td {
    padding: 5px 5px 5px 0;
}
/*@media (max-width: 695px) {*/

@media (max-width: 767px) {
    #contactform td,
    #contactform th {
        padding-left: 40px;
    }
    #contactform input[type="submit"],
    button {
        /*width: 40%;
        background-color: salmon;*/
        margin-bottom: 5px;
        margin-top: 0;
    }
}
.required {
    color: #b22222;
}
/* added to see if grunt picks it up */