/*!
*Theme Override
 */

.team-static .item .team-caption {
  top: 85%;
  background-color: rgba(34,34,34, 0.7);
}
header.masthead .masthead-title {
    font-size: 2rem;
    line-height: 2rem;
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

@media (min-width: 768x) {
    header.masthead .masthead-title {
        font-size: 4rem;
        line-height: 4rem;
    }
}
header.masthead {
    background-size: cover;
}

@media (min-width: 992px) {
    header.masthead {
        background-size: 100% 100%;
    }
}



.footer {

    background-image: url('../img/agency/backgrounds/bg-footer.jpg');
}

.footer-overlay
{
    //position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    margin-top:-50px;
    margin-bottom:-20px;
    width: 100%;
    height: 100%;
    opacity: .8;
    background-color: #000;
}

/*
Header Phone Number
 */

#head-ph {
    text-align: right;
    width: 120px;
}

#head-ph > a {
    font-size: 15px;
    color: #fff;

}

#head-ph > a:hover {
    color: rgba(255, 255, 255, 0.5)
}

@media (min-width: 576px) {
    #head-ph {
        text-align: center;
        width: 40%;
    }

    #head-ph > a {
        font-size: 25px;
        font-weight: 500;
    }
}

.mfp-title a {
    color: #ffffff;
}

.mfp-title a:hover {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
}

.team-static .item {
    position: relative;
    margin-right: 15px;
    margin-left: 15px;
    margin-bottom:30px;
}

.team-static .item .overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background-color: #222;
}

.team-static .item .team-caption {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 100%;
    margin: auto;
    padding: 15px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.7);
}

.team-static .item .team-caption h3 {
    margin: 0;
}

.team-static .item .team-caption hr {
    max-width: 50px;
    margin: 5px auto;
}

.team-static .item .team-caption p {
    margin: 0;
}

.team-static .item .team-caption .list-team-social {
    margin-top: 5px;
}

.team-static .item .team-caption .list-team-social li a {
    color: rgba(255, 255, 255, 0.7);
}

.team-static .item .team-caption .list-team-social li a:hover, .team-static .item .team-caption .list-team-social li a:focus {
    color: white;
}

.team-static .item .team-caption {
    top: 80%;
    background-color: rgba(34,34,34, 0.7);
}


