@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans Regular'), local('OpenSans-Regular'), url(/_assets/_fonts/opensans/opensans-regular.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-regular.woff) format('woff'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Semibold'), local('OpenSans-semibold'), url(/_assets/_fonts/opensans/opensans-semibold.woff2) format('woff2'), url(/_assets/_fonts/opensans/opensans-semibold.woff) format('woff'); }
@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'); }


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

New Zealand Conflict of Laws Summit CSS

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

body {
    background: url(gfx/background.png) repeat-x;
}
#title h1 {
  padding: 300px 0px 21px 23px;
  font-size: 38px;
  line-height: 1.25;
  background: url(gfx/title.png) 22px 107px no-repeat;
  opacity: 1;
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 300;
  color: #84998b;
  position: static;
  margin-top: 3px;
  text-rendering: optimizeLegibility;
}
#content p,
#content ul,
#content ol,
#content table,
#content dl,
#right p,
#right li {
  font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-display: swap;
}
#right p,
#right li,
#right table,
#right dl {

}
#title h1.notopimage {
    max-width: 650px;
}
#wrapper {
    background: url(gfx/banner.png) center 0px no-repeat;
}
#wrapper::before {
    content: '';
    display: block;
    background: url(/_assets/OtagoCorporate/gfx/future-students/tessellations.png) -7px 0 no-repeat;
    max-width: 100%;
    width: 850px;
    height: 300px;
    position: absolute;
}
.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: 35px;
    text-rendering: optimizeLegibility;
    border-bottom: none;
}
#content h2:first-of-type {
    margin-top: 0;
}
#content p + h2:first-of-type {
	margin-top: 35px;
}
#content ul {
  margin-left: 16px;
}

/* Articles */

#content dl {
  margin-top: 35px;
  margin-bottom: 21px;
  background: #f5f5f5;
  border: 1px solid #dddddd;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 3px;
}
#content dt,
#content dd {
  border: none;
}
#content dt {
  width: 15%;
  color: #777777;
}
#content dd {
  width: 80%;
}

/* Categories */

#title h1 .category-search-term {
  color: #333333;
}
#content h2.category-heading {
  font-size: 24px;
  margin-bottom: 7px;
  border-top: 1px solid #dddddd;
  padding-top: 21px;
  margin-top: 14px;
}
#content h2.category-heading:first-of-type {
  border-top: none;
  padding-top: 0;
}
#content h2.category-heading + p.smalltag {
  color: #888888;
  font-style: normal;
  letter-spacing: 0.01em;
}
#content p.topofpage {
  font-size: 10px;
}
#right {
  background: none;
}

/*  FRONTPAGE  */

body.frontpage {
    background-position: center top;
}
body.frontpage #title h1 {
    font-size: 28px;
    line-height: 1.3;
}
body.frontpage #content h2 {
    font-size: 25px;
}
body.frontpage #content h2:first-of-type {
    margin-top: 35px;
}
body.frontpage #content #box1 h2:first-of-type {
    margin-top: 7px;
}
/*body.frontpage #content #box1 {
    border: 1px solid #dddddd;
    padding: 14px;
    border-radius: 3px;
    background: #f5f5f5;
}*/
body.frontpage #content ul {
    margin-left: 16px;
}


/* Hi-dpi */

@media (-webkit-min-device-pixel-ratio: 1.5),
       (min--moz-device-pixel-ratio: 1.5),
       (min-resolution: 1.5dppx),
       (min-resolution: 192dpi) {
          #title h1 {
             background: url(gfx/title@2x.png) 22px 100px no-repeat;
             background-size: 213px;
          }
}


@media only screen and (min-width: 701px) and (max-width: 1160px) {
  #contentwrapper, .topnavinner, .titleinner, footer.wrapper, div.footer_wrapper {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #contentwrapper, .topnavinner, footer.wrapper, div.footer_wrapper {
    max-width: 1114px;
  }
  ul#breadcrumbs {
    width: 100%;
    max-width: 70%;
    overflow: hidden;
    margin-left: 0;
    padding-left: 232px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
      font-size: 9px;
  }
  #contentwrapper {
    margin: 0;
    padding: 0;
    width: 98%;
  }
  #globalsearch {
    max-width: 232px;
    width: 100%;
  }
  div#nav_holder {
    max-width: 100%;
    width: 100%;
  }
  .titleinner {
    max-width: 100%;
    padding-left: 232px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  div#nav_wrapper {
    left: 23px;
  }
  #content {
    width: 100%;
    padding: 12px 0px 46px 252px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  #right {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
      width: 100%;
    padding-left: 253px;
    margin-left: 0;
  }
  body.frontpage #content, #content.otgx {
    max-width: 100%;
   }
  body.frontpage #title h1.notopimage {
    max-width: 94%;
  }
}

@media only screen and (max-width: 1000px) {
    #wrapper {
        background-position: -70px 0;
    }
}

@media only screen and (max-width: 850px) {
  ul#breadcrumbs {
    display: none;
  }
}


@media only screen and (max-width: 768px) {
  .topnavinner {
    max-width: 98%;
  }
  #globalsearch form input.searchinput {
    width: 80%;
  }
  #wrapper {
    width: 100%;
  }
  #right {
      border-top: none;
    }
  #right .relatedinfo, #right .rightwidget {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: 0;
    padding-right: 14px;
  }
  #right .relatedinfo ul li {
    width: auto;
    float: none;
  }
  #right form, #right fieldset, #right .search {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: 0;
  }
  div#nav_holder {
    max-width: 100%;
    width: 100%;
  }
}

@media only screen and (min-width: 701px) and (max-width: 768px) {
  div#nav_holder {
    left: 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;
    }
}

/* Mobile styles*/

@media only screen and (max-width: 700px) {
    div#nav_holder { left: -50em; }
    nav#global_nav {
        width: 80%;
    }
    body {
        background: none;
    }
    #wrapper {
        background-size: 900px;
        background-position: -200px 0;
    }
    #wrapper:before {
        height: 242px;
    }
    body.frontpage .titleinner,
    .titleinner {
        width: 100%;
    }
    #title h1,
    body.frontpage #title h1 {
        padding: 220px 4% 21px 4%;
        background: url(gfx/title.png) 28px 55px no-repeat;
        background-size: 150px;
        font-size: 32px;
    }
    body.frontpage #title h1 {
        font-size: 24px;
        line-height: 1.4;
    }
    #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;
    }
}

@media only screen and (max-width: 500px) {
    #wrapper {
        background-size: 700px;
        background-position: -160px 0;
    }
    #wrapper:before {
        height: 188px;
    }
    #title h1,
    body.frontpage #title h1 {
      background: url(gfx/title.png) 18px 35px no-repeat;
      background-size: 150px;
      padding-top: 165px;
    }
    #content dt {
      width: 100%;
      margin-bottom: 0;
      padding-top: 0;
    }
    #content dd {
      width: 100%;
      margin-top: 0;
      padding-top: 0;
      margin-bottom: 7px;
    }
}
