﻿@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,300&subset=latin,latin-ext);

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

Health Sciences BASECAMP CSS

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

#title h1 {
    padding: 200px 0px 14px 23px;
    font-size: 38px;
    line-height: 1.2;
    background: url(gfx/title.png) 24px 1px 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 p + h2:first-of-type {
	margin-top: 28px;
}
#right {
    background-size: 26px 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) 24px 25px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
}
body.frontpage #title h1.notopimage {
    max-width: 650px;
}

/* Table */

#content .break-time {
  background: #f9f9f9;
}
body.OTAGO672820 #content table {
  border: 1px solid #dddddd;
}
body.OTAGO672820 #content table tr td,
body.OTAGO672820 #content table tr td p {
  font-size: 13px;
  padding-bottom: 14px;
  padding-top: 14px;
}

/* Sponsors box */

#content .sponsors-box {
  border: 1px solid #dddddd;
  border-radius: 3px;
  clear: both;
  margin-bottom: 21px;
  min-height: 100px;
  padding: 14px;
  overflow: auto;
}
#content .sponsors-box img {
  border: 0;
  float: right;
  padding: 0;
  margin: 0;
  width: 150px;
}
#content .sponsors-box h3 {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-weight: 300;
  float: left;
  padding-top: 21px;
    max-width: 70%;
  line-height: 1.5;
}
#content .sponsors-box h3 a {
  border-bottom: 0;
}
#content .sponsors-box p {
  margin: 0;
  padding: 0;
}

/* Image gallery */

.OTAGO708219 #content p a.player {
  border-bottom: none;
  margin-right: 46px;
  margin-bottom: 28px;
  display: block;
  float: left;
}
.OTAGO708219 #content p a.player img {
  padding: 0;
  border: none;
}
.OTAGO708219 #content p a.player:nth-of-type(3n) {
  margin-right: 0;
}

/* 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;
    }
    #content .sponsors-box h3 {
      padding-top: 35px;
      max-width: initial;
      line-height: initial;
    }
}

/* 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: 280px;
        font-size: 36px;
    }
    body.frontpage #title h1 {
        padding: 177px 0px 0px 0px;
        background: url(gfx/title.png) 14px 18px no-repeat;
        background-size: 280px;
        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;
    }
}