/* Main masthead container */

.mastHeadborder {
        background-color: transparent;
        background-image: url("../../castrol_masthead_logo.gif");
        background-position: top left;
        background-repeat: no-repeat;
        color: #000;
        display: block;
        height: 66px;
        margin-bottom: 7px;
        padding: 0;
        width: 779px;
}

/* Used on the navigation buttons to prevent text wrapping */

.nowrap {
        white-space: nowrap;
}

/* Main container for primary navigation links */

.mastHeadContainer {
        background-color: transparent;
        background-image: url("../../masthead_container_bg.gif");
        background-position: top left;
        background-repeat: no-repeat;
        color: #000;
        display: block;
        height: 31px;
        width: 761px;
}

/* Created the red background for the primary navigation */

/* Main container for utility link, search form, and language switcher */

#mastHeadTopNav {
        display: block;
        float: right;
        padding: 2px 0 0 0;
        position: relative;
        right: 30px;
        width: auto;
}

/*
Fix for the horizontal spacer between the utility links and search form.
This corrects the shortcoming of the navcontrol10 behaving inconsistently
*/

#mastHeadTopNav form {
        display: block;
        margin: 8px 0 0 0;
}

/******************************************************************************/

/* This is the primary container for the popups */

#mastHeadTopNavPopup {
        display: block;
        float: right !important;
        height: 44px; /* Remember the mBot10 takes an extra 10px off */
        padding: 12px 30px 0 0;
        width: 353px;
}

/* Turn off hard coded margin/padding classes */

#mastHeadTopNavPopup .mBot10 {
        display: block;
        height: 10px;
        margin: 0;
}

/******************************************************************************/

/* Turn off the old masthead logo */
#bpLogo {
        display: none;
}
/* Turn off the anchored skip navigation link */
.logoContainer img {
        display: none;
}
/* Table containers for the utility links, search form, and language switcher */
.tableContainer {
        float: right;
}
#mastHeadTopNav .tableContainer form {
        position: absolute;
        right: 0;
        top: 20px;
}
.tableContainer form .greenBold {
        background-color: transparent !important;
        color: #fff !important;
        display: inline !important;
        float: none !important;
        font-size: .75em;
        font-weight: bold;
        position: static !important;
}

/* Turn off the language switcher flag */
.tableContainer img {
        display: none;
}

/* Language swithcher */

/******************************************************************************/

#mastHeadTopNav .tableContainer .greenBold {
        display: block;
        position: relative;
        left: 10px;
        z-index: 1;
        float: left;
        color: #000;
        background-color: #fff;
        margin-top: 55px;
        margin-bottom: -8px;
        margin-left: 0;
        margin-right: 0;
        font-size: .75em;
        margin-left: 5px;
}

html>body #mastHeadTopNav .tableContainer .greenBold {
        display: block;
        float: left;
        color: #000;
        background-color: #fff;
        margin-top: 55px;
        margin-bottom: 3px;
        margin-left: 5px;
        margin-right: 0;
        font-size: .75em;
}

#mastHeadTopNav .tableContainer .greenBold a:link, #mastHeadTopNav .tableContainer .greenBold a:visited {
        display: block;
        float: left;
        color: #007b32;
        background-color: #fff;
        text-decoration: none;
}

#mastHeadTopNav .tableContainer .greenBold a:hover, #mastHeadTopNav .tableContainer .greenBold a:active {
        display: block;
        float: left;
        color: #ff0000;
        background-color: #fff;
        text-decoration: none;
}

#mastHeadTopNav .tableContainer .greenPipe {
        display: none !important;
}

/******************************************************************************/

/* Not used */

/*
.pipeDiv {
        color: #BAD75F;
        font-size: 8pt;
}
*/

/* Not used */

/*
.search {
        float: right;
}
*/

/* Text input field for the search form */

.searchBox {
        display: inline;
        width: 150px;
        height: auto;
        font-size: .75em;
        margin: 0;
        padding: 0;
        color: #000;
        background-color: #fff;
}

/* Submit input field for the search form */

.goAnchor {
        display: inline;
        color: #fff;
        background-color: #007b32;
        font-size: .75em;
        font-weight: bold;
        text-transform: uppercase;
        border-top: 1px solid #ccc;
        border-left: 1px solid #ccc;
        border-bottom: 1px solid #333;
        border-right: 1px solid #333;
        padding-left: 4px;
        padding-right: 4px;
        cursor: pointer;
}

/* Submit input field for the search form */

/*
html>body .goAnchor {
        cursor: pointer;
        padding: 1px 4px 0 4px;
}
*/

/* Primary navigation */

.button:link, .button:visited, .button:hover, .button:active, .button1 {
        border-color: #ccc #ccc #fff #fff;
        border-style: solid;
        border-width: 0 1px 0 1px;
        color: #007b32;
        display: block;
        float: left;
        font-size: .7em;
        font-weight: bold;
        height: 15px;
        margin: 1px 0 0 0;
        padding: 8px 5px 7px 5px;
        text-decoration: none;
        text-transform: uppercase;
}
.button:hover, .button:active, .button1 {
        background-color: #fff;
        color: #ff0000;
}
.button1 {
        height: 14px;
}

