/*
 * reskin.css
 * jt6 20170110
 */

/* ------------------------------------------------------------------------- *
 * - resets ---------------------------------------------------------------- *
 * ------------------------------------------------------------------------- */

/* font size and weight resets. Original values from the original HTML4/CSS2.1
 * spec (https://www.w3.org/TR/CSS21/sample.html) */
.rs h1                { font-size: 2em; margin: .67em 0 }
.rs h2                { font-size: 1.5em; margin: .75em 0 }
.rs h3                { font-size: 1.17em; margin: .83em 0 }
.rs h4, .rs p,
.rs blockquote,
.rs ul, .rs fieldset,
.rs form, .rs ol,
.rs dl, .rs menu      { margin: 1.12em 0; padding: 0 }
.rs h5                { font-size: .83em; margin: 1.5em 0 }
.rs h6                { font-size: .75em; margin: 1.67em 0 }
.rs h1, .rs h2,
.rs h3, .rs h4,
.rs h5, .rs h6        { font-weight: bolder }

.rs h3 {
  background: none !important;
  border: none !important;
  position: initial !important;
}

a {
  color: #28446f;
}

a:hover {
  color: #365c96;
  text-decoration: underline;
}

.clickable {
  cursor: pointer;
}

.non-clickable {
  cursor: initial;
}

/* list resets from https://www.w3.org/TR/html5/rendering.html */
.rs li:before { display: none }

.rs dd, .rs dl, .rs dt, .rs ol, .rs ul { display: block; }
.rs li { display: list-item; text-indent: initial }

.rs dl, .rs ol, .rs ul { margin-top: 1em; margin-bottom: 1em; }

.rs dl dl, .rs dl ol, .rs dl ul,
.rs ol dl, .rs ol ol, .rs ol ul,
.rs ul dl, .rs ul ol, .rs ul ul {
  margin-top: 0; margin-bottom: 0;
}

dt.l30 {
  margin-top: 0.45em;
}

.rs ul.dropdown {
  margin-top: 0;
}

.rs dd { margin-left: 1em; }
.rs ol, .rs ul { padding-left: 1em;  text-indent: 0 !important; }

body {
  font-family: 'Verdana', Arial, helvetica, sans-serif;
  font-size: 14px !important;
  min-width: 960px;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #fcfaf8;
  padding: 0;
}

#main {
  float: none;
  width: auto;
  margin: 0 auto;
  position: relative;
}

#main:after {
  content: "";
}

/* the formerly curve-cornered panel */
.panel {
  border-radius: 0;
  box-shadow: none;
  background-color: initial;
}

/* Login page */

.callout.panel {
  width: 95%;
  border-radius: 3px;
  box-shadow: none;
  background-color: #0e518d;
}

.login-button {
  background:#8E0018;
  border-radius:3px;
  color:#FFF;
  text-decoration:none;
  padding: 6px;
  font-weight: bold;
}

.login-button:hover {
  background-color: #e54040;
  color: #ffffff;
  text-decoration:none;
}
/* tabs */
ul.tabs {
  margin-bottom: 0;
  /* width: 100%; */
}

#navLeft .active, #rhs .tabs li.active, .tabs .active {
  background: #28446f;
}

#navLeft li, .tabs .active, .tabs li {
  border-radius: 3px 3px 0 0;
  margin-right: 4px;
}

#rhs ul.tabs li a, .tabs li a, #navLeft li a {
  font-weight: normal;
}

#rhs ul.tabs .disabled a, .tabs li.disabled a, .tabs li.disabled a:hover {
  color: #BBB;
}

/* tooltips */
.reftip {
  text-decoration-style: dotted;
  cursor: pointer;
}

/* a link style of sorts. Used for things like toggle switches */
.js-link {
  text-decoration: underline;
  cursor: pointer;
}

/* "fake tabs" */

/* .tabc { */
/*   border: none; */
/* } */

.extra_links {
  padding: 0;
  margin: 0;
  background: initial;
}

ul.fake-tabs {
  border-bottom: 1px solid #28446f;
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.fake-tabs li {
  list-style: none;
  margin-bottom: -1px;
  background-color: initial;
  padding: 8px 8px 0;
}

ul.fake-tabs li a { /* .nav-link */
  border: 1px solid transparent;
  border-top-right-radius: .25rem;
  border-top-left-radius: .25rem;
  display: block;
  padding: .5em 1em;
  background-color: #EEE;
  color: #28446f;
  margin-top: 15px;
  border-color: #28446f;
  border-radius: 0;
}

ul.fake-tabs li.active a {
  color: #28446f;
  background-color: #fcfaf8;
  border-color: #28446f #28446f #fcfaf8;
  padding: 10px;
  margin-top: 9px;
  cursor: initial;
  border-radius: 0;
}

ul.fake-tabs li.active a:hover {
  color: #28446f;
  text-decoration: none;
}

ul.fake-tabs li a:hover {
  color: #365c96;
  text-decoration: underline;
}

.tt {
  font-family: monospace;
}

/* error pages */

.error-page {
  padding: 20px;
  color: #28446f;
  font-size: 18px !important;
  line-height: 1.4em;
}

.error-page header {
  height: 60px;
  background-color: #fcfaf8;
}

.error-page #main {
  clear: both;
  width: 700px;
  margin: 100px auto;
  text-align: justify;
}

.error-page h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 48px;
}

/* ------------------------------------------------------------------------- *
 * - mutational signatures pages ------------------------------------------- *
 * ------------------------------------------------------------------------- */

 .clear {
  clear:both
 }

 .rounded-button-list-vignette a,
 .rounded-button-list-vignette span {
   color: #ffffff;
   text-decoration: none;
   background: #8E0018;
   border-radius: 5px;
   height: auto;
   width: auto;
   margin: 5px 5px 5px 0;
   padding: 8px;
   float: right;
   font-weight: bold;
   text-align: center;
 }

 .rounded-button-list-vignette a:hover {
   color: #ffffff !important;
   background-color: #e54040;
   height: auto;
   width: auto;
 }

 .rounded-button-list-vignette .current {

   color: #dadada !important;
   background-color: #6d6d6d;
   height: auto;
   width: auto;
 }

 .rounded-button-list-vignette .current:hover {

   color: #dadada !important;
   background-color: #999999;
   height: auto;
   width: auto;
 }

 .rounded-button-list-vignette a.v2 {
   background-color: #28446f;
 }

 .rounded-button-list-vignette a.v2:hover {
   background-color: #365c96;
 }

