/* ==================================================================

Preload hover images

===================================================================*/
body{margin:0;overflow:hidden;}

body:after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
    content: url(../gui/llardaf_cathedral_rollover.png) url(../gui/royalcollege_rollover.png) url(../gui/chapter_rollover.png) url(../gui/cardiffcastle_rollover.png)
    url(../gui/cityhall_rollover.png) url(../gui/nationalmuseum_rollover.png) url(../gui/g39_rollover.png) url(../gui/principality_rollover.png) url(../gui/spiller_rollover.png) url(../gui/craft_rollover.png) url(../gui/ivor_rollover.png) url(../gui/millenium_rollover.png) url(../gui/senedd_rollover.png) url(../gui/pierhead_rollover.png)  url(../gui/church_rollover.png)  url(../gui/scott_rollover.png)  url(../gui/who_rollover.png)  url(../gui/butepark_rollover.png)  url(../gui/boats_rollover.png)  url(../gui/instruction_rollover.png)   url(../gui/newtheatre_rollover.png)  url(../gui/roaddahlpass_rollover.png);
}
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* ==================================================================

Map

===================================================================*/


.main-wrapper{
        width: 100%;
    position: fixed;
    overflow-x:scroll;
    height: 100%;
}
.mapheader {
  position:fixed;
  top:0;
  left:0;
  overflow:hidden;
    width: 320px;
    background-color: rgba(247, 246, 221, 0.6);
    padding: 15px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    
    box-sizing: border-box;
    z-index:2;
    min-width: 320px;
    width: 100%;
}
.video-link{ 
 color: #fff;
}		
.video-link:hover{ 
 color: #636363;
}


@media screen and (min-width:480px){
    .mapheader {
        width: 100%;
    }
}

.cardiff-map {
    position: absolute;
    background-image: url(../gui/background_map_715_2.jpg);
    background-color: #fcfef1;
    background-repeat: no-repeat;
    background-position:  left -90px;
    top:127px;
    z-index:1;
overflow-x:scroll;


}
.mappoints {
    position: relative;
    width: 870px;
    height:850px;
    margin: 0 auto;
}
/* ==================================================================

Text
===================================================================*/

.instruction {
  
    position: absolute;
    width: 300px;
    height: 164px;
     background-image: url(../gui/instruction.png);
    background-size: 90%;
    background-repeat: no-repeat;
    z-index: 1;
    top: 35%;
    left: 0px;
}
.instruction:hover {
    position: absolute;
    width: 300px;
    height: 164px;
     background-image: url(../gui/instruction_rollover.png);
    background-size: 90%;
    background-repeat: no-repeat;
    z-index: 1;
    top: 35%;
    left: 0px;
}
/* ==================================================================

Header

===================================================================*/


.cardiff-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    height: 97px;
    background-image: url(../gui/cardiff-logo_minimized.png);
    background-repeat: no-repeat;
    background-size: 100%;
}
/* ==================================================================

Pinpoints

===================================================================*/

