
/* Navigation */
#section-main-menu {
    background: #ffe500;
    /*    text-transform: uppercase; */
    /*-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); */
    margin-bottom: 40px;
}
body.has-herospace #section-main-menu,
body.home #section-main-menu {
    margin-bottom: 0px;
}


h1:first-child {
    margin-top: 0;
}



#section-main-menu a {
    color: #000;
    font-weight: 500;
    letter-spacing: 0.05em;
}
@media (min-width: 992px) {
    #section-main-menu {
        height: 84px;
        margin-bottom: 0px;
    }
    #section-main-menu li.current-menu-item > a,
    #section-main-menu li.current-menu-ancestor > a{
        border-bottom: 2px solid #000;
    }

    body.home #section-main-menu {
        transition: all .5s ease-in-out;
        z-index: 9999;
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0);
        width: 100%;
        position: fixed;
        display: block;
        height: 114px;
        margin-bottom: -84px;
        background-color: transparent;
        background: linear-gradient(180deg,rgba(0,0,0,.9) 0%, rgba(0,0,0,0) 100%);

    }
    body.home #section-main-menu .navbar-brand {
        transition: all 1s ease-in-out;
        filter: invert(1);
    }
    body.home #section-main-menu .navbar-brand img {
        transition: all .5s ease-in-out;
        height: 50px;
    }
    body.home #section-main-menu.scrolled .navbar-brand img {
        height: 40px;
    }
    body.home #section-main-menu.scrolled .navbar-brand {
        filter: invert(0);
    }
    body.home #section-main-menu li.menu-item > a{
        color: white;
    }
    body.home #section-main-menu.scrolled {
        height: 84px;
        background: #ffe500;
        /* -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); */
        /* box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); */
        margin-bottom: 40px;
    }
    body.home #section-main-menu.scrolled li.menu-item > a {
        color: black;
    }
    body.home ul.lang-selector > li > a {
        background: transparent !important;
    }
    body.home  #section-main-menu.scrolled ul.lang-selector > li > a {

    }


}


#section-main-menu a:hover,
#section-main-menu a:focus {
    background: transparent;
    color: #333;
}

#section-sub-menu {
    background: #fff;
    padding: 0;
    margin-bottom: 0px;
}
ul.desktop-submenu,
ul.desktop-submenu ul {
    padding-left: 0;
    margin-bottom: 0;
}
ul.desktop-submenu > li.menu-item {
    display: none;
}
ul.desktop-submenu > li.menu-item > a {
    display: none;
}
ul.desktop-submenu li.menu-item > a,
ul.mobile-third-level-menu li.menu-item > a {
    color: #000;
    letter-spacing: .05em;
}
ul.desktop-submenu li.current-menu-item > a,
ul.mobile-third-level-menu li.current-menu-item > a {
    color: #999;
}
ul.desktop-submenu > li.current-menu-ancestor,
ul.desktop-submenu > li.current-menu-item,
ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li,
ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li,
ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li > ul.sub-menu > li,
ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li > ul.sub-menu > li {
    display: block;
}
ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li.menu-item,
ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li.menu-item {
    display: block;
    padding: 7px 0 8px 0;
    margin: 0 15px;
    border-top: 1px solid #000;
}
ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li > ul.sub-menu > li,
ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li > ul.sub-menu > li {
    padding: 4px 0 0 15px;
    font-weight: normal;
    font-size: 0.85em !important;
    margin-top: 0;
}
ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li.menu-item:first-child,
ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li.menu-item:first-child {
    margin-top: 8px;
}
ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li.menu-item:last-child,
ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li.menu-item:last-child {
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    ul.desktop-submenu ul {
        display: inline;
    }

    ul.desktop-submenu > li.current-menu-ancestor,
    ul.desktop-submenu > li.current-menu-item,
    ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li,
    ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li,
    ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li > ul.sub-menu > li,
    ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li > ul.sub-menu > li {
        display: inline-block;
        border-top: 0;
    }
    ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li.menu-item,
    ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li.menu-item {
        display: inline-block;
        border-top: 0;
        margin: 0 30px 0 0;
        font-size: .85em;
    }
    ul.desktop-submenu > li.current-menu-ancestor > ul.sub-menu > li.menu-item:last-child,
    ul.desktop-submenu > li.current-menu-item > ul.sub-menu > li.menu-item:last-child {
        border-bottom: 0;
        margin-bottom: 8px;
    }
    ul.desktop-submenu li.current-menu-item > a, ul.mobile-third-level-menu li.current-menu-item > a {
        color: #000;
        border-bottom: 2px solid #000;
    }
    ul.desktop-submenu li.menu-item > a:hover, ul.mobile-third-level-menu li.menu-item > a:hover {
        text-decoration: none;
        color: #000;
    }
}