.rounded-button-list-general {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.rounded-button-list-general a {
  color: #ffffff;
  text-decoration: none;
  background: #8E0018;
  border-radius: 5px;
  height: auto;
  width: auto;
  margin: 5px 5px 5px 0;
  padding: 8px;
  float: left;
  font-weight: bold;
  text-align: center;
}

.rounded-button-list-general a:hover {
  color: #ffffff !important;
  background-color: #e54040;
  height: auto;
  width: auto;
}

.rounded-button-list-general a.v2 {
  background-color: #28446f;
}

.rounded-button-list-general a.v2:hover {
  background-color: #365c96;
}

.rounded-button-list a,
.rounded-button-list span {
  color: #ffffff;
  text-decoration: none;
  background: #8E0018;
  border-radius: 5px;
  height: auto;
  width: auto;
  margin: 5px 5px 5px 0;
  padding: 8px;
  float: left;
  font-weight: bold;
  text-align: center;
}

.rounded-button-list a:hover {
  color: #ffffff !important;
  background-color: #e54040;
  height: auto;
  width: auto;
}

.rounded-button-list .current {

  color: #dadada !important;
  background-color: #6d6d6d;
  height: auto;
  width: auto;
}

.rounded-button-list .current:hover {

  color: #dadada !important;
  background-color: #999999;
  height: auto;
  width: auto;
}

.rounded-button-list a.v2 {
  background-color: #28446f;
}

.rounded-button-list a.v2:hover {
  background-color: #365c96;
}

.link-list a {
  padding: 0.6em;
  width: 7em;
  float: left;
  text-decoration:none;
}

.sig-page h2 {
  margin: 1.4em 0 0.8em !important;
}

.sig-page h2::after {
  border: none !important;
}

.sig-page h3 {
  margin: 1.4em 0 0.8em !important;
}

/* old signatures page */

div.signature h4 {
  padding: 0;
}

/* New signatures page v3.1 */

.download-btn-MS {
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 1px 1px 1px;
  border: none;
  width: 300px;
  height: 30px;
	background-color: #28446f;
	color: white;
	position: absolute;
	left: 1047px;
}

.download-btn-MS:hover {
  background-color: #365c96;
}

.download-btn-plot-MS {
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 1px 1px 1px;
  border: none;
  width: 220px;
  height: 30px;
	background-color: #28446f;
	color: white;
	position: absolute;
	left: 810px;
}

.download-btn-plot-MS:hover {
  background-color: #365c96;
}

.download-btn-TD {
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 1px 1px 1px;
  border: none;
  width: 270px;
  height: 30px;
	background-color: #28446f;
	color: white;
	position: absolute;
	left: 1077px;
}

.download-btn-TD:hover {
  background-color: #365c96;
}

.download-btn-plot-TD {
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 1px 1px 1px;
  border: none;
  width: 270px;
  height: 30px;
	background-color: #28446f;
	color: white;
	position: absolute;
	left: 790px;
}

.download-btn-plot-TD:hover {
  background-color: #365c96;
}

.smallerMS {
  font-size: smaller;
	float: right;
}

/* New landing pages in signatures page v3.1 */
/* vignettes*/
.vignettes_table_plot {
  padding: 10px;
  float: left;
  height: 80px;
}
.vignettes_table_plot:last-child {
  margin-bottom:40px;
}
.vignettes_table_plot a{
  text-decoration:none;
}

.vignettes_table_plot p{
  position: relative;
  left: 110px;
  margin-bottom: 5px;
}

.vignettes_table_plot img {
  width: 260px;
}

.vignettes_table_text {
  opacity: 0;
  width:260px;
  height: 63px;
  background:#28446f;
  position: relative;
  left: 0;
  top: -63px;
  text-decoration:none;
  text-align: center;
  font-size:12px;
  color:#fcfaf8;
  border-radius: 8px;


  display: -webkit-flex;
  display: flex;
  align-items: center; /* align vertically */
  justify-content: center; /* align horizontally */

  transition: opacity 0.3s;
}

.vignettes_table_plot:hover .vignettes_table_text {
  opacity: 0.8;
}

/*texts*/
.legend_landing_page{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.legend_landing_page_text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex:1;
}

#link-panel-MS {
  border: 1px solid #CCC;
  border-radius: 5px;
  background-color: #EEE;
  float: right;
  padding: 10px;
  margin: 10px;
  width: 45%

}

#link-panel-MS p {
  padding-left: 0;
}

/* SigProfiler landing page */

.sigprotext {
  display: flex;
  flex-direction: column;
  flex:0 0 30%;
  justify-content: center;
}

.sigprologos {
  display: flex;
  flex-direction: column;
  flex:0 0 30%;
  justify-content: space-around;
  min-height: 250px;
  align-items: center;
}

.sigprologos2 {
  display: flex;
  flex-direction: column;
  flex:0 0 30%;
  justify-content: space-around;
  min-height: 250px;
  align-items: center;
}


@media screen and (max-width: 1250px) {
  .sigprotext {
    display: flex;
    flex-direction: column;
    flex:1 0 30%;
    justify-content: center;
  }

  .sigprologos {
    display: flex;
    flex-direction: column;
    flex:0 0 55%;
    justify-content: space-around;
    min-height: 250px;
    align-items: center;
  }
  .sigprologos2 {
    display: flex;
    flex-direction: column;
    flex:0 0 55%;
    justify-content: space-around;
    min-height: 250px;
    margin-left: auto;
    align-items: center;
  }
}


.rs #news-wrapper-SP {
  border: 2px solid #28446f;
  border-radius: 10px;
  padding: 10px 30px;
  background-color: rgba(255, 255, 255, 0.7);
  height: 60.8px;
  width: 350px;

}

.rs #news-wrapper-SP img {
  width: 350px;
}


.hovertextlogos {
  opacity: 0;
  width:410px;
  height: 84.8px;
  background:#28446f;
  position: relative;
  left: -30px;
  top: -74.8px;
  text-align: center;
  font-size:12px;
  color:#fcfaf8;
  border-radius: 8px;


  display: flex;
  flex-direction: column;
  align-items: center; /* align vertically */
  justify-content: center; /* align horizontally */

  transition: opacity 0.3s;
}

.hovertextlogos_links {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.hovertextlogos_links a {
  color:#fcfaf8;
}


.rs #news-wrapper-SP:hover .hovertextlogos {
  opacity: 0.9;
}




/* general MS landing page */
.rs #news-wrapper-MS {
  border: 2px solid #28446f;
  border-radius: 10px;
  padding: 0.4em 1.2em;
  background-color: rgba(255, 255, 255, 0.7);

  display: flex;
  flex-direction: column;
}

.rs #news-wrapper-MS img {
  width: 100%;
  max-width: 450px;
  align-self: center;
}

.general_landing_page{
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  justify-content:  flex-start;
}

.general_landing_page_text{
  flex:0 0 45%;
}

.general_landing_page_extra{
  display:flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.general_landing_page_extra #versions {
  flex: 0 0 48%;
}

.general_landing_page_extra #bioinfo {
  flex: 0 0 48%;
}

@media screen and (max-width: 1400px) {
  .general_landing_page_extra #versions {
    flex: 0 0 100%;
  }

  .general_landing_page_extra #bioinfo {
    flex: 0 0 100%;
  }
}

.general_landing_page_plot{
  flex:0 0 55%;
  max-width: 900px;
}

.general_landing_page_plot > section {
  margin: 1em 1em 1em 4em;
}


.quote {
 color:#5c5150;
 font-weight:bold;
 font-style:italic
}

.quoteimportant{
  color: #8E0018;
}

/* .rs #left-MS {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  float: left;
  width: 55%;
  margin-bottom: 2em;
}

.rs #right-MS {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  float: left;
  width: 45%;
  margin-bottom: 2em;
} */





/* ------------------------------------------------------------------------- *
 * - "utility" classes ----------------------------------------------------- *
 * ------------------------------------------------------------------------- */

.na {
  color: #999;
}


ul.show-list {
  padding: 5px 0;
}

ul.show-list li {
  padding: 2px 0;
}

ul.show-list.inline li {
  float: left;
}

ul.show-list.inline           li:after                { content: ", "; }
ul.show-list.inline li:last-child:after,
ul.show-list.inline.truncated li:nth-child(n+3):after { content: "";  }

ul.show-list.truncated        li:nth-child(n+4)       { display: none;    }
ul.show-list.inline.truncated li:nth-child(n+4):after { content: "\2026"; }

.show-text hr {
  width: 80%;
  margin: 1em auto 2em;
  border-style: outset;
}

.show-text.truncated { display: none; }

.show-toggle {
  text-decoration: underline;
  color: #28446f;
  cursor: pointer;
  font-size: smaller;
}

.show-all {
  clear: both;
  display: block;
}

/* ------------------------------------------------------------------------- *
 * - menu ------------------------------------------------------------------ *
 * ------------------------------------------------------------------------- */

nav {
  clear: both;
}

nav ul {
  padding: 0;
}

ul.slimmenu {
  text-indent: 0;
  /* font-size: smaller; */
}

ul.slimmenu li {
  background: none;
  height: 32px !important;
  padding: 0 !important;
  text-indent: 0;
}

ul.slimmenu li ul li {
  width: 220px;
}

/* top-level menus, which we want to be variable width */
ul.slimmenu li.has-submenu {
  width: auto;
}

/* second level menus, which we want to have fixed width */
ul.slimmenu li li.has-submenu {
  width: 220px;
}

ul.slimmenu li>ul>li ul {
  top: -1px;
}

ul.slimmenu span.sub-toggle {
  background: none;
  border-right: 1px solid #EEE;
}

#login-menu span.sub-toggle {
  border-right: none;
}

#login-menu {
  float: right;
  background-color: #8E0018;
  /* background: linear-gradient(#AD001D, #8E0018) repeat scroll 0 0 #8E0018; */
  min-width: 8em;
}

