/* GRAPH POPULATION */

body.population {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

#holder {
  position: relative;
  width: 700px;
  margin: 30px auto 0px auto;
}

#fourth.active-slide + .drag:hover {
    border: 3px solid red !important;
}

.drag {
  background: #FFF;
  border: 1px solid #000;
  width: 60px;
  height: 70px;
  position: absolute;
  text-align: center;
  padding: 15px 0px 0px 0px;
  font-size: 20px;
}

/* HOVER SELECTION STATES */

.one .drag:hover {
    border: 3px solid #EB9532;
    cursor: pointer;
}

.two .drag:hover {
    border: 3px solid #E87E04;
    cursor: pointer;
}

.three .drag:hover {
    border: 3px solid #D35400;
    cursor: pointer;
}

.four .drag:hover {
    border: 3px solid #EB9532;
    cursor: pointer;
}

.five .drag:hover {
    border: 3px solid #E87E04;
    cursor: pointer;
}

.six .drag:hover {
    border: 3px solid #D35400;
    cursor: pointer;
}

.seven .drag:hover {
    border: 3px solid #EB9532;
    cursor: pointer;
}

.eight .drag:hover {
    border: 3px solid #E87E04;
    cursor: pointer;
}

.bxslider li {
    color: #FFF;
    font-weight: normal;
    font-size: 15px;
    width: 100%;
    padding: 10px;
    min-height: 70px;

}

.bxslider li p {
    color: #FFF;
    line-height: 1.4em;
}

.bxslider li span {
    display: block;
    float: left;
    font-size: 20px;
    height: 70px;
    clear: left;
    padding: 17px 10px 10px 0px;
    font-weight: bold;
}

.outside {
    width: 760px;
    position: relative;
    margin: -60px auto 0px auto;
}

.outside .disabled {
    visibility: hidden;
}
#slider-next {
    position: absolute;
    right: 0px;
}

.c1 {background-color:#2645b1} /*Purple Main*/
.c2 {background-color:#456ed7} /*Purple Dark*/
.c3 {background-color:#af3535} /*Red Main*/
.c4 {background-color:#c94747} /*Red Light*/


body.population #instructions {
    top: -20px;
    width: 100%;
}

.padl20 {
    padding-left: 20px;
}

/* Dharvari Diamond */

body.dharavi #activity {
    max-width: 768px;
}

body.dharavi #selectableStatements {
    padding-bottom: 140px;
}

.row-no-padding > [class*="col-"]{
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 20px;
}

.dragHolder .pad {
    padding: 0px 10px 0px 10px
}

/* Is Sydney a Global City? */

body.sydney #activityFeedback {
    margin: 0px 0px 20px 0px;
}

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

div[class^="panel-"] {
    border: 5px solid transparent;
    background-color: #EAEAEA; 
    margin: 0px 10px 0px 10px;
    padding: 10px;
    text-align: center;
    min-height: 90px;
    cursor: pointer;
}

div[class^="panel-"]:hover {
    background-color: #E6E6E6;
}

div[id^="modal-"] {
    background-color: #FFF;
    padding: 25px;
    min-width: 500px;
    height: 200px;
    text-align: center;
    margin-left: -300px !important;
    text-align: center;
    position: relative;
}

div[id^="modal-"] .close {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 35px !important;
    width: 35px !important;
    min-width: 0px;
    text-align: center;
    padding: 0px;
}

div[id^="modal-"] .yes,
div[id^="modal-"] .no {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

div[id^="modal-"] .yes {
    background-color: #2ecc71 !important; 
}

div[id^="modal-"] .yes:hover {
    background-color: #2BBD69 !important;
}

div[id^="modal-"] .no {
    background-color: #e74c3c !important; 
}

div[id^="modal-"] .no:hover {
    background-color: #E43E2C !important;
}


div[id^="modal-"] h3 {
    font-size: 20px;
    font-weight: normal;
    display: block;
    margin: 30px auto 35px auto;
    max-width: 430px;
}

div[class^="panel-"] p{
    display: block;
    height: 100%;
    widows: 100%;
}

.green-bdr {
    border: 5px solid #2ecc71 !important;
}

.red-bdr {
    border: 5px solid #e74c3c !important;
}


/*General*/

html, body {
    height: 100%;
}

.text-right {
    text-align: right;
}

button {
    font-family: 'Open Sans', sans-serif;
    border: 0;
    outline: 0;
    outline-width: 0;
    outline-style: none;
    padding:10px 15px;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    background: #6C7A89;
   	min-width:80px;
	margin:2px;
    text-decoration: none;
    cursor: pointer;
}

button h2 {
    color: #FFFFFF;
}

button:hover {
    background-color: #5F6976;
    text-decoration: none;
}

button:disabled {
    background-color: #666;
    text-decoration: none;
}

button.orange {
    background-color: #EB9532;
}

button.orange:hover {
    background-color: #EA8B22;
}

textarea {
    border: 1px dashed #b6710b;
    background-color: #fdedd6;
    font-family: 'Open Sans', sans-serif;
}

#header, #content, #footer, .prompt {
    display: block;
    width: 100%;
    /*TURN OFF FOR EDITOR CHECK TO ENABLE COPY PASTE
*/
    /*    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
*/
}

