body {
    padding-top: 50px;
    /* overflow: hidden;*/
}

.main {
    margin-top: 30px;
    margin-bottom: 10px;
}

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

.share-button {
    height: 30px;
    width: 30px;
}

.row {
    margin-top: 10px;
    margin-bottom: 10px;
}

.map-container {
    border: 1px solid #ccc;
    position: relative;
    width: 100%;
}

.nominators, .controls {
    display: none;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    margin: auto;
    border-bottom: 10px solid #eee;
    cursor: pointer;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    margin: auto;
    border-top: 10px solid #eee;
    cursor: pointer;
}

.toggle {
    border-top: 5px solid #eee;
}

.form-group.year {
    padding-right: 0;
}

#accordion .panel {
    margin-bottom: 1em;
}

#results {
    max-height: 40vh;
    overflow-y: auto;
}

#currentSelection.won-nobel-prize,
.accordion .accordion-navigation > a.won-nobel-prize,
.accordion .accordion-navigation > a.won-nobel-prize:hover,
.accordion .accordion-navigation.active > a.won-nobel-prize {
    background: url(../flags/Nobel_prize_winner.svg) no-repeat right;
    background-size: 30px 30px;
    z-index: 50;
}

.text-ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden !important;
}

span.won-nobel-prize {
    background-size: contain;
    position: relative;
    display: inline-block;
    width: 1.33333333em;
    background-repeat: no-repeat;
    background-image: url(../flags/Nobel_prize_winner.svg);
    height: 1.3em;
    float: right;
}

.prize-button {
    padding: 0 2px 0 2px;
}

.active-button {
    background-color: #004f6b !important;
    color: #FFFFFF !important;
    font-weight: bold !important;
}

#prizes li {
    display: inline-block;
}

#sharing {
    z-index: 20;
    position: absolute;
    margin: 1em;
}

li.accordion-navigation {
    border: 1px solid grey;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

#results .accordion .accordion-navigation > a {
    padding: 0.5em;
}

#currentSelection {
    padding: 0;
}

a.prize i.fa {
    float: right;
}

.map-alert {
    top: 80px;
    bottom: 80%;
    left: 30%;
    width: 30%;
}

.accordion .accordion-navigation > a.unknown {
    background-color: #FFDCDC;
}

.nomination-result {
    width: 100%;
    padding: 7px !important;
    margin: 0 !important;
    text-align: left !important;
}

.nomination-result {
    width: 100%;
    padding: 7px !important;
    margin: 0 !important;
    text-align: left !important;
}

.modal {
    height: 80%;
    overflow-y: scroll;
}

.modal-content table{
    width:100%;
}

#firstModal {
    background-color: #f2f2f2;
}

.reveal-modal.medium-custom {
    top: 0;
    left: 0;
    width:100%;
    height:100%;
}

@media only screen and (min-width: 40.0625em) {
    .reveal-modal.medium-custom {
        left: 0;
        right: 0;
        top: 100px;
        margin: 0 auto;
        max-width: 62.5rem;
        width: 50%;
    }
}

@media only screen and (min-width: 64.063em) {
    .map-container{
        height: calc(100vh - 100px);
    }
} /* min-width 1025px, large screens */

@media only screen and (min-width: 90.063em) and (max-width: 120em) {
    #results{
        max-height: 58vh;
    }

    .visualization-button.hover{
        text-decoration: none;
    }
} /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */
