body,html{
	margin: 0;
	padding: 0;
	font-family: arial,sans-serif;
}
main{
	width: 1fr;
	height: 100vh;
	display: grid;
	grid-template-rows: 50px auto 170px 50px;
	grid-auto-rows: auto; 
	grid-column-gap: 10px;
	/*background-color: #fcfdeb;*/
}
#jobs_head_msg h1{
	color: #353332;
	font-weight: bold;
	font-size: 2.1rem;
	margin: 10px;
}
#jobs_head_msg p{
	color: #559be4;
	font-style: italic;
	font-size: 1.1rem;
}
#filter{
	display: none;
	text-align: right;
	justify-content: right;
}
#filter_btn{
	margin: 5px 20px;
  padding: 5px 20px;
  cursor: pointer;
  border: 1px solid #ec0000;
  background: #ec0000;
  font-size: 16px;
  color: #fff;
}
#job_search_section{
	margin: 0px auto;
	padding: 20px;
	justify-content: center;
  text-align: center;
	width: 95%;
	height: 300px;
	background-color: #fff;
}
.row{
	display: table;
	width: 100%;
	padding: 10px 0;
}
.col-size-1, .col-size-3 {
  float: left;
  justify-content: center;
  text-align: center;
  /*overflow: hidden;*/
  width: 50%;
}
.col-size-1{
	width: 11%;
	padding: 8px 10px;
} 
.col-size-3 {
	width: 30%;
}
#jobsearchform input, #jobsearchform select{
	-ms-box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box; 
	box-sizing:content-box;
}
.field_name{
	width: max-content;
	margin: 0;
	padding: 0;
	font-size: 1.1rem;
	font-weight: bold;
}
.elements{
	min-width: 300px;
	height: 35px;
	padding: 0 10px;
	font-size: 1rem;
	border:1px solid #333;
	background-color: #fff;
}
.card{
	width: 1fr;
	height: auto;
	display: grid;
	/*grid-template-rows: 370px;*/
	grid-auto-rows: auto; 
	grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
	grid-column-gap: 20px;
	grid-row-gap: 10px;
	background-color: #fff;
}
.card_body{
	display: block;
	margin: 8px;
	/*max-width: 310px;*/
	/*height: 340px;*/
	padding: 8px;
	background-color: #fff;
	border-radius: 1rem;
	box-shadow: 0px 0px 2px 0px #333;
}
.card-body-type,
.card-body-qualification,
.card-body-branch,
.card-body-location,
.card-body-last-date{
	margin: 5px 0;
	text-align: justify;
}
.card_body_head h4{
	color: #3366ff;
}
.view-count-label{
	display: inline-block;
  float: right;
  width: 70px;
  background: #eee;
  margin-top: 8px;
  padding: 3px;
  border-radius: 5px;
}
.face-icon{
	font-size: 22px;
	color: #222;
	margin: 20px;
}
.view-count-number{
	text-align: center;
	margin: auto;
}
.card_body_mid, .card_body_foot{
	font-size: 14px;
}
.job_details_show{
	display: block;
	height: 50px;
}
.card_body_foot a{
	display: block;
	width: 120px;
	height: 35px;
	background: green;
	color: #fff;
	line-height: 35px;
	font-size: 16px;
}
.card_body_foot a:hover{
	background: #000;
}

@media only screen and (min-width : 150px) and (max-width : 1020px) {
	main{
		grid-template-rows: 50px auto auto 50px;
	}
	#job_search_section{
		height: auto;
		padding: 0;
	}
	#panel{
		display: grid;
		justify-content: space-around;
	}
	.col-size-1, .col-size-3 {
	  float: unset;
	}
}

/*------For height 1280px and width 1500px*/
@media only screen and (min-width : 1500px) and (min-height : 1280px){
	main{
		grid-template-rows: 2% auto 500px 100px;
	}
}

/*------For height 1280px and width 300px*/
@media only screen and (min-width : 300px) and (min-height : 1280px){
	main{
		grid-template-rows: 2.5% auto 350px 100px;
	}
}
