.officesAndTeams {
    width: 100%;
    height: 45rem;
}

.officesAndTeams__actions {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.officesAndTeams__officesWrapper {
    width: 100%;
    height: calc(45rem - 4.6rem);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    overflow-y: auto;
    background-color: #DDD;
}

.officesAndTeams__office {
    width: 280px;
    height: 20rem;
    margin: 1rem;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75);
}

.officesAndTeams__officeTeam {
    width: 280px;
    height: 50px;
    margin-top: 5px;
    background-color: white;
    border-radius: 4px;
    border-bottom: 1px solid #000;
}

.officesAndTeams__officeHeader {
    width: 100%;
    height: 50px;
    box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0.75);
}

.officesAndTeams__officeTeamHeader {
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #000; 
}

.officesAndTeams__name {
    height: 50px;
    line-height: 50px;
    width: 60%;
    text-align: center;
    font-weight: 700;
    font-size: 1.6rem;
    display: inline-block;
    overflow-x: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}
.officesAndTeams__teamname {
    height: 50px;
    line-height: 50px;
    width: 80%;
    text-align: center;
    font-weight: 700;
    font-size: 1.6rem;
    display: inline-block;
    overflow-x: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.officesAndTeams__headerIcons {
    height: 50px;
    width: 40%;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;

}

.officesAndTeams__teamHeaderIcons {
    height: 50px;
    width: 20%;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;

}

.officesAndTeams__info, .officesAndTeams__delete, .officesAndTeams__reactivate {
    color: #4ca3ff;
    line-height: 50px;
    font-size: 1.8rem;
    vertical-align: top;
    cursor: pointer;
}

.officesAndTeams__delete {
    color: red;
}

.officesAndTeams__reactivate {
    color: orange;
}

.officesAndTeams__officeInactive
{
    background: lightgray;
}

.officesAndTeams__officeTeamsWrapper {
    width: 100%;
}

.addOffice, .addOffice--out {
    width: 100%;
    position: fixed;
    overflow: scroll; /*Scroll for edit office modal*/
    height: calc(100vh - 59px);
    right: -100vh;
    top: 59px;
    bottom: 0;
    z-index: 1;
    padding-bottom: 1rem;
    background-color: white;
    transition: all .2s linear;
}

.addTeamMember, .addTeamMember--out {
    width: 100%;
    position: fixed;
    height: calc(100vh - 59px);
    right: -100vh;
    top: 59px;
    bottom: 0;
    z-index: 1;
    background-color: white;
    transition: all .2s linear;
}

.editTeam, .editTeam--out {
    width: 100%;
    position: fixed;
    height: calc(100vh - 59px);
    right: -100vh;
    top: 59px;
    bottom: 0;
    z-index: 1;
    background-color: white;
    transition: all .2s linear;
}

.editTeam--out,
.addTeamMember--out,
.addOffice--out {
    right: 0;
}

.addOffice__header {
    height: 50px;
    line-height: 50px;
    width: 100%;
    background-color: white;
    border-bottom: 1px solid;
}

.addOffice__subHeader {
    width: calc(100% - 80px);
    margin-right: 40px;
    height: 100%;
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    display: inline-block;
}

.addOffice__actions {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    margin: 1rem 0;
}

.addOffice__back {
    height: 50px;
    width: 40px;
    font-size: 2.8rem;
    line-height: 50px;
    text-align: center;
    display: inline-block;
}

.addOffice__inputWrapper {
    height: calc(100% - 50px);
    width: 100%;
    overflow-y: auto;
}

.officesAndTeams__team {
    height: 50px;
    line-height: 50px;
    width: 80%;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid black;
    overflow-y: auto;
}

.officesAndTeams__list {
    height: 50px;
    line-height: 50px;
    width: 100%;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: left;
    padding: 0 1rem;
    display: flex;
    justify-content: space-evenly;
}

.button__success, .button__warning {
    margin: 0 1rem;
}

.remove__title {
    font-weight: 700;
    font-size: 1rem;
    color: #707070;
    padding: 0 1rem;
    padding-top: 14px;
}

/*.adjust_team_modal_content .button__success {*/
/*margin-left: 50px;*/
/*margin-top: 35px;*/
/*}*/

@media (max-width: 991px) {
    .officesAndTeams__officesWrapper {
        height: calc(45rem - 7.2rem);
    }

    .officesAndTeams__info, .officesAndTeams__delete, .officesAndTeams__reactivate {
        font-size: 3rem;
    }

    .officesAndTeams__name {
        font-size: 2.5rem;
    }
    .officesAndTeams__teamname {
        font-size: 2.5rem;
    }
}