html {
    width: 100%;
    max-width: 650px;
    min-width: 360px;
}

body {
    width: 95%;
    position: relative;
    /*border: 2px solid #4b647d;*/
}

#pensionskassenBeitraege  {
    padding: 5px;
}

#title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 15px 10px;
}

#result-title {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 15px 10px;
}

.graphInfo {
    text-align: center;
    padding: 10px;
}

svg, .topMenu {
    width: 100%;
    padding: 0 2.5% 0 2.5%;
}

.grid line {
    stroke: lightgray;
}

/* Style the tab */
.tab {
    overflow: hidden;
}

/* Style the buttons that are used to open the tab content */
.tab td {
    float: left;
    outline: none;
    cursor: pointer;
    padding: 5px 10px 5px 10px;
    transition: 0.3s;
    width: 33.3333%;
    font-size: 14px;
    height: 52px;
    text-align: center;
    vertical-align: middle;
    border-radius: 4px 4px 0 0;
    background-color: #699673;
    color: white;
    display : inline-block;
    border: 1px solid lightgray;
}

#oneLine {
    line-height: 40px;
}

.tab td:hover, .dropdown-button:hover, #infoButton:hover {
    background-color: #8caf82;
}

#info-modal {
    position: absolute;
    display: none;
    left: 15%;
    top: 100px;
    right: auto!important;
    width: 70%;
    height: 190px;
    z-index: 10;
    background-color: white;
    border-radius: 3px;
    padding: 20px;
}

.modal-box {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: none;
    background-color: black;
    opacity: 0.5;
}

#infoButton {
    position: absolute;
    top: 20px;
    right: 25px;
    background-color: #699673;
    padding: 0 14px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    font-family: Georgia;
    cursor: pointer;
    box-shadow: 2px 2px 2px lightgray;
    /*border: 2px solid #4b647d;*/
}

.axisLabel {
    font-size: 12px;
}

.closeButton {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 0 15px 0 15px;
    background-color: #699673;
    font-weight: bold;
    border-radius: 2px;
    color: #ffffff;
    cursor: pointer;
}

/*#help {
    cursor: pointer;
    background-color: #556455;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    color: white;
    text-align: center;
    font-weight: bold;
    float: left;
    margin: 10px 10px 0 50px;
}*/

.help {
    width: 50%;
    font-size: 13px;
    float:left;
}

.drop {
    width: 50%;
    height: 35px;
    float:left;
}

.vertical{
    display: inline-block;
    vertical-align: middle;
}

#scenarios {
    position: absolute;
    background-color: white;
    left: 3.5%;
    top: 106px;
    border: 1px solid lightgray;
    width: 248px;
}

.dropdown-button {
    float: left;
    display: inline-block;
    background-color: #699673;
    padding: 5px 10px;
    color: white;
    text-align: center;
    cursor: pointer;
    width: 250px;
    border-radius: 2px;
    /*margin-right: 10%;*/
    box-shadow: 2px 2px 2px lightgray;
}

.arrow-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.selected {
    color: black!important;
    font-weight: bold;
    background-color: white!important;
    border-bottom: none!important;
}

#result {
    border: 1px solid lightgray;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

#schlussbalken {
    position: relative;
    width: 100%;
    height: 10px;
    margin: 10px 0 10px 0;
    background-color: #697d91;
    border-radius: 3px;
}

[type="radio"]:checked+label:after,
[type="radio"].with-gap:checked+label:before,
[type="radio"].with-gap:checked+label:after {
    background-color: #699673!important;
    border: 2px solid #699673!important;
}

@media (max-width: 570px) {
    .help, .drop {
        width: 100%;
    }
}
