﻿

/*
Title: Creating an HTML5 enhanced responsive-ready contact form, with custom javascript feature detection
Tutorial on: http://www.onextrapixel.com
Author: http://www.toddmotto.com
*/

*
{
    /*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%);
}*/
.wrapper
{
    max-width: 500px;
    width: 95%;
    margin: 0 auto;
    position: relative;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form input[type="url"],
#contact-form textarea,
#contact-form button[type="submit"]
{
    /*font:400 12px/12px "Helvetica Neue", Helvetica, Arial, sans-serif;*/
}

#contact-form
{
    /*text-shadow: 0 1px 0 #FFF;*/
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    background: #ebebeb;
    padding: 25px;
    padding-right: 50px;
    margin-bottom: 20px;
    color: #3f3f3f;
}
/*
#contact-form h3 {
	color:#991D57;
	display:block;
	font-size:28px;
}
#contact-form h4 {
	margin:5px 0 15px;
	display:block;
	font-size:13px;
}*/


.errorStyle
{
    padding-left: 10px;
    color:#bc1125
}

#contact-form .label
{
    cursor: pointer;
    /*olor:#991D57;*/
    display: block;
    margin: 5px 0;
    font-weight: 700;
    float: left;
}

#contact-form .radio label
{
    color: #3f3f3f;
    padding-right: 5px;
}

#contact-form .radio input[type="radio"]
{
    margin-left: 0px !important;
    padding-left: 0px !important;
    margin-right: 2px;
}

#upload input[type="text"], #upload input[type="file"]
{
    width: 75% !important;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form input[type="url"],
#contact-form textarea,
#contact-form select
{
    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;
    margin: 0 0 5px;
    padding: 10px;
    border-radius: 5px;

}

/*#contact-form input[type="submit"]
{
  
    width: 102%;
    border-radius: 5px;
    margin-left:5px;
    margin-right:5px
}*/


#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form input[type="tel"]:focus,
#contact-form input[type="url"]:focus,
#contact-form textarea:focus
{
    /*  -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;
*/
    border-color: rgba(0, 0, 0, .7);
    outline: 0;
    outline: thin dotted \9;
    /* IE6-9 */
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, .5);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, .5);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 0, 0, .5);
}



#contact-form input[type="radio"]
{
}

#contact-form textarea
{
    height: 100px;
    max-width: 100%;
    font-size: 13px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 20px;
}

