@import url(https://fonts.googleapis.com/css?family=Annie+Use+Your+Telescope);

/* HEADER */
.theming {
    font-size: 1em;
    padding: 18em 0 0;
    background-color: black;
}

article {
    background-color: #E8EBF1;
}

.card {
    padding: 24px;
    background: #FFFFFF;
    box-shadow: 0px 2px 9px 0px rgba(141, 141, 141, 0.50);
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 48px;
}

.cover {
    background-size: cover;
    background-position: center center;
}

h1 {
    clear: left;
    background: linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    /* W3C */
    color: white;
    font-size: 60px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 0.3em 1em 1em 1em;
}

.pedia_suffix {
    display: block;
    font-size: 28px;
}

@media only screen and (min-width: 720px) {
    .theming {
        font-size: 1.5em;
    }
}

.stretchy {
    position: relative;
    margin: -20px;
    margin-bottom: 20px;
}

/* ARTICLE */
article {
    padding: 20px;
}

article a {
    color: #477B96;
    text-decoration: none;
}

article a:hover {
    text-decoration: underline;
}

p.intro {
    line-height: 150%;
}

h2 {
    clear: left;
    margin-bottom: 0.5em;
    font-size: 2em;
    font-weight: 500;
}

/* map */
#gmap {
    margin: 0;
    margin-top: 15px;
    overflow: hidden;
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: -24px;
}

#gmap a {
    display: block;
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: cover;
}

/*lineicons*/
.linetoc {
    margin-top: 20px;
    font-size: 95%;
}

.linetoc p {
    margin: 0;
    padding: 0;
    padding-bottom: 5px;
}

.linetoc p {
    padding: 3px;
    margin-bottom: 5px;
}

.linetoc {
    margin-bottom: 25px;
}

.linetoc p.lineheader {
    margin: -24px -24px 24px -24px;
    text-align: left;
    font-weight: normal;
    font-size: 1.5em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    padding-left: 24px;
}

.linestations {
    font-weight: normal;
    line-height: 160%;
}

.lineheader a {
    color: inherit;
}

.change {
    font-size: x-small;
    font-weight: bold;
    padding: 2px;
}

.nice {
    padding: 3px;
    font-weight: bold;
    font-size: smaller;
}

.change a {
    text-decoration: none;
    color: white !important;
}

a.nice {
    text-decoration: none;
    color: white;
}

a.nice:hover {
    text-decoration: underline;
}

.linetitlewidget a.nice {
    display: inline-block;
    height: 100%;
    padding: 0;
    width: 2em;
}

.linetitlewidget {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}

nav.pedianav {
    margin-top: 24px;
    margin-bottom: 24px;
    border-top: 1px rgba(0, 0, 0, 0.1) solid;
    border-bottom: 1px rgba(0, 0, 0, 0.1) solid;
    padding: 8px 0;
    text-align: center;
}

nav.pedianav a {
    display: inline-block;
    padding: 8px 0;
    font-weight: bold;
    padding-right: 2em;
    text-decoration: none;
}

/*table */
.basicfacts {
    border-collapse: collapse;
    margin-left: 1px;
    margin-bottom: 5px;
    margin-top: 10px;
    min-width: 300px;
    max-width: 800px;
}

.basicfacts td,
.basicfacts th {
    padding: 8px 3px;
    text-align: left;
    vertical-align: top;
}

.basicfacts li {
    list-style-type: none;
}

.footer {
    clear: right;
    margin-top: 30px;
    padding-top: 10px;
    padding-bottom: 25px;
    border-top: thin gray solid;
}

/* PHOTOS */

ul.photos {
    margin: 0;
    padding: 0;
}

ul.photos li {
    padding: 0;
    margin: 0;
    display: inline-block;
    width: 78px;
    margin: 5px;
    cursor:pointer;

}

ul.photos li span {
    display: none;
    position: absolute;
    font-size: small;
    background-color: #ffffee;
    border: 1px #ffcc99 solid;
    padding: 3px;
    width: 120px;
}

ul.photos li:hover span {
    display: block;
}

p.pano {
    clear: both;
    margin-top: 15px;
    font-size: small;
}

.bigphoto {
    overflow: hidden;
}

.bigphoto .author {
    display: block;
}

#bigphotoimg {
    max-width: 500px;
    max-height: 500px;
}


.wiki img {
    padding-right: 3px;
    vertical-align: middle;
}

.wiki li {
    list-style-type: none;
    margin-top: 10px;
}



/* TIPS */
.tipcontainer {
    margin-bottom: 35px;
}

.tip {
    background-color: #ffc;
    height: 100px;
    width: 340px;
    margin-left: 10px;
    padding: 15px;
    margin-top: 30px;

    box-shadow: 5px 5px 7px rgba(33, 33, 33, .3);

    transform: rotate(-2deg);
    display: inline-block;
}

.tip:nth-of-type(even) {
    transform: rotate(4deg);
}

.tip p {
    margin: 0;
    font-size: 1.0em;
    font-family: "Annie Use Your Telescope", cursive, sans-serif;
}

.tip p.tiptext {
    font-size: 1.3em;
    height: 95px;
    overflow: hidden;
}

.tip p.tipauthor {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 4px;
    color: #999;
}

.tip p.tipcreated {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 4px;
    padding-left: 15px;
    color: #999;
}

@media only screen and (max-width: 520px) {
    .tip {
        width: 250px;
    }

    .tip p {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        padding-left: 10px;
    }

    .stretchy {
        margin-left: -10px;
        margin-top: -10px;
        margin-right: -10px;
    }

    article {
        padding: 10px;
    }
}

#audio_btn {
    background-color: #999 !important;
    width: 32px;
    height: 32px;
}

#audio_btn:hover {
    background-color: #555 !important;
}

/* LINE */
.line p {
    height: 48px;
    margin: 0;
    color: #003399;
    font-size: 1.2em;
}

.line p img,
.line p canvas {
    vertical-align: middle;
}

.line a:hover,
.line a:visited:hover {
    text-decoration: underline;
}

.line p.current a.currentlink {
    background-color: #003399;
    color: white;
    padding: 5px;
    line-height: 26px;
}

.line p.current a:hover {
    text-decoration: none;
}

ul.exitcontainer {
    list-style-type: none
}

ul.exitcontainer li {
    margin-bottom: 0.5em;
}

ul.exitcontainer li span {
    display: inline-block;
    border-radius: 10px;
    padding-top: 2px;
    height: 17px;
    width: 20px;
    font-size: 14px;
    text-align: center;
    background-color: black;
    color: white;
    font-weight: bold;
    ;
}

article dt {
    margin-top: 1em;
}

article dd {
    font-weight: bold;
}