#content {
    /*    background-color: #4d505b;
*/
    background-color: #FFF;
    position: relative;
    height: 86%;
}

#container {
    position: relative;
    height: 100%;
}


/*HEADER*/

header {
	
    background-color: #374F66 !important;
	/*padding-bottom: 1.5% !important;*/
    /*padding-bottom: 1.3% !important;*/
	padding-bottom: 0.5% !important;
    height: 42px !important;
    margin: 0px 0px 20px 0px !important;
    z-index: 1;
}

header .section {
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
    background-color: #9BA4A9;
;
}

h1, h2, h3, h4 {
    font-family: 'Open Sans', sans-serif;
    /*position: relative;*/
    display: block;
    /*float: left;*/
    color: #fff;
}

p {
    line-height: 1.3em;
}

h1 {
    font-size: 2em !important;
    text-align: left;
    background-color: #f00;
    margin: 0px 0px 5px 0px !important;
}

header h2 {
    color: #fff;
}

h2 {
    font-size: 1.5em !important;
    font-weight: normal;
    text-align: left;
    color: #000;
    display: block;
    margin: 0px 0px 10px 0px !important;
}

h3 {
    text-align: center;
    color: #000;
    background-color: #fff;
}



#pdfText, #order li, #sortable li, .tableTitles li, .tableOptions li {
    font-family: 'Open Sans', sans-serif;
    color: white;
}

p {
    font-family: 'Open Sans', sans-serif;
    color: #000;
}

header h1 {
    margin-top: 1%;
}

header h2 {
    margin-top: -1%;
}

.chapter {
    color: #16a79d;
}


/*MENU*/

#menu {
    margin-top: 1%;
    text-align: right;
    /*background-color: #2a4bb6 !important;*/
}

#menu li {
    width: 33px;
    height: 33px;
    display: inline-block;
    list-style-type: none;
    cursor: pointer;
}

#menu li:hover, #clueBtn:hover {
    background-position: 0px -35px;
    cursor: pointer;
}

#info {

    background: url("../images/infoIcon.png")no-repeat;
}

#infoCym {

    background: url("../images/infoIconCym.png")no-repeat;
}

#print {
    background: url("../images/printIcon.png")no-repeat;
}

#home {
    background: url("../images/homeIcon.png")no-repeat;
}

#homeLink {
    display: block;
    height: 33px;
    width: 33px;
}

#backButton {
    background: url("../images/backToIcon.png") no-repeat;
    height: 33px;
    width: 33px;
    cursor: pointer;
    margin: 1%;
}

#backButton:hover {
    background-position: 0px -35px;
    cursor: pointer;
}

#restartButton {
    background: url("../images/restart.png")no-repeat;
    height: 33px;
    width: 33px;
    cursor: pointer;
    margin: 1%;
}

#restartButton:hover {
    background-position: 0px -35px;
    cursor: pointer;
}

#navButtonLeft, #navButtonRight {
    display: inline-block!important;
}

#navButtonLeft {
    text-align: left;
}

#navButtonRight {
    text-align: right;
}

#navButtons a, #navButtonLeft a, #navButtonRight a {
    display: inline-block!important;
}


/*PEN TOOL menu btn*/

#penTool_btn {
    background: url("../images/penIcon.png")no-repeat;
    /*display:none!important;*/
}

#penTool_btn.active {
    background-position: 0px -35px!important;
}

#ptClearAll {
    background: url("../images/binIcon.png") no-repeat;
    margin-left: 4px !important;
}

#ptHideShowCanvas {
    background: url("../images/hideIcon.png") no-repeat;
    margin-left: 4px !important;
}

#ptHideShowCanvas:hover {
    background: url("../images/hideIcon.png") 0 -67px no-repeat !important;
    margin-left: 4px !important;
}


/* TABLE COLOURS */

#options {
    margin: 78px 0px 0px 0px;
}

#options td {
    padding: 13px 10px 13px 10px;
    font-size: 13px;
    color: #FFF;
}

#options tr td:first-child {
    font-weight: bold;
}

.o1 {
    background-color: #EB9532;
}
.o2 {
    background-color: #E87E04;
}
.o3 {
    background-color: #D35400;
}