#contact-form button[type="submit"]
{
    cursor: pointer;
    width: 100%;
    border: none;
    background: #003961;
    background-image: linear-gradient(bottom, #00223b 0%, #003961 52%);
    background-image: -moz-linear-gradient(bottom, #00223b 0%, #003961 52%);
    background-image: -webkit-linear-gradient(bottom, #00223b 0%, #003961 52%);
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    border-radius: 5px;
}

    #contact-form button[type="submit"]:hover
    {
        background-image: linear-gradient(bottom, #002e4f 0%, #003961 52%);
        background-image: -moz-linear-gradient(bottom, #002e4f 0%, #003961 52%);
        background-image: -webkit-linear-gradient(bottom, #002e4f 0%, #003961 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;
    }

    #contact-form button[type="submit"]:active
    {
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
    }

#contact-form input:focus,
#contact-form textarea:focus
{
    outline: 0;
    border: 1px solid #999;
}

::-webkit-input-placeholder
{
    color: #888;
}

:-moz-placeholder
{
    color: #888;
}

::-moz-placeholder
{
    color: #888;
}

:-ms-input-placeholder
{
    color: #888;
}

/*remove bullet from file upload*/

#contact-form #rauRFPListContainer ul
{
    list-style-type: none !important;
    margin-left: 0px !important;
    padding-left: 0px !important;
}

#contact-form #rauRFPListContainer li
{
    /* background: none !important;
    margin-left: 0px !important;
    padding-left: 0px !important;*/
}

#rauRFProw0
{
    background: none!important;
    margin-left: 0px!important;
    padding-left: 0px!important;
}

#rauRFProw1
{
    background: none!important;
    margin-left: 0px!important;
    padding-left: 0px!important;
}

.ruFileWrap
{
    height: 40px !important;
    width: 100% !important;
}

/** Validation error */
#rauRFPListContainer li.ruError
{
    padding: 5px 5px 15px 20px !important;
    border: 1px solid red;
    background: none repeat scroll 0 0 rgba(255, 193, 193, 1) !important;
    background-color: #ffc1c1 !important;
    text-shadow: 0 1px 0 #FFF;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    margin-bottom: 20px;
}

.RadUpload .ruRemove
{
    margin-bottom: 10px!important;
}

.ruError .ruFileWrap
{
    height: auto;
    overflow: visible !important;
    display: block;
}

.ruError .ruUploadProgress
{
    margin-left: -18px;
    display: block;
}

.ruError .ruUploadFailure
{
    background-position: 2px 80%;
}

.ruError .ruErrorMessage
{
    display: block;
    font-variant: small-caps;
    text-transform: lowercase;
    font-style: italic;
}


/*Button Styles*/


.btn
{
    display: inline-block;
    *border-bottom: 0 none #a2a2a2;
    display: inline;
    /* IE7 inline-block hack */
    *zoom: 1;
    padding: 8px 14px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    *line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
    *border-left-style: none;
    border-left-color: inherit;
    border-left-width: 0;
    border-right-style: none;
    border-right-color: inherit;
    border-right-width: 0;
    border-top-style: none;
    border-top-color: inherit;
    border-top-width: 0;
}

    .btn:hover,
    .btn:active,
    .btn.active,
    .btn.disabled,
    .btn[disabled]
    {
        color: #333333;
        background-color: #e6e6e6;
        *background-color: #d9d9d9;
    }

    .btn:active,
    .btn.active
    {
        background-color: #cccccc \9;
    }

    .btn:first-child
    {
        *margin-left: 0;
    }

    .btn:hover
    {
        color: #333333;
        text-decoration: none;
        background-color: #e6e6e6;
        *background-color: #d9d9d9;
        /* Buttons in IE7 don't get borders, so darken on hover */
        background-position: 0 -15px;
        -webkit-transition: background-position 0.1s linear;
        -moz-transition: background-position 0.1s linear;
        -o-transition: background-position 0.1s linear;
        transition: background-position 0.1s linear;
    }

    .btn:focus
    {
        outline: thin dotted #333;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .btn.active,
    .btn:active
    {
        background-color: #e6e6e6;
        background-color: #d9d9d9 \9;
        background-image: none;
        outline: 0;
        -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
        -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .btn.disabled,
    .btn[disabled]
    {
        cursor: default;
        background-color: #e6e6e6;
        background-image: none;
        opacity: 0.65;
        filter: alpha(opacity=65);
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

.btn-large
{
    padding: 9px 14px;
    font-size: 16px;
    line-height: normal;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

    .btn-large [class^="icon-"]
    {
        margin-top: 2px;
    }

.btn-small
{
    padding: 3px 9px;
    font-size: 12px;
    line-height: 18px;
}

    .btn-small [class^="icon-"]
    {
        margin-top: 0;
    }

.btn-mini
{
    padding: 2px 6px;
    font-size: 11px;
    line-height: 17px;
}

.btn-block
{
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .btn-block + .btn-block
    {
        margin-top: 5px;
    }

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block
{
    width: 100%;
}

.btn-primary.active,
.btn-warning.active,
.btn-danger.active,
.btn-success.active,
.btn-info.active,
.btn-inverse.active
{
    color: rgba(255, 255, 255, 0.75);
}

.btn
{
    border-color: #c5c5c5;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
    border-color: #0044cc #0044cc #002a80;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #0044cc;
    /* Darken IE7 buttons by default so they stand out more given they won't have borders */
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

.btn-primary
{
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #820413;
    background-repeat: repeat-x;
    /*font-weight: bold;*/
    background-image: linear-gradient(to bottom, #bc1125, #820413);
}


.ruButton
{
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #820413;
    background-repeat: repeat-x;
    background-image: linear-gradient(to bottom, #bc1125, #820413);
}


.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled]
{
    color: #ffffff;
    background-color: #820413;
    *background-color: #820413;
}

.btn-primary:active,
.btn-primary.active
{
    background-color: #820413 \9;
}

.btn-warning
{
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #faa732;
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-image: linear-gradient(to bottom, #fbb450, #f89406);
    border-left-color: #f89406;
    border-right-color: #f89406;
    border-top-color: #f89406;
    border-bottom-color: #ad6704;
}

    .btn-warning:hover,
    .btn-warning:active,
    .btn-warning.active,
    .btn-warning.disabled,
    .btn-warning[disabled]
    {
        color: #ffffff;
        background-color: #f89406;
        *background-color: #df8505;
    }

    .btn-warning:active,
    .btn-warning.active
    {
        background-color: #c67605 \9;
    }

.btn-danger
{
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #da4f49;
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
    border-left-color: #bd362f;
    border-right-color: #bd362f;
    border-top-color: #bd362f;
    border-bottom-color: #802420;
}

    .btn-danger:hover,
    .btn-danger:active,
    .btn-danger.active,
    .btn-danger.disabled,
    .btn-danger[disabled]
    {
        color: #ffffff;
        background-color: #bd362f;
        *background-color: #a9302a;
    }

    .btn-danger:active,
    .btn-danger.active
    {
        background-color: #942a25 \9;
    }

.btn-success
{
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #5bb75b;
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-image: linear-gradient(to bottom, #62c462, #51a351);
    border-left-color: #51a351;
    border-right-color: #51a351;
    border-top-color: #51a351;
    border-bottom-color: #387038;
}

    .btn-success:hover,
    .btn-success:active,
    .btn-success.active,
    .btn-success.disabled,
    .btn-success[disabled]
    {
        color: #ffffff;
        background-color: #51a351;
        *background-color: #499249;
    }

    .btn-success:active,
    .btn-success.active
    {
        background-color: #408140 \9;
    }

.btn-info
{
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #49afcd;
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
    border-left-color: #2f96b4;
    border-right-color: #2f96b4;
    border-top-color: #2f96b4;
    border-bottom-color: #1f6377;
}

    .btn-info:hover,
    .btn-info:active,
    .btn-info.active,
    .btn-info.disabled,
    .btn-info[disabled]
    {
        color: #ffffff;
        background-color: #2f96b4;
        *background-color: #2a85a0;
    }

    .btn-info:active,
    .btn-info.active
    {
        background-color: #24748c \9;
    }

.btn-inverse
{
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #363636;
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-image: linear-gradient(to bottom, #444444, #222222);
    border-left-color: #222222;
    border-right-color: #222222;
    border-top-color: #222222;
    border-bottom-color: #000000;
}

    .btn-inverse:hover,
    .btn-inverse:active,
    .btn-inverse.active,
    .btn-inverse.disabled,
    .btn-inverse[disabled]
    {
        color: #ffffff;
        background-color: #222222;
        *background-color: #151515;
    }

    .btn-inverse:active,
    .btn-inverse.active
    {
        background-color: #080808 \9;
    }

button.btn,
input[type="submit"].btn
{
    *padding-top: 3px;
    *padding-bottom: 3px;
}

    button.btn::-moz-focus-inner,
    input[type="submit"].btn::-moz-focus-inner
    {
        padding: 0;
        border: 0;
    }

    button.btn.btn-large,
    input[type="submit"].btn.btn-large
    {
        *padding-top: 7px;
        *padding-bottom: 7px;
    }

    button.btn.btn-small,
    input[type="submit"].btn.btn-small
    {
        *padding-top: 3px;
        *padding-bottom: 3px;
    }

    button.btn.btn-mini,
    input[type="submit"].btn.btn-mini
    {
        *padding-top: 1px;
        *padding-bottom: 1px;
    }

.btn-link,
.btn-link:active,
.btn-link[disabled]
{
    background-color: transparent;
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn-link
{
    border-color: transparent;
    cursor: pointer;
    color: #0088cc;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

    .btn-link:hover
    {
        color: #005580;
        text-decoration: underline;
        background-color: transparent;
    }

    .btn-link[disabled]:hover
    {
        color: #333333;
        text-decoration: none;
    }
