/* Eric Meyer's CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 13px;
    font-family: 'Helvetica Neue', 'Roboto', Verdana, Arial, sans-serif;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

li {
    cursor: pointer;
    border-bottom: 1px solid #A9A9A9;
}

li:hover {
    background-color: #fafbf4;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* End of Eric Meyer's CSS Reset */

html {
    height: 100%;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
    display: block;
}

body {
    font: 12px/18px Arial, sans-serif;
    height: 100%;
    background-color: #e5e8ce;
    background-image: url("images/black-thread-light.png");
    background-repeat: repeat;
}

.wrapper {
    position:relative;
    min-width: 960px;
    max-width: 960px;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

.wrapper_mobile {
    position:relative;
    min-width: 560px;
    max-width: 560px;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
    min-width: 960px;
    height: 100px;
    background-image: url("images/background_repeat.png");
    background-repeat: repeat-x;
}

/* Middle
-----------------------------------------------------------------------------*/
.middle {
    width: 100%;
    padding: 0 0 55px;
    position: relative;
}

.middle:after {
    display: table;
    clear: both;
    content: '';
}

.container {
    width: 100%;
    float: left;
    overflow: hidden;
}

.content {
    display:flex;
    background-color: white;
}

/* Footer
-----------------------------------------------------------------------------*/
.footer {
    min-width: 960px;
    margin: -60px auto 0;
    height: 60px;
    position: relative;
    background-image: url("images/background_footer_repeat.png");
    background-repeat: repeat-x;
}

.locations {
    flex: 1;
    min-width: 560px;
    max-width: 560px;
    background-color: white;
}

.location {
    overflow: auto;
    padding: 5px;
    margin-bottom: 10px;
}

.top_location_container {
    display: block;
    height: 100px;
    margin-bottom: 10px;
}

.at_view {
    position: relative;
    float: left;
    width:100px;
    height:100px;
    margin-right: 10px;
    background-color: #eaeaea;
}

.map_container {
    width: 400px;
    min-width: 400px;
    height: 560px;
    padding: 5px;
}

.map {
    width: 390px;
    min-width: 390px;
    height: 400px;
    margin-bottom: 5px;
}

.info {
    width: 390px;
    min-width: 390px;
    height: 170px;
    background-color: #f0f0f0;
    background-image: url("images/black-thread-light.png");
    background-repeat: repeat;
    padding-top: 10px;
    text-align: center;
}

.stick {
    position:fixed;
    top:0px;
}

img.thumbs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding:4px;
}

a.image_popup {
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

span.bold {
    display: block;
    font-weight: bold;
    font-size: 15px;
}

span.normal {
    display: block;
}

.css_input {
    border-color: #cccccc;
    padding: 6px;
    font-size: 10px;
    border-radius: 8px;
    border-style: solid;
    border-width: 2px;
    position: absolute;
    right: 10px;
    top: 33px;
    width: 33%;
    vertical-align: middle;
}

.css_input:focus {
    outline: none;
}

.spacer {
    width: 1px;
    height: 640px;
}

#floating-panel {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
    background-color: #fff;
    padding: 5px;
    /*border: 1px solid #999;*/
    text-align: center;
    font-family: 'Roboto', 'sans-serif';
    line-height: 25px;
}

#floating-panel:hover {
    background-color: #e8e8e8;
    cursor: pointer;
}

button.maps_button {
    border: none;
    background: none;
    cursor: pointer;
}

button.maps_button:focus {
    outline:0;
}

a.footer_link {
    padding: 0 5px 0 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    color: white;
}

a.footer_link:hover {
    color: wheat;
}