html,body {
    width: 100%;
    height: 100%;
    overflow: auto;
}

a {
    outline: none;
    outline-style: none;
}

input:focus {

}

body {
    margin: 0px;
    padding: 0px;
    background-color: #696969;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #03446A;
}

/* JQModal Styling */

img.jqmClose {
    background: url(/images/x.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -15px;
    right: -10px;
    cursor: pointer;
}

.jqmOverlay {
    background-color: #000;
    color:orange;
}

.adst_modal_content {
    border-top: 4px solid #DE9B36;
    min-height: 620px;
    display:none;
}

.adst_modal_window {
    margin: auto;
    padding: 0px;
    width: 725px;
    top: 40px;
    position: fixed;
    background-color: #fff;
    z-index: 3200;
}

#promotionModalWindow, #promotionModal {
    width: auto;
    height: 620px;
} 

#promotionModal { 
    overflow-y:auto; 
    overflow-x:auto;
}


#message {
    background-color: #CCEEFF;
    margin: 0px;
    padding: 10px;
    color: #000000;
}

#message p {
    margin: 0px;
    padding: 0px;
}

#noscript {
    margin: 0px;
    padding: 4px 0px 4px 0px;
    text-align: center;
    width: 100%;
    font-weight: bold;
    font-size: 17px;
    background-color: #FFF;
    border-top: 2px solid #990000;
    border-bottom: 2px solid #990000;
}

#container {
    width: 900px;
    margin: auto;
    border-left: 2px solid #595959;
    border-right: 2px solid #595959;
    border-bottom: 2px solid #595959;
    position: static;
}

#header {
    background: url(/images/portal/header_bg_blue.gif) repeat-x #39B5FD;
    width: 100%;
    height: 60px;
    margin: 0px auto 0px auto;
    padding: 0px;
    position: static;
}

#logo {
    background: url(/images/logos/i_logo_adstation_aff.gif) no-repeat;
    width: 177px;
    height: 44px;
    margin: 15px 0px 0px 20px;
    padding: 0px;
    float: left;
}

#welcome {
    margin: 15px 13px 0px 20px;
    padding: 0px;
    float: right;
    color: #fff;
    font-size: 15px;
    text-align: right;
}

#backdoor {
    margin: 14px 13px 0px 0px;
    padding: 0px;
    float: right;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

#parent_backdoor {
    margin: 14px 2px 0px 0px;
    padding: 0px;
    float: right;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

#backdoor a {
    color: #fff;
    text-decoration: none;
}

#backdoor a:hover {
    border-bottom: 1px dotted #fff;
}

#tabs_module {
    clear: both;
    height: 23px;
    padding: 0px;
    background-color: #39B5FD;
    border-bottom: 3px solid #DE9B36;
}

#tabs_module ul {
    list-style: none;
    text-transform: none;
    font-weight: normal;
    padding: 0px 8px 0px 8px;
    margin: auto;
    height: 23px;
    float: right;
}

#tabs_module li {
    float: left;
    list-style: none;
    list-style-image: none;
    width: 118px;
    height: 23px;
    margin: auto;
    padding: 0px 2px 0px 2px;
    font-size: 13px;
    text-align: center;
    line-height: 23px;
}

#tabs_module a {
    color: #FFF;
    text-decoration: none;
    float: left;
    width: 118px;
    height: 23px;
    margin: auto;
    padding: 0px;
}

.tab_module_down {
    background: url(/images/portal/tab_blue.gif) no-repeat;
}

.tab_module_up {
    background: url(/images/portal/tab_orange.gif) no-repeat;
}

.tab_module_logout {
    background: url(/images/portal/tab_green.gif) no-repeat;
}

#tabs_controller {
    clear: both;
    height: 26px;
    padding: 0px;
    border-bottom: 2px solid #DEDEDE;
    border-top: 2px solid #005A88;
    position:relative;
}

#tabs_controller ul {
    list-style: none;
    text-align: left;
    text-transform: none;
    padding: 0px;
    margin: auto;
    width: 100%;
    height: 26px;
    background: url(/images/controller/controller_tab_bg.gif) repeat-x
}

#tabs_controller li {
    float: left;
    list-style: none;
    list-style-image: none;
    width: 112px;
    height: 26px;
    margin: auto;
    padding: 0px;
    font-size: 11px;
    text-align: center;
    line-height: 26px;
}

