/*******************************************************
 *
 * Team
 *
 *******************************************************/

#inner-page-wrapper {
    margin-bottom: 0;
}
#inner-page-wrapper > .container {
    width: 100%;
    padding: 0;
}
.ip-banner {
    display: none;
}
#content-sidebar, #content-full {
    margin-top: 0;
}
.ip-team-wrap {
    font-size: 0;
}
.get-in-touch-area {
    display: none;
}

/* Banner : START */
.ip-team-banner {
    position: relative;
}
.ip-team-banner::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    opacity: 0;
    z-index: 2;
}
.ip-team-banner canvas {
    display: block;
    width: 100%;
    min-width: 250px;
    background-color: #cccccc;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}
.ip-team-banner .ip-breadcrumbs-holder {
    z-index: 3;
	display: none;
}
.ip-team-banner p#breadcrumbs {
    margin: 0;
}
/* Banner : END */

/* Top : START */
.ip-team-top {
    position: relative;
    background: url(../../images/team/top-bg.jpg) #cccccc no-repeat center center / cover;
    padding: 145px 0 112px;
    text-align: center;
}
.ip-team-top::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(138,118,76,0.7)),to(rgba(138,118,76,1)));
    background: -o-linear-gradient(top, rgba(138,118,76,0.7) 0%,rgba(138,118,76,1) 100%);
    background: linear-gradient(to bottom, rgba(138,118,76,0.7) 0%,rgba(138,118,76,1) 100%);
    background: #996d5d;
    opacity: .9;
}
.ip-team-top .container {
    position: relative;
}
.ip-team-top-title {
    font-size: 50px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.05em;
}
#content .ip-team-top p {
    font-size: 14px;
    color: #ffffff;
    line-height: 2.1;
    letter-spacing: 0.01em;
    max-width: 990px;
    margin: 30px auto;
}
/* Top : END */

/* Agent : START */
.ip-team-agent {
    position: relative;
    padding: 145px 0 50px;
}
.ip-team-agent-bg {
    position: absolute;
    width: 100%;
    height: 26.08%;
    top: 0;
    left: 0;
    background: url(../../images/team/team-bg.jpg) no-repeat center center / cover;
}
.ip-team-agent-bg::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(247,247,247,0.77)),to(rgba(255,255,255,1)));
    background: -o-linear-gradient(top, rgba(247,247,247,0.77) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(247,247,247,0.77) 0%,rgba(255,255,255,1) 100%);
}
.ip-team-agent-container {
    position: relative;
    width: 1330px;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}
.ip-team-agent-title {
    font-size: 40px;
    font-weight: 300;
    color: #343434;
    line-height: 1;
    letter-spacing: 0.25em;
    text-align: center;
    text-transform: uppercase;
}
.ip-team-agent-holder {
    margin-top: 68px;
}
.ip-team-agent-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -15px;
}
.ip-team-agent-item {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 82px;
    text-align: center;
}
.ip-team-agent-item a {
    display: block;
}
.ip-team-agent-image {

}
.ip-team-agent-image canvas {
    display: block;
    width: 100%;
    /*background-color: #cccccc;
    background-position: center center;*/
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.ip-team-agent-item a:hover .ip-team-agent-image canvas {
    -webkit-filter: grayscale(1);
            filter: grayscale(1);
}
.ip-team-agent-text {
    padding: 22px 0 0;
}
.ip-team-agent-name {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    line-height: 1;
    letter-spacing: 0.025em;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.ip-team-agent-position {
    font-size: 15px;
    font-weight: 300;
    color: #000000;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 10px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.ip-team-agent-item a:hover .ip-team-agent-name,
.ip-team-agent-item a:hover .ip-team-agent-position{
    color: #996d5d;
}
/* Agent : END */

/* Admin : START */
.ip-team-admin {
    position: relative;
    background: url(../../images/team/admin-bg.jpg) #cccccc no-repeat center center / cover;
    padding: 55px 0 30px;
}
.ip-team-admin::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(51,51,51,0.77)),to(rgba(51,51,51,0.77)));
    background: -o-linear-gradient(top, rgba(51,51,51,0.77) 0%,rgba(51,51,51,0.77) 100%);
    background: linear-gradient(to bottom, rgba(51,51,51,0.77) 0%,rgba(51,51,51,0.77) 100%);
}
.ip-team-admin::after {

}
.ip-team-admin-container {
    position: relative;
    width: 1330px;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}