#login-menu ul li {
  left: initial;
  right: 89px;
  border-right: none;
}

ul.slimmenu li a {
  border: none;
  margin-right: 24px;
  padding: 10px 10px;
  text-decoration: none;
  transition: none;
}

ul.slimmenu li a,
ul.slimmenu span.sub-toggle,
ul.slimmenu li .sub-toggle > i {
  color: #EEE;
  font-size: 100%;
}

ul.slimmenu li a:hover {
  background: none;
}

ul.slimmenu li .sub-toggle {
  width: 24px;
}

ul.slimmenu li .sub-toggle::before {
  margin: 0;
}

ul.slimmenu li ul li {
  border-top: 1px solid #FFF;
  border-left: 1px solid #FFF;
  border-right: 1px solid #FFF;
  left: -1px;
}

ul.slimmenu li ul li:last-child {
  border-bottom: 1px solid #FFF;
}

nav .menu-collapser {
  height: 32px;
  line-height: 32px;
}

nav .menu-collapser .collapse-button {
  background-color: #FFF;
  padding: 5px 7px;
  width: 32px;
}

nav .collapse-button .icon-bar {
  background-color: #000;
}

/*
 * .site-cosmic     nav, .site-cosmic     .menu-collapser { background: linear-gradient(#0e518d, #02486a) repeat scroll 0 0 #0e518d; }
 * .site-cell_lines nav, .site-cell_lines .menu-collapser { background: linear-gradient(#057a52, #015539) repeat scroll 0 0 #015539; }
 * .site-wgs        nav, .site-wgs        .menu-collapser { background: linear-gradient(#8e0018, #ad001d) repeat scroll 0 0 #8E0018; }
 * .site-organoids  nav, .site-organoids  .menu-collapser { background: linear-gradient(#5f0473, #710a87) repeat scroll 0 0 #5F0473; }
 * .site-ageing     nav, .site-ageing     .menu-collapser { background: linear-gradient(#858789, #c1c8cb) repeat scroll 0 0 #858789; }
 * .site-mice       nav, .site-mice       .menu-collapser { background: linear-gradient(#926b05, #aa7d06) repeat scroll 0 0 #926b05; }
 */

.site-cosmic     nav, .site-cosmic     .menu-collapser { background-color: #28446f; }
.site-cell_lines nav, .site-cell_lines .menu-collapser { background: linear-gradient(#057a52, #015539) repeat scroll 0 0 #015539; }
.site-wgs        nav, .site-wgs        .menu-collapser { background: linear-gradient(#8e0018, #ad001d) repeat scroll 0 0 #8E0018; }
.site-organoids  nav, .site-organoids  .menu-collapser { background: linear-gradient(#5f0473, #710a87) repeat scroll 0 0 #5F0473; }
.site-ageing     nav, .site-ageing     .menu-collapser { background: linear-gradient(#858789, #c1c8cb) repeat scroll 0 0 #858789; }
.site-mice       nav, .site-mice       .menu-collapser { background: linear-gradient(#926b05, #aa7d06) repeat scroll 0 0 #926b05; }

.site-cosmic ul.slimmenu li ul li       { background-color: #28446f; }
.site-cosmic ul.slimmenu li ul li:hover { background-color: #365c96; }
/* (rather randomly, this is 7% lighter (HSL) than the main background-color) */

.site-cell_lines ul.slimmenu li ul li       { background-color: #015539; }
.site-cell_lines ul.slimmenu li ul li:hover { background-color: #017951; }

.site-wgs ul.slimmenu li ul li       { background-color: #ad001d; }
.site-wgs ul.slimmenu li ul li:hover { background-color: #d10023; }

#cosmic-search-form {
  width: auto;
}

#cosmic-search-form input {
  padding: 2px 2px 2px 4px;
  margin: 4px;
  width: 150px;
  height: 20px;
  border: none;
  background-color: #FFF;
}

/* don't know what these were originally used for; left here in case they
 * turn out to be necessary...
  .site-grch37_menu    { background: linear-gradient(#0e518d, #02486a) repeat scroll 0 0 #0e518d; }
 * .site-grch37_menu    { background: linear-gradient(#AD001D, #8E0018) repeat scroll 0 0 #8E0018; }
 */

/* style the search button in the nav bar */
#nav-search-button {
  border: none;
  border-radius: 0 3px 3px 0;
  padding: 3px;
  font-size: 12px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 160px;
  text-transform: uppercase;
  background-color: #8e0018;
  color: #EEE;
  font: bold 13px 'lucida sans', 'trebuchet MS', 'Tahoma';
}

#nav-search-button:before {
  content: '';
  position: absolute;
  border-width: 8px 8px 8px 0;
  border-style: solid solid solid none;
  border-color: transparent #8e0018 transparent;
  top: 4px;
  left: -6px;
}

#nav-search-button:hover {
  background: #e54040;
}
#nav-search-button:active,
#nav-search-button:focus {
  background: #c42f2f;
}
#nav-search-button:hover:before {
  border-right-color: #e54040;
}
#nav-search-button:focus:before {
  border-right-color: #c42f2f;
}

#sidebar-search {
  position: relative;
  margin-top: 1.4em;
}

#sidebar-search form {
  margin: 0;
}

#sidebar-search input {
  padding: 2px 2px 2px 4px;
  margin: 0;
  width: 95%;
  height: 20px;
  background-color: #FFF;
  text-indent: 25px;
  font-size: 12px;
}

#sidebar-search .fa-search {
  position: absolute;
  top: 5px;
  left: 8px;
  font-size: 18px;
  color: #c5c5c5;
}

#announcement-banner {
  border-top: 1px solid white;
  background: #8e0018;
  color: white;
  text-align: center;
  width: 100%;
  font-size: larger;
  padding: 0.4rem 0;
}

#announcement-banner a {
  color: white;
}

/* ------------------------------------------------------------------------- *
 * - site header ----------------------------------------------------------- *
 * ------------------------------------------------------------------------- */

header {
  height: auto; /* overriding setting in legacy CSS */
  background-color: #FFF;
  padding: 0 4px;
}

header.logo_grch37 {
  min-height: 74px;
  background: url( "/cancergenome/gfx/logo_grch37_small.png")  no-repeat center;
}

#banner {
  background-repeat: no-repeat;
  background-position: 0 3px;
  display: block;
  float: left;
  text-decoration: none;
  width: 328px;
  height: 74px; /* 68px for the logo, 3px padding */
  background-image: url('/images/banners/cosmic_banner_328x68.png');
}

#domain-logo {
  background-repeat: no-repeat;
  background-position: right 3px;
  display: block;
  float: right;
  height: 74px;
  text-decoration: none;
  min-width: 550px;
  position: relative;
}

#domain-logo:after {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 48px;
  position: absolute;
  top: 36px;
  right: 74px;
}

.domain-cosmic     #domain-logo { background-image: url('/images/domain_logos/cosmic_domain_logo_68x68.png'); }
.domain-cell_lines #domain-logo { background-image: url('/images/domain_logos/cell_lines_domain_logo_68x68.png'); }
.domain-census     #domain-logo { background-image: url('/images/domain_logos/census_domain_logo_68x68.png'); }

.domain-cell_lines #domain-logo:after { content: "Cell lines"; }
.domain-census     #domain-logo:after { content: "Hallmarks of Cancer"; }

.site-cell_lines #domain-logo { background-image: url('/images/domain_logos/cell_lines_domain_logo_68x68.png'); }

.site-cell_lines #domain-logo::before {
  text-align: right;
  width: 150px;
  padding-top: 50%;
  font-size: 40px;
  padding-right: 110%;
  float: right;
  color: #28446f;
  font-family: 'Heiti SC', 'Century Gothic', 'Verdana', sans-serif;
}

/* ------------------------------------------------------------------------- *
 * - main page layout ------------------------------------------------------ *
 * ------------------------------------------------------------------------- */

.rs {
  margin: 0 12px;
  padding: 0;
}

.rs #left {
  float: left;
  width: 45%;
  /* background-color: #FEE; */
  margin-bottom: 2em;
}

.rs #right {
  float: left;
  width: 55%;
  /* background-color: #7bbcdc; */
  margin-bottom: 2em;
}

.rs #right > section {
  margin: 2em 0 0 2em;
}

.rs h1, .rs h2, .rs h3, .rs h4, .rs h5, .rs h6 {
  color: #28446f !important;
  font-family: 'Josefin Sans', sans-serif;
  font-style: normal;
  position: relative;
  margin: 0.4em 0 0;
  padding: 0;
  line-height: 1.4em;
}

/* see http://stackoverflow.com/questions/1734618/how-to-increase-the-gap-between-text-and-underlining-in-css */
.rs h2:after {
  content: '';
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 3px;
  border-bottom: 2px solid #28446f;
}

/* ------------------------------------------------------------------------- *
 * - index page ------------------------------------------------------------ *
 * ------------------------------------------------------------------------- */

#watermark {
  background: transparent url('/images/summary_circos_cosmic.png') no-repeat scroll 400px -430px;
  min-height: 750px;
  width: 1280px;
  opacity: 0.1;
  position: absolute;
  z-index: -1;
  right: 0;
}

#index-intro {
  /* height: 215px; */
  margin: 52px 0 20px 0;
  /* background-color: #EEF; */
}

#index-intro > h1 {
  margin: 1.2em 0 0.8em;
  line-height: 1em;
}

#index-intro > h2 {
  font-size: 1.8em;
}

#index-intro > p {
  margin: 1.2em 0;
}

.rs p {
  margin: 0.2em 0 0.8em;
  padding: 0;
  line-height: 1.4em;
}

#index-projects {
  /* background-color: #efffee; */
}

#index-projects ul {
  padding-left: 0;
}

#index-projects li {
  background-repeat: no-repeat;
  background-position: 0 2px;
  background-size: 47px 47px;
  height: 55px;
  padding: 0.2em 0 0 60px;
  line-height: 1.4em;
}

#index-projects li:before { display: none }

.rs ul.cosmic-list {
  /* list-style: square inside url('/images/cosmic_logos/cosmic_logo_14x14.png'); */
  list-style: square inside url('/images/cosmic_logos/outline_14x14.png');
  padding-left: 0;
}

.rs ul.cosmic-list li {
  padding-left: 0;
}

.rs ul.cosmic-list.padded li {
  margin: 0.4em 0;
}

li.project-cosmic     { background-image: url('/images/domain_logos/cosmic_domain_mono_60x60.png') }
li.project-cell-lines { background-image: url('/images/domain_logos/cosmic_domain_mono_60x60.png') }
li.project-c3d        { background-image: url('/images/domain_logos/cosmic_domain_mono_60x60.png') }
li.project-census     { background-image: url('/images/domain_logos/cosmic_domain_mono_60x60.png') }
li.project-cmc        { background-image: url('/images/domain_logos/cosmic_domain_mono_60x60.png') }
li.project-action     { background-image: url('/images/domain_logos/cosmic_domain_mono_60x60.png') }

/* search form */
.rs .form-wrapper {
  background: none;
  margin: 0 auto;
  padding: 1em 0;
  height: 42px;
  width: auto;
}

.rs #search-field {
  background-color: #FFF;
  height: 40px;
  width: 100%;
  margin: 0 75px 0 0;
  position: relative;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.8)
}

.rs #main-search-form input {
  background: #FFF !important;
  height: 36px;
  width: 95%;
  position: absolute;
  left: 2px;
  top: 2px;
  padding: 0 0 0 10px;
}

.rs #main-search-form button {
  height: 40px;
  width: 75px;
  text-shadow: 0px 0px 3px rgba(0, 0 ,0, .5);
  position: absolute;
  right: 0;
}

/* search results page */
.search_table .tabc {
  border-top: 1px solid #28446f;
}

/* blog */

.rs #news-wrapper {
  border: 2px solid #28446f;
  border-radius: 5px;
  padding: 0.4em 1.2em;
  background-color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.rs #news-wrapper h1 a {
  text-decoration: none;
}

.rs #news-wrapper .twitter-follow-button {
  position: absolute !important;
  top: 22px;
  right: 24px;
}

#blog-section {
  clear: both;
}

#blog-section div.news-article {
  height: 27%;
  clear: both;
  padding: 1em 0;
}

#blog-section > div.news-article > a {
  color: #000000;
  line-height: 1.4em;
  text-decoration: none;
}

#blog-section div.news-img {
  width: 12%;
  float: left;
}

#blog-section img {
  width: 90%;
  padding-top: 1.2em;
}

#blog-section .news-text {
  width: 88%;
  float: right;
}

#blog-section h3 {
  width: 100%;
  padding-left: 0;
}

#blog-section section {
  max-width: 100%;
  text-transform: none;
}

.clearer {
  clear: both;
}

#announcements {
  display: none;
  border: 2px solid #8e0018;
  border-radius: 4px;
  padding: 0.4em 1.2em;
  background-color: rgba(255, 255, 255, 0.7);
  margin: 28px 0;
  box-shadow: 0 0 20px 4px rgba(125,125,125,0.5);
}

#announcements h1 {
  color: #8e0018 !important;
}

#announcements div.announcement {
  height: 100%;
  margin: 0.4em 0;
}

/* ------------------------------------------------------------------------- *
 * - footer ---------------------------------------------------------------- *
 * ------------------------------------------------------------------------- */

footer {
  /* background-color: #28446f; */
  background-color: #515b69;
  color: #FFF;
  height: 240px;
  clear: both;
  font-size: 12px;
  padding: 0;
  line-height: 1.4em;
  position: relative;
  z-index: 10;
}

footer h1 {
  color: #FFF;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  margin: 1em 0 0 0;
}

footer a {
  color: #FFF;
  text-decoration: none;
}

footer a:hover {
  color: #999;
}

footer li {
  padding: 4px 0;
}

#sanger-logo {
  background: transparent url('/images/logo-front-wgc.png') no-repeat 1px 1px;
  width: 200px;
  height: 69px;
  padding: 1px;
  margin: 8px 0;
  display: block;
  position: absolute;
  text-decoration: none;
}

footer a.external img {
  background: url(/images/icons-sprite.png) -50px -2px no-repeat;
  width: 15px;
  height: 15px;
}

#footer-list-wrapper {
  width: 896px;
  margin: 0 auto;
  position: relative;
}

.footer-col {
  width: 25%;
  position: absolute;
}

#footer-col1 { left: 0;   }
#footer-col2 { left: 25%; }
#footer-col3 { left: 50%; }
#footer-col4 { left: 75%; }

a.social-icon {
  margin-left: 16px;
}

a.social-icon i {
  width: 6px;
  font-size: 14px;
}

a.social-icon:hover {
  filter: brightness(0.5) invert(1);
}

/* ------------------------------------------------------------------------- *
 * - sectioned page styles ------------------------------------------------- *
 * ------------------------------------------------------------------------- */

/* page framework */

.loading {
  color: #28446f;
  font-size: 18px;
  position: relative;
  padding-left: 70px;
  background: initial;
  display: block;
  margin: 20px 0;
}

.loading i {
  position: absolute;
  top: -18px;
  left: 0;
}

.ui-resizable-handle::hover {
  background-color: #CCC;
}

.sectioned-page h1 { font-size: 2.4em; }
.sectioned-page h2 { font-size: 2.0em; }

.sectioned-page h1.subhead {
  position: absolute;
  right: 0;
}

.sectioned-page h1.subhead .separator {
  font-weight: bold;
  font-size: 42px;
}

.sectioned-page {
  position: relative;
}

#sidebar {
  background-color: #fcfaf8;
  left: 0;
  margin: 0;
  width: 220px;
  position: absolute;
  height: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  padding-right: 4px;
}

#sidebar h1, #sidebar h2 {
  width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#sidebar h2 {
  font-size: 1.5em;
}

#sidebar h1+h2 {
  font-size: 20px;
  margin-top: -6px;
}

#sidebar h1+h2:after {
  border: none;
}

#sidebar.top {
  position: absolute;
  top: 0;
  bottom: 0;
  left: initial;
}

#sidebar.middle {
  position: fixed;
  top: 0;
  bottom: initial;
}

