/*
 Theme Name:   e2016 Bootstrap Child
 Theme URI:    http://taxpolicycenter.org
 Description:  Devdmbootstrap 3 Child Theme
 Author:       Kara Davis
 Author URI:   http://loopstrategies.com
 Template:     devdmbootstrap3
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  devdmbootstrap3-child-e2016
*/
body {
    font-family: 'Avenir', sans-serif;
    font-size:16px;
    color:#4d4d4d;
}
.container {
    max-width:1200px;
}

@media (min-width: 601px) {
    .container {
        width:auto;
        }
}
@media (min-width: 992px) {
    .container {
        max-width:950px;
        }
}

@media (max-width: 767px) {
    .container, .col-md-12, .col-sm-4, .navbar {
        padding: 0;
    }
    .row {
        margin:0;
        padding:0;
    }
}

#topNav {
    position: fixed;
    height:75px;
    top:0px;
    width:100%;
    background:#fff;
    -moz-border-bottom-colors: none;
     -moz-border-left-colors: none;
     -moz-border-right-colors: none;
     -moz-border-top-colors: none;
     background-color: #ffffff;
     border-color: -moz-use-text-color -moz-use-text-color #eeeeee;
     border-image: none;
     border-style: none none solid;
     border-width: medium medium 1px;
}
#share {
    height: 75px;
}

#logo {
    display: inline-block;
    padding:10px 0;
}
#smallLogo { display: none; }
.dmbs-footer #smallLogo { display: block; }
#shareMaster {
    display: inline !important;
    float: right;
    height: 50px;
    opacity: 1;
    padding-left: 20px;
    padding-top:20px;
    width: 70px;
}

.circle {
    background-color: #21547e;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    color: #ffffff;
    display: inline-block;
    height: 35px;
    line-height: 35px;
    margin-right: 5px;
    margin-top: 8px;
    text-align: center;
    width: 35px;
}

.circle:hover {
     background-color: #0096d2;
}

#socials a {
     color: #0096d2;
}

#socials a:hover {
     color: #0096d2;
     text-decoration:none;
}

#socials {
     color: #0096d2;
     float: right;
     padding-top:20px;
     opacity: 0;
     transition: opacity 0.25s ease-in-out 0s;
}
@media (max-width:767px) {
    #socials {
         opacity: 1;
    }
    #socials #email.circle  {
        background-color:#f9c807;
    }
     #socials #facebook.circle {
        background-color:#1d4187;
    }
    #socials #twitter.circle{
        background-color:#1da8e2;
    }
    #shareMaster {
        display:none !important;
    }
}
#socials-single a {
     color: #0096d2;
}

#socials-single a:hover {
     color: #0096d2;
     text-decoration:none;
}

#socials-single {
     color: #0096d2;
     float: right;
     padding-top:20px;
}
#socials-single #email.circle, #socials-hamburger #email.circle  {
    background-color:#f9c807;
}
 #socials-single #facebook.circle, #socials-hamburger #facebook.circle  {
    background-color:#1d4187;
}
#socials-single #twitter.circle, #socials-hamburger #twitter.circle {
    background-color:#1da8e2;
}
#socials-single #email.circle:hover, #socials-single #facebook.circle:hover, #socials-single #twitter.circle:hover {
    background-color:#0096d2;
}
#socials-hamburger {
    display:none;
}
@media (max-width:600px) {
    #socials-hamburger {
        display:block;
    }
    #socials-hamburger .social-col {
        width:33%;
        text-align:center;
        float:left;
        padding:20px 0;
    }
}
#share:hover #shareMaster {
     opacity: 0.5;
     transition: opacity 0.25s ease-in-out 0s;
}

#share:hover #socials {
     opacity: 1;
     transition: opacity 0.25s ease-in-out 0s;
}


@media (max-width: 600px) {
  #topNav #tpcLogo { display: none; }
  #smallLogo { display: inline-block; float:left; padding:10px 0;}
}

/* Top Banner 
----------------------------- */
.top-banner {
    margin-top:75px;
}
.top-banner img {
    width:100%;
    height:auto;
}
.top-banner h1 {
    position:absolute;
    top:0;
    left:0;
    text-indent:-9999px;
}
.searchbar {
    height:15px;
    background-color:#fff;
    padding:0;
    margin:0;
}
#smallbanner { display: none; }