.ip-team-admin-title {
    font-size: 40px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.25em;
    text-align: center;
    text-transform: uppercase;
}
.ip-team-admin-holder {
    margin-top: 68px;
}
.ip-team-admin-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -15px;
}
.ip-team-admin-item {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 82px;
    text-align: center;
}
.ip-team-admin-item a {
    display: block;
}
.ip-team-admin-image {

}
.ip-team-admin-image canvas {
    display: block;
    width: 100%;
    background-color: #cccccc;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.ip-team-admin-item a:hover .ip-team-admin-image canvas {
    -webkit-filter: grayscale(1);
            filter: grayscale(1);
}
.ip-team-admin-text {
    padding: 22px 0 0;
}
.ip-team-admin-name {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.025em;
}
.ip-team-admin-position {
    font-size: 15px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 10px;
}
/* Admin : END */

/* Broker : START */
.ip-team-broker {
    position: relative;
    background: url(../../images/team/broker-bg.jpg) #cccccc no-repeat center center / cover;
    padding: 75px 0 0;
}
.ip-team-broker::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #996d5d;
    opacity: 0.77;
}
.ip-team-broker-container {
    position: relative;
    width: 1200px;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto
}
.ip-team-broker-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.ip-team-broker-image {
    width: 35.98%;
}
.ip-team-broker-image img {
    margin: 0 auto;
}
.ip-team-broker-text {
    width: 57.69%;
    padding: 52px 0 20px;
}
.ip-team-broker-title {
    font-size: 50px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.05em;
}
.ip-team-broker-position {
    font-size: 25px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin: 10px 0 38px;
}
#content .ip-team-broker-text p {
    font-size: 14px;
    color: #ffffff;
    line-height: 2.1;
    margin: 0 0 30px;
}
/* Broker : END */

.mobile-only {
    display: none;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {

    /* Broker : START */
    .ip-team-broker-image {
        padding: 50px 0 0;
    }
    /* Broker : END */

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    #inner-page-wrapper{
        margin-top: 90px;
    }
    /* Top : START */
    .ip-team-top {
        padding: 65px 0 32px;
    }
    /* Top : END */

    /* Agent : START */
    .ip-team-agent {
        padding: 65px 0 20px;
    }
    .ip-team-agent-item {
        width: 50%;
    }
    .ip-team-agent-holder {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    /* Agent : END */

    /* Admin : START */
    .ip-team-admin {
        padding: 65px 0 30px;
    }
    .ip-team-admin-item {
        width: 50%;
    }
    .ip-team-admin-holder {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .ip-team-admin-name
    /* Admin : END */

    /* Broker : START */
    .ip-team-broker-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }
    .ip-team-broker-image {
        width: 100%;
    }
    .ip-team-broker-text {
        width: 100%;
        padding: 0;
        text-align: center;
    }
    /* Broker : END */

    .mobile-only{
        display: block;
    }

    .ip-team-broker-position{
        margin: 10px 0 0;
    }
    .desktop-only{
        padding-top: 25px;
    }
    .desktop-only > div{
        display: none;
    }
	main > .custom-html-widget {
		min-height: 0;
	}

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {

    /* Top : START */
    .ip-team-top-title {
        font-size: 35px;
    }
    /* Top : END */

    /* Agent : START */
    .ip-team-agent-item {
        width: 50%;
        margin-bottom: 32px;
    }

    .ip-team-agent-name,
    .ip-team-admin-name{
        font-size: 17px;
    }
    .ip-team-agent-position,
    .ip-team-admin-position{
        font-size: 11px;
        line-height: 1.4;
    }
    /* Agent : END */

    /* Admin : START */
    .ip-team-admin-item {
        width: 50%;
        margin-bottom: 32px;
    }
    /* Admin : END */

    /* Broker : START */
    .ip-team-broker-title {
        font-size: 35px;
    }
    /* Broker : END */

}

.team-title {
font-size: 3rem;
    z-index: 4;
    position: absolute;
    top: 50%;
    left: 10%;
    text-align: center;
    background-color: rgb(0, 0, 0, 0.2);
}
@media only screen and (max-width: 900px) {
.team-title  {
    left: 0px;
    width: 100%;
  }
}