body{ margin:0;font-family: arial}
div.wrapper{min-height: 428px; max-width:900px;margin: auto; border: 1px #D8D8D8 solid; color: #3e443e;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;overflow: hidden;}
div.header{width:100%;height:55px; border-bottom: 1px solid #DDDDDD; font-size:20px;text-align: center; font-weight: bold;background: transparent url('/resources/images/api/bg-header.png') 0 0 repeat-x; display: table}
div.header div.title{display:table-cell; vertical-align: middle; text-align: center}
div.form{
    height: 375px;
    width:100%;background: rgb(255, 255, 255) url('/resources/images/api/bg-big.png') 0 0 repeat-x;overflow-y: auto; text-align: left;
    background-position-y: bottom;
}
li{list-style-type:none;list-style-position:outside; }
ul{margin:10px auto 0;padding:0;text-align: center;position: relative}
li{max-width: 380px; margin:10px auto;position: relative;}
li.requiredField label:after{content: '*'; margin-left:5px;font-weight:bolder;}
input, select {border:1px solid #C8C8C8;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;  width:200px;padding:5px;font-size: 14px;}
input{height:34px !important; }
select{height:35px; vertical-align:top;}
input[type=submit]{
    background: #2672a5;
    text-shadow: 1px 2px 1px #10334A;
    height:36px !important;
    color: #ffffff;
    font-size:13px;
    font-weight: bold;
    margin-right:50px;
    cursor: pointer;
}
label:not(.nx-error){width:130px;text-align: left;display:inline-block;margin: 5px 15px 0 0;font-weight: bold;font-size:14px;}
.error{color:#F00;font-size:12px;width:250px;margin-right:-180px;}
#powered_by{
    text-align: left;
    font-size:10px;
    color:#3e443e;
    margin-top:10px !important;
    position: absolute;
    bottom: -15px;
    right: 10px;
}
#powered_by .nx_logo{
    background: url(/resources/images/api/nx-new.png) 0 1px no-repeat;
    display: inline-block;
    height:14px;
    width:16px;
    vertical-align: bottom;
}

p {
    font-size: 12px;
    text-align: left;
    margin: auto;
    margin-right: 8px!important;
}

p:first-child {
    margin: 15px auto 0;
}

#tcpa-consent {
    color: #2672a5;
    cursor: pointer;
}

#tcpa-text {
    display: none;
}

.form input[type=text].short_field{
    width:90px;
    margin-left:4px;
}

.form input[name=f_name].short_field {margin-left:0;}

.errorField {
    display: none!important;
}

@media only screen and (max-width: 600px) {
    * {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    ul {
        text-align: left;
    }
    li {
        padding: 0 10px;
    }
    p {
        width: 100%;
    }
    input, select {
        width: 100%;
        box-sizing: border-box;
    }
    input.short_field{
        width: 48% !important;
    }
    input{
        height: 27px;
    }
    label:not(.nx-error) {
        display:none;
    }
    input[type=submit] {
        width: 100%;
        margin-right: 0;
    }
    #powered_by {
        margin: auto;
        position: absolute;
        top: 0;
        right: 10px;
    }
}

.nx-error {
    position: absolute;
    border-radius: 10px;
    bottom: -30px;
    min-width: 230px;
    color: white;
    background: #EF6262;
    padding: 2px 10px;
    text-align: center;
    line-height: 26px;
    z-index: 1000;
    right: 0;
}
.nx-error:before {
     content: ' ';
     width: 0;
     height: 0;
     position: absolute;
     border-left: 5px solid transparent;
     border-right: 5px solid transparent;
     border-bottom: 5px solid #EF6262;
     top: -5px;
     left: 45px;
}
.nx-error:after {
    content: none;
}
input[type=submit].prevent-submit {
    pointer-events: none;
    opacity: .6;
}