/* Don't show featured image for post */
.post-thumbnail{
	height: 0;
	visibility: hidden;
}

/*  */
@media (min-width: 600px){
	.home-post-grid{
		padding-left: 25vw;
		padding-right: 25vw;
	}
}


/* Down animated arrow */
@-webkit-keyframes downarrow {
  0% { -webkit-transform: translateY(0); opacity: 0.4 }
  100% { -webkit-transform: translateY(0.4em); opacity: 0.9 }
}
.home-arrow {
  border-color:transparent;
  border-style:solid;
  border-width:0 2em;
  display:block;
  height:0;
  width:0;
	position: fixed;
	left: 48vw;
	top: 47vw;
  opacity:0.4;
  text-indent:-9999px;
  transform-origin: 50% 50%;
}
@media (max-width: 600px){
	.home-arrow{
		top: 53vw;
		left: 45vw;
	}
}
.dir-down {
  -webkit-animation: downarrow 0.6s infinite alternate ease-in-out;
  border-top:2em solid #00b6f1;
}

/*Dont show left right scrollbar*/
body{
	overflow-x: hidden; /* Hide horizontal scrollbar */
	font-family: serif;
}

/*Don't show posted in [categories]*/
.entry-footer {
display: none;
}

/* Change menu text font */
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  font-size: 1.1rem;
}

/**/
.navbar-expand-xl {
	width: 100%;
}

/* Don't show post date and author */
.entry-meta{
	display: none;
}

.container {
  width: 100%;
}

/* Setting for about me, education and work experience */
@media (max-width: 600px){
	.wp-block-media-text__media {
		max-width: 60%;
		text-align: center;
	}
}

.text-title-position{
	font-size: 1.5em;
}

.media-text-title{
	font-size: 1.4em;
}

.has-medium-font-size{
	font-size: 20px;
}

.text-align-justified{
	text-align: justify;
}

.keyword_btn {
	margin: 0.5em 0.2em 0.5em;
	opacity: 0.9;
  padding: 5px 10px;
  font-size: 1.2em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: focus;
  color: #fff;
  background-color: #563d7c;
  border: none;
  border-radius: 0.8em;
  box-shadow: 0 9px #999;
}

.keyword_btn:hover {
	background-color: #5f367c;
	opacity: 0.6;
}

.keyword_btn:active {
  background-color: #563d7c;
	/*opacity: 1;*/
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

/* Masonry Tiles */
* { box-sizing: border-box; }

/* ---- grid ---- */
.grid {
  max-width: 1200px;
}
/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */
.grid-sizer, .grid-item {
	width: 33.33%;
}
.grid-sizer-research, .grid-item-research {
	width: 50%;
}
@media (max-width: 600px){
	.grid-sizer, .grid-item {
		width: 50%;
	}
	.grid-sizer-research, .grid-item-research {
		width: 100%;
	}
}
.grid-item{
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
  float: left;
	background-color: rgba(134,109,172,0.3);
	border: 2px solid;
	border-color: rgba(86,61,124,0.3);
  border-radius: 10px;
  background-size: cover; /* Resize the background image to cover the entire container */
}
.grid-item-title {
	background-color: rgba(255,255,255,0.9);
  border-radius: 10px;
}
.grid-item-bg {
	background-size: contain;
	background-repeat: no-repeat;
	margin: 1%;
}
.excerpt {
	font-size: 0.9em;
	font-weight: normal;
	text-align: justify;
	padding: 10px;
	background-color: rgba(255,255,255,0.8);
	border-radius: 10px;
}
.grid-item:hover{
	background-color: #5f367c;
	/*opacity: 0.5;*/
  cursor: pointer;
}

/* Dropdown Menu for Choosing Post Sequence */
.dropbtn {
	opacity: 0.9;
  background-color: #563d7c;
  color: white;
  padding: 5px;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 24px;
  border: none;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  color: white;
  cursor: pointer;
	text-align: center;
  font-size: 20px;
  display: none;
  position: absolute;
  background-color: #3d1f69;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {background-color: #aaa;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #5f367c;}