html
{
    background-color: #d9d9d9;
}

.am-body,
.am-layout,
.am-footer
{
    background: none;
    margin: 0 auto;
}
.am-layout
{
    background-image: url('../img/background.png');
    background-repeat: repeat-y;
    width: 976px;
    min-height: 55%;
}
.am-body-content-wrapper
{
    border-style: none;
    padding-top: 60px;
    padding-bottom: 10px;
}

.am-tabs > ul li.active a, .am-tabs > ul li.normal a:hover {
    border-color: #ff5d00;
    color: white;
    text-shadow: 0 -1px 1px #C43D33;
    background: transparent;
}

.am-tabs > ul
{
    background: url("../img/admin/form-legend-bg.png") repeat-x scroll left top transparent;
}



.am-sendpass-form input[name="login"], .am-login-form input[name="amember_login"] {
    background-image: url("../img/icons/users.png");
    background-position: 5px center;
    background-repeat: no-repeat;
    padding-left: 30px;
}

.am-form form
{
    background-color: #F5F5F5;
}
.am-form fieldset legend
{
    background: url("../img/admin/form-legend-bg.png") repeat-x scroll left top transparent;
}

.am-footer
{
    background-image: url("../img/bottom.png");
    background-repeat: no-repeat;
    background-color: #D9D9D9;
    /*background-position: top center;*/
    height: 51px;
    padding-bottom: 100px;
    /*width: 100%;*/
    width: 976px;
}

.am-info, .am-login-text
{
    background-color: #ff5d00;
    /*opacity: 1;*/
    color: #ffffff;
}

.am-info, .am-login-text a:link, .am-login-text a:visited
{
    color:#ffffff;
}

.am-info, .am-login-text a:hover, a:active
{
    color: #ffffff;
}

.am-layout a
{
    color: #ff8b2f;
}

.am-info a
{
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-style: dashed;
}

table.grid th
{
    background: url("../img/admin/form-legend-bg.png") repeat-x scroll left top transparent;
}

.am-user-identity-block
{
    background: url("../img/identity-glyph.png") no-repeat scroll left center transparent;
}

#row-paysys_id
{
    background: url("/images/Payment-Banner.png") no-repeat scroll right center transparent;
    margin-right: 10px;
}







.am-layout, .am-body, .am-body-content-wrapper {
    width: 100%;
    background:none;
    display:block;
    max-width:none;
}

.am-body-content {
    margin: 0 auto;
    max-width: 980px;
    color:#999;
}

.am-body .am-body-content-wrapper {
    background-color: #000;
}

body, html {
    background-color: #000 !important;
}
.am-body .am-body-content-wrapper{
    padding-top:0;
}

.am-user-identity-block {
    float: left;
    padding: 15px 25px;
    color:#fff;
    margin:0;
    width:50%;
}

.am-tabs {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    border-radius: 0;
    box-shadow: none !important;
    float: right;
    margin: 0;
    padding: 0;
}

.am-tabs-wrapper {
    overflow: hidden;
    width: 50%;
}

.am-layout h1 {
    background: #252525 none repeat scroll 0 0;
    border-radius: 0;
    color: #ff5d00;
    display: inline-block;
    margin: 30px 0 0;
    padding: 10px 15px;
    width: 100%;
}

.am-layout-two-coll {
    background-color: #f5f5f5;
    border: 1px solid #ff5d00;
    border-radius: 10px;
    overflow: hidden;
    border-width: 1px 0 0;
}


.am-layout-two-coll .am-coll-right .am-coll-content,
.am-layout-two-coll .am-coll-left .am-coll-content{
    margin: 10px 1em;
}

.am-layout a {
    color: #ff5d00;
    text-decoration: none;
}

.am-layout-two-coll .am-layout-two-coll-bottom,
.am-layout-two-coll .am-layout-two-coll-top {
    background: #f5f5f5;
    display: none;
}

.am-layout a:hover {
    text-decoration: underline;
}

.am-layout-two-coll {
    border-radius: 0;
}

