body.page-template-page-history-php #body {
    width: 100% !important;
}

.history_slide {
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background-size: contain;*/
    background-position: top center;
    position: relative;
}

.history_slide:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: all .35s .5s;
}

.history_slide.loaded:before {
    opacity: 1;
}

.history_slide_title {
    position: absolute;
    /*visibility: hidden;*/
    opacity: 0;
}

.history_slide_opacity {
    background: #fff;
    filter: alpha(opacity=70);
    background: rgba(255, 255, 255, .7);
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

body.page-template-page-history-php #sub_menu_wrap ul {
    height: 40px;
    color: #fff;
    font-size: 18px;
    font-family: straussregular, straussregularen, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #514746;
}

body.page-template-page-history-php #sub_menu_wrap ul > li {
    height: 40px;
    line-height: 40px;
}

body.page-template-page-history-php #sub_menu_wrap ul > li > a {
    padding-left: 13px;
    padding-right: 13px;
    display: block;
    color: #fff;
}

body.page-template-page-history-php #sub_menu_wrap ul > li:hover > a, body.page-template-page-history-php #sub_menu_wrap ul > li.active > a, body.page-template-page-history-php #sub_menu_wrap ul > li:focus > a, body.page-template-page-history-php #sub_menu_wrap ul > li > a:focus {
    background: #fff;
    color: #514746;
}

#slidemenu {
    margin: 300px 0px 0px 0px;
    position: fixed;
    top: auto;
    bottom: 100px;
}

#slidemenu.ender {
    position: absolute;
}

#slidemenu ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

#slidemenu li {
    margin: 0px;
    margin-bottom: 10px;
    padding: 7px;
    display: inline-block;
    clear: both;
    list-style: none;
    direction: ltr;
    font-size: 23px;
    font-weight: 200;
    cursor: pointer;
    color: #ede4d0;
    background: #514746;
}

#slidemenu li:focus {
    background: #b7b6b6;
    color: #353434;
    outline: 0px;
}

#slidemenu li.active {
    margin-top: 5px;
    padding: 20px 7px 17px;
    font-size: 42px;
    color: #fff;
    background: #d52b1e;
}

body.page-template-page-history-php {
    /*overflow-y: hidden;
    overflow-x: hidden;*/
}

body.page-template-page-history-php #slideload {
    width: 100%;
    height: 1200px;
    position: absolute;
    text-align: center;
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    background: #fff;
    z-index: 9999;
}

body.page-template-page-history-php #slideload img {
    margin: 300px auto 0;
}

body.page-template-page-history-php .history_slide {
    margin: 0 auto;
    height: auto;
}

body.page-template-page-history-php .history_slide .decade_intro {
    margin-bottom: 400px;
}

body.page-template-page-history-php #slider #slide1 .slide .decade_intro {
    margin-bottom: 200px;
}

body.page-template-page-history-php .history_slide .decade_intro h2 {
    font-size: 200px;
    font-weight: 200;
    text-align: center;
    line-height: 140px;
    direction: ltr;
    color: #e01e22;
    text-shadow: 2px 2px 30px #111;
}

body.page-template-page-history-php .history_slide .decade_intro p {
    margin: 0 auto;
    padding-left: 20px;
    width: 650px;
    font-weight: 200;
    font-size: 60px;
    line-height: 50px;
    text-align: center;
    color: #fff;
}

body.page-template-page-history-php .history_slide h3, .history_slide h4, .history_slide p {
    width: 300px;
}

body.page-template-page-history-php .history_slide .content-element h2 {
    margin: 0 auto;
    padding: 70px 0px 40px;
    text-align: center;
    font-size: 60px;
    font-weight: 200;
    line-height: 50px;
    color: #d52b1e;
}

body.page-template-page-history-php .history_slide h3 {
    margin-bottom: 0px;
    padding-bottom: 10px;
    padding-top: 40px;
    font-size: 40px;
    /* color: #d52b1e; */
    color: #e01e22;
}

body.page-template-page-history-php .history_slide h4 {
    font-size: 30px;
    /* color: #ee3124; */
    color: #e01e22;
    line-height: 27px;
}

body.page-template-page-history-php .history_slide .main {
    padding-top: 400px;
    padding-bottom: 50px;
}

body.page-template-page-history-php #slider #slide1.slide .main {
    padding-top: 200px;
}

body.page-template-page-history-php .history_slide .content-element {
    margin: 0 auto;
    position: relative;
    width: 800px;
    clear: both;
    z-index: 999;
}

body.page-template-page-history-php .history_slide .content-element.right img {
    float: right;
}

body.page-template-page-history-php .history_slide .content-element.right h3, body.page-template-page-history-php .history_slide .content-element.right h4, body.page-template-page-history-php .history_slide .content-element.right p {
    float: left;
}

body.page-template-page-history-php .history_slide .content-element.left img {
    float: left;
}

body.page-template-page-history-php .history_slide .content-element.left h3, body.page-template-page-history-php .history_slide .content-element.left h4, body.page-template-page-history-php .history_slide .content-element.left p {
    float: right;
}

body.page-template-page-history-php .history_slide .content-element.left p {
    color: #514746;
}