#tabs_controller a {
    color: #fff;
    text-decoration: none;
    float: left;
    width: 112px;
    height: 26px;
    margin: auto;
    padding: 0px;
} 

#tabs_controller ul.sub_menu { 
    display:none; 
}

#tabs_controller ul.sub_menu li {

    display:block;
    border-bottom: 1px solid #5a7287;
    text-align: center;
    background: url(/images/portal/nav-bkgd.gif) repeat-x
}

#tabs_controller .sub_menu a {

    display:block;
    height:auto;
    width:auto;
    color: #005a88;
    padding-left: 6px;
    text-decoration: none;
    background: none;
}

#tabs_controller .sub_menu a:hover {
    background: none;
    color: #0092dd;
}


#tabs_controller a:hover {
    background: url(/images/controller/controller_tab_up.gif) no-repeat;
}

.tab_controller_up {
    background: url(/images/controller/controller_tab_up.gif) no-repeat;
}

.tab_controller_down {
    background: url(/images/controller/controller_tab_down.gif) no-repeat;
}

#action_header {
    clear: both;
    height: 39px;
    padding: 0px 0px 0px 10px;
    border-bottom: 2px solid #005A88;
    background: url(/images/module/module_tab_bg.gif) repeat-x #CDCDCD;
    text-align: left;
    text-transform: uppercase;
    font-weight: normal;
    line-height: 39px;
}

.icon_express {
    background: url(/images/icons/i_icon_affiliate_32x32.png) no-repeat 2px
        4px;
    width: 40px;
    height: 32px;
    float: left;
}

.icon_integrated {
    background: url(/images/icons/i_icon_taglines_32x32.png) no-repeat 2px
        4px;
    width: 40px;
    height: 32px;
    float: left;
}

.icon_list-management {
    background: url(/images/icons/i_icon_list_mgmt_32x32.png) no-repeat 2px
        4px;
    width: 40px;
    height: 32px;
    float: left;
}

.icon_legal {
    background: url(/images/icons/i_icon_display_32x32.png) no-repeat 2px
        4px;
    width: 40px;
    height: 32px;
    float: left;
}

h2 {
    padding: 0px;
    margin: 0px;
    font-size: 14px;
    font-weight: bolder;
    color: #0362AC;
    text-transform: uppercase;
}

p {
    font-size: 12px;
    color: #333;
}

#menu_reports {
    clear: both;
    margin: 15px 0px 0px 0px;
    width: 100%;
    float: left;
}

#menu_reports table {
    margin: 0px;
    padding: 0px;
    width: 100%;
    border-top: 3px solid #FF9B00;
    border-left: 1px solid #BEBEBE;
    border-right: 1px solid #BEBEBE;
    border-bottom: 3px solid #BEBEBE;
    border-collapse: collapse;
}

#menu_reports th {
    padding: 3px 3px 3px 15px;
    margin: auto;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
    color: #03446A;
    border-bottom: 1px solid #BEBEBE;
    background-color: #F8F8F8;
}

#menu_reports td {
    padding: 10px;
    margin: auto;
    font-size: 11px;
    color: #333;
}

#menu_reports ul {
    margin: auto;
    padding: 0px 0px 0px 20px;
    list-style-image: url(/images/icons/i_icon_arrow_bullet_blue.gif);
}

#menu_reports li {
    margin: auto;
    padding: 2px 0px 2px 0px;
}

#menu_reports a {
    text-decoration: none;
}

#menu_reports a:hover {
    text-decoration: underline;
}

#footer {
    clear: both;
    background-color: #245A78;
    padding: 10px 10px 10px 10px;
    margin: auto;
    height: 14px;
    border-bottom: 4px solid #D1D1D1;
}

#footer_links {
    padding: 0px;
    margin: auto;
    float: left;
    font-size: 11px;
    color: #FFF;
}

#footer_links a {
    color: #FFF;
    text-decoration: none;
}

#footer_links a:hover {
    border-bottom: 1px solid #FFF;
}

#footer_copyright {
    padding: 0px;
    margin: auto;
    float: right;
    font-size: 11px;
    color: #D5D5D5;
}

#main {
    clear: both;
    margin: auto;
    padding: 15px 15px 30px 15px;
    background-color: #FFF;
    color: #000;
    font-size: 12px;
    line-height: 15px;
}

#main h1 {
    font-size: 22px;
}

