/* 
---------------------------------------------
General styles for page
--------------------------------------------- 
*/

.main-events-box {
  margin:auto;
  width:95%;
  margin-top: 30px;
  padding-top: 80px;
  padding-bottom: 50px;
}


/* 
---------------------------------------------
Text Styles
--------------------------------------------- 
*/

.section-heading {
  margin-top: 30px;
	margin-bottom: 0px;
	font-size: 23px;
	/* text-transform: uppercase; */
	font-weight: 700;
  color: #11719e;
}

.section-heading span{
  color: #8a8989;
  font-weight: 600;
}

.indv-pages {
  margin-bottom: 20px;
  margin-top: -10px;
}

a {
	font-weight: 700;
  color: #11719e;
  background-color: transparent; 
  text-decoration: none;
}

.text-box li {
  margin-left: 38px;
  list-style-type: circle;
  list-style-position: outside;
  color: #c20b75;
}

.text-box h2 {
  font-size: 15px;
  font-weight: 600;
  color: #8e8c8c;
  text-align: center;
  line-height: 30px;
}

.text-box h2 em {
  color: #11719e;
  font-style: normal;
}

.text-box p {
  font-size: 20px;
  margin: 30px 0px;
  text-align: justify;
}

.text-box button {
  background-color: #3B566E;
  font-size: 22px;
  font-weight: 600;
  color: white;
}

.normal-text {
  margin-top:-10px; 
  margin-bottom: 20px;
  margin-left: 10px;
  font-size: 20px;
}

/* Style the tab */
.tab {
  overflow: hidden;
  /* border: 1px solid #ccc; */
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: inline-start;
  margin-left: 5%;
  margin-right: 5%;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 30px;
  width: 40%;
  transition: 0.3s;
  background-color: #e7e4e4;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #2881a5;
  color: #ffffff;
  /* font-size: 20px; */
  font-weight: 600;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #0d456b;
  color: #ffffff;
  /* font-size: 20px; */
  font-weight: 600;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

.NenmatsuTable {
  font-size: 18px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.NenmatsuTable th {
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.NenmatsuTable td {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* Style the buttons that are used to open the tab content */
.all-pics-btn {
  background-color: #0d456b;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  margin-left: 15px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 30px;
  transition: 0.3s;
  vertical-align: top;
}

/* Change background color of buttons on hover */
.all-pics-btn:hover {
  background-color: #cd7f19;
  color: #ffffff;
  font-weight: 600;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@media (max-width: 800px) {
	.section-heading h5 {
		font-size: 15px;
	}

	.section-heading {
		font-size: 15px;
	}

	.section-heading p {
		font-size: 15px;
	}
}	

/* Page Gallery */

/* Create four equal columns that sits next to each other */
.glob-image-style {
  display: flex;
  float: left;
  padding: 4px 4px 4px 4px;
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
  
  .tab {
    font-size: 14px;
    font-weight: 500;
  }

  /* Style the buttons that are used to open the tab content */
  .all-pics-btn {
    font-size: 12px;
    font-weight: 500;
  }

  .NenmatsuTable {
    font-size: 12px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .text-box h2 {
    font-size: 12px;
  }

}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}