* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: Karla,Helvetica,Arial,sans-serif;
    font-size: 13px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    background-color: #333!important;
}

#title:hover {
    text-decoration: underline;
    cursor: pointer;
}

#map {
    width: 100%;
    height: 100%;
}

#sidebar {
    right: 0;
    background-color: #1c2027;
    border-radius: 5px;
    height: calc(100% - 40px)!important;
    margin: 15px;
    position: absolute!important;
    width: 500px;
    top: 0;
    z-index: 1001;
    box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.25);
}

#sidebar .header {
    background-color: #59d9a4;
    color: #1c2027;
    overflow: hidden;
    padding: 20px;
    min-height: 100px;
} 

.top {
    /* margin: -20px; */
    padding: 20px 20px 0 20px;
    width: 500px;
    border-radius: 5px 5px 0 0;
    position: fixed;
    /* transition: .3s; */
    z-index: 9;
    background-color: #59d9a4;
    height: 100px;
}

.top.shadow {
    box-shadow: 0px 10px 12px -10px rgba(0, 0, 0, 0.4);
}

.top .logo {
    position: absolute;
    height: 59px;
    right: 15px;
    top: 19px;
}

.top .logo:hover {
    opacity: 0.8;
}

.top .logo IMG {
    border: 0;
    height: 100%;
}

#sources {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sources li {
    height: 26px;
    background-color: rgba(0,0,0,0.1);
    padding: 5px;
    margin-top: 2px;
}

#sidebar li.warning input[type="text"].countryCases {
    background-color: rgba(255, 255, 0, 0.2) !important;
}

#sources li.warning .fa-warning {
    display: inline-block;
}

#sources li .fa-warning {
    display: none;
    margin-left: -20px;
    font-size: 10px;
}

#sources li span {
    margin-right: 10px;
    min-width: 50%;
    padding-right: 10px;
    display: block;
    float: left;
}

#sidebar input[type="text"] {
    outline: none;
    width: 100%;
    background-color: rgba(0,0,0,0.1);
    padding: 5px;
    box-sizing: border-box;
    color: #1c2027;
    outline-color: white;
    display: inline-block;
    font-family: inherit;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-left: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

#form {
    padding-top: 90px;
    display: none;
}
/* 
#form #uniformDistr {    
    display: block;
    clear: both;
} */

.tabSection #detailedDistr {
    display: inline-block;
}

.tabSection #uniformDistr,
.tabSection #detailedDistr {
    color: #1c2027;
    font-style: italic;
    opacity: 0.7;
    margin-top: 5px;
}

.tabSection.detailed #detailedDistr,
BODY.empty .detailed #countryCasesLabel,
BODY.empty .tabSection #detailedDistr {
    display: none;
}

.tabSection.uniform #uniformDistr,
BODY.empty .tabSection #uniformDistr {
    display: none;
}

BODY.empty #tabs {
    display: none;
}

BODY.empty .tabContent {
    display: none;
}

/* BODY.empty #form .formSection {
    display: none;
} */

.singleTab {
    display: none !important;
} 

.singleTab.enable {
    display: inline-block !important;
}

.singleTab.disable {
    display: inline-block !important;
    pointer-events: none;
}

.tabSection {
    display: none;
} 

.tabSection.active {
    display: block;
}

#tabsBox A.active {
    background-color: #59d9a4;
    border-left: 1px solid rgba(0,0,0,0.15);
    border-top: 1px solid rgba(0,0,0,0.15);
    box-shadow: 1px 0px 0px 0 rgba(255,255,255,0.15), inset 1px 1px 0px 0 rgba(255,255,255,0.15);
    border-right: 1px solid rgba(0,0,0,0.15);
    padding: 5px 10px;
}

#tabsBox A {
    display: inline-block;
    background-color: rgba(0,0,0,0.15);
    padding: 5px 10px 3px 10px;
    margin-right: 5px;
    color: black;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    /* height: max-content; */
}