/*
html>body .button1 {
        padding-bottom: 0px;
        height: 22px;
        border-bottom: 2px solid #fff;
}
*/

/* Not used */

/*
.vertical6 {
        padding: 0;
        margin: 0;
        height: 3px;
        overflow: hidden;
}
*/

/* Not used */

/*
html>body .vertical6 {
        height: 7px;
}
*/

/* Not used */

/*
#enterCode {
        margin: 0;
        float: left;
        padding: 0;
}
*/

/* Begin: popupMasthead main container */

/* Not used */
/*
#pMastContainer {
        width: 375px;
        padding: 0;
        height: 70px;
        margin: 15px 0 15px 0;
}
*/

/* End: popupMasthead main container */

/* Pop ups */

.mColLeft {
        display: block;
        width: 15px;
        height: auto;
        float: left;
        padding: 0;
        margin-right: 5px;
}
/* Not used */

/*
html>body .mColLeft {
        margin: 0 5px 0 0;
}
*/

/* Not used */

.mRightCol {
        display: block;
        width: auto;
        height: auto;
        float: left;
}

.mRightCol a:link, .mRightCol a:visited {
        display: inline;
        font-size: .75em;
}

.mRightCol a:hover, .mRightCol a:active {
        display: inline;
        font-size: .75em;
}

/* This is one permissable structure for the popup page masthead container */

.pMastHead3Col {
        display: block;
        width: 403px;
        height: 66px;
        color: #000000;
        background-color: transparent;
        background-image: url("../../castrol_masthead_logo_pop.gif");
        background-position: top left;
        background-repeat: no-repeat;
        background-attachment: scroll;
}

/* Turn off the old castrol logo masthead banner */

.pMastHead3Col img {
        display: none;
}

/* Make sure we can still display images nested further down though! */

.pMastHead3Col #mastHeadTopNavPopup img {
        display: inline;
}

#tableContainer1 {
        position: absolute;
        top: 15px;
        left: 490px;
        float: right;
        width: 100px;
}

#tableContainer2 {
        display: block;
        float: right;
        width: auto;
        height: 44px;

}
*html #mastHeadTopNavPopup #tableContainer2OLD {
        position: absolute;
        left: 200px;
        width:200px; 
}
/* Not used (possibly used to contain alternate language switcher) */

/*
.selectBox {
        margin: 0;
        padding: 0;
        vertical-align: middle;
        color: #000;
}
*/

/*Begin:Added for CR 487*/

/* Main container for anchored logo and anchored skip navigation */

.logoContainer {
     display: block;
        float: left;
}

/*End:Added for CR 487*/

/* Temporary fix to recreate the primary home page link */

.logoContainer a {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        width: 360px;
        height: 66px;
}

/* This will remove the skip navigation link (does not work in IE) */

.logoContainer a + a {
        display: none;
}

.logoContainerText {
        display: block;
        position: absolute;
        top: 23px;
        left: 230px;
        color: #fff;
        background-color: transparent;
        font-size: .95em;
        font-weight: bold;
        text-transform: uppercase;
}
div#tableContainer1 div.mRightCol a span.blue {
 color:#FFFFFF
}
div#tableContainer1 div.mRightCol a:visited span.blue {
 color:#FFFFFF
}
div#tableContainer1 div.mRightCol a:active span.blue {
 color:#FF0000
}
div#tableContainer1 div.mRightCol a:hover span.blue {
 color:#FF0000
}



.pMastHead3Col #mastHeadTopNavPopup {
 WIDTH: 100px;
}

.pMastHead3Col #mastHeadTopNavPopup #tableContainer2 .mBot10 {
 width:50px;

}

/*START: For Enlarge Image Popup header*/
.pMastHead3Col_large {
        display: block;
        width: 602px;
        height: 66px;
        color: #000000;
        background-color: transparent;
        background-image: url("../../castrol_masthead_logo_pop1.gif");
        background-position: top left;
        background-repeat: no-repeat;
        background-attachment: scroll;
}

/* Turn off the old castrol logo masthead banner */

.pMastHead3Col_large img {
        display: none;
}

/* Make sure we can still display images nested further down though! */

.pMastHead3Col_large #mastHeadTopNavPopup img {
        display: inline;
}
.pMastHead3Col_large #mastHeadTopNavPopup {
 WIDTH: 100px;
}

.pMastHead3Col_large #mastHeadTopNavPopup #tableContainer2 .mBot10 {
 width:50px;

}
/*END: For Enlarge Image Popup header*/

/* Rule 59 of css/modules/M_G1_masthead.css */ 
H1 {	PADDING-RIGHT: 0px;	DISPLAY: inline;	PADDING-LEFT: 0px;	PADDING-BOTTOM: 0px;	MARGIN: 0px;	PADDING-TOP: 0px}