/*! Stack Components Customization */
@import 'https://fonts.googleapis.com/css?family=Material+Icons';

/* heights */
.height-25 {
    height: 25vh;
}
.height-75 {
    height: 75vh;
}
@media (max-width: 767px)
{
    .height-25, .height-75 {
        height: 25vh;
        padding: 4em 0;
    }
}

/* body drawwer container */
body.drawer .main-container {
    position: relative;
}

/* .bar */
.bar {
    padding: 1.75714286em 0 2.45714286em;
}
.bar.bar--unpad-bottom {
    padding-bottom: .45em;
}
.bar-toggle .bar__locale-holder {
    padding: 12px 16px 0;
}
.bar-1 .bar__locale-holder ul > li {
    display: inline-block;
}
.bar-1 .bar__locale-holder ul > li:not(:last-child) {
    margin-right: .4em;
}
.bar-1 .menu-horizontal.menu-horizontal--locale li.active a {
    font-weight: bold;
    opacity: 1;
}
.bar-1 .menu-horizontal.menu-horizontal--locale li {
    margin-right: .1em;
    margin-left: .1em;
}
@media(max-width: 991px) {
    .bar-1 .menu-horizontal.menu-horizontal--locale > li {
        display: inline-block;
    }
}
@media(min-width: 992px) {
    .bar-1 .menu-horizontal.menu-horizontal--locale {
        margin-left: 20px;
        float: right;
    }
}
.menu-horizontal li.active > a,
.menu-horizontal li.active > span,
.menu-horizontal li.active
{
    opacity: 1 !important;
}

/* .modal */
.modal-container .modal-content:not(.height--natural) {
    min-width: 70%;
}
.modal-container .map-container {
    min-width: 200px;
    width: 100%;
    max-width: 100%;
}

/* .section.same--height */
section.section--same-height .row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}
section.section--same-height.same-height--center .row {
    align-items: center;
}
section.section--same-height .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
section.section--same-height .row > [class*='col-'] .boxed {
    height: 100%;
}

/* .module__galleries--video-1
   .module__stories--recent */
.module__galleries--video-1 .video-cover,
.module__stories--recent .video-cover,
.section--archive .video-cover {
    display: block;
    background: transparent;
    text-align: center;
}
.module__galleries--video-1:not(.section--free-height) .video-cover,
.module__stories--recent:not(.section--free-height) .video-cover,
.section--archive:not(.section--free-height) .video-cover {
    min-height: 200px;
}
.module__galleries--video-1 a.view-more,
.module__stories--recent a.view-more,
.section--archive a.view-more {
    display: inline-block;
    margin-top: 15px;
}
.module__galleries--video-1 span.block,
.module__stories--recent span.block,
.section--archive span.block {
    color: #252525;
    margin-top: 10px;
}
.module__stories--recent a.upvote {
    float: right;
    padding: 5px;
    margin-top: 10px;
    border-radius: 6px;
    background-color: #eee;
    text-decoration: none;
}
a.upvote:hover {
    text-decoration: none;
}

