.team-content .modal-content {
    border: 0;
    box-shadow: none;
}
.teamwrapper {
    width: 100%;
    display: inline-block;
}
.team-small {
    float: left;
    display: inline-block;
    max-height: 63px;
    max-width: 63px;
    overflow: hidden;
}
.team-small img {
    width: 100% !important;
}
.team-large {
    float: left;
    max-height: 126px;
    max-width: 126px;
    overflow: hidden;
}
.team-frame {
    position: relative;
    z-index: 0;
    display: inline-block;
    max-height: 126px;
    max-width: 126px;
    overflow: hidden;
}
.team-large img {
    width: 100%;
    -webkit-transition: all 500ms ease 50ms;
    -moz-transition: all 500ms ease 50ms;
    -o-transition: all 500ms ease 50ms;
    transition: all 500ms ease 50ms;
}
.team-large .team-content {
    position: absolute;
    top: -15px;
    padding: 3px 5px;
    text-align: center;
    width: 100%;
}
.team-large.black a {
    color: #000;
    width: 100%;
    display: inline-block;
}
.team-large.white a {
    color: #fff;
    width: 100%;
    display: inline-block;
}
.team-large .team-content h3 {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 16px;
    color: #fff;
}
.team-large .add-btn {
    background: #000;
    display: inline-block;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    right: 5px;
    text-align: center;
    padding-top: 5px;
}
.team-large .add-btn i {
    background: url("../files/plus.png") no-repeat;
    height: 18px;
    width: 18px;
    background-position: center center;
    display: inline-block;
}
.team-large .team-overlay {
    background: rgba(0, 0, 0, 0.79);
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    text-align: center;
    padding: 10px;
    text-transform: uppercase;
}
.team-large .team-overlay h4 {
    color: #FCC343;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    margin: 0;
    letter-spacing: 1px;
}
.team-large .team-overlay h5 {
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    margin: 0;
    letter-spacing: 1px;
}
.team-large:hover .team-content h3 {
    display: none;
}
.team-large:hover .team-overlay {
    opacity: 1;
}
.open .team-frame img {
    margin-top: -35px;
}
.open .team-content {
    display: none;
}
.open .team-overlay {
    display: none;
}
.open .add-btn {
    display: none;
}
.open.team-info {
    display: inline-block;
}
.team-info .semi-content {
    /*-webkit-column-count: 2;
    -moz-column-count: 2;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;*/
}
.team-info .column {
    padding: 10px;
    box-sizing: border-box;
}
.hidden {
    visibility: hidden;
}
.team-info {
    display: none;
    box-sizing: border-box;
    background: #1586C9;
    width: 100%;
    left: 0;
    overflow: hidden;
    z-index: 2;
    padding: 30px;
    /*-webkit-column-count: 2;
    -moz-column-count: 2;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;*/
    /*display: block;*/
}
.team-info .close-btn img {
    width: 18px;
    float: right;
    top: 10px;
    right: 10px;
    position: absolute;
}
.team-info h4 {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 22px;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 25px;
}
.team-info h4 span {
    color: #fff;
    display: block;
}
.team-info p {
    font-size: 12px;
    color: #fff;
}
.modal-backdrop {
    opacity: 0 !important;
    filter: alpha(opacity=0) !important;
}
.modal-dialog {
    max-width: 100% !important;
    visibility: visible !important;
}
.modal-dialog {
    background-size: cover;
    width: 100%;
    margin: 30px auto !important;
    margin-top: 0px !important;
    margin-bottom: 30px;
    margin-top: 30px;
    /* margin-right: 15%; */
    
    margin-bottom: 30px;
    /* margin-left: 15%; */
    
    visibility: visible !important;
}
.modal-content {
    max-width: 100% !important;
    visibility: visible !important;
}
.teamwrapper {
    width: 100%;
    display: inline-block;
    margin-left: 8px !important;
    /*height: 800px !important;*/
    visibility: visible !important;
}
/*------------------------- MEDIA QUERIES -------------*/

@media (max-width: 964px) {
    .teamwrapper {
        margin-left: 0px !important;
    }
    .teambody {
        padding-top: 0px;
    }
}
@media (max-width: 700px) {
    .team-info .semi-content {
        -webkit-column-count: auto;
        -moz-column-count: auto;
        -webkit-column-gap: auto;
        -moz-column-gap: auto;
    }
}
@media (max-width: 640px) {
    .team-info .semi-content {
        -webkit-column-count: auto;
        -moz-column-count: auto;
        -webkit-column-gap: auto;
        -moz-column-gap: auto;
    }
}
@media (max-width: 414px) {
    .team-modal .modal-dialog {
        width: 100% !important;
        margin: 10px auto;
    }
}