@media (max-width:600px){
    #largebanner { display: none; }
    #smallbanner { display: block; }
}

/* Search 
----------------------------- */
#search {
    height: 50px;
    z-index:100;
    position:absolute;
    bottom:0;
    right:20px;
}

#searchMaster {
    display: inline !important;
    float: right;
    height: 50px;
    opacity: 1;
    padding-left: 0;
    width: 83px;
}

.tab {
    background-color: #fff;
    color: #ab1820;
    display: inline-block;
    height: 50px;
    padding-top:10px;
    line-height: 35px;
    text-align: center;
    width: 63px;
    font-size:1.3em;
}

.tab:hover {
     background-color: #fff;
}

#searchBox a {
     color: #000;
}

#searchBox a:hover {
    color: #000;
    text-decoration:none;
}

#searchBox {
     color: #000;
     background-color:#fff;
     height: 50px;
     float: right;
     opacity: 0;
     transition: opacity 0.25s ease-in-out 0s;
}

#search:hover #searchMaster {
     opacity: 1;
     transition: opacity 0.25s ease-in-out 0s;
}

#search:hover #searchBox {
     opacity: 1;
     transition: opacity 0.25s ease-in-out 0s;
}
.screen-reader-text, .search-submit {
    display:none;
}
.search-field {
    margin:15px 0 10px 25px;
    border:1px solid #ccc;
    padding:8px 15px;
    font-weight:normal;
}
@media (max-width:767px) {
    #search {
        position:relative;
        float:right;
    }
    #searchMaster {
        max-width:20%;
    }
    #searchBox {
        opacity: 1;
        max-width:70%;
    }
}
@media (max-width:600px) {
    #search {
        clear:both;
        margin:auto;
    }
    #searchMaster {
        max-width:20%;
    }
    #searchBox {
        opacity: 1;
        max-width:70%;
    }
}

/* TPC Navigation 
----------------------------- */
.navbar.tpcnav {
    background-color:#333;
    border-radius: 0;
    min-height:40px;
    padding:0;
    margin:0;
}
.tpcnav ul {
    float:right;
    margin:0;
    padding:0;
    
}
.tpcnav ul li {
    list-style:none;
    float:left;
    font-size: 14px;
    padding: 12px 20px;
    margin:0;
    max-height:40px;
}
.tpcnav a {
    color:#fff;
    text-transform:uppercase;
    text-decoration:none;
}
.tpcnav li:hover {
    background-color:#56b3ce;
}
@media (min-width:601px) {
    .navbar-collapse.collapse {
        display: block;
        padding:0;
        height:40px;
        margin:0;
    }
    .navbar-toggle, .navbar-header{
        display: none;
    } 
}
@media (max-width:600px) {
    .top-banner {
        margin-top:0;
        position:relative;
    }
    #topNav {
        display:none;
    }
    .navbar-header {
        float:right;
        width:30%;
    }
    .navbar-toggle {
        display:inline-block;
    }
    .navbar-collapse {
        padding:0;
        width:100%;
    }
    .navbar.tpcnav {
        background-color: #fff;
        width:100%;
        height:auto;
    }
    .tpcnav ul {
        margin:0;
        padding:0;
        width:100%;
        border:1px solid #ccc;
    }
    .tpcnav ul li {
        list-style:none;
        clear:both;
        border-bottom:1px solid #ccc;
        padding:10px 20px;
        max-height:500px;
        width:100%;
        text-align:center;
    }
    .tpcnav ul li.odd {
        background-color:#eee;
    }
    .tpcnav a {
        color:#333;
        text-transform:uppercase;
        text-decoration:none;
    }

    .navbar-toggle .icon-bar {
        height:3px;
        width:100%;
        background-color:#333;
    }
    .icon-label {
        text-transform:uppercase;
        color:#333;
        font-size:.8em;
        text-align:center;
    }

}
/* Filter navigation 
----------------------------- */
.e2016nav ul {
    width:240px;
    float:right;
    margin:20px 40px 10px;
}
.e2016nav ul ul {
    margin:10px 0;
    padding:0;
}
.e2016nav ul ul ul{
    padding-left:20px;
    width:238px;
    margin:10px 0;
}
.e2016nav .caret {
    float:right;
    margin-top:10px;
}
.e2016nav ul li {
    font-family: 'Avenir LT W01_55 Roman1475520', sans-serif;
    width:240px;
    font-weight:65;
    border:1px solid #ccc;
    padding:0;
}
.e2016nav a{
    color:#000;
}
.e2016nav ul li li {
    width:238px;
    border:none;
    padding:5px 20px;
    list-style:none;
}
.e2016nav li.menu-category {
    color:#333;
    text-transform:uppercase;
    font-weight:bold;
}
.e2016nav li.menu-category li{
    color:#4d4d4d;
    text-transform:uppercase;
    font-weight:normal;
    font-size:.9em;
}
.e2016nav ul li li:hover {
    background-color:#eee;
}
.e2016nav li.divider {
    padding:0;
    line-height:0;
    margin:0;
}

