@import url('https://fonts.cdnfonts.com/css/poppins');

html,
body {
    width: 100%;
    height: 100%;
    color: var(--base-text-color);
    font-family: var(--font-family);
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif !important;
}

.hidden {
    display: none !important;
}

@media only screen and (max-width: 400px) {

    html,
    body {
        max-height: 600px;
        min-height: 100%;
    }
}

#app-root {
    width: 100%;
    height: 100%;
    background-color: var(--base-bg);
    position: relative;
}

#app-root .container {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

#app-root label {
    color: #0270a9;
    font-weight: bold;
    font-size: 12px;
    font-family: arial;
}

#app-root .seta {
    width: 25px;
    height: 13px;
    background-image: url(assets/setaBaixo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#app-root .seta.setaBaixo {
    background-image: url(assets/setaCima.png) !important;
}

#app-root .header {
    position: absolute;
    width: 100%;
    height: 76px;
    margin: 0 auto;
    background-color: #fff;
}

#app-root .header .search-box {
    position: relative;
    width: 100% !important;
    height: 35px;
    left: 0px;
    border-radius: 3px !important;
    background-color: #e6e6e6;
    font-size: 15px;
}

#app-root .header .search-box .esri-search__container {
    background-color: #fff;
    border: 1px solid #00508c;
    border-radius: 6px;
}

#app-root .header .search-box .esri-search__container .esri-input::-webkit-input-placeholder {
    color: #20202f;
}

#app-root .header .search-box .esri-search__container .esri-input:-ms-input-placeholder {
    color: #20202f;
}

#app-root .header .search-box .esri-search__container .esri-input::placeholder {
    color: #20202f;
}

#app-root .header .radioOff {
    width: 26px;
    height: 25px;
    cursor: pointer;
    background-image: url(assets/radio-off.png);
}

#app-root .header .radioOn {
    width: 26px;
    height: 25px;
    background-image: url(assets/radio-on.png) !important;
    cursor: pointer;
}

#app-root .header .separadorVertical {
    width: 1px;
    height: 70px;
    background-color: #d1d1d1;
}

#app-root .header .menuHover {
    position: absolute !important;
    display: none;
    z-index: 999 !important;
    width: 250px;
    height: 0px;
    font-family: arial !important;
    font-size: 14px !important;
    font-weight: normal !important;
    color: #9e9e9e !important;
    background-color: #e4e4e4;
    top: 68px;
    right: 0;
}

#app-root .header .menuHover .separadorMenuHover {
    width: 100%;
    height: 1px;
    background-color: #d2d2d2;
    float: left;
}

#app-root .header .menuHover .menu-item {
    position: relative;
    width: 100%;
    float: left;
}

#app-root .header .menuHover .menu-item .icon-indicator {
    width: 32px;
    height: 39px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

#app-root .header .menuHover .menu-item .ativas {
    background-image: url(assets/marker-antenas-ativas-off.png);
}

#app-root .header .menuHover .menu-item .ativas.on {
    background-image: url(assets/marker-antenas-ativas.png);
}

#app-root .header .menuHover .menu-item .recemInstaladas {
    background-image: url(assets/marker-antenas-recem-instaladas-off.png);
}

#app-root .header .menuHover .menu-item .recemInstaladas.on {
    background-image: url(assets/marker-antenas-recem-instaladas.png);
}

#app-root .header .menuHover .menu-item .planejadas {
    background-image: url(assets/maker-antena-planejadas-off.png);
}

#app-root .header .menuHover .menu-item .planejadas.on {
    background-image: url(assets/maker-antena-planejadas.png);
}

#app-root .header .menuHover .menu-item .camadaOff {
    position: absolute;
    width: calc(100% - 68px);
    height: 100%;
    top: 0;
    left: 68px;
    z-index: -1;
    background-color: #d7d7d7;
}

#app-root .header .menuHover .menu-item .check-box {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#app-root .header #textoHeader {
    font-size: 10px;
    color: #9e9e9e;
    display: table-cell;
    padding-top: 7px;
    line-height: 13px;
    text-align: justify;
}

#app-root .content {
    width: 100%;
    height: calc(100% - 76px);
    position: relative;
}

