@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: local('Open Sans Light'), local('OpenSans-Light'), url(/_assets/_fonts/opensans/opensans-light.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-light.woff) format('woff'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300; src: local('Open Sans Light Italic'), local('OpenSans-Light-Italic'), url(/_assets/_fonts/opensans/opensans-lightitalic.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-lightitalic.woff) format('woff'); }

/***************** 

MacKenzie Cancer Research Group BASECAMP CSS

*****************/

#title h1 {
    padding: 200px 0px 14px 23px;
    font-size: 36px;
    line-height: 1.2;
    background: url(gfx/title.png) 3px 12px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #1b568c;
    position: static;
	max-width: 627px;
	margin-top: 3px;
    text-rendering: optimizeLegibility;
}
#title h1.notopimage {
   max-width: 650px;
}
.titleinner {
    background: url(gfx/banner-inner.jpg) center 0px no-repeat;
    padding-top: 3px;
    padding-bottom: 0px;
}
.titleinner img {
    display: none;
}
.titleinner h1 {
    margin-top: 0px;
}
#content h2 {
    padding-bottom: 7px;
    font-size: 28px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    line-height: 1.3;
    margin-top: 28px;
    text-rendering: optimizeLegibility;
}
#content h2:first-of-type {
    margin-top: 0;
}
#content h3 {
    margin-bottom: 14px;
}
#content p + h2:first-of-type {
	margin-top: 28px;
}
#right {
    background-size: 26px 100%;
}

/* Profile box */

#content .profile-box {
    background: #dae4ea;
    border: 1px solid #c0d1dc;
    overflow: hidden;
    padding: 14px;
    margin-bottom: 21px;
}
#content .profile-box p img {
    margin-bottom: 0;
    max-width: 140px;
}
#content .profile-box p.smalltag {
    margin-bottom: 35px;
    font-family: Georgia, "Times New Roman", Times, serif;
    letter-spacing: 0.05em;
}
#content .page_subtitle {
    font-size: 18px;
    line-height: 21px;
    margin: 0 0 7px 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: rgb(51, 51, 51);
}

/* Our People */

.OTAGO500614 #content h2 {
    clear: both;
}
.OTAGO500614 #content .grid1 {
    box-shadow: 0 0 10px #e4e4e4;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    margin-bottom: 35px;
    min-height: 190px;
    border-radius: 3px;
    width: 28.6%;
    margin-right: 7.1%;
    transition: all 0.3s ease-out;
    
}
.OTAGO500614 #content .grid1:hover {
    box-shadow: 0 10px 20px silver;
   transform: translateY(-1px)
}
.OTAGO500614 #content .grid1:nth-of-type(3n) {
    margin-right: 0;
}
.OTAGO500614 #content .hide {
    display: none;
}
.OTAGO500614 #content .clear {
    clear: left;
}
.OTAGO500614 #content .grid1 h3 {
    font-size: 17px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    padding-left: 14px;
    padding-right: 14px;
    margin-top: 24px;
    margin-bottom: 14px;
    position: relative;
}
.OTAGO500614 #content .grid1 h3:before {
    background: #ffffff;
    content: '';
    height: 3px;
    left: 0;
    top: -14px;
    transition: all 0.3s ease-out;
    width: 0%;
}
.OTAGO500614 #content .grid1:hover h3:before {
    background: #f9c000;
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    top: -14px;
    width: 45%;
}
.OTAGO500614 #content .grid1 p {
    margin-bottom: 0;
}
.OTAGO500614 #content .grid1 a {
    border-bottom: none;
}
.OTAGO500614 #content .grid1 img {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 2px 2px 0 0;
}
.OTAGO500614 #content .grid1.noshadow {
    border: none;
    box-shadow: none;
    min-height: 0;
}

/* BEGIN Our people (hacky fix) */
.OTAGO500614 #content #box3 {
    margin-right: 7.1%;
}
.OTAGO500614 #content #box4 {
    margin-right: 0;
}
/* END Our people (hacky fix) */