ul.mobile-third-level-menu,
ul.mobile-third-level-menu ul {
    padding-left: 0;
    margin-bottom: 0;
}
ul.mobile-third-level-menu > li.menu-item {
    display: none;
}
ul.mobile-third-level-menu > li.menu-item > a {
    display: none;
}
ul.mobile-third-level-menu > li.current-menu-ancestor,
ul.mobile-third-level-menu > li.current-menu-item,
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li,
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li > ul.sub-menu > li,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li > ul.sub-menu > li,
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li.menu-item,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li.menu-item {
    display: block;
}
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li> ul.sub-menu > li,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li > ul.sub-menu > li {
    display: none;
}
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li.current-menu-ancestor > ul.sub-menu > li,
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li.current-menu-item > ul.sub-menu > li,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li.current-menu-ancestor > ul.sub-menu > li,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li.current-menu-item > ul.sub-menu > li {
    display: block;
    padding: 7px 0 8px 0;
    margin: 0 15px;
    font-weight: strong;
    border-top: 1px solid #000;
}
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li > ul.sub-menu > li:first-child,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li > ul.sub-menu > li:first-child {
    margin-top: 20px;
}
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li > ul.sub-menu > li:last-child,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li > ul.sub-menu > li:last-child {
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
}
ul.mobile-third-level-menu > li.current-menu-ancestor > ul.sub-menu > li > a,
ul.mobile-third-level-menu > li.current-menu-item > ul.sub-menu > li > a {
    display: none;
}





/* Lang selector */
ul.lang-selector {
    list-style: none;
    margin-top: 16px;
    transition: all .3s ease-in-out;
}
body.home ul.lang-selector {
    list-style: none;
    margin-top: 30px;
}
body.home .scrolled ul.lang-selector {
    list-style: none;
    margin-top: 16px;
}
@media (max-width: 991px) {
    ul.lang-selector {
        margin-bottom: 80px;
    }
}
ul.lang-selector li {
    float: right;
}
ul.lang-selector > li > a {
    display: block;
    padding: 0;
    margin: 10px 4px 0 4px;
}
ul.lang-selector > li > a {
}
ul.lang-selector > li.active > a {
    display: none;
}

ul.lang-selector > li.active > a {
    display: none;
}
ul.lang-selector > li > a:hover {
    text-decoration: none;
}

/* FAQ */
a.faq-title > .glyphicon-triangle-top,
a.faq-title > .glyphicon-triangle-bottom {
    font-size: 0.8em;
}
a.faq-title > .glyphicon-triangle-top {
    display: inline;
}
a.faq-title > .glyphicon-triangle-bottom {
    display: none;
}
a.faq-title.collapsed > .glyphicon-triangle-top {
    display: none;
}
a.faq-title.collapsed > .glyphicon-triangle-bottom {
    display: inline;
}
h4.panel-title > a:hover,
h4.panel-title > a:focus
{
    text-decoration: none;
}


/* Breadcrumbs */
.breadcrumbs {
    padding: 0;
    margin: 15px 0;
    font-size: .75em;
}
.breadcrumbs a,
.breadcrumbs a:hover,
.breadcrumbs a:focus
{
    color: #000;
}