@media (max-width:767px) {
    .e2016nav ul.parent {
        width:240px;
        position:absolute;
        top:-56px;
        left:0;
        z-index:100;
    }
    .e2016nav .navbar-nav .open .dropdown-menu {
        height:250px;
        overflow: scroll;
        
    }
    li.dropdown {
        background-color:#fff;
    }
}
@media (max-width:600px) {
    .e2016nav {
        margin:auto;
    }
    .e2016nav ul.parent {
        width:100%;
        position:relative; 
        clear:both;
        margin:20px 0 50px;
        top:0;
    }
    .e2016nav ul li, .e2016nav ul li li, .e2016nav ul ul ul {
        width:100%;
    }
    .e2016nav li.menu-category span {
        padding-left:20px;
    }
    .e2016nav ul ul ul {
        padding-left:0;
    }
    .e2016nav ul li li {
        padding:5px 0;
    }
    .e2016nav ul li a {
        padding:10px 20px;
    }
}
/* Breadcrumbs 
----------------------------- */
#breadcrumbs {
    font-family: 'Avenir LT W01_45 Book1475508', sans-serif;
    font-size:.7em;
    color:#999;
    text-transform:uppercase;
    position:absolute;
    left:15px;
    bottom:-25px;
    z-index:2;
}
#breadcrumbs a {
    color:#999;
}
#breadcrumbs a:hover {
    text-decoration:underline;
}
@media (max-width:767px) {
    #breadcrumbs {
        display:none;
    }
}

/* Tiles with hover
----------------------------- */
.post-title {
    font-family: 'Avenir LT W01_65 Medium1475532', sans-serif;
    padding:15px 45px;
    border:1px solid #ccc;
    margin:10px 0;
    color:#333;
    height:250px;
}
.group-hover {
    height:100%;
    width:100%;
    display:none;
    cursor: pointer;
    position: absolute;
    top:0;
    left:0;
    z-index: 1;
    padding:10px 15px;
}
.col-md-12 .group-hover {
    padding:10px 15px;
}
.post-summary {
    background-color: #000;
    height:100%;
    width:100%;
    padding:20px;
    opacity: 0;
}
a.group-link:hover .group-hover {
    display:block;
}
a.group-link:hover .post-summary {
    opacity: .9;
    transition: opacity 0.25s ease-in-out 0s;
}
.author-label, .date-label-lg {
    text-align:center;
}
.date-label-lg, .date-label-sm {
    font-family: 'Calvert MT W01 Light1488602', serif;
    font-size:13px;
}   
.author-label {
    font-family: 'Calvert MT W01 Bold1488614', serif;
    margin-top:30px;
}
.category-label {
    font-size:14px;
}
.col-md-12, .col-md-9 {
    clear:both;
}

