:root {
    --main-bg-color: #18405a;
    --main-border-color: #c3c4c7;
}

.acf-office-selector .office-selection-component {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.acf-office-selector .office-selection-component .box {
    margin: 0px;
    box-sizing: border-box;
    border: 1px solid var(--main-border-color);
}

.acf-office-selector .office-selection-component .box ul {
    list-style: none;
    padding: 0;
}

.acf-office-selector .office-selection-component .box.country-selector {
    flex: 1 0 40%;
}

.acf-office-selector .office-selection-component .box.office-selector {
    flex: 1 0 60%;
    border-left: 0;
}

.acf-office-selector .office-selection-component .box-title {
    color:#fff;
    background-color: var(--main-bg-color);
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid var(--main-border-color);
}

.acf-office-selector .office-selection-component .box-content {
    background-color: #fff;
    height: 300px;
    max-height: 300px;
    overflow-y: auto;
    word-break: break-all;
}

.acf-office-selector .office-selection-component .box li {
    clear: both;
    padding: 3px 10px;
}

.acf-office-selector .office-selection-component .box-content .loaded {
    display:none;
}

.acf-office-selector .office-selection-component .box-content .loading {
    display: flex;
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
    height: 100%; /* set height of parent div */
    color: #888
}

.acf-office-selector .office-selection-component .box ul li.notprofiling {
    color: #888;
    background-color: #f0f0f0;
}
.acf-office-selector .office-selection-component .box ul li.profiling i.fa-circle-check {
    display:inline-block;
}
.acf-office-selector .office-selection-component .box ul li.profiling {
    color: #222;
}
.acf-office-selector .office-selection-component .box ul li.notprofiling i.fa-circle-xmark {
    display:inline-block;
}

.acf-office-selector .office-selection-component .country-select {
    cursor: pointer;
}


.acf-office-selector .office-selection-component .box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
  
.acf-office-selector .office-selection-component .box ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 8px;
    margin:0;
}
  
.acf-office-selector .office-selection-component .box ul li:last-child {
    border-bottom: none;
}
  
.acf-office-selector .office-selection-component .box ul li .left {
    margin-right: 10px;
}
  
.acf-office-selector .office-selection-component .box ul li .right {
    margin-left: 10px;
    min-width: 30px;
}
.acf-office-selector .office-selection-component .box ul li .right i{
    display:none;
}
.acf-office-selector .office-selection-component .box ul li .right i.fa-circle-check{
    color: #008000
}
.acf-office-selector .office-selection-component .box ul li .right i.fa-circle-xmark{
    color: #888
}

.acf-office-selector .office-selection-component .box.office-selector .country-title {
    background: #444;
    color: #fff;
    border-bottom: 1px solid #888;
    padding: 3px 9px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.acf-office-selector .office-selection-component .box.country-selector ul li .country-name {
    cursor: pointer;
    font-weight: 500;
}

.acf-office-selector .office-selection-component .box.country-selector .goto-country {
    color: var(--main-bg-color);
    padding: 0 4px;
    cursor:pointer;
}