body {font-family: Arial;}
#header{text-align: center;
color:#33a8e8;
margin-top:15px;
font-size:20px;
}
#other{
text-align: center;
color:#33a8e8;
margin-top:15px;
font-size:18px;
}
#sub{
margin-top:20px;
}
#s{
width:96%;
margin-left:3%;
height:42px;
background:#33a8e8;
border-radius:8px;
margin-top:5px;
color:#fff;
text-align:center;
line-height:50px;
font-size:17px;
}
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons inside the tab */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
#share{
border: 1.5px solid black;
width:94%;
margin-left:3%;
height:45px;
background:#FFFFFF;
margin-top:10px;
border-radius:15px;
text-align:center;
line-height:50px;
color:#3D4043;
}
#share i{
font-size:25px;
}
function openCity(evt, cityName) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(cityName).style.display = "block";
evt.currentTarget.className += " active";
}