body {
    background-image: url("/img/bg.png");
    background-repeat: repeat;
    height: auto;
}
.navbar-inverse a {
    color: #fff;
}

#all-map, #mapCanvas{
    max-width: 1200px;
    min-height: 400px;
    max-height: 600px;
   min-width: 250px;
}


 #mapCanvas {
     width: 500px;
     height: 400px;
     float: left;
 }
#infoPanel {
    float: left;
    margin-left: 10px;
}
#infoPanel div {
    margin-bottom: 5px;
}

* {
    font-family: 'Lora', serif;
}

.specific-problem {
    display: none;
}

.problem-image img {
    width: 100%;
    max-width: 800px;
    max-height: 800px;
    border: 4px ridge #eee

}

.specific-problem p:first-of-type {
    position: absolute;
    left: 0;
    top: 0;
}

.specific-problem .problem-image {
    color: crimson;
}


.confirmed-box,.unconfirmed-box {
    border: 1px solid #898;
    padding: 2px;
}

.confirm-now,.unconfirm-now {
    cursor: pointer;
}

.decorative-border {

    max-height: 60px;
}

.problem-category {
    font-weight: bolder;
    color: #777;
}

.right-menu a {
    font-size: 1.3em;
    color: #eee;
}

.right-menu a:hover {
    color: #555;
}

.glyphicon-asterisk.glyphicon.glyphicon-asterisk{
    color: crimson;
    font-size: 0.66em;
}

.navbar {
    background-color: #aaa;
    min-height: 120px;
}




.site-logo {
    right: 25px;
    max-width: 160px;
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;

}

/* CSS3 TRANSITIONS */

.navbar a:active, .navbar a:focus {
    color: crimson;
}
.navbar a:hover {
    font-weight: bolder;
    color: #111;

    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

.navbar-header:hover {
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    transform: rotate(-5deg);
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.list-group-item:hover {
    background-color: #eee;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

.list-group-item a {
    display: block;
}

.site-logo:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    -ms-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
    transition: all 0.4s ease-in;
}
/* END TRANSITIONS */



.the-booklet {
    position: absolute;
   margin: 0 auto;
    width: 50%;
    left: 25%;
    top: 0;
    z-index: 150;
    background-color: #eee;
    border: 1px solid #999;
    max-width: 800px;
    display: none;
    padding: 30px;

}

.close-book {
    position: absolute;
    cursor: pointer;
    right: 0;
    top: 0;
    font-size: 1.7em;

}

.the-booklet img {
        max-width: 90%;
        display: inline-block;



}

.author {
    display: none;
}

.navbar-header img {
    max-width: 50%;
}


.confirmation {
    position: absolute;
    right: 0;
    top: 0;
    text-align: right;
    display: inline-block;
    max-width: 40%;
    margin: 0;

}

.date-text {
    display: inline-block;
    text-align: left;
    max-width: 40%;

}

#mapCanvas, #all-map  {

    min-width: 250px;
    width: 100%;
    max-width: 1200px;
    max-height: 1200px;
    min-height: 400px;
}
#all-map {
    max-width: 1700px;
    height: 710px;
}
.list-group-item:last-child {

    font-weight: bolder;
}

/* MEDIA QUERIES */
@media screen and (max-width: 860px) {
    .specific-problem h2 {
        margin-top: 100px;
    }



}
@media screen and (max-width: 1250px) {
    #mapCanvas, #all-map {
        height: auto;
    }

    


}



@media screen and (max-width: 400px) {

    .site-logo {
        position: static;
        float: right;
    }
}

@media screen and (max-width: 800px) {
    .navbar-header {
        display: block;
        text-align: center;

    }


}

.right-menu li {
    text-align: center;
    margin: 0 auto;
}

.twitter-share-buton, .fb-share-button{
  width: 128px;


}

.specific-problem {
    background-image: url("/img/congruent_pentagon/grey_wash_wall.png");
    box-shadow: 0px 0px 10px 5px rgba(50,40,40,0.6);
    margin-top: 20px;
}

