
/* General LSHTM style */
body{
    position:relative;
    -webkit-font-smoothing:antialiased;
    font-family:"Open Sans","Helvetica Neue",Arial,sans-serif;
    font-size:16px;
    color:#000;
}
h1,.heading1,.lshtm-quicktabs-content-item > .views-field-title,.hero-banner__title{
    font-family:"Merriweather","Times New Roman",Times,serif;
    font-size:48px;
    font-weight:300;
    line-height:1.3em;
}
h2,h3,h4,h5,h6{
    font-family:"Merriweather","Times New Roman",Times,serif;
}
.mq--t {
    max-width: 80em;
    margin-left: auto;
    margin-right: auto;
}

.panel {
    border-radius: 0;
}
.well {
    border-radius: 0;
}
.thumbnail {
    border-radius: 0;
}
.form-control {
    border-radius: 0;
}
.btn {
    border-radius: 0;
}
.btn-primary, .btn-primary:visited  {
    background-color: #1725a9;
    border-color: #1725a9;
    color: #dad8d6 !important;
    font-family:"Open Sans","Helvetica Neue",Arial,sans-serif; /* reasserting font in case we include a button in panel heading (and therefore h3*/
}
.btn-primary:hover,.btn-primary:focus {
    background-color: #1725a9;
    border-color: #1725a9;
    color: #fff;
}

.btn-primary:hover .icon-bar{
    background-color: #fff;
}


/* LSHTM header style */
.site-header {
    position: relative;
    margin: 0 0 20px;
}
.logo__link {
    position: relative;
    display: inline-block;
    width: 195px;
    height: 88px;
    background: url(/images/logo-black.svg) 0 0 no-repeat;
    background-size: contain;
    text-indent: -9999em;
    z-index: 100;
}
.logo {
    float: left;
    margin: 20px 15px 0;
}
.logo h1 {
    margin: 0;
    padding: 0;
}
.logo h1 span {
    position: relative;
    top: 0.5em;
}
.navbar {
   border-radius: 0;
   border: none;
   margin-top: 1em;
   margin-bottom: 0;

}
.navbar-default {
    background-color: #1725a9;
}
.navbar-default .navbar-brand, .navbar-default .navbar-nav>li>a {
    color: #dad8d6;
}
.navbar-default .navbar-brand:visited, .navbar-default .navbar-nav>li>a:visited {
    color: #dad8d6;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-nav>li>a:hover {
    color: #fff;
}

/* EPrints sub menu (login status) */
.subnav {
    background-color: #dad8d6;
    min-height: 30px;
    margin-top: 0;
}

.subnav div.container-fluid {
    padding-left: 0;
}
.subnav a.navbar-brand {
    margin-left: 15px;
}
.subnav .navbar-brand, .subnav .navbar-nav>li>a {
    color: #1725a9;
    padding-top: 5px;
    padding-bottom: 5px; 
    height: 30px;
}
.subnav .navbar-brand:visited, .subnav .navbar-nav>li>a:visited {
    color: #1725a9;
}
.subnav .navbar-brand:hover, .subnav .navbar-nav>li>a:hover {
    color: #32006e;
} 

.subnav .navbar-toggle {
    padding: 4px 5px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-right: 22px;
}
.subnav .navbar-toggle .icon-bar {
    width: 17px;
}

/* LSHTM footer style */
.site-footer {

    float: left;
    width: 100%;
    margin: 140px 0 0;
    background: #EBEBEB;
}
.site-footer__left {
    float: left;
    width: 50%;
    padding-left: 2em;
}
.site-footer__right {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: end;
    justify-content: flex-end;
    float: right;
    width: 50%;
    text-align: right;
    padding-right: 2em;
}

.site-footer .menu--footer .menu {
    margin-bottom: 0;
}
.site-footer .menu {
    margin: 20px -10px;
    padding: 0;
    font-size: 14px;
    list-style: none;
}

.site-footer .menu li {
    display: inline-block;
    margin: 0 10px;
}