/*PEN TOOL menu btn end*/


/*PEN TOOL*/

#penTool_btn ul {
    z-index: 9999;
    position: relative;
    top: 100%;
    right: 18%;
    float: left;
    background-color: #5BC8C1;
    padding: 0px 1px 0px 1px;
}

#penTool_btn ul {
    visibility: hidden
}

#penTool_btn:hover ul {
    visibility: visible;
    margin: 0!important;
}

#penTool_btn:hover ul li {
    display: inline-block;
}

#penTool_btn ul li {
    list-style: none;
    width: 35px;
    height: 32px;
    padding: 1px;
}

#penTool_btn ul li img {
    width: 32px;
    height: 90%;
}

.ico {
    width: 30px;
    height: 30px;
    border: 2px solid #FFF;
    border-radius: 20px;
}

.ico:hover {
    border: 3px solid #FFF;
    margin: 0px 0 0 0px;
}

#penBLACK {
    background-color: black
}

#penRED {
    background-color: red
}

#penGREEN {
    background-color: green
}

#penBLUE {
    background-color: blue
}

#penToolCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9500;
}


/*PEN TOOL END*/


/*pdf marker*/

#pdfMarker {
    float: right;
    background-color: #cf4858;
    height: auto;
    margin: 0;
    padding: 1%;
    background: #cf4858;
    display: inline-block;
}


/*#star{
   background: url("../images/star.png")no-repeat ;
   display: inline-block;
   width:20px;
   height: 20px;
   vertical-align: top;
}*/

#pdfText {
    display: inline-block;
    margin-left: 2%;
}

#pdfText p {
    line-height: 1.5em;
    color: #fff;
}


/*INSTRUCTIONS*/

#instructions {
    position: absolute;
    display: none;
    width: 96%;
    left: 0;
    background-color: #5C82A7;
    text-align: left;
    margin: 0px auto;
    padding: 2%;
    top: -20px;
    /*    z-index:100001;
*/
	color:#fff;
    z-index: 9998;
	box-shadow:0px 3px 7px 0px rgba(0,0,0,0.5);
}

#instructionTitle {
    display: block;
    color:#fff;
    margin-left: 1%;
}

#instructionText, .instructionText {
    display: block;
    font-family: 'Open Sans', sans-serif;
    color:#fff;
    font-size: 1em;
    line-height: 1.5em;
    margin-left: 1%;
}


#instructions2 {
    position: absolute;
    display: none;
    width: 96%;
    left: 0;
    background-color: #2645b1;
    text-align: left;
    margin: -30px auto;
    padding: 2%;
    /*    z-index:100001;
*/
	color:#fff;
    z-index: 9998;
	box-shadow:0px 3px 7px 0px rgba(0,0,0,0.5);
}

#instructionTitle2 {
    display: block;
    color:#fff;
    margin-left: 1%;
}

#instructionText2, .instructionText2 {
    display: block;
    font-family: 'Open Sans', sans-serif;
    color:#fff;
    font-size: 1em;
    line-height: 1.5em;
    margin-left: 1%;
}
/*instructions end*/


/*FOOTER*/

#footer {
    position: fixed;
    top: 97%;
    height: 3%;
    background-color: #677077;
    z-index: 9999;
}


/*Rhys
Old style

#footer {
    top: 95%;
    height:5%;
    background-color:none;
}

#footer-text {padding-top:5px}
*/

#footer-text {
    padding-top: 2px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    margin-bottom: 0px;
    color: white;
}


/*ACTIVITY*/


/*MEDIA QUERIES*/

@media only screen and (max-width: 1024px) {
    header {
        height: 14%;
    }
}

@media only screen and (max-width: 768px) {
    #title, #menu {
        width: 98%;
    }
    #pdfMarker {
        width: 100%;
    }
    #star {
        margin-left: 4%;
    }
    /*header and content must add up to 95*/
    header {
        height: 15%;
    }
    #content {
        height: 80%;
    }
    #title {
        margin-top: 0;
        margin-bottom: 0;
    }
    #menu {
        width: 98%;
        text-align: left;
        padding-left: 2%;
        padding-top: 2%;
        padding-bottom: 2%;
        margin-bottom: 0;
        margin-left: 0;
    }
}

.col-xs-15 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}

@media only screen and (max-width: 560px) {
    /*header and content must add up to 95*/
    #star {
        display: block;
        margin-left: 6%;
        margin-top: 1%;
        margin-bottom: 1%;
    }
    #pdfText {
        margin-left: 6%;
    }
    #penTool_btn {
        display: none!important;
    }
}

@media (max-height:768px){
  
   
    
    }