OTAGO500614 #content {
    display: flex;
    flex-wrap: wrap;
}
.OTAGO500614 #content :not(.grid1) {
    width: 100%;
}

/*  FRONTPAGE  */

body.frontpage {
    background-position: center top;
}
body.frontpage .titleinner {
    background: url(gfx/banner.jpg) center 0px no-repeat;
    padding-top: 14px;
    padding-bottom: 21px;
}
body.frontpage #title h1 {
    padding: 270px 0px 0px 23px;
    font-size: 34px;
    line-height: 1.2;
    background: url(gfx/title.png) 3px 40px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
body.frontpage #title h1.notopimage {
    max-width: 650px;
}
body.frontpage #content .grid_third img {
    margin: 0 0 7px 0;
    padding: 0;
    border: none;
    max-width: 100%;
    width: 100%;
}
body.frontpage #content .grid_third a {
    border: none;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    font-size: 17px;
}

/* Tablet styles */

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #features {
        width: 650px;
    }
}

@media only screen and (max-width: 768px) {
	#title h1 {
        padding-right: 0;
    }
    body.frontpage #title h1 {
        padding-right: 0;
    }
    #right {
        border-bottom: none;
    }
    #features .events {
        width: 418px;
        margin-left: 232px;
        border-left: none;
    }
    #features .events article {
        margin-top: 14px;
    }
    #features .events article:first-child {
        margin-top: 14px;
    }
}

@media (-webkit-min-device-pixel-ratio: 1.5), /* Webkit-based browsers */
      (min--moz-device-pixel-ratio: 1.5),    /* Older Firefox browsers (prior to Firefox 16) */
      (min-resolution: 1.5dppx),             /* The standard way */
      (min-resolution: 192dpi)             /* dppx fallback */ { 
          #title h1 {
               background: url(gfx/title@2x.png) 3px 12px no-repeat;
         background-size: 298px;
          }
          body.frontpage #title h1 {
               background: url(gfx/title@2x.png) 3px 40px no-repeat;
         background-size: 298px;
          }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body.frontpage .titleinner,
    .titleinner {
        background: url(gfx/banner-inner.jpg) -400px 0px no-repeat;
        width: 92%;
    }
    #title h1 {
        padding: 200px 0px 0px 0px;
        background: url(gfx/title.png) 14px 28px no-repeat;
        background-size: 240px;
        font-size: 36px;
    }
    body.frontpage #title h1 {
        padding: 177px 0px 0px 0px;
        background: url(gfx/title.png) 14px 14px no-repeat;
        background-size: 240px;
        font-size: 36px;
    }
    #features .events {
        width: 97%;
        margin-left: 0px;
        padding: 0;
    }
    #features .events article {
        width: 47.5%;
        margin-right: 5%;
    }
    #features .events article:nth-of-type(2n) {
        margin-right: 0;
    }
    /* Our people */
    .OTAGO500614 #content .grid1 { min-height: 150px; }
    .OTAGO500614 #content .grid1 img { margin-left: 0;
        float: none;
        max-width: 100%;
    }
    .OTAGO500614 #content .grid1 h3 {
        font-size: 14px;
        padding: 0 7px;
    }
}

@media only screen and (max-width: 300px) {
    .OTAGO500614 #content .grid1 {
        width: 100%;
    }
    .OTAGO500614 #content .grid1 img {
        width: 100%;
    }
}

@media (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 700px),
      (min--moz-device-pixel-ratio: 1.5) and (max-width: 700px),
      (min-resolution: 1.5dppx) and (max-width: 700px),
      (min-resolution: 192dpi) and (max-width: 700px) { 
           #title h1 {
               background: url(gfx/title@2x.png) 23px 12px no-repeat;
               background-size: 298px;
           }
           body.frontpage #title h1 {
               background: url(gfx/title@2x.png) 23px 40px no-repeat;
               background-size: 298px;
           }
}