#pageBanner {
    margin-bottom: 30px;
}

#totalRating {
    cursor: pointer;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    hyphens: auto;
}

.mainPart.first {
    padding: 0;
    max-height: 685px;
}

.mainPart.first h1 {
    margin-bottom: 0;
}

img.folder {
    height: 50px;
    margin: 10px;
}

img.folder.open {
    cursor: pointer;
}

#humanWrapper {
    width: 200px;
    float: left;
    font-size: 1.25em;
    text-align: center;
}

#humanWrapper img.credits {
    filter: none;
    -webkit-filter: none;
    -moz-filter: none;
    -o-filter: none;
    -ms-filter: none;
    padding-left: 5px;
}

#human {
    background-image: url("../graphX/mascot.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    height: 280px;
    margin: auto auto 20% auto;
    position: relative;
    width: 105px;
}

#human > .grey {
    background-image: url("../graphX/mascotGrey.png");
    background-repeat: no-repeat;
    background-size: auto 280px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

#humanWrapper + div {
    margin: 0 0 0 50px;
}

#expertPic {
    background-position: center center;
    background-size: cover;
    border-radius: 100%;
    float: left;
    height: 200px;
    margin-right: 20px;
    width: 200px;
}


#productDescription {
    background-color: #b9dcb8;
    border: 1px solid #808080;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
    vertical-align: middle;
    text-align: justify;
    width: 440px;
    float: left;
}

#moreProductInfo {
    float: left;
}

#infoBox {
    margin: 25px auto;
}

#myDiary ol {
    max-height: 190px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
}

#goToReviews {
    float: right;
}

img.folderPath {
    /* simple line */
    height: 40px;
    left: 0;
    padding: 30px 30px 0;
    position: absolute;
    top: 0;
    width: 100%;
}

img.folderPath:nth-of-type(2) {
    /* connection line */
    height: 70px;
    margin-top: 20px;
}

img.folderPath:nth-of-type(3) {
    /* simple line */
    margin-top: 75px;
}

img.folderPath:nth-of-type(4) {
    /* connection line */
    height: 70px;
    margin-top: 95px;
}

img.folderPath:nth-of-type(5) {
    /* simple line */
    margin-top: 145px;
}

img.folderPath:nth-of-type(6) {
    /* connection line */
    height: 70px;
    margin-top: 160px;
}

img.folderPath:nth-of-type(7) {
    /* simple line */
    margin-top: 215px;
}

img.folderPath:nth-of-type(8) {
    /* connection line */
    height: 70px;
    margin-top: 185px;
}

img.folderPath:nth-of-type(9) {
    /* simple line */
    margin-top: 230px;
}

img.folderPath:nth-of-type(10) {
    /* connection line */
    height: 70px;
    margin-top: 240px;
}

img.folderPath:nth-of-type(11) {
    /* simple line */
    margin-top: 285px;
}

#episodesList {
    text-align: left;
}

.first div.flex div + div {
    min-width: 385px;
}

#folderWrapper {
    overflow: hidden;
    display: inline;
}

#lineWrapper {
    display: inline-block;
    position: absolute;
    width: 100%;
    z-index: -1;"
}

body {
    min-width: 750px;
}

h1 {
     text-align: left;
     margin: 0.2em auto;
     max-width: 1240px;
 }

h1 + h2 {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 1240px;
    margin-top: 0;
}

h4, h4:first-child {
    font-weight: normal;
    margin-bottom: 0;
}

.modalLayer h4, .modal h4:first-child {
    margin: 25px 0 30px;
}

#totalRating img {
    height: 35px;
}

#myDiary {
    float: right;
    height: 480px;
    margin-left: 15px;
    width: 980px;
    padding: 0 10px;
    overflow: hidden;
    max-width: 390px;
}

#myDiary > div {
    background-image: url("../graphX/noteBook.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 375px 515px;
    filter: drop-shadow(0px 0 5px #dcdcdc);
    -webkit-filter: drop-shadow(0px 0 5px #dcdcdc);
    -moz-filter: drop-shadow(0px 0 5px #dcdcdc);
    -o-filter: drop-shadow(0px 0 5px #dcdcdc);
    -ms-filter: drop-shadow(0px 0 5px #dcdcdc);
    height: 100%;
    hyphens: none;
    padding: 20px 15px 0 90px;
    position: relative;
}

#myDiary > div > * {
    transform: rotate(4deg);
}

#trainingContent {
    float: right;
    width: 100%;
    max-width: 400px;
}

#trainingContents .flex > div {
    flex-basis: 25%;
    flex-grow: 1;
}

#trainingContent .media {
    font-size: 1.2em;
    padding: 0 15px;
    text-align: center;
}

#trainingContent .media img {
    display: block;
    margin: 0 auto 15px;
    max-width: 75px;
}

