/* TSP FONTS */
h1,h2,h3,h4 {font-family: "Crimson Text", "Georgia", serif; font-weight: normal;}
#cxt-bar .contexts-org {font-family: "Crimson Text", "Georgia", serif;}
h2 em, h3 em {font-family: "Crimson Text", "Georgia", serif;}
h2 {font-size: 1.5em; margin: 0 0 0.2em 0; color: #777;}
#posts h2 {font-size: 1.8em; font-weight: normal; margin-bottom: 2px;}
h3, #posts h3 {font-size: 1.5em; font-weight: normal;}
#posts .page-meta h2 { text-transform: none;}
#comments-wrapper h3 {font-size: 1.5em;}
#sidebar h2, #sidebar h3 {font-size: 1.5em; text-transform: none; font-weight: normal;}

#sidebar-inner { background: none; }


/* Modify header positioning for TSP blogs */
#header {margin: 15px 0 -15px 0;}

.blogs-header-text {color: #555; font-family: "Crimson Text", "Georgia", serif;  font-size: 1.25em;}

h2 span.community {color: #335e82;}


/*
 * COLORS
 */
#container div.carousel-control a.active { color: #335e82; }
#tspbar .tsp-org-img {
  background-image: url('/wp-content/themes/default/images/thesocietypages-bar.png');
}


/* Home page */
#home-wrap {
  margin-top: 30px;
}
#home-wrap hr {width: 890px; height: 1px; } /* bc I can't count and made grid wrong size: */
p.link-meta {color: #777; margin: 0; font-size: 0.9em;}
#home-wrap p a { border-bottom: dotted 1px #bbb; }
#home-bottom {background: url('../images/sidebar-gradient-bg.png') no-repeat 590px 0;}
#tsp-about-inner {padding: 0 5px 0 15px;}
#tsp-about #follow-links a {padding-right: 5px;}
#home-middle div {}
#home-middle-1, #home-middle-2, #home-middle-3 {
  margin-bottom: 26px;
}
#home-middle-1 {padding: 0 20px 0 0;}
#home-middle-2 {padding: 0 10px 0 10px;}
/*#home-middle-3 {padding: 0 7px 0 13px;}*/


/* Partners Box */
.tsp-community { margin-bottom: 20px; }
.tsp-community > div { padding-top: 22px; }
#partners { border-left: solid 1px #ccc; width: 289px; }
#partners h3 {margin-bottom: 0.2em; color: #888; font-size: 1.4em; line-height: 1.2em; }
#partners .post-byline {margin: 0 0 0.3em 0;font-size: 0.9em;}
#contexts p {margin: 0 0 0.3em 0;}

/* Contexts Box */
#contexts { padding: 27px 20px 20px 28px; margin-top: 0; }
#contexts .cxt-dept {color: #777; margin: 0; font-size: 0.9em;}
#contexts h2 {float: left; margin: -3px 0 0 0; font-size: 1.6em;}
#contexts h4 {padding-bottom: 0em; height: auto; margin: 0;}

/* partners: SSN, CCF */
.partners { padding: 2px 20px 10px 28px; margin-top: 0; border-bottom: solid 1px #ccc; }
#ssn { margin-top: 0px; }
#ccf { margin-top: 15px; padding-bottom: 15px; }
#contexts div, .partners div { overflow: hidden; margin: 0 0 0.8em 0; padding: 0;}


/* Home Carousel */
#tspcarousel-wrap { 
  overflow: hidden; 
  margin-bottom: 22px; 
  width: 500px;
}
#tspcarousel {
  height: 200px;
  overflow: hidden;
  margin-bottom: 25px;
}
#tspcarousel li {
  height: 200px;
  width: 500px;
}
ul#tspcarousel li img { 
  float: left; 
  margin: 0 15px 0 0;
}
ul#tspcarousel li span {font-family: "Crimson Text", Georgia, serif; display: block;}
ul#tspcarousel li span em {font-family: "Crimson Text", Georgia, serif;}
ul#tspcarousel li span.carousel-blogname {font-size: 1.4em; color: #777;}
ul#tspcarousel li span.carousel-title {font-size: 1.6em; line-height: 1.2em;}
ul#tspcarousel li span.carousel-author {font-size: 1.2em; color: #777;}
div.carousel-control {
    position: absolute;
    left: 582px;
    width: 160px;
    margin-top: 180px;
    font-size: 1.1em;
}
#container div.carousel-control a { color: #aaaaaa;}
#container div.carousel-control a:hover { color: #fff; }

