﻿div.scroll_bg { top: 57px; }
div.scroll_bottom { top: 0px; padding-bottom: 80px; }

div.header   { position: absolute; width: 683px; height: 212px; top: -100px; left: 50%; margin-left: -334px; z-index: 20; }

div.talents { background-image: url('images/talents.png'); }
div.icon { width: 54px; height: 65px; margin: 25px auto; }
div.geologist { background-position: 0px -212px; }
div.scout { background-position: -54px -212px; }
div.general { background-position: -108px -212px; }
div.island { background-position: -162px -212px; }

p.header { font-size: 40px; color: darkred; padding-top: 25px; }

p.levelcap { width: auto; padding: 0px; padding-right: 10px; line-height: 26px; color: darkred; }
.levelcap { float: left; }

div.skill_container { width: 450px; margin: 0px auto; text-align: center; }
div.skilltree { width: 340px; margin-top: 31px; text-align: center;}
div.resources { width: 100px; position: absolute; top: 36px; right: 5px; }

p.resources {
    width: 90px;
    padding: 0px;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    color: darkred;
    border-bottom: thin solid;
    height: 22px;
}

p.resources_pts {
    width: 90px;
    padding: 0px;
    text-align: center;
    font-weight: bold;
    font-size: 150%;
}
div.resources_item {
    width: 90px;
    height: 25px;
    line-height: 25px;
    padding: 0px;
    padding-top: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 150%;
    }

div.resources_item div.res { display: inline-block; padding-left: 2px; }
div.resources_code {
    padding-top: 5px;
    font-weight: bold;
    font-size: 150%;
    color: darkred;
    text-align: left;
    }
div.resources_code span { color: black; text-decoration: italic; }
div.resources div.button { min-width: 90px; }

