#xg {
    margin:0;
    width:auto;
}

#xg_head {
    width:auto;
    background-color:#ffffff;
    border-bottom:5px solid #C4D2DB;
}

#xg_foot {
    height:1.5em;
}

#xg_masthead p#xg_sitename {
    font-weight:bold;
    line-height:1.1em;
    padding:15px 0 0 15px;
}

#xg_masthead p#xg_sitedesc {
    height:1.5em;
}

.xg_module_head p.edit a.button {
    bottom:-2px;
}

#xg_head #xg_masthead p#xg_sitename, #xg_head #xg_masthead p#xg_sitedesc, #xg_head ul, #xg_body, #xg_foot {
    width:945px;
    margin-left:auto;
    margin-right:auto;
    float:none;
}

.xg_module_head h2 {
    font-size:14px;
    font-weight:normal;
}

#xg_navigation ul li a {
    color:#315288;
    padding:0 10px;
}

#xg_navigation ul li.this a {
    background-color: #C4D2DB;
    color:#ffffff;
}

ul.page_tabs li.this {
  background-color:#ffffff;
}

.xg_module {
    border:1px solid #C9D1DE;
}

.xg_module_body {
    margin-bottom:0;
}

.xg_module_head {
    border-bottom:1px solid #E7E7E7;
    margin-bottom:0;
}

.xg_module_foot {
    border-top:1px solid #E7E7E7;
    background-color:#ffffff;
}

.xg_module_body .xg_module_body {
    border-left:none;
    border-right:none;
    border-top:none;
}

.xg_widget_profiles_profile_show .xg_3col .xg_1col img.photo {
    max-width:181px;
}
* html .xg_widget_profiles_profile_show .xg_3col .xg_1col img.photo {
    width:expression(this.width >181 ? 181:true);
}
.xg_floating_container {
    border-color:#a8acb0 !important;
}