/*******************************************************
 *
 * Staff
 *
 *******************************************************/
#content-full {
    margin: 0;
}

#ip-staff {
    padding: 15px 0 0;
    position: relative;
}

#ip-staff::before,
#ip-staff::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: calc(calc(-100vw + 100%) / 2);
    width: calc(100% + calc(100vw - 100%));
    height: 100%;
    pointer-events: none;
}

#ip-staff::before {
    background-image: url('../../images/staff/OceanBackground.jpg');
    background-repeat: no-repeat;
    background-size: 130vw auto;
    background-position: bottom left;
    background-attachment: fixed;
    opacity: 80%;
    filter: blur(10px);
}


#ip-staff::after {
    background: linear-gradient(to top, #fff, transparent 20%), linear-gradient(to top, #fff, transparent 2%);
}

#ip-staff > p, #ip-staff > section {
    position: relative;
    z-index: 5;
}

p#breadcrumbs {
    display: block !important;
    margin: 0 59px;
}

.section-1 {
    padding: 51px 0 50px;
}

    .staff-title {
        margin-bottom: 110px;
    }

        .staff-title em {
            font-family: 'Raleway';
            font-weight: 700;
            font-size: 55px;
    letter-spacing: 0.1em;
    color: #1f3477;
/*            line-height: 182px;*/
        }

    .staff-content {
        max-width: 1400px;
        margin: 0 auto;
    }

        .staff-list {
            margin: 0 -9.5px;
            font-size: 0;
        }

        .staff-item {
        display: inline-block;
        vertical-align: middle;
        width: calc(100% / 4);
        padding: 9.5px;
        margin: 9px;
        border: 2px solid #ffffff;
        margin-bottom: 16px;
        border-color: #779bbf;
        border-radius: 14px;
        transition: all 0.3s ease-in-out;
        }


                .staff-item:hover {
                      border-color: #1f3477;
                    border-width: 4px;
                }







                .staff-item-inner {
                    position: relative;
                    transform: translateZ(0);
					border-radius: 15px;
  overflow: hidden;
                }

                .staff-img {
  position: relative;
  overflow: hidden;
}

                    .staff-img::before,
                    .staff-img::after {
                        content: '';
                        display: block;
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        transition: all .3s ease;
                    }

                    .staff-img::before {
                        z-index: 2;
                        background: linear-gradient(to top, #000, transparent 39%);
                        opacity: .90;
                    }

                    .staff-img::after {
                        background: linear-gradient(to top, #000, transparent 57%);
                        opacity: 0;
                    }

                    .staff-item-inner:hover .staff-img::before {
                        opacity: 0;
                    }

                    .staff-item-inner:hover .staff-img::after {
                        opacity: .90;
                    }

                        .staff-img canvas {
                            display: block;
                            width: 100%;
                        }

                        .staff-img img {
                            position: absolute;
                            top: 0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            object-fit: cover;

                            transition: all 0.3s ease-in-out;
                        }

                    .staff-details-holder {
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 100%;
                        text-align: center;
                        z-index: 5;
                        color: #fff;
                        padding: 0 0 31px;
                        transition: all .3s ease;
                    }

                    .staff-item-inner:hover .staff-details-holder {
                        padding: 0 0 38px;
                    }

                        .staff-details {

                        }

                            .staff-details a {
                                transition: all .3s ease;
                            }

                            .staff-details a:hover {
                                color: #00c0e3;
                            }

                            #content .staff-name {
                                font: normal 300 25px/30px 'Raleway';
                                text-transform: uppercase;
                                letter-spacing: .020em;
                                margin: 0;
                            }

                            #content .staff-details ul {
                                margin: 0;
                                list-style: none;
                                overflow: hidden;
                                /*max-height: 0;*/
                                /*opacity: 0;*/
                                font-size: 13px;
                                transition: all .3s ease;
                            }

                            #content .staff-item-inner:hover .staff-details ul {
                                margin: 18px 0 0;
                                opacity: 1;
                                max-height: 50px;
                            }

                                .staff-details li {
                                    font-weight: 400;
                                    font-size: 16px;
                                    line-height: 1;
                                    line-height: 19px;
                                }

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/





.page-id-16 .staff-list{
  text-align: center;
}

.cb{
  clear: both;
}

.staff-item:nth-child(4) {
    margin: 0px 11px 15px 24%;
}

.staff-item:nth-child(5) {
    margin: 0px 24% 15px 11px;
}

.staff-item:hover .staff-img img {
    transform: scale(1.2);
    transform-origin: center center;
}

/* .staff-item:last-child {
    margin-right: 54%;
} */


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

}


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


}

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

}


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


}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {

    #content .staff-name {
        font-size: 21px;
        line-height: 27px;
    }

    .staff-title em {
        font-size: 40px;
    }


    .staff-item:nth-child(4) {
        margin: 0px 11px 15px 23%;
    }
    .staff-item:nth-child(5) {
        margin: 0px 23% 15px 11px;
    }

    .staff-item:last-child {
        margin-right: 54.5%;
    }

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

.cb{
  display: none;
}

.staff-item {
    width: calc(50% - 12.5px);
    margin: 0px !important;
}

    .staff-list {
        margin: 0 auto;
        max-width: 700px;
    }

    .staff-title em {
        line-height: 1;
    }


    .staff-list {
        display: flex;
        flex-flow: row wrap;
        gap: 25px;
    }


}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .staff-title em {
        font-size: 42px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {



}

@media only screen and (max-width: 410px) {
    .staff-item {
        width: 100%;
    }


}