body.page-template-page-history-php .history_slide .slidebg {
    margin: 0 auto;
    position: absolute;
    height: 1109px;
    width: 1600px;
    left: auto !important;
    z-index: -1;
}

body.page-template-page-history-php .history_slide .slidefade {
    position: absolute;
    height: 1109px;
    width: 1600px;
    background: url('images/Fade.png') center top;
}

.superscrollorama-pin-spacer {
    position: absolute !important;
    height: 1109px;
    width: 1600px;
    z-index: -999;
}

body.page-template-page-history-php #history_menu_container {
    margin: 0 auto;
    margin-bottom: -40px;
    position: relative;
    width: 988px;
    height: 40px;
    /* overflow-x: hidden; */
}

body.page-template-page-history-php #sub_menu_wrap.fixed {
    margin-top: 0 !important;
}

body.page-template-page-history-php #head_banner {
    background: transparent !important;
}

@media (min-width: 998px) {
    body.page-template-page-history-php #head_banner .superscrollorama-pin-spacer, body.page-template-page-history-php #sub_menu_wrap {
        width: 988px;
        z-index: 9999;
    }

    body.page-template-page-history-php #sub_menu_wrap {
        margin-top: 250px;
        position: absolute;
        /* right: 19.3%; */
    }
}

body.page-template-page-history-php .history_slide .main {
    position: relative;
    z-index: 1;
}

/* History mobile */
@media (max-width: 998px) {
    body.page-template-page-history-php #history_menu_container, body.page-template-page-history-php #history_menu_container #sub_menu_wrap {
        margin-right: 0px;
        width: 700px;
        max-width: 100%;
    }

    body.page-template-page-history-php #slider #head_banner.hidden-print {
        background: none !important;
    }

    body.page-template-page-history-php #slider, body.page-template-page-history-php #slider .slide, body.page-template-page-history-php #slider .superscrollorama-pin-spacer, body.page-template-page-history-php #slider .slide .slidebg, body.page-template-page-history-php #slider .slide .slidefade, body.page-template-page-history-php #slider .slide .light_blue {
        margin-right: 0px;
        width: 700px;
    }

    body.page-template-page-history-php #slider .slide .decade_intro {
        margin-bottom: 50px !important;
    }

    body.page-template-page-history-php #slider .slide .content-element {
        width: 299px;
    }

    body.page-template-page-history-php #slider .slide .content-element img {
        float: none !important;
        width: 299px;
    }

    body.page-template-page-history-php #slider .slide .content-element h3, body.page-template-page-history-php #slider .slide .content-element h4, body.page-template-page-history-php #slider .slide .content-element p {
        float: none !important;
    }

    @media (max-width: 767px) {

        body.page-template-page-history-php .history_slide h3, .history_slide h4, .history_slide p {
            width: auto;
            max-width: 300px;
            padding: 0 30px;
        }

        body.page-template-page-history-php {
            margin: 0px;
            padding: 0px;
        }

        body.page-template-page-history-php #slider .slide .content-element p {
            font-size: 14px;
            font-weight: bold;
        }

        .page-template-page-history-php #page_title {
            width: 100%;
            text-align: center;
            margin-right: 0px;
            margin-left: 0px;

        }

        #head_banner .sub_menu > li, body.page-template-page-history-php #sub_menu_wrap ul > li, #children_menu li a {
            background: none;
        }

        #history_menu_container #sub_menu_wrap ul li.mobile-hidden,
        #history_menu_container #sub_menu_wrap ul li.mobile-hidden:hover a,
        #history_menu_container #sub_menu_wrap ul li.mobile-hidden.active a,
        body.page-template-page-history-php #sub_menu_wrap ul > li:hover > a,
        body.page-template-page-history-php #sub_menu_wrap ul > li.active > a {
            background: rgba(0, 0, 0, 0) !important;
            color: #fff;
        }

        body.page-template-page-history-php #history_menu_container #sub_menu_wrap {
            margin-top: 0px !important;
        }

        body.page-template-page-history-php #sub_menu_wrap {
            margin-top: 120px !important;
        }

        body.page-template-page-history-php #sub_menu_wrap ul {
            width: 90%;
            overflow-y: hidden;
        }

        body.page-template-page-history-php .history_slide {
            background-size: cover;
        }

        .history_accordion_content {
            display: block;
            max-height: 90vh;
            overflow: auto;
            background-size: 100%;
        }

        .history_slide:before {
            display: none;
        }

        .history_accordion_btn {
            display: block;
            font-size: 25px;
            padding: 10px 15px;
            font-weight: lighter;
            margin-top: 15px;
        }

        #body .history_slide .container {
            padding: 0 !important;
        }

        .history_slide:not(:first-child) .history_accordion_content {
            display: none;
        }

        body.page-template-page-history-php .history_slide .content-element {
            width: 100%;

        }

        body.page-template-page-history-php #slider .slide .decade_intro h2 {
            font-size: 135px;
            line-height: 110px;
        }

        body.page-template-page-history-php #slider .slide .decade_intro p {
            width: auto;
            font-size: 45px;
        }

        body.page-template-page-history-php a#mobile_menu {
            background: #514746;
        }

        #slidemenu {
            display: none;
        }

    }
}