﻿.dataTables_length {
    float: left !important;
}

.dataTables_filter {
    float: right !important;
}

.mapindiv {
    position: relative;
    /* top: 30px; */
    /*            right: 50px;*/
    /* padding: 18px; */
    height: 760px;
    overflow: auto;
}

.civilinfo-map {
    position: absolute;
    right: 0;
    top: -28px;
    left: 21px;
}

    .civilinfo-map img {
        width: 790px !important;
        height: 713px !important;
    }

.infod-district {
    min-height: 125px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.infod {
    margin-top: 25px !important;
    justify-content: center;
    align-items: center;
    display: flex;
}

.marker {
    position: absolute;
    width: 19px;
    height: 31px;
    transform: translate(-50%, -50%);
    background-size: 19px 27px;
    background-repeat: no-repeat;
    background-image: url(/content/images/location-pin.svg);
    animation: 0.5s ease 0s infinite alternate none running bounce;
    margin: auto;
    background-position: center center;
}

@keyframes bounce {
    from {
        transform: translate(-50%, -50%) translateY(0);
    }

    to {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

/*        .btnGovernance {
            padding: 5px !important;
            color: #fff !important;
        }
        .btnGovernance:hover {
            color: #fff !important;
            background: #018fa1 !important;
        }*/

.innerpagesection img:hover {
    transform: scale(1);
    transition: transform .2s;
}

.outtabl {
    background: #fff;
    width: 500px;
    padding: 10px;
    border-radius: 15px;
    border: 8px solid #ebe8e9;
    box-shadow: 0 0px 0px 10px #0d5b65d6, 0 0px 0px 20px #ffffff70;
}

.headtable {
    display: flow;
    width: 100%;
    clear: both;
    float: left;
    /* background: #fff; */
    padding: 0;
    border-radius: 8px;
}

    .headtable span {
        float: right;
        font-size: 18px;
        font-weight: 700;
        padding-right: 5px;
    }

    .headtable p {
        float: left;
        font-size: 20px;
        color: #000;
        font-weight: 500;
    }

.mapdate {
    position: relative;
    float: left;
    width: 100%;
    padding: 0;
    /* border: 1px solid #009e9c; */
    border-radius: 20px;
    background: #e4f8fb;
    margin-bottom: 5px;
    height: 42px;
}

    .mapdate span {
        position: relative;
        display: inline-block;
        float: right;
        background: #009e9c;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        border-radius: 18px;
        padding: 7px 16px;
        margin: 4px 5px 0 0;
        text-overflow: ellipsis;
        max-width: 58%;
        overflow: hidden;
        display: inline-block;
        white-space: nowrap;
    }

    .mapdate p {
        float: left;
        padding: 6px 0 0 15px;
        margin: 0;
        font-size: 14px;
        color: #000;
        font-weight: 500;
        text-overflow: ellipsis;
        max-width: 80%;
        overflow: hidden;
        display: inline-block;
        white-space: nowrap;
    }

        .mapdate p a {
            font-size: 14px;
            color: #000;
        }

/* Common Close Button Styling */
.btn-close-district, .btn-close-designation {
    position: absolute;
    border: none;
    background: #ff4d4d;
    color: white;
    font-size: 14px;
    width: 20px;
    height: 20px;
    line-height: 18px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.headtable-dist {
    display: flow;
    width: 100%;
    clear: both;
    float: left;
    /* background: #fff; */
    padding: 0;
    border-radius: 8px;
}

    .headtable-dist .mapdate-dist {
        position: relative;
        width: 100%;
        padding: 6px 10px 6px 10px;
        margin-bottom: 5px;
        background: #0d5b65;
        border-radius: 7px;
    }

        .headtable-dist .mapdate-dist span {
            position: relative;
            display: inline-block;
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            border-radius: 18px;
            padding: 2px 35px 2px 3px;
            margin: 1px 1px 0 0;
            overflow: hidden;
            display: inline-block;
            line-height: 1;
        }

/* Main Div Button: Top-Right */
.btn-close-district {
    top: -5px;
    left: -5px;
}

/* Span Button: Top-Left */
.btn-close-designation {
    top: 2px;
    right: 5px;
}

.itSearchBox .card-body {
    padding: 0;
}

.itSearchBox .card {
    background: none;
}

.mapdiv {
    background: url(/content/images/mapbg.png);
    background-size: 100% 100%;
}

.loading {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center; /* vertical */
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