.specific-problem .closeProblem {
    font-size: 2em;
    cursor: pointer;
    margin-top: -25px;


}

.specific-problem .closeProblem:hover {
    color: lightcoral;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -ms-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;

}

.specific-problem h2,h3 {
    color: #eee;
}

.specific-problem p {
    color: #fff;
}

.problem-category {
    color: lightcoral;
}

p.confirmation {
    color: #333;
    border: 2px solid rgba(200,200,200,0.8);
    padding: 5px;


}

.problem-image {
    font-size: 1.5em;
}

.action-taken {
    color: #333 !important;
    position: absolute;
    right: 0;
}

h1,h3,h3,h4,h5,h6, .underdog {
    font-family: "Underdog", cursive;
}

@media screen and (min-width: 1300px) {
    .main-heading {
        font-size: 2.1em;
        color: #444;
        position: absolute;
        bottom: 0;
        right: 10px;
    }
}

@media screen and (max-width: 1300px) {
    .main-heading {
        text-align: center;
        display: block;
        clear: both;
    }
}

.how-container p {
    font-size: 1.2em;
    font-family: "Lora", serif;
}


@media screen and (min-width:1299px) and (max-width: 1450px) {
    .right-menu {
      position: absolute;
        top: 0;
        right: 0;
    }

    h1 {
     position: relative;
    }
}



@media screen and (max-width: 1024px) {
    html, body {
        z-index: 0 !important;
        overflow: scroll !important;
        touch-action: auto !important;
        -webkit-touch-action: auto !important;

    }
}

/* !!! IMAGE GALLERY !!! */

.captionOrange, .captionBlack
{
    color: #fff;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    border-radius: 4px;
}
.captionOrange
{
    background: #EB5100;
    background-color: rgba(235, 81, 0, 0.6);
}
.captionBlack
{
    height: auto !important;
    font-size:24px;
    background: #000;
    background-color: rgba(0, 0, 0, 0.4);
}
a.captionOrange, A.captionOrange:active, A.captionOrange:visited
{
    color: #ffffff;
    text-decoration: none;
}
a.captionOrange:hover
{
    color: #eb5100;
    text-decoration: underline;
    background-color: #eeeeee;
    background-color: rgba(238, 238, 238, 0.7);
}
.bricon
{
    background: url(../img/browser-icons.png);
}

.jssorb01 {
    position: absolute;
}
.jssorb01 div, .jssorb01 div:hover, .jssorb01 .av {
    position: absolute;
    /* size of bullet elment */
    width: 45px;
    height: 45px;
    filter: alpha(opacity=70);
    opacity: .7;
    overflow: hidden;
    cursor: pointer;
    border: #000 1px solid;
}
.jssorb01 div { background-color: gray; }
.jssorb01 div:hover, .jssorb01 .av:hover { background-color: #d3d3d3; }
.jssorb01 .av { background-color: #fff; }
.jssorb01 .dn, .jssorb01 .dn:hover { background-color: #555555; }

.jssora05l, .jssora05r {
    display: block;
    position: absolute;
    /* size of arrow element */
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url(../img/a17.png) no-repeat;
    overflow: hidden;
}
.jssora05l { background-position: -10px -40px; }
.jssora05r { background-position: -70px -40px; }
.jssora05l:hover { background-position: -130px -40px; }
.jssora05r:hover { background-position: -190px -40px; }
.jssora05l.jssora05ldn { background-position: -250px -40px; }
.jssora05r.jssora05rdn { background-position: -310px -40px; }






@media screen and (max-width: 800px) {
    .the-booklet {
        position: absolute;
        left: 0;
        width: 100%;

    }
}

.problem-raw-container h2,h3 {
    color: #444;
}

.specific-problem h3 {
    color: #eee;
}



#disqus_thread {
    background-color: #eee;
}

body {
    height: auto !important;
    overflow: visible !important;
}

.filters li {
    cursor: pointer;
}
