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

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

Sciences BASECAMP CSS

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

#title h1 {
    padding: 200px 0px 14px 23px;
    font-size: 38px;
    line-height: 1.2;
    background: url(gfx/title.png) -20px 20px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #218ac1;
    position: static;
	margin-top: 3px;
    text-rendering: optimizeLegibility;
    background-size: 400px;
}
#title h1.notopimage {
    max-width: 650px;
}
.titleinner {
    background: url(gfx/banner-inner.jpg) center 0px no-repeat;
    padding-top: 3px;
    padding-bottom: 21px;
}
.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;
}
#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: 40px;
    line-height: 1.2;
    background: url(gfx/title.png) 23px 50px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    background-size: 400px;
}

/* Table */

.OTAGO707651 #content h2 {
    border-bottom: none;
}
.OTAGO707651 #content tbody {
    border-top: 1px solid #e4e4e4;
}
.OTAGO707651 #content td:nth-of-type(1) {
  background: #f5f5f5;
  width: 12%;
  padding-right: 1.5%;
  height: 35px;
  text-align: right;
  vertical-align: middle;
  font-weight: bold;
}
.OTAGO707651 #content table td {
    border-right: 1px solid #e4e4e4;
}
.OTAGO707651 #content table h3 {
    font-size: 16px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
}

/* Prefooter */

#prefooter {
  width: 1114px;
  padding: 0 20px;
  margin: 0 auto 10px;
  position: relative;
  clear: both;
}
#prefooter .sponsor-header {
    width: 882px;
    margin-left: 232px;
    font-size: 28px;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 28px;
}
#prefooter .sponsor-header:nth-of-type(2) {
    margin-top: 21px;
    margin-bottom: 0;
}
#prefooter .frontpageaccreditation {
  width: 882px;
  margin-left: 232px;
}
#prefooter .frontpageaccreditation a {
  display: inline-block;
  margin: 0 7px 7px 0;
  margin-left: 68px
}
#prefooter .frontpageaccreditation a:first-of-type {
  margin-left: 0;
}
#prefooter .frontpageaccreditation a img {
  height: 80px;
}
#prefooter .frontpageaccreditation:nth-of-type(2) a:first-of-type img {
  height: 60px;
  padding-bottom: 21px;
}
#prefooter .frontpageaccreditation:nth-of-type(2) a:nth-of-type(2) img {
  height: 90px;
}
#prefooter .frontpageaccreditation .aucks-logo {
    margin-left: 0;
    display: block;
}
#prefooter .frontpageaccreditation .aucks-logo img {
  height: 70px;
}
#prefooter .frontpageaccreditation .sciences-logo {
    margin-left: 0;
    display: block;
}
#prefooter .frontpageaccreditation .surveying-logo {
    margin-left: 0;
    display: block;
}
#prefooter .frontpageaccreditation .locus-logo img {
  height: 70px;
}
#prefooter .frontpageaccreditation .gri-logo img {
  height: 70px;
}

/* Keynote speakers */

body.OTAGO707650 #content h3 img {
    float: right;
}
body.OTAGO707650 #content hr {
    clear: both;
}

/* 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;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    body.frontpage .titleinner,
    .titleinner {
        background: url(gfx/banner-inner.jpg) -500px 0px no-repeat;
        width: 92%;
    }
    #title h1 {
        padding: 200px 0px 0px 0px;
        background: url(gfx/title.png) 14px 40px no-repeat;
        background-size: 240px;
        font-size: 36px;
    }
    body.frontpage #title h1 {
        padding: 177px 0px 0px 0px;
        background: url(gfx/title.png) 14px 27px no-repeat;
        background-size: 300px;
        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;
    }
    #prefooter .frontpageaccreditation {
        width: 100%;
        margin-left: 0;
    }
    #prefooter .frontpageaccreditation a:last-of-type {
        margin-left: 0;
        margin-top: 21px;
    }
    #prefooter .sponsor-header {
        width: 100%;
        margin-left: 0;
    }
}