.clear {
    clear: both;
}

.btn_hidden {
    visibility: hidden;
    width: 75px;
    height: 24px;
}

.btn_save {
    float: right;
    background: url(/images/i_btn_save.gif) no-repeat;
    border: none;
    width: 75px;
    height: 24px;
    cursor: pointer;
}

.btn_add {
    float: right;
    background: url(/images/i_btn_add.gif) no-repeat;
    border: none;
    width: 75px;
    height: 24px;
    cursor: pointer;
}

.btn_edit {
    float: right;
    background: url(/images/i_btn_edit.gif) no-repeat;
    border: none;
    width: 75px;
    height: 24px;
    cursor: pointer;
}

.btn_reload {
    float: right;
    background: url(/images/i_btn_reload.gif) no-repeat;
    border: none;
    width: 75px;
    height: 24px;
    cursor: pointer;
}

.btn_delete {
    float: right;
    background: url(/images/i_btn_delete.gif) no-repeat;
    border: none;
    width: 75px;
    height: 24px;
    cursor: pointer;
}

.btn_login_as {
    float: right;
    background: url(/images/i_btn_login_as.gif) no-repeat;
    border: none;
    width: 100px;
    height: 24px;
    cursor: pointer;
}

.btn_run {
    background: url(/images/i_btn_run.gif) no-repeat;
    border: none;
    width: 54px;
    height: 24px;
    cursor: pointer;
    margin: 17px 0px 0px 2px;
    padding: 0px;
}

.btn_run_report {
    background: url(/images/i_btn_run_report.gif) no-repeat;
    border: none;
    width: 100px;
    height: 24px;
    cursor: pointer;
    margin: 17px 0px 0px 2px;
    padding: 0px;
}

.btn_submit {
    background: url(/images/i_btn_submit.gif) no-repeat;
    border: none;
    width: 87px;
    height: 24px;
    cursor: pointer;
    margin: 17px 0px 0px 2px;
    padding: 0px;
}

.btn_backdoor {
    background: url(/images/i_btn_dark_blank.gif) no-repeat;
    border: none;
    width: 81px;
    height: 22px;
    cursor: pointer;
    color: #fff;
    margin: 0px 0px 0px 2px;
    padding: 0px 0px 2px 0px;
}

.select_report,.select_category,.enter_keyword,.no_results {
    width: 200px;
    height: 120px;
    margin: 20px auto auto auto;
    position: relative;
    padding: 0px;
}

.select_report {
    background: url(/images/message_select_a_report.png) no-repeat 0px 0px
        #FFF;
}

.select_category {
    background: url(/images/message_select_a_category.png) no-repeat 0px 0px
        #FFF;
}

.enter_keyword {
    background: url(/images/message_enter_a_keyword.png) no-repeat 0px 0px
        #FFF;
}

.no_results {
    background: url(/images/message_no_results.png) no-repeat 0px 0px #FFF;
}

.loading {
    margin: 40px auto 40px auto;
    padding: 0px;
    position: relative;
    background: url(/images/ajax-loader-medium.gif) no-repeat 0px 0px #FFF;
    width: 32px;
    height: 32px;
}

/* Begin terms accept */
#container_terms {
    margin: auto;
    padding: 10px;
    border: 1px solid #C3C3C3;
    width: 650px;
    height: 400px;
    overflow-x: hidden;
    overflow-y: scroll;
}

#form_terms {
    margin: 10px auto 10px auto;
    padding: 0px 10px 0px 10px;
    width: 650px;
}

.terms_accept_row {
    margin: 0px;
    padding: 5px 0px 5px 0px;
}

.terms_accept_col_left {
    clear: both;
    float: left;
}

.terms_accept_col_right {
    float: left;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 10px;
    font-size: 12px;
    line-height: 20px;
}

#btn_terms_accept {
    margin: 0px;
    padding: 0px;
}

/* End terms accept */
/* Begin general alerts */
#notice,#error,#success {
    margin: 20px auto 10px auto;
    padding: 6px 6px 6px 28px;
    font-size: 14px;
    text-align: left;
    width: 636px;
}

#notice {
    color: #03446A;
    border: 1px solid #DF9F3B;
    background: #FFEEC1 url(/images/icons/i_icon_notice.gif) no-repeat
        scroll 6px 6px;
}

