/*
 Theme Name:   Tribune Child
 Theme URI:    http://www.wpzoom.com/themes/tribune/     
 Description:  Tribune Child Theme
 Author:       WPZOOM
 Author URI:   http://www.wpzoom.com
 Template:     tribune
 Version:      3.0.1
 License:      GNU General Public License v2.0
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html 
 The PHP code portions of this WPZOOM theme are subject to the GNU General Public
 License, version 2. All images, cascading style sheets, and JavaScript elements are
 released under the WPZOOM Proprietary Use License below.
*/
@import url("../tribune/style.css");

@media screen and (max-width: 768px) {
  
  #main {
    float: none;
  }
  
  #sidebar {
    padding: 1px;
    float: none;
  }
}

/* Overall type size */
body.page #main,
body.single #main {
  margin-top: 40px;
  max-width: 700px;
}

@media screen and (min-width: 768px) {

  body.page:not(.page-template-template-craft-of-science-writing) #main,
  body.single #main {
    width: 100%;
    max-width: 828px;
    margin-left: auto;
    margin-right: auto;
  }
}

#main .entry {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 1.2em;
  margin-top: 1.2em;
}

img {
  max-width: 100%;
  height: auto;
}

.wpz-sc-button {
  font-size: 14px;
}

.dropdown>li:hover>a.sf-with-ul {
  margin-bottom: 0;
}

/* Homepage sliders */
#main .homepage-widgets .item {
  min-height: 270px;
}

#main .homepage-widgets .item h4 {
  border-top: none;
  background: transparent;
  margin-bottom: 0;
  padding: 0;
  text-transform: inherit;
  font-weight: 400;
  font-size: 14px;
  overflow: hidden;
  letter-spacing: 0;
  line-height: 18px;
}

#main .homepage-widgets .item h4 a {
  background: inherit;
  color: #737373;
  padding: 0;
}

/* Thinner logo in footer */
#footer .footer-logo a {
  padding: 0;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

#footer .footer-info {
  border-top-width: 0;
  margin-top: 0;
  padding-top: 0;
  padding-left: 10px;
}

#footer .footer-logo,
#footer .footer-info {
  display: inline-block;
  vertical-align: top;
}

.footer-wrapper .clear {
  display: none;
}

body.page-template-template-pitch-database #main {
  margin-bottom: 50px;
}

/**********************************/
/* added custom on 08 Jan 2015 */
#mainmenu>li:nth-of-type(1) {
  background: #2A842A !important; /* green */
}

#mainmenu>li:nth-of-type(2) {
  background: rgb(255, 96, 4) !important; /* orange */
}

#mainmenu>li:nth-of-type(3) {
  background: rgb(85, 66, 119) !important; /* purple */
}

#mainmenu>li:nth-of-type(4) {
  background: rgb(207, 50, 14) !important; /* red */
}

#mainmenu>li:nth-of-type(5) {
  background: rgb(23, 124, 212) !important; /* blue */
}

/* Establish brown color for Science Blogging nav button */
/* #menu #mainmenu>#menu-item-9617, 
#menu-item-9617 > a {
	background-color: rgb(150,78,16);
	color: white;
} */
/**********************************/
#menu #mainmenu>li {
  background: #000;
}

.widget.widget_archive .screen-reader-text {
  display: none;
}

/* Add space above related posts */
.wp_rp_wrap {
  margin-top: 80px;
  margin-bottom: 80px;
}

/* Caption for images */
.entry .wp-caption {
  text-align: left;
}

/* Sidebar modifications */
#sidebar {
  padding: 1px 1px 0;
}

.widget {
  margin-bottom: 1px;
}

#sidebar .widget {
  border-width: 0px;
  padding: 15px 20px 15px 15px;
}

#sidebar .widget h3.title,
#sidebar .widget h3 {
  font-size: 15px;
  border-bottom: none;
  box-shadow: none;
  margin: 0 0 15px 1px;
  padding: 0;
}

body.single #sidebar,
body.page:not(.page-template-template-craft-of-science-writing) #sidebar {
  display: none;
}

body #sidebar {
  display: block;
}

#sidebar .textwidget a:hover {
    color: #D31515;
}

body.single #main,
body.page:not(.page-template-template-craft-of-science-writing) #main {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

body.parent-pageid-8622 #main,
body.page-id-8622 #main {
  max-width: 1200px;
}

.footer-widgets div.column {
  margin-top: 40px;
}

.widget li {
  margin-bottom: 20px;
}

.widget_dpe_fp_widget .title {
  margin-top: 4px;
}

