@font-face {
  font-family: "TamilFont";
  src: url("../font/Bamini.woff") format("woff");
}

@font-face {
  font-family: "SinhalaFont";
  src: url("../font/Kelani.woff") format("woff");
}

@import url("https://fonts.googleapis.com/css?family=Open+Sans");

* {
  font-family: "Open Sans", sans-serif;
}

.lngtamil {
  font-family: "TamilFont", sans-serif;
  font-size: 20px;
}

.lngsinhala {
  font-family: "SinhalaFont", sans-serif;
  font-size: 20px;
}

h1,
h2,
h3 {
  font-weight: bold;
}

.bar-item {
  width: 100%;
  display: block;
  padding: 16px 16px;
  text-align: left;
  border: none;
  white-space: normal;
  float: none;
  outline: 0;
}

label {
  font-weight: bold;
  font-style: italic;
}

.w3-btn {
  font-weight: bold;
  font-style: italic;
  padding: 8px 16px;
  width: 100%;
}

.j2d,
.j3d,
.drcr {
  text-align: right;
}

.tab-bar li a {
  text-decoration: none;
  font-weight: bold;
}

input.drcr {
  font-weight: bold;
}

.clm_h0 {
  padding-right: 8px;
}

.clm_h1 {
  padding-left: 8px;
}

legend {
  font-weight: bold;
  border: 1px solid;
  padding: 0 16px;
}

.icon-top, .clmS2L5, .clmS2L6, .clmS1L6 {
  float: left;
  width: 50%;
  padding: 10px;
}

.clmS1L6 {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .icon-top {
    width: 20%;
  }
  .clmS2L5 {
    width: 20%;
  }

  .clmS2L6, .clmS1L6 {
    width: 16%;
  }

}

.icon {
  display: flex;
 /* justify-content: center; */
  align-items: center;
  height: 65px;
  padding: 5px;
  font-weight: bold;
  border: 2px solid;
  border-radius: 30px 10px;
  background-repeat: no-repeat;
  background-size:contain;
  background-position: center;
  overflow: hidden;
}

.icon img {
  border-radius: 50%;
  height: 50px;
}

.icon span {
  padding: 5px;
  width: 80%;
  word-wrap: break-word;
}

.icon-top a:link {
  text-decoration: none;
}

#grid-data {
  width: 200px;
  min-height: 200px;
  outline: 0;
  border: 1px solid white;
}

.grid_header {
  text-align: right;
  font-weight: bold;
  font-style: italic;
}

.grid-clm-center {
  text-align: center;
}