.am-tabs li.active > a, 
.am-tabs li.normal > a:hover, 
.am-tabs li.normal > a {
    background-color: #000;
    background-image: none;
    border: medium none;
    color: #999;
    text-shadow: none;    
    padding: 15px 25px;
    border-radius:0;
}

.am-tabs li.normal > a:hover {
    color:#fff;
}

.am-tabs li.active > a {
    color:#ff5d00;
    background-color:#121212;
}

.am-tabs > li {
    margin-top: 0;
}

.am-block {
    border-radius: 0;
    box-shadow: none;
}

.am-form form {
    border:none;
    border-radius:0;
    box-shadow:none;
}

select, 
textarea, 
input[type="text"], 
input[type="password"] {
    border-radius:0;
}

form .row, fieldset .row {
    margin: 0;
}

.am-block li {
    border-top: 1px solid #eee;
    list-style-type: none;
    padding: 4px 0;
}


.am-block li:first-child {
    border:none;
}

.am-layout {
    min-height:auto;
}

ul a:focus, ul a:hover {
    color: #ff8b2f;
}

.am-coll-content .am-form fieldset legend {
    background: #2f2f2f none repeat scroll 0 0;
    border-radius: 0 !important;
    color: #ff5d00;
    margin-top: 15px;
}

* {
    box-sizing: border-box;
}

.grid-container {
    background: none repeat scroll 0 0 #f5f5f5;
    border: 0 solid #a1a1a1;
    box-shadow: none;
    margin: 0;
    padding: 0.7em;
}

.am-active-invoice {
    background-color: #f5f5f5;
}

.am-layout h2 {
    clear: both;
}

.am-layout h2 {
    background-color: #f4f4f4;
    border: medium none;
    clear: both;
    margin: 0;
    padding: 15px 10px;
    color: #666;
}

table.grid th {
    background: none repeat scroll 0 0 #ff5d00;
    text-shadow: none;
}

.am-body-content .am-form div.element-title {
    border-radius: 0 !important;
}

.am-body .am-body-content-wrapper {
    border:none;
}

a.button,
input[type="button"],
input[type="submit"] {
    background: #2d2d2d none repeat scroll 0 0;
    border-color: #3a3a3a #ff5d00;
    border-radius: 0;
    border-style: solid;
    border-width: 1px 0 0 2px;
    box-shadow: 0 2px 5px -2px #000;
    color: #fff;
    display: block;
    font-weight: 300;
    margin: 0.7em 0;
    max-width: 100%;
    padding: 8px 6px 8px 12px;
    position: relative;
    text-shadow: none;
    width: 300px;
}

a.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background: #222222;
    border-width: 0 0 1px 2px;
    box-shadow: 0 2px 2px -1px #060606 inset;
    padding: 10px 6px 6px 12px !important;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
    border-color: #3a3a3a #ff5d00;
}

fieldset {
    border-bottom: 1px solid #c4c4c4;
}

fieldset .row {
    border-left: 1px solid #c4c4c4;
    border-right: 1px solid #c4c4c4;
} 

.am-form fieldset legend {
    border-bottom: 1px solid #c4c4c4;
    text-shadow: none;
}

.facebook-login-login > a {
    display: table;
    margin: 14px auto;
}

.am-login-form, 
.am-sendpass-form {
    min-width:auto;
} 

@media (max-width: 900px) {
    .am-user-identity-block {
        width:100%;
    }
    
    .am-main {
        padding:0;
    }

    .am-tabs-wrapper, .am-tabs {
        width:100%;
    }
    
    .am-tabs li {
        float:none;
        margin:0;
        border-top: 1px solid #444;
    }
    
    .am-tabs li:first-child {
        border:none;
    }
    
    .am-active-invoice {
        background-color: #f4f4f4;
        padding: 1.1em 0.8em;
    }     
}

.errorWrapper {
    background: #f5f5f5 none repeat scroll 0 0;
    padding: 30px 20px 25px;
}

textarea:focus,
input[type="text"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type="password"]:focus {
    background-color: #fcede2;
    border-color: #ff5d00;
}




.firstPadding {
    padding-top: 8px;
}


.am-footer.am-layout {
    border-top: 1px solid #ff5d00;
    padding-top: 20px;
}