.widget_dpe_fp_widget li {
  margin-bottom: 30px;
}

.widget_dpe_fp_widget li:last-of-type {
  margin-bottom: 20px;
}

#sidebar .wpp-thumbnail {
  margin: 6px 12px 0 0
}

/**********************************/
/** pitch database page layout **/
/*.page-id-1683 #main .entry{ border: 10px solid #b9b9b9;  padding: 15px 10px; }*/
.entry .pitch_content {
  /*font-size: 20px;*/
  margin-bottom: 0px;
  padding-bottom: 13px;
}

/*.pitch_bb{ border-bottom: 07px solid #b9b9b9; }*/
.pitch_search_wrap {
  border-top: 1px solid #ddd;
  margin-top: 30px;
  padding-top: 30px;
  padding-bottom: 50px;
  overflow: hidden;
}

.pitch_search_wrap h2 {
  text-align: center;
  margin-bottom: 0.2em;
}

.pitch_search_wrap select {
  max-width: 100%;
}

.pitch_search_wrap div.column {
  display: inline;
  float: left;
  padding: 0 30px 0 30px;
  width: 33%;
  box-sizing: border-box;
}

.pitch_search_wrap div.column:first-of-type {
  padding-left: 0;
}

.pitch_search_wrap div.column:last-of-type {
  padding-right: 0;
}

.pitch_search_wrap .button {
  background-color: rgb(255, 96, 4);
  text-transform: uppercase;
}

.pitch_search_wrap .button:hover {
  color: white;
}

#main .entry .pitch_search_wrap p,
#main .entry .pitch_search_wrap li,
#main .entry .pitch_search_wrap blockquote {
  line-height: 1.5;
}

body.single-pitch .entry p,
body.single-pitch .entry ul,
body.single-pitch .entry ol,
body.single-pitch .entry div {
  padding-left: 30px;
}

body.single-pitch .entry .header p,
body.single-pitch .entry .header ul,
body.single-pitch .entry .header ol,
body.single-pitch .entry .header div {
  padding-left: 0;
}

body.single-pitch .entry h2,
body.single-pitch .entry h3 {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  margin-top: 20px;
}

body.single-pitch .entry h2:first-of-type,
body.single-pitch .entry h3:first-of-type,
body.single-pitch .entry .header h2,
body.single-pitch .entry .header h3 {
  border-top-width: 0;
  padding-top: 0;
  margin-top: 0;
}

@media screen and (max-width: 640px) {
  .pitch_search_wrap div.column {
    width: 100%;
    padding: 0;
    float: none;
    display: block;
  }
}

.pitch .entry .header {
  border: 1px solid #ddd;
  padding: 20px;
  margin-left: 50px;
  margin-right: 50px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.pitch .entry .header img.size-full {
  display: block;
  margin: 0 auto 40px;
  width: 70%;
  max-width: 450px;
  height: auto;
}

#sidebar .facetwp-facet {
  margin-bottom: 0;
  background-color: white;
}

ul.related_post.pitch_featured_articles li {
  margin-right: 62px !important;
}

ul.related_post.pitch_featured_articles li a {
  font-size: 14px !important;
}

body.post-type-archive-pitch #main {
  float: right;
}

body.post-type-archive-pitch #sidebar {
  float: left;
}

.pitch_bb {
  border-bottom: .5px solid #b9b9b9;
}

.pitch_colored_boxes {
  padding: 30px 0px;
  text-align: center;
  overflow: hidden;
}

.pitch_colored_boxes>div {
  float: left;
  font-size: 26px;
  color: #fff;
  line-height: 30px;
  min-height: 120px;
  padding-top: 25px;
}

.pitch_see_all {
  /*    background-color: #6e390c;
*/
  width: 36.10%;
}

.pitch_see_all a {
  color: #fff;
}

.wrap_bypublication,
.wrap_bywriter {
  float: left;
}

.wrap_bypublication {
  width: 61.0%;
}

.wrap_bywriter {
  width: 36.0%;
  border-left: 0.5px solid #b9b9b9;
}

.wrap_bywriter,
.wrap_bypublication {
  text-align: center;
}

.wrap_bypublication a,
.wrap_bywriter a {
  clear: both;
  display: block;
}

.pitch_browse_db {
  font-size: 26px;
  text-align: center;
  color: #000;
  margin-bottom: 6px;
}

.brows_td_wrapper>p {
  margin: 0px;
}

.page-id-1683 .entry tr,
.page-id-1683 .entry td,
.page-id-1683 .entry th,
.page-id-1683 .entry tbody {
  border: 0px;
}

.pitch_list_heading span {
  padding: 3px 22px;
  color: #fff;
  background-color: #49b749;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 13px;
  display: inline-block;
}

.wrap_bypublication a,
.wrap_bywriter a {
  color: #000;
  font-size: 14px;
}

.footer_colone_menu a {
  float: left;
  clear: both;
}

#topmenu {
  /*overflow: hidden; */
  float: left;
  width: 50px;
}

#topmenu li {
  clear: both !important;
  float: left !important;
  padding-top: 6px;
  border: 0px !important;
}

#topmenu li:hover {
  border: 0px !important;
}

#topmenu li:hover>a {
  background: none !important;
  border: 0px !important;
  box-shadow: none !important;
}

/**********************************/
/****  temporary change for carousel thumbnail ***/
.thumb a {
  height: 155px;
  overflow: hidden;
  width: 100% !important;
}

.carousel-slider .thumb img {
  /*height: 150px;*/
  width: 100%;
  max-width: 150px;
}

/**********************************/
#topmenu .sub-menu li a:hover {
  box-shadow: none;
}

#topmenu .sub-menu {
  padding-bottom: 6px;
}

#topmenu .sub-menu li a {
  line-height: 1.4;
  padding: 0 10px;
}

#wpstats {
  display: none;
}

/*#topmenu li a, #topmenu li{ color: #3c3c3c; }*/
#sidebar {
  margin-top: 18px;
  margin-bottom: 18px;
}

.home #sidebar {
  margin-top: 30px;
  margin-bottom: 30px;
}

.archive .post-thumb .thumbnail,
.search .post-thumb .thumbnail {
  width: 200px;
  height: auto;
}

.carousel-slider a.prev,
.carousel-slider a.next {
  width: 37px;
  height: 20px;
  background-size: 48px;
  top: 14px;
}

#dpe_fp_widget-2 h4 {
  font-size: 14px;
  font-weight: normal;
}

/**********************************/
#text-8 h3,
#text-15 h3,
#text-9 h3,
#text-10 h3,
#text-11 h3,
#text-12 h3,
#text-13 h3,
#text-14 h3 {
  /*border-top: 0 !important; border-bottom: 0 !important; box-shadow: none !important; */
}

.homepage-widgets .widget_text h3.title {
  display: none;
}

/* added on 06 Jan 2015*/
/* .text { float: left; width: 344px; }
dt.spine_1{background: rgb(150, 78, 16) !important; font-size: 0px !important;}
dt.spine_2{background: rgb(143, 111, 199) !important; font-size: 0px !important;}
dt.spine_3{background: rgb(23, 124, 212) !important; font-size: 0px !important;}
.skin-slidedeck-classic dl.slidedeck .activeCorner {background-image: none !important;}
.skin-slidedeck-classic dl.slidedeck dt.spine .index{font-size: 0px !important;}*/
/*************************/
/* added custom on 07 Jan 2015 */

.carousel-slider h3.title {
  background-color: transparent;
  font-size: 26px;
  text-transform: none;
  border-top-width: 0;
  padding-bottom: 3px;
  font-weight: normal;
}

.carousel-slider .title a {
  color: rgb(60, 60, 60);
}

.carousel-slider h3 a.button {
  color: white;
  margin-left: 2em;
  font-size: 12px;
  padding: 5px 10px 4px;
  text-transform: uppercase;
  position: relative;
  top: -3px;
  background-color: #737373;
}

/*
.carousel-slider a.interviews {
  color: #2A842A;
}

.carousel-slider a.button.interviews {
  background: #2A842A;
} 

.carousel-slider a.elements-of-craft {
  color: #177CD4;
}

.carousel-slider a.button.elements-of-craft {
  background: #177CD4;
}

.carousel-slider a.profiles {
  color: #cf320e;
}

.carousel-slider a.button.profiles {
  background: #cf320e;
}
*/


/* 
#wpzoom-carousel-slider-4 h3 span {
  background: #8F6FC7;
}

#wpzoom-carousel-slider-5 h3 span {
  background: #CF320E;
}


#wpzoom-carousel-slider-7 h3 span {
  background: #777;
}

#wpzoom-carousel-slider-8 h3 span {
  background: #ff6004;
}

#wpzoom-carousel-slider-9 h3 span {
  background: #CF320E;
}

#wpzoom-carousel-slider-10 h3 span {
  background: #ff6004;
} */

/* Science Blogging */
input.newsletter-submit {
  background-color: #3C3C3C;
  color: #2A842A;
  font-family: roboto;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 13px;
}

