@media (max-width: 768px) {

    body#page2 #content > .csc-default {
        padding: 0 15px;
        margin: 0;
    }

    body#page2 #content > .csc-default h1 {
        margin: 30px 0;
        float: left;
    }

    body#page2 #main {
        width: 100%;
        margin-right: 0;
    }

    body#page2 #main #content {
        width: 100%;
    }

    body#page2 #main #content .csc-default > p b,
    body#page2 #main #content .csc-default > p a {
        width: 100% !important;
    }

    body#page2 #main #content .csc-default > p b {
        margin-bottom: 10px !important;
    }

    body#page2 #main #content .csc-default > p a {
        margin-bottom: 30px !important;
    }

    body#page110 #frame #content {
        height: auto !important;
    }

    .tx-pingag-quiz .question .answer .nextquestion {
        top: 50px !important;
    }

    .question .questiontext {
        height: 30px;
    }

    .videooverlay .video {
        width: 75%;
        margin: 45px auto;
    }


    .textoverlay {
        top: 0;
        overflow: scroll;
        bottom: inherit;
        position: relative;
        width: 90%;
        margin: 50px 5% 0;
        left: 0;
        transform: none;
        height: auto !important;
        float: left;
    }

    #page2 .tx-dce-pi1 {
        float: left;
    }

    .videooverlay .close {
        right: 2px;
        top: 2px;
    }

    .textoverlay .text {
        width: 90%;
    }

    .textoverlay .close {
        right: 2px;
        top: 2px;
    }


    .ui-buttonset {
        margin-right: 0px !important;
    }

    #footer .csc-default p img {
        width: 60% !important;
        padding-bottom: 5px;
    }

    .hometext h1 {
        padding-left: 5%;
    }

    .blueround a {
        font-size: 0.9em;
        line-height: 1.5em;
    }

    .tx-pingag-quiz {
        padding-bottom: 70px;
        padding-top: 30px;
    }

    .frageseite .tx-pingag-quiz {
        padding-top: 0;
        padding-bottom: 0;
    }

    .prevquestion {
        width: 37%;
    }

    .fancybox-close {
        height: 46px;
        width: 46px;
        top: -25px;
        left: -14px;
        background: url(img/x.png) left top no-repeat;
        background-size: 15px !important;
        background-color: #4579B2;
        background-position: center center;
        background-repeat: no-repeat;
    }


    /*.question .question .col1 a.lightbox {
        margin-top: 0;
        background-image: url(img/question-circle.png);
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: contain;
        padding: 15px;
      display:block;
      width:calc(100% - 30px);
    }*/
    .question .question .col1 {
        background: none;
    }

    .questionlabels {
        position: relative;
        width: auto;
    }

    .question label.ui-button.number2, .question label.ui-button.number1 {
        margin: 0 !important;
    }

    .question label.ui-button.number2 {
        position: relative;
        top: 0;
        left: 0px;
        margin: 40px 0 0 0 !important;
    }

    .tx-pingag-quiz .title {
        right: 0px !important;
    }

    /*
    XXXF
    .frageseite #foxoter {
        position: absolute;
        bottom: 0;
    }
    */

    .blueround {
        width: 38.3%;
        font-size: 1.429em;
        line-height: 1.5em;
        margin-left: 5.85% !important;
        margin-right: 5.85% !important;
    }

    .buttonwebinar {
        position: relative;
        top: 0;
        width: calc(38.3% - 40px);
        padding: 0 20px;
        margin: 0 auto;
        left: 0;
    }

    #footer {
        width: 96%;
        padding-left: 2%;
        padding-right: 2%;

    }

    #footer p {
        width: 60%;
    }

    .greyround {
        width: 55%;
    }

    .micro {
        top: 30px;
    }

    .tx-pingag-quiz .frage.number1, .tx-pingag-quiz .frage.number9, .tx-pingag-quiz .frage.number4, .tx-pingag-quiz .frage.number6 {
        width: 40%;
    }

    .tx-pingag-quiz .frage.number2, .tx-pingag-quiz .frage.number8, .tx-pingag-quiz .frage.number3, .tx-pingag-quiz .frage.number7 {
        width: 29.2%;
    }

    .line2, .line4 {
        margin-top: 22.5px;
    }

    .tx-pingag-quiz .frage.number5 {
        margin-top: -35px;
    }

    .question .col1 {
        width: 42%;
        height: auto;
        float: left;
        background-size: 100% auto;
    }

    .question .col1 img {
        margin-top: 57px;
    }

    .question .col1 .fragebild {
        margin-top: 0;
    }

    .question .col2 {
        padding-top: 86px;
        float: right;
        width: 55%;
        height: auto !important;
        position: static;
        top: 0;
        left: 0;
    }

    .question .answer .col2 {
        padding-top: 0;
    }

    .question label.ui-button {
        position: relative;
        border-top: 3px solid #5787ba;
        width: 100%;
        text-align: left;
        top: 0;
        margin-bottom: 40px;
        margin-right: 0;
    }

    .question label.ui-button .legend {
        left: calc(50% - 50px);
        top: -19px;
    }

    .answer {
        left: 16.4%;
        width: calc(67.2% - 90px);
        max-height: calc(100% - 60px);
    }

    .lightbox span {
        bottom: 50px;
    }

    .prev {
        left: 20% !important;
        width: auto !important;
    }

    .tx-pingag-quiz .next {
        top: 10px !important;
    }

    .tx-pingag-quiz .next.startseite {
        top:-120px !important;
    }

}


