﻿/*@media (min-width: 768px) {
    .sidebar {
        width: 18rem !important;
    }
}

@media (min-width: 768px) {*/
.sidebar {
    width: 18rem !important;
    min-height: calc(100vh - 4.375rem) !important;
}

.form-control:focus {
    box-shadow: none;
}
/*}*/
div.ui-helper-hidden-accessible {
    display: none !important;
}

.ui-autocomplete {
    overflow: auto;
    padding-left: 10px;
    padding-right: 1rem;
    font-size: 0.85rem;
    color: #858796;
    text-align: left;
    list-style: none;
    background-color: #f3f3fb;
    background-clip: padding-box;
    border: 1px solid #e3e6f0;
    /*border-radius: 0.35rem;*/
    max-height: 400px;
    z-index: 99999;
}

    .ui-autocomplete li {
        cursor: pointer;
    }
    /* width */
    #dropdownUnidades::-webkit-scrollbar,
    .ui-autocomplete::-webkit-scrollbar {
        width: 5px;
        border: solid 10px transparent;
    }

    /* Track */
    #dropdownUnidades::-webkit-scrollbar-track,
    .ui-autocomplete::-webkit-scrollbar-track {
        /*box-shadow: inset 0 0 5px grey;*/
        border-radius: 10px;
        border: solid 10px transparent;
    }

    /* Handle */
    #dropdownUnidades::-webkit-scrollbar-thumb,
    .ui-autocomplete::-webkit-scrollbar-thumb {
        background: #4d4f64;
        border-radius: 4px;
    }


.autocompleteicon {
    float: right;
}

    .autocompleteicon:hover {
        color: #ffb400;
    }


/*.ui-menu-item {
    border-bottom: 1px solid #abaec8;
    padding-top: 15px;
    padding-bottom: 15px; 
}*/
.logo {
    background-image: url(../../logo_barra_superior_v2.png);
    background-size: 240px;
    background-position-y: center;
    background-repeat: no-repeat;
    width: auto;
    height: 100%;
}

.logoMobile {
    background-image: url(../../logo_barra_superior_mobile.png);
    background-position-y: center;
    background-repeat: no-repeat;
    width: auto;
    height: 100%;
}

.bg-branco {
    background-color: #fff;
}

.bg-cinza {
    background-color: #4d4f64 !important;
}

.bg-cinza-claro {
    background-color: #f3f3fb !important;
}

.color-cinza {
    color: #d1d3e2 !important;
}

.color-amarelo {
    color: #ffb400 !important;
}

.color-roxo {
    color: #1F2154 !important;
}

.color-light {
    color: #d1d3e2 !important;
}

.color-branco {
    color: #fff !important;
}

.bg-roxo {
    background-color: #1F2154;
}

.bg-amarelo {
    background-color: #ffb400;
}

.sidebar.toggled {
    width: 14rem !important;
}

#top-navbar {
    background-color: #1F2154;
}

#dropdownUnidades {
    overflow: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

    #dropdownUnidades li a, #dropdownUnidades li a:active, #dropdownUnidades li a:visited {
        color: #858796;
        text-decoration: none;
    }

        #dropdownUnidades li a:hover {
            font-weight: 400;
        }

.arrow-toggle-sidemenu {
    width: 15px;
    height: 30px;
    background-image: url('../../aba_sidemenu.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 18rem;
    top: 135px;
    cursor: pointer;
    z-index: 9;
    color: #fff;
    line-height: 30px;
    text-align: left;
}

#sidebarToggleTop {
    transition: all 0.3s ease;
}

    #sidebarToggleTop.toggled {
        left: 0px;
        text-align: center;
    }

#accordionSidebar {
    position: absolute;
    height: 90%;
    clear: none;
    left: 0;
    /*margin-left: 14rem;*/
    overflow: hidden;
    z-index: 9;
    transition: all 0.3s ease;
}

    #accordionSidebar.toggled {
        left: -14rem !important;
    }

    #accordionSidebar .bandeira {
        width: 100%;
        height: 25px;
        background-position-x: center;
        background-size: auto;
        background-repeat: no-repeat;
    }

    #accordionSidebar .img-rota {
        background-image: url('../../img-rota-sidemenu.jpg');
        background-position-x: center;
        background-position-y: center;
        background-repeat: no-repeat;
    }

    #accordionSidebar .img-navio {
        background-size: cover;
        background-position: center;
        border-bottom: 3px solid #ffb400;
        width: 100%;
        height: 160px;
        background-image: url('../../barco.png');
    }

.tabela-informacoes-dinamicas div {
    font-size: 0.8rem;
}

.tabela-informacoes-dinamicas .label {
    color: #777;
}

.tabela-informacoes-dinamicas .valor {
    color: #333;
}

.content {
    transition: all 0.3s ease;
    background: lightblue;
    height: calc(100vh - 4.375rem);
    overflow: hidden;
}