#shortDescription {
    text-align: justify;
    padding: 0;
}

#shortDescription p {
    margin-top: 0;
    line-height: 1.45em;
}

#shortDescription #moreProductInfo .arrow {
    margin-left: 10px;
    display: inline-block;
    transform: rotate(90deg);
}

#trainingContents {
    text-align: left;
}

#reviewContainer {
    background-color: white;
}

form.myReview {
    text-align: left;
}

form.myReview div.productRating {
    text-align: left;
    color: #666666;
}

form.myReview div.rating {
    display: inline-block;
}

.modalLayer > div.confirm {
    max-width: 800px;
    color: #7f7f7f;
}

.mainPart:nth-of-type(2n+1) {
    background-color: transparent;
}

.mainPart:nth-of-type(2n) {
    background-color: rgba(0, 0, 0, 0.05);
}

#expertBox {
    background-color: white;
    text-align: center;
    overflow: visible;
    padding: 0;
    position: relative;
    font-size: 18px;
    line-height: inherit;
    font-weight: normal;
    height: 315px;
}

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

#expertBox::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('../graphX/breaker/Impulsdialog-E-Learning-Training.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
}

#expertBox > div {
    height: 100%;
}

#expertBox table {
    height: 100%;
    position: relative;
    text-align: justify;
    width: 57%;
    float: right;
}

#expertBox img.expert {
    position: absolute;
    left: 0;
    height: 350px;
    bottom: 0;
}

img.quoteDown {
    margin-bottom: -0.3em;
    filter: grayscale(1) brightness(0.2);
    -webkit-filter: grayscale(1) brightness(0.2);
    -moz-filter: grayscale(1) brightness(0.2);
    -o-filter: grayscale(1) brightness(0.2);
    -ms-filter: grayscale(1) brightness(0.2);
}

img.quoteUp {
    margin-top: -0.3em;
    filter: grayscale(1) brightness(0.2);
    -webkit-filter: grayscale(1) brightness(0.2);
    -moz-filter: grayscale(1) brightness(0.2);
    -o-filter: grayscale(1) brightness(0.2);
    -ms-filter: grayscale(1) brightness(0.2);
}

#buyBox {
    max-width: 310px;
    text-align: center;
}

.price > img {
    width: 25px;
}

.buyButton {
    display: inline-block;
    padding: 15px;
    width: 304px;
    height: 49px;
    background-color: rgb(127, 178, 64);
    color: white;
    position: relative;
    cursor: pointer;
}

.buyButton:hover{
    background-color: #66a043;
    border-color: #66a043;
}

.priceTag {
    background-image: url("../graphX/icons/priceTagCredits.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 85px;
    position: absolute;
    right: -16px;
    top: -15px;
    width: 125px;
    text-align: left;
}

#buyWithMoney .priceTag {
    background-image: url("../graphX/icons/priceTagMoney.png");
}

.priceTag .price {
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    transform: translateX(40px) translateY(49px) rotate(27deg);
}

#buyWithMoney .priceTag .price {
    transform: translateX(14px) translateY(16px) rotate(-18.5deg);
}

.priceTag img {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    -moz-filter: brightness(0) invert(1);
    -o-filter: brightness(0) invert(1);
    -ms-filter: brightness(0) invert(1);
}

.buyButton .buyText {
    padding-top: 14px;
    text-align: center;
    width: 200px;
}
#rateTraining {
    position: relative;
    top: -15px;
    float: right;
}

#expertBox blockquote {
    text-shadow: 0 0 10px rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 0) radial-gradient(ellipse at center center , rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 80%) repeat scroll 0 0;
    color: #393939;
    font-weight: normal;
}

#moreDiaryInfos {
    position: absolute;
    bottom: 50px;
    left: 85px;
    padding: 12px 15px;
}

#addtlHtml {
    transition: none;
}

#buyWithCredits .buyButton .buyText {
    font-size: 0.85em;
    padding-left: 15px;
}

@media (max-width: 1152px) {
    #expertBox blockquote {
        font-size: 0.9em;
    }

    #expertBox table {
        width: 50%;
        right: 3%;
    }
}