.formFrame {
    /* margin: -10px; */
    /* padding: 10px; */
    /* margin-top: -2px; */
    /* border: 1px solid rgba(0,0,0,0.15); */
    /* box-shadow: 1px 1px 0px 0 rgba(255,255,255,0.15), inset 1px 1px 0px 0 rgba(255,255,255,0.15); */
    /* display: none; */
}


.tabTitle {
 font-size: 26px;
 margin-bottom: 10px;
}

.tabSelector {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.tabSelectorsContainer {
    display: flex;
}

#sidebar .formSection.left {
    width: 50%;
    padding-right: 10px;
}

#sidebar .formSection.right {
    width: 50%;
    padding-left: 10px;
}

.formSection {
    margin-top: 20px;
}

.formSection label {
    display: block;
    margin-bottom: 3px;
    font-weight: bold;
}

#infectedCitiesLabel{
    display: inline-block;
    width: 50%;
    margin-right: 10px;
}

#countryCasesLabel {
    display: none;
}

.detailed #countryCasesLabel {
    display: inline-block;
}

#sidebar input[type="text"].countryCases {
    height: 22px;
    margin-top: -3px;
    width: calc(50% - 32px);
    border-top: 1px solid rgba(0,0,0,0.07);
    border-left: 1px solid rgba(0,0,0,0.07);
    border-right: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(0,0,0,0.07);
}

.tabSection.uniform .countryCases {
    display: none !important;
}

#sidebar #totalCasesBox {
    float: left;
}

#sidebar #totalCasesBox #num_cases {
    width: 100%;
    margin-right: 20px;
    height: 26px;
}

#sidebar #totalCasesBox #num_cases:disabled {
    opacity: 0.6;
}

/* #form.detailed #totalCasesBox {
    display: none;
} */

#sidebar .emptynotice {
    display: none;
}

BODY.empty #sidebar .emptynotice {
    display: block;
    padding: 5px 0;
}

select {
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHBvbHlnb24gY2xhc3M9ImNscy0yIiBwb2ludHM9IjEuNDEgNC42NyAyLjQ4IDMuMTggMy41NCA0LjY3IDEuNDEgNC42NyIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIzLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zMyAzLjU0IDUuMzMiLz48L3N2Zz4=) no-repeat 95% 50%;
	-moz-appearance: none; 
	-webkit-appearance: none; 
	appearance: none;
}

#sidebar select {
    background-color: rgba(0,0,0,0.1);
    color: #1c2027;
    font-family: Karla;
    font-size: 13px;
    height: 26px;
    width: 100%;
    padding-left: 5px;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-left: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

#sidebar select:disabled {
    opacity: 0.5;
}

#sidebar select option {
    background: #50c393;
}

::-webkit-input-placeholder { color: rgba(0, 0, 0, 0.5); }
     :-ms-input-placeholder { color: rgba(0, 0, 0, 0.5); }
         ::-moz-placeholder { color: rgba(0, 0, 0, 0.5); }
          :-moz-placeholder { color: rgba(0, 0, 0, 0.5); }

#sources button.closeButton {
    background: transparent;
    border: none;
    display: block;
    padding: 1px 5px;
    color: #1c2027;
    cursor: pointer;
    float: right;
}

.mapboxgl-popup-content {
    /* background-color: rgba(101,255,202,0.85) !important; */
    background-color: rgba(83,211,158,0.9) !important;
    font-size: 13px;
    font-family: Karla;
    border-radius: 2px !important;
    color: #1c2027;
    padding: 0 !important;
    min-width: 200px;
}

.mapboxgl-popup-content strong {
    display: block;
    width: 100%;
    background-color: rgba(0,0,0,0.2);
    padding: 7px 10px;
}

.mapboxgl-popup-content table {
    margin: 5px 10px 6px 10px;
    padding: 0px;
}

