/* Page Manipulations (has only in custom pages an effect) */

#content-wrapper > .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

#content-wrapper > .container-fluid > .container-block > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#content {
    padding: 50px 0 25px;
}

.breadcrumb-wrapper {
    display: none;
}

/* Team CSS */

template {
    display: none;
}

.team__container {
    --flex-align: flex-start;
    --ms-flex-align: start;
    --hover-delay: 0ms;

    position: relative;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: var(--flex-align);
    -ms-flex-pack: var(--ms-flex-align);
    justify-content: var(--flex-align);
    -webkit-align-content: stretch;
    /*noinspection CssUnknownProperty*/
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    background: #efefef none;
}

/*noinspection CssUnusedSymbol*/
.team__item {
    --width: 100%;
    --min-width: 350px;

    width: var(--width);
    min-width: var(--min-width);

    /*noinspection CssUnknownProperty*/
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    /*noinspection CssUnknownProperty*/
    -ms-flex-item-align: auto;
    align-self: auto;
}

/*noinspection CssUnusedSymbol*/
.team__item-inner {
    --anim-duration: 250ms;
    padding-bottom: 124%; /* 930/750 Ratio */
    position: relative;
    overflow: hidden;
}

.team__item-image {
    --scale: 1;
    --blur: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(var(--scale));
    -webkit-transform: translateX(-50%) translateY(-50%) scale(var(--scale));
    z-index: 1;
    min-width: 101%;
    min-height: 101%;
    filter: blur(var(--blur));
    transition: all var(--anim-duration) ease-in-out var(--hover-delay);
}

.team__item-content {
    --translate-x: -101%;
    --translate-y: -101%;
    --color: #fff;
    --back-color: #85BF73;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateY(var(--translate-y));
    -webkit-transform: translateY(var(--translate-y));
    transition: all var(--anim-duration) ease-in-out var(--hover-delay);
    background: rgba(133, 191, 115, 0.8) none;
    color: var(--color);
    text-align: center;
}

.team__item-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    max-height: 100%;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.team__item-content-head {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}

.team__item-content-head-inner {
    padding: 25px 0;
}

.team__item-content-body {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    overflow-y: auto;
}

.team-member__headline {
    font-size: 20pt;
    text-transform: uppercase;
    color: var(--color);
    margin-bottom: 5px;
}

.team-member__content {
    font-size: 14pt;
    color: var(--color);
}

.team__item-content-body-inner {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin:0 10px;
}

.team__fact {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    padding: 10px;
    position: relative;
}

.team__fact-headline {
    font-size: 12pt;
    text-transform: uppercase;
    color: var(--color);
    margin-bottom: 5px;
}

.team__icon {
    margin-right: 8px;
}

.team__fact-content {
    font-size: 11pt;
    color: var(--color);
}

.team__item:hover .team__item-content,
.team__item--active .team__item-content {
    --translate-x: 0;
    --translate-y: 0;
}

.team__item:hover .team__item-image,
.team__item--active .team__item-image {
    --scale: 1.1;
    --blur: 5px;
}

@media only screen and (min-width: 700px) {

    .team__container {
        --flex-align: center;
        --ms-flex-align: center;
    }

    /*noinspection CssUnusedSymbol*/
    .team__item {
        --width: calc(100% / 2);
    }
}

@media only screen and (min-width: 1050px) {
    /*noinspection CssUnusedSymbol*/
    .team__item {
        --width: calc(100% / 3);
    }
}

@media only screen and (min-width: 1400px) {
    /*noinspection CssUnusedSymbol*/
    .team__item {
        --width: calc(100% / 4);
    }
}

/* Additional Team CSS */
.additional-team__container {
    max-width: 600px;
    padding: 100px 15px 0 15px;
    margin: 0 auto;
    text-align: center;
}