#topSlider {
    background-size: cover;
    overflow: hidden;
    position: relative;
    text-align: left;
}

#topSlider div.slideLayer {
    background-position: center center;
    background-size: cover;
    height: 100%;
    position: absolute;
    width: 100%;
}

#topSlider img.prev {
    left: 5%;
}

#topSlider img.next {
    right: 5%;
}

#topSlider img.prev, #topSlider img.next {
    position: absolute;
    top: 45%;
    cursor: pointer;
    filter: brightness(10);
    opacity: 0.5;
    display: none;
}

#topSlider .slideLayer {
    position: absolute;
}

#topSlider {
    background-position: center;
    background-size: cover;
    text-align: left;
    position: relative;
}

#topSlider .sliderHeadLine {
    bottom: 0;
    color: #ffffff;
    padding-bottom: 20px;
    padding-top: 50px;
    position: absolute;
    text-shadow: 2px 2px 7px #000000;
}

#topSlider .sliderHeadLine h1,
#topSlider .sliderHeadLine h2,
#topSlider .sliderHeadLine h3,
#topSlider .sliderHeadLine h4 {
    color: inherit;
    margin: 5px 0;
}

#main .mission {
    padding: 25px 0;
}

#topSlider .sliderHeadLineBright {
    color: #393939;
}

#topSlider .dark {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.80) 100%);
    height: 100%;
}

#topSlider .bright {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    height: 100%;
}

#topSlider .slideLayer{
    transition: left 2.5s ease-in-out;
}

#mobileHeadLine {
    display: none;
}

#aboutSlider {
    background-size: cover;
    overflow: hidden;
    position: relative;
    text-align: left;
    border-top: 3px solid #dcdcdc;
    border-bottom: 3px solid #dcdcdc;
}

#aboutSlider div.slideLayer {
    background-position: center center;
    background-size: cover;
    height: 100%;
    position: absolute;
    width: 100%;
}

.aboutLayer {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: all 2.5s ease-in-out;
}

#aboutSlider .main > div {
    position: absolute;
    bottom: 0;
    text-align: left;
}

#aboutSlider h1, #aboutSlider h3, .expert h3 {
    margin-bottom: 10px;
}

#aboutSlider p,#aboutSlider h2 {
    text-shadow: 3px 3px 4px black;
}

#aboutSlider h2 {
    margin-bottom: 1em;
}

.mission {
    background: url("../graphX/about/mission.png") no-repeat center bottom;
    padding-bottom: 75px !important;
    text-align: justify;
}

#aboutSlider .main > div {
    padding-bottom: 50px;
}

#aboutSlider img.prev, #expertSlider img.prev {
    left: 5%;
}

#aboutSlider img.next, #expertSlider img.next  {
    right: 5%;
}

#aboutSlider img.prev, #aboutSlider img.next, #expertSlider img.prev, #expertSlider img.next {
    position: absolute;
    top: 45%;
    cursor: pointer;
}

.aboutSliderText {
    line-height: 2em;
}

#expertSlider.mainPart {
    padding: 100px 0;
}

.expert.placeHolder {
    visibility: hidden;
    position: relative;
}

.expert {
    width: 33%;
}

.expertImage {
    border-radius: 20px;
    margin: auto auto 40px;
    max-width: 300px;
    overflow: hidden;
}

.expert p {
    font-size: 1.125em;
    font-style: italic;
    text-align: center;
}

#moreAbout div.moreAboutItem {
    width: 45%;
    border-bottom: 1px solid #dcdcdc;
    padding: 25px 25px 25px 0;
    margin-bottom: 35px;
    line-height: 1.5em;
    display: flex;
}

#moreAbout .moreAboutItem p.pseudoLink {
    line-height: 1.7em;
}

#moreAbout .moreAboutItem p.pseudoLink:hover {
    text-decoration: none;
    cursor: default;
}

#moreAbout div.moreAboutItem:last-child, #moreAbout div.moreAboutItem:nth-child(n+3)  {
    border-bottom: transparent;
}

.moreAboutItem .moreTextWrapper {
    position: relative;
}

.moreAboutItem .moreTextWrapper h3 {
    margin-top: 0;
}

#moreAbout div.moreImageWrapper {
    margin-right: 30px;
    width: 100px;
    min-width: 100px;
}

#moreAbout .moreAboutItem .moreTextWrapper #socialIcons {
    float: none;
    margin-right: auto;
    margin-left: auto;
    margin-top: 40px;
    width: 14em;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

#moreAbout .moreAboutItem .moreTextWrapper #socialIcons a {
    background-image: url("../graphX/about/aboutSocialIcons.png");
    background-repeat: no-repeat;
    height: 38px;
    width: 38px;
    margin: 4px;
    opacity: 0.66;
    transition: opacity 0.2s linear;
    display: block;
}

#moreAbout .moreAboutItem .moreTextWrapper #socialIcons a:hover {
    opacity: 1;
}

