   body {
       background: #fff;
       font-size:12px;
   }

   .u {
       fill: white;
   }

   .form-check-inline .form-check-input {
    cursor: pointer;
}
   .tooltipblock {
       display: none;
       background-color: #fff;
       color: #333;
       padding: 5px 10px;
       box-shadow: 0px 0px 7px #CCCCCC;
       -webkit-box-shadow: 0px 0px 7px #CCCCCC;
       -moz-box-shadow: 0px 0px 7px #CCCCCC;
       margin-top: 15px;
       
	      z-index: 998;
   }
   .tooltipblock button{
        float: right;
        background: transparent;
        box-shadow: none;
        border: none;
        cursor: pointer;
        position: relative;
        right: 0;
   }
   .consituencyhead{
        color: #133b5a;
   }
   .tooltipblock p {
       margin-bottom: 0px;
   }
  
   .tooltipblock hr {
       margin-top: 5px;
       margin-bottom: 5px;
   }
.mainparty {
      cursor:pointer;
   }
.loader{
    background: url(../images/loader.gif);
    background-color: #000;
    background-position: center;
    background-repeat: no-repeat;
}
   /*path:hover { fill: transparent !important; opacity: 1!important;}*/
   #election-visual {
       background-color: #f5f5f5;
   }

   .fa-bars {
       background: transparent;
       font-size: 16px;
       height: 31px;
       width: 31px;
       line-height: 30px;
       text-align: center;
       border-radius: 100%;
       margin-right: 5px;
       color: #666;
   }

   #election-visual header {
       background-color: #133B5A;
       color: #fff;
   }
   /* .svg-container {
    display: inline-block;
    position: relative;
    width: 100%;
    padding-bottom: 100%; 
    vertical-align: top;
    overflow: hidden;
}
.svg-content-responsive {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 0;
} */
   #vizbody,
   #vizfooter {
       padding: 10px;
   }

   .pull-left {
       float: left;
   }

   .pull-right {
       float: right;
   }

   #vizfooter a {
       padding: 6px;
       font-size: 14px;
   }

   #b2014 {
       -webkit-border-top-left-radius: 5px;
       -webkit-border-bottom-left-radius: 5px;
       -moz-border-radius-topleft: 5px;
       -moz-border-radius-bottomleft: 5px;
       border-top-left-radius: 5px;
       border-bottom-left-radius: 5px;
       background-color: #133b5a;
       color: #fff;
   }

   #b2019 {
       -webkit-border-top-right-radius: 5px;
       -webkit-border-bottom-right-radius: 5px;
       -moz-border-radius-topright: 5px;
       -moz-border-radius-bottomright: 5px;
       border-top-right-radius: 5px;
       border-bottom-right-radius: 5px;
       background-color: #ccc;
       color: #333;
       margin-left: -2px;
   }



   .stateheading {
       font-size: 15px;
       margin-top: 10px;
   }
   .stateheading a{
        font-size: 16px;
        line-height: 22px;
        font-family: 'Fira Sans',sans-serif;
        font-weight: 600;
        color: #133b5a;
   }
   .mobiledrop {
       padding: 4px;
   }

   .table-responsive {
       display: table;
   }

   .table td,
   .table th {
       padding: 2px;
       vertical-align: top;
       border-top: none;
       font-size: 12px;
       padding-left: 0;
   }




   .tablechart tbody tr td:first-child:before {
       content: "";
       display: inline-block;
       width: 5px;
       height: 20px;
       margin-right: 5px;
   }



   .tablechart tbody tr:last-child {
       background: #000;
       color: #fff;
       font-weight: bold;
   }

   .tablechart tbody tr {
       text-align: center;
       color: #000;
       text-align: center;
       font-weight: bold;
       background: #f5f5f5;
       border-top: 1px solid #dee2e6;
   }

   thead tr {
       background: #566c7f;
       color: #fff;
       text-align: center;
   }

   thead tr th:first-child {
       padding-left: 10px;
       text-align: left;
   }

   .tablechart tbody tr td:first-child {
       text-align: left;
       align-items: center;
       display: flex;
   }

   .tablechart tbody tr:last-child td:first-child:before {
       content: none;
   }

   .tablechart tbody tr:last-child td:first-child {
       padding-left: 10px;
   }

   .table thead th {
       vertical-align: bottom;
       border-bottom: none;
       text-transform: capitalize;
   }

   .tablechart tbody tr.alliancelist td:first-child:before{
       content:none;
   }
   tr.alliancelist {
    display: none;
    position: absolute;
    width: 94%;
    max-width: 100%;

}

.alliancelist tbody tr:last-child{
    text-align: center;
    color: #000;
    text-align: center;
    font-weight: bold;
    background: #f5f5f5;
}


.chartview .aliancetable {
    z-index: 999999;
   }
   body {

       overflow-x: hidden;
   }

   .select2-search--dropdown .select2-search__field {
       padding: 3px;
       text-indent: 5px;
       background: #fff url(../images/select2.png) no-repeat 100% -22px;
       background: url(../images/select2.png) no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
       background: url(../images/select2.png) no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
       background: url(../images/select2.png) no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
       background: url(../images/select2.png) no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0
   }

   .select2-container {
       width: 100% !important;
       z-index: 999;
   }

   .select2-container:focus {
 outline: none;
}

.svg-container { 
	display: inline-block;
	position: relative;
	width: 100%;
	padding-bottom: 100%; 
	vertical-align: middle; 
	overflow: hidden; 
}

.svg-content-responsive { 
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
}

