.d3-tip {
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 2px;
    margin-top:1px;
    display:none;
    font-size:12px;
    line-height:16px;
}




/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
    box-sizing: border-box;
    display: inline;
    font-size: 12px;
    width: 100%;
    color: rgba(0, 0, 0, 0.8);
    content: "\25BC";
    position: absolute;
    text-align: center;
    margin-left:50px;

}

/* Style northward tooltips differently */
.d3-tip.n:after {
    margin: -5px 0 0 0;
    top: 100%;
    left: 0;
}

button{
             -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}


.no-line-break{
    white-space:nowrap;
}

.iconImg{
    height:30px;
}

.legendItem, .infoItem{
    padding-top:10px;
}


#information{
    display: none;
}


#ranking{
    margin-top:50px;
    height:300px;
    overflow-y: scroll;
}


#bigFlag{
    float:left;
     margin-left:-5px;
   
}

#bigFlag img{
     height:80px;
    
}

#countryInfo{
    margin-top:20px;
    padding-left:50px;
}


#bigCountry{
    margin-top:25px;
    opacity:0;
    float:left;
   font-family: 'aleoregular';
   font-size:30px;
}


@media(min-width:640px){
    #legend{
   // height:80px;
}

}


@media(min-width:1020px){
    .legendItemLabel{
        font-size:14px;
    } 
    
    #legend{
        padding-right:0;
    }
    
     #bigCountry{
         margin-top:30px;
        font-size:20px;
    }
}

@media(min-width:1150px){
    .legendItemLabel{
        font-size:16px;
    } 
    
    #bigCountry{
        margin-top:25px;
        font-size:30px;
    }
}


.clear{
    clear:both;
}

 .flagDiv, .iconDiv, .textDiv{
        float:left;
    }
    

    
    #legend div{
        padding-left:0px;
        padding-right:0px;
    }
    
    .legendItemLabel{
        margin-top:12px;
        
    }
    
    #softIcon{
        background-color:#FADF64;
    }
    
    #waterIcon{
        background-color:#76CBE8;
    }
    
    #sirupIcon{
        background-color:#66D488;
    }
    
    #juiceIcon{
        background-color:#F59695;
    }
    
        .iconDiv{
            border-width: 1px;
            border-style: solid;
            border-color: #999;
             -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
   // background:#000;
    height:40px;
    width:40px;
    padding:5px;
text-align:center;
margin-right:5px;
    }
    
    
    @media(max-width:1024px){
        #countryInfo{
        padding-left:12px;
        padding-right:12px;
    }
    }
@media(max-width:640px){
   
    
    #legend, #legend div, #information, #information div{
        padding-left:0;
        padding-right:0;
        font-size:14px;
        line-height:20px;
    }
    
    .legendItemLabel{
        margin-top:10px;
    }
          #countryInfo{
        padding-left:0;
        padding-right:0;
    }
    .iconImg{
        height:40px;
    }
    
     .iconDiv{
         height:50px;
         width:50px;
     }
    
    #bigFlag img{
     height:30px;
     margin-left:0;
     margin-right:10px;
}

    #bigFlag{
     margin-left:0;
}

#bigCountry{
    margin-top:0;
}

#ranking{
    margin-top:20px;
    height:300px;
    overflow-y: scroll;
}

}



@media(max-width:350px){
     .iconImg{
        height:30px;
    }
    
     #legend, #legend div, #information, #information div{
        padding-left:0;
        padding-right:0;
        font-size:12px;
        line-height:15px;
    }
    
}
@media(min-width:1024px){
    #bubble-container{
        margin-right:100px;
        margin-left:50px;
    }
    
    #ranking{
        margin-right:150px;
    }
    
}



.ssb-wrapper {
    min-width: 325px;
    max-width: 325px;
    padding: 0 !important;
}

.rrssb-buttons {
    float: left;
    width: inherit !important;
}

