/*
* Accordion styling
*/


.contacts-accordion .accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border: none;
    border-radius: unset;
    border-bottom: 1px solid #e0e0e0;
    color: #66aeba;
    font-size: 1rem;
    font-weight: bold;
    min-height: 60px;
    height:100%!important;
    cursor: pointer;
    padding: 5px 26px;
    width: 100%;
    text-align: left;
    outline: none;
    transition: 0.4s;
}

.vc-accordion .panel {
    padding:0 20px;
}

.contacts-accordion .accordion:first-child {
    border-top: 1px solid #e0e0e0;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.contacts-accordion .accordion:hover {
    background-color: rgba(102,174,186,0.1);
}
.contacts-accordion .accordion.active {
    border-bottom: none;
}

/* Style the accordion panel. Note: hidden by default */
.contacts-accordion .panel {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.contacts-accordion .accordion:after {
    content: '+'; /* Unicode character for "plus" sign (+) */
    font-size: 1.875rem;
    font-weight: normal;
    color: #66aeba;
    float: right;
    margin-left: 5px;
    transition: transform 0.2s;
}
.contacts-accordion .active:after {
    transform: rotate(45deg);
}
table.employees {
    margin-top: 10px;
    width: 100%;
    border-spacing: 0;
    overflow: hidden;
}
table.employees th {
    text-align: left;
    height: 50px;
    border: 1px solid #676560;
    background-color: #4e4c47;
    padding: 0 20px;
    color: #fff;
}
table.employees tr:nth-child(odd) {
    background-color: #faf9f6;
}
table.employees .avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
}
table.employees .avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
table.employees .employee-data {
    display: flex;
    align-items: center;
}
table.employees .employee-data .avatar {
    margin-left: 20px;
}
table.employees ul {
    margin: 20px;
}
.contacts a.link-primary,
.contacts a.link-secondary {
    font-weight: normal;
}
.contacts ul li {
    margin-bottom: 6px;
}
table.employees .employee-data .data ul li:first-child {
    font-weight: bold;
    font-size: 1rem;
}
table.employees .employee-data .data ul li:nth-child(n + 2) {
    font-weight: normal;
    font-size: 0.906rem;
    color: #888680;
}
.contacts-address ul li {
    position: relative;
    font-size: 1rem;
}
table.list {
    margin: 30px 0;
    width: 100%;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 8px;
}
table.list tr {
    background-color: #faf9f6;
    color: #000;
    font-weight: bold;
}
table.list tr td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(169,169,169,.2);
}
table.list tr td:first-child {
    padding-right: 60px;
    background-color: #4e4c47;
    color: #fff;
    font-weight: normal;
    vertical-align: baseline;
}
table.list tr:last-child td {
    border-bottom: none;
}

table.employees .employee-data .data {
    width: 100%;
}

@media only screen and (max-width: 768px) {
    table.employees .avatar {
        width: 100px!important;
        height: 100px!important;
    }
    .contacts-accordion {
        margin-left: -20px;
        margin-right: -20px;
    }
    .contacts-accordion table {
        padding:20px;
    }
    .contacts-accordion table thead{
        display: none;
    }
    .contacts-accordion table tbody tr {
        display: flex;
        flex-direction: column;
        margin-bottom:25px;
    }
    .contacts-accordion table.employees tr:nth-child(odd) {
        background-color: transparent;
    }
    .contacts-accordion .employee-data {
        flex-direction: column;
        align-items: start!important;
    }
    .contacts-accordion table.employees ul {
        margin:5px 0px;
    }
    .contacts-accordion table.employees .employee-data .avatar {
        margin:0px;
    }
}