html {
    box-sizing: border-box;
}

main{
    margin-bottom: 7px;
}


*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}
.content-area {
    min-width: 320px;
    max-width: 1024px;
    margin: auto;
}
.wrapper{
    background: #fff;
    min-width:320px;
    max-width:1024px;
    margin:auto;
    padding:10px 15px;
}
.padding-wrapper{
    padding:5px 15px;
}

#masthead{
    background-color: #fff;
    border-top: 1px solid var(--cibse-border-color);
}

#masthead #masthead-border {
    height: 30px;
    background-color: var(--cibse-color-black);
}

header .brand-img,
#colophon img.footer-sec-img{
    width:200px!important;
}

.site-description{
    display:none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

footer{
    background-color: #fff;
    border-top: 30px solid var(--cibse-border-color);
    padding-top: 10px;
    margin-top: 10px;
}


/* BOXES GENERAL */

.box{
    width:100%;
    margin-top: 20px;
    margin-bottom: 0px;
    word-wrap: break-word;
    border: 1px solid var(--cibse-border-color);
}
aside#s_sidebar .box,
.box.box-ad{
    border: 0;
}
.box-header {
    padding: 10px;
    color: #fff;
    background-color: var(--cibse-color-black);
    font-weight: 400;
    display: block;
}
.box-inner-content {
    padding: 10px;
}
.box > a img{
    width:100%;
}
aside .box-header img{
    width:26px;
    display: inline-block;
    margin-bottom: 3px;
}
aside .box-header h3{
    color:#000006;
    display: inline;
    margin:0;
    padding:0;
    font-weight: bold;
    font-size: 1.2em;
}
aside .box .box-title{
    font-size: 1.2em;
    font-weight: bold;
}
aside .box .box-content{
    font-size: 1em;
}
.home-main .box .box-content span a{
    color: #fff;
}

/* END BOXES GENERAL */

/*ASIDE (RIGHT COLUMN)*/

/*sign up newsletter link*/
aside .newsletter-signup{
    padding:10px;
}
@media screen and (min-width: 64em) {
    aside .newsletter-signup{
        margin-top: 0px;
    }
}
aside .box.newsletter-signup a > img{
    margin-bottom: 10px;
    max-width: 60%;
    display: block;
}
aside .box.newsletter-signup a span {
    display: block;
    font-weight: 500;
}
aside .box.newsletter-signup a span:first-of-type {
    color: #fff;
    font-size: 1.5rem !important;
}
aside .box.newsletter-signup a span:last-of-type {
    font-size: 1rem !important;
}
aside .box.newsletter-signup.sponsored-hub a span:last-of-type {
    font-size: 0.9rem !important;
}

/*advertise box*/
aside .advertise-box{
    margin-bottom: 0px!important;
}
aside .advertise-box > img{
    margin-bottom: 10px!important;
}
aside .advertise-box img{
    width:100%;
}
/*end advertise box*/

/*jobs box */
aside .jobs-box{
    border:1px solid #000006;
    padding:5px;
}
/*end jobs */

/*webinar box*/
aside .webinar-box{
    margin-bottom:10px;
    background-color: #15253e;
}
aside .webinar-box p{
    margin: 5px 0px;
}
aside .webinar-box .box-header{
    margin-bottom: 10px;
    padding:10px;
}
aside .webinar-box .aside-webinar-image{
    width:100%;
    display: block;
}
aside .webinar-box .aside-webinar-image img{
    width:100%;
    display: block;
}
aside .webinar-box .box-content .box-title{
    color:#fff;
    margin-top: 0;
}
aside .webinar-box h3{
    color:#fff;
}
aside .webinar-box .box-content .box-title a{
    color:var(--cibse-color-black);
}
aside .webinar-box .box-content{
    color:var(--cibse-color-black);
    padding:0px 10px 10px 10px;
}
aside .webinar-box .box-content .aside-webinar-links p{
    padding:5px 0px;
}
aside .webinar-box .box-content .aside-webinar-links p a
{
    color: var(--cibse-link-color-black);
    font-weight: bold;
}
/*end webinar box*/

/*cpd box*/
aside .aside-cpd-box{
    border:1px solid #000006;
    padding:0px;
    background-color: #9da1a2;
    border-color: #9da1a2;
}
aside .aside-cpd-box .aside-cpd-img-container img
{
    width: 100%;
}
aside .aside-cpd-box h3{
    color:#fff;
}
.aside-cpd-box p,aside .aside-cpd-box p a{
    color:var(--cibse-color-black);
}
aside .aside-cpd-box .box-header{
    margin-bottom: 10px;
    padding:10px;
}
aside .aside-cpd-box .webinar-item{
    margin-bottom: 10px;
}
aside .aside-cpd-box .box-title{
    margin: 0px 0px 5px 0px;
    padding: 0px 10px 0px 10px;
}
aside .aside-cpd-box .box-content{
    margin: 0px 0px 5px 0px;
    padding: 0px 10px 0px 10px;
}
aside .aside-cpd-box .aside-more-cpd-link{
    margin: 10px 0px 5px 0px;
    padding: 0px 10px 0px 10px;
}
aside .aside-cpd-box .aside-more-cpd-link a{
    font-weight: bold;
    font-size: 16px;
}
aside .aside-cpd-box .aside-cpd-sponsor{
    padding: 10px;
}
aside .aside-cpd-box .aside-cpd-sponsor p{
    margin:0;
    padding:0;
}
aside .aside-cpd-box .sponsor-img-container img{
    max-width: 150px;
    display: block;
}
aside .aside-cpd-box .aside-cpd-img-container img{
    width: 100%;
    display: block;
}
/*end cpd box*/

/*whitepaper box*/
aside .whitepaper-box{
    margin-bottom:10px;
}
aside .whitepaper-box p{
    margin: 5px 0px;
}
aside .whitepaper-box .box-header{
    padding:10px;
    margin-bottom: 10px;
}
aside .whitepaper-box .aside-whitepaper-image{
    width:100%;
    display: block;
}
aside .whitepaper-box .aside-whitepaper-image img{
    width:100%;
    display: block;
}
aside .whitepaper-box .box-content .box-title{
    color:var(--cibse-color-black);
    margin-top: 0;
}
aside .whitepaper-box h3{
    color:#fff;
}
aside .whitepaper-box .box-content .box-title a{
    color:var(--cibse-color-black);
}
aside .whitepaper-box .box-content{
    color:var(--cibse-color-black);
    padding:0px 10px 10px 10px;
}
aside .whitepaper-box .box-content .aside-whitepaper-links p{
    padding:5px 0px;
}
aside .whitepaper-box .box-content .aside-whitepaper-links p a
{
    color: var(--cibse-color-black);
    font-weight: bold;
}
/*end whitepaper box*/

@media screen and (min-width: 48em) {
    aside .newsletter-signup .newsl-img{
        width: 25%;
    }
    aside{

    }
    aside .aside-left-col{
        padding-right:10px;
    }
    aside .aside-right-col{
        padding-left:10px;
    }
}
@media screen and (min-width: 64em) {

    aside .aside-left-col{
        padding-right:0;
    }
    aside .aside-right-col{
        padding-left:0;
    }
}

/* Box colours */

aside#s_sidebar .box-header {
    background-color: var(--cibse-box-header-background-color);
}

aside#s_sidebar .box {
    background-color: var(--cibse-box-background-color);
}

aside#s_sidebar .box.newsletter-signup {
    background-color: var(--cibse-box-header-background-color);
}

aside#s_sidebar .box.jobs-box {
    background-color: #fff;
    border: 1px solid var(--cibse-color-black);
}