.col-md-12 .category-label {
    position:absolute;
    top:14px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.col-md-12 .category-label span {
    font-family: 'Avenir LT W01_55 Roman1475520', sans-serif;
    color:#fff;
    text-transform:uppercase;
    text-align:center;
    padding:5px 15px;
}
.more-link span {
    font-family: 'Avenir LT W01_55 Roman1475520', sans-serif;
    color:#fff;
    text-transform:uppercase;
    text-align:center;
    padding:15px;
}
.col-sm-4 .more-link {
    position:absolute;
    bottom: 23px; 
}
.col-md-12 .more-link{
    position:absolute;
    bottom:23px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.col-md-12 .post-excerpt {
    text-align:center;
    max-width:700px;
    margin:auto;
    color:#fff;
    padding:inherit 20px;
    font-size: 22px;
}
.col-sm-4 .post-excerpt {
    color:#fff;
    font-size: 16px;
    line-height: 1.3;
}
.col-md-12 .blue .category-label span, .blue .more-link span {
    background-color:#15578b;
}
.col-md-12 .red .category-label span, .red .more-link span {
    background-color: #ab1820;
}
.col-md-12 .date-label-sm {
    display:none;
}
.col-md-12 h2 {
    font-family: 'Avenir LT W01_65 Medium1475532', sans-serif;
    text-align:center;
    margin-top:60px;
    font-size:2em;
}
.col-sm-4 .post-title {
    padding: 15px 25px;
} 
.col-sm-4 .category-label span {
    font-family: 'Avenir LT W01_65 Medium1475532', sans-serif;
    text-transform:uppercase;
    font-weight:bold;
}
.col-sm-4 .blue .category-label span {
    color:#15578b;
}
.col-sm-4 .blue .post-title {
    border-top:3px solid #15578b; 
}
.col-sm-4 .red .category-label span {
    color: #ab1820;
}
.col-sm-4 .red .post-title {
    border-top:3px solid #ab1820;
}
.col-sm-4 .date-label-sm {
    font-family: 'Calvert MT W01 Light1488602', serif;
}
.col-sm-4 .date-label-lg, .col-sm-4 .author-label {
    display:none;
}
.col-sm-4 .post-title h2 {
    font-family: 'Avenir LT W01_65 Medium1475532', sans-serif;
    clear:both;
    margin-top:45px;
    font-size: 23px;
    line-height: 1.2;
}
.col-md-12 .teaser {
    padding:1px 0;
}
.teaser a:hover {
    text-decoration:none;
}

@media (max-width: 767px) {
    .col-sm-4 .post-title {
        padding:15px 20px;
        overflow:hidden;
    }
    .col-md-12 .more-link {
        bottom:2px;
    }
    .col-md-12 .category-label {
        top:4px;
    }
    .col-sm-4 .post-excerpt {
        font-size:.9em;
        max-height:185px;
        overflow:hidden;
    }
    .col-md-12 .teaser {
        padding:0;
    }
}
@media (max-width: 767px) {
    .col-md-12 h2 {
        font-size:1.5em;
    }
    .col-sm-4 .post-title {
        margin-left:45px;
        padding:5px 20px;
        height: auto;
    }
    .col-sm-4 .post-title h2 {
        margin-top:15px;
        padding-top:10px;
        font-size:1.2em;
    }
    .col-sm-4 .category-label, .col-sm-4 .date-label-sm {
        float:left;
    }
    .col-sm-4 .category-label {
        margin-right:20px;
    }

    a.group-link:hover .group-hover {
        display:none;
    }
    .col-sm-4 .blue .post-title {
        border:none;
        border-left:1px solid #15578b; 
    }
    .col-sm-4 .red .post-title {
        border:none;
        border-left:1px solid #ab1820; 
    }

}
@media (max-width: 600px) {
    .col-md-12 .post-title {
        height:auto;
        min-height:250px;
    }
}
.search-page-content .post-title {
    border:none;
    padding:5px 20px;
    height: auto;
}
.search-page-content .category-label, .col-sm-4 .date-label-sm {
    float:left;
}
.search-page-content .category-label {
    margin-right:20px;
    color:#ab1820;
    text-transform:uppercase;
}
.search-page-content .post-title h2 {
    clear:both;
}
.search-page-content .teaser.blue {
    border-left:1px solid #15578b; 
}
.search-page-content .teaser.red {
    border-left:1px solid #ab1820; 
}
.search-page-content .teaser.blue .category-label {
    color:#15578b; 
}
.search-page-content .teaser.red .category-label {
    color:#ab1820; 
}
.search-page-content h2 {
    font-size:1.3em;
    margin-bottom:30px;
}
/* Page styles
----------------------*/
h1.page-header {
    font-family: 'Avenir LT W01_65 Medium1475532', sans-serif;
    color:#333;
    margin:0;
    text-decoration: none;
    border-bottom:none;
}
.filter-term {
    font-weight:normal;
    font-style:italic;
}
.taxonomypage h1.page-header {
    float:left;
}
.taxonomypage a .fa-stack {
    margin:8px 0 0 10px;
}
.taxonomypage a .fa-stack .fa-square {
    color:#333;
}
.single-post-header h1.page-header {
    float:left;
}
.single-share {
    float:right;
    padding:15px 0;
}
hr.clear {
    clear:both;
    border-color:#666;
}
.single-post-header h1.page-header {
    clear:both;
    padding:25px 0 15px;
}
.single-post-header {
    margin-top:85px;
}
.single-author {
    color:#333;
    font-family: 'Calvert MT W01 Bold1488614',serif;
    margin:40px 0 20px;
}
.single-author a {
    color:#333;
}
.category-label-single {
    font-family: 'Avenir LT W01_55 Roman1475520', sans-serif;
    text-transform:uppercase;
    font-weight:normal;
    float:left;
    margin-right:10px; 
    color:#ab1820;
    font-size:.9em;
}
.date-label-single {
    font-family: 'Avenir LT W01_35 Light1475496', serif;
    float:left;
    font-size:.9em;
}
.dmbs-comments {
    margin-top:30px;
}
ol li {
    margin-bottom:15px;
}
/* Footer 
---------------------- */
.dmbs-footer {
    clear:both;
    margin-top:60px;
}
@media (max-width:767px) {
    .dmbs-footer .col-sm-2 img {
        margin:auto;
    }
    .dmbs-footer .col-sm-10 {
        clear:both;
        margin-top:20px;
    }
}

/* Sidebar 
---------------------- */

#sidebar-tags h2 {
    text-transform:uppercase;
    font-size:1.2em;
    margin-top:85px;
}
#sidebar-tags ul {
    margin:0;
    padding:0;
}
#sidebar-tags li {
    list-style:none;
    margin:20px 0;
}
#sidebar-tags li a {
    padding:5px 10px;
    border-radius:5px;
    background-color:#e6e6e6;
    color:#333;
    text-decoration:none;
}
#sidebar-tags li a:hover {
    background-color:#ccc;
}
/* Comments 
------------------------- */
#comments {
    font-size:1.4em;
    font-family: 'Avenir LT W01_55 Roman1475520', sans-serif;
    text-transform:uppercase;
    color:#999;
}
.comments-number {
    font-size:1.2em;
    font-weight:bold;
    color:#333;
}
#reply-title {
    display:none;
}
p.comment-form-comment {
    margin-top:0;
    padding:0;
}
p.comment-form-comment label {
    display:none;
}
p.comment-form-comment textarea {
    padding:10px;
    height:40px;
    margin-top:0;
    border-radius:5px;
    border:1px solid #ccc;
}
.comment-respond #submit {
    border-radius: 0;
    background-color:#ab1820;
    font-family: 'Avenir LT W01_55 Roman1475520', sans-serif;
    border:none;
    font-size:1.1em;
}
.dmbs-comments .well {
    padding:20px 0;
    border:none;
    background-color:#fff;
}
.comment-author {
    float:left;
    margin-right:20px;
}
.comment-author img {
    display:none;
}
.comment-author a {
    color:#333;
    font-style:normal;
    text-decoration:none;
}
.comment-meta {
    float:left;
    color:#999;
    font-size:.8em;
    padding-top:4px;
}
.comment-body p {
    clear:both;
}
ul.commentlist {
    margin-left:0;
    padding-left:0;
}
.dmbs-comments ul.children {
    background-color:#f2f2f2;
    padding:10px 30px;
    margin:20px 0 20px 90px;
}
.comment-reply-link, .comment-reply-link:hover {
    padding:0;
    background-color:#fff;
    border:none;
    color:#15578b;
    text-transform:lowercase;
}
.comment-reply-link:hover {
    text-transform:underline;
}
.dmbs-comments ul.children .comment-reply-link, .dmbs-comments ul.children .comment-reply-link:hover {
    background-color:#f2f2f2;
}
.page-prev {
    float:left;
}
.page-next {
    float:right;
}