@font-face
{
    font-family: avantBk;
    src: url('fonts/ITCAvantGardeStd-Bk.otf');
}

@font-face
{
    font-family: avantBk;
    font-weight: bold;
    src: url('fonts/ITCAvantGardeStd-Bold.otf');
}

@font-face
{
    font-family: avantMd;
    src: url('fonts/ITCAvantGardeStd-Md.otf'):
}

@font-face
{
    font-family: avantMd;
    font-weight: bold;
    src: url('fonts/ITCAvantGardeStd-Bold.otf');
}

@font-face
{
    font-family: avantXlt;
    font-weight: bold;
    src: url('fonts/ITCAvantGardeStd-XLt.otf');
}

/* ------ Structure ------*/
html, body
{
    height: 100%;
    margin: 0px;
    padding: 0px;
}

html
{
    background-image: url('img/background.png');
    background-repeat: repeat-x;
    font-family: avantBk, verdana, 'liberation sans', sans-serif;
    font-size: 16px;
}

h1, h2
{
    margin:0px;
}

h3
{
    font-family: avantXlt;
    letter-spacing: 1px;
    line-height: 200%;
}

a
{
    color: #0000FF;
    text-decoration: none;
}

a img
{
    border: none;
}

#header
{
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 0px;
    padding-left: 40px;
    width: 970px;
}

#header #getInTouch
{
    float: right;
}

#header #getInTouch, #header #getInTouch a
{
    color: #FFFFFF;
}

#header #getInTouch div
{
    font-size: 1.3em;
    line-height: 200%;
    margin-right: 1.5em;
}

#header #getInTouch img
{
    margin-right: 5px;
    position: relative;
    top: 3px;
}

#header #getInTouch span
{
    margin-right: 10px;
}


#header #login
{
    background-image: url('img/box_member-login.png');
    color: #FFFFFF;
    display: none;
    float: right;
    height: 100px;
    margin-right: 5px;
    margin-top: 20px;
    padding-top: 10px;
    width: 340px;
}

#header #login .submit
{
    text-align: right;
}

#header #login td
{
    height: 22px;
    overflow; hidden;
    vertical-align: top;
}

#header #login input
{
    background: none;
    background-image: url('img/input_member-login.png');
    border: none;
    float: right;
    height: 18px;
    padding: 0px;
    padding-left: 10px;
    padding-top: 4px;
    width: 224px;
}

#header #login button
{
    background: none;
    border: none;
    padding: 0;
}

#header #login table
{
    margin-left: 10px;
    width: 320px;
}

#content
{
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
}

#mainBg
{
    margin-left: 40px;
}

#main, #mainBg
{
    clear: both;
}

#mainContent
{
    background-color: transparent;
    background-image: url('');
    padding: 15px;
    z-index: 1;
}

#userContent, #staticContent
{
    clear: both;
}

/* ------ Tabs ------ */
#homeHeader .home > a,
#contactHeader .contact > a,
#aboutHeader .about > a,
#membersHeader .members a,
#healthHeader .health > a,
#pluggedInHeader .pluggedIn > a,
#unionismHeader .unionism > a,
#linksHeader .links > a,
#adminHeader .admin > a
{
    font-weight: bold;
}


#tabs
{
    background-image: url('img/box_menu.png');
}

#tabs ul
{
    list-style: none;
    margin: 0px;
    overflow: hidden;
    padding: 0px;
}

#tabs > ul
{
    margin-left: 40px;
    padding-top: 1px;
}

#tabs ul li
{
    display: block;
    float: left;
    margin-right: 1px;
    margin: 7px 0px;
    min-width: 5em;
}

#tabs > ul > li > a
{
    text-shadow: #000 0.1em 0.1em 0.2em;
    text-transform: uppercase;
}

#tabs > ul > li:hover > a
{
    background-image: url('img/menu_hover.png'); 
    background-position: center top;
    background-repeat: no-repeat;
}

#tabs ul li a
{
    color: #FFFFFF;
    display: block;
    min-width: 5em;
    padding: 7px 7px;
    text-align: center;
    -webkit-transition: all 0.5s ease-in-out;
    /* Animation with transition in Firefox (No supported Yet) */
    -moz-transition: all 0.5s ease-in-out;
    /* Animation with transition in Opera (No supported Yet)*/
    -o-transition: all 0.5s ease-in-out;
}

#tabs ul > li:hover, #tabs ul li a:hover
{
}

/* ------ Submenu ------ */
/*
    Internet Explorer 6 does not allow the :hover
    pseudo-element class on anything other than a,
    therefore pure CSS menus are impossible.
*/

#tabs ul li ul
{
    z-index: -1;
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    -webkit-transition: all 0.3s ease-in-out;
    /* Animation with transition in Firefox (No supported Yet) */
    -moz-transition: all 0.3s ease-in-out;
    /* Animation with transition in Opera (No supported Yet)*/
    -o-transition: all 0.3s ease-in-out;
    border: 2px solid #651b1b;
    
    overflow: hidden;
}

