.page-content {
    background: white;
    padding: 1em 0;
}

/*  WRAPPER STUFF */
html.agents #wrapper {
    margin-top: -2em;
}

.ASP body #wrapper {
    width: 1000px;
    margin: 0 auto;
}

.ASP #wrapper > table,
.ASP #wrapper > form > table {
    margin: 0 auto;
}

.page {
    margin: -8px; /* offset the body */
}

/*  HEADER STUFF */
body .page #header,
/*.ASP*/ body > #header {
    top: 0;
    width: 100%;
    background-position-x: calc(50% + 430px);
}
/*.ASP*/ body #header {
    position: absolute; /* this ends up being relative to #wrapper, so we need to offset top by the height */
    height: 100px;
    top: -140px;
    left: 0;
    right: 0;
    background: #ffffff url(/custom/?/=/images/logo_flynovoair_watermark.png) no-repeat 170% -30px;
    border-bottom: 1px solid #CCC;
    width: 1000px;
    margin: 0 auto;
} 
/*.ASP*/ body #header a {
    background: url(/custom/?/=/images/agency_logo.png) center left no-repeat;
	background-size: 25%;
    width: 900px;
    height: 100%;
    display: block;
    margin-left: -450px;
    position: absolute;
    left: 50%;
}
/*.ASP*/ body #header img {
    display: none;
}

.ASP.custom_header #header {
    top: 0;
}


/*  MENUBAR STUFF */
/*.ASP*/ body > div#menuBar {
	top: 100px !important;
}
/*.ASP*/ body div#menuBar {
	background: #FFF !important;
    position: absolute;
    top: -40px;
    border-top: 1px solid #CCC;
    padding-bottom: 2px;
	width: 1000px !important;
	left: 50%;
	margin-left: -500px;
    height: 32px;
}
body .page div#menuBar {
    top: 100px;
    width: 100% !important;
    left: 0;
    padding-left: 50%;
}
/*.ASP*/.custom_header body div#menuBar {
    top: 100px;
    width: 1000px !important;
    margin-left: -500px;
}

/*.ASP body*/div#menuBar ul.MenuBar a
{
	color: #777 !important;
	background: #FFF !important;
    border-top: 3px solid #FFF;
    margin-right: 1px;
}
/*.ASP*/div#menuBar ul.MenuBar li {
    list-style-type: none;
    position: relative;
    text-align: center;
    cursor: pointer;
    width: 12em;
    float: left;
}

/*.ASP*/div#menuBar ul.MenuBar a {
    display: block;
    cursor: pointer;
    padding: 0.5em 0.75em 0.5em 1.2em;
    color: #e0f0ff;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-variant: normal;
    font-style: normal;
    text-decoration: none;
    background: #008fd0 url("/custom/?/=/images/topmenu_bg.png");
    margin-bottom: -2px;
    padding-bottom: 8px;
}

/*.ASP*/div#menuBar ul.MenuBar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 82%;
    list-style-type: none;
    position: relative;
}


/*  FOOTER STUFF */
/*.ASP*/ #footer{ 
    display: none; 
}


/*  OVERLAY STUFF */
/*.ASP*/ body #agentTypeOverlay {
    margin-top: -140px;
    color: #FFF !important;
    text-shadow: none !important;
}
/*.ASP*/ body .page #agentTypeOverlay {
    margin-top: 0;
}
/*.ASP*/ body #agentTypeOverlay:after {
    content: "Travel Agents Portal";
    color: #777 !important;
    font-weight: normal;
    font-size: 1.2em;
    white-space: nowrap;
    margin-left: 350px;
    top: 1.6em;
    background: transparent !important;
}
/*.ASP*/.custom_header body #agentTypeOverlay {
    margin-top: 10px;
}

/*.ASP*/ body #devoverlay {
    top: -60px !important;
    left: 50%;
    margin-left: -100px;
}
#devoverlay {
    display: block;
    border: 1px solid #800;
    position: absolute;
    right: 50%;
    top: 65px;
    padding: 8px 1em 8px;
    margin-top: -20px;
    width: 180px;
    margin-right: -180px;
    line-height: 0;
    white-space: nowrap;
    overflow: hidden;
    font-size: 16px;
    font-weight: bold;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #E00;
    text-align: center;
    background-color: #EE0;
    opacity: 0.6;
    filter: alpha(opacity=60);
    text-decoration: none;
    z-index: 99999;
}

div#agentTypeOverlay {
    position: absolute;
    color: #227BE1;
    font-size: 16px;
    font-family: Segoe UI;
    top: 24px;
    font-weight: bold;
    left: 50%;
    padding: 0 1em;
    text-shadow: 1px 0 0px #227BE1, -1px 0 0px #227BE1, 0px 0 0px black;
    margin-left: -70px;
}


/*  OTHER STUFF */
html/*.ASP*/ {
    width: 100%;
    background: #d7d8dc;
}

/* Menu items that have mouse over or focus have a blue background and white text */
html.ASP ul.MenuBar a:active,
html.ASP ul.MenuBar a:focus,
html.ASP body#pgHome a#mnuHome,
html.ASP body#pgFlts a#mnuFlts,
html.ASP body#pgFF a#mnuFF,
html.ASP body#pgEmp a#mnuEmp,
html.ASP body#pgAbtUs a#mnuAbtUs,
html.ASP body#pgTAMain a#mnuTAMain,
html.ASP body#pgTAAdv a#mnuTAAdv,
html.ASP body#pgTAAcct a#mnuTAAcct,
html.ASP body#pgTAHlp a#mnuTAHlp,
html.ASP body#pgTALogout a#mnuTALogout
{
    border-color: #f89722 !important;
	color: #f89722 !important;
	background: #FFF !important;
    box-shadow: 0 3px 5px -2px #AAA;
}

/* Menu items that have mouse over or focus have a blue background and white text */
.ASP body ul.MenuBar a:hover,
.ASP body#pgHome a#mnuHome:hover,
.ASP body#pgFlts a#mnuFlts:hover,
.ASP body#pgFF a#mnuFF:hover,
.ASP body#pgEmp a#mnuEmp:hover,
.ASP body#pgAbtUs a#mnuAbtUs:hover,
.ASP body#pgTAMain a#mnuTAMain:hover,
.ASP body#pgTAAdv a#mnuTAAdv:hover,
.ASP body#pgTAAcct a#mnuTAAcct:hover,
.ASP body#pgTAHlp a#mnuTAHlp:hover,
.ASP body#pgTALogout a#mnuTALogout:hover
{
    border-color: #AAA;
    color: #111;
    background: #FFF !important;
    box-shadow: 0 3px 6px -2px #888 !important;
}

.page,
.ASP body {
    padding-top: 140px;
    background: url("/custom/?/=/images/bg3.jpg");
    background-size: cover;
}

.ASP form > table,
.ASP table[width="900"],
.ASP table[width="800"] {
    width: 1000px;
}

.ASP table[width="700"] {
    width: 850px;
}

.ASP input[type="submit"],
.ASP input[type="button"] {
    background-color: #f89722;
    box-shadow: none;
    border-color: #f89722;
    border-style: solid;
    text-shadow: none;
    font-style: normal;
    color: #FFF !important;
    background-image: none;
}

.ASP .pg_subtitle, html .subpg_subtitle {
    background-color: #BB621B;
}
.ASP #agent_page_titles { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
}