.mapboxgl-popup-content table tr {
    margin: 0px;
    padding: 0px;
    height: 21px;
}

td.label {
    padding: 0 10px 0 0;
    margin: 0;
    width: 100px;
    font-weight: bold;
}

span.label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    padding-left: 10px;
}

span.value {
    display: block;
    margin-bottom: 10px;
    padding-left: 10px;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
    border-bottom-color: rgba(101,255,202,0.75) !important;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    border-top-color: rgba(101,255,202,0.75) !important;
}

.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
    border-right-color: rgba(101,255,202,0.75) !important;
}

.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
    border-left-color: rgba(101,255,202,0.75) !important;
}

.mapboxgl-popup-content {
    pointer-events: none !important;
}

#loadingmessage {
    display: none;
}

.tabContent {
    display: none;
}

.tabContent.active {
    display: block;
}

BODY.ready #cover,
BODY.empty #cover {
    display: block;
}

.tabContent {
    line-height: 18px;
    margin: 0;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

#loading,
.tabContent h3 {
    color: white;
    font-weight: bold;
    line-height: 18px;
    font-size: 13px;
    margin: 0;
    margin-bottom: 10px;
}

.tabContent i,
.tabContent p {
    color: #999;
    font-weight: normal;
    margin: 0 0 1em 0;
    line-height: 18px;
    font-size: 13px;
}

.tabContent p b{
    color: #c6c6c6;
    font-weight: normal;
    margin: 0 0 1em 0;
    line-height: 18px;
    font-size: 13px;
}


.tabContent a {
    color: #999;
    margin-right: 10px;
}

.tabContent a:hover {
    color: #FFF;
}

#restrictionDescription {
    margin-bottom: 1px;
    margin-top: -2px;
}

#monthBox, #restrictionsBox, #periodBox {
    width: 50%;
    /* float: left; */
}

#histo {
    display: none;
}

BODY.results #histo {
    display: block;
}
#histo_container {
    margin: 0;
    box-sizing: border-box;
	min-width: 310px;
	margin: 0 auto
}
#topten_container {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
	min-width: 310px;
	margin: 0 auto
}

TEXT {
    font-family: Karla,Helvetica,Arial,sans-serif;
}

input, select {
    outline-style:none;
    box-shadow:none;
    border-color:transparent;
}

input[type=text]:focus, #sidebar select:focus {
    border-top: 1px solid rgba(0,0,0,0.3) !important;
    border-left: 1px solid rgba(0,0,0,0.3) !important;
    border-right: 1px solid rgba(255,255,255,0.5) !important;
    border-bottom: 1px solid rgba(255,255,255,0.5) !important;
    background-color: #4cb98c !important;
}

.simplebar-track {
    z-index: 10 !important;
}


/* TABS */

#tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
}

body.results #tabs {
    display: block;
}

#tabs li {
    display: inline-block;
    padding: 10px;
    color: #999;
    margin: 0;
    /* float: left; */
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

#tabs li:hover {
    color: #AAA;
    background-color: #1c2027;
}

#tabs li.active {
    color: #FFF;
    background-color: #1c2027;
}

#tabs li.active:hover {
    cursor: default;
}

#tabs #tabCover {
    float: right;
}

.notice.enabled  {
    display: none;
}

.notice {
    display: block;
}

.outResults.enabled  {
    display: none;
}

.outResults {
    display: block;
}

.credits
{
    color: #c6c6c6;
    font-weight: normal;
    line-height: 18px;
    font-size: 13px;
}
.prop
{
    color: #999;
    font-weight: normal;
    line-height: 18px;
    font-size: 13px;
}


/* 
.notice.enabled  {
    display: none;
}

#sourceCases .notice {
    display: block;
} */

#sourceCases.enabled .results {
    display: block;
}

#sourceCases .results {
    display: none;
}



.sharedSection{
    display: flex;
    flex-wrap: wrap;
}




