h3{
    padding: 0px;
    margin: 0px;
    margin-top:6px;
}

h2 a {
    text-decoration:none;
    color: #003399;
}

#backButton {
    cursor: pointer;
    width: 15%;
    height: 15%;
}

#backButton h3 {
    text-decoration:underline;
    padding-top: 29%;
    height: 40px;
    vertical-align: middle
}

.width{width:calc(100%/3)}
.image-height{height:150px}
.description-height{height:60px}
.usage-height{height:45px}
.detail-height{height:190px}

.width-100.border {
    box-sizing: border-box;
    margin-top: 20px;
}

#zweiteZeileMobile {
    display: none;
    margin-top: -5px;
}

.resultContainerMobile {
    display: none;
}

input[type=radio] {
    appearance: none;
    background-color: #fff;
    border: 2px solid #ccc;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    display: inline-grid;
    place-content: center; 
    -webkit-box-shadow: inset 0px 0px 2px 0px #000000; 
    box-shadow: inset 0px 0px 2px 0px #000000;
  }

input[type=radio]::before {
    content: "";
    width: 15px;
    height: 15px;
    transform: scale(0);
    transform-origin: bottom left;
    background-color: #fff;
    clip-path: polygon(13% 50%, 34% 66%, 81% 2%, 100% 18%, 39% 100%, 0 71%);
}

input[type=radio]:checked::before {
    transform: scale(1);
}
input[type=radio]:checked{
    background-color: #0060df;
    border: 2px solid #0060df;
    -webkit-box-shadow: none; 
    box-shadow: none;
}

input, label {
    cursor: pointer;
}

input[type=text] {
    cursor: text;
}

.border {
    border: 1px solid #CCCCCC;
}

.border-top {
    border-top: 1px solid #CCCCCC;
}

.border-left {
    border-left: 1px solid #CCCCCC;
}

.border-bottom {
    border-bottom: 1px solid #CCCCCC;
}

.relative {
    position: relative;
    box-sizing: border-box;
}

.ergebnis {
    width: fit-content;
    padding: 5px 10px;
    font-size: 1.3rem;
    background-color: #eaeaea;
    cursor: default;
    color: #454545;
}

.ergebnisFeld {
    min-width: 100px;
    border-left: none;
    padding: 5px 10px;
    font-size: 1.3rem;
}

.thumbUp {
    display: none;
    position: absolute;
    top: -50px;
    left: 25px;
}

.msg-icn {
    display: inline-block;
    padding: 10px 20px;
    box-sizing: border-box;
    max-width: 300px;
    min-width: 80px;
    min-height: 38px;
    color: white;
}
.msg-icn:before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
/*    border: 1px solid #e5a002;
    border-radius: 2px;
    box-sizing: border-box;
    clip-path: polygon(0% 105%, 0% 0%, 105% 0%, 105% 105%, 43px 105%, 43px 80%, 21px 80%, 21px 105%);*/
}
.msg-icn:after {
    content: "";
    position: absolute;
    display: block;
    width: 25px;
    height: 20px;
    background: #004467;
    top: calc(100% - 1px);
    left: 20px;
    box-sizing: border-box;
    clip-path: polygon(0 0, 0% 100%, 100% 0%);
/*    clip-path: polygon(0 0, 0% 100%, 100% 0%, calc(100% - 2px) 0, 1px calc(100% - 2px), 1px 0);*/
}

#sweite {
    margin-bottom: 10px;
    margin-top:5px;
    width:100%;
    height:30px;
}

.resultContainer {
    width: 400px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    padding-right: 15px;
}

#gewindeErmitteln, #gewindeErmitteln2, #gewindeErmitteln3 {
    width: 200px;
    display: none;
    margin: 0 auto 15px;
    background-color: #999;
}

.next-button {
    display: block;
    width: 200px;
    margin: auto;
}

button.next-step-top {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.arrow-next-button, .arrow-back-button {
    display: block;
    margin: auto;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 1.5em;
    white-space: nowrap;
}

.arrow-back-button {
    padding-left: 1.5em;
    padding-right: 2em;
    margin-left: 0;
    margin-right: 15px;
}

.arrow-next-button div, .arrow-back-button div {
    display: inline-block;
}

.arrow-next-button img, .arrow-back-button img {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 2px;
}

#leadingRow h3 {
    width: fit-content;
    margin-left: 20px;
}

input[type=text] {
    font-size: 1.5rem;
}

input[type=text]:placeholder-shown {
    font-size: 1.3rem;
}
        
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){
    .width{width:33.33%}
}

@media only screen and (max-device-width: 1150px){
    input[type=text]:placeholder-shown {
        font-size: 1.2rem;
    }
}

@media only screen and (max-device-width: 1100px){
    input[type=text]:placeholder-shown {
        font-size: 1.1rem;
    }
}

@media only screen and (max-device-width: 1050px){
    input[type=text]:placeholder-shown {
        font-size: 1rem;
    }
}

@media only screen and (max-device-width: 950px){
    input[type=text]:placeholder-shown {
        font-size: 0.95rem;
    }
}

@media only screen and (max-device-width: 900px){
    input[type=text]:placeholder-shown {
        font-size: 0.9rem;
    }
}

@media only screen and (max-device-width: 880px){
    .resultContainer {
        padding-right: 0;
        width: 300px;
        height: 120px;
    }
    #result, #result2, #result3, #resultMobile, #result2Mobile, #result3Mobile {
        font-size: 18px !important;
    }
    #gewindeErmitteln, #gewindeErmitteln2, #gewindeErmitteln3 {
        margin-bottom: 10px;
    }
    button.next-step-top {
        display: block;
        width: 200px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 9px;
        position: initial;
    }
}

@media only screen and (max-device-width: 800px){
    input[type=text]:placeholder-shown {
        font-size: 1.5rem;
    }
}

@media only screen and (max-device-width: 768px){
    .detail-height{height: 230px}
    .width{width: 50%}
    .image-height{height: 220px}
    .description-height{height: 80px}
    .usage-height{height: 60px}
}

@media only screen and (max-device-width: 640px){
    .resultContainerDesktop {
        display: none;
    }

    .resultContainerMobile {
        display: block;
        position: initial;
        width: 100%;
        height: auto;
        margin: 15px 0;
    }
}

@media only screen and (max-device-width: 540px){
    #leadingRow {
        flex-wrap: wrap;
    }
    .arrow-back-button {
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0;
    }
    #leadingRow h3 {
        margin-left: 0px;
    }
}

@media only screen and (max-device-width: 480px){
    .detail-height{height:150px}
    .image-height{height:150px}
    .description-height{height:90px}
    .usage-height{height:60px}
    input[type=text] {
        font-size: 1.25rem;
    }
}

@media only screen and (max-device-width: 400px){
    .width{width:100%}
    .image-height{height:210px}
    .detail-height{height:220px}
    .description-height{height:70px}
    .usage-height{height:50px}
    input[type=text]:placeholder-shown {
        font-size: 1rem;
    }
    input[type=text] {
        font-size: 1rem;
    }
}