#sidebar.bottom {
  position: absolute;
  top: initial;
  bottom: 0;
  left: initial;
}

#sidebar nav {
  background: #fcfaf8;
}

#section-list {
  margin-left: 240px;
  padding-top: 42px;
  /* prevent the page collapsing completely when all sections are turned off */
  min-height: 350px;
}

#section-selectors-list {
  padding: 0;
  margin: 0;
}

#section-selectors-list li {
  background-color: #28446f;
  border-radius: 4px;
  padding: 0 0 0 26px;
  margin: 4px 0;
  transition: all 0.2s ease;
  position: relative;
}

#section-selectors-list li i.fa {
  position: absolute;
  top: 5px;
  right: 4px;
  color: #FFF;
  opacity: 0.2;
  cursor: move;
}

#section-selectors-list li.disabled {
  background-color: #4d4d4d;
}

#section-selectors-list li a {
  color: #FFF;
  text-decoration: none;
  display: block;
  padding: 6px 0 0 0;
  border-radius: 0 4px 4px 0;
  height: 17px;
}

#section-selectors-list li:hover {
  cursor: pointer;
}

#sortable li.ui-sortable-handle {
  cursor: move;
}

.dragging {
  opacity: 0.5;
}

.draggable-placeholder {
  background-color: #EEE !important;
  border: 2px solid #DDD;
  border-radius: 4px;
  padding: 8px 0 8px 26px;
  margin: 6px 0;
  width: 190px;
  height: 12px;
}

#section-selectors-list li.section-inactive {
  opacity: 0.5;
  transition: all 0.2s ease;
}

#section-selectors-list li span {
  color: #28446f;
  background-color: #FFF;
  width: 12px;
  height: 13px;
  position: absolute;
  left: 6px;
  top: 5px;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
}

#section-selectors-list li.section-inactive span {
  color: #FFF;
  cursor: pointer;
}

#section-selectors-list li.section-inactive a {
  cursor: default;
}

#reset-link {
  font-size: smaller;
  text-decoration: underline;
  cursor: pointer;
  padding-bottom: 1em;
}

.draggable-section {
  padding-bottom: 20px;
  clear: both;
  display: none;
}

.draggable-section h2:first-child a {
  text-decoration: none;
  padding-top: 8px;
  color: #28446f;
  cursor: initial;
}

/* TODO this might not be right for all sections *
.section-content {
  padding-top: 10px;
}
*/

/* ------------------------------------------------------------------------- *
 * - gene page ------------------------------------------------------------- *
 * ------------------------------------------------------------------------- */

#sidebar #filters {
  width: 100%;
}

/* overview section */

div.data-list {
  margin: 0 auto;
}

/* based on https://www.sitepoint.com/community/t/styling-inline-definition-lists/225112/2 */
dl.inline {
  line-height: 1.4em;
}
dl.inline > dd,
dl.inline > dt {
  display: inline-block;
  vertical-align: top;
  padding: 12px 0 0;
  margin: 0;
}
dl.inline > dt {
  width: 20%;
  padding-right: 10px;
  text-align: right;
  font-weight: bold;
}
dl.inline > dd {
  width: 78%;
}
dl.inline > dt:first-of-type,
dl.inline > dd:first-of-type {
  padding-top: 0;
}

dl.inline > dt.group-title {
  font-size: larger;
  text-decoration: underline;
  padding-top: 20px;
}

dl.inline > dt.group-title:first-child {
  padding-top: 0;
}

dl.inline > dl {
  margin-bottom: 12px;
}

dl.inline > dd > dl > dt,
dl.inline > dd > dl > dd {
  display: inline-block;
  vertical-align: top;
  margin: 0 10px 0;
  padding-top: 0;
}

dl.inline > dd > dl > dt {
  width: 20%;
  text-align: right;
}

dl.inline > dd > dl > dd {
  width: 65%;
  padding: 0 0 0.5em 0;
}

#attributes-label {
  margin-top: 9px;
}

.pill-panel {
  margin: 0 0 14px 0 !important;
}

div.pill {
  display: inline-block;
}

div.pill a:hover {
  color: #365c96 !important;
}

div.pill-shape {
  background-color: #CCC;
  background-repeat: no-repeat;
  background-position: 9px 3px;
  border: 2px solid #BBB;
  border-radius: 16px;
  height: 16px;
  padding: 3px 8px 7px 30px;
  font-weight: bold;
  color: #333;
  margin: 4px 10px 0 0;
}

dt > div.pill > div.pill-shape {
  margin-right: 0;
}

div.pill-shape.inactive {
  opacity: 0.4;
}

#census-pill {
  background-image: url(/images/icons/target-20x20.png);
  background-position: 6px 2px;
}
#book-pill {
  background-image: url(/cancergenome/gfx/books.png);
  background-position: 6px 3px;
  padding-left: 37px;
}
#mouse-pill {
  background-image: url(/images/icons/mouse-icon-28x18.png);
  background-position: 7px 5px;
  padding-left: 40px;
}
#hallmark-pill {
  background-image: url(/images/icons/hallmark-icon-20x20.png);
  background-position: 7px 3px;
}

.cosmic3d img {
  border: 1px solid #28446f;
  width: 175px;
  height: 175px;
  margin-top: 8px;
}

/* filters pane */

/* tooltip link, used in filter panel */
.tooltip.i-state-default {
  border: none;
  display: inline-block;
  background: none;
}

.filters .filter-group     label:first-child,
.filters .filter-sub-group label:first-child {
  font-weight: bold;
  display: block;
  padding: 0.4em 0 0.2em;
}

.filters ul {
  padding: 0;
}

.filters ul li {
  padding: 1px 10px 1px 0;
}

.filters li.filter-sub-group {
  margin-left: 1.8em;
}

.filters .filter-sub-group ul {
  margin-left: 0;
}

.filters select {
  width: 100%;
  margin: 0.2em 0;
}

/*
#sidebar.stuck #filters {
  height: 500px;
  height: calc(100% - 284px);
}
*/

#filters {
  width: 100%;
  height: 500px;
  height: calc(100% - 422px);
  overflow-y: auto;
}

#filters-set {
  display: none;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 12px;
  color: #8e0018 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#filters ul {
  margin-top: 0.4em;
}

#filters h2 {
  margin-top: 0.8em;
}

.irs-from, .irs-to, .irs-single {
  background: #123566;
}

.irs-from:after, .irs-to:after, .irs-single:after {
  border-top-color: #123566;
}

#filters-advanced {
  background-color: #fcfaf8;
}

#jbrowse {
  width: 98%;
  height: 750px;
}

#jbrowse-fp {
  display: block;
  border: 1px solid #999;
  border-radius: 3px;
  background: #FFF;
  float: right;
  margin: 10px 0 10px 10px;
  padding: 5px;
  width: 20em;
}

/* set up the various bits of the range slider/input fields */
#range-toggle {
  padding-left: 0.4em;
  font-weight: normal;
}

#range-fields-panel {
  display: none;
}

#range-fields-panel dt {
  font-weight: normal;
  color: black;
  text-align: left;
  float: left;
  clear: left;
  padding-top: 2px;
}

#range-fields-panel input {
  width: 6em;
}

#range-fields-panel dd {
  margin-left: 3em;
  float: none;
}

/* tissue distribution section */

#section-tissue .dataTables_wrapper {
  overflow-x: scroll;
  padding: 0 !important;
}

/* mutation distribution section */

/*
 * these are styles that are generally applicable to panels that
 * have charts and tables, like the mutation distribution section
 */

.chart-panel-row {
  display: flex;
  align-items: stretch;
  clear: both;
}

.chart-panel-row:nth-child(2){
  border-top: 2px solid #28446f;
}

.chart-panel {
  float: left;
  width: 49%;
  padding: 1em;
}

.chart-panel:nth-child(2) {
  border-left: 2px solid #28446f;
  padding-left: 1em;
}

.chart-panel h3 {
  font-size: 22px;
}

.chart-panel table,
.chart-panel .chart {
  float: left;
  margin: 1em 0;
}

.chart-panel th {
  border-bottom: 2px solid #28446f;
  font-weight: bold;
  padding: 4px;
}