/* .masonry__filter--custom */
.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters--custom {
    cursor: pointer;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    z-index: 2;
    display: inline-block;
    position: absolute;
    left: 0;
    text-align: left;
    padding: 0.92857143em 1.85714286em;
    border: 1px solid #ececec;
    background: #ffffff;
    border-radius: 6px;
}
.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters--custom ul {
    margin: 0;
    cursor: pointer;
}
.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters--custom ul li {
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    display: block;
    color: #666666;
    white-space: nowrap;
}
.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters--custom ul li:not(:last-child) {
    margin-bottom: 0.92857143em;
}
.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters--custom ul li.active {
    font-weight: bold;
    cursor: pointer;
}
.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters--custom ul li.active:after {
    /*display: none;*/
    content: '\25bc';
    font-size: 8px;
    margin-left: 6px;
    position: relative;
    bottom: 2px;
    display: inline-block;
    transform: scaleX(1.4) scaleY(0.9);
    transition: 0.2s linear;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
}
.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters--custom ul li:hover {
    font-weight: bold;
}
.masonry-filter-holder:not(.masonry-filters--horizontal) .masonry__filters--custom ul:hover li.active:after {
    opacity: 0;
}
.masonry-filter-holder:not(.masonry-filters--horizontal):not(:hover) .masonry__filters--custom ul {
    max-height: 1.85714286em;
    overflow: hidden;
}
.masonry-filter-holder:not(.masonry-filters--horizontal):not(:hover) .masonry__filters--custom ul li:not(.active) {
    display: none;
}
.masonry-filter-holder:not(.masonry-filters--horizontal):hover .masonry__filters--custom {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.04);
}
.masonry-filter-holder:not(.masonry-filters--horizontal):hover .masonry__filters--custom ul li.active {
    cursor: default;
}
.masonry-filters--horizontal .masonry__filters--custom {
    display: inline-block;
    position: relative;
    bottom: 20px;
    margin-left: 0.92857143em;
}
.masonry-filters--horizontal .masonry__filters--custom ul li:not(:last-child) {
    margin-right: 1.85714286em;
}
.masonry-filters--horizontal .masonry__filters--custom ul li {
    transition: all .3s ease;
    cursor: pointer;
    display: inline-block;
}
.masonry__filters--custom li.active a {
    cursor: default;
    font-weight: bold;
}
.masonry__filters--custom li:not(.active) a {
    cursor: pointer;
}
.masonry .project-thumb.hover-element > a {
    height: 22.5em !important;
}

/*.dropdown--relative .dropdown__container,*/
.notification .dropdown--relative .dropdown__content{
    position: relative;
    box-shadow: none;
    padding: 0;
}
.notification .dropdown--relative .dropdown__content {
    display: block;
    float: none;
    position: relative;
}

/* wimpy button */
.btn.btn--wimpy {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    font-size: 10.6736px;
    padding: 0 .59285714em;
    line-height: 1.8em;
}
.btn.btn--wimpy.play:before {
	content: "\f04b";
    font-family: FontAwesome;
    color: #252525;
}
.btn.btn--wimpy.pause:before {
	content: "\f04d";
	font-family: FontAwesome;
    color: #252525;
}

/* masonry load-more */
.masonry__load-more {
    margin-top: 15px;
}

/* module__lists--features-small-3 */
.module__lists--features-small-3 div > img {
    max-height: 75px;
}

/* module__lists--features-small-5 */
.module__lists--features-small-5 h5 {
    margin-bottom: 20px;
}
.module__lists--features-small-5 img.img--icon {
    max-width: 18%;
}

/* space */
.space--null {
    padding-top: 0;
    padding-bottom: 0;
}

/* articles */
article .article__body .highlight-image {
    margin-bottom: 2.3em;
}
article .article__body p,
article .article__body ul {
    font-size: inherit;
}
article .article__body .story-details {
    margin-top: 3em;
}
article .article__share {
    margin-top: 3em;
}

/* pagination */
.pagination__prev.disabled {
    text-decoration: none;
    color: #aaa;
}
.pagination__next.disabled {
    text-decoration: none;
    color: #aaa;
}

/* sidebar links */
.sidebar__widget li.active a {
    font-weight: bold;
}

/* designer mode */
.modal-content.modal-content--designer > .boxed {
    height: 100%;
    margin: 0;
}
.modal-content.modal-content--designer iframe {
    height: calc(100% - 65px) !important;
}
.designer-mode {
    border-color: rgba(0,0,0,.6) !important;
}
.designer-mode__modal {
    margin-bottom: 25px;
}
.designer-mode .label,
.designer-mode__modal .label {
    min-width: initial;
    margin: initial;
    top: 0 !important;
}
.designer-mode__title {
    background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%,rgba(255,255,255,0) 90%);
    border-radius: 6px;
    padding: 20px 0;
}
.designer-mode__title .label.label--inline:not(:last-child),
.designer-mode__modal .label.label--inline:not(:last-child) {
    margin-right: 5px;
}
.designer-mode__title .btn,
.designer-mode__modal .btn {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 24px;
    top: 1px;
    border-radius: 50px;
    padding-left: 3em;
    padding-right: 1em;
}
.designer-mode__title .fa,
.designer-mode__modal .fa {
    font-size: .7em;
    line-height: 27px;
}

