html, body {
    position: relative;
    min-height: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: table;
    width: 100%;
}

main, footer {
    display: table-row;
}

main {
    height: 100vh;
}

main > .container:first-child {
    padding-top: 80px;
    padding-bottom: 20px;
}

nav.panoview {
    height: 40px;
}

nav .logo {
    margin-right: 15px;
}

nav .logo img {
    width: 35px;
    height: 35px;
}

.nav-game-info ul {
    display: flex;
    list-style: none;
    font-size: 14px;
    line-height: 14px;
}

.nav-game-info p {
    margin: 0 auto;
}

.footer {
    width: 100%;
    line-height: 20px;
    background-color: #F5F5F5;
    height: 60px;
}

#map {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    bottom: 0;
}

.btn-primary {
    color: #fff !important;
    background-color: #6EC11C;
    border: 1px solid green;
}

.btn-primary:hover,
.btn-primary:active {
    background-color: #4c8f28 !important;
    border: 1px solid green !important;
}

.map-controls-container {
    position: absolute;
    bottom: 2px;
    left: 2px;
    z-index: 9999;
}

.solve-container {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9999;
    height: 500px;
    width:  700px;
}

@media screen and (max-width: 800px) {
    .solve-container {
        bottom: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }
}

.solveButton {
    position: absolute;
    bottom: 2px;
    left: 2px;
}

.closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
}

#solveMap {
    height: 100%;
    width:  100%;
}

#resultMap {
    height: 50vh;
    width:  100%;
}

#generatorMap,
#generatorPano {
    height: 60vh;
    width:  100%;
}

#generatorPano {
    display: none;
}

.result-points-bar {
    height: 30px;
    font-size: 25px;
    line-height: 25px;
    color: black;
}

.result-points-bar span {
     color: #333;
 }

.note {
    font-size: 0.8em;
    color: gray;
}

.container.display-error {
    display: none;
}

/**
 * Error Page
 */
.error-page {
    padding: 20px 0;
    background: #fff;
    font-family: 'Arvo', serif;
}

.error-page img {
    width: 100%;
}

.error-page h1 {
    font-size: 80px;
}

.error-page .error-animation {
    background-image: url('/assets/images/error.gif');
    height: 400px;
    background-position: center;
}

.error-page .error-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
}

/**
 * Bootstrap messages
 */
#msg {
    position: fixed;
    z-index: 9999999999;
    opacity: 0;
    width: 400px;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

#msg i {
    font-size: 20px;
    vertical-align: middle;
    width: 1em;
    text-align: center;
}

#msg span {
    font-size: 15px;
}

#msg .msg-progress {
    position: absolute;
    margin: 0;
    padding: 0;
    border-width: 2px 0;
    bottom: 0;
    left: 0;
    width: 0;
    border-radius: 0;
}

#msg.showed {
     top: 50px;
     opacity: 1;
 }

#msg.alert-no-icon i {
    display: none;
}

@media (min-width: 1200px) {
    #msg {
        width: 600px;
    }
}

@media (max-width: 479px) {
    #msg {
        width: 300px;
    }
}



/**
 * amsify-suggestags
 */
.amsify-suggestags-area {
    margin: 0 15px;
}

.amsify-suggestags-area
.amsify-suggestags-input-area-default {
    cursor: pointer;
    border: 1px solid #cccccc;
    min-height: 20px;
    padding: 8px 5px;
}

.amsify-suggestags-area
.amsify-suggestags-input-area {
    text-align: left;
    height: auto;
}

.amsify-suggestags-area
.amsify-suggestags-input-area:hover {
    cursor: text;
}

.amsify-suggestags-area
.amsify-suggestags-input-area
.amsify-suggestags-input {
    max-width: 200px;
    padding: 0px 4px;
    border: 0;
}

.amsify-suggestags-area
.amsify-suggestags-input-area
.amsify-suggestags-input:focus {
    outline: 0;
}

.amsify-focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

.amsify-focus-light {
    border-color: #cacaca;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(189, 189, 189, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(189, 189, 189, 0.6);
}

.amsify-suggestags-area
.amsify-suggestags-label {
    cursor: pointer;
    min-height: 20px;
}

.amsify-toggle-suggestags {
    float: right;
    cursor: pointer;
}

.amsify-suggestags-area .amsify-suggestags-list {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #dedede;
    z-index: 1;
}

.amsify-suggestags-area
.amsify-suggestags-list
ul.amsify-list {
    list-style: none;
    padding: 3px 0px;
    max-height: 150px;
    overflow-y: auto;
}

.amsify-suggestags-area
.amsify-suggestags-list
ul.amsify-list
li.amsify-list-item {
    text-align: left;
    cursor: pointer;
    padding: 0px 10px;
}

.amsify-suggestags-area
.amsify-suggestags-list
ul.amsify-list
li.amsify-list-item:active {
    background: #717171;
    color: white;
    -moz-box-shadow:    inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow:         inset 0 0 10px #000000;
}

.amsify-suggestags-area
.amsify-suggestags-list
ul.amsify-list
li.amsify-list-group {
    text-align: left;
    padding: 0px 10px;
    font-weight: bold;
}

.amsify-suggestags-area
.amsify-suggestags-list
ul.amsify-list
li.amsify-item-pad {
    padding-left: 30px;
}

.amsify-suggestags-area
.amsify-suggestags-list
ul.amsify-list
li.amsify-item-noresult {
    display: none;
    color: #ff6060;
    font-weight: bold;
    text-align: center;
}

.amsify-suggestags-area
.amsify-suggestags-list
.amsify-select-input {
    display: none;
}

.amsify-suggestags-area
.amsify-suggestags-list
ul.amsify-list
li.active {
    background: #d9d8d8;
}

.amsify-suggestags-area
.amsify-suggestags-list
ul.amsify-list
li.amsify-item-pad.active {
    font-weight: normal;
}

.amsify-suggestags-input-area
.amsify-select-tag {
    padding: 2px 7px;
    margin: 0px 4px 1px 0px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    display: inline-block;
}

.amsify-suggestags-input-area
.amsify-select-tag.col-bg {
    background: #d8d8d8;
    color: black;
}

/*.amsify-suggestags-input-area
.amsify-select-tag:hover {
	background: #737373;
    color: white;
}*/

.amsify-suggestags-input-area
.disabled.amsify-select-tag {
    background: #eaeaea;
    color: #b9b9b9;
    pointer-events: none;
}

.amsify-suggestags-input-area
.flash.amsify-select-tag {
    background-color: #f57f7f;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

.amsify-suggestags-input-area
.amsify-remove-tag {
    cursor: pointer;
}

