.franklin {
    font-family: "FranklinITCStdLight", "Franklin Gothic", "ITC Franklin Gothic", 'Arial', sans-serif;
    font-weight: normal;
}
.franklin-bold {
    font-family: "FranklinITCProBold", "Arial", sans-serif;
    font-weight: normal;
}

.franklin-thin {
    font-family: "FranklinITCProThin", "Franklin Gothic", "ITC Franklin Gothic", 'Arial', sans-serif;
    font-weight: normal;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.mc-rel {
    position: relative;
}

.mc-abs {
    position: absolute;
}

.wp-graphics-fixed-wrapper {
    position: relative;
}
.wp-graphics-fixed {
    position: absolute;
    top:0;
}
.wp-graphics-fixed.fixed {
    position:fixed;
}
.wp-graphics-fixed.bottom {
    position:absolute;
}

.relative {
    position: relative;
}

/* SOME FIXES FOR PADDING-LESS SHELL */

.pad-wrapper {
    padding: 0 10px;
}

.content-rule {
    border-top: 1px solid #ccc;
    padding-bottom: 10px;
}

.fed-budget #shell {
    width: 1012px;
    padding: 0 !important;
}

.fed-budget .horizontal-bar.wp-graphics-social-tools {
    padding-left: 10px;
}

.fed-budget #content {
    border-top: none !important;
}

/* CONTENT */

h1.franklin {
    font-size: 13px;
    text-transform: uppercase;
}

.kicker {
    color: #999;
}

h2.franklin {
    font-size: 32px;
    font-family: "FranklinITCProThin", "Franklin Gothic", "ITC Franklin Gothic", 'Arial', sans-serif;
    font-weight: normal;
}

p.tiny {
    font-size: 13px;
}

p.text {
    font-size: 13px;
}

p.explainer {
    font-size: 16px;
    margin: 20px 0;
}

.annos-label p.math-symbol {
    color: #666;
}

.annos-label p.math-symbol.subtract {
    font-size: 60px;
    right: -28px;
    top: -13px;
}
.annos-label p.math-symbol.equal {
    font-size: 47px;
    right: 5px;
    top: 0;
}
.grayed {
    filter: alpha(opacity=30);
    opacity: 0.3;
}

#main-content a {
    text-decoration: none;
}

#graphic {
    position: relative;
    float: left;
}
.d3-sub#graphic {
    background: white url('../img/d3-static.png') no-repeat center -3px;
    height: 390px;
    width: 603px;
}

#rollover {
    position: absolute;
    display: none;
    width: 140px;
    min-height: 30px;
    background: #fff;
    border: 1px solid #efefef;
    padding: 5px;
    font-size: 12px;
    z-index: 9999;
    -moz-box-shadow: 0 0 7px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 0 7px rgba(0,0,0,0.4);
    box-shadow: 0 0 7px rgba(0,0,0,0.4);
}

#rollover .roll-title {
    font-size: 13px;
    margin-bottom: 4px;
}

#rollover .roll-more {
    font-style: italic;
    margin-top: 5px;
    color: #666;
    display: none;
}

#left-menu {
    width: 198px;
    float: left;
    min-height: 4000px;
    background: #efefef;
    -moz-box-shadow:inset -1px 0 7px #ddd;
    -webkit-box-shadow:inset -1px 0 7px #ddd;
    box-shadow:inset -1px 0 7px #ddd;
}

ul.left-list {
    width: 198px;
    height: 544px;
    margin: 10px 0 10px;
}

#left-menu a:hover li.nav-item {
    color: #000;
}

#left-menu li h1.menu-title {
    text-shadow: 1px 1px 0 #fff;
    line-height: 1.1em;
    padding: 15px 10px 0;
    margin: 0;
    line-height: 36px;
}
.menu-title span {
    display: block;
}
#left-menu li h1.menu-title span.title-smaller {
    font-size: 17px;
    line-height: 29px;
    text-transform: uppercase;
}
.menu-title span.title-bigger {
    font-size: 101px;
    line-height: 90px;
}

#left-menu li h1.menu-title span.title-2, #left-menu li h1.menu-title span.title-3 {
    font-size: 49px;
    line-height: 47px;
    text-transform: uppercase;
}

#left-menu li.nav-item {
    font-size: 13px;
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    color: #777;
    height: 13px;
    overflow: hidden;
}

#left-menu li.nav-item.active {
    background: #fff;
    color: #000;
    font-family: "FranklinITCProBold", "Arial", sans-serif;
    -moz-box-shadow: inset -2px 0 5px #ddd;
    -webkit-box-shadow: inset -2px 0 5px #ddd;
    box-shadow: inset -2px 0 5px #ddd;
}

#filter-wrap {
    margin-top: 15px;
}

#filter-wrap .ui-combobox input {
    width: 160px;
}

.ui-autocomplete.ui-widget-content {
    width: 168px;
}

.ui-menu .ui-menu-item {
    cursor: pointer;
}

#small-sp {
    cursor: default;
}
.twp-loading-large,
#main-well {
    float: left;
    margin: 10px 0 0 10px;
    width: 774px;
    padding: 10px 10px 10px;
}

/* ANNOTATIONS */

.annotation {
    position: absolute;
}

.rev-label {
    display: none;
}

.rev-label span.label-amt {
    font-size: 12px;
    font-family: 'FranklinITCProThin', "Franklin Gothic", "ITC Franklin Gothic", 'Arial', sans-serif;
}

.rev-label p.label-name {
    line-height: 13px;
}

#rev-well {
    margin-bottom: 10px;
}

#left-well {
    float: left;
    margin-bottom: 10px;
    width: 610px;
}

#third-col {
    width: 150px;
    margin: 0;
    float: right;
}

