:root {
    --primary-blue: #116ebb;
}

body {
    color: #000;
}

h1,h2 {
    font-weight: 800;
}

.h3 {
    font-size: 22px;
    line-height: 1.5;
}

.text-weight-heavy {
    font-weight: 800;
}

.text-weight-light {
    font-weight: 300;
}

.text-weight-normal {
    font-weight: 500 !important;
}

.text-medium,
.text-large {
    margin: 6% 0;
}

.text-medium {
    font-size: 30px;
}

.text-xl {
    font-size: 95px;
}

.fg-white {
    color: #fff;
}

.fg-text-light {
    color: #d8d8d8;
}

.fg-black {
    color: #000;
}

.fg-blue {
    color: #1277c9;
}

.fg-purple {
    color: #6441ff;
}

.fg-text-dark {
    color: #444343;
}

.bg-black {
    background: #000;
}

.bg-gray {
    background: #f2f3f8;
}

.bg-dark-blue {
    background: #083262;
}

.bg-blue {
    background: #42a7ff;
}

.bg-white {
    background: #fff;
}

.text-center {
    text-align: center;
}

.no-margin-all {
    margin: 0 !important;
}

.no-margin-top {
    margin-top: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.no-padding-all {
    padding: 0 !important;
}

.no-padding-top {
    padding-top: 0 !important;
}

.no-padding-bottom {
    padding-bottom: 0 !important;
}

.no-padding-vertical {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.no-padding-horizontal {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.no-padding-top {
    padding-top: 0 !important;
}

.margin-vertical-medium {
    margin: 5% 0;
}

.margin-vertical-large {
    margin: 8% 0;
}

.margin-top-large {
    margin-top: 15%;
}


.margin-bottom-small {
    margin-bottom: 7.5% !important;
}

.display-inline-block-md-up {
    display: none !important;
}

.display-block-sm-down {
    display: block;
}

.about-wrap {
    display: block;
    position: relative;
    margin-top: 70px;
    background: #f2f3f8;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.btn-wrap {
    margin: 50px auto;
    max-width: 300px;
}

.btn-wrap .btn {
    display: block;
    padding: 18px 0;
    border: 3px solid #fff;
    color: #fff;
    width: 100%;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 18px;
}

section.payroll-signup {
    position: relative;
    z-index: 100;
}

section.payroll-signup:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url("../images/about-header-image.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

section.payroll-signup .container-wrap {
    padding: 15% 0;
}

section.payroll-signup .container-wrap h1 {
    font-size: 34px;
    margin-bottom: 10px;
    color: #fff;
}

section.payroll-signup .container-wrap p {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
}


.about-header {
    display: block;
    position: relative;
    padding-bottom: 250px;
    width: 100%;
    min-height: 250px;
    max-height: 250px;
    background:url("../images/about-header-image.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-header .content-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-header .content-wrap h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.about-header .content-wrap p {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
}

section.about-info-block .content-wrap,
section.staff-block .content-wrap {
    margin: 0 auto;
    padding: 7.5%;
    max-width: 1200px;
}

.info-block-wrap + .info-block-wrap {
    margin-top: 15%;
}

.button-wrap {
    margin-top: 50px;
}

.button-wrap .btn {
    display: block;
    padding: 15px 0;
    width: 100%;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 9999px;
    text-align: center;
}

.content-wrap .info-block p {
    font-size: 18px;
    line-height: 36px;
    color: #444343;
}

.content-wrap .image-block img,
.content-wrap .image-owner-wrap img {
    width: 100%;
}

.content-wrap .info-block h2 {
    color: var(--primary-blue);
}

section.pro-founders {
    display: block;
    position: relative;
    width: 100%;
    background:url("../images/founder-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.pro-founders .owners-content-block h2 {
    font-size: 28px;
}

.pro-founders .content-wrap {
    margin: 0 auto;
    max-width: 1500px;
}

.pro-founders .image-owner-wrap img {
    display: block;
}

.pro-founders .owners-content-block span {
    font-size: 14px;
    font-style: italic;
}

.pro-founders .owners-content-block p {
    margin-top: 30px;
    font-size: 15px;
    line-height: 30px;
}

.controls {
    padding: 5px 11px 5px 0;
    margin-bottom: 30px;
}

.controls button {
    color: #555555;
    background: transparent;
    border: 0 none;
    outline: 0 none;
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
    padding: 5px 11px;
    border-radius: 50px;
}

.controls button.mixitup-control-active {
    color: #0076c5;
    background: #c8e2f7;
}

ul.team-members-list {
    width: calc(100% + 40px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 -20px;
    padding-left: 0;
}

@media only screen and (min-width: 900px) {
    ul.team-members-list {
        width:calc(100% + 80px);
        margin: 0 -40px;
    }
}

@media only screen and (min-width: 1100px) {
    ul.team-members-list {
        width:100%;
        margin: 0;
    }
}

.mixItUp .mix {
    display: none;
}

li.team-member-block {
    position: relative;
    width: 50%;
    padding-bottom: 50%;
    margin-bottom: -1px;
    /*max-height: 220px;*/
    overflow: hidden
}

@media only screen and (min-width: 700px) {
    li.team-member-block {
        width:33.32%;
        padding-bottom: 33.32%;
        /*max-height: 320px*/
    }
}

@media only screen and (min-width: 900px) {
    li.team-member-block {
        /*width: 19vw;*/
        /*height: 19vw;*/
        margin-right:-1px;
        margin-bottom: -1px;
    }
}

@media only screen and (min-width: 1100px) {
    li.team-member-block {
        width: 25%;
        padding-bottom: 25%;
        /*max-height: 290px*/
    }
}

@media only screen and (min-width: 1400px) {
    li.team-member-block {
        width: 20%;
        padding-bottom: 20%;
        /*max-height: 290px*/
    }
}

li.team-member-block a.block-inner {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*padding: 22px;*/
    text-decoration: none;
    cursor: default;
}

@media only screen and (max-width: 899px) {
    li.team-member-block a.block-inner {
        /*padding:15px 15px;*/
        background: linear-gradient(rgba(54,63,101,0) 50%, rgba(52,55,66,0.4))
    }
}

li.team-member-block a.block-inner .userContent {
    height: 100%;
    width: 100%;
}

.userContent .content-bottom {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
}

li.team-member-block a.block-inner:hover .userContent {
    z-index: 99999;
    position: absolute;
    bottom: 0;
}

li.team-member-block a.block-inner .username {
    opacity: 0;
    transform: translateY(7px);
    transition: 0.3s all cubic-bezier(0.4, 0.01, 0.165, 0.99) 0s;
    margin: 0;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    font-size: 12px
}

@media only screen and (max-width: 899px) {

    li.team-member-block a.block-inner .userContent {
        position: absolute;
        z-index: 1;
    }

    li.team-member-block a.block-inner .username {
        opacity:1;
    }
}

@media only screen and (min-width: 500px) {
    li.team-member-block a.block-inner .username {
        font-size:16px
    }
}

@media only screen and (min-width: 900px) {
    li.team-member-block a.block-inner .username {
        font-size:24px
    }
}

@media only screen and (min-width: 1100px) {
    li.team-member-block a.block-inner .username {
        font-size:28px
    }
}

li.team-member-block a.block-inner .user-position-title {
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(7px);
    transition: 0.6s all cubic-bezier(0.4, 0.01, 0.165, 0.99) 0s
}

@media only screen and (max-width: 899px) {
    li.team-member-block a.block-inner .user-position-title {
        height:0
    }
}

li.team-member-block a.block-inner .department {
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.3;
    margin: 0;
    opacity: 0;
    transform: translateY(-5px);
    transition: 0.6s all cubic-bezier(0.4, 0.01, 0.165, 0.99) 0s
}

li.team-member-block a.block-inner .team-member-photo {
    position: absolute;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0; /* it was -1 on amel site */
    transition: 7s transform ease-in-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden
}

li.team-member-block a.block-inner .team-member-photo:after {
    content: "";
    background: rgba(47,76,113,0.6);
    background: linear-gradient(rgba(47,76,113,0.6) 0%, rgba(47,76,113,0.3) 30%, rgba(47,76,113,0.9) 100%);
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 0.5s all cubic-bezier(0.4, 0.01, 0.165, 0.99)
}

li.team-member-block a:hover .team-member-photo:after {
    opacity: 8;
}

@media only screen and (min-width: 900px) {
    li.team-member-block a.block-inner:hover .team-member-photo {
        transform:scale(1.1) rotate(0.02deg)
    }

    li.team-member-block a.block-inner:hover .team-member-photo:after {
        opacity: 0.8;
    }

    li.team-member-block a.block-inner:hover .username {
        opacity: 1;
        transform: translateY(0)
    }

    li.team-member-block a.block-inner:hover .user-position-title {
        opacity: 0.6;
        transform: translateY(0)
    }

    li.team-member-block a.block-inner:hover .department {
        opacity: 0.9;
        transform: translateY(0)
    }
}

li.team-member-block.become-an-amilian {
    background-color: #183252
}

li.team-member-block.become-an-amilian a.block-inner {
    background: transparent
}

li.team-member-block.become-an-amilian a.block-inner .userContent {
    text-align: center;
    align-items: center;
    justify-content: center
}

li.team-member-block.become-an-amilian a.block-inner .username {
    opacity: 1
}

li.team-member-block.become-an-amilian.other-color {
    background-color: #FFF036
}

.featherlight.amilian-member-modal .featherlight-content {
    padding: 0;
    border-bottom: 0 none;
    width: 100%;
    max-width: 400px;
    border-radius: 0;
    max-height: 100%
}

@media only screen and (min-width: 700px) {
    .featherlight.amilian-member-modal .featherlight-content {
        border-radius:4px;
        width: 85%;
        max-width: 800px
    }
}

@media only screen and (min-width: 700px) {
    .featherlight.amilian-member-modal .team-member-modal {
        display:flex
    }
}

.featherlight.amilian-member-modal .team-member-modal .team-member-photo-block {
    overflow: hidden;
    display: block;
    position: relative;
    height: 100vw;
    max-height: 400px;
    width: 100%
}

@media only screen and (min-width: 700px) {
    .featherlight.amilian-member-modal .team-member-modal .team-member-photo-block {
        position:absolute;
        top: 0;
        left: 0;
        max-height: auto;
        min-height: 100%;
        height: auto;
        height: 100%;
        width: 40%
    }
}

@media only screen and (min-width: 900px) {
    .featherlight.amilian-member-modal .team-member-modal .team-member-photo-block {
        width:45%
    }
}

.featherlight.amilian-member-modal .team-member-modal .team-member-photo-block .member-photo {
    position: absolute;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.featherlight.amilian-member-modal .team-member-modal .team-member-content-block {
    display: block;
    padding: 20px
}

@media only screen and (min-width: 700px) {
    .featherlight.amilian-member-modal .team-member-modal .team-member-content-block {
        display:flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin-left: 40%;
        width: 60%;
        padding: 60px 20px;
        min-height: 400px
    }
}

@media only screen and (min-width: 900px) {
    .featherlight.amilian-member-modal .team-member-modal .team-member-content-block {
        padding:90px 40px;
        margin-left: 45%;
        min-height: 480px
    }
}

.team-member-content-block .department {
    color: #A1A9B8;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 16px
}

.team-member-content-block .username {
    color: #183252;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    font-size: 22px;
    margin-left: -1px
}

@media only screen and (min-width: 700px) {
    .team-member-content-block .username {
        font-size:30px
    }
}

.team-member-content-block .user-position-title {
    margin: 0;
    font-weight: 600;
    color: #2B91E1;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: 0.01em
}

.team-member-content-block a.linkedIn-link {
    display: inline-block;
    width: 22px;
    height: auto;
    margin-left: 12px;
    opacity: 0.7;
    vertical-align: -1px
}

.team-member-content-block a.linkedIn-link:hover {
    opacity: 1
}

.facility ul.list-facility {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    list-style-type: none;
    border-top: 5px solid #fff;
}

.facility ul.list-facility li {
    width: 100%;
    height: 200px;
    border-bottom: 5px solid #fff;
    overflow: hidden;
}

.facility ul.list-facility li:last-child {
    border-bottom: none;
}

ul.list-facility li .image-square {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all .9s;
}

ul.list-facility .bg-wrap {
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.45;
}

ul.list-facility .image-square:hover {
    transform: scale(1.2);
}

ul.list-facility li .image-square h2 {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
}

.image-square.bg-1 {
    background-image: url("../images/facility-photo-5.png");
}

.image-square.bg-2 {
    background-image: url("../images/facility-photo-1.png");
}

.image-square.bg-3 {
    background-image: url("../images/facility-photo-2.png");
}

.image-square.bg-4 {
    background-image: url("../images/facility-photo-3.png");
}

.image-square.bg-5 {
    background-image: url("../images/facility-court.jpg");
}

@media only screen and (min-width: 376px) and (max-width: 1023px) {
    .image-owner-wrap.bottom {
        margin: 0 auto;
        max-width: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .pro-founders .content-wrap {
        padding: 15% 5% 0;
    }
}


@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .about-info-block .content-wrap .image-block:not(.reverse) {
        margin: 0 auto;
        max-width: 50%;
    }
}


@media only screen and (min-width: 768px) {
    .margin-top-large {
        margin-top: 8%;
    }

    .pro-founders .content-wrap {
        padding: 5% 5% 0;
    }

    .facility ul.list-facility li {
        width: 50%;
        border-right: 5px solid #fff;
    }
}

@media only screen and (min-width: 1024px) {
    .display-block-sm-down {
        display: none !important;
    }

    .display-inline-block-md-up {
        display: inline-block !important;
    }

    .margin-top-large {
        margin-top: 15%;
    }

    section.about-info-block .content-wrap {
        padding: 7.5% 50px;
    }

    .button-wrap .btn {
        display: inline;
        padding: 15px 30px;
        border-radius: 9999px;
    }

    section.about-info-block .info-block-wrap {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: nowrap;
        flex-direction: row;
    }

    section.about-info-block .info-block-wrap.reverse {
        flex-direction: row-reverse;
    }

    .info-block-wrap .image-block,
    .info-block-wrap .info-block {
        width: 50%;
    }

    .pro-founders .image-owner-wrap,
    .pro-founders .owners-content-block {
        display: inline-block;
    }

    .pro-founders .image-owner-wrap {
        width: 40%;
    }

    .pro-founders .owners-content-block {
        padding-left: 5%;
        width: 45%;
    }

    .pro-founders .image-owner-wrap {
        vertical-align: bottom;
    }

    .pro-founders .owners-content-block {
        vertical-align: top;
    }

    .facility ul.list-facility {
        flex-wrap: nowrap;
    }

    .facility ul.list-facility li {
        width: 25%;
        height: 300px;
        border-bottom: none;
    }

    ul.list-facility li:last-child {
        border-right: none;
    }
}

@media only screen and (min-width: 1366px) {
    section.payroll-signup:after {
        background-position: 0 -200px;
    }

    .margin-top-large {
        margin-top: 8%;
    }

    section.payroll-signup .container-wrap h1 {
        font-size: 60px;
    }

    section.payroll-signup:after {
        background-attachment: fixed;
    }

    section.about-info-block .content-wrap,
    section.staff-block .content-wrap {
        padding: 7.5% 0;
    }

    section.staff-block .content-wrap {
        max-width: 100%;
    }

    .content-wrap .info-block h2 {
        font-size: 37px;
    }

    .pro-founders .owners-content-block h2 {
        font-size: 48px;
    }

    .facility ul.list-facility li {
        height: 400px;
    }
}

@media only screen and (min-width: 1600px) {
    section.payroll-signup:after {
        background-position: 0 -400px;
    }

    .margin-top-large {
        margin-top: 15%;
    }

    section.payroll-signup .container-wrap p {
        font-weight: 300;
        font-size: 28px;
        line-height: 30px;
    }

    .about-header {
        padding-bottom: 575px;
        min-height: 575px;
        max-height: 575px;
        background-position: 0 130%;
        background-attachment: fixed;
    }

    .about-header .content-wrap h1 {
        font-size: 60px;
    }

    .about-header .content-wrap p {
        font-weight: 300;
        font-size: 28px;
        line-height: 30px;
    }
}


