.mapdiv{
    width:100%;
    margin: auto;
    filter: drop-shadow(7px 13px 10px black);
}

.mapdiv path {
    fill: #607d8b;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}

.generic {
    fill: #491053 !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}

.mapDistrictList {
    color: white;
    font-size: medium;
    font-weight: bold;
}

.district-list {
    color: white;
}

.district-list:hover {
    color: #97999f;
}

.mapDistrictsList:hover {
    color: #97999f;
}


.selectedDistrict {
    fill: #cc14de !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}

.mapdiv :hover {
    fill:#000 !important;
}

.anuradhapura {
   fill: #bc2d2d !important;
   stroke: #ffffff;
  stroke-width:4px;
   transition: fill 0.3s;
}
.colombo {
    fill: #bc2d2d !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.gampaha {
    fill: #b046aa !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.kaluthara {
    fill: #3659b4 !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.galle {
    fill: #0baec1 !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.matara {
    fill: #41ad12 !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.hambantota {
    fill: #ea6aa1 !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.puttalam {
    fill: #0baec1 !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.kurunegala {
    fill: #d98707 !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.kegalle {
    fill: #16795c !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.ratnapura {
    fill: #8d8787    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.kandy {
    fill: #d7c70f    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.matale {
    fill: #16795c    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.nuwara-eliya {
    fill: #fa5e5e    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.badulla {
    fill: #3759b4    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.moneragala {
    fill: #cabc1e    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.trincomalee {
    fill: #3659b4    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.batticaloa {
    fill: #0baec1    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.jaffna {
    fill: #ffaf03    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.polonnaruwa {
    fill: #ea6aa1    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.ampara {
    fill: #42a119    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}
.vanni {
    fill: #42a119    !important;
    stroke: #ffffff;
    stroke-width:4px;
    transition: fill 0.3s;
}

.arrow1 {
    animation: slide1 1s ease-in-out infinite;
    margin-right: 13px;
}

@keyframes slide1 {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 0);
    }
}

@media only screen and (max-device-width: 2000px) {
    .search-box {
        -moz-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        padding-right: 15px;
        position: absolute;
        z-index: 1;
        top: -45px;
        margin-left: -260px;
        width: 310px;
    }

    .mapDistrictContainer{
        top: -42px !important;
        padding-left: -10px !important;
        padding-top: 10px !important;
        width: 20%;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .desktop-map-caption {
        display: block;
        color: black;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }

    .mobile-map-caption {
        display: none;
    }
}

@media only screen and (max-device-width: 1024px) {
    .search-box {
        -moz-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        padding-right: 15px;
        position: absolute;
        z-index: 1;
        top: -46px;
        margin-left: -260px;
        width: 320px;
    }

    .mapDistrictContainer{
        top: -30px !important;
        right: 20px !important;
        padding-left: -10px !important;
        padding-top: 10px !important;
        width: 20%;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .desktop-map-caption {
        display: block;
        color: black;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }

    .mobile-map-caption {
        display: none;
    }
}
@media only screen and (max-device-width: 768px) {
    .search-box {
        -moz-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        padding-right: 15px;
        position: absolute;
        z-index: 1;
        top: 150px;
        margin-left: -380px;
        width: 415px;
    }
    .mapDistrictContainer{
        left: 52px;
        top: 151px !important;
        padding-left: 4px;
        padding-top: 10px !important;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .desktop-map-caption {
        display: none;
        color: black;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }

    .mobile-map-caption {
        display: block;
        color: white;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }
}

@media only screen and (max-device-width: 600px) {
    .search-box {
        -moz-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        padding-right: 15px;
        position: absolute;
        z-index: 1;
        top: 0px;
        margin-left: 50px;
        width: 380px;
    }

    .mapDistrictContainer{
        top: 20px !important;
        padding-left: 4px;
        padding-top: 10px !important;
        width: 73% !important;
        padding-bottom: 10px;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .sliderVisibility {
        display: none;
    }

    .desktop-map-caption {
        display: none;
        color: black;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }

    .mobile-map-caption {
        display: block;
        color: white;
        margin-left: 160px;
        font-size: 19px;
        margin-top: 18px;
        margin-bottom: -86px;
        text-align: right;
    }
}

@media only screen and (max-device-width: 480px) {
    .search-box {
        -moz-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        padding-right: 15px;
        position: absolute;
        z-index: 1;
        top: 0px;
        margin-left: 10px;
        width: 380px;
    }

    .mapDistrictContainer{
        top: 20px !important;
        padding-left: 4px;
        padding-top: 10px !important;
        width: 73% !important;
        padding-bottom: 10px;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .sliderVisibility {
        display: none;
    }

}

@media only screen and (max-device-width: 414px) {
    .search-box {
        -moz-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        padding-right: 15px;
        position: absolute;
        z-index: 1;
        top: 13px;
        margin-left: 2px;
        width: 380px;
    }

    .mapDistrictContainer{
        top: 20px !important;
        padding-left: 4px;
        padding-top: 10px !important;
        width: 73% !important;
        padding-bottom: 10px;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .sliderVisibility {
        display: none;
    }

    .desktop-map-caption {
        display: none;
        color: black;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }

    .mobile-map-caption {
        display: block;
        color: white;
        margin-left: 140px;
        font-size: 19px;
        margin-top: -2px;
        margin-bottom: -70px;
        text-align: right;
    }
}

@media only screen and (max-device-width: 375px) {
    .search-box {
        -moz-transition: 0.4s;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
        opacity: 0;
        padding-right: 15px;
        position: absolute;
        width: 100%;
        z-index: 1;
        top: 10px;
    }
    .mapDistrictContainer{
        top: 20px !important;
        padding-left: 4px;
        padding-top: 10px !important;
        width: 73% !important;
        padding-bottom: 10px;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .sliderVisibility {
        display: none;
    }

    .desktop-map-caption {
        display: none;
        color: black;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }

    .mobile-map-caption {
        display: block;
        color: white;
        margin-left: 160px;
        font-size: 19px;
        margin-top: 18px;
        margin-bottom: -86px;
        text-align: right;
    }
}

@media only screen and (max-device-width: 360px) {
    .mapDistrictContainer{
        top: 20px !important;
        padding-left: 4px;
        padding-top: 10px !important;
        width: 73% !important;
        padding-bottom: 10px;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .sliderVisibility {
        display: none;
    }

    .desktop-map-caption {
        display: none;
        color: black;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }

    .mobile-map-caption {
        display: block;
        color: white;
        margin-left: 131px;
        font-size: 17px;
        margin-top: -8px;
        margin-bottom: -59px;
        text-align: right;
    }
}

@media only screen and (max-device-width: 320px) {
    .mapDistrictContainer{
        top: 20px !important;
        padding-left: 4px;
        padding-top: 10px !important;
        width: 73% !important;
        padding-bottom: 10px;
    }

    .districits-ei {
        background-color: rgba(0,0,0,0.4);
        width: max-content;
    }

    .sliderVisibility {
        display: none;
    }

    .desktop-map-caption {
        display: none;
        color: black;
        margin-left: 250px;
        font-size: 20px;
        margin-top: -8px;
        text-align: left;
    }

    .mobile-map-caption {
        display: block;
        color: white;
        margin-left: 131px;
        font-size: 17px;
        margin-top: -8px;
        margin-bottom: -59px;
        text-align: right;
    }
}


