.x-btn-default-toolbar-small {

    background-color: #3EAD70 !important;
}

.x-btn-pressed {
    color: red !important;
}

.x-grid-item-selected {
    color: #8304a2 !important;
    /* background-color: #000000; */
}


.view-color-green {
    background-color: rgba(153, 210, 240, 1.0);
}

.view-color-yellow {
    background-color: rgba(244, 237, 204, 1.0);
}

.view-color-red {
    background-color: rgba(244, 117, 123, 1.0);
}

.view-item-disabled {
    opacity: 0.5;
}

.toolbar-header-style {
    background-color: #5fa2dd !important;
}

body.x-border-layout-ct,
div.x-border-layout-ct {
    background-color: #bbbbbb !important;
}

.notifytest {
    background-color: #5fa2dd !important;
}

.x-fieldset {
    overflow: visible !important;
    /* workaround for Safari issue */
}

#attribution {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: x-small;
}

#spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 50%;
    border-top: 6px solid #5fa2dd;
    border-right: 6px solid transparent;
    animation: spinner .6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* InfoBox (popup) */
#popup {
    display: none;
    background: #06376A !important;
    color: #ffffff !important;
    font-size: 10pt !important;
    /*padding: 10px !important;*/
    width: max-content;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;

    opacity: 0.9;
    -khtml-opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}


.ol-popup {
    position: absolute;
    background-color: #FFF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}

.ol-popup-replay {

    position: absolute;
    background-color: #FFF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 180px;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: #06376A;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}


.ol-popup-replay:after,
.ol-popup-replay:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup-replay:after {
    border-top-color: #fff;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup-replay:before {
    border-top-color: #fff;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "X";
    color: rgb(255, 255, 255) !important;
}

/**Cambio de colores interfaz**/

.toolbar-header-style {
    background-color: #31507E !important;
    background-image: none !important;

}

.x-panel-header-default {
    background-color: #31507E !important;
    border: 1px solid #31507E !important;
    background-image: none !important;
}

.x-window-header-default-top {
    background-color: #31507E !important;
    background-image: none !important;
}



.x-btn-icon-el-default-small {

    color: #f1f1f1 !important;

}

.x-btn-icon-el-default-toolbar-small {
    color: #000000 !important;
}

.x-window-default {
    border-color: #31507E !important;

}

.x-window-header-default {
    border-color: #31507E !important;
    background-image: none !important;
}

.x-window-header-default .x-tool-img {
    background-color: #5fa2dd00 !important;
}


.x-boundlist-selected {
    background: #31507E !important;
    border-color: #31507E !important;
}

.x-boundlist-item-over {
    background: #4c6ea1 !important;
    border-color: #4c6ea1 !important;
}

.x-menu-item-default-focus {
    background: #31507E !important;
    border-color: #31507E !important;
}

.x-panel-header-default .x-tool-tool-el {
    background-color: #dd5f7c00 !important;
}

.x-panel-header-title-default {
    font-size: 11px;
    font-weight: bold;
    font-family: tahoma, arial, verdana, sans-serif;
    line-height: 15px;
    color: snow !important;
}

.x-window-header-title-default>.x-title-text-default {
    padding: 0 2px 1px;
    text-transform: none;
    color: snow !important;
}

.ol-control button {
    color: #fff !important;
    background-color: #31507E !important;
}

.ol-control button:focus {
    background-color: #6A90B6 !important;
}

/*colores botones popup*/

.boton-apagado {
    background-color: #fd0000 !important;
    border-radius: 7px !important;
}

.boton-reactivar {
    background-color: #8daadd !important;
    border-radius: 7px !important;
}

.boton-vista-calle {
    background-color: #ffc001 !important;
    border-radius: 7px !important;
}

.boton-ver-mapa {
    /*
    background-image: url(maps_opt.jpeg) !important;
    background-repeat: no-repeat;
    border-radius: 7px !important;
    */
    width: 45px !important;
    height: 45px !important;
}

.boton-reporte-ruta {
    opacity: 1;
    background-color: #b36df9 !important;
    border-radius: 7px !important;
}

.link-google-maps {
    text-decoration: none !important;
    /*color:#00b34e !important;*/
}

.swal-overlay {
    z-index: 100000000000 !important;
}

.back-image {

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.contacto {
    z-index: 9999;
    position: fixed;

}

.modal-cobertura {    
    width: 100%;
}

@media (min-width:300px) and (max-width:699px) {
    .back-image {
        background: url('images/background/backM.png') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    .contacto {
        left: 2vw;
        top: 93%;
    }

    .modal-cobertura {
        height: 50%;
    }
}

@media (min-width:700px) {
    .back-image {
        background: url('images/background/back.png') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        font-size: 1.2vmax;
    }

    .contacto {
        top: 94vh;
        left: 6vw;
    }

    .modal-cobertura {
        height: 93%;
    }
}

@media screen and (max-width:480px) {
    body {
        font-size: 80%;
    }
}

.iconDetails {
    margin-left: 2%;
    float: left;
    height: 40px;
    width: 40px;
}

.container2 {
    width: 100%;
    height: auto;
    padding: 1%;
}

/*play*/
.play-extent {
    position: absolute;
    top: 65px;
    left: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 2px;
    margin: auto;

}

.play-extent a {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 20px;
    width: 20px;
    line-height: 19px;
    background: rgba(0, 60, 136, 0.5);

}

.play-extent a:hover {
    background: rgba(0, 60, 136, 0.7);
}

.play-to {
    border-radius: 2px 2px 0 0;
}

.play-to:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 300;
    content: "\25b6";

}

/*stop*/
.stop-extent {
    position: absolute;
    top: 85px;
    left: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 2px;
    margin: auto;

}

.stop-extent a {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 20px;
    width: 20px;
    line-height: 19px;
    background: rgba(0, 60, 136, 0.5);

}

.stop-extent a:hover {
    background: rgba(0, 60, 136, 0.7);
}

.stop-to {
    border-radius: 2px 2px 0 0;
}

.stop-to:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 300;
    content: "\23f9";

}

/*faster*/
.fast-extent {
    position: absolute;
    top: 105px;
    left: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 2px;
    margin: auto;

}

.fast-extent a {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 20px;
    width: 20px;
    line-height: 19px;
    background: rgba(0, 60, 136, 0.5);

}

.fast-extent a:hover {
    background: rgba(0, 60, 136, 0.7);
}

.fast-to {
    border-radius: 2px 2px 0 0;
}

.fast-to:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 300;
    content: "\23ed";

}

/*slower*/
.slow-extent {
    position: absolute;
    top: 125px;
    left: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 2px;
    margin: auto;

}

.slow-extent a {
    display: block;
    margin: 1px;
    padding: 0;
    color: white;
    font-size: 16px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 20px;
    width: 20px;
    line-height: 19px;
    background: rgba(0, 60, 136, 0.5);

}

.slow-extent a:hover {
    background: rgba(0, 60, 136, 0.7);
}

.slow-to {
    border-radius: 2px 2px 0 0;
}

.slow-to:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 300;
    content: "\23ee";

}