.chart-panel td {
  padding: 2px;
  vertical-align: middle;
}

.chart-panel a.current {
  font-weight: bold;
}

.chart-panel tr:nth-child(odd) {
  background-color: #EEE;
}

.chart-panel tr:last-child {
  background-color: initial;
}

.chart-panel .colour-swatch {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto;
}

.chart-panel p {
  clear: both;
}

.chart-panel p .filtered {
  display: none;
}

#del-ns-msg,
#ins-ns-msg {
  display: none;
}

.chart-panel .ns-count {
  font-weight: bold;
}

.chart-panel table,
.chart-panel p {
  display: none;
}

p.no-data {
  display: none;
}

/* drug resistance panel */

#gd_overview_pie .chart-panel {
  border: none;
  padding-top: 0;
}

#gm_overview_pie svg {
  padding: 14px;
}

.toggle-button-list input {
  border: none;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

.toggle-button-list label {
  margin: 0;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #999;
  background-color: #DDD;
  color: #888;
  cursor: pointer;
}

.toggle-button-list label:hover {
  cursor: pointer;
  border-color: #335b99;
  background-color: #335b99;
  color: #BBB;
}

.toggle-button-list input:checked + label {
  border-color: #28446f;
  background-color: #28446f;
  color: #FFF;
  transition: all 0.1s ease-in-out;
  cursor: initial;
}

.toggle-button-list {
  margin: 0;
  padding: 0 !important;
}

.toggle-button-list li {
  display: inline-block;
  float: none;
  width: auto;
  margin: 0 8px 0 0;
  padding: 0;
# line-height: 1;
}

#section-drug .section-content {
  padding: 0;
}

#section-drug .chart-panel {
  width: auto;
}

#drugs-table {
  display: table;
}

/* ------------------------------------------------------------------------- *
 * - help pages ------------------------------------------------------------ *
 * ------------------------------------------------------------------------- */

.deprecated {
  border: 1px solid #ecafaf;
  border-radius: 8px;
  background: #ffdede;
  margin: 1rem;
  padding: 0.6rem;
}

.deprecated h3 {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
}

.deprecated p {
  margin: 0;
  padding: 0.2rem 0;
}

#body-left {
  float: left;
  width: 75%;
}

.help-text h3 {
  padding: 4px 0 0 0 !important;
}

.help-text h2 a,
.help-text h3 a {
  text-decoration: none;
}

.help-text h2 a:hover,
.help-text h3 a:hover {
  color: #28446f;
}

code, pre {
  line-height: 1.4em;
  font-weight: normal;
}

dd {
  line-height: 1.4em;
}

/* ------------------------------------------------------------------------- *
 * - checksums page -------------------------------------------------------- *
 * ------------------------------------------------------------------------- */

#checksums hr {
  margin: 1em 0;
  clear: both;
}

#checksums dl dt, #checksums dl dd {
  padding: 0.4em;
  margin: 0;
  line-height: 1.2em;
  color: #000;
}

#checksums dl dt.lw50 {
  width: 40%;
}

#checksums dl dd.rw50 {
  font-family: monospace;
  width: 30%;
  text-align: right;
}

#checksums dl dt:nth-child(4n+1),
#checksums dl dt:nth-child(4n+1) + dd { background-color: #EEE; }

/* ------------------------------------------------------------------------- *
 * - restyling panels ------------------------------------------------------ *
 * ------------------------------------------------------------------------- */

.help-panel {
  background-color: transparent;
/* commenting this now, because it broke census hallmark help pages
  display: flex;
  flex-wrap: wrap;*/
}

.help-panel #overview {
  border-top: none;
}

/* Cancer Browser Panels */

h1.wrapping {
  white-space: initial !important;
  line-height: 1em;
  margin-bottom: 0.2em;
}

.cancer-browser {
  position: relative;
}

.cancer-browser #section-list {
  padding-top: 6px;
}

.cancer-browser h1 {
  font-size: 2.4em;
}

.cancer-browser h1.subhead {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}

#tiss_overview {
  min-height: 60px;
  padding-top: 10px;
}

form#browser {
  padding: 0;
}

.cancer-browser #browser {
  margin: 0 0 12px 0;
  width: initial;
  background-color: #28446f;
  border-radius: 0 0 4px 4px;
  padding: 0 3px 3px 3px;
}

.sample-variant-tabs,
.cancer-browser ul {
  text-indent: initial;
}

.browse-page-container {
  max-width: 100%;
  background-color: #28446f;
  overflow: hidden;
  padding: 1px;
  border-radius: 4px 4px 0 0;
}

.browse-page-container .panel {
  margin: 2px;
}

.filter-controls {
  position: relative;
  border-radius: 4px;
  margin: 0;
  padding: 10px;
  background-color: white;
  display: flex;
  flex-direction: row;
}

.filter-controls ul.toggle-button-list {
  flex-grow: 2;
}

.filter-controls .loading {
  display: none;
  padding-left: 45px;
  margin: 14px;
}

.filter-controls .loading i {
  font-size: 34px !important;
  top: -9px;
}

.filter-controls span.na {
  width: 100%;
  margin: 12px 0;
}

.filter-control-tree {
  position: relative;
  border-radius: 4px;
  margin: 0;
  padding: 10px;
  background-color: white;
}

.filter-control-tree ul.toggle-button-list li {
  font-weight: inherit;
}

.filter-control-tree ul.toggle-button-list li:first-child {
  width: 9em;
  margin: 0;
}

.col25 {
  display: inline-block;
  width: 25%;
}

.filter-panel {
  background-color: white;
  border-radius: 3px;
  max-width: 100%;
  position: relative;
}

.filter-panel h3 {
  text-align: center;
}

.browser ul {
  padding: 2px;
  margin: 0;
}

.browser li {
  padding: 4px;
}

span.selection {
  display: block;
  padding: 2px 0;
}

#panel-selections ul {
  font-size: smaller;
  padding: 0;
  margin: 0;
}

#panel-selections ul > li {
  padding-left: 0;
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#panel-selections ul > li span::before {
  content: "»";
  float: initial;
  color: initial;
  width: 4em;
  padding-right: 0.2em;
}

#panel-selections ul > li:nth-child(1) span::before { content: ''; }

#panel-selections ul > li:nth-child(2) { padding-left: 0.3em; }
#panel-selections ul > li:nth-child(3) { padding-left: 0.6em; }
#panel-selections ul > li:nth-child(4) { padding-left: 0.9em; }

/* publications page */

ol.pub {
  padding-left: 0;
}

ol.pub li {
  padding-bottom: 0.8em;
}

/* Redoing buttons - help */

.help_tip {
  float: right;
  background: none;
  background-color: #8E0018;
  border-radius: 20px;
  width: 20px;
  height: 20px;
  color: #ffffff;
  text-align: center;
  vertical-align: baseline;
  padding: 5px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none !important;
}

.help_tip:after {
  content: '?';
}

.help_tip:hover {
  background-color: #e54040;
  text-decoration: none;
  color: white;
}

/* Search button on Cancer Browser */

.go_search, .go_search:hover {
  background-image: none;
}

.go_search {
  background: #8E0018;
  border-radius: 3px;
  color: #ffffff;
  text-decoration: none;
  height: auto;
  width: auto;
  padding: 8px;
  font-weight: bold;
  cursor: pointer;
}

.go_search:hover {
  background-color: #e54040;
  color: #ffffff;
  height: auto;
  width: auto;
}

.cancer-browser .go_search {
  width: 32px;
  height: 20px;
  text-align: center;
  margin-top: 4px;
  padding: 10px 10px 4px 10px;
  font-size: 20px;
}

#browser .loading i {
  font-size: 22px;
}

/* Restyling Headers */

.filter-panel h3,
.help-panel h2,
.help-panel h3 {
  color: #28446f !important;
  font-family: 'Josefin Sans', sans-serif;
  font-style: normal;
  /* position: relative; */
  margin: 0.4em 0 0;
  padding: 0;
  line-height: 1.4em;
  border-bottom: 2px solid #28446f;
  font-size: 1.5em;
}

.help-panel h2.highlight {
  padding-left: 1rem;
  background-color: #ced6e2 !important;
}