/* Footer */
ul.footer-menu {
    list-style: none;
    padding-left: 0;
}
.footer-grey,
.footer-black {
    padding: 30px 0 130px 0;
    margin-top: 30px;
    font-size: .8em;
}
.footer-grey {
    background: #2b2b2b;
    color: #fff;
}
.footer-grey .footer-heading {
    color: #ffe500;
    font-size: 1.5em;
    margin-bottom: .5em;
    display: block;
}
.footer-grey a {
    color: #aaa;
}
.footer-black {
    font-size: 0.85em;
    letter-spacing: 0.15em;
    background: #111;
    color: #888;
}
.footer-black a {
    color: #888;
}


/* Modules */
.section {
    padding: 40px 0;
}

.banner {
    padding: 100px 0;
    min-height: 400px;
    background-position: center center;
}
.banner.light,
.banner.light a {
    color: #222;
}
.banner.dark,
.banner.dark a {
    color: #ddd;
}

/* Add " (PDF)" text after links that go to PDFs */
a[href$=".mp3"]:before,
a[href$=".pdf"]:before
{
    font-family: FontAwesome;
    font-weight: normal;
    text-decoration: inherit;
    /*--adjust as necessary--*/
    font-size: 18px;
    padding-right: 0.5em;
    left: 0;
}
a[href$=".mp3"]:before {
    content: "\f1c7";
}
a[href$=".pdf"]:before {
    content: "\f1c1";
}




/* Gravity Forms Two Columns */
.gform_wrapper.two-column_wrapper ul.gform_fields {
    display: none;
}
.gform_wrapper.two-column_wrapper ul.gform_fields.gform_column {
    display: block;
}
@media (min-width: 992px) {
    .gform_wrapper.two-column_wrapper ul.gform_fields.gform_column {
        display: block;
        float: left;
        width: 50%;
    }
    .gform_wrapper.two-column_wrapper ul.gform_fields.gform_column.first {
        padding-right: 15px;
    }
    .gform_wrapper.two-column_wrapper ul.gform_fields.gform_column.second {
        padding-left: 15px;
    }
}
.gform_wrapper .top_label .gfield_label{
    margin: 0 !important;
}
.gform_wrapper.two-column_wrapper ul.gform_column li.gsection {
    display: none;
}
.gform_body label {
    font-weight: normal;
}
.gform_wrapper li.hidden_label input {
    margin-top: 0 !important;
}
.gform_footer input {
    float: right;
}

article img {
    max-width: 100%;
    height: auto;
}


.page-right-box {
    background: #ffe500;
}
.page-right-box .box-text {
    padding: 15px;
    font-weight: 500;
}


.home-yellow-box {
    background: #fff;
    padding: 10px 30px 10px 30px;
    height: 100%;
}
.home-yellow-box.white {
    background: #fff;
}
.yellow-box-fix {
    border-bottom: #fff solid 300px;
    margin-bottom: -300px;
}
.yellow-box-fix.white {
    border-bottom: #fff solid 300px;
    margin-bottom: -300px;
}
.yellow-box-fix img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
}
.yellow-box-fix img.read-more-arrow {
    width: 30px;
    height: auto;
}
.home-white-box {
    background: #fff;
    padding: 30px 30px 20px 30px;
    height: 100%;
}
.home-yellow-box h2 {
    margin-top: 0;
    font-weight: normal;
    font-size: 1.4em;
    line-height: 1.3;
    display: block;
    margin-top: 0;
    padding-top: 0;
}
.home-yellow-box h2:first-line {
    line-height: 1;
}
@media (min-height: 768px) {
    .home-white-box,
    .home-yellow-box {
        margin-bottom: 0px;
    }
}
.home-our-projects-line {
    border-top: 6px solid #000;
    margin-top: 15px;
    margin-bottom: 15px;
}
.home-our-projects-line h2 {
    font-weight: strong;
    background: #ffe500;
    margin: 0;
    padding: 10px 30px;
    font-size: 1.2em;
    text-transform: uppercase;
}
a.home-project-box {
    display: block;
    color: #000;
    background: #fff;
    margin: 0;
    margin-bottom: 30px;
}
a.home-project-box > .home-project-img {
    width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    a.home-project-box > .home-project-img {
        width: 100%;
        height: 221px;
    }
}
@media (min-width: 992px) {
    a.home-project-box > .home-project-img {
        width: 100%;
        height: 136px;
    }
}
@media (min-width: 1199px) {
    a.home-project-box > .home-project-img {
        width: 100%;
        height: 160px;
    }
}