/* Home Search */
#header-search {
    height: 38px;
    padding: 2px 34px 0 0px;
}

/* TSP home page search */
#tspbar-right input.tsp-search {
    float: right;
    text-align: right;
    height: 2em;
    width: 110px;
    padding: 0 10px;
    margin: 7px 3px 0 0;
    background-color: #222;
    color: #999;
    border: solid 1px #333;
    -webkit-border-radius: 2px; /* Saf3-4, iOS 1-3.2, Android ≤1.6 */
    -moz-border-radius: 2px; /* FF1-3.6 */
    border-radius: 2px;
}
#tspbar-right input.tsp-search:focus {
    text-align: left;
    background-color: white;
    width: 210px;
    color: #333;
}
#sidebar input.tsp-search {
    text-align: left;
    float: left;
}



/* Follow/Search */
#follow-search {
  margin-top: 10px;
  padding: 10px 0 15px 10px;
  margin-bottom: 20px;
}

/* EDITOR'S DESK */
#editors-desk div {
  float: left;
}
#editors-desk img {
  float: left;
  padding: 2px 12px 8px 0;
}
#editors-desk h2 {
  line-height: 1.2em;
}


/* COMMUNITY PAGES */
#blogs-header {
  padding: 0;
  margin: -10px 0 0 0;
  height: 4.3em;
}
#blogs-header h2 {
  display: inline;
  font-size: 3em;
  padding: 0 0.3em 0 0;
}

#blogs-header {
  overflow: hidden;
}
#blogs-header form {
  width: 100px;
  margin: 5px 0 0 0;
  display: inline;
  margin-left: 120px;
}
#blogs-header form select { }
.blogs-current {
  margin: 0em 0 2.3em 0;
}
.blogs-logo img {
  margin: 0 0 2px 0;
  padding: 0;
}
.blogs-logo a {
  padding: 0 !important;
}
.blogs-logo a:hover {
  background-color: #fff !important;
}
.blogs-current p {
  padding: 0;
  margin: 0 0 0.6em 0px;
}
#blogs-current-left {
  padding: 1em 35px 1em 0;
}
#blogs-current-mid {
  padding: 1em 0 1em 20px;
}
.latest-post-time {
  display: block;
  font-size: 0.9em;
  color: #666;
  margin-left: 0px;
}
.latest-post-link {
  display: block;
  font-size: 1em;
  margin-left: 0px;
}
#feature a,
.latest-post-link a {
  border-bottom: dotted 1px #bbb;
}

/*
 * blogs page
 */
#blogs-intro {
    margin-top: 15px;
    overflow: hidden;
    min-height: 245px;
}
#blogs-intro h2 {
    padding-top: 3px;
    font-size: 1.9em;
    margin-bottom: 0.2em;
}
#blogscarousel-wrapper {
    width: 270px;
    min-height: 245px;
}
#blogs-about {
    padding-left: 20px;
}

/*
 * blogs carousel
 */
#blogscarousel-wrapper .jcarousel-container {
    position: relative;
    width: 270px;
}
#blogscarousel-wrapper .jcarousel-list li,
#blogscarousel-wrapper .jcarousel-item {
    float: left;
    list-style: none;
    width: 270px;
    height: 244px;
}