#text-12 .textwidget a {
  color: #2A842A;
}

#text-10 .textwidget a {
  color: #177CD4;
}

#text-9 .textwidget a {
  /*color: #8F6FC7;*/
}

#text-13 .textwidget a {
  color: #CF320E;
}

#text-17 .textwidget a {
  color: #ff6004;
}

#text-11 .textwidget a {
  color: #177cd4;
}

#text-12 .textwidget a {
  color: #8f6fc7;
}

#text-14 .textwidget a {
  color: #cf320e;
}

/* Sidebar links should be black, red on hover */

div#sidebar ul li a,
div#sidebar .textwidget a {
  color: #3C3C3C;
}

div#sidebar ul li a:hover,
div#sidebar .textwidget a:hover {
  color: rgb(207, 50, 14);
}

/* #menu-wrap ul.dropdown li:last-child a {
  margin: 1px 0px 1.5px 0 !important;
  padding: 10px 23px 10px !important
} */

/**********************************/
/* added on 09 Jan 2015 */
.archiveposts h2 a {
  color: rgb(207, 50, 14);
}

.archiveposts h2 a:hover {
  color: rgb(60, 60, 60);
}

a.single_inner {
  color: #CF320E;
}

a.single_inner:hover {
  color: rgb(60, 60, 60);
}

.archiveposts a.read_more {
  text-transform: uppercase;
  color: rgb(185, 185, 185);
  font-size: 12px;
}

.archiveposts .hentry {
  padding: 0 0 25px;
  border-bottom: 1px solid #ddd;
  margin: 0 0 25px;
}

/**********************************/
/* added on 10Jan2015*/
.item>p {
  line-height: 20px;
}

/**********************************/
/* added on 12 Jan 2015*/
/* #menu-wrap .dropdown .sub-menu li:last-child a {
  padding: 12px 15px !important;
} */

.breadcrumbs a {
  color: #B9B9B9;
}

/**********************************/
/*added on 13 Jan*/
h1.entry-title {
  line-height: 1.1;
  margin-top: 10px;
}

h1.entry-title a {
  color: #D31515;
}

.excerpt_more {
  color: #999;
}

.excerpt_more:hover {}

#footer .footer-logo a {
  font-size: 0px;
}

#logo img {
  max-width: 100%;
}

.carousel-slider .cat-meta {
  display: none;
}

.carousel-slider .date,
.carousel-slider .author {
  font-size: 12px;
  color: #737373;
}

.carousel-slider .date {
  margin-top: 0px;
}

.carousel_excerpt_content p {
  margin-bottom: 0px;
}

.homepage-widgets .widget_text {
  margin-bottom: 20px;
}

/*.caroufredsel_wrapper > div {
    position: static !important;height:auto !important; 
}
.caroufredsel_wrapper {
    height: auto !important;
}*/
.caroufredsel_wrapper .read_more {
  display: block;
  text-transform: uppercase;
  color: rgb(185, 185, 185);
  font-size: 12px;
}

.easy-accordion .post_meta {
  position: absolute;
  bottom: 0px;
  color: #999;
}

.easy-accordion .post_meta .date {
  margin-left: 3px;
}

#menu #mainmenu>li {
  /*float: left; */
  /*margin-right: 3px;*/
}

#menu #mainmenu>li:last-child {
  /*margin-right: 0px;*/
}

.easy-accordion .text h2:hover {
  color: #CF320E !important;
}

/**********************************/
*::-moz-selection {
  color: #2A842A;
  background-color: #3c3c3c;
}

*::-webkit-selection {
  color: #2A842A;
  background-color: #3c3c3c;
}

*::selection {
  color: #2A842A;
  background-color: #3c3c3c;
}

/**********************************/
@media screen and (max-width: 767px) {
  .pitch_colored_boxes>div {
    width: 100%;
  }

  .pitch_search_wrap {
    margin-bottom: 30px;
  }

  .wrap_bypublication,
  .wrap_bywriter {
    width: 100%;
    clear: both;
  }

  .wrap_bywriter {
    border-left: 0px;
    border-top: 17px solid #b9b9b9;
    padding-top: 20px;
  }
}

@media screen and (max-width: 500px) {
  .page-id-1683 #main .entry-title a {
    font-size: 52px;
  }

  tr,
  th,
  td {
    padding-right: 1px;
  }

  .brows_td_wrapper {
    padding-left: 0px;
  }

  .pitch_browse_db {
    line-height: 1.3;
    font-size: 53px;
  }
}