.cardiff-map .pinpoint.cathedral {
    position: absolute;
    width: 240px;
    height: 113px;
    background-image: url(../gui/llardaf_cathedral_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
    top: 10px;
    left: 10px;
}
.cardiff-map .pinpoint.cathedral:hover {
    background-image: url(../gui/llardaf_cathedral_rollover.png);
}
.cardiff-map .pinpoint.college {
    position: absolute;
    width: 190px;
    height: 120px;
    background-image: url(../gui/royalcollege_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
    top: 30px;
    left: 135px;
}
.cardiff-map .pinpoint.college:hover {
    background-image: url(../gui/royalcollege_rollover.png);
}
.cardiff-map .pinpoint.chapter {
    position: absolute;
    width: 204px;
    height: 117px;
    background-image: url(../gui/chapter_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
      top: 140px;
        left: 10px;
}
.cardiff-map .pinpoint.chapter:hover {
    background-image: url(../gui/chapter_rollover.png);
}
.cardiff-map .pinpoint.castle {
    position: absolute;
    width: 168px;
    height: 97px;
    background-image: url(../gui/cardiffcastle_normal.png);
    background-repeat: no-repeat;
      top: 125px;
        left: 160px;
}
.cardiff-map .pinpoint.castle:hover {
    background-image: url(../gui/cardiffcastle_rollover.png);
}
.cardiff-map .pinpoint.cityhall {
    position: absolute;
    width: 220px;
    height: 160px;
    background-image: url(../gui/cityhall_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
    top: 40px;
        left: 290px;
}
.cardiff-map .pinpoint.cityhall:hover {
    background-image: url(../gui/cityhall_rollover.png);
}
.cardiff-map .pinpoint.nationalmuseum {
    position: absolute;
    width: 207px;
    height: 185px;
    background-image: url(../gui/nationalmuseum_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
     top: 15px;
        left: 425px;
}
.cardiff-map .pinpoint.nationalmuseum:hover {
    background-image: url(../gui/nationalmuseum_rollover.png);
}
.cardiff-map .pinpoint.g39 {
    position: absolute;
    width: 152px;
    height: 136px;
    background-image: url(../gui/g39_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
        top: 20px;
        left: 715px;
}
.cardiff-map .pinpoint.g39:hover {
    background-image: url(../gui/g39_rollover.png);
}
.cardiff-map .pinpoint.principality {
    position: absolute;
    width: 186px;
    height: 158px;
    background-image: url(../gui/principality_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
    top: 190px;
        left: 200px;
}
.cardiff-map .pinpoint.principality:hover {
    background-image: url(../gui/principality_rollover.png);
}
.cardiff-map .pinpoint.spillers {
    position: absolute;
    width: 245px;
    height: 98px;
    background-image: url(../gui/spiller_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
     top: 217px;
        left: 330px;
}
.cardiff-map .pinpoint.spillers:hover {
    background-image: url(../gui/spiller_rollover.png);
}
.cardiff-map .pinpoint.story {
    position: absolute;
    width: 255px;
    height: 140px;
    background-image: url(../gui/cardiffstory_normal.png);
    background-size: 80%;
    background-repeat: no-repeat;
    top: 133px;
        left: 330px;
}
.cardiff-map .pinpoint.story:hover {
    background-image: url(../gui/cardiffstory_rollover.png);
}
.cardiff-map .pinpoint.craft {
    position: absolute;
    width: 196px;
    height: 111px;
    background-image: url(../gui/craft_normal.png);
    background-size: 90%;
    background-repeat: no-repeat;
    top: 370px;
        left: 200px;
}
.cardiff-map .pinpoint.craft:hover {
    background-image: url(../gui/craft_rollover.png);
}
.cardiff-map .pinpoint.ivor {
    position: absolute;
    width: 128px;
    height: 142px;
    background-image: url(../gui/ivor_normal.png);
    background-size: 90%;
    background-repeat: no-repeat;
      top: 400px;
        left: 390px;
}
.cardiff-map .pinpoint.ivor:hover {
    background-image: url(../gui/ivor_rollover.png);
}
.cardiff-map .pinpoint.millenium {
    position: absolute;
    width: 214px;
    height: 127px;
    background-image: url(../gui/millenium_normal.png);
    background-size: 90%;
    background-repeat: no-repeat;
       top: 345px;
        left: 530px;
}
.cardiff-map .pinpoint.millenium:hover {
    background-image: url(../gui/millenium_rollover.png);
}
.cardiff-map .pinpoint.senedd {
    position: absolute;
    width: 180px;
    height: 127px;
    background-image: url(../gui/senedd_normal.png);
    background-size: 100%;
    background-repeat: no-repeat;
     top: 410px;
        left: 650px;
}
.cardiff-map .pinpoint.senedd:hover {
    background-image: url(../gui/senedd_rollover.png);
}
.cardiff-map .pinpoint.pierhead {
    position: absolute;
    width: 160px;
    height: 122px;
    background-image: url(../gui/pierhead_normal.png);
    background-size: 100%;
    background-repeat: no-repeat;
    top: 425px;
        left: 470px;
}
.cardiff-map .pinpoint.pierhead:hover {
    background-image: url(../gui/pierhead_rollover.png);
}
.cardiff-map .pinpoint.church {
    position: absolute;
    width: 193px;
    height: 114px;
    background-image: url(../gui/church_normal.png);
    background-size: 100%;
    background-repeat: no-repeat;
      top: 480px;
        left: 550px;
}
.cardiff-map .pinpoint.church:hover {
    background-image: url(../gui/church_rollover.png);
}
.cardiff-map .pinpoint.scott {
    position: absolute;
    width: 197px;
    height: 130px;
    background-image: url(../gui/scott_normal.png);
    background-size: 90%;
    background-repeat: no-repeat;
      top: 530px;
        left: 450px;
}
.cardiff-map .pinpoint.scott:hover {
    background-image: url(../gui/scott_rollover.png);
}
.cardiff-map .pinpoint.who {
    position: absolute;
    width: 201px;
    height: 184px;
    background-image: url(../gui/who_normal.png);
    background-size: 85%;
    background-repeat: no-repeat;
  top: 565px;
        left: 570px;
}
.cardiff-map .pinpoint.who:hover {
    background-image: url(../gui/who_rollover.png);
}
.cardiff-map .pinpoint.butepark {
    position: absolute;
    width: 112px;
    height: 45px;
    background-image: url(../gui/butepark_normal.png);
    background-size: 90%;
    background-repeat: no-repeat;
    top: 110px;
        left: 175px;
}
.cardiff-map .pinpoint.butepark:hover {
    background-image: url(../gui/butepark_rollover.png);
}
.cardiff-map .pinpoint.boats {
    position: absolute;
    width: 108px;
    height: 115px;
    background-image: url(../gui/boats_normal.png);
    background-size: 100%;
    background-repeat: no-repeat;
       top: 530px;
        left: 100px;
}
.cardiff-map .pinpoint.boats:hover {
    background-image: url(../gui/boats_rollover.png);
}
.cardiff-map .pinpoint.newtheatre {
    position: absolute;
    width: 138px;
    height: 155px;
    background-image: url(../gui/newtheatre_normal.png);
    background-size: 100%;
    background-repeat: no-repeat;
     top: 15px;
        left: 590px;
}
.cardiff-map .pinpoint.newtheatre:hover {
    background-image: url(../gui/newtheatre_rollover.png);
}
.cardiff-map .pinpoint.david {
    position: absolute;
    width: 98px;
    height: 165px;
    background-image: url(../gui/davidswall_normal.png);
    background-size: 110%;
    background-repeat: no-repeat;
     top: 120px;
        left: 515px;
}
.cardiff-map .pinpoint.david:hover {
    background-image: url(../gui/davidswall_rollover.png);
}
.cardiff-map .pinpoint.motorpoint {
    position: absolute;
    width: 228px;
    height: 165px;
    background-image: url(../gui/motorpoint_normal.png);
    background-size: 100%;
    background-repeat: no-repeat;
     top: 150px;
        left: 600px;
}
.cardiff-map .pinpoint.motorpoint:hover {
    background-image: url(../gui/motorpoint_rollover.png);
}
.cardiff-map .pinpoint.promo {
    top: 30%;
    left: 63%;
}
.cardiff-map .pinpoint {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 1;
    top: 39%;
    left: 80%;
    cursor: pointer
}
.cardiff-map .pinpoint.dahl {
    position: absolute;
    width: 100px;
    height: 165px;
    background-image: url(../gui/roaddahlpass_normal.png);
    background-size: 100%;
    background-repeat: no-repeat;
     top: 460px;
        left: 220px;
}
.cardiff-map .pinpoint.dahl:hover {
    background-image: url(../gui/roaddahlpass_rollover.png);
}


/* ==================================================================

Video 

===================================================================*/
#cardiff-video{
    width: 100%; 
    height: 100%; 
    position: absolute;
    top:0;
    left:0;
 
    -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


.cardiff-tooltip {
    position: fixed;
  
    width: 260px;
   height: auto;
    padding: 10px;
    background-color: #000;
    background-color: rgba(131, 193, 218, 0.8);
    z-index: 2;
    border-radius: 5px;
    display: none;
    margin-right: -20px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.cardiff-tooltip .close-btn {
    position: absolute;
    background-image: url(../gui/close-button.png);
    display: block;
    top: -20px;
    right: -20px;
    width: 39px;
    height: 40px;
    z-index: 999999;
    zoom: 1;
}
.cardiff-tooltip .vid-img {
   position: relative;
    max-width: 260px;
    min-height: 147px;
    margin-right: -20px;
    background-color: #000;
    background-image: url(../gui/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;
    color: #999;
    text-align: center;
}



@media screen and (min-width: 630px) {


.cardiff-tooltip {
    width: 620px;
   height: 390px;

}

.cardiff-tooltip .vid-img {
 position: relative;
    max-width: 620px;
    min-height: 350px;
   
}

    }


.cardiff-tooltip h2 {
    font-family: "PT Sans", sans-serif;
    font-size: 18px;
    text-align: center;
    margin: 12px 0;
}

@media screen and (min-width: 480px) {

    .cardiff-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 460px;
        height: 56px;
        background-image: url(../gui/cardiff-logo.png);
        background-repeat: no-repeat;
        background-position-x: 50%;
    }
    .cardiff-map {
        top:85px;
        }

    }
/* ==================================================================

Media Queries

===================================================================*/

@media screen and (min-width: 870px) {
  .mapheader {
  position:relative;
}
    .cardiff-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 650px;
        height: 56px;
        background-image: url(../gui/cardiff-logo.png);
        background-repeat: no-repeat;
        background-position-x: 50%;
    }
    #i-map {
        height: 1536px;
        width: 100%;
        max-width: 2044px;
        margin: 0 auto;
    }
    .cardiff-map {
        position: absolute;
        width:100%;
          top:86px;
        background-image: url(../gui/background_map.jpg);
        background-color: #f7f6e1;
        background-repeat: no-repeat;
        background-position: center -90px;
        background-repeat: no-repeat;
    }

    .cardiff-map .pinpoint.cathedral {
        top: 10px;
        left: 80px;
    }
    .cardiff-map .pinpoint.college {
        top: 30px;
        left: 215px;
    }
    .cardiff-map .pinpoint.chapter {
        top: 140px;
        left: 80px;
    }
    .cardiff-map .pinpoint.castle {
        top: 125px;
        left: 240px;
    }
    .cardiff-map .pinpoint.cityhall {
        top: 40px;
        left: 370px;
    }
    .cardiff-map .pinpoint.nationalmuseum {
        top: 15px;
        left: 505px;
    }
    .cardiff-map .pinpoint.g39 {
        top: 20px;
        left: 795px;
    }
    .cardiff-map .pinpoint.principality {
         top: 195px;        
	     left: 269px;
    }
    .cardiff-map .pinpoint.spillers {
     top: 222px;
        left: 400px;
    }
    .cardiff-map .pinpoint.story {
        top: 133px;
        left: 420px;
    }
    .cardiff-map .pinpoint.craft {
    top: 370px;
        left: 280px;
}
    .cardiff-map .pinpoint.ivor {
      top: 400px;
        left: 460px;
    }
    .cardiff-map .pinpoint.millenium {
       top: 345px;
        left: 600px;
}
    .cardiff-map .pinpoint.senedd {
        top: 415px;
        left: 725px;
		    }
    .cardiff-map .pinpoint.pierhead {
    top: 425px;
        left: 540px;
    }
    .cardiff-map .pinpoint.church {
      top: 477px;
        left: 625px;
    }
    .cardiff-map .pinpoint.scott {
      top: 530px;
        left: 520px;
}
    .cardiff-map .pinpoint.who {
        top: 565px;
        left: 640px;
}
    .cardiff-map .pinpoint.butepark {
        top: 110px;
        left: 250px;
    }
    .cardiff-map .pinpoint.boats {
       top: 530px;
        left: 170px;
    }
    .cardiff-map .pinpoint.motorpoint {
     top: 150px;
        left: 680px;
    }

    .cardiff-map .pinpoint.newtheatre {
     top: 15px;
        left: 660px;
}
    .cardiff-map .pinpoint.dahl {
     top: 460px;
        left: 290px;
}

.cardiff-map .pinpoint.david {

     top: 130px;
        left: 605px;
}
  
    .cardiff-map .pinpoint.promo {
        top: 30%;
        left: 63%;
    }
}
.cardiff-map .pinpoint {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 1;
    top: 39%;
    left: 80%;
    cursor: pointer
}