@media (max-width: 620px) {
    
    body#page2 #content > .frame-default {
    padding: 78px;
    margin: unset;
}
#page2 #footer {
    position: relative;
    bottom: 0;
    padding-top: 50px;
        display: block;
    
}
body#page2 #main .frame-default > p b {
    width: 30% !important;
    float: left !important;
}
body#page2 #main .frame-default > p a {
    width: 70% !important;
    float: left !important;
    margin-bottom: 20px;
}

    /*
    XXXF
    .frageseite #foxoter {
        position: relative !important;
        bottom: 0;
        margin-top: 0;
    }
    */

    body#page110,
    body#page2 {
        /*background: none;*/
    }

    .hometext {
        width: 100%;
        padding-bottom: 0;
    }

    .blueround {
        width: 88.3%;
        font-size: 1.429em;
        line-height: 1.5em;
        margin-left: 5.85% !important;
        margin-right: 5.85% !important;
        margin-top: 40px;
        position: relative;
        bottom: inherit;
    }
.buttonwebinar {
  width: calc(88.3% - 40px);
}

    #loginbox {
        width: calc(96% - 40px);
        padding: 20px 20px 10px 20px;
        margin-top: 65px;
        height: 375px;
        overflow: scroll;
        margin-top: 18% !important;
    }

    .logindiv {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 150;
        background: rgba(255, 255, 255, 0.85);
        display: none;
    }

    .logindiv .close {
        right: 3%;
        top: 15px;
    }

    #loginbox h3 {
        margin-bottom: 20px;
    }

    #loginbox p.message {
        margin-bottom: 20px;
    }

    #error {
        margin-bottom: 20px;
    }

    #loginbox input[type="text"], #loginbox input[type="password"] {
        margin-bottom: 20px;
    }

    #loginbox input[type="submit"] {
        margin-bottom: 24px;
    }

    .micro span {
        height: 41.5%;
        padding-top: 23.5%;
        font-size: 1.8em;
    }

    .title {
        width: 100%;
        top: 27px;
    }

    .title a {
        left: 2.6px;
        width: 48%;
        text-align: left;
    }

    .title a.next {
        /*right: 10px;*/
    }

    .title a.next.top {
        top: 0 !important;
    }

    .title.start a {
        top: -2px;
    }

    #page66 .tx-pingag-quiz {
        padding-bottom: 0px;
        padding-top: 100px;
    }

    .tx-pingag-quiz .frage a {
        background-size: auto 100%;
    }

    .tx-pingag-quiz .startseite {
        top: -85px !important;
    }

    .question a.start, #questionOverview a.start {
        top: 28px !important;
    }


    .title.start p {
        padding-top: 30px;
        max-width: 100%;
    }

    .title h1, .question h1 {
        font-size: 4.8em;
    }

    .question .buttonset {
        margin-top: 100px;
        display: table-cell;
        vertical-align: middle;
        border: none;
        width: 100%;
    }

    .question .buttonset input {
        display: none;
    }

    .frage {
        float: left;
        width: 50% !important;
        text-align: center !important;
        margin-bottom: 20px;
    }

    .tx-pingag-quiz .frage.number5 {
        margin-top: 0;
    }

    .tx-pingag-quiz .frage a {
        width: 100px;
        height: 100px;
    }

    .tx-pingag-quiz .frage a span {
        width: 100px;
        height: 100px;
        line-height: 100px;
    }

    .micro {
        position: static;
        display: none;
    }

    p.forgotten {
        line-height: 26px;
    }

    .question .question {
        padding-bottom: 0;
    }

    .question .question .col1 {
        width: 100%;
    }

    .greyround {
        width: 65%;
        margin: 0 auto;
        border: none;
        margin-bottom: 30px;
        margin-top: 320px;
    }

    #c4 {
        padding-top: 20px;
    }

    .micro span {
        width: 100%;
        height: 64.9%;
        padding-top: 35%;
        margin-top: 0;
    }

    .question .questiontext {
        width: 100%;
        padding-top: 46px;
    }

    .tx-pingag-quiz .questiontext h3.frage {
        width: 100% !important;
    }

    .question .col1 {
        width: 100%;
    }

    .question .col1 img {
        margin-top: 26px;
    }

    .question .col2 {
        width: 100%;
        float: left;
    }

    .question a.start {
        top: 25px;
    }

    .answer {
        position: fixed;
        padding: 20px;
        width: calc(93% - 40px);
        left: 2%;
        padding-top: 27px;
        top: 27px;

    }

    span.falsch, span.richtig {
        height: 44px;
        width: 44px;
        left: -2%;
        top: -22px;
    }

    span.return {
        top: -22px;
    }

    .title.stream a {
        font-size: 0;
        position: fixed;
        top: 1px;
        left: 20%;
        height: 26px;
    }

    .title.stream a.next {
        left: auto;
        right: 20%;
    }

    h1.short, h1.short2 {
        width: 100%;
    }

    #footer p {
        width: 46%;
    }

    .infopage .title a {
        width: 41%;
    }

    .buttoninfo.treatment, .buttoninfo.productinfo {
        position: absolute;
        top: -55px;
    }

    .accordion-section-content {
        width: calc(100% - 32px);
        padding-right: 16px;
    }

    .tx-srfeuserregister-pi1 {
        width: 100%;
    }

    #loginbox {
        width: calc(100% - 40px);
    }

    .tx-srfeuserregister-pi1 input[type="submit"] {
        width: 56%;
    }

    #footer .service a {
        padding-left: 0px;
        padding-right: 15px;
    }

    #footer .service {
        float: none;
        clear: both;
    }

    .accordion {
        margin: 10px 0 10px 0;
    }

    .accordion-section {
        padding-bottom: 10px;
    }

    .accordion-section-title {
        background-image: url(img/cross-blue.png);
        background-repeat: no-repeat;
        background-position: right 16px top 9px;
        background-size: 27px;
        width: calc(80% - 16px);
        padding-right: 20%;
    }


    .textoverlay .close {
        display: block;
    }


}