#app-root .content .map-instance {
    position: absolute;
    width: 100%;
    height: calc(100% - 17px);
}

#app-root .content .map-instance.esri-view .esri-view-surface--inset-outline:focus::after {
    content: none;
}

#app-root .content .map-instance.esri-view .esri-popup__footer .esri-popup__navigation {
    display: none !important;
}

#app-root .content .legend-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 0;
    height: 50px;
    background: #222;
}

#app-root .content .legend-container .legend-content {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 50px;
    box-sizing: border-box;
}

#app-root .content .legend-container .legendaBottom {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 84px;
}

#app-root .content .legend-container .legendaBottom .text {
    z-index: 1;
    font-size: 10px;
    width: 1180px;
    color: #707070 !important;
    margin: 4px auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#app-root .content .legend-container .theme {
    margin-bottom: 10px;
    position: absolute;
    bottom: 100%;
    right: 10px;
}

#app-root .content .legend-container .theme .toggle {
    transition: 0.15s ease-in-out;
    transition-property: background;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
    border-radius: 30px;
    align-items: center;
    flex-flow: column;
    display: flex;
    height: 30px;
    width: 60px;
}

#app-root .content .legend-container .theme .toggle .name {
    font-size: 12px;
    display: block;
}

#app-root .content .legend-container .theme .toggle.dark {
    background: #262626;
}

#app-root .content .legend-container .theme .toggle.dark .name::before {
    color: white;
    content: "DARK";
}

#app-root .content .legend-container .theme .toggle:not(.dark) {
    background: #f2f2f2;
}

#app-root .content .legend-container .theme .toggle:not(.dark) .name::before {
    color: black;
    content: "LIGHT";
}

#app-root .search-container-initial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(76, 80, 85, 0.9);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

#app-root .search-container-initial .search-content .label {
    font-weight: normal;
    font-size: 17px;
    color: white !important;
    text-align: center;
}

#app-root .search-container-initial .search-content .search-box {
    width: 312px;
    margin-top: 10px;
    color: black;
    border: 0;
}

#app-root .esri-widget {
    background-color: #fff;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    #app-root .header {
        margin: 0 auto;
        position: relative !important;
        height: 76px;
    }
}

#app-root .esri-search__input {
    display: block;
    width: 100%;
    margin: 0;
    border: none;
    box-shadow: none;
    font-family: revert;
    font-weight: 500;
    letter-spacing: 0.5px;
    outline: none;
    height: 40px;
    width: 280px;
}

#app-root .esri-search__sources-button {
    border-radius: 6px 0 0 6px;
    outline: none;
    border: none;
    height: 40px;
    width: 40px;
}

#app-root .esri-search__submit-button {
    border: none;
    border-radius: 0 6px 6px 0;
    outline: none;
    position: relative;
    height: 40px;
    width: 40px;
}

#app-root .esri-search__clear-button {
    height: 40px;
    outline: none;
}

#app-root .esri-widget--button:hover {
    background-color: #fff;
}

.div-label {
    margin-left: 10px;
}

.icon-up {
    cursor: pointer;
    transform: rotate(180deg);
}

.container-seta {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.informacoes-click>label {
    cursor: pointer;
}

.informacoes {
    width: 100%;
    position: relative;
    background-color: #222;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    letter-spacing: 0.7px;
    font-family: sans-serif;
    transition-delay: 500ms;
}

.box {
    width: 20px;
    height: 20px;
    border: 1px solid white;
    border-radius: 5px;
}

.color-blue {
    background-color: #62a0d8;
}

.color-aqua {
    background-color: #b8e3ec;
}

.color-white {
    background-color: white;
}

img.imagem-legenda {
    width: 25px;
    height: 25px;
}

.informacoes-click {
    cursor: pointer;
}

label.label-legenda {
    margin-left: 10px;
    color: #fff !important;
    text-transform: capitalize !important;
    font-size: 12px !important;
    font-weight: 500;
}

.container-legenda {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    height: 100%;
    box-sizing: border-box;
}

#btMenuHover {
    width: 150px;
    padding: 10px;
    height: 40px;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#btMenuHover::before {
    content: "";
    position: absolute;
    border-right: 1px solid #8e8e8e;
    width: 1px;
    height: 60%;
    left: 0;
    top: 20%;
}

