/*
 *  NOTE:
 *  The goal here is to make the custom control look exactly like the standard/other controls.
 *  Thus we have lots of magic numbers here which should not be changed/configurable.
 */

.tb-map-custom-control {
    background-color: white;
    padding: 0;
    position: absolute;
    cursor: pointer!important;
    user-select: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tb-map-custom-control--google {
    border: 0 none;
    margin: 10px;
    height: 40px;
    width: 40px;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
}

.tb-map-custom-control--leaflet {
    height: 34px;
    width: 34px;
}

.tb-map-custom-control__icon {
    top: 0;
}

.tb-map-custom-control--google .tb-map-custom-control__icon {
    color: #444;
    font-size: 21px;
}

.tb-map-custom-control--leaflet .tb-map-custom-control__icon {
    color: #222;
    font-size: 18px;
}

.tb-map-custom-control--google:hover .tb-map-custom-control__icon {
    color: #222;
}

.tb-map-custom-control--leaflet:hover {
    background-color: #f4f4f4;
}