#tabs ul li ul li
{
    float: none;
    font-size: 0.9em;
    padding: 0px;
    margin: 0px;
}

#tabs ul li ul li a
{
    background-color: #FFFFFF;
    color: #400000;
    display: block;
    *margin-bottom: -1px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    text-align: left;
    width: 10em;
}

#tabs ul li ul li:last-child a
{
    border: none;
}

#tabs ul li:hover ul
{
    display: block;
    overflow: visible;
    position: absolute;
    z-index: 99;
    opacity: 1;
    filter: alpha(opacity=100);
}

#tabs ul li:hover ul li:hover a
{
    background-color: #8c2525;
    color: #FFFFFF;
}

/* ------ Sub-submenu ------ */
#tabes ul li ul li ul li
{
    font-size: 1em;
}

#tabs ul li:hover ul li ul
{
    display: none;
}

#tabs ul li:hover ul li:hover ul
{
    display: block;
    position: absolute;
    left: 11em;
    *margin-left: -1px;
    margin-top: -34px;
    *margin-top: 0px;
}

#tabs ul li:hover ul li:hover ul a
{
    background-color: #FFD864;
}

#tabs ul li:hover ul li:hover ul a:hover
{
    background-color: #FF9e50;
}

/* ------ Sidebar ------ */
#sidebar
{
    display: none;
}

/* ------ Footer ------- */
#footer
{
    background-image: url('img/box_footer.png');
    clear: both;
    color: #FFFFFF;
    font-size: 0.7em;
    height: 194px;
    line-height: 150%;
    margin-bottom: 20px;
    margin-top: 7px;
    padding-left: 50px;
    padding-top: 10px;
    width: 950px;
}

#footer a
{
    color: #FFFFFF;
}

#footer ul
{
    list-style: none;
    margin: 0px;
    overflow: hidden;
    padding: 0px;
}

#footer ul li:before
{
    content: "\00BB";
}

#footer ul li a
{
    margin-right: 1px;
    padding: 0px 5px;
}

#footer ul li:last-child a
{
}

#footer ul li a:hover
{
}

#footer address
{
    font-style: normal;
    padding-right: 10px;
}

#footer #footerLogo
{
    float: left;
    margin-top: 20px;
}

#footer h4
{
    border-bottom: 1px solid #404040;
    font-size: 1.5em;
    font-weight: normal;
    padding-bottom: 0.5em;
}

#footer #navigate, #footer #contactInfo, #footer #getInTouch
{
    float: left;
    margin-left: 30px;
    margin-top: -15px;
    overflow: hidden;
}

#footer #navigate
{
    width: 20%;
}

#footer #contactInfo
{
    width: 35%;
}

#footer #getInTouch
{
    width: 25%;
}

#footer #navigate ul
{
    float: left;
    margin-right: 2em;
}

#footer #getInTouch div
{
    float: left;
    font-size: 1.3em;
    margin-bottom: 1.5em;
    margin-right: 1.5em;
    width: 100%;
}

#footer #getInTouch div img
{
    margin-right: 5px;
    vertical-align: middle;
}

#footer #getInTouch div span
{
    left: 0.5em;
    position: relative;
    top: -0.3em;
}

/* ------ Messages ------ */
.errors, .successes
{
    background-position: 10px center;
    background-repeat: no-repeat;
    display: none;
    font-weight: bold;
    font-family: verdana, 'DejaVu Sans', sans-serif;
    font-size: 1em;
    margin: 0.5em 0em;
    padding: 0.5em 0em;
    padding-left: 35px;
}

.errors, .fieldError
{
    background-color: #A00000;
    border: 1px solid #FF0000;
    color: #FFCCCC;
}

.errors
{
    background-image: url('img/errorbg.gif');
}

.successes
{
    background-color: #005000;
    background-image: url('img/successbg.gif');
    border: 1px solid #00FF00;
    color: #CCFFCC;
}

.fieldError
{
    margin-left: 1em;
    padding: 0em 0.5em;
}

.errors pre
{
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

/* ------ Loading ------ */
.loading
{
    background-image: url('img/loading.gif');
    background-position: center 10em;
    background-repeat: no-repeat;
}

td
{
    vertical-align: top;
}

.tooltip
{
    display:none;
    background:transparent url(img/black_arrow.png);
    font-family: arial, "liberation sans", sans-serif;
    font-size:10px;
    height:75px;
    width:160px;
    padding:25px;
    padding-top: 20px;
    color:#fff; 
}

.tooltipItem
{
    font-size: 0.8em;
    margin-left: 200px;
}

.required
{
    color: #FF0000;
    margin-left: -0.8em;
    position: absolute;
}

table.legalOpinions td
{
    width: 17%;
}

