/*** TEAM PAGE STYLES ***/
.cm-team-container h1 {
    border-bottom: 1px solid #888;
    font-size: 6vh;
    font-weight: bold;
    margin-bottom: 3vh;
}

.cm-team-wrapper {
}

.cm-team-item-wrapper {
    position: relative;
    font-size: 0;
    height: 36vmin;
}

.cm-team-item {
    position: relative;
    display: block;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    color: black;
    text-align: center;
    height: 100%;
    box-shadow: 0 0 11px #888;
    cursor: pointer;
    transition: 1.2s;
    width: 100%;
}

.cm-team-item-name {
    display: inline-block;
    vertical-align: bottom;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 2.5vmin;
    font-weight: normal;
    text-align: center;
    width: 100%;
    padding: 2vh 0;
}

.cm-team-item-title {
    display: none;
    vertical-align: middle;
    color: #fff;
    font-size: 2.5vmin;
    font-weight: normal;
    text-align: center;
    margin-bottom: 0;
}

.cm-team-item-view-bio {
    display: none;
    position: absolute;
    background: rgba(255, 192, 0, 0.6);
    font-size: 3vmin;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 1px #fff;
    height: 8vh;
    padding-top: 2vh;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: 1.5s;
}

.cm-team-item-wrapper:hover .cm-flip-x {
    background-image: none !important;
    background-color: #595959;
    transform: rotateY(180deg);
}

.cm-team-item-wrapper:hover .cm-flip-x .cm-team-item-name {
    display: none;
    transition: 1.5s;
}

.cm-team-item-wrapper:hover .cm-flip-x .cm-team-item-view-bio {
    display: block;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    width: 100%;
}

.cm-team-item-wrapper:hover .cm-flip-x .cm-team-item-title {
    display: inline-block;
    vertical-align: middle;
    transition: 1.5s;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    width: 100%;
}


/* SINGLE TEAM STYLES */
.cm-single-team-wrapper {
    /*    min-height: 80vh; */
    padding: 20px;
}

.cm-single-team-name {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cm-single-team-title {
    font-size: 24px;
}

.cm-single-team-email {
    font-size: 24px;
    margin-bottom: 15px;
}

.cm-single-team-phone {
    font-size: 28px;
}

.cm-single-team-content {
    border-top: 1px solid #888;
    font-size: 16px;
    line-height: 26px;
    margin-top: 2vh;
    padding-top: 2vh;
}

.cm-single-team-image img {
    max-height: 300px;
    width: auto;
}

.cm-single-team-left {
    text-align: center;
}

.cm-single-team-buttom {
    text-align: center;
    font-size: 28px;
    margin-top: 30px;
}

.cm-single-news-wrapper {
    padding: 4vmin 0;
}

.cm-single-news-image img {
    max-height: 300px;
    width: auto;
}

.cm-single-news-title {
    font-size: 38px;
    padding-left: 10px;
}