/**********************************/
@-moz-document url-prefix() {
  ul.dropdown a, ul.dropdown a:link, ul.dropdown a:visited {
    margin: 1.5px !important;
  }

  /* #menu-wrap ul.dropdown li:last-child a {
    margin: 1px 2px 1.5px 0 !important;
    padding: 10px 24px !important;
  } */
}

/**********************************/
/* Only Chrome  */
@supports (-webkit-appearance: none) {
  /* #menu-wrap ul.dropdown li:last-child a {
    margin: 0px 2.5px 0px 2.5px !important;
    padding: 10px 25px 10px !important;
  } */

  #menu #mainmenu>li>a {
    padding: 10px 20px 10px 19px !important
  }

  /*#menu #mainmenu li:last-child a {padding: 10px 25px 10px !important;}*/
  #menu #mainmenu li#menu-item-7966 a {
    padding: 10px 25px 10px !important;
  }

  /* #menu-wrap .dropdown .sub-menu li:last-child a {
    margin: 0px !important;
  } */
}

/**********************************/
@media screen and (max-width: 769px) {
  #header #header-inner #header-right {
    display: block !important;
    width: 100% !important;
  }

  #header-right fieldset {
    margin: 0px auto;
    float: none;
    text-align: center;
  }

  #header #searchform {
    float: none;
    margin: 0 auto !important;
    width: 237px;
  }
}

/**********************************/
/* Special headline colors for "Science Blogging: The Essential Guide" */
body.page-id-8622 h1.entry-title a,
body.page-id-9478 h1.entry-title a,
body.page-id-9451 h1.entry-title a,
body.page-id-9137 h1.entry-title a,
body.page-id-9227 h1.entry-title a,
body.page-id-9236 h1.entry-title a {
  color: #435E71;
}

body.page-id-8622 h1.entry-title a:hover,
body.page-id-9478 h1.entry-title a:hover,
body.page-id-9451 h1.entry-title a:hover,
body.page-id-9137 h1.entry-title a:hover,
body.page-id-9227 h1.entry-title a:hover,
body.page-id-9236 h1.entry-title a:hover {
  color: #d31515;
}

/* Hide social media icons */
body.page-id-8622 #social,
body.page-id-9478 #social,
body.page-id-9451 #social,
body.page-id-9137 #social,
body.page-id-9227 #social,
body.page-id-9236 #social {
  display: none;
}

/**********************************/
.button {
  background: #33536A;
  font-weight: normal;
  color: #fff;
  font-size: 14px;
  border: 0;
  padding: 8px 15px;
  margin: 0;
  text-align: center;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  display: inline-block;
  width: auto;
}

@media screen and (max-width: 768px) {
  #menu-wrap .dropdown .sub-menu {
    margin-top: -5px;
    padding-bottom: 5px;
  }
}


@media screen and (min-width: 768px) {
  /* Fix position of third-level dropdown menu */
  #mainmenu.dropdown li:hover .sub-menu .sub-menu {
    left: 193px;
  }
  
  #menu-wrap .dropdown .sub-menu {
    width: 200px;
  }
}

.footer-info {
  font-size: 12px;
  line-height: 1.6;
}

/* Fix position of third-level dropdown menu */
/**********************************/
/************* Sidebar within body copy **************/
#main .entry .sidebar {
  padding: 25px 30px 30px 25px;
  text-align: left;
  border: 1px solid grey;
}

#main .entry .sidebar p:last-of-type {
  margin-bottom: 0;
}

@media screen and (min-width: 769px) {
  #main .entry .sidebar {
    width: 400px;
    float: right;
    margin: 0 0 20px 20px;
    text-align: left;
  }

  #main .entry .sidebar.left {
    float: left;
    margin: 0 20px 20px 0;
  }

  #main .entry .sidebar.skinny {
    width: 250px;
  }

  #main .entry .sidebar.full {
    width: 100%;
    float: none;
    margin-left: 0;
    box-sizing: border-box;
  }
}

#main .entry .bio {
  padding: 22px 25px 20px 25px;
  text-align: left;
  border: 2px dotted grey;
  margin-bottom: 1.7em;
}

/* Fix for slight misalignment of left-aligned images */
.media-credit-container.alignleft {
  text-align: left;
}

/**********************************/
/* MailChimp Signup Form */
#mailchimp-signup {
  padding: 20px 15px;
  text-align: center;
  border: 1px solid grey;
}

#mailchimp-signup .button {
  margin-bottom: 0;
}