.help-panel .webhelp h3 {
  border: initial;
}

h2.title {
  color: #28446f;
}

/* BETA SITE STUFF */
.beta-logo {
  font: bold 18px 'lucida sans', 'trebuchet MS', 'Tahoma';
  width: 42px;
  height: 22px;
  position: absolute;
  left: 340px;
  top: 15px;
  margin: 0;
  padding: 5px 10px 5px 10px;
  color: #ffffff;
  background-color: #8e0018;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0);
  box-shadow: 0 0 2px #000000;

  transform-origin: 22px 0px;
  transform: rotate(-12deg);

/*  -webkit-backface-visibility: hidden;*/

}

/* Fixing Fake Tabs */

ul.fake-tabs {
  clear: both;
}

ul.fake-tabs.faked-tabs {
  border-bottom: initial;
  display: initial;
  padding: initial;
  margin: initial;
  list-style: none;
  padding: 0;
  margin-left: 0;
  text-indent: 0;
}

ul.fake-tabs.faked-tabs li {
  list-style: none;
  margin-bottom: initial;
  background-color: initial;
  padding: 0 0 0.25em 30px;
  padding-top: 0;
  padding-bottom: 5px;
}

ul.fake-tabs.faked-tabs li a { /* .nav-link */
  border: initial;
  border-top-right-radius: initial;
  border-top-left-radius: initial;
  display: initial;
  padding: initial;
  background-color: initial;
  color: initial;
  margin-top: initial;
  border-color: initial;
  border-radius: initial;
}

ul.fake-tabs.faked-tabs li.active a {
  color: initial;
  background-color: initial;
  border-color: initial;
  padding: initial;
  margin-top: initial;
  cursor: initial;
  border-radius: initial;
  color: #8E0018;
}

ul.fake-tabs.faked-tabs li.active a:hover {
  color: red;
  text-decoration: initial;
}

ul.fake-tabs.faked-tabs li a:hover {
  color: initial;
  text-decoration: initial;
}

/* Download */

.webhelp h3 {
  font-size: 1rem;
}

.webhelp div {
  font-size: 1em;
}

/* Drug Resistance */

.drug-res {
  border: 1px solid black;
  width: 60%;
}

.drug-res th {
  background-color: #cccccc;
}

.drug-res th, .drug-res td {
  padding: 15px;
  text-align: center;
  color: black;
}

/* sample page */

.smaller {
  font-size: smaller;
}

.tooltip {
  text-decoration: underline;
  text-decoration-style: dotted;
}

ul.basic {
  list-style: inherit;
  text-indent: 0;
  padding: 0 2em;
}

ul.basic li {
  padding-left: 0;
  line-height: initial;
}

/* study/paper page */

.ref_title {
  font-style: initial;
}

.ref_abstract {
  font-style: initial;
  font-size: inherit;
}

/* mutation matrix */
.dd_wrap {
  width: 230px;
}

/* download help page */

#download-help p {
  margin-left: 0;
}

#download-help h1 {

}

#link-panel {
  border: 1px solid #CCC;
  border-radius: 5px;
  background-color: #EEE;
  float: right;
  padding: 10px;
  margin: 10px;
}

#link-panel ul,
#link-panel h1 {
  padding-left: 0;
}

#download-help h1 {
  color: #28446f !important;
  font-family: 'Josefin Sans', sans-serif;
  font-style: normal;
  font-weight: bolder;
  position: relative;
  margin: 0.4em 0 0;
  padding: 0;
  line-height: 1.4em;
}

#download-help h1:after {
  content: '';
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 3px;
  border-bottom: 2px solid #28446f;
}

#download-help h2 {
  border: none;
  margin: 0.8em 0 0 0;
}

#download-help h4 {
  color: #28446f !important;
  font-family: 'Josefin Sans', sans-serif;
  font-style: normal;
  font-size: 1.2em;
  position: relative;
  margin: 0.6em 0 0 0;
  padding: 0;
  line-height: 1.5em;
}

#download-help p {
  margin: 0;
}

.filter-list li label {
  width: 12em;
  display: inline-block;
}

/* registration page */

.rs form.register dt {
  width: 16em;
  padding: 0.2em;
}

.rs form.register dd {
  margin-left: 16.6em;
  float: none;
}

.rs form.register dd .terms h3,
.rs form.register dd .terms p {
  margin: 0 !important;
  padding-top: 0.4em;
}

/* .rs form.register dd p { */
/*   padding: 1px 0 0 0; */
/* } */

.rs form.register dd p.padded {
  margin: 0 0 0.5em 16.5em;
}

.rs form.register dd h3 {
  clear: initial;
  margin-top: 1em !important;
  /* margin: 1em 0 0 14.2em !important; */
}

.rs form.register dd input,
.rs form.register dd select,
.rs form.register dd textarea {
  padding: 4px;
  border-width: 1px;
  border-radius: 2px;
}

.rs form.register dd input:focus,
.rs form.register dd select:focus,
.rs form.register dd textarea:focus {
  padding: 3px !important;
  border-width: 2px !important;
}

.rs form.register dd textarea:focus {
  border-color: #090;
  padding: 3px;
}

.rs form.register dd button:focus {
  border-color: #090;
}

.rs form.register dd.static-value {
  padding: 7px;
}

.rs form.register input.tandc {
  float: left;
}

.rs form.register dd label {
  margin: 0.6em 0 0 1.6em;
  display: block;
  line-height: 1.4em;
}

.rs form.register ul.radiobuttons label {
  display: inline;
  margin-left: initial;
}

.rs form.static-values dd {
  margin: 0;
}

.rs #not-academic {
  display: block;
  padding: 0.2em 0;
  color: #E42217;
}

.rs .terms {
  border-radius: 5px;
  padding: 1em;
}

.rs ul.radiobuttons {
  padding: 0 0 0.4em 0;
}

.rs ul.radiobuttons li {
  padding: 0;
}

.rs ul.radiobuttons input[type=radio] {
  width: initial;
}

.rs .terms h3 {
  font-family: inherit;
  margin-top: 0 !important;
}

.rs .terms p {
  margin: 0.4em 0;
}

.rs .terms div {
  line-height: 1.4em;
  margin-top: 0.6em;
}

.rs .terms div input {
  float: left;
}

.rs .terms div label {
  margin-left: 1.6em;
  display: block;
}

.rs .terms div span.error {
  display: block;
  padding-left: 1.6em;
}

.rs form.register dt.tall {
  padding-top: 1.6em;
}

.rs ul.yesno,
.rs ul.yesno li {
  padding: 0.4em 0 1em 0;
}

.rs ul.yesno li div {
  margin-top: 0;
  float: left;
}

.rs ul.yesno li div input {
  float: none;
}

.rs ul.yesno li span {
  display: block;
  margin-left: 10em;
  line-height: 1.4em;
}

.rs ul.yesno li input[type='radio'] {
  width: initial;
}

.rs ul.yesno li label {
  padding-right: 0.6em;
  margin-left: initial;
  display: inline;
}

.rs .validation-box {
  padding-top: 1em;
}

.rs .validation-box input.larger {
  font-size: large;
}

.rs .agree {
  width: 11em;
  height: initial;
  border-radius: 5px;
  margin: 1em 0.4em 0.4em 0;
  padding: 6px;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  background-color: #008e18 !important;
  color: #ffffff !important;
}

.rs .agree.info {
  background-color: #28446f !important;
  border-color: #28446f !important;
}

.rs .agree.info:hover {
  background-color: #2160c1 !important;
  border-color: #28446f !important;
}

.rs .agree.danger {
  background-color: #8E0018 !important;
  border-color: #8E0018 !important;
}

.rs .agree.danger:hover {
  background-color: #e54040 !important;
  border: 2px solid #8E0018 !important;
}

.rs .agree:hover {
  background-color: #40e540 !important;
  border-color: #008e18 !important;
}

.rs .agree:disabled {
  background-color: #839c87 !important;
  cursor: initial;
}

.rs .agree:disabled:hover {
  background-color: #839c87 !important;
  border-color: #839c87 !important;
}