@media (max-width:700px){
    
  #holder{width:400px}
  .drag{
   
    width:40px;
    height:50px;
  }
  
.drag:nth-child(1){
  left:76px !important;
  top:4px !important!;
}
.drag:nth-child(2){
  left: 76px !important;
  bottom: 70px !important;
}
.drag:nth-child(3){
  left: 148px !important;
  top: 211px !important;
}
.drag:nth-child(4){
  left: 204px !important;
  bottom: 102px !important;
}
.drag:nth-child(5){
  left: 247px !important;
  bottom: 168px !important;
}
.drag:nth-child(6){
  left: 300px !important;
  bottom: 133px !important;
}
    
.drag:nth-child(7){
  left: 286px !important;
  top: 67px !important;
}
    
.drag:nth-child(8){
  left: 362px !important;
  top: 57px !important;
}
    
.drag:nth-child(9){
  left: 350px !important;
  top: -11px !important;
}
    
    .bxslider li p {
        font-size: 13px;
    }
    
    .bxslider li p br {
        display: none;
    }
    
    .outside {
        margin: 10px auto 20px auto;
        border: 1ps solid red;
        display: block;
        clear: both;
        width: 200px;
    }
      
}


/* ----------- Large Display ----------- */

@media screen and (max-width: 1920px) and (max-height: 1080px) {
    /* Styles */
    /* header height reduced for large screens to prevent unneccessary scrollbar on content. width is enough for long titles */
    header {
         height: 11%;
    }
    header h1 {
        margin-top: 0;
    }
}


/* ----------- Laptop HiDPI screen ----------- */

@media screen and (max-width: 1440px) and (max-height: 900px) {
    /* Styles */
    header {
        height: 11%;
    }
   
    header h1 {
        margin-top: 0;
    }

}


/* ----------- Laptop ----------- */

@media screen and (max-width: 1366px) and (max-height: 768px) {
    /* Styles */
    
      #holder {width:550px}
    
      .drag{

        width:50px;
        height:60px;
      }

    .drag:nth-child(1){
        left:76px !important;
        top:4px !important!;
    }
    
    .drag:nth-child(2){
        left: 96px !important;
        bottom: 102px !important;
    }
    
    .drag:nth-child(3){
        left: 279px !important;
        top: 239px !important;
    }
    
    .drag:nth-child(4){
        left: 204px !important;
        bottom: 102px !important;
    }
    
    .drag:nth-child(5){
        left: 332px !important;
        bottom: 224px !important;
    }
    
    .drag:nth-child(6){
        left: 412px !important;
        bottom: 180px !important;
    }
    
    .drag:nth-child(7){
        left: 390px !important;
        top: 76px !important;
    }
    
    .drag:nth-child(8){
        left: 500px !important;
        top: 86px !important;
    }
    
    .drag:nth-child(9){
        left: 472px !important;
        top: -26px !important;
    }
    
    #tablet-key {
        display: none;
    }
    
     #desktop-key {
        display: block;
    }
    
}


/* ----------- Laptop MDPI screen ----------- */

@media screen and (max-width: 1280px) and (max-height: 800px) {
    /* Styles */
    
       #tablet-key {
        display: none;
    }
    
     #desktop-key {
        display: block;
    }


}


/* ----------- iPad ----------- */

@media only screen and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: portrait) {
    /* Styles */
    /*header{
        height: 15%;
      }*/
    h1 {
        font-size: 1.7em !important;}

    #desktop-key {
        display: none;
    }
    
      #tablet-key {
        display: block;
    }

}
/* ----------- iPad Landscape----------- */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {




      #holder {width:500px !important; margin: 5px auto 0px auto !important; }
    
      .drag{

        width:50px;
        height:60px;
      }

    .drag:nth-child(1){
        left:76px !important;
        top:4px !important!;
    }
    
    .drag:nth-child(2){
        left: 80px !important;
        bottom: 92px !important;
    }
    
    .drag:nth-child(3){
        left: 248px !important;
        top: 202px !important;
    }
    
    .drag:nth-child(4){
        left: 170px !important;
        bottom: 88px !important;
    }
    
    .drag:nth-child(5){
        left: 295px !important;
        bottom: 214px !important;
    }
    
    .drag:nth-child(6){
        left: 376px !important;
        bottom: 159px !important;
    }
    
    .drag:nth-child(7){
        left: 348px !important;
        top: 70px !important;
    }
    
    .drag:nth-child(8){
        left: 450px !important;
        top: 86px !important;
    }
    
    .drag:nth-child(9){
        left: 422px !important;
        top: -22px !important;
    }
    
    #tablet-key {
        display: none;
    }
    
     #desktop-key {
        display: block;
    }

}

/* ----------- iPhone 5 ----------- */

@media only screen and (min-device-width: 568px) and (min-device-height: 320px) {
    /* Styles */
    

}