/* Set height of body and the document to 100% */
body, html {
height: auto;
margin: auto;
font-family: Times New Roman;
font-size: 16px;
width: 100%; padding: 0px; margin: 0 auto;
}
/* Style tab links */
.tablink {
background-color: FFFFFF;
color: white;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
font-size: 14px;
width: 25%;
}
/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
color: black;
display: none;
padding: 50px 20px;
height: 150%;
width: 100%;
}
#Наукові {background-color: white;}
#Долучення студентів до наукових шкіл {background-color: white;}
#Науков {background-color: white;}
#Події {background-color: white;}
function openPage(pageName,elmnt,color) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablink");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].style.backgroundColor = "";
}
document.getElementById(pageName).style.display = "block";
elmnt.style.backgroundColor = color;
}
// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();