/* bp modifiers */
/* MOVE TO MAIN.CSS WHEN DONE */
.bp-inner-1 { padding: 0 1em; }
.bp-inner-2 { padding: 0 2em; }
.bp-borderheight {
  border-top: solid 1px #ddd;
  border-bottom: solid 1px #ddd;
  margin: 1em 0;
}
span.go-to-article {
    margin-top: 0.4em; 
    margin-left: 0px;
    padding-left: 24px;
    background: url(../images/arrow.png) 0 -2px no-repeat;
    color: #666;
}



/* TSP Authors box */
.tsp-authors-widget-wrapper {
  width: 215px;
  overflow: hidden;
  float: right;
  padding: 0 15px;
  margin: 0 0 0 15px;
  border-left: solid 1px #ddd;

}
.tsp-authors-widget-author {
  float: left;
  width: 215px;
  padding: 10px 5px 15px 0;
  margin: 0;
  overflow: hidden;
}
.tsp-authors-widget-author img {
  padding: 0 10px 5px 0;
  margin: 0;
  float: left;
  display: inline;
}
.tsp-authors-widget-text {
  display: inline;
  overflow: hidden;
}
.tsp-authors-widget-name {
  font-weight: bold;
}
.tsp-authors-widget-name a { }


/* multi-column versions */
.multi-column-authors .tsp-authors-widget-wrapper {
  /*margin-top: 10px;*/
}

.multi-column-authors .tsp-authors-widget-wrapper 
.tsp-authors-widget-author {
    width: 182px;
}

.multi-column-authors .post-content .tsp-authors-widget-name,
.multi-column-authors .post-content .tsp-authors-widget-bio { 
    font-size: 0.9em !important; 
}

/* 3 authors */
/*.multi-column-authors .tsp-authors-count-3 {*/
.multi-column-authors .tsp-authors-widget-wrapper {
    padding-left: 0;
    width: 565px;
}

/* 1 column for 1 or 2 authors */
.multi-column-authors .tsp-authors-count-1,
.multi-column-authors .tsp-authors-count-2 {
    width: 215px;
    padding-right: 0;
    padding-left: 15px;
}
.multi-column-authors .tsp-authors-count-2 {
    width: 386px;
}

/* 2 columns for 4 authors */
.multi-column-authors .tsp-authors-count-4 {
    width: 380px;   
    padding-left: 15px;
}

/* /features */
div.post.recent-feature {
    width: 265px;
    float: left;
    padding-right: 15px !important;
}
.post.latest-feature {
    padding-bottom: 25px !important;
    border-bottom: solid 1px #ccc;    
}
.post.recent-feature {
    padding-bottom: 25px !important;
}
#posts.features .post h2 {
      margin-top: 0;   
}
#posts.features .post .feature-type {
    color: #777;
    font-family: 'Crimson Text';
    font-size: 1.3em;
}
.post.paged-feature {
    border-bottom: #ccc solid 1px;
    padding-bottom: 2em !important;
}
.post.paged-feature.loop-end {
    border-bottom: none;   
}

/* Reading List */
#posts div.reading-list {
  /*padding-left: 50px;*/
  background: url(../images/curved-arrow-grey.png) no-repeat 16px 2px;
}
#posts div.reading-list:hover {
   background-image: url(../images/curved-arrow-blue.png);
}
#posts div.reading-list h2, 
#posts div.reading-list .content {
   padding-left: 50px;   
}
#posts div.reading-list h2 {
  font-size: 1.4em;
  padding-right: 150px;
  /*background: url(../images/curved-arrow-grey.png) no-repeat 16px 2px;*/
}
#posts div.reading-list div.content {
  margin-top: 10px;
  border-bottom: solid 1px #eee;
  margin-bottom: 15px;
  padding-right: 65px;
}
#posts div.reading-list h2 a:hover {
  background-color: transparent;
  color: #335e82;
  text-decoration: underline;
}
#posts div.reading-list .byline {
  font-size: 0.9em;
  color: #777;
}
#posts div.reading-list .byline,
#posts div.reading-list .byline a {
  font-size: 0.9em;
  color: #777;
  border-bottom: none;
} 
#posts div.reading-list .byline a:hover {
  color: #777;
  text-decoration: underline;
  background-color: transparent;
}
#posts div.reading-list.loop-end .content {
  border-bottom: none;   
}

