/*!
custom styles for project
*/


/* Fonts for Internet Explorer < 9 */
@font-face {
    font-family: Museo700Regular;
    src: url("/~/media/data-visualizations/interactives/assets/fonts/museo700regularwebeot.eot");
}
@font-face {
    font-family: Museo100Regular;
    src: url("/~/media/data-visualizations/interactives/assets/fonts/museo100regularwebeot.eot");
}
@font-face {
    font-family: DinReg;
    src: url("/~/media/data-visualizations/interactives/assets/fonts/dinwebproeot.eot");
}
@font-face {
    font-family: DinMed;
    src: url("/~/media/data-visualizations/interactives/assets/fonts/dinwebproboldeot.eot");
}

/* Fonts for WOFF-capable browsers */
@font-face {
    font-family: Museo700Regular;
    src: url("/~/media/data-visualizations/interactives/assets/fonts/museo700regularwebwoff.woff") format("woff");
}
@font-face {
    font-family: Museo100Regular;
    src: url("/~/media/data-visualizations/interactives/assets/fonts/museo100regularwebwoff.woff") format("woff");
}
@font-face {
    font-family: DinReg;
    src: url("/~/media/data-visualizations/interactives/assets/fonts/dinwebprowoff.woff") format("woff");
}
@font-face {
    font-family: DinMed;
    src: url("/~/media/data-visualizations/interactives/assets/fonts/dinwebproboldwoff.woff") format("woff");
}



/*body {
    font-size: 13px;
    font-family: DinReg, Helvetica, Arial, sans-serif !important;
    font-weight: normal !important;
    background-color: #f6f6f6;*/
    /*color: #606060;*/
    /*color: #777;
}*/

.boldDin {
    font-size: 14px;
    font-family: DinMed, Helvetica, Arial, sans-serif;
    font-weight: bold !important;
    color: #777;
}

a {
    color: #777;
    text-decoration: none;
}

.clear {
    clear: both;
}

.underline a {
    text-decoration: underline;
}


.upgrade-browser-map {
    font-size: 16px;
    text-align: center;
    width: 270px;
    margin: 220px auto;
}

.upgrade-browser-table {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    height: 80px;
    font-size: 16px;
    text-align: center;
    width: 100%;
    padding: 20px 220px 20px 220px;
    margin: 30px auto;
}


/*h1,*/
h2,
h3,
h4,
h5,
h6 {
  font-family: Museo700Regular, Georgia, serif;
  font-weight: normal !important;
  line-height: 20px;
  color: #777;
  text-rendering: optimizelegibility;
  margin: 0;
}

h4 {
    font-size: 13px !important;
}

hr {
    margin-top: 9px;
    margin-bottom: 14px;
    border: 0;
    border-top: 1px solid #ddd;
}


/**  pew containers  **/
.pew-container {
    width: 932px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 18px;
    background: #f2f2f2;
}
.col-leftnav {
    width: 200px;
    padding: 6px 6px 6px 16px;
    margin: 0;
}
.col-content {
    width: 726px;
    height: 1170px;
    padding: 6px 16px 6px 6px;
    margin: 0;
}



/**  left sidebar nav  **/
.sidebar-nav {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #fff;
}
.sidebar-nav > .nav > li.head {
    border-top: 1px solid #ddd;
    background: #444;
    color: #eee;
    padding: 4px 9px 1px 9px;
    cursor: default;
	margin-bottom: 0px;
}

.sidebar-nav > .nav > li.head.dkblue {
    background: #1d83ad;
}
.sidebar-nav > .nav > li.head.green {
    background: #87a658;
}
.sidebar-nav > .nav > li.head.ltblue {
    background: #65c3e3;
}