/* accordion */
.accordion li.active .accordion__content {
    max-height: initial;
}
.accordion li.active .accordion__content ul,
.accordion li.active .accordion__content ol {
    list-style: initial;
    padding-left: 40px;
}

/* custom article modules */
.module__titles--article-1 .article__title {
    margin-bottom: 0;
}
.module__shareables--article-1 .article__share {
    margin-top: 0;
}

/* archive title label fix */
.module__titles--title-archive a.label {
    position: relative;
    height: auto;
    top: -2px;
    left: 5px;
    right: initial;
}
.module__titles--title-archive a.label:hover,
.module__titles--title-archive a.label:focus {
    color: #fff;
    opacity: .9;
    text-decoration: none;
}

/* videos text */
.module__galleries--videos-text .highlight-video {
    height: 352px;
}
.module__galleries--videos-text .small-video {
    height: 100px;
}

/* flipbook */
.flipbook * {
    user-select: none;
}
.flipbook a {
    cursor: pointer;
}
.flipbook .feature {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
.wowbook-page-content {
    position: absolute;
    overflow: hidden;
    background: #fff;
    zoom: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* module__lists--simple-list */
.module__lists--simple-list .container > .row:not(:last-child) {
    margin-bottom: 15px;
}
.module__lists--simple-list .col-sm-12 h4 {
    margin-bottom: .5em;
}
@media (max-width: 991px) {
    .module__lists--simple-list .col-sm-12:not(:last-child) {
        margin-bottom: 15px;
    }
}

/* more colors */
.color--green {
    color: #5cb85c !important;
}
.color--yellow {
    color: #f0ad4e !important;
}

/* more label colors */
.label--blue {
    background-color: #337ab7 !important;
}
.label--green {
    background-color: #5cb85c !important;
}
.label--cyan {
    background-color: #5bc0de !important;
}
.label--yellow {
    background-color: #f0ad4e !important;
}
.label--red {
    background-color: #d9534f !important;
}
.label--grey {
    background-color: #eeeeee !important;
    color: #666666;
}

/* remove margin bottom */
.unmarg--bottom {
    margin-bottom: 0;
}

/* sp-1 */
.module__specials--sp-1 .sp-1__holder {
    display: flex
}
.module__specials--sp-1 .sp-1__left {
    position: relative;
    padding-top: 25px;
    display: flex;
    width: 50%;
    flex-wrap: wrap;
}
.module__specials--sp-1 .sp-1__right {
    background-color: #eee;
    padding-bottom: 20px;
    width: 50%;
}
@media(max-width: 991px)
{
    .module__specials--sp-1 .sp-1__holder {
        display: block;
    }
    .module__specials--sp-1 .sp-1__left {
        display: block;
        width: 100%;
    }
    .module__specials--sp-1 .sp-1__right {
        position: relative;
        display: block;
        width: 100%;
        margin-top: 2em;
    }
}
.module__specials--sp-1 .sp-1__right .events,
.module__specials--sp-1 .sp-1__right .list {
    padding: 0 20px;
}
.module__specials--sp-1 .sp-1__left .text-holder,
.module__specials--sp-1 .sp-1__right .text-holder,
.module__specials--sp-1 .sp-1__right .text-holder {
    line-height: normal;
    font-weight: bold;
    user-select: none;
    font-size: 60px;
    display: block;
    color: #fff;
}
.module__specials--sp-1 .sp-1__left .text-holder {
    position: absolute;
    color: #ddd;
    left: 20px;
    top: -35px;
}
.module__specials--sp-1 .sp-1__right .events .text-holder {
    margin-bottom: -35px;
    margin-top: -5px;
    margin-left: 0;
}
.module__specials--sp-1 .sp-1__right .list .text-holder {
    margin-bottom: -35px;
    margin-left: 0;
}
@media (min-width: 768px)
{
    .module__specials--sp-1 .sp-1__left .text-holder {
        transform: rotate(-90deg);
        left: -170px;
        top: 200px;
    }

    .module__specials--sp-1 .sp-1__left .text-holder,
    .module__specials--sp-1 .sp-1__right .text-holder,
    .module__specials--sp-1 .sp-1__right .text-holder {
        font-size: 80px;
    }
}
.module__specials--sp-1 .event,
.module__specials--sp-1 .item {
    margin: 0 0 20px 0;
    border-radius: 0;
    padding: 0;
    background: none;
}
.module__specials--sp-1 .event .imagebg {
    height: 100px;
}
.module__specials--sp-1 .event__date {
    text-transform: uppercase;
    line-height: 38px;
    font-weight: bold;
    padding-top: 2px;
    font-size: 34px;
}
.module__specials--sp-1 .event__title {
    line-height: 20px;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}
.module__specials--sp-1 .event__location,
.module__specials--sp-1 .event__description {
    line-height: 16px;
    font-weight: bold;
    font-size: 13px;
    margin: 0;
}
.module__specials--sp-1 .item__title {
    line-height: 26px;
    font-weight: bold;
    font-size: 24px;
}
.module__specials--sp-1 .item__author {
    line-height: 21px;
    font-weight: bold;
    font-size: 15px;
}
.module__specials--sp-1 .left__stories {
    flex-wrap: wrap;
    display: flex;
}
.module__specials--sp-1 .left__stories .story {
    padding: .5em;
    width: 50%;
}
.module__specials--sp-1 .left__stories .story .boxed {
    position: relative;
    height: 100%;
    padding: 1em;
}
.module__specials--sp-1 .left__stories .story img {
    margin-bottom: .5em;
}
.module__specials--sp-1 .left__stories .story .story__info {
    padding: 1em;
}
.module__specials--sp-1 .left__stories .story {
    line-height: normal;
}
.module__specials--sp-1 .left__stories .story .story__description {
    margin-top: 1em;
}
.module__specials--sp-1 .left__stories .story .story__link {
    position: absolute;
    font-size: 13px;
    bottom: 1em;
    left: 2em;
}
.module__specials--sp-1 .view-all {
    width: 100%;
    text-align: center;
}
.module__specials--sp-1 .view-all a {
    font-size: 14px;
}

/* footer privacy policy */
footer .privacy-policy {
    margin-top: 10px;
}

/* flexbox container */
.container--flex {
    display: flex;
    margin: 0;
    padding: 0;
}
.row--flex {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    flex-basis: 100%;
}
@media (max-width: 480px) {
    .row--flex > .col--flex { width: 100%; margin-right: 0; }
    .row--flex > .col--flex:nth-child(n+2) { margin-top: 15px; }
}
.row--flex.flex-1 > .col--flex { width: 100%; margin-right: 0; }
.row--flex.flex-1 > .col--flex:nth-child(n+2) { margin-top: 15px; }
@media (min-width: 992px) {
    .row--flex.flex-4 > .col--flex { width: calc(25% - 11.25px); }
    .row--flex.flex-4 > .col--flex:nth-child(4n) { margin-right: 0; }
    .row--flex.flex-4 > .col--flex:nth-child(n+5) { margin-top: 15px; }

    .row--flex.flex-3 > .col--flex { width: calc(33.3333% - 10px); }
    .row--flex.flex-3 > .col--flex:nth-child(3n) { margin-right: 0; }
    .row--flex.flex-3 > .col--flex:nth-child(n+4) { margin-top: 15px; }

    .row--flex.flex-2 > .col--flex { width: calc(50% - 7.5px); }
    .row--flex.flex-2 > .col--flex:nth-child(2n) { margin-right: 0; }
    .row--flex.flex-2 > .col--flex:nth-child(n+3) { margin-top: 15px; }
}
@media (min-width: 481px) and (max-width: 991px) {
    .row--flex.flex-4 > .col--flex { width: calc(50% - 7.5px); }
    .row--flex.flex-4 > .col--flex:nth-child(2n) { margin-right: 0; }
    .row--flex.flex-4 > .col--flex:nth-child(n+3) { margin-top: 15px; }

    .row--flex.flex-3 > .col--flex { width: calc(50% - 7.5px); }
    .row--flex.flex-3 > .col--flex:nth-child(2n) { margin-right: 0; }
    .row--flex.flex-3 > .col--flex:nth-child(n+3) { margin-top: 15px; }

    .row--flex.flex-2 > .col--flex { width: calc(50% - 7.5px); }
    .row--flex.flex-2 > .col--flex:nth-child(2n) { margin-right: 0; }
    .row--flex.flex-2 > .col--flex:nth-child(n+3) { margin-top: 15px; }
}
.col--flex {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
}
.row--flex.flex-fh .col--flex {
    height: 250px;
    overflow: hidden;
}
.row--flex.flex-fh.flex-fh--350 .col--flex {
    height: 350px;
}
.row--flex .col--flex .holder,
.row--flex.flex-fh .col--flex .project-thumb {
    display: block;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
}
.col--flex .expand {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* archive */
.archive .boxed {
    margin-bottom: 0;
    padding: 1em;
}
.archive .feature {
    margin-bottom: 0;
}
.archive a.h5 {
    display: block;
    margin-bottom: .5em;
}
.archive span.h5 {
    display: block;
    margin-top: .5em;
}
.archive .view-more {
    position: absolute;
    bottom: 1em;
    margin-top: 1em;
}
.archive img {
    border-radius: 6px;
}
.archive .boxed img {
    margin-bottom: 1em;
}
@media (max-width: 992px) {
    .archive-sidebar {
        margin-top: 15px;
    }
}
.sidebar__widget:not(:last-child) {
    margin-bottom: 2em;
}
.archive hr {
    opacity: .2;
    margin: 1.6em 0;
}

/* recaptcha */
.g-recaptcha > div {
    margin: 0 0 0 auto;
}

@media(min-width: 992px) and (max-width: 1199px)
{
    footer .g-recaptcha {
        transform: scale(.87);
        transform-origin: 0 0;
    }
}
@media(min-width: 768px) and (max-width: 991px)
{
    footer .g-recaptcha {
        transform: scale(.62);
        transform-origin: 0 0;
    }
}
footer .g-recaptcha > div {
    margin: 0 auto;
}

/* .results-list */
.menu-horizontal form.search {
    float: right;
    margin-bottom: -1em;
}
.results-list a span {
    font-size: .8em;
    line-height: 1.2em;
}
.results-list a span i {
    font-size: .7em;
}
.results-list a:hover span {
    text-decoration: none !important;
}

/* utility */
.utility-logo {
    display: inline-block;
    max-width: 430px;
    margin-bottom: 1.4em;
}

/* menu */
.menu-vertical li.separate:not(:last-child) {
    margin-bottom: 0;
}
.menu-vertical li.title {
    opacity: 1 !important;
}

/* mapbox */
.mapbox__map {
    min-height: 450px;
}
.mapbox__marker {
    background-size: contain;
    background-repeat: no-repeat;
    width: 34px;
    height: 98px;
    cursor: pointer;
}
.mapboxgl-popup {
    max-width: 350px;
}

@media(min-width: 768px) {
    .module__features--mapbox-enlarged .container {
        min-height: 450px;
    }
}