#main-container-fluid.toggled .content {
    margin-left: 0px;
}

.container, .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#form-search input {
    /*border-radius: 1rem !important;*/
    padding-left: 35px;
    padding-right: 35px;
}

.button-submit-search {
    background: none !important;
    border: none;
    color: #ffb400;
    position: relative;
    left: 30px;
    z-index: 9999;
    cursor: pointer;
}

.button-clear-search {
    background: none !important;
    border: none;
    color: #d1d3e2;
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 9999;
    cursor: pointer;
}

#top-navbar ul li i {
    color: #ffb400;
}

#ship-details {
    border-radius: 0.4rem;
    margin: 0rem 1rem 2rem 1rem;
    width: 16rem;
    background-color: #fff;
    overflow: hidden;
}

    #ship-details .cidade {
        font-size: 0.9rem;
    }

    #ship-details .codigo-cidade {
        font-size: 1.5rem;
    }

    #ship-details .hora {
        font-size: 0.8rem;
    }

    #ship-details .ultima-posicao {
        font-size: 0.8rem;
        width: 100%;
    }

    #ship-details .slider > div {
        height: 8px;
        border-radius: 8px;
    }

        #ship-details .slider > div.bg-amarelo {
            height: 8px;
            position: relative;
            top: -8px;
        }

    #ship-details .highlight {
        font-size: 1rem;
        font-weight: bold;
    }

    #ship-details .tabela-informacoes-dinamicas {
        width: 100%;
    }

        #ship-details .tabela-informacoes-dinamicas .d-table-row {
            border-bottom: 1px solid #d1d3e2;
        }

        #ship-details .tabela-informacoes-dinamicas > div.d-table-row:nth-last-of-type(1) {
            border-bottom: none;
        }

#eta {
    width: 16rem;
    overflow: hidden;
    transition: all 1s;
    position: absolute;
    width: 100%;
    height: 24px;
    top: 90%;
    overflow: hidden;
}

    #eta.toggled {
        height: 100%;
        top: 0;
    }



/*#vaipraonde {
    width: 16rem;
    overflow: hidden;
    transition: all 1s;*/
/*position: absolute;*/
/*width: 100%;
    height: 24px;
    top: 90%;
    overflow: hidden;
}

    #vaipraonde.toggled {
        height: 100%;
        top: 0;
    }*/


/*#eta select {*/
select, input[type=text], input[type=number],
div.color-wrapper {
    width: 100%;
    border: 1px solid #f3f3fb;
    border-radius: 8px;
    /*padding: 0.5rem;*/
    padding: 2px;
    font-size: 0.88rem;
    color: #777777;
    -webkit-box-shadow: -4px 5px 15px -8px rgba(0,0,0,0.75);
    -moz-box-shadow: -4px 5px 15px -8px rgba(0,0,0,0.75);
    box-shadow: -4px 5px 15px -8px rgba(0,0,0,0.75);
    height: 30px;
}

div.color-wrapper {
    overflow: hidden;
    background-color: #fff;
    /*width: 3.5rem;*/
    width: 50px;
}

    div.color-wrapper:after {
        content: ' \25BE';
        font-size: 18px;
        position: relative;
        left: 5px;
    }

input[type="color"] {
    -webkit-appearance: none;
    border: none;
    /*width: 1.4rem;
    height: 1.4rem;*/
    width: 20px;
    height: 12px;
    float: left;
}

    input[type="color"]::-webkit-color-swatch-wrapper {
        padding: 0;
    }

    input[type="color"]::-webkit-color-swatch {
        border: none;
    }

.eta-toggle-button {
    cursor: pointer;
}

.vaipraonde-toggle-button {
    cursor: pointer;
}

.btn-controleSelecionado {
    background-color: #1f2154 !important;
    background-image: url('../../ico_geofenceLaranja.png') !important;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-playbackSelecionado {
    background-color: #1f2154 !important;
    background-image: url('../../ico_playbackLaranja.png') !important;
    background-position: center;
    background-repeat: no-repeat;
}

.btn-windySelecionado {
    background-color: #1f2154 !important;
    background-image: #ffb400 !important; /*url('../../ico_playbackLaranja.png') !important;*/
    image background-position: center;
    background-repeat: no-repeat;
}

.btn-referenciaSelecionada {
    background-color: #1f2154 !important;
}

.backgroundBtnSelecionado {
    background-color: #1f2154 !important;
    color: #ffb400 !important;
}

/*.btn-playbackSelecionado {
    background-color: #1f2154 !important;
}*/

.fa-starColor {
    color: #ffb400 !important;
}

#btn-controle-wrap-mapa-aberto {
    position: absolute;
    z-index: 9;
    right: 18px;
    top: 140px;
    width: 40px;
}

    #btn-controle-wrap-mapa-aberto .btn-controle {
        width: 40px;
        height: 40px;
        color: #4d4f64;
        background-color: #fff;
        text-align: center;
        border: none;
        border-radius: 7px;
        margin-bottom: 10px;
    }