.label-tipo-antena {
    width: 100%;
    text-align: center;
    font-family: arial !important;
    cursor: pointer !important;
    color: black !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.options {
    display: flex;
    align-items: center;
    padding: 10px 10px 0px 10px;
}

.select-link {
    background-color: #e4e4e4;
    flex: 1;
    justify-content: center;
    flex-direction: column;
    display: flex;
}

.tipo-antena {
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.table-filtro>tbody {
    width: 100%;
}

.table-filtro>tbody>tr {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.table-filtro>tbody>tr>td:nth-child(1) {
    width: 40%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.table-filtro>tbody>tr>td:nth-child(2) {
    width: 40%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.table-filtro>tbody>tr>td:nth-child(3) {
    width: 20%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.header-content {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.radio {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
}

.radio-button {
    height: 76px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 15px;
}

.table-filtro {
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: absolute;
    border: none;
    display: flex;
    flex: 1;
    align-items: center;
    box-sizing: border-box;
}

.search-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 1000px) {
    .search-container-initial {
        height: 863px !important;
    }

    .header {
        height: 200px !important;
    }

    .table-filtro>tbody>tr {
        flex-direction: column;
    }

    .table-filtro>tbody>tr>td:nth-child(1) {
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
    }

    .table-filtro>tbody>tr>td:nth-child(2) {
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
    }

    .table-filtro>tbody>tr>td:nth-child(3) {
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
    }

    #btMenuHover {
        width: 100%;
    }

    .label-tipo-antena {
        text-align: left;
        margin-left: 25px;
    }

    .menuHover {
        width: 100% !important;
        top: 70px !important;
    }

    .legend-container {
        bottom: -260px !important;
        height: 305px !important;
    }

    .legend-content {
        flex-direction: column;
        align-items: flex-start !important;
    }

    #btMenuHover::before {
        border-right: 1px solid transparent !important;
    }
}

@media only screen and (max-width: 768px) {
    .search-content {
        margin-top: -130px !important;
    }
}

@media only screen and (max-width: 440px) {
    .table-filtro>tbody>tr>td:nth-child(2) {
        margin-top: 5px;
        display: block !important;
    }

    .radio {
        padding: 0 30px 0 0;
    }

    .div-label {
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
    }

    .radio-button {
        height: auto;
        min-height: 50px;
        display: flex;
        justify-content: end;
        align-items: center;
        position: relative;
        padding: 0 0;
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 400px) {
    .search-container-initial {
        height: 1234px !important;
    }

    .esri-search__form {
        background-color: white !important;
    }

    .esri-search__container {
        padding: 0 10px !important;
        width: 100% !important;
    }

    .search-box {
        width: 100% !important;
    }

    .esri-search__input {
        width: 100% !important;
    }

    .search-content {
        margin-top: -350px !important;
    }
}

@media only screen and (max-width: 375px) {
    .search-container-initial {
        height: 1320px !important;
    }

    .search-content {
        margin-top: -700px !important;
    }
}

.container-type-site {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.container-img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.container-input {
    width: 40px;
    padding: 0 0 0 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

.icon-indicator {
    width: 32px;
    height: 39px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

/* Hide the browser's default checkbox */
.container-input input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    height: 25px;
    width: 25px;
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #757575;
    cursor: pointer;
}

/* On mouse-over, add a grey background color */
.container-input:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-input input:checked~.checkmark {
    background-color: #fff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-input input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-input .checkmark:after {
    left: 27px;
    top: 6px;
    width: 5px;
    height: 10px;
    border: solid #2196f3;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.icon-indicator {
    width: 28px;
    height: 32px;
    vertical-align: middle;
}

.ativas {
    background-image: url(assets/marker-antenas-ativas-off.png);
}

.ativas.on {
    background-image: url(assets/marker-antenas-ativas.png);
}

.recemInstaladas {
    background-image: url(assets/marker-antenas-recem-instaladas-off.png);
}

.recemInstaladas.on {
    background-image: url(assets/marker-antenas-recem-instaladas.png);
}

.planejadas {
    background-image: url(assets/maker-antena-planejadas-off.png);
}

.planejadas.on {
    background-image: url(assets/maker-antena-planejadas.png);
}