@media screen and (min-width: 1000px) {
  #mailchimp-signup {
    float: right;
    margin: 6px 0px 12px 20px;
    width: 180px;
  }
}

/* MailChimp Form Embed Code - Classic - 12/17/2015 v10.7 */
#mc_embed_signup form {
  display: block;
  position: relative;
  text-align: left;
}

#mc_embed_signup h2 {
  font-weight: bold;
  padding: 0;
  margin: 15px 0;
  font-size: 1.4em;
}

#mc_embed_signup input {
  border: 1px solid #ABB0B2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  padding: 7px 8px 6px;
}

#mc_embed_signup input[type=checkbox] {
  -webkit-appearance: checkbox;
}

#mc_embed_signup input[type=radio] {
  -webkit-appearance: radio;
}

#mc_embed_signup input:focus {
  border-color: #333;
}

#mc_embed_signup .button {
  clear: both;
  background-color: #aaa;
  border: 0 none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  transition: all 0.23s ease-in-out 0s;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: normal;
  margin: 0 5px 10px 0;
  padding: 8px 15px 9px;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
  white-space: nowrap;
  width: auto;
}

#mc_embed_signup .button:hover {
  background-color: #777;
}

#mc_embed_signup .small-meta {
  font-size: 11px;
}

#mc_embed_signup .nowrap {
  white-space: nowrap;
}

#mc_embed_signup .mc-field-group {
  clear: left;
  position: relative;
  width: 96%;
  padding-bottom: 3%;
  min-height: 50px;
}

#mc_embed_signup .size1of2 {
  clear: none;
  float: left;
  display: inline-block;
  width: 46%;
  margin-right: 4%;
}

* html #mc_embed_signup .size1of2 {
  margin-right: 2%;
  /* Fix for IE6 double margins. */
}

#mc_embed_signup .mc-field-group label {
  display: block;
  margin-bottom: 3px;
}

#mc_embed_signup .mc-field-group input {
  display: block;
  width: 100%;
  padding: 8px 0;
  text-indent: 2%;
}

#mc_embed_signup .mc-field-group select {
  display: inline-block;
  width: 99%;
  padding: 5px 0;
  margin-bottom: 2px;
}

#mc_embed_signup .datefield,
#mc_embed_signup .phonefield-us {
  padding: 5px 0;
}

#mc_embed_signup .datefield input,
#mc_embed_signup .phonefield-us input {
  display: inline;
  width: 60px;
  margin: 0 2px;
  letter-spacing: 1px;
  text-align: center;
  padding: 5px 0 2px;
}

#mc_embed_signup .phonefield-us .phonearea input,
#mc_embed_signup .phonefield-us .phonedetail1 input {
  width: 40px;
}

#mc_embed_signup .datefield .dayfield input,
#mc_embed_signup .datefield .monthfield input {
  width: 30px;
}

#mc_embed_signup .datefield label,
#mc_embed_signup .phonefield-us label {
  display: none;
}

#mc_embed_signup .indicates-required {
  text-align: right;
  font-size: 11px;
  margin-right: 4%;
}

#mc_embed_signup .asterisk {
  color: #e85c41;
  font-size: 150%;
  font-weight: normal;
  position: relative;
  top: 5px;
}

#mc_embed_signup .clear {
  clear: both;
}

#mc_embed_signup .mc-field-group.input-group ul {
  margin: 0;
  padding: 5px 0;
  list-style: none;
}

#mc_embed_signup .mc-field-group.input-group ul li {
  display: block;
  padding: 3px 0;
  margin: 0;
}

#mc_embed_signup .mc-field-group.input-group label {
  display: inline;
}

#mc_embed_signup .mc-field-group.input-group input {
  display: inline;
  width: auto;
  border: none;
}

#mc_embed_signup div#mce-responses {
  float: left;
  top: -1.4em;
  padding: 0 0.5em;
  overflow: hidden;
  width: 90%;
  margin: 0 5%;
  clear: both;
}

#mc_embed_signup div.response {
  margin: 1em 0;
  padding: 1em 0.5em 0.5em 0;
  font-weight: bold;
  float: left;
  top: -1.5em;
  z-index: 1;
  width: 80%;
}

#mc_embed_signup #mce-error-response {
  display: none;
}

#mc_embed_signup #mce-success-response {
  color: #529214;
  display: none;
}

#mc_embed_signup label.error {
  display: block;
  float: none;
  width: auto;
  margin-left: 1.05em;
  text-align: left;
  padding: 0.5em 0;
}

#mc-embedded-subscribe {
  clear: both;
  width: auto;
  display: block;
  margin: 1em 0 1em 5%;
}