a.home-project-box:hover,
a.home-project-box:focus {
    color: #000;
    text-decoration: none;
    opacity: 0.8;
    cursor: pointer;
}
a.home-project-box h2 {
    font-weight: strong;
    font-size: 1.3em;
    margin-top: 0;
}
.box-text {
    padding: 15px;
}

.home-tab-arrow {
    text-align: right;
}
.read-more-arrow {
    height: 2.2em;
    width: auto;
    margin-top: 0px;
}
#front-page-carousel {
    margin-bottom: 30px;
    display: none;
}

.slider-text-area {
    background: #fff;
    padding: 30px 30px 0 30px;
    font-size: 0.75em;
}
.slider-text-area h2 {
    margin-top: 0;
    font-size: 1.4em;
    font-weight: strong;
}
.slider-background {
    background: #fff;
}
.slider-content {
    padding-top: 30px;
    padding-bottom: 30px;
    background: #eee;
}
.slider-content {
    height: 240px;
}
@media (min-width: 760px) {
    .slider-content {
        height: 227px;
    }
    .slider-text-area {
        font-size: 0.7em;
        height: auto;
    }
}
@media (min-width: 992px) {
    .slider-content {
        height: 296px;
    }
    .slider-text-area {
        font-size: 1em;
        height: auto;
    }
}
@media (min-width: 1200px) {
    .slider-content {
        height: 370px;
    }
    .slider-text-area {
        font-size: 1em;
        height: auto;
    }
}
body.home .mfn-pagination,
body.home .mfn-preamble,
body.home .mfn-tags-list,
body.home .mfn-attachments,
body.home .mfn-toolbar {
    display: none;
}

body.home .mfn-title-wrapper,
h3.h3-in-tabpanel {
    font-size: 1.4em;
    font-weight: strong;
    margin-top: 0;
    line-height: 1.3;
}
body.home .mfn-title-wrapper a,
h3.h3-in-tabpanel a,
h4.h3-in-tabpanel a {
    color: #000;
}
body.home .mfn-title-wrapper {
    font-size: 1em !important;
    font-weight: 500;
    margin-bottom: 10px;
}
body.home .mfn-title-wrapper a:hover,
body.home .mfn-title-wrapper a:focus,
h3.h3-in-tabpanel a:hover,
h3.h3-in-tabpanel a:focus
{
    color: #666;
    text-decoration: none;
}
body.home .mfn-date,
.tabpanel-date {
    font-size: 0.75em;
    font-weight: strong;
    color: #333;
}



/* Alignment */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {
    margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
    margin: 7px 14px 7px 0;
}

blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {
    margin: 0 0 0 24px;
}

.wp-caption.alignright {
    margin: 7px 0 7px 14px;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
    margin-top: 7px;
    margin-bottom: 7px;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 17px;
    width: 50%;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
    margin-bottom: 17px;
}

.wp-caption {
    margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0;
}

.wp-caption {
    color: #333;
}

.wp-caption-text {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
    margin: 9px 0;
}

div.wp-caption .wp-caption-text {
    padding-right: 10px;
}

div.wp-caption.alignright img[class*="wp-image-"],
div.wp-caption.alignright .wp-caption-text {
    padding-left: 10px;
    padding-right: 0;
}

.wp-smiley {
    border: 0;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}



hr {
    border-top: 1px solid #999 !important;
}


.ingress {
    font-weight: 500;
    font-size: 1.2em;
    margin-bottom: 30px;
}
@media (min-width: 992px) {
    .ingress {
        line-height: 1.3;
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .ingress h1 {
        font-size: 52px;
    }
}
figure {
    max-width: 100%;
}


.news-on-home-box {
        border-bottom: 1px solid #000;
        padding-bottom: 30px;
    }
@media (min-width: 992px) {
    .news-on-home-box {
        border-right: 1px solid #000;
        border-bottom: 0;
        padding-right: 30px;
    }
}