#moreAbout .moreAboutItem .moreTextWrapper #socialIcons a.facebook {
    background-position: 0 0;
}

#moreAbout .moreAboutItem .moreTextWrapper #socialIcons a.youtube {
    background-position: -193px 0;
}

#moreAbout .moreAboutItem .moreTextWrapper #socialIcons a.twitter {
    background-position: -129px 0;
}

#moreAbout .moreAboutItem .moreTextWrapper #socialIcons a.google {
    background-position: -64px 0;
}

#aboutSlider .background {
    height: 100%;
    width: 100%;
    color: white;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 50%, rgba(0,0,0,0.80) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 50%,rgba(0,0,0,0.80) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%,rgba(0,0,0,0.80) 100%);
}

#expertContainer {
    overflow: hidden;
    height: 520px;
    position: relative;
}

#expertContainer h3 {
    text-align: center;
}

#expertContainer .expert {
    margin: 10px;
    max-width: 32%;
    min-width: 32%;
    overflow: hidden;
    padding: 3%;
    position: absolute;
    text-align: justify;
    transition: left 0.5s ease-out;
}

#expertContainer a {
    float: right;
}

#aboutSlider .brightText {
    top: 0;
    bottom: auto !important;
}


@media(max-width: 767px) {
    #moreAbout {
        display: block;
    }

    #moreAbout div.moreAboutItem {
        width: auto !important;
        display: block !important;
        padding: 0 0 20px 0 !important;
        border-bottom: 1px solid #dcdcdc !important;
    }

    #moreAbout div.moreAboutItem:last-of-type {
        border-bottom: transparent !important;
    }

    #moreAbout div.moreImageWrapper {
        margin: 0 0 15px 0;
    }

    #moreAbout .moreAboutItem .moreTextWrapper #socialIcons {
        margin-left: 0;
        margin-right: 0;
    }

    .aboutSliderText p span {
        line-height: 1.25em;
        font-size: 1.5em !important;
    }

    .aboutSliderText p span:last-of-type {
        font-size: 1.25em !important;
    }

    #main .mission > div {
        max-width: 100%;
    }

    .mission {
        background: none;
        padding: 0 0 15px 0 !important;
    }

    #aboutSlider {
        border-top: 2px solid #dcdcdc;
    }

    #aboutSlider .main > div {
        padding-bottom: 10px;
    }

    #aboutSlider .aboutSliderText p span {
        font-size: 18px;
        padding-bottom: 10px;
        display: none;
    }

    #aboutSlider img.prev, #aboutSlider img.next {
        top: 10%;
    }

    #expertSlider.mainPartInverse {
        padding: 25px 0 0 0;
    }

    #expertContainer {
        height: 335px !important;
    }

    #expertContainer .expert > p {
        display: none;
    }

    #expertContainer .expert h3 {
        text-align: center;
    }
}

@media(min-width: 768px) {
    .mission {
        background-size: 100%;
        min-height: 500px;
    }

    #main .mission > div {
        max-width: 100%;
    }

    #moreAbout div.moreAboutItem, #moreAbout div.moreAboutItem:first-child, #moreAbout div.moreAboutItem:nth-child(2n+3) {
        margin: 0 20px 50px 0;
        border-bottom: 1px solid #dcdcdc
    }

    #moreAbout div.moreAboutItem:nth-child(2n+3){
        border-bottom: transparent;
    }

    .aboutSliderText p span {
        line-height: 1.25em;
        font-size: 2em !important;
    }

    .aboutSliderText p span:last-of-type {
        font-size: 1.25em !important;
    }
}

@media (max-width: 991px) {
    .slideLayer > * {
        display: none;
    }

    #mobileHeadLine {
        display: block;
    }


}

@media(min-width: 992px) {
    .mission {
        background-size: cover;
    }

    #main .mission > div {
        max-width: 600px;
    }

    .aboutSliderText p span {
        line-height: 1.25em;
        font-size: 2.5em !important;
    }

    .aboutSliderText p span:last-of-type {
        font-size: 1.5em !important;
    }
}

@media (max-width: 400px) {
    #expertSlider {
        padding: 15px 0 !important;
    }

    #expertContainer {
        font-size: 0.875em;
        height: 180px !important;
    }

    #expertContainer .expert h3 {
        text-align: center;
    }

    #expertContainer .expert > p {
        display: none;
    }

    .expertImage {
        border-radius: 8px;
        margin: auto auto 20px;
    }

    .modalLayer > div.confirm {
        width: 320px !important;
        padding: 35px !important;
    }

    .modalExpert, .modalExpert div.image {
        width: 258px !important;
    }

    .modalExpert div.image {
        height: 150px !important;
    }

    .modalExpert .flex > button:first-of-type {
        margin-left: 0
    }

    .modalLayer img.close, .modalLayer > div.confirm > img.closeIcon {
        right: 20px;
    }
}