#mc_embed_signup #num-subscribers {
  font-size: 1.1em;
}

#mc_embed_signup #num-subscribers span {
  padding: 0.5em;
  border: 1px solid #ccc;
  margin-right: 0.5em;
  font-weight: bold;
}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
  display: inline-block;
  margin: 2px 0 1em;
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: normal;
  z-index: 1;
  color: #e85c41;
}

#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
  border: 2px solid #e85c41;
}

button,
.button,
input[type=button],
input[type=reset],
input[type=submit] {
  font-family: "Open Sans", sans-serif;
}

/**********************************/
/* Related Posts */
.related-story-single {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin: 2em 0;
  padding: 30px 0 20px;
  clear: both;
}

.related-story-single h3 {}

.related-story-single h4 {}

.related-story-single .related-story-thumbnail {
  float: left;
  margin-right: 20px;
}

.related-story-single .related-story-thumbnail+h4 {
  float: left;
}

.related-story-list {
  border: 1px solid grey;
  padding: 20px 15px;
  margin-bottom: 1em;
  text-align: center;
  float: left;
  clear: both;
  width: 180px;
}

.related-story-list.alignfull {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left-width: 0;
  border-right-width: 0;
  margin: 2em 0;
  padding: 30px 0 20px;
  text-align: left;
  clear: both;
  width: 100%;
}

.related-story-list h3 {}

.related-story-list ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.related-story-list.alignfull ul {
  margin-left: -15px;
}

.related-story-list li {
  display: inline-block;
  vertical-align: top;
  width: 150px;
  margin-bottom: 2em;
}

.related-story-list li:last-of-type {
  margin-bottom: 0;
}

.related-story-list.alignfull li {
  margin-left: 15px;
  margin-bottom: 25px;
}

.related-story-list h4 {}

.related-story-list .related-story-thumbnail {
  margin-bottom: 10px;
}

.related-story-list .related-story-thumbnail+h4 {}

.pullquote-align-full {
  clear: left;
}

/* apply clearfix to images */
.alignleft:before,
.alignleft:after,
.alignright:before,
.alignright:after {
  content: "";
  display: table;
}

.alignleft:after,
.alignright:after {
  clear: both;
}

.alignleft,
.alignright {
  zoom: 1;
}

/*
Custom CSS for The Open Notebook
*/
/* Special headline colors for "Science Blogging: The Essential Guide" */
body.page-id-8622 h1.entry-title a,
body.page-id-9478 h1.entry-title a,
body.page-id-9451 h1.entry-title a,
body.page-id-9137 h1.entry-title a,
body.page-id-9227 h1.entry-title a,
body.page-id-9236 h1.entry-title a {
  color: #435E71;
}

body.page-id-8622 h1.entry-title a:hover,
body.page-id-9478 h1.entry-title a:hover,
body.page-id-9451 h1.entry-title a:hover,
body.page-id-9137 h1.entry-title a:hover,
body.page-id-9227 h1.entry-title a:hover,
body.page-id-9236 h1.entry-title a:hover {
  color: #d31515;
}

/* Hide social media icons */
body.page-id-8622 #social,
body.page-id-9478 #social,
body.page-id-9451 #social,
body.page-id-9137 #social,
body.page-id-9227 #social,
body.page-id-9236 #social {
  display: none;
}

.post-grid {
  padding: 8px 4px !important; 
}

@media screen and (min-width: 768px) {
  .post-grid {
    margin-left: -10px;
    margin-right: -10px;
  }
}

@media screen and (max-width: 767px) {
  .post-grid .item {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
}


@media screen and (max-width: 767px) {
  .entry img.alignleft, entry img.alignright {
    max-width: 40%;
    height: auto;
  }
}


.post-grid .grid-items {
  width: 100% !important;
  line-height: 1.4;
}

.post-grid .item {
  padding-bottom: 10px;
}

.post-grid a {
  color: inherit;
}

.post-grid a:hover, .post-grid .item:hover a {
  color: #2A842A;
}

.skin.flat .layer-content {
  padding-top: 10px;
}

/* hide floating social media buttons on small screens */
@media screen and (max-width: 1250px) {
  .a2a_vertical_style {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1090px) {
  .menu-getting-started-longtext {
    display: none;
  }
}

/* Craft of Science Writing Overrides, October 2019 */

body.page-template-template-craft-of-science-writing #menu,
body.page-template-template-craft-of-science-writing #header #header-inner #header-right, 
body.page-template-template-craft-of-science-writing #header-inner .menu_insertion,
body.page-template-template-craft-of-science-writing .footer-widgets {
  display: none !important;
}

body.page-template-template-craft-of-science-writing #main {
  margin-top: 0;
}

body.page-template-template-craft-of-science-writing #sidebar {
  margin-top: 15px;
}