/* first post */
#posts div.reading-list.loop-1 {}
#posts div.reading-list.loop-1 h2 {
  font-size: 1.9em;
  padding-right: 30px;
}
#posts div.reading-list.loop-1 .content {
  font-size: 1.3em;
  padding-right: 30px;
}
#posts div.reading-list.loop-1 {
  background: url(../images/curved-arrow-grey-bigger.png) no-repeat 10px 4px;
  margin-top: 35px;
}
#posts div.reading-list.loop-1:hover {
   background-image: url(../images/curved-arrow-blue-bigger.png);
}

/* Reading List and Citings on home page */
#home-wrap #reading-list, #citings-latest { min-height: 56px; }
#home-wrap #reading-list .logo { float: left; width: 260px; margin-top: 11px; }
#home-wrap #reading-list .link {
  display: table;
  position: relative;
  padding-left: 25px;
  padding-top: 0;
  height: 48px;
  background: url(../images/curved-arrow-grey.png) no-repeat 0px 12px;
}
#home-wrap #reading-list .link p,
#home-wrap #citings-latest .link p { 
  overflow: hidden;
  height: 2em;
  line-height: 2em;
  margin-bottom: 0; 
  display: table-cell;
  vertical-align: middle;
}
#home-wrap #reading-list .link a,
#home-wrap #citings-latest .link a {
  font-family: "Crimson Text", "Georgia", serif; font-weight: normal;
  font-size: 1.4em;
  padding-top: 4px;
  border-bottom: none;
}
#home-wrap #reading-list .link a b,
#home-wrap #citings-latest .link a b,
#home-wrap #reading-list .link a strong,
#home-wrap #citings-latest .link a strong,
#home-wrap #reading-list .link a i,
#home-wrap #citings-latest .link a i,
#home-wrap #reading-list .link a em,
#home-wrap #citings-latest .link a em {
     font-family: "Crimson Text";
}
#home-wrap #reading-list .link:hover {
  background-image: url(../images/curved-arrow-blue.png);
}
#citings-latest .logo {
    float: left;
    margin-top: 0;
}
#home-wrap #citings-latest .link {
    display: table;
    position: relative;  padding-left: 25px;
    padding-top: 0;
    height: 48px;
}



/* TSP Stream blocks */
#home-wrap .tsp-stream-block {
  padding-left: 25px;  
  width: 273px; /* span-10's 290 - 10 */
}
#home-wrap .tsp-stream-block p {
  padding-right: 30px;
}
#home-wrap .tsp-stream-block.first { padding-left: 0; }
#home-wrap .tsp-stream-block.last { }
#home-wrap .tsp-stream-block .attachment-author-mugshot {
  float: left;
  padding: 0 8px 4px 0;
}
#home-wrap .tsp-stream-block h2 {
  font-size: 1.7em;
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1.1em;
}
#home-wrap .tsp-stream-block .byline {
  padding-bottom: 6px;
}
#home-wrap .tsp-stream p.has-image {
    font-family: 'Crimson Text';
    font-size: 1.3em;
    border-bottom: none;
    line-height: 1.3em;
    margin-top: 5px;
}
#home-wrap .tsp-stream p.has-image a {
    border-bottom: none;
}