.sidebar-nav > .nav > li.ids {
    border-top: 1px solid #ddd;
    margin: 0;
    padding: 7px 9px 3px 9px;
    cursor: pointer;
}
.sidebar-nav > .nav > li.ids:hover {
    background: #efefef;
}
.sidebar-nav > .nav > li.ddd.active {
    background: #e2e2e2 url('/~/media/Data-Visualizations/Interactives/2014/Federal-Tax-Deductions-and-Credits/img/pew_tax_sprite.gif') no-repeat -2px 0px;
}
.sidebar-nav > .nav > li.ccc.active {
    background: #e2e2e2 url('/~/media/Data-Visualizations/Interactives/2014/Federal-Tax-Deductions-and-Credits/img/pew_tax_sprite.gif') no-repeat -2px -60px;
}
.sidebar-nav > .nav > li.dl1 {
    padding-left: 28px !important;
    background: url('/~/media/Data-Visualizations/Interactives/2014/Federal-Tax-Deductions-and-Credits/img/pew_tax_sprite.gif') no-repeat -4px -120px;
}
.sidebar-nav > .nav > li.dl2 {
    padding-left: 28px !important;
    background: url('/~/media/Data-Visualizations/Interactives/2014/Federal-Tax-Deductions-and-Credits/img/pew_tax_sprite.gif') no-repeat -4px -180px;
}
.sidebar-nav > .nav > li.dl1:hover {
    padding-left: 28px !important;
    background: url('/~/media/Data-Visualizations/Interactives/2014/Federal-Tax-Deductions-and-Credits/img/pew_tax_sprite.gif') no-repeat -4px -240px;
}
.sidebar-nav > .nav > li.dl2:hover {
    padding-left: 28px !important;
    background: url('/~/media/Data-Visualizations/Interactives/2014/Federal-Tax-Deductions-and-Credits/img/pew_tax_sprite.gif') no-repeat -4px -300px;
}
.nav-indent {
    margin: 0 5px 0 15px;
    /* color: #d3d3d3; */
}

.rounding-note {
    margin: 8px 6px 0 0;
    line-height: 1.2;
    font-size: 12px;
} 


/**  tab nav  **/
.nav-tabs {
    font-family: Museo700Regular, Georgia, serif;
    color: #777;
    font-size: 14px;
    text-align: center;
    margin-bottom: -1px;
}

.nav-tabs > li {
    width: 33.32%;
}
.nav-tabs > li > a {
    background-color: #e2e2e2 !important;
    color: #777;
    border: 1px solid #ccc !important;
    line-height: 1.428571429;
    border-radius: 0;
    text-align: center;
    margin-right: -1px;
    padding: 9px 7px 7px 7px;
}
.nav-tabs > li > a:hover {
    background-color: #f2f2f2 !important;
    color: #777 !important;
}
.nav-tabs > li > a:focus {
    background-color: #fff !important;
    color: #777 !important;
    border-bottom-color: transparent !important;
}
/*.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:hover, */


.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:focus, 
.nav-tabs > li.active > a:active {
    background-color: #fff !important;
    color: #777 !important;
    cursor: default;
    border-bottom-color: transparent !important;
} 

.tab-content {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    /*border-top-color: transparent !important;*/
    /*height: 760px;*/
    padding: 17px 20px 12px 17px;
    margin: 0 0 12px 0;
}



/** above map  **/
h4.map-title {
    text-transform: uppercase;
    margin: 0 0 3px 0;
}

.tab-pane > h5 {
    margin: 0 0 4px 0;
}

#map {
    width: 665;
    height: 420px;
    margin: 10px 0 0 0;
}

/** below map  **/
.table-header-wrapper {
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    /*border-top-color: transparent !important;*/
    height: 66px;
    padding: 17px 16px 20px 17px;
    margin: 0 0 0 0;
}
.table-header {
    float: left;
    width: 540px;
    height: 10px;
}
.table-switch {
    float: right;
}

h4.table-title {
    text-transform: uppercase;
    margin: 0 0 4px 0;
}

/** gradients  **/
.blue-gradient {
    width: 100%;
    height: 10px;
    margin: 8px 0;
    background: url('/~/media/Data-Visualizations/Interactives/2014/Federal-Tax-Deductions-and-Credits/img/blue_grad.jpg');
    /*
    background: -webkit-linear-gradient(90deg, #97daf7, #1a6f96); /* For Safari 
    background:    -moz-linear-gradient(90deg, #97daf7, #1a6f96); /* For Firefox 3.6 to 15 
    background:     -ms-linear-gradient(90deg, #97daf7, #1a6f96); 
    background:      -o-linear-gradient(90deg, #97daf7, #1a6f96); /* For Opera 11.1 to 12.0 
    background:         linear-gradient(90deg, #97daf7, #1a6f96); /* Standard syntax 
    */
}
.brown-gradient {
    width: 100%;
    height: 10px;
    margin: 8px 0;
    background: url('/~/media/Data-Visualizations/Interactives/2014/Federal-Tax-Deductions-and-Credits/img/green_grad.jpg');
/*
    background: -webkit-linear-gradient(90deg, #ccbcad, #4b3a26); /* For Safari 
    background:    -moz-linear-gradient(90deg, #ccbcad, #4b3a26); /* For Firefox 3.6 to 15 
    background:     -ms-linear-gradient(90deg, #ccbcad, #4b3a26); 
    background:      -o-linear-gradient(90deg, #ccbcad, #4b3a26); /* For Opera 11.1 to 12.0 
    background:         linear-gradient(90deg, #ccbcad, #4b3a26); /* Standard syntax 
    */
}
.legend.list-inline > li {
    padding: 0;
    margin:0;
    vertical-align: top;
}
.legs {
    text-align: center;
    width: 24.6%;
}
.legs.ll {
    text-align: left;
    width: 11.9%;
}
.legs.rr {
    text-align: right;
    width: 11.9%;
}

