.vscomp-ele {
    max-width: 100% !important;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    margin: 2% 1.5% 1.5%;
}

.nav-text {
    margin-left: 15px;
    color: rgb(195, 194, 194);
}

.nav-about {
    color: rgb(195, 194, 194);
    cursor: pointer;
}

.logo-part {
    display: flex;
    flex: 1;
}

.logo {
    margin-top: -15px;
    max-width: 300px;
    height: 50px;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 13%;
    margin-right: 13%;
    margin-top: 5%;
}

.search-filter {
    display: flex;
    width: 100% !important;
    flex-grow: 3;
    flex-direction: column;
}

.results-label {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    color: rgb(138, 141, 141);
    font-size: smaller;
}

.amsify-suggestags-input-area {
    border-radius: 5px;
}

.amsify-suggestags-area {
    width: 100%;
}

.amsify-suggestags-input {
    width: 230px;
    max-width: 1000px !important;
}

.amsify-suggestags-area:active {
    border-color: black;
}

.select2 {
    color: white;
    flex: 1 150px;
    margin-top: 1%;
}

.data-points {
    display: flex;
    flex-grow: 2;
    flex-direction: row;
    flex-wrap: wrap;
}

.point-1 {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    flex-direction: column;
}

.cards-main {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
}

.card-top {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    color: white;
}

.card-top-date {
    font-weight: normal;
}

.card {
    width: 100%;
    margin-top: 2%;
    box-shadow: 0 0 10px 0 rgba(177, 177, 177, 0.26);
}

.card:hover {
    box-shadow: 0 0 50px 0 rgba(94, 94, 94, 0.26);
    cursor: pointer;
}

.preload {
    z-index: 2;
    flex: 1;
    margin-bottom: 30px;
}

.download-wrapper{
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: space-around;
    flex-wrap: wrap;
}

.download-wrapper-title{
    display: block;
}

#download-pdf, #download-png{
    display: none;
}


#download-pdf, #download-png{
    opacity: 0.9;
    background: orange;
    cursor: pointer;
    color: white;
    outline: none;
    width: 60px;
    height: 40px;
    border: none;
}

#download-pdf{
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px
}

#download-png{
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px
}

#download-pdf:hover, #download-png:hover{
    background: #F88017;
}

#buttondrugs, .download-wrapper {
    opacity: 0.8;
    top: 90%;
    left: 90%;
    position: fixed;
    background: orange;
    cursor: pointer;
    border-radius: .25rem;
    color: white;
    border: none;
    outline: none;
    width: 120px;
    height: 40px;
}

#buttondrugs:hover, .download-wrapper:hover {
    background: #F88017;
}

#loadbtn {
    margin-top: 50px;
    margin-bottom: 60px;
}

.modal {
    overflow: auto;
    z-index: 1;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

.modal-header {
    padding: 10px;
    background-color: #c3e6cb;
    color: #155724;
    position: sticky;
    top: 0;
    z-index: 2;
}

#close_modal {
    position: absolute;
    left: 98%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: rgb(21, 87, 36);
    opacity: 0.7;
    font-family: inherit;
    font-size: x-large;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

#close_modal:hover {
    opacity: 1;
}

.plots-header {
    padding: 2px 16px;
}

.modal-body {
    padding: 2px 50px;
    display: flex;
    flex-wrap: wrap;
    background: white;
    justify-content: space-between;
}

.modal-footer {
    height: 50px;
    background-color: #c3e6cb;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.empty-result {
    text-align: center;
    font-size: medium;
    font-weight: 600;
    color: #333333;
    padding: 10px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 5px;
    box-shadow: 3px 3px 5px grey;
}

.alert-success {
    box-shadow: 3px 3px 5px grey;
}

.pub_year_wrapper{
    display: flex;
    margin-top: 12px;
    height: 50px;
    font-size: 14px;
    font-family: sans-serif;
    padding-left: 12px;
}

.pub_year_interval_title{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    margin-right: 15px;
}

.pub_year_interval_title > p{
    margin: 0;
    color: #aaa;
}

.yearsel_wrapper {
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;
    width: 100px;
    color: #aaa;
}

.yearsel_wrapper > div > select{
    border: 1px solid #ddd;
    color: #aaa;
}

.yearsel{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