/* TSP Nav widget */
ul.tsp-nav {
  list-style-type: none;
  margin-left: 0;
  font-family: "Crimson Text", "Georgia", serif; 
  font-weight: normal;
  font-size: 1.3em;
}
ul.tsp-nav li {
    line-height: 1em;
    border-bottom: 1px solid #eee;
    padding-top: 4px;
    padding-bottom: 5px;
}
#container ul.tsp-nav li a {
    display: block;
    color: #555;
}
#container ul.tsp-nav li a:hover {
  background-color: transparent;
  color: #335e82;
}
/* css3 gradients: http://css-tricks.com/css3-gradients/ */
ul.tsp-nav li:hover,
#sidebar ul li ul.tsp-nav li:hover {
    background-color: #fff;
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFF), to(#EEE));
    background-image: -webkit-linear-gradient(top, #FFF, #EEE); 
    background-image: -moz-linear-gradient(top, #FFF, #EEE);
    background-image: -ms-linear-gradient(top, #FFF, #EEE);
    background-image: -o-linear-gradient(top, #FFF, #EEE);
}
/* tweaks for version in sidebar */
#sidebar ul li ul.tsp-nav {
    margin-bottom: 20px;
}
#sidebar ul li ul.tsp-nav li {
    padding-left: 0;
    background-image: none;
    padding-top: 5px;
    padding-bottom: 5px;
}
#sidebar ul li ul.tsp-nav li a {
    border-bottom: none;
}
#sidebar ul li ul.tsp-nav li a:hover {
    color: #555;
}


/* TSP Social */
.tsp-social {
    height: 200px; /* height of carousel */
}
.tsp-social h3 {
    padding: 0 0 0 15px;
    font-size: 1.4em;
}
.tsp-social ul {
    list-style-type: none;
    margin-left: 0;
    padding: 0 0 0 0;
}
.tsp-social li {
    font-family: "Crimson Text", "Georgia", serif;
    font-size: 1.3em;
    line-height: 1.2em;
}

.tsp-social .tsp_follow_widget h3 { display: none; }

.tsp_follow_widget {
    padding-left: 20px;
}
.tsp_follow_widget li {
    height: 24px;
    padding-top: 1px;
    font-size: 1.3em;
}
#container .tsp_follow_widget li a {
    color: #555;
    padding-left: 32px;
}
#container .tsp_follow_widget li a:hover {
    background-color: transparent;
    color: #335E82;
}
.tsp_follow_widget li.twitter a { background: url(../images/social-icons/twitter.png) no-repeat 0 0; }
.tsp_follow_widget li.twitter a:hover { background-image: url(../images/social-icons/twitter-blue.png); }
.tsp_follow_widget li.facebook a { background: url(../images/social-icons/facebook.png) no-repeat 0 0; }
.tsp_follow_widget li.facebook a:hover { background-image: url(../images/social-icons/facebook-blue.png); }
.tsp_follow_widget li.rss a { background: url(../images/social-icons/rss.png) no-repeat 0 -2px; }
.tsp_follow_widget li.rss a:hover { background-image: url(../images/social-icons/rss-blue.png); }
.tsp_follow_widget li.google a { background: url(../images/social-icons/google.png) no-repeat 0 0; }
.tsp_follow_widget li.google a:hover { background-image: url(../images/social-icons/google-blue.png); }
.tsp_follow_widget li.itunes a { background: url(../images/social-icons/itunes.png) no-repeat 0 0; }
.tsp_follow_widget li.itunes a:hover { background-image: url(../images/social-icons/itunes-blue.png); }
.tsp_follow_widget li.norton a { background: url(../images/social-icons/norton.png) no-repeat 0 0; }
.tsp_follow_widget li.norton a:hover { background-image: url(../images/social-icons/norton-blue.png); }
#sidebar ul li.tsp_follow_widget ul li {
    background-image: none;
    padding-left: 0;
    font-family: "Crimson Text", "Georgia", serif;
}
#sidebar ul li.tsp_follow_widget ul li a {
    border-bottom: none;
}

/* Horizontal version for 2014 home, no text */
.tsp-social-horizontal ul li { 
    width: 0; 
    display: inline;
}
.tsp-social-horizontal ul a {
  color: transparent !important;
  display: inline-block;
  width: 0px !important;  /* hides text, all width comes from padding */
}
.tsp-social-horizontal li.google { display:none; }
.tsp-social-horizontal li.itunes { display:none; }
.tsp-social-horizontal li.norton a { background: url(../images/social-icons/norton.png) no-repeat 0 16px; }


/* TSP Staff pages */
.tsp_staff { margin-top: 45px; }
.tsp_staff .post-meta { margin-bottom: 35px; }
.tsp_staff h2 { display: none; }
.tsp_staff h3 { font-size: 2.0em !important; margin-bottom: 13px;}
.tsp_staff .title {  }
.tsp_staff .institution { font-style: italic; margin-bottom: 9px;}
.tsp_staff .post-byline { display: none; }
.tsp_staff .left { float: left; width: 170px; min-height: 1px; }
.tsp_staff .left img { margin-bottom: 20px; }
.tsp_staff .right { float: left; width: 400px;}
.tsp_staff ul { margin: 0; }
.tsp_staff ul li {
    list-style-type: none;
    background: url(../images/arrow.png) 0 0 no-repeat;
    padding-left: 24px;
    padding-top: 2px;
    padding-bottom: 10px;
}


/* TROT */
body.trot .post h5 { color: #666; font-size: 1.2em; font-weight: normal; margin-bottom: 15px;}
body.trot .post ul { margin-left: 5px; padding-left: 1em;}
body.trot .post ul li { list-style-type: none; margin-bottom: 5px; text-indent: -1em; }
body.trot .post ul li:before { content: '\2713\ '; }
body.trot #header-tools { margin-top: 6px; }


/* Topics pages */
ul.topic-list {
    list-style: none;
    margin-left: 0;
}
ul.topic-list li {
  margin-top: 15px;
  padding: 0 15px 15px 0 ;
  border-bottom: solid 1px #ccc;
}
.topic-body {
  margin: 10px 0 0 0;
}
.topic-post h3 {
  line-height: 1.3em;
  margin: 0 0 0 0 !important;
  padding: 0 0 0 0 !important;
}
.topic-post h3 a {
  text-decoration: none !important;
  border-bottom: none !important;
}
.topic-feature img {
  max-width: 200px;
  max-height: 100px;
  float: left;
  margin: 0 10px 0 0;
}

.topic-post .author {
  display: block;
  color: #777;
  margin: 5px 0;
}
.topic-post .source { 
  display: block;
  font-family: "Crimson Text", "Georgia", serif;
  color: #777;
  font-size: 1.3em;
}

.topic-title-label {
  color: #777;
  font-family: "Crimson Text";
  font-size: 1.5em;
  display: block;
  margin: 15px 0 0 0 !important;
}

h2.topic-title {
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
  font-size: 2.3em !important;
}


/* pill nav at top of topic pages */
.topic-title-list {
  list-style-type: none;
  margin-left: 0;
  margin-top: 10px;
}
.topic-title-list li {
  display: inline;
  margin-right: 0.5em;
  padding: 0.3em;
  font-family: "Crimson Text", "Georgia", serif;
  font-size: 1.3em;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.topic-title-list li.active, .topic-title-list li:hover {
  background-color: #335e82;
}
.topic-title-list li a {
  border-bottom: none !important;
  color: #335e82 !important;
}
.topic-title-list li.active a, .topic-title-list li:hover a {
  color: white !important;
}

/* vertical version on home */
.tsp-social h3 { margin-bottom: 0.3em; }
.tsp-social .topic-title-list { margin-left: 8px; margin-top: 0; }
.tsp-social .topic-title-list li {
  display: block;
  width: auto !important; 
}


.topic-sidebar-editors ul { list-style-type: none; margin-left: 0; margin-top: 1em; }
.topic-sidebar-editors ul li { overflow: hidden; min-height: 75px; }
.topic-sidebar-editors li img { float: left; margin: 0 10px 10px 0; height: 98px; width: auto; }
.topic-sidebar-editors h3 { margin: 0 0 5px 0 !important; }
.topic-sidebar-editors h3 a { border-bottom: none !important; }
.topic-sidebar-editors .editor-institution, .topic-sidebar-editors .editor-title { color: #777; }