#btn-controle-wrap {
    position: absolute;
    z-index: 9;
    right: 18px;
    top: 80px;
    width: 40px;
}

    #btn-controle-wrap .btn-controle {
        width: 40px;
        height: 40px;
        color: #4d4f64;
        background-color: #fff;
        text-align: center;
        border: none;
        border-radius: 7px;
        margin-bottom: 10px;
    }

        #btn-controle-wrap .btn-controle.geofences {
            background-image: url('../../ico_geofence.png');
            background-position: center;
            background-repeat: no-repeat;
        }

    #btn-controle-wrap > div {
        position: relative;
    }

    #btn-controle-wrap .btn-controle.playback {
        background-image: url('../../ico_playback.png');
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.4 !important;
    }

.modal-custom {
    background-color: #f3f3fb;
    border-radius: 7px;
    padding: 1rem;
    transition: all 0.0s ease;
    display: none;
    position: absolute;
    right: 80px;
    width: 280px;
    opacity: 0.8;
}

    .modal-custom h4 {
        color: #1f2154;
        font-size: 1.25rem;
    }

    .modal-custom.toggled {
        display: block;
    }

#modal-filter {
    top: 100px;
}

#modal-playback {
    top: 80px;
    width: 298px;
}

#modal-layers {
    top: 138px;
    width: 298px;
}

#modal-geofences {
    top: 100px;
}

#modal-references {
    top: 100px;
}


#modal-settings {
    top: 100px;
}


#modalTodosAlertas {
    top: 100px;
}

.modal-custom .close {
    display: block;
    text-align: center;
    border-radius: 50%;
    height: 1.5rem;
    width: 1.5rem;
    line-height: 1.5rem;
    background-color: #fff;
    font-size: 0.75rem;
    top: -25px;
    right: -27px;
    opacity: 1;
    position: relative;
    cursor: pointer;
    color: #1f2154;
}

.modal-custom a.close:hover {
    opacity: 1 !important;
}

.btn-crud button {
    background-color: #ffb400;
    color: #fff;
    border-radius: 7px;
    border: none;
}

#valor-opacidade-cerca,
#valor-opacidade-borda {
    /*padding-right: 15px;*/
}

.fonteSize {
    font-size: 14px;
}




/*switch*/


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

    /* Hide default HTML checkbox */
    .switch input {
        display: none;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    height: 30px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input.default:checked + .slider {
    background-color: #444;
}

input.primary:checked + .slider {
    background-color: #2196F3;
}

input.success:checked + .slider {
    background-color: #8bc34a;
}

input.info:checked + .slider {
    background-color: #3de0f5;
}

input.warning:checked + .slider {
    background-color: #FFC107;
}

input.danger:checked + .slider {
    background-color: #f44336;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/*switch*/


.btn-addTipoFiltro:hover {
    color: #ffb400;
}


.searchMobile {
    width: 100px;
}

.searchDesktop {
    width: 100px;
}



#windy {
    width: 100%;
    height: 300px;
}

#dataRastroInicio {
    font-size: 14.1px;
}

#dataRastroFim {
    font-size: 14.1px;
}


.addmapagoogle {
    width: 100%;
}

.labels {
    background-color: #000;
    color: #fff;
}

.gm-style {
    overflow: visible;
    color: rgba(0,0,0,0.75);
}


    .gm-style .gm-style-iw {
        background: transparent;
        overflow: visible;
    }

.gm-style-iw {
    overflow: hidden !important;
    line-height: 1.35;
    white-space: nowrap;
}

.iw-content {
    overflow: visible;
    font-weight: 700;
}

.iw-subTitle {
    overflow: visible;
}

.gm-style {
    overflow: visible;
}

    .gm-style .gm-style-iw-c {
        position: absolute;
        box-sizing: border-box;
        overflow: hidden;
        top: 30px;
        left: 0;
        transform: translate(-50%,-100%);
        border-radius: 8px;
        padding: 12px;
        background: transparent;
        display: contents;
    }

.gm-style-iw-t::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%,0);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    /* border-top: 12px solid rgba(0,0,0,0.15); */
    background: transparent !important;
    background-color: transparent !important;
    display: contents !important;
}

.gm-style .gm-style-iw-t::after {
    position: initial;
}


gm-style .gm-style-iw-t {
    position: absolute;
    width: 100%;
    top: -30px;
}

.gm-style-iw-d {
    overflow: visible;
}


.gm-style .gm-style-iw-d {
    box-sizing: border-box;
    overflow: visible;
    font-size: initial;
    overflow: hidden !important;
    line-height: 1.35;
    white-space: nowrap;
    background-color: transparent;
    width: max-content;
}

.load {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 40%;
    left: 45%;
    color: #1F2154;
}

.loading-gif {
    position: fixed;
    top: 40%;
    left: 45%;
    z-index: 1051;
    color: #1F2154;
}