.rs ul.basic {
  margin: 0.6em 0;
  padding: 0 0 0 25px;
  list-style: initial;
  text-indent: initial;
  list-style-type: disc;
  list-style-position: outside;
}

.rs ul.basic li {
  padding: 0.2em 0;
  line-height: 1.4em;
}

/* login page */

.rs .login-error {
  color: #b12828;
}

.rs .login-error h3 {
  font-family: inherit !important;
  color: inherit !important;
}

.rs .login-error p:first-of-type {
  margin-top: 0;
}

.rs .callout {
  width: 47em;
  /* padding: 0.2em 1em; */
  float: none;
  margin: 1em auto;
  background-color: inherit;
  clear: both;
}

.rs .boxed {
  background-color: inherit;
  border: 4px solid #0e518d;
  padding: 0.2em 1em;
  border-radius: 5px;
}

.rs .boxed.success {
  border: 4px solid #008e18;
  padding: 1em;
}

.rs .callout p,
.rs .boxed p,
.rs .boxed a:not([class="login-button"]),
.rs .callout a:not([class="login-button"]) {
  background-color: inherit;
  color: black;
}

.rs .boxed p {
  margin: 0.2em;
  padding: 0.4em;
}

.rs .callout p {
  font-weight: normal;
}

.rs a:hover {
  color: #CCC;
}

.rs a.login-button {
  background-color: #007d18;
  margin: 0.4em;
  border-radius: 5px;
  border: 2px solid transparent;
}

.rs a.login-button:hover {
  background-color: #1bc73c;
  color: #FFF;
  border: 2px solid #007d18;
}

/* census page */

#section-census hr {
  border: none;
  border-top: 1px solid #000;
  width: 80%;
  margin: 1em auto 2em;
}

.toggle-button {
  margin: 0;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #999;
  background-color: #DDD;
  color: #888;
  cursor: pointer;
  text-decoration: none;
}

.toggle-button:hover {
  text-decoration: none;
  border-color: #335b99;
  background-color: #335b99;
  color: #BBB;
  cursor: pointer;
}

.active-tier,
.active-tier:hover {
  border: 1px solid #28446f;
  background-color: #28446f;
  color: #FFF;
  cursor: initial;
}

/* New Downloads Page */

.text-container {
  margin: auto 12px;
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* padding-left: 2.5%; */
  /* padding-right: 2.5%; */
}

.equal-para-spacing > p {
  max-width: 75%;
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
}

.equal-para-spacing > h5 {
  margin: 0;
  margin-bottom: 0.2em;
}

.card-container {
  clear: both;
  margin-bottom: 10px;
}

.download-card {
  margin: 12px;
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* margin-top: 10px; */
  /* width: 95%; */
  border: solid 1px #28446f;
  box-shadow: 3px 3px 1px #888888;
  padding: 0.5em;
}

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

.download-buttons {
  display: flex;
}


.col15 {
  width: 15%;
  display: inline-block;
  text-align: center;
}

.col55 {
  width: 55%;
  display: inline-block;
  text-align: center;
}

.file-icon {
  font-size: 60px !important;
  vertical-align: middle;
}

.fa.disabled {
  display: none !important;
}

.download-btn {
  font-size: 14px;
  font-weight: bold;
  padding: 1rem;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 1px 1px 1px #888888;
  border: none;
  width: 208px;
  height: 60px;
}

a > .download-btn {
  height: 60px;
}

.download-btn.logged_out {
  height: 80px;
}

a > .download-btn.logged_out {
  height: 80px;
}

.download-btn:hover {
  text-decoration: none;
}

.download-btn:active {
  opacity: 0.7;
  box-shadow: none;
}

.download-btn.blue {
  background-color: #3C547B;
  color: white;
  text-decoration: none;
}

.download-btn.mid-blue {
  background-color: #332868;
  color: white;
}

.download-btn.dark-blue {
  background-color: #04152E;
  color: white;
}

span.login-required {
  font-weight: normal;
  text-decoration: underline;
  font-size: 12px;
  color: grey;
}

.download-filters {
  overflow: hidden;
  margin-bottom: 1rem;
  text-align: center;
}

ul.download-filter-list {
  text-indent: 0;
  /*padding-left: 36%;*/
  display: inline-block;
  vertical-align: top;
  padding-top: 0;
}

.download-filter-list > li {
  display: block;
}

.download-filter-list > li > label {
  display: inline-block;
  width: 12rem;
  text-align: left;
}

.download-filter-list > li > input {
  display: inline-block;
}

.download-filters > .download-btn.blue {
  vertical-align: text-bottom;
}

.log-in-now {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.log-in-now > * {
  margin-left: 1rem;
}

.mid-align {
  margin-top: auto;
  margin-bottom: auto;
}

.vert-align {
  vertical-align: top;
}

/* Hide HR's for first file */
.not-first:nth-child(2) {
  display: none;
}

.word-break {
  word-wrap: break-word;
}


/* Toast Alert */

#toast {
  display: none;
  position: fixed;
  background-color: #28446f;
  height: 100px;
  width: 300px;
  top: calc(100% - 120px);
  left: calc(100% - 350px);
  z-index: 1001;
  border-radius: 5px;
  box-shadow: 4px 4px 4px #888888;
  overflow: none;
}

.toast-text {
  position: absolute;
  padding: 2rem;
  color: white;
}

/* privacy page */
ul.std {
  list-style: initial;
  padding: 0 0 0 2em;
}

ul.std li {
  margin: initial;
  padding: 0.2em 0 0 0;
}

table.cookies {
  border: 1px solid #CCC;
  margin: 0.4em 0;
}

table.cookies table.cookies {
  margin: 0.8em 0 0.2em;
  width: 100%;
}

table.cookies table.cookies td:first-of-type,
table.cookies table.cookies th:first-of-type {
  width: 25%;
}

table.cookies table.cookies td:last-of-type,
table.cookies table.cookies th:last-of-type {
  width: 60%;
}

table.cookies th {
  background-color: #e1e1e1;
}

table.cookies tr {
  border: 1px solid #CCC;
}

table.cookies tr:last {
  border: none;
}

table.cookies td,
table.cookies th {
  border: 1px solid #999;
  padding: 0.6em;
}

table.cookies td:last {
  border: none;
}

/* variant updates page */

table.simple-grid {
  border: solid 1px #000;
  color: #000;
  line-height: 2;
  border-radius: 5px;
  /* float: right; */
  width: 400px;
  margin: 1.4em;
}

table.simple-grid th,
table.simple-grid td.dataset {
  font-weight: bold;
}

table.simple-grid th,
table.simple-grid td {
  border: solid 1px #000;
  border-collapse: collapse;
  padding: 0.5rem;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
}

#parent-child {
  width: 600px;
  display: block;
  margin: 0 auto;
  padding: 1em;
}

.example {
  margin-left: 2em !important;
}

ul.tabular {
  padding-left: 0;
}

ul.tabular li {
  float: left;
  width: 6em;
  padding-left: 0;
}

table.simple {
  border-spacing: 1px;
}

table.simple th {
  font-weight: bold;
}

table.simple th,
table.simple td {
  border: 1px solid #CCC;
  padding: 0.4em;
}

/* google translate widget. Override the text-index setting that's
 * inherited from lists.css ul */
#google_translate_element {
  margin-left: -1.2em;
  text-indent: initial;
}
/* tweak the appearance of the cookie consent triangle icon */
#ccc-icon {
  fill: rgb(133, 135, 137) !important;
}

.rel-notes ul {
 list-style-type: disc; 
 list-style-position: outside; 
}
.jbrowse-container .card {
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.jbrowse-container .card-body {
  padding: 20px;
}

.jbrowse-container .card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.jbrowse-container .card-text {
  font-size: 14px;
  color: #555;
}

.jbrowse-container .card-text a {
  color: #007bff;
  text-decoration: none;
}

.jbrowse-container .card-text a:hover {
  text-decoration: underline;
}

.rs .home-page-preview-container#news-wrapper {
  padding:0;
  background:none;
  min-height:500px;
}
.rs .home-page-preview-container#news-wrapper .loading-container {
  display: flex; 
  justify-content: center; 
  align-items: center;
  height:100%;
  position:absolute;
  width:100%;
  background:#fcfaf8;
}