/*--------------------------------------------------------------
## STATIC CONTENT GENERAL
--------------------------------------------------------------*/
.tml-action-links,.forgetmenot, .message, .entry-footer{
    display: none;
}
.login-page-container .message{
    display: block;
}
.tml .tml-links {
    display: inline-block;
    list-style: none;
    margin: 0.5em auto;
    padding: 0;
    text-align: center;
}
.tml .tml-links li {
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    float: left;
    line-height: 1;
    list-style: none;
    margin: 0 0.5em 0 0;
    padding: 0 0.5em 0 0;
}
.tml .tml-links li:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}
/*--------------------------------------------------------------
## Log in Page
--------------------------------------------------------------*/
.login-content label,input{
    display:inline-block!important;
}
.login-content label{
    border-radius: 0!important;
    width:100px;
}
.login-content{
    margin-top:0;
}

/*--------------------------------------------------------------
## Advertise Page and Media Pack form
--------------------------------------------------------------*/
.mediapack-form{
    text-align: left;
}
.mediapack-form label{
    display: block;
    width:110px;
}
.mediapack-form input{
    display: block;
    width:300px;
}
.mediapack-form input[type="submit"]{
    display: block;
    width:100px;
}

@media screen and (min-width: 48em) {
    .mediapack-form label{
        display: inline-block;
    }
    .mediapack-form input{
        display: inline-block;
    }
}
/*--------------------------------------------------------------
## Register Page
--------------------------------------------------------------*/
#registerform p{
    margin:7px 0px;
}
#registerform label,input[type="text"], input[type="password"]{
    display:block!important;
}
#registerform label[for="member"], #registerform label[for="membershipnumber"], #registerform label[for="otherinstitution"],#registerform label[for="otherjob"]{
    width: 100%;
}
#registerform input[type="text"]{
    display:inline-block!important;
    width:230px;
}
#registerform label{
    border-radius: 0!important;
    width:105px;
}
#registerform .marg-left-reg{
    margin-left: 0px;
}
#registerform .reg-radio{
    display:inline-block;
}

@media screen and (min-width: 35.5em) {
    #registerform label,input[type="text"],input[type="password"]{
        display:inline-block!important;
    }
    #registerform .marg-left-reg{
        margin-left: 106px;
    }
}

/*--------------------------------------------------------------
## Search Page
--------------------------------------------------------------*/
.search-main .search-box-res{
    border-bottom: 1px solid #000;
    color:#000;
}
.search-main .search-box-res a, .search-main .search-box-res a:hover, .search-main .search-box-res a:visited{
}

.archive-results a {
    color: var(--cibse-link-color-blue);
    font-weight: 600;
}

/*--------------------------------------------------------------
## Archive Page
--------------------------------------------------------------*/
.general-archive-box{
    border-bottom: 1px solid #000;
}

/*--------------------------------------------------------------
## Sponsored Technical Hub
--------------------------------------------------------------*/
.sponsored-banner {
    background-color: #d3effb;
    margin-top: -10px;
    position: relative;
}
.sponsored-banner .sponsor-banner-text,
.sponsored-posts .sponsored-posts-header .sponsor-banner-text {
    vertical-align: top;
    display: inline-block;
    position: absolute;
    top: 10%;
    padding-left: 10px;
}
@media screen and (min-width: 35.5em) {
    .sponsored-banner .sponsor-banner-text,
    .sponsored-posts .sponsored-posts-header .sponsor-banner-text {
        top: 40%;
    }
    .sponsored-posts .sponsored-posts-header .sponsor-banner-text {
        top: 35%;
    }
}

.page-header .blue-text {
    color: #19a0d8;
}

.sponsored-posts {
    background-color: #eee;
    border-bottom: 1px solid var(--cibse-border-color);
    margin-top: 20px;
}
.sponsored-posts .sponsored-posts-header {
    color: #fff;
    background-color: var(--cibse-color-black);
    padding: 5px 5px 0px 5px;
    position: relative;
    min-height: 40px;
}
.sponsored-posts .case-study-block {
    border-bottom: 1px solid var(--cibse-border-color);
}
.sponsored-posts .sponsored-posts-footer {
    color: #fff;
    background-color: var(--cibse-color-black);
}
.sponsored-posts .sponsored-posts-footer p {
    margin: 0;
    padding: 10px;
}
.sponsored-posts .sponsored-posts-footer a {
    color: #fff;
}

.sponsored-sidebar .related-news,
.sponsored-sidebar .related-cpd {
    margin-bottom: 30px;
    color: #fff;
}
.sponsored-sidebar .related-news img,
.sponsored-sidebar .related-cpd img{
    display: block;
}
.sponsored-sidebar .related-news {
    background-color: #19a0d8;
}
.sponsored-sidebar .related-cpd {
    background-color: #9da1a2;
}
.sponsored-sidebar .related-news .box-header,
.sponsored-sidebar .related-cpd .box-header {
    padding: 10px;
    margin-bottom: 10px;
}
.sponsored-sidebar .related-news .box-content,
.sponsored-sidebar .related-cpd .box-content {
    color: var(--cibse-color-black);
    padding: 0px 10px 10px 10px;
}
.sponsored-sidebar .related-news h3,
.sponsored-sidebar .related-cpd h3,
.sponsored-sidebar .related-news .box-title a,
.sponsored-sidebar .related-cpd .box-title a {
    margin-bottom: 30px;
    color: var(--cibse-color-black);
}
.sponsored-sidebar .related-news h3,
.sponsored-sidebar .related-cpd h3 {
    margin-bottom: 30px;
    color: #fff;
}
.sponsored-sidebar .related-news p,
.sponsored-sidebar .related-cpd p {
    margin: 5px 0;
}
.sponsored-sidebar .related-news > p:first-of-type,
.sponsored-sidebar .related-cpd > p:first-of-type {
    margin-bottom: 0;
}
.sponsored-sidebar .related-news hr,
.sponsored-sidebar .related-cpd hr {
    margin-bottom: 0;
    height: 1px;
    background-color: #fff;
}

.postid-10126 .entry-content .feat-image,
.postid-10375 .entry-content .feat-image {
    display: none;
}
.site-content-margin-advert {
    cursor: pointer;
    background-position: center 255px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: auto;
    transition: background-position 200ms ease;
}

@media screen and (min-width: 64em) {
    .site-content-margin-advert {
        background-position-y: 285px;
    }
}

.products-header {
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--cibse-color-yellow);
}
.products-header p {
    margin: 0;
    color: var(--cibse-color-black);
}
.products-header p:first-of-type {

}
.products-header p:last-of-type {
    padding-top: 10px;
    font-size: 1.5em;
    font-weight: 700;
}
.products-header--black {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
.products-header--black .products-header__left {
    width: calc(100% - 120px);
}
.products-header--black .products-header__right {
    width: 120px;
    text-align: right;
    align-self: center;
    color: var(--cibse-color-black);
    font-weight: 400;
}
@media screen and (min-width: 48em) {
    .products-header--black .products-header__left {
        width: calc(100% - 186px);
    }
    .products-header--black .products-header__right {
        width: 185px;
    }
}
.products-header--black p {
    margin: 0;
    padding: 10px 10px 0 10px;
    width: 100%;
    color: var(--cibse-color-black);
    background-color: var(--cibse-color-yellow);
}

/* Fix bleed of takeover graphics into the main body */
#main,
#s_sidebar {
    background: #fff;
}