@media (max-width: 1030px) {
    #myDiary {
        float: none;
        width: 100%;
        margin-bottom: 50px;
        margin-left: 0;
        max-width: unset;
    }

    .first div.flex div + div {
        min-width: 300px;
    }

    #myDiary > div {
        width: 365px;
        margin: auto;
    }

    #humanWrapper {
        float: none;
        width: 100%;
        margin-bottom: 50px;
        max-width: 150px;
    }

    .mainPart.first {
        max-height: none;
        width: 100%;
        padding: 0;
    }

    #trainingContents > .flex {
        display: block;
        text-align: center;
        width: 100%;
    }



    #buyBox {
        max-width: 310px !important;
    }
}

@media (max-width: 1030px) {
    body {
        min-width: initial;
    }

    #myDiary > div {
        padding-left: 175px;
        padding-right: 50px;
    }


    #expertBox::before {
        background-attachment: fixed;
        background-position: center top;
    }

    #expertBox img.expert {
        display: none;
    }

    #expertBox table {
        left: 0 !important;
        position: relative !important;
        width: 100% !important;
    }

    #moreProductInfo {
        float: none;
    }

    #trainingContents > .flex > * {
        margin: 0 !important;
        max-width: 100% !important;
    }

    #trainingContent {
        float: none;
        margin: 30px 0;
    }

    #trainingContents .flex > div {
        flex-grow: 0;
        flex-basis: auto;
    }

    #buyBox {
        text-align: left;
    }

    .mainPart + .moreInfos::before {
        top: -28px;
    }

    .first div + div {
        flex-wrap: wrap !important;
    }

    #humanWrapper {
        width: 100%;
        margin-bottom: 30px !important;
        height: auto !important;
        text-align: center;
    }

    #human {
        margin-bottom: 2%;
    }

    .first #episodesList, .first #myDiary {
        width: 100%;
        margin: 50px 0 0 0;
    }

    #myDiary {
        height: 440px;
    }

    #myDiary > div {
        background: none;
        background-position: center top;
        background-size: 97% auto;
        width: auto;
        padding: 0;
    }

    #totalRating {
        float: none !important;
        margin-bottom: 15px;
    }

    #myDiary > div > * {
        transform: none !important;
    }

    #moreDiaryInfos {
        position: static;
        margin: 0;
    }

    #rateTraining {
        float: none;
        display: block;
        margin: 15px 0 0 0;
        position: static;
    }

    h2#reviewH2 {
        display: block !important;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    .first {
        padding-bottom: 0 !important;
    }


    .first #humanWrapper {
        width: 15%;
    }

    #categories {
        background-size: 325px 415px;
        padding: 20px 40px 0 45px;
    }

    #categories > div {
        width: 440px;
        margin: auto;
    }
}

@media (max-width: 540px)  {
    #myDiary > div {
        padding-left: 100px;
        padding-right: 25px;
    }
}

@media (max-width: 640px) and (min-width: 441px)  {
    #myDiary > div {
        padding-left: 135px;
        padding-right: 55px;
    }
}

@media (max-width: 480px) {
    #humanWrapper {
        display: none;
    }
}

@media (max-width: 440px) {
    #humanWrapper + div {
        margin: 0 0 0 -15px;
    }

    #myDiary > div {
        background-image: none;
        padding: 0;
        filter: none;
        -webkit-filter: none;
        -moz-filter: none;
        -o-filter: none;
        -ms-filter: none;
    }

    #myDiary > div > * {
        transform: none;
    }

     #myDiary {
        min-width: inherit;  height: auto;
        margin: 25px 0 50px !important;
    }

    #moreDiaryInfos {
        bottom: 0;
        left: 0;
        position: static;
        margin: 0;
    }

    #trainingContent .media:first-of-type {
        padding-left: 0;
    }

    #trainingContent .media img {
        max-width: 55px;
    }

    #expertBox {
        padding: 20px 0;
        height: 415px;
    }

    .review {
        position: static;
        min-height: inherit;
    }

    .review img.userImg {
        float: none !important;
        margin: 0 0 25px !important;
    }

    .review .ratings {
        float: none !important;
        margin: 25px 0 !important;
        display: block;
    }

    #reviews .review .userName {
        display: block;
        float: none !important;
        margin: 25px 0 !important;
    }

    .review .reviewContent {
        padding-bottom: 0 !important;
        position: static !important;
    }

    .review .switchLongShort {
        display: block !important;
        position: static !important;
        margin-top: 15px !important;
    }

    .buyButton {
        width: 260px !important;
    }

}