div.brown   { padding: 5px; border: thin solid #bba268; position: relative; }
div.cooper { border: thin solid #856045; margin-top: 5px; }
div.silver { border: thin solid #767d81; margin-top: 5px; }
div.gold     { border: thin solid #a08c3c; }

div.skilltree div { border-spacing: 5px; }
div.skilltree div.res { position: absolute; top: 6px; left: 8px; }
div.skilltree div.tdis div.res { opacity: 0.5; }
div.skilltree p { position: absolute; top: 6px; left: 35px; width: 25px; height: 25px; padding: 0px; text-align: center; font: bold 14px/25px Arial, Helvetica, sans-serif; }

div.skilltree div.td div { background-image: url('images/talents.png'); line-height: 38px; display: inline-block; margin: 0px -2px; }
div.skilltree div.tdis { width: 66px; height: 36px; border: thin solid; border-radius: 5px; margin-right: 2px; position: relative; cursor: default; }
div.skilltree div.tbut { width: 70px; height: 38px; position: relative; cursor: pointer; }
div.skilltree div.tpt0 { width: 13px; height: 38px; background-position: -553px -250px; }
div.skilltree div.tpt1 { width: 13px; height: 38px; }
div.skilltree div.tpt2 { width: 13px; height: 38px; }
div.skilltree div.tpt3 { width: 13px; height: 38px; }
div.skilltree div.tinf { width: 11px; height: 38px; background-position: -542px -250px; }
div.skilltree div.tnul { width: 11px; height: 38px; background-position: -553px -250px; }

div.skilltree div.gold div.tdis                 { background-color: #c8b04c; border-color: #a08c3c; color: #a08c3c; }
div.skilltree div.gold div.tbut                 { background-position: -543px -212px; }
div.skilltree div.gold div.tbut:hover     { background-position: -613px -212px; }
div.skilltree div.gold div.tpt1                 { background-position: -644px -250px; }
div.skilltree div.gold div.tpt2                 { background-position: -657px -250px; }
div.skilltree div.gold div.tpt3                 { background-position: -670px -250px; }

div.skilltree div.silver div.tdis             { background-color: #949da0; border-color: #767d81; color: #767d81; }
div.skilltree div.silver div.tbut             { background-position: -403px -212px; }
div.skilltree div.silver div.tbut:hover { background-position: -473px -212px; }
div.skilltree div.silver div.tpt1             { background-position: -605px -250px; }
div.skilltree div.silver div.tpt2             { background-position: -618px -250px; }
div.skilltree div.silver div.tpt3             { background-position: -631px -250px; }

div.skilltree div.cooper div.tdis             { background-color: #a87b59; border-color: #856045; color: #856045; }
div.skilltree div.cooper div.tbut             { background-position: -263px -212px; }
div.skilltree div.cooper div.tbut:hover { background-position: -333px -212px; }
div.skilltree div.cooper div.tpt1             { background-position: -566px -250px; }
div.skilltree div.cooper div.tpt2             { background-position: -579px -250px; }
div.skilltree div.cooper div.tpt3             { background-position: -592px -250px; }

div.skilltree div.tmask { width: 70px; height: 38px; position: absolute; top: 0px; left: 0px; background-position: 0px 0px; }


div.skilltree div.ttool { 
    display: none !important;
    width: 350px; 
    position: absolute; top: -41px; left: 90px;
    background-image: none !important;
    background-color: #963;
    border: solid 1px black;
    border-radius: 5px;
    opacity: 0.9;
    box-shadow: #000 5px 5px 15px;
    z-index:10;
    line-height: 25px !important;
    color: black;
    }

div.skilltree div.ttool div { line-height: 25px !important; }
div.skilltree div.tttop {
    width: 100%;
    background-image: none !important;
    background-color: #630;
    border-bottom: solid 1px black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 5px 0px;
    font-weight: bold; 
}
div.skilltree div.ttres {
    width: 100%;
    background-image: none !important;
    padding-top: 10px;
    font-size: 24px; 
    font-weight: bold; 
    color: darkred;
}
div.skilltree div.tttxt, #ttlvl, #ttbks {
    width: 330px;
    background-image: none !important;
    padding: 0px 10px;
    text-align: left;
    word-wrap: break-word;
}
div.skilltree div.ttnxt {
    width: 100%;
    background-image: none !important;
    color: #333;
    line-height: 16px !important;
}
div.skilltree div.ttnxh {
    width: 330px;
    background-image: none !important;
    border-bottom: thin solid;
    vertical-align: bottom;
    line-height: 16px !important;
    height: 20px;
}
#ttlvl, #ttbks { color: #030; font-weight: bold; }
div.skilltree div.ttred { color: darkred !important; }
div.skilltree div.ttnul { display: none !important; }

 /*line-height: 38px; display: inline-block; margin: 0px -2px;*/


div.source_resource { width: 26px; height: 25px; background-image: url('images/resources.png') !important; }


div.skilltree div.tbut:hover div.ttool { display: inline-block !important; }
div.skilltree div.tdis:hover div.ttool { display: inline-block !important; }


div.save_buttons { width: 450px; height: 35px; margin: 0px auto; }    
div.save_buttons div.button { float: left; min-width: 140px; padding: 5px 5px 0px 5px; }
div.save_skillkey { width: 440px; height: 30px; margin: 0px auto; padding-top: 5px; }    
div.save_skillkey div.button { float: right; min-width: 140px; }
div.save_skillkey div.button_dis { float: right; min-width: 140px; }
div.save_skillkey p { width: auto; padding: 0px; padding-right: 10px; line-height: 26px; float: left; font-weight: bold; }

div.reference_buttons { width: 450px; height: 35px; margin: 0px auto; }    
div.reference_buttons div.button { float: left; min-width: 140px; padding: 5px 5px 0px 5px; }
div.reference_buttons p { width: auto; padding: 0px 10px; line-height: 35px; float: left; font-weight: bold; }
    
/*
.cooper       { background-color: #ca956b; }
.cooper2     { background-color: #a87b59; }
.cooper3     { background-color: #856045; }
.silver       { background-color: #acb7ba; }
.silver2     { background-color: #949da0; }
.silver3     { background-color: #767d81; }
.gold           { background-color: #f2d457; }
.gold2         { background-color: #c8b04c; }
.gold3         { background-color: #a08c3c; }
.brown         { background-color: #ceb372; }
.darkbrown { background-color: #bba268; }


div.heading { width: 500px; margin: 0px auto; }
div.header_red                       { width: 500px; height: 55px; display: table; table-layout:fixed; margin: 0px auto; }
div.header_red_sub               { width: 445px; height: 55px; display: table; table-layout:fixed; margin: 0px auto; }
div.header_red_content       { width: 445px; height: 55px; display: table-cell; background: url('images/header_red_bg1.png') repeat-x scroll left top; }
div.header_red_left             { width:  40px; height: 55px; display: table-cell; background: url('images/header_red_borders.png') no-repeat scroll left top; background-position:  0px  0px; }
div.header_red_right           { width:  15px; height: 55px; display: table-cell; background: url('images/header_red_borders.png') no-repeat scroll left top; background-position: -50px 0px; }
div.header_red_right_mask { width:  10px; height: 55px; display: table-cell; background: url('images/header_red_borders.png') no-repeat scroll left top; background-position: -40px 0px; }
div.header_red_text             { width: 435px; height: 55px; display: table-cell; font: 20px/55px 'Times New Roman', Times, serif; color: #e8ba2e; text-align: left; max-height: 55px; }

    $Ret = "<div class=\"heading\">";
    $Ret .= "<div class=\"".$style."\">";
    $Ret .= "<div class=\"".$style."_left\"></div>";
    $Ret .= "<div class=\"".$style."_content\">";
    $Ret .= "<div class=\"".$style."_sub\">";
    $Ret .= "<div class=\"".$style."_text".$extension.$ellipsis."\">";
    $Ret .= $text;
    $Ret .= "</div>";
    $Ret .= "<div class=\"".$style."_right_mask\"></div>";
    $Ret .= "</div>";
    $Ret .= "</div>";
    $Ret .= "<div class=\"".$style."_right\"></div>";
    $Ret .= "</div>";
    $Ret .= "</div>\n";
    echo $Ret;

*/
