/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    background-color: #262626;
    color: #fff;
    line-height: 1.6;
}

header {
    height: 130px;
    margin-top: 30px;
    margin-bottom: 30px;
}

header img {
    margin-left: 15px;
    margin-right: 15px;
    float: left;
}

nav { 
    width: 818px;
    height: 130px;
    margin-left: 15px;
    padding-left: 145px;
    padding-top: 100px;
    background-image: url(/images/redKnightsLogo.png);
    background-position: top left;
    background-repeat: no-repeat;
    float: left; 
}

nav a {
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    padding-right: 20px;
}

nav a:hover { color: #fbbf24; }

nav a.selected { color: #c90022; }

.content {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 3px solid #c90022;
    border-bottom: 3px solid #c90022;
    clear: both;
    overflow: auto;
}

footer { 
    margin-top: 25px;
    font-size: 11px;
    text-align: center;
}

.heroImage {
    width: 1024px;
    height: 550px;
    background-image: url(/images/heroShot.png);
    background-position: top left;
    background-repeat: no-repeat;
    clear: both;
}

.homeContent { 
    margin-top: 50px;
    clear: both; 
}

.homeContent .homeText {
    width: 291px;
    margin-left: 25px;
    margin-right: 25px;
    float: left;
}

.homeContent .homeText2 {
    width: 607px;
    margin-left: 25px;
    margin-right: 25px;
    float: left;
}

.map-container {
    max-width: 992px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

.map-wrapper {
    width: 500px;
    height: 625px;
    margin-left: 50px;
    margin-right: 100px;
    position: relative;
    background-image: url('/images/newZealandMap.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    float: left;
}

.map-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #fbbf24;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #262626;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out;
    z-index: 10;
}

.map-point:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 10px #fbbf24;
    border: 2px solid #f1f1f1;
}

/* tooltips are now siblings of points */
.tooltip {
    position: absolute;
    background-color: #262626;
    color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 9999; /* above all points */
    transform: translateX(-50%);
    font-size: 15px;
}

.info-panel {
    padding: 20px;
    background-color: #333;
    border-radius: 8px;
    border: 1px solid #444;
    width: 320px;
    float: left;
}

#info-image {
    text-align: center;
}

/* Pixel positions for points */
#whangarei-point { top: 87px; left: 330px; }
#auckland-point { top: 135px; left: 340px; }
#tokoroa-point { top: 210px; left: 380px; }
#gisborne-point { top: 218px; left: 458px; }
#opunake-point { top: 250px; left: 310px; }
#palmerstonNorth-point { top: 300px; left: 370px; }
#wellington-point { top: 333px; left: 342px; }
#nelson-point { top: 335px; left: 295px; }
#christchurch-point { top: 435px; left: 250px; }
#sheffield-point { top: 425px; left: 225px; }
#cromwell-point { top: 510px; left: 145px; }
#bluff-point { top: 568px; left: 123px; }

h1, h2, h3 {
    font-family: "Oswald", sans-serif;
    font-weight: 500;
}

h1 { color: #c90022; }

h3 { color: #fbbf24; }

p {
    font-size: 15px;
    margin-bottom: 12px;
}

.content a, .info-panel a, .homeText a { 
    color: #fbbf24; 
    text-decoration: none;
}

.content a:hover, .info-panel a:hover, .homeText a:hover { color: #c90022; }

a.button {
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #fbbf24;
    color: #262626;
    font-weight: 700;
    background-image: linear-gradient(to bottom, #fbbf24, #fbd92f);
}

a.button:hover {
    color: #fff;
    background-image: linear-gradient(to bottom, #fbd92f, #fbbf24);
}