#error {
    border: 1px solid #F99;
    color: #333;
    background: #FEE url(/images/icons/i_icon_notification.gif) no-repeat
        scroll 6px 6px;
}

#success {
    border: 1px solid #66984E;
    color: #333;
    background: #EFE url(/images/icons/i_icon_checkmark.gif) no-repeat
        scroll 6px 6px;
}

/* End general alerts */
.offer_detail {
    color: #000;
    font-size: 12px;
    width: 100%;
}

.offer_detail .header {
    clear: both;
    color: #03446A;
    float: left;
    font-weight: bold;
    width: 100%;
}

.offer_detail .data {
    border-top: 1px dotted #03446A;
    clear: both;
    float: left;
    padding: 3px 0 15px 0;
    width: 100%;
}

.offer_detail .data span {
    float: left;
}

.offer_detail .link {
    float: right;
    font-weight: normal;
}

.offer_detail select,.offer_detail input {
    border: 1px solid #C3C3C3;
    float: left;
}

.offer_detail textarea {
    border: 1px solid #C3C3C3;
    height: 100px;
    width: 100%;
}

#container_body_preview,#container_body_html,#container_body_text {
    clear: both;
    margin: auto;
    padding: 0px;
    display: none;
    height: 412px;
    /* width: 100%; */
    text-align: center;
    position: static;
}

/* show the default container */
#container_body_preview {
    display: block;
}

#body_preview,#body_html,#body_text {
    margin: auto;
    padding: 0px;
    height: 374px;
    font-size: 11px;
    border-top: 4px solid #DE9B36;
    border-bottom: 1px solid #C3C3C3;
    border-left: 1px solid #C3C3C3;
    border-right: 1px solid #C3C3C3;
}

/*
#body_html, #body_text {
    text-align: left;
    margin: 10px;
    font-size: 11px;
    font-family: courier;
    color: #000;
}
*/
.button_background {
    display: block;
    float: right;
    margin: 8px 0px 0px 8px;
    padding: 0px;
    height: 22px;
    line-height: 24px;
    border: 1px solid #C3C3C3;
    background: url(/images/g_bg_button_1.gif) repeat-x #DEDEDE 0px 0px;
    cursor: pointer;
}

.button_download_images,.button_download_html,.button_add_campaign {
    margin: auto;
    padding: 0px 10px 0px 30px;
    font-size: 11px;
    line-height: 24px;
    color: #333;
    text-align: left;
}

.button_download_images {
    background: url(/images/icons/i_icon_arrow_down_gold.gif) no-repeat 8px
        3px;
}

.button_download_html {
    background: url(/images/icons/i_icon_export_doc.gif) no-repeat 8px 3px;
}

.button_add_campaign {
    background: url(/images/icons/i_icon_add_campaign.gif) no-repeat 8px 3px;
}

/* fix image previews */
#body_preview table {
    margin: auto;
    padding: 0px;
}

#body_preview tr {
    margin: auto;
    padding: 0px;
}

#body_preview td {
    margin: auto;
    padding: 0px;
}

#body_preview img {
    margin: auto;
    padding: 0px;
}

/* this is not a textarea like body_html and body_text */
#body_preview {
    overflow-x: hidden;
    overflow-y: scroll;
}

.textarea {
    margin: auto;
    padding: 0px;
    width: 100%;
    height: 373px;
    border: none;
    font-size: 11px;
    /* turn Safari & Chrome resize off */
    resize: none;
}

#tabs_body {
    clear: both;
    margin: auto;
    padding: 0px;
    color: #FFF;
    text-decoration: none;
    float: left;
    width: 100%;
}

#tabs_body ul {
    list-style: none;
    text-transform: none;
    font-weight: normal;
    padding: 0px 8px 0px 8px;
    margin: auto;
    height: 23px;
    float: right;
}

#tabs_body li {
    float: left;
    list-style: none;
    list-style-image: none;
    width: 118px;
    height: 23px;
    margin: auto;
    padding: 0px 2px 0px 2px;
    font-size: 13px;
    text-align: center;
    line-height: 23px;
    cursor: pointer;
}

#tab_body_html,#tab_body_text {
    margin: auto;
    padding: 0px;
    background: url(/images/portal/tab_blue.gif) no-repeat;
}

/* show the default container tab as up */
#tab_body_preview {
    margin: auto;
    padding: 0px;
    background: url(/images/portal/tab_orange.gif) no-repeat;
}

