:root {
    --primary-color: #243C4F;
    --secondary-color: #F07D00;
    --blue-500: #56758D;
    --blue-300: #046FB7;
    --gray-500: #F0F0F0;
    --gray-300: #F8F8F8;
    --gray-100: #D5D8DC;

    --primary-color-overlay: #243C4FE6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-family: 'Montserrat', sans-serif;
}

p {
    margin-bottom: 0;
}

body {
    background-color: var(--gray-500);
    padding: 32px;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#filter {
    background-color: var(--primary-color);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 8px;
}

#filter .item {
    background-color: white;
    border-radius: 8px;
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 8px 16px;
}

#filter .item input,
#filter .item select {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background-color: transparent;
}

#filter #formSearch {
    background-color: var(--secondary-color);
    border-radius: 8px;
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    color: white;
    border: none;
}

#filter #formSearch:hover {
    opacity: 0.8;
    transition: 0.2s ease all;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder:focus {
    outline: none;
}

.btn-light:focus,
.btn-light:active,
.btn-light:hover,
.btn-light {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    width: 100%;
    height: 100%;
    display: flex;
}

.bootstrap-select .dropdown-menu {
    background: white;
}

#results {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    min-height: 600px;
}

#results #map {}

#results #map iframe {
    width: 100%;
    height: 100%;
}

#results #list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    height: 100%;
}

#results #list>label {
    color: var(--blue-500);
    font-size: 18px;
    font-weight: 400;
}

#results #list #network-and-pagination {
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    height: 100%;
}

#results #list #network-and-pagination #network {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1
}

#results #list #network-and-pagination #network .item {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: end;
    justify-content: space-between;
}

#results #list #network-and-pagination #network .left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1
}

#results #list #network-and-pagination #network .item .left span {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: var(--blue-500);
}

#results #list #network-and-pagination #network .item h3 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

#results #list #network-and-pagination #network .item .right #to-map {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--secondary-color);
    color: white;
    border: none;
    height: 32px;
    justify-content: center;
    padding: 0px 16px;
    border-radius: 8px;
    text-decoration: none;
}

#results #list #network-and-pagination #pagination {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

#results #list #network-and-pagination #pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--blue-300);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
}

#results #list #network-and-pagination #pagination a.first,
#results #list #network-and-pagination #pagination a.last {
    width: 122px;
}

#results #list #network-and-pagination #pagination a.active,
#results #list #network-and-pagination #pagination a:hover {
    background-color: var(--blue-300);
    color: white;
}

#results #list #network-and-pagination #pagination a.disabled {
    background-color: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
    pointer-events: none;
}

#results #list #network-and-pagination #pagination a.active {
    cursor: not-allowed;
    pointer-events: none;
}