@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,400italic);

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

LiDARRAS CSS

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

body {
    background: url(gfx/background.png) repeat-x 0 0;
}
nav#global_nav a.primary {
    background: url(gfx/union-jack-flag.svg) 0 bottom no-repeat;
    padding-left: 28px;
    padding-top: 14px;
    margin-top: 14px;
    display: block;
    border-top: 1px solid #2e4b7a;
}
.no-svg nav#global_nav a.primary { background: url(gfx/union-jack-flag.png) 0 bottom no-repeat; }
nav#global_nav a.secondary {
    background: url(gfx/french-flag.svg) 0 center no-repeat;
    padding-left: 28px;
}
.no-svg nav#global_nav a.secondary { background: url(gfx/french-flag.png) 0 center no-repeat; }
#title h1 {
    padding: 330px 0px 14px 23px;
    font-size: 38px;
    line-height: 1.25;
    background: url(gfx/title.png) 24px 100px no-repeat;
    opacity: 1;
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 300;
    color: #78a4c1;
    position: static;
	margin-top: 3px;
    text-rendering: optimizeLegibility;
}
#title h1.notopimage {
    max-width: 650px;
}
#wrapper {
    background: url(gfx/banner.jpg) no-repeat center 0;
}
.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;
    clear: both;
    border-bottom: none;
}
#content h2:first-of-type {
    margin-top: 0;
}
#content p,
#content ul,
#content ol {
    font-family: 'Open Sans', Helvetica, Arial, Geneva, sans-serif;
    font-weight: 400;
    line-height: 1.6;
}
#content p + h2:first-of-type {
	margin-top: 28px;
}
body.OTAGO613271 #content h2 {
    margin-bottom: 0px;
}
body.OTAGO613271 #content h3 {
   margin-bottom: 14px;
    color: #888888;
    font-size: 18px;
}
#content hr {
    margin-top: 35px;
    border-top: 1px solid #e4e4e4;
}
#content .grid-half {
    width: 46.4%;
    margin-right: 7.2%;
    float: left;
    margin-bottom: 35px;
}
#content .grid1 {
    margin-bottom: 46px;
}
#content .grid-half img,
#content .grid1 img {
    max-width: 100%;
    padding: 0;
    margin: 0;
    transition: 0.2s ease all;
    border: none;
}
#content .grid1 img:hover,
#content .grid-half img:hover {
    box-shadow: 0 0 14px #cccccc;
}
#content .grid1 a.player {
    position: relative;
    border-bottom: none;
}
#content .grid-half a.player {
    position: relative;
    border-bottom: none;
    display: block;
}
#content .grid1 a.player::after,
#content .grid-half a.player::after {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    background: url(/_assets/_gfx/expand-icon.png) no-repeat;
    background-size: 20px;
    position: absolute;
    bottom: 20px;
    right: 15px;
    transition: all 0.2s ease;
}
body.OTAGO613527 #content .grid1:nth-of-type(3n+1) {
    clear: left;
}
#right {
    background-size: 26px 100%;
}


/*  FRONTPAGE  */
body.frontpage #title h1 {
    font-size: 35px;
}
body.frontpage #content iframe {
    margin-top: 21px;
}


/* Hi-dpi */

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

/* 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;
    }
    #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 { background: none; }
    #wrapper {
        background-size: 1500px;
        background-position: -550px 0;
    }
    .titleinner { width: 100%; }
    .titleinner h1 {
       max-width: 97% !important;
    }
    #title h1 {
        padding: 190px 4% 0px 4%;
        background: url(gfx/title@2x.png) 28px 42px no-repeat;
        background-size: 179px;
        font-size: 36px;
        line-height: 1.27;
        box-sizing: border-box;
    }
    #content .grid1 img,
    #content .grid-half img {
        float: none;
    }
    #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;
    }
}