.userImg {
    float: left;
    margin-bottom: 12px;
    margin-right: 25px;
    width: 200px;
}

#meta .profil .profilContent div.userImg {
    margin-bottom: 0;
}

div.introText {
    padding-left: 15px;
}

#main {
    text-align: left;
}

h1, #main > h2 {
    text-align: left;
}

span.learningPoints {
    font-size: 1.2em;
}

img.credits {
    filter: none;
    -webkit-filter: none;
    -moz-filter: none;
    -o-filter: none;
    -ms-filter: none;
}

#trainingSelfTestWrapper > div.flex > div {
    padding: 20px;
    position: relative;
    width: 50%;
}

#moodContainer {
    position: relative;
    width: 410px;
    height: 435px;
    margin: -80px 0 0 25px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    float: right;
    text-align: center;
    line-height: normal;
    z-index: 1;
}

#moodContainer #noteBlock {
    background-image: url("../graphX/noteBlock.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 380px auto;
    height: 295px;
    margin: auto;
    overflow: visible;
    padding-top: 55px;
    text-align: center;
    width: 380px;
    max-width: 100%;
    margin-top: 25px;
    filter: drop-shadow(0px 0 7px #dcdcdc);
    -webkit-filter: drop-shadow(0px 0 7px #dcdcdc);
    -moz-filter: drop-shadow(0px 0 7px #dcdcdc);
    -o-filter: drop-shadow(0px 0 7px #dcdcdc);
    -ms-filter: drop-shadow(0px 0 7px #dcdcdc);
}

#moodContainer .text, #moodContainer #noteBlock table {
    font-size: 0.85em;
    transform: rotate(3.5deg);
    margin-top: 10px;
}

#moodContainer #noteBlock table {
    height: 175px;
    margin: auto;
    width: 280px;
    margin-top: 10px;
}

#moodContainer #noteBlock table thead tr td {
    height: 30px;
    font-weight: bold;
}

#moodContainer #noteBlock table tbody {
    font-size: 0.9em;
}

#moodContainer #noteBlock table tbody tr:first-child {
    font-weight: bold;
}

#moodContainer #noteBlock table td {
    width: 25px;
    padding: 3px;
    position: relative;
}

#moodContainer #noteBlock table td div.moodInfo {
    background-color: #ffffff;
    border: 2px solid #d3d3d3;
    bottom: 35px;
    color: #929292;
    font-size: 0.75em;
    font-weight: normal;
    left: -150px;
    padding: 7px;
    position: absolute;
    transform: rotate(-3.5deg);
    width: 200px;
    hyphens: none;
}

#moodContainer #noteBlock table td div.moodInfo::before, #noteBlock table td div.moodInfo::after {
    border-left-color: rgba(0, 0, 0, 0) !important;
    border-right-color: rgba(0, 0, 0, 0) !important;
    border-bottom-color: rgba(0, 0, 0, 0) !important;
    border-style: solid;
    border-width: 10px !important;
    content: "";
    height: 1px;
    right: 16px;
    position: absolute;
    width: 1px;
    pointer-events: none;
    transition: all 0.5s linear;
}

#moodContainer #noteBlock table td div::before {
    border: inherit;
    bottom: -23px;
}

#moodContainer #noteBlock table td div::after {
    border-top-color: white;
    bottom: -20px;
}

#moodContainer #noteBlock table td.today {
    font-weight: bold;
    font-size: 1.75em;
}

#moodContainer #noteBlock img.mood {
    margin-bottom: 2px;
    max-width: 15px;
    vertical-align: middle;
    cursor: pointer;
}

#moodContainer #noteBlock table td:first-of-type {
    display: none;
}

#moodContainer #noteBlock table tbody tr:nth-of-type(2n) {
    background: transparent;
}

#moodContainer img.moodLarge {
    margin: 0 10px;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.75s linear;
}

#moodContainer img.moodLarge.selected {
    opacity: 1;
}

#moodContainer form#moodSetting {
    background-color: #ffffff;
    border: 2px solid #90ee90;
    display: none;
    padding: 10px;
    position: absolute;
    text-align: right;
    transition: border-color 0.5s linear;
    width: 400px;
    z-index: 1;
}