#third-col p.text {
    padding-left: 10px;
    width: 125px;
}

#filter-sp-wrap {
    float: left;
    margin: 52px 0 15px 10px;
}

#filter-sp li {
}

#filter-sp li a {
    display: block;
    width: 100px;
    text-align: center;
    font-size: 13px;
    background-color:white;
    color:#a8a8a8;
    padding:8px 10px;
    margin: 0 0 -1px 0;
    -moz-text-shadow: 0 0 1px white;
    -webkit-text-shadow: 0 0 1px white;
    text-shadow: 0 0 1px white;
    -moz-box-shadow: 1px 1px 0 #efefef;
    -webkit-box-shadow: 1px 1px 0 #efefef;
    box-shadow: 1px 1px 0 #efefef;
    border: 1px solid #ccc;
    text-decoration: none;
}
#filter-sp li a:hover { color: #7a7a7a; }
#filter-sp li a.active {
    background-color: #FDFDFD;
    -webkit-box-shadow: inset 0px 0px 7px #ccc;
    -moz-box-shadow: inset 0px 0px 7px #ccc;
    box-shadow: inset 0px 0px 7px #ccc;
    border: 1px solid #a4a4a4;
    color: #333;
}
#filter-sp li a.active:hover { background-color: #FDFDFD;  cursor:default; }

#graphic-annos {
    float: left;
    margin-bottom: 15px;
}

#graphic-annos .wp-column {
    width: 48%;
    padding: 0 1%;
}

#rev-anno-2 {
    position: absolute;
    top: 310px;
}

#sp-annos-1 {
    width: 100%;
    top: 0;
}

.annos-label-wrap {
    position: relative;
    width: 610px;
}

.annos-label {
    float: left;
}

.annos-label p.label-name {
    font-size: 12px;
    line-height: 21px;
    text-transform: uppercase;
}

.annos-label p.label-amt {
    font-size: 26px;
    line-height: 24px;
    margin-bottom: 10px;
    font-family: 'FranklinITCProThin', "Franklin Gothic", "ITC Franklin Gothic", 'Arial', sans-serif;
}

.annos-label p.franklin-bold {
    font-size: 14px;
}

#total-rev-label {
    width: 250px;
}

#total-sp-label {
    width: 360px;
}
#total-sp-label .comparison {
    margin-left: 60px;
}

#total-def-label {
    width: 100%;
}

#divide-line {
    position: absolute;
    height: 320px;
    top: 24px;
    left: 270px;
    border-left: 2px dotted #ccc;
}

#rev-anno {
    width: 240px;
    top: 300px;
}

/* SVG STYLES */

rect.rev_sq {
    stroke-width: 2;
    stroke: #fff;
    shape-rendering: crispEdges;
    fill: #e7cd7f;
}

rect.ghost_sq {
    stroke-width: 2;
    stroke: #fff;
    shape-rendering: crispEdges;
    fill: #83b3c1;
    opacity: 0.3;
}

rect.sp_sq {
    stroke-width: 2;
    stroke: #fff;
    shape-rendering: crispEdges;
    fill: #83b3c1;
    cursor: pointer;
}

rect.sm_sq {
    stroke-width: 1;
    stroke: #fff;
    shape-rendering: crispEdges;
    fill: #83b3c1;
}

rect.map_sq {
    fill: #efefef;
    stroke-width: 1;
    stroke: #ddd;
    shape-rendering: crispEdges;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
}

/* FUNCTION-LEVEL DETAILS */

#sp-function-container {
    width: 100%;
    float: left;
    text-align: left;
}

.function-col {
    float: left;
    width: 20%;
}

#function-menu {
    width: 183px;
    padding: 5px 10px 5px 5px;
}

#function-menu a {
    text-decoration: none;
}

#function-menu li {
    font-size: 11px;
    margin-bottom: 5px;
}

#function-cards {
    float: left;
}

#function-cards h3.franklin,
#function-cards h4.franklin {
    font-family: "FranklinITCStdLight", "Franklin Gothic", "ITC Franklin Gothic", 'Arial', sans-serif;
}
#function-cards h4.franklin {
    font-size: 17px;
    margin-bottom: 0;
}

.function-card {
    width: 776px;
    margin: 15px 0 45px;
}
.ie-d3 .function-card {
    margin: 0 0 20px;
}
.ie-d3 .function-card .pl25 {
    padding-left: 0;
}

.function-card.active {
    background: #fffce5;
}

.function-card h3 {
    font-size: 20px;
}

.wp-column.ten {
    width: 568px;
}
.wp-column.six {
    width: 315px;
}

.function-card p {
    font-size: 14px;
}

.spending-bars .bar {
    height: 15px;
    margin-bottom: 3px;
}

.bar.mandatory { background-color: #2a687a; }
.bar.discretionary { background-color: #83b3c1; }

span.mandatory { color: #2a687a; }
span.discretionary { color: #83b3c1; }

.spending-bars p {
    line-height: 1.1em;
    top: 0;
    width: 100px;
}

p.chart-label {
    font-size: 1.3em;
    margin-top: -9px;
}

.comparison p {
    background: url('../img/arrow.png') no-repeat 0 6px;
    padding-left: 15px;
}
.comparison p.less {
    background-position: 0px -40px;
}

/* IE fallback for subfunctions */
.ie-d3 .ie-hide {
    display: none;
}
.subfunctions {
    clear: both;
    display: table;
    font-size: 1.4em;
    line-height: 1.6em;
    width: 85%;
}
.table-name {
    width: 75%;
}
.table-amt {
    width: 25%;
}
#social-security-card .subfunctions,
#medicare-card .subfunctions,
#net-interest-card .subfunctions {
    display: none;
}