/**
 * Plugin Styles
 *
 * Created     February 12, 2019
 * 
 * @package    Unfunded Maps
 * @author     Kevin Carwile
 * @since      0.0.0
 */
.flex-container {
    display: flex;
}
.flex-direction-column {
    flex-direction: column;
}
.flex-centered {
    align-items: center;
    justify-content: center;
}
.flex-item {
    flex: 1;
}

#rf-map-layer-select-container {
    margin-bottom: 20px;
}

#rf-map-chart-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 999;
    display: flex;
}
#rf-map-chart-container {
    position: relative;
    width: 60vw;
    height: 60vh;
}
#rf-map-chart {
    width: 100%;
    height: 60vh;
    background-color: white;
}

#rf-map-search-container {
    margin-top: 20px;
}
#rf-map-search-results-table th,
#rf-map-search-results-table td {
    text-align: left;
}
.rf-map-search-result-entry {
    cursor: pointer;
}
.rf-map-search-result-entry:hover td {
    color: blue;
}

#rf-map-search-result-none {
    visibility: hidden;
}

#rf-map-loading {
    width: 64px;
    height: 64px;
    margin: 40px auto;
    background: url('../img/atom-loader.png');
}

@media screen and (max-width: 1980px){
    #rf-map-chart-container {
        width: 70vw;
    }
}
@media screen and (max-width: 1200px){
    #rf-map-chart-container {
        width: 80vw;
    }
}
@media screen and (max-width: 768px){
    #rf-map-chart-container {
        width: 95vw;
    }
}
@media screen and ( max-width: 400px ) {
    #rf-map-chart-container {
        height: 90vh;
    }
    #rf-map-chart-container > .flex-container {
        justify-content: flex-start;
    }
    #rf-map-chart-container #rf-map-chart {
        height: 90vh;
    }
}
@media screen and ( max-height: 400px ) {
    #rf-map-chart-container {
        height: 90vh;
    }
    #rf-map-chart-container > .flex-container {
        justify-content: flex-start;
    }
    #rf-map-chart-container #rf-map-chart {
        height: 90vh;
    }
}

/* Map styling */
.gm-style-mtc span[role=checkbox] img {
    position: relative;
}
.gm-style-mtc label {
    border: none;
    display: inline;
    max-width: none !important;
    vertical-align: auto;
}

/* Chart styling */
.mwp-bootstrap .nav-tabs > li > a {
    font-size: 16px;
    font-weight: 400;
}

.mwp-bootstrap .nav > li > a {
    padding: 5px 5px;
}