#moodContainer form#moodSetting::before, form#moodSetting::after {
    border-left-color: rgba(0, 0, 0, 0) !important;
    border-right-color: rgba(0, 0, 0, 0) !important;
    border-top-color: rgba(0, 0, 0, 0) !important;
    border-style: solid;
    border-width: 20px !important;
    content: "";
    height: 1px;
    left: 30px;
    position: absolute;
    width: 1px;
    pointer-events: none;
    transition: all 0.5s linear;
}

#moodContainer form#moodSetting::before {
    border: inherit;
    top: -41px;
}

#moodContainer form#moodSetting::after {
    border-bottom-color: white;
    top: -38px;
}

#moodContainer form#moodSetting.mood4::before, form#moodSetting.mood4::after {
    left: 65px;
}

#moodContainer form#moodSetting.mood3::before, form#moodSetting.mood3::after {
    left: 140px;
}

#moodContainer form#moodSetting.mood2::before, form#moodSetting.mood2::after {
    left: 177px;
}

#moodContainer form#moodSetting.mood1::before, form#moodSetting.mood1::after {
    left: 215px;
}

#moodContainer form#moodSetting.mood0::before, form#moodSetting.mood0::after {
    left: 288px;
}

#moodContainer form#moodSetting textarea {
    background-color: rgba(0, 0, 0, 0.05);
    border: medium none;
    resize: none;
    width: 100%;
    padding: 5px;
}

#moodContainer #moodSetting .button {
    padding-bottom: 5px;
    padding-top: 5px;
    margin-top: 15px;
}

#moodContainer #prevMonth, #nextMonth {
    cursor: pointer;
    font-weight: bold;
}

#moodContainer #prevMonth {
    float: left;
    margin-left: 50px;
}

#moodContainer #nextMonth {
    float: right;
    margin-right: 50px;
}

#myTrainings #trainingData, #selfTestData {
    background-color: white;
    height: 450px;
    background-image: url("../graphX/bgProfil.jpg");
    background-size: cover;
    border: 1px solid #d3d3d3;
    overflow: auto;
}

#myTrainings #impulseTable a {
    text-decoration: none;
    color: inherit;
}

#myTrainings img.impulseType {
    width: 25px;
    vertical-align: middle;
}

#myTrainings div.selectEmulator {
    text-align: left;
}

#myTrainings div.selectEmulator ul.options {
     background-color: white;
    z-index: 10;
}

#myTrainings #progressBar {
    align-content: flex-end;
    display: flex;
    flex-wrap: wrap;
    height: 432px;
    width: 8.1%;
    margin: 8px;
}

#myTrainings .progressPart {
    background-color: rgb(127, 178, 64);
    height: 16px;
    margin-top: 5px;
    width: 100%;
}

#myTrainings #progressValue {
    text-align: center;
    width: 100%;
    color: grey;
    font-size: 0.8em;
}

#myTrainings #trainingImpulseWrapper {
    /*background-color: rgba(255,255,255,0.5);*/
    margin: auto;
    max-height: 440px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 85%;
    margin: 8px;
}

#myTrainings #impulseTable {
    margin-left: 3%;
    margin-right: 3%;
    width: 94%;
}

#myTrainings #impulseTable td {
    height: 45px;
}

#myTrainings #impulseTable td.truncate {
    max-width: 300px;
}

#myTrainings div.selectEmulator ul.options li {
    color: grey;
}

#myTrainings div.selectEmulator ul.options li.selected {
    color: inherit;
}

#myTrainings div.selectEmulator ul.options li.selected:hover {
    background-color: #e3e3e3;
}

#myTrainings div.selectEmulator {
    font-size: 0.9em;
    text-align: left;
    width: 100%;
    margin: 0;
}

#myTrainings div.selectEmulator .curValue {
    border: 1px solid #d3d3d3;
}

#myTrainings div.selectEmulator .curValue > span {
    display: none;
}

#myTrainings div.selectEmulator ul.options li.selected {
    background-color: white;
}

#myTrainings div.selectEmulator .curValue:hover {
    background-color: inherit;
}


#myTrainings #impulseTable tr:not(:first-of-type) td {
    border-top: 1px solid #cdcdcd;
}

#mySelfTests canvas {
    width: 300px;
    overflow: hidden;
}