@media (max-width: 480px) {

    .infopage .buttonsright .buttoninfo {
        text-align: right;
    }

    .prev {
        left: 0 !important;
        width: auto !important;
    }

    .question a.start {
        left: 0 !important;
    }

    .answer {
        position: fixed;
        padding: 20px;
        width: calc(96% - 40px);
        left: 2%;
        padding-top: 20px;
        top: 10px;

        overflow: scroll;
    }

    span.falsch, span.richtig {
        height: 44px;
        width: 44px;
        left: 0;
        top: 0;
    }

    span.return {
        top: 12px;
        left: 20px;
    }

    .question .col1 {
        padding-top: 60px;
    }

    .title.stream a {
        position: absolute;
        z-index: 50;
    }

    .infopage .title a {
        width: 50%;
    }


    .true span.return {
        left: 0px;
        width: auto;
        top: 0px;
    }

    .nextquestion {
        position: absolute;
        right: 20px;
        top: 33px;
    }

    .question .answer .antwort {
        padding-top: 66px;
    }

    .question .question .answer .nextquestion {
        top: 33px !important;
    }

    .prevquestion {
        position: absolute;
        left: 20px;
        top: 50px;
    }

    .prevquestion a {
        display: inline-block;
        width: 100%;
    }

    .prevquestion {
        width: 50%;
    }

    .infopage .title {
        margin-top: -120px;
    }

    .infopage #main, .references #main {
        padding-top: 120px;
    }

    #page65.infopage #main, #page77 #main, #page76 #main, .references #main, .registrationpage #main {
        padding-top: 20px;
    }

    .ui-dialog {
        width: 90% !important;
    }

    .prevback {
        top: -114px;
    }

    .buttonsright a {
        float: none !important;
        display: block;
        width: auto;
        line-height: normal !important;
    }

    .buttonsright {
        right: 0 !important;
        top: -119px !important;
    }

    .buttoninfo.treatment, .buttoninfo.productinfo {
        top: -40px;
    }

    .blueround {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    #footer {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}


@media (max-width: 320px) {
    .tx-pingag-quiz .startseite {
        top: -140px !important;
    }
}