body.page-template-template-craft-of-science-writing #logo img {
	display: none !important;
}

body.page-template-template-craft-of-science-writing #logo {
	width: 100%;
	height: 30px;
	margin: 0;
	background-repeat: no-repeat;
	background-size: cover;
}

/* body.page-template-template-craft-of-science-writing #footer {
  margin-top: 150px;
} */

body.page-template-template-craft-of-science-writing h1.entry-title a,
body.page-template-template-craft-of-science-writing a {
	color: #bd3625;
}

/*
Widget Accordion Dropdown 
*/

.widget-dropdown {
}

.widget-dropdown ul {
  list-style-type: none;
  display: none;
  margin: 0;
}

.widget-dropdown h3,
#sidebar .widget-dropdown h3 {
  padding: 12px 12px;
  margin: 0;
  text-align: center;
  color: white;
  background-color: #bd3625;
  cursor: pointer;
}

.widget-dropdown h3:after {
  content: ' ';
  display: inline-block;
  border: 4px solid transparent;
  border-left-width: 7px;
  border-left-color: white;
  border-right-width: 0;
  overflow: hidden;
  margin: 0 0 0 7px;
  position: relative;
  top: -1px;
  transition: transform 0.2s;
}

.widget-dropdown.active h3:after {
  transform: rotate(90deg);
}


.widget-dropdown li {
  list-style-type: none !important;
  margin: 0;
}

.widget-dropdown li a {
  padding: 10px 12px;
  border-left: 1px solid rgb(185, 185, 185);
  border-right: 1px solid rgb(185, 185, 185);
  border-bottom: 1px solid rgb(185,185,185);
  margin: 0;
  text-align: center;
  display: block;
  transition: color 0.5s, background-color 0.5s;
}

.widget-dropdown li a:hover {
  color: #bd3625;
}

/* modifications for use in body */

.entry .widget-dropdown {
  margin-bottom: 14px;
  font-size: 15px;
  display: inline-block;
}

.entry .widget-dropdown h3 {
  font-size: 15px;
  padding-left: 30px;
  padding-right: 30px;
}

.widget-dropdown li a {
  padding-left: 30px;
  padding-right: 30px;
}


/* ==========================================================================
   YouTube Embeds
   ========================================================================== */

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	width: 100%;
  margin-bottom: 1em;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
  width: 100% !important;
  height: 100% !important;
}

.mejs-container {
  padding-top: 56.25%;
}

.wp-video, video.wp-video-shortcode {
  max-width: 100% !important;
}

video.wp-video-shortcode {
  position: relative;
}

.mejs-mediaelement {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.mejs-controls {
  display: none;
}

.mejs-overlay-play {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto !important;
  height: auto !important;
}
 
/* ==========================================================================
   Gravity Form selects
   ========================================================================== */

.gform_wrapper.gf_browser_chrome .gform_body .ginput_complex .ginput_right select, .gform_wrapper.gf_browser_chrome .gform_body .ginput_complex select {
  box-shadow: none;
  margin-top: 0;
  border-radius: 0px;
  padding: 0 24px 0 4px;
  min-height: 29px;
  -webkit-appearance: none;
  background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: middle;
  border-color: #c6c6c6;
}

.gform_wrapper.gf_browser_chrome .gfield_checkbox li input, .gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
  margin-top: 0;
}

select {
  border-color: rgb(198,198,198);
}

/* ==========================================================================
   Gravity Form confirmation
   ========================================================================== */


.gform_confirmation_wrapper {
	border: 1px dashed #ddd;
    padding: 1em;
    font-weight: bold;
    text-align: center;
    font-size: 1.5em;
}


/* ==========================================================================
   "Simple Lightbox" Tweaks
   ========================================================================== */

   body #slb_viewer_wrap .slb_theme_slb_default .slb_data_title, 
   body #slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
     font-family: "Open Sans", sans-serif;
     font-size: 17px;
     line-height: 1.7;
     margin-top: 3px;
   }

   body #slb_viewer_wrap .slb_theme_slb_baseline {
     z-index: 99999999;
   }

   /* Darken photo credits */
  .media-credit-container .media-credit { color: #737373; } 
   

   .entry a {
     text-decoration: underline;
   }

   .entry .related-story a {
     text-decoration: none;
   }