#mySelfTests #selfTestResult {
    font-size: 0.8em;
    color: black;
    width: 100%;
    padding: 0 10px;
    margin-bottom: 50px;
    text-align: center;
}
#mySelfTests #selfTestResult tr td.truncate {
    border-bottom: none !important;
}

#selfTestWrapper {
    min-height: 448px;
    position: relative;
    padding: 0 10px 25px 10px;
}

#selfTestWrapper #selfTestDateSelect {
    bottom: 2px;
    position: absolute;
    width: 100%;
    left: 0;
}

#mySelfTests #selfTestResult tr th {
    border-bottom: 2px solid #7fb23f;
    color: #7fb23f;
    height: 50px;
    padding: 15px 0 10px 5px;
    vertical-align: bottom;
}

#mySelfTests #selfTestResult tr:not(:last-of-type) td {
    border-bottom: 1px solid lightgrey;
}

#mySelfTests #selfTestResult tr td:first-of-type {
    cursor: default;
    max-width: 200px;
}

#mySelfTests #selfTestDateSelect {
    font-size: 0.7em;
    color: grey;
    text-align: center;
}

#mySelfTests #selfTestDateSelect > * {
    border: 1px solid lightgrey;
    text-align: center;
    margin: 0 0.3%;
    background-color: lightgrey;
    padding: 2px;
}

#mySelfTests #selfTestDateSelect > *:not(.empty) {
    cursor: pointer;
}

#mySelfTests #selfTestDateSelect > *:not(.empty):hover, #mySelfTests #selfTestDateSelect > div.date.active {
    background-color: #BBB;
}

#mySelfTests #selfTestDateSelect .date {
    width: 14.5%;
}

#mySelfTests #selfTestDateSelect .moveLeft, #selfTestDateSelect .moveRight {
    width: 2%;
}

#selfTestDateSelect .moveLeft.disabled, #selfTestDateSelect .moveRight.disabled {
    display: none;
}

#mySelfTests div.selectEmulator {
    z-index: 5;
}

#mySelfTests .selectEmulator ul.options > li {
    color: #7fb23f;
}

#mySelfTests .selectEmulator img.checked {
    margin-right: 5px;
    max-height: 15px;
    margin-top: -2px;
}

#mySelfTests .selectEmulator img.checked.invisible {
    visibility: hidden;
}

#mySelfTests div.selectEmulator {
    font-size: 0.9em;
    text-align: left;
    width: 100%;
    margin: 0;
}

#mySelfTests div.selectEmulator .curValue {
    border: 1px solid #d3d3d3;
}

#mySelfTests div.selectEmulator .curValue img {
    max-height: 13px;
    margin-right: 5px;
}

#mySelfTests div.selectEmulator ul {
    background-color: white;
}

#mySelfTests div.selectEmulator ul.options li:hover, #mySelfTests div.selectEmulator ul.options li.selected  {
    background-color: #eee;
}

#mySelfTests div.selectEmulator .curValue:hover {
    background-color: inherit;
}

.pseudoLink:hover {
    text-decoration: underline;
}

#meta .profilContent .pseudoLink:hover {
    text-decoration: none !important;
}

#redeemCredits {
    background-color: transparent;
    text-align: center;
    overflow: hidden;
    padding: 50px 0 70px;
    position: relative;
    font-size: 20px;
    font-weight: normal;
    height: 400px;
}

#redeemCredits > div > * {
    z-index: 2;
    position: relative;
}

#redeemCredits::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    background-image: url('../graphX/intro/Entspannung.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

#redeemCredits h2 {
    color: #7fb23f;
    font-weight: normal;
    opacity: 1;
    text-align: center;
    margin-bottom: 45px;
}

#redeemCredits table {
    width: 800px;
    max-width: 100%;
    margin: auto;
}

#redeemCredits table td {
    width: 33%;
    color: #7fb23f;
    font-size: 24px;
}

