@charset "UTF-8";

.selectWithLinks * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.selectWithLinks {
    position: relative;
    outline: none;
    display: inline-block;
    width: 100%;
    max-width: calc(100vw - 2.4em);
    z-index: auto;
    z-index: 1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.selectWithLinks .value {
    display: block;
    position: relative;
    font-family: helvetica, arial, sans-serif;
    font-size: 16px;
    color: #1f202a;
    padding: 8px 10px;
    cursor: pointer;
    overflow-x: hidden;
    background-color: white;
}

.selectWithCancelBtn.unselected .selectWithLinks .value {
    height: 100%;
}

.selectWithLinks .list {
    position: absolute;
    top: 0;
    width: 100%;
    height: 0;
    background: #fff;
    opacity: 0;
    outline: none;
    -webkit-box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    -webkit-transition: opacity 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
    -o-transition: opacity 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
    transition: opacity 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
    z-index: 7;
    left: 0;
}

.selectWithLinks.open .list {
    height: auto;
    opacity: 1.0;
}

.selectWithLinks.open {
    z-index: 10;
}

.selectWithLinks .list .filter {
    padding: 8px 10px;
    display: block;
    left: 0;
}

.selectWithLinks .list .filter input {
    width: 100%;
    font-family: helvetica, arial, sans-serif;
    font-size: 12px;
    color: #1f202a;
    border: none;
    border-bottom: 1px solid #eaeaea;
    outline: none;
    margin: 0;
    /* padding: 0 0 10px 5px; */
    min-height: 30px;
}

.selectWithLinks .list .options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0;
    padding: 0;
    max-height: 200px;
    overflow-y: scroll;
}


.selectWithLinks .list .options .detectCoords,
.selectWithLinks .list .options a {
    display: block;
    list-style: none;
    font-family: helvetica, arial, sans-serif;
    font-size: 12px;
    color: #1f202a;
    padding: 8px 10px;
    cursor: pointer;
    text-decoration: none;
}

.selectWithLinks .list .options a.disabled {
    color: #ccc !important;
    background-color: white;
    cursor: default;
}

.selectWithLinks .list .options a.disabled.selectWithLinks__suggest--select {
    color: #fff !important;
}

.selectWithLinks .list .options .detectCoords:hover,
.selectWithLinks .list .options a.hovered {
    color: #1f202a;
    background: #e3af43;
}


.selectWithLinks .list.searchModeOn .options a {
    display: none;
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
}

.selectWithLinks .list.searchModeOn .options a.matching {
    display: block;
}

.selectWithLinks .list.searchModeOn .options a.firstPosition {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
}

.selectWithLinks.unselected .value {
    font-weight: lighter;
}

.selectWithCancelBtn {
    position: relative;
    box-sizing: border-box;
    border-radius: 2px;
    background: #EFF2F4;
    color: #404040;
    font-size: 12px;
    display: flex;
    align-items: center;
    min-height: 40px;
    width: 100%;
    justify-content: flex-end;
    justify-items: flex-end;
}

.selectWithCancelBtn .value {
    background: transparent;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 30px;
}

.selectWithCancelBtn .value::before {
    display: none;
}

.selectWithCancelBtn .value::after {
    content: '▼';
    font-size: 12px;
    position: relative;
    border: none;
    color: #404040;
    right: 15px;
}

.selectWithCancelBtn:not(.unselected) .value::after {
    right: 0;
}

.selectWithLinks__suggest::after {
    content: attr(data-keywords);
    color: #d4d4d4;
    display: block;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.selectWithCancelBtn.unselected {
    outline: none;
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #EFF2F4;
    background: white;
    height: 40px;
    border-radius: 2px;
    color: #0b7bc1;
    font-size: 12px;
    text-align: left;
    transition: .2s;
    height: 100%;
    box-sizing: border-box;
}

.selectWithCancelBtn.unselected .value {
    color: #0b7bc1;
    justify-content: center;
    padding-left: 10px;
    overflow: revert;
}

.selectWithCancelBtn.unselected .value::after {
    display: none;
}

.selectWithCancelBtn.unselected .value::before {
    content: '+';
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: none;
    border: none;
    font-size: 23px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: 100%;
    margin-right: 5px;
}

.selectWithCancelBtn.unselected .list {
    left: 0;
    top: 5px;
}

.selectWithCancelBtn.unselected:hover {
    background: #EFF2F4;
    border: 1px solid #0b7bc1;
}

.selectWithCancelBtn.unselected .selectWithLinks {
    height: 100%;
}


.selectWithCancelBtn.unselected .selectWithLinks__cleanBut {
    display: none;
}

.selectWithLinks__cleanBut {
    align-items: center;
    cursor: pointer;
    color: #404040 !important;
    font-size: 10px;
    height: 100%;
    width: 25px;
    padding-right: 5px;
    line-height: 1;
    display: none;
    z-index: 5;
    justify-content: center;
}

.selectWithLinks__cleanBut--active {
    display: flex;
}

.selectWithLinks__preloader::after {
    content: '';
    display: flex;
    position: relative;
    height: 40px;
    width: 100%;
    background-image: url("/app/p/zadarma/report/loading.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.selectWithLinks__suggest--select {
    background: #e3af43;
}

.selectWithLinks__suggest--select.disabled {
    background-color: #d6d4d4 !important;
}

.selectWithLinks__suggest .disabled {
    pointer-events: none;
}

@media only screen and (max-width: 768px) {
    .selectWithCancelBtn.unselected .list {
        width: 250px;
        margin-left: -210px;
    }

    .selectWithCancelBtn .value {
        padding-left: 10px;
    }
}