.form-control:focus {
    outline: 0;
    box-shadow: none;
    border-color: #ced4da;
}

   .select2-container--classic.select2-container--open .select2-dropdown {
    border-color: #aaaaaa;
}
.select2-container--classic.select2-container--open .select2-selection--single {
    border: 1px solid  #aaaaaa;
}
   .source{
       padding-right: 20px;
   }
   .lastupdated.sikkim {
    padding-top: 10px;
}
   .modal-dialog {

    pointer-events: auto;
}
   .yearselect a {
       background-color: #ccc;
       margin-left: -2px;
       padding: 6px;
       cursor: pointer;
       color: #000;
   }

   .yearselect a:hover {
       background-color: #133b5a;
       color: #fff !important;
   }

   .yearselect a.active {
       background-color: #133b5a;
       color: #fff;
   }

   .yearselect a:first-child {
       -webkit-border-top-left-radius: 5px;
       -webkit-border-bottom-left-radius: 5px;
       -moz-border-radius-topleft: 5px;
       -moz-border-radius-bottomleft: 5px;
       border-top-left-radius: 5px;
       border-bottom-left-radius: 5px;
   }

   .yearselect a:last-child {
       -webkit-border-top-right-radius: 5px;
       -webkit-border-bottom-right-radius: 5px;
       -moz-border-radius-topright: 5px;
       -moz-border-radius-bottomright: 5px;
       border-top-right-radius: 5px;
       border-bottom-right-radius: 5px;
   }

   .semi-piechart {
       position: relative;
       margin-left: -5px;
       margin-right: -5px;
   }

   .countwrap {
       position: absolute;
       top: 70%;
       left: 50%;
       transform: translate(-50%, -50%);
       font-size: 12px;
       font-weight: bold;
   }

   #overallwon {
       border-bottom: 2px solid;
       width: 40px;
       margin: 0 auto;
       text-align: center;
       display: inline-block;
   }

   #overallcount {
       width: 40px;
       margin: 0 auto;
       text-align: center;
       display: block;
   }

   .chartchoose {
       display: none;
       position: absolute;
       right: 15px;
       top: 20px;
       z-index: 997;
   }
   .sikkim.tablechart table {
    margin-bottom: 0;
}
.homemap .legend{
top: 35px !important;
}
.homemap .legend li{
    color:#000;
    }
    .mapheading {
        color: #fff;
        background-color: #133b5a;
        padding: 10px;
        font-size: 16px;
        text-transform: uppercase;
        font-weight: bold;
    }
    .aliancetable .table td:first-child {
        text-align: left;
    }
    .aliancetable .table td, .aliancetable .table th {
        padding-left: 10px;
    }
    .aliancetable td {
        color: #000;
        font-weight: bold;
        text-align: center;
    }
    .aliancetable .close {
    opacity: 1;
    color: #fff;
    cursor: pointer;
    }
    .lastupdated{
        font-size:10px;
    }
   /* span.updatedtime {
       display: block;
   } */

   .flexcenter {
       align-items: center
   }

   /* .points{
       pointer-events: none;
   } */

   /* tr.mainparty {
    cursor: pointer;
    } */
    tr.mainparty td:first-child span {
        border: 1px solid #133b5a;
        width: 15px;
        height: 15px;
        border-radius: 100%;
        position: relative;
        margin: 0 10px;
        display: inline-block;
        cursor: pointer;
        vertical-align: middle;
    }
    tr.mainparty td:first-child span:before,
    tr.mainparty td:first-child span:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:#133b5a;
}
tr.mainparty td:first-child span:before{
    width: 1px;
    margin: 2px auto;
}
tr.mainparty td:first-child span::after{
    margin: auto 2px;
    height: 1px;
}
tr.mainparty.minus td:first-child span:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:red !important;
    margin: auto 2px;
    height: 1px;
    z-index: 999;
    width:auto !important;
}

li.legends4 {

   
    list-style-type: none;
    /* float: left;
    width: 14%; */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 10px;
}
li.legends4:before {
    width: 10px;
    height: 10px;
    position: relative;
    margin: 0 10px;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
    content: "";
    background:transparent;
}

li.legends4.pointlegend:before{
    width: 10px;
    height: 10px;
    border-radius: 100%;
}
   .undeclared {
    fill: white;
    stroke: #ccc;
    stroke-opacity: 1;
}
.map path{
    cursor: pointer;
    stroke: #000;
	    stroke-width: 0.25;
}
.map path.indiastate {
    stroke: #000;
}
.empty-color {
    fill: #f5f5f5;
    
}
.radiooptions {
    margin-top: 10px;
}
   /* Laptop Device */
   @media (max-device-width: 1599px) and (min-device-width: 1024px) {}

   @media (max-device-width: 1023px) {}

   @media (max-device-width: 767px) and (min-device-width: 1px) {
       #election-visual {
           width: 100%;
       }

       

       .mobiledrop {
           display: none;
       }

      

       .state-dropdown {
           margin-bottom: 20px;
       }

       .chartchoose {
           display: block
       }

       .mobiletop {
           margin-top: 15px;
       }

       .mobilepietop {
           margin-top: 35px;
       }
       .chartview .modal-content{
        max-height: 300px;
        overflow: auto;
        }
        .table td,
        .table th {
            padding: 0.5rem 2px;
        }

   }

   @media (max-width: 480px) and (min-width: 1px) {
       #election-visual {
           width: 100%;
       }
.tooltipblock {
    position:absolute
}
      

       .mobiledrop {
           display: none;
       }

     

       .state-dropdown {
           margin-bottom: 20px;
       }

       .chartchoose {
           display: block
       }

       .mobiletop {
           margin-top: 15px;
       }

       .mobilepietop {
           margin-top: 35px;
       }

   }