#redeemCredits table img {
    max-width: 100px;
    display: block;
    margin: 15px auto;
    -webkit-filter: drop-shadow(0px 0px 15px #fff);
    filter: drop-shadow(0px 0px 15px #fff);
    -moz-filter: drop-shadow(0px 0px 15px #fff);
    -o-filter: drop-shadow(0px 0px 15px #fff);
    -ms-filter: drop-shadow(0px 0px 15px #fff);
}

#redeemCredits table a {
    -webkit-filter: drop-shadow(0px 0px 10px #fff);
    filter: drop-shadow(0px 0px 10px #fff);
    -moz-filter: drop-shadow(0px 0px 10px #fff);
    -o-filter: drop-shadow(0px 0px 10px #fff);
    -ms-filter: drop-shadow(0px 0px 10px #fff);
}

.present.instantImpulse { /* sic! */
    max-width: 15px;
    cursor: pointer;
}

.button.instantImpulse {
    position: relative;
    padding-left: 32px;
    background-color: #7fb23f;
    color: white;
    padding-right: 10px;
    font-size: 0.85em;

}

.button.instantImpulse, .button.accountSettings {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
}

.button.instantImpulse:hover, .button.accountSettings:hover {
    background-color: #66a043;
}

.button.accountSettings {
    position: relative;
    padding-left: 30px;
    padding-right: 7px;
    background-color: #7fb23f;
    color: white;
    font-size: 0.85em;

}

.button.instantImpulse img {
    height: 37px;
    left: -12px;
    position: absolute;
    top: -4px;
}

.button.accountSettings img {
    height: 32px;
    left: -5px;
    position: absolute;
    top: 1px;
}

#newsWrapper {
    position: relative;
}

#myGames #tablesContainer {
    background-image: url("../graphX/games/resultTableBackground.png");
    background-position: 45px center;
    background-repeat: no-repeat;
    background-size: 93% 103%;
    height: 360px;
    margin-bottom: 25px;
    padding: 8px 0 15px;
}

#myGames #leftGames td:first-of-type, #myGames #rightGames td:last-of-type {
    width: 100px;
}

#myGames #popup {
    margin-top: 15px !important;
}

.first div.introUser {
    width: 15%;
    max-width: 100%;
}

.first div.introText, .first div#moodContainer {
    width: 50%;
}


@media (max-width: 1280px) {
    #myNews {
        position: static;
    }

    #myNews img.slideLeft {
        left: 5px;
    }

    #myNews img.slideRight {
        right: 5px;
    }
}

@media (max-width: 1023px) {
    #trainingSelfTestWrapper > div.flex {
        display: block;
    }

    #myTrainings, #mySelfTests {
        width: 100% !important;
    }

    #myTrainings #trainingData, #selfTestData {
        background-size: cover;
    }

    #trainingSelfTestWrapper > div.flex {
        position: static;
    }

    .userImg:not(#meta .profil .profilContent div.userImg) {
        width: 160px !important;
    }

    .first div.introText {
        width: 40%;
    }

    .first div#moodContainer {
        width: 60%;
    }


}

@media (max-width: 973px) {
    .button.instantImpulse, .button.accountSettings {
        width: 100% !important;
        margin: 10px 0;
    }

}

@media (max-width: 767px) {
    .flex {
        flex-wrap: wrap !important;
    }

    .first .flex > div {
        margin: 25px 0
    }

    #redeemCredits table td {
        float: left !important;
        font-size: 20px !important;
        width: 100% !important;
    }

    #redeemCredits {
        height: 580px !important;
        hyphens: none !important;
    }

    #myFeedback div.wrapper {
        text-align: left !important;
        margin: 30px 0 !important;
    }

    .button.instantImpulse, .button.accountSettings {
        width: 100% !important;
        margin-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .button.instantImpulse img, .button.accountSettings img {
        display: none;
    }

    #myGames #tablesContainer {
        background-image: none;
    }

    #myGames #leftGames, #myGames #rightGames {
        float: none;
        width: 100%;
        margin: 30px 0;
    }

    #myGames #tablesContainer {
        background-image: none;
        height: 100%;
    }

    #myGames #gameResultContainer {
        background-image: none;
    }

    #newsContainer {
        position: inherit;
        min-height: 999px;
        height: 100%;
    }

    #newsWrapper .news {
        max-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
        position: inherit !important;
    }

    #myFeedback div.questionnaire, .wrapper div.showReviewForm {
        display: block !important;
        margin: 45px 0 0 !important;
    }

    .first div.introUser, .first div.introText {
        width: 100% !important;
    }

}

@media (max-width: 500px) {
    div.selectEmulator .curValue {
        min-width: 100%;
    }

    #newsWrapper .news {
        max-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
        position: inherit !important;
        padding: 3% 10% !important;
    }
}