.ssb {
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    float: left;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: normal;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    padding-bottom: 0px;
    padding-left: 2.5px;
    padding-right: 2.5px;
    padding-top: 0px;
    text-align: left;
    display: table-cell;
    margin-top: 0;
    margin-bottom: 10px;
}

.ssb-text {
    -webkit-font-smoothing: antialiased;
    color: #FFF;
    cursor: pointer;
    display: inline;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    line-height: 16px;
    font-style: normal;
    font-weight: bold;
    text-transform: uppercase;
}

.ssb-icon {
    left: 10px;
    padding-top: 10px;
    position: absolute;
    top: 0px;
}
.ssb-icon svg path {
    fill: #FFF;
}
.ssb-facebook {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
}

.ssb-twitter {
    width: 125px;
    min-width: 125px;
    max-width: 125px;
}

.share-toggle.closed:before {
    content: "\f067";
}

.share-toggle.opened:before {
    content: "\F068";
}

.share-toggle {
    font-family: FontAwesome;
    line-height: 1.9;
    padding-left: 10px;
    font-size: 1.5rem;
    border-radius: 2px;
    background: #c5c5c5;
    display: inline-block;
    cursor: pointer;
    height: 36px;
    width: 37px;
    font-weight: normal;
    margin-left: 3px;
    margin-right: 3px;
}

.share-toggle:hover {
    background-color: #707070 !important;
}

.secondary-shares {
    display: none;
}

.share-results .text {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1.4; 
}

.share-results .share-container {
    margin: 0 auto;
    width: 300px;
    margin-bottom: 40px;
}


.ssb-facebook a, .ssb-twitter a {
    -webkit-background-clip: border-box;
    -webkit-background-origin: padding-box;
    -webkit-background-size: auto;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.298039);
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 0.2s;
    -webkit-transition-property: background-color;
    -webkit-transition-timing-function: ease-in-out;
    background-attachment: scroll;
    background-clip: border-box; 
    background-image: none;
    background-origin: padding-box;
    background-size: auto;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    box-sizing: border-box;
    color: #FFF;
    cursor: pointer;
    display: block;
    height: 36px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    outline-color: rgb(71, 71, 71);
    outline-style: none;
    outline-width: 0px;
    padding-bottom: 12px;
    padding-left: 22px;
    padding-top: 11px;
    position: relative;
    text-align: center;
    text-decoration: none;
}

.ssb-facebook a:hover, .ssb-twitter a:hover {
    text-decoration: none !important;
}    

.ssb-facebook a {
    background-color: rgb(48, 97, 153);
}

.ssb-facebook a:hover {
    background-color: #244872 !important;
}


.whatsapp  {
    float: left;
    cursor: pointer;

    line-height: 1.9;
    font-size: 1.5rem;
}
.whatsapp a .icon {
    display: inline-block;
    background-color: #00af00;
    border-radius: 2px;
    height: 36px;
    width: 37px;
    padding-left: 9px;

}

.whatsapp a .icon svg {
    height: 17px;
    width: 17px;
}

.whatsapp a .icon svg path {
    fill:#fff;
}

.whatsapp a, .whatsapp a:visited {
    background-color: #00af00;
}

.whatsapp a:hover, .whatsapp a:active {
    background-color: #299629 !important;
}

/*Sources*/
.icon-arrow-up:before {
    content:"\e606";
}


#click-sources:hover {
    cursor: pointer;
}

#click-arrow {
    font-size: 12px;
    display:inline;
    height:5px;
}


#sources{
    font-size:11px;
    display:none;
    color:#555;
    margin-bottom:40px;
    display:none;
}

#sources p{
    margin-bottom:3px;
    font-size:11px;
    color:#555;
}

.sourceRow{
    margin-top:20px;
}


li{
    font-size:16px;
}

p a {
    color: #222;
    text-decoration:underline;
}

p a:hover{
    color: #222;
}


@media(max-width:1024px){
    .row{
 padding-left:5px;
 padding-right:5px;
}
}