#tabsBox{
    /* display: flex;
    margin-top: 100px;
    background-color: #59d9a4;
    color: #1c2027;
    overflow: hidden; */
    /* display: flex; */
    margin-top: 90px;
    background-color: #59d9a4;
    color: #1c2027;
    overflow: hidden;
    padding: 20px;
    padding-bottom: 0px;
    /* min-height: 100px;*/
}


#subTab{
    display: flex;
    margin-top: 100px;
    background-color: #59d9a4;
    color: #1c2027;
    overflow: hidden;
}

#topSection {
    /* margin: 10px; */
    padding: 10px;
    margin-top: -2px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 1px 1px 0px 0 rgba(255,255,255,0.15), inset 1px 1px 0px 0 rgba(255,255,255,0.15);
    /* background-color: #59d9a4; */
    color: #1c2027;
    overflow: hidden;
    /* padding: 20px; */
    min-height: 100px;
}

#topSectionOuter {
    padding: 10px;
    padding-top: 0px;
    background-color: #59d9a4;
}




.loading{
    display: flex;
    height: calc(100% - 100px);
    margin-top: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loadImg{
    width: 100px;
}












/* AUTOCOMPLETE */

#newSource {
    height: 26px;
    background-color: rgba(0,0,0,0.1);
    margin-top: 2px;
}

#addSource, #addSource:visited {
    color: #1c2027;
    font-style: italic;
    padding: 4px 0 0 5px;
    cursor: pointer;
    text-decoration: underline;
}

#sidebar .twitter-typeahead input[type="text"] {
    height: 26px;
    border-top: 1px solid rgba(0,0,0,0.07);
    border-left: 1px solid rgba(0,0,0,0.07);
    border-right: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(0,0,0,0.07);
    margin-top: 0px;
}

.twitter-typeahead {
    width: 50%;
    padding-right: 10px;
}


.highcharts-selection-marker {
    fill: #FFFFFF44!important;
    border-left-width: 4;
    border-right-width: 4;
    border-color: white;

  }

#newEntityContainerBackProp .twitter-typeahead input[type="text"] {
    height: 26px;
    background-color: rgba(0,0,0,0.06) !important;
    /* border-top: 1px solid rgba(0,0,0,0.07);
    border-left: 1px solid rgba(0,0,0,0.07);
    border-right: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(0,0,0,0.07);
    margin-top: 0px; */
}



#newEntityContainerBackProp .twitter-typeahead {
    width: 100%;
    padding-right: 0px;
}

#histo_backprop_master_container{
    cursor: ew-resize;
}



.twitter-typeahead .tt-input, .twitter-typeahead .tt-hint {
    width: 100%;
}

.twitter-typeahead .tt-hint {
    color: #999;
    background: none 0% 0% / auto repeat scroll padding-box border-box transparent !important;
}

.twitter-typeahead .tt-menu {
    width: 100%;
    background-color: #50c393;
    border: none;
}

.twitter-typeahead .tt-menu .tt-suggestion {
    cursor: pointer;
    padding: 5px 4px;
    color: #2d343e;
}

.twitter-typeahead .tt-menu .tt-suggestion.tt-cursor {
    background-color: #1c2027;
    color: #59d9a4;
}

.twitter-typeahead .tt-menu .tt-suggestion em {
    font-weight: bold;
    font-style: normal;
}


/* AUTOCOMPLETE END */


#connections {
    background-color: white;
    position: absolute;
    top: 15px;
    right: 530px;
    color: #38414e;
    font-family: Karla;
    font-weight: bold;
    font-size: 13px;
    height: 26px;
    width: 200px;
    padding-left: 5px;
    border-radius: 2px;
}

#connections.disabled {
    color: #d1d1d1;
    opacity: 0.4;
    pointer-events: none;
}


@media only screen and (max-width : 1024px) {
    
    #sidebar {
        width: 372px;
    }

    .top {
        width: 372px;
    }

    #connections {
        right: 400px;
    }

}