/**  backgrid custom  **/
.pew-backgrid {
    min-height: 53px;
    max-height: 230px;
    overflow: auto;
    padding: 0 !important;
    margin: -1px 0 0 0 !important;
    border: none;
    border-bottom: 1px solid #DDD;
}

.pew-table {
    border-bottom: 1px solid #ccc !important;
    padding: 0;
    margin: 0;
}

.backgrid thead th a {
    color: #f2f2f2;
    text-decoration: none;
    letter-spacing: -0.5px;
}



.backgrid th,
.backgrid td {
    height: 20px !important;
    max-width: 200px !important;
    padding: 6px 15px;
    overflow: hidden;
    line-height: 20px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid #ccc !important;
}

/**  head sort caret  **/
.backgrid .sort-caret {
  display: inline-block;
  width: 8px;
  height: 0;
  margin: 6px 0 0 0;
  border: 0;
  content: "";
  float: right;
}
.backgrid .ascending .sort-caret {
  border-bottom: 5px solid #f2f2f2;
  vertical-align: middle;
}
.backgrid .descending .sort-caret {
  border-top: 5px solid #f2f2f2;
  vertical-align: middle;
}


.backgrid thead th {
    background-color: #999;
}
.backgrid thead th:hover{
    background-color: #aaa;
}
.backgrid thead th.ascending,
.backgrid thead th.descending{
    background-color: #777;
}


.tri-mark {
    width: 9px;
    height: 0;
    margin: 3px 0 0 0;
    float: left;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-top: 8px solid #555;
    border-bottom: none;
    position: relative;
    left: 0;
}

.us-avg-span {
    display: block;
    float: left;
    height: 14px;
    width: 14px;
    margin: 1px 6px 0 0;
    background: #fff;
}

.backgrid .money-cell,
.backgrid .percent-cell,
.backgrid .money-cell.editor input[type=text],
.backgrid .percent-cell.editor input[type=text] {
    text-align: right;
}

.table-striped > tbody > tr:nth-child(odd) > td, 
.table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #f9f9f9;
}

.pew-table th, .pew-table td {
    border: none !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    padding: 4px 25px 3px 18px !important;
}
.pew-table thead tr {
    border-top: 1px solid #ccc !important;
    border-bottom: 1px solid #ccc !important;
}
.active-col {
    background-color: #afcbdd !important;
}



/* download table div */
.download-table {
    font-family: Museo700Regular, Georgia, serif;
    font-weight: normal !important;
    line-height: 20px;
    color: #fff;
    background: #65c3e3;
    text-rendering: optimizelegibility;
    margin: 0;
    padding: 3px 18px 3px 18px;
}
.download-table a {
    color: #fff;
    text-decoration: none;
}

/* popover  */
.popover {
    position: absolute;
    z-index: 20;
}
.popover-title, .popover-content {
    min-width: 130px;
    padding: 7px 12px;
}
.popover-title h5, .popover-title h4 {
    font-size: 16px;
    line-height: 18px;
    padding: 0;
    margin: 0;
}
.popover-content p {
    padding: 0;
    margin: 0;
}

/*  slider button  */
.has-switch.switch-small {
    min-width: 156px;
}
.has-switch span.switch-small, .has-switch label.switch-small {
    padding-bottom: 2px;
    padding-top: 4px;
}
.has-switch span.switch-default {
    color: #555;
    text-shadow: none;
    background-color: #d3d3d3;
    background-image: none;
    /* background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6', endColorstr='#ffffffff', GradientType=0);
    border-color: #ffffff #ffffff #d9d9d9;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);*/
}