.site-footer p.copyright {
    font-size: 0.8em;
}
.site-footer p {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
    line-height: 19px;
}

div#cosector_branding {
    margin-top: 15px;
    margin-bottom: 10px;
}
.cosector_logo {
    width: 200px;
    display: inline-block;
}
@media (max-width: 767px) {
    .cosector_logo {
        width: 100px;
    }
    .site-footer p.copyright {
        font-size: 0.6em;
    }
    .site-footer p {
        font-size : 0.8em;
    }
    .site-footer .menu li {
        display: block;
    }
}

/* LSHTM front page */
#lshtm_front_page input[type='text']{
    width: 100%;
    height: 33px;
    position: relative;
    top: 2px;
}

/* LSHTM summary page */
.ep_summary_content_main .well {
    position: relative;
    padding: 35px;
}

.well .copy_tooltip {
    position: absolute;
    top: -1px;
    right: -1px
}

.copy_tooltip .tooltiptext {
    visibility: hidden;
    width: auto;
    max-width: 80em;
    height: auto;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%; 
    left: 50%;
    margin-left: -115px;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
}

.copy_tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 20px;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.copy_tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.hidden_copy_text{
    position: absolute; left: -1000px; top: -1000px;
}
.pid-well {
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
}

.ep_doc_icon{
    float: right;
}

.ep_summary_box_title, .ep_summary_box_body, .ep_sr_title_bar, .ep_sr_content, .ep_sr_collapse_bar
,.ep_tab_panel
,.ep_toolbox_content /* toolbox.css */
,.ep_upload_doc /* upload.css */
,.ep_search_buttons, .ep_search_controls, .ep_search_controls_bottom /* search.css */
,.ep_view_group_by /* view.css */
{
    background-color: transparent;
}
.ep_summary_box_title, .ep_sr_title_bar, .ep_sr_collapse_bar {
    background-image: none;
}

table[border="1"] {
    border: none;
}

table[border="1"] th, table[border="1"] td {
    padding: 5px 5px 5px 0px;
    border: none;
}

table[border="1"] th {
    text-align: center;
}

.ep_sr_content > div > select{
    margin-left: 40%;
}

/*carousel overrides*/
div#lshtm-carousel.panel-body {
    padding: 0px;
}
#lshtm-carousel div.carousel-slide-meta{
    float: none;
    width: auto;
    text-align: center;
}
#lshtm-carousel div.carousel-slide-image{
        width: 100%;
        height: 410px
}
#lshtm-carousel .slick-prev {
    left: 0px
}
#lshtm-carousel .slick-next {
    right: 0px
}
#lshtm-carousel div.carousel {
    width: auto;
}
#lshtm-carousel .btn-primary, #lshtm-carousel .btn-primary:hover, #lshtm-carousel .btn-primary:focus {
    background: transparent;
}

.dropdown {
   display:block !important; 
}

#carousel_open_access {
    background-image: url(/images/open_access.png);
    background-size: cover;
    background-position: center; 
}
#carousel_open_access_tool {
    background-image: url(/images/interactive_tool.png);
    background-size: cover;

    background-position: center; 

}
#carousel_twitter {
    background-image: url(/images/twitter.png);
    background-size: cover;
    background-position: center; 
}
/* fix irstats buttons */

input.irstats2_form_action_button {
    border-radius: 0;
    color: #dad8d6;
}

input.irstats2_form_action_button:hover, input.irstats2_form_action_button:focus, input.irstats2_form_action_button:active  {
    color: #fff;
}

#summary_citation .well {
    margin-bottom: 0px;
}

a.citation_browse_link {
    font-weight: bold;
}
.ui-tooltip {
  text-align:left;
}   
.summary-share-row{
  position: relative;
}

#ep_qrcode canvas {
    width: 147px;
    margin: 0 20px;
}
.twitter-timeline {
    height: 300px !important;
}
.citation_more{
	display: none;
}
.citation_more_link{
    cursor: pointer;
}
