:root {
  --main-color: #2F80BC;
  --offwhite-color:#EBF6FA;
  --golden-color:#c9b447;
  --darkgrey:#212529;
  --marooncolor:linear-gradient(90deg,#8A0A0A,#630202);
  --twocolor:linear-gradient(90deg, #40BAF5, #2F80BB,#8A0A0A);
}
#coursestart, #x, #xii, #ba, #ma, #btech, #mtech, #bca, #mca, 
#be, #bscagriculture, #mscagriculture, #bed, #med, #blib, #mlib, 
#bsw, #msw, #nursing, #bped, #mped, #hotel, #dled, #dpharma, 
#mpharma, #bba, #mba, #finearts, #llb, #polytechnic, #iti {
	scroll-margin-top:120px;
}

#studentMessage, #staffMessage, #adminMessage{
	scroll-margin-top:200px;
}
.button-loader {
  border: 3px solid #f3f3f3;       /* light grey */
  border-top: 3px solid var(--main-color);   /* white */
  border-radius: 50%;
  width: 1.7rem;
  height: 1.7rem;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 0.8rem; /* space between spinner and text */
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}

html{
	scroll-behavior: smooth;
	font-size: 62.5%;
}

body{
	background: var(--twocolor);
}


.container{
	width: 100%;
	/*max-height: 25vh;*/
	background: var(--offwhite-color);
	filter: drop-shadow(0px 1px 10px #2f2f2f);	
	position: sticky;
	top: 0;
	z-index: 100;
}

.navbar{
	width:95%;
	margin: auto;
	padding: 1.8rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap:wrap;
	z-index: 50;
}

.navbar .navleft{
	display: flex;
	justify-content: space-around;
}

.navbar .logo{
	width:	6rem;
	height: 6rem;
	cursor: pointer;
	transition: 0.5s;
}

.logo:hover{
	transform: scale(105%);	
}

.navbar .textlogo{
	width:	17rem;
	cursor: pointer;
	transition: 0.5s;
}

.textlogo:hover{
	transform: scale(105%);	
}

.navbar ul li{
	list-style: none;
	display: inline-block;
	margin: 0 1.5rem;
	position: relative;
}

.navbar ul li a{
	text-decoration: none;
	color: var(--main-color);
	text-transform: uppercase;
	font-size: 1.5rem;
	transition: 0.3s ease;
}

.navbar ul li a:hover{
	font-weight: bold;
}

.navbar ul li::after{
	content: '';
	height: 3px;
	width: 0;
	background: var(--main-color);
	position: absolute;
	left: 0;
	bottom: -8px;
	transition: 0.5s;
}

.navbar ul li:hover::after{
	width: 100%;
}

.navbar i{
  color: var(--main-color);
  font-size: 2.2rem;
  cursor: pointer;
  display: none;
  z-index: 4;
}

input[type="checkbox"]{
  display: none;
}







/*---------gallery code---------*/

.gallerycontainer{
	width: 100%;
	margin: 0rem auto;
	padding:3rem;
	background:var(--main-color);
	position: relative;
}

.gallerycontainer .gallerytitle{
	width: 90%;
	margin: 2rem auto;
	color: #eee;
	text-align: center;
}

.gallerycontainer h2{
	font-size: 2.6rem;
	margin: 2rem auto;
	font-weight: normal;
	text-transform: uppercase;
}


.gallerycontainer .gallerytitle p{
	font-size: 2rem;
	text-shadow: 1px 1px 1px #2f2f2f;
	word-spacing: 1rem;
	color: #fff;
}

.gallerycontainer .gallerytitle h6{
	font-weight: normal;
	color: #ccc;
	font-size: 1.6rem;
	width: auto;
}

/*admin-login*/
.logincontainer{
	width: 100%;
	margin:3rem auto;
	background:var(--offwhite-color);
	padding: 1rem;
}
.logincontent{
	width: 95%;
	/*min-width: 430px;*/
	margin: 2rem auto;
	border:2px solid var(--main-color);
	border-radius: 1rem;
	padding: 2rem 1rem;
	text-align: center;

}
.logincontent h2{
	color: var(--main-color);

	margin:1rem auto;
	font-size: 2.2rem;
	font-weight: normal;
	text-transform: uppercase;
}
.logincontent p{
	font-size: 1.8rem;
	margin: 2rem auto;
}
.logincontent li{
	list-style-type: none;
	font-size: 1.6rem;
	margin-bottom: 1rem;
}
.logincontent input{
	font-size: 1.8rem;
	padding: 1rem; 
	margin-bottom: 1rem;
}
.logincontent a{
	font-size: 1.6rem;
	text-transform: uppercase;
	padding: 0.6rem 1rem;
	background: var(--marooncolor);
	color: #eee;
	filter: drop-shadow(3px 3px 0 #999);
	transition: 0.3s;
}
.logincontent a:hover{
	filter: drop-shadow(0 0 0 #aaa);
	color: #fff;
}
.student-login-extra{
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.form-row{
	margin: 3rem auto;
	display: flex;
	justify-content: space-around;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.form-row label{
	font-size: 1.8rem;
	padding: 1rem 2rem;
	color:var(--main-color);
}
.form-row .input{
	width: 23rem;
	padding: 0.5rem 2rem;
	background:transparent;
	border:2px solid var(--main-color);
	border-radius: 1rem;
	color: #3f3f3f;
	font-size: 1.8rem;
}
/*form .input{
	width: 23rem;
	padding: 0.5rem 2rem;
	background:transparent;
	border:2px solid var(--main-color);
	border-radius: 1rem;
	color: #3f3f3f;
	font-size: 1.8rem;
}*/

.form-row button, .btn{
	width:auto;
	padding:1rem 1rem;
	font-size: 1.7rem;
	max-width: 30rem;
	min-width: 22rem;
	background:var(--main-color);
	color: #eee;
	border:none;
	filter:drop-shadow(3px 3px 0 #4f4f4f);
	cursor: pointer;
	transition: 0.5s ease;
}
.form-row button:hover, .btn:hover{
	filter:drop-shadow(0px 0px 0 #4f4f4f);
}
a{
	text-decoration: none;
	color: inherit;
}
.logoutbtn{
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	color: #eee;
	background: transparent;
	padding: 0.5rem 1rem;
	border-radius: 50%;
	font-size: 2rem;
}
.logoutbtn i{

}
.hidden { display: none; }
.news-box {
      margin: 2rem auto;
      padding: 1.5rem;
      width: 100%; 
}
.news-box h3{
	font-weight: normal;
	font-size: 2rem;
	color: #3f3f3f;
	text-transform: uppercase;
	color: var(--main-color);
}
.news-list ul {
  list-style: none;
  padding: 0;
}
.news-list li {
  margin: 0.5rem auto;
  padding: 1rem;
  font-size: 1.8rem;
  border-bottom: 1px solid #ccc;
}
.formstyle{
	margin: 3rem auto;
	width: 100%;
}
.formstyle input{
	font-size: 1.8rem;
	padding: 1rem; 
}

textarea{
	width: 90%;
	max-height: 30rem;
}

/*------------ contact ------*/
.contactbox{
	margin: 2rem auto;
	width: 100%;
	background:var(--offwhite-color);
}

.contactcontainer{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;

}

.contactdetails{
	flex-basis: 40%;
	margin: 2rem auto;
	text-align: center;
}

.contactdetails i{
	font-size: 2.7rem;
	margin: 1rem auto;
	color:var(--main-color);
}

.contactdetails h2{
	margin: 1rem auto;
	color:var(--main-color);
	font-size: 1.7rem;
	text-transform: uppercase;
	font-weight: normal;
}

.contactdetails p{
	margin-bottom: 3rem;
	font-size: 1.8rem;
	color: #3f3f3f;
}

.contactdetails a{
	text-decoration: none;
	cursor: pointer;
	color: #000;
}
.contactdetails a:hover{
	color: var(--main-color);
}

.mapbox{
	flex-basis: 55%;
	width: 100%;
}
.srsmap{
	width: 100%;
	
}

.srsmap iframe{
	width: 100%;

}

/*aboutsection code*/
.aboutsection{
	width: 100%;
	margin: 2rem auto;
	padding: 3rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
	background:var(--offwhite-color);
}

.aboutsection img{
	min-width: 20rem;
	max-width: 40rem;
	width: 95%;
	border-radius: 50px;
	filter: drop-shadow(3px 3px 0px var(--main-color));
}

.abouttext{
	flex:1;
	padding:3rem;
	color: #555;
}
.abouttext p{
	font-size: 2rem;
	text-align:justify;
	line-height: 2.5rem;

}
.avmsection{
	width: 100%;
	/*background:var(--offwhite-color);*/
	background:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.9)),url("images/backcollege.jpg");
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	padding: 3rem;
}
.avmsection .avmsectiongrid{
	display: flex;
	align-items: stretch;
	justify-content: space-around;
	flex-wrap: wrap;
}
.avmcard{
	width: 35rem;
	padding: 1rem;
	text-align: center;
}
.avmcard h3{
	font-size: 3rem;
	margin: 2rem auto;
	color: var(--main-color);
	font-weight: normal;
	text-transform: uppercase;
}
.avmcard p{
	font-size: 2rem;
	color:#ccc;
	text-align: justify;
}
.avmcard i{
	font-size: 4rem;
	margin: 2rem;
	color: var(--main-color);
}
.teamsection{
	width: 100%;
	margin: 2rem auto;
	background:var(--offwhite-color);
	padding: 3rem;
}
.teamsection h2{
	text-align: center;
	color:var(--main-color);
	font-size: 3rem;
	font-weight: normal;
	margin: 2rem;
}
.teamcontent{
	width: 90%;
	margin:2rem auto;
	padding: 2rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	gap:4rem;
}

.teamcard{
	width: 30rem;
	max-height: 32rem;
	margin-bottom: 2rem;
}
.teamcard img{
	width: 100%;
	max-height: 32rem;
	border-radius: 1rem;
	border:2px solid var(--main-color);
	cursor: pointer;
	filter: saturate(0%);
	transition: 0.5s ease;
}
.teamcard img:hover{
	filter: saturate(100%);
}
.teamcard h3{
	text-align: center;
	font-size: 2.5rem;
	color: var(--main-color);
	font-weight: normal;
	text-transform: uppercase;
}
.teamcard p{
	text-align: center;
	font-size: 2rem;
	color: #555;
}
.newssection{
	width: 100%;
	margin: 2rem auto;
	background:var(--offwhite-color);
	padding: 2rem;
	background:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.9)),url("images/backcollege.jpg");
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
}
.newsbox{
	max-width: 500px;
	width: 100%;
	margin: 2rem auto;
	padding: 2rem 0;
	word-wrap: break-word;
}
.newsbox ul{
	text-align: center;
	list-style-type: none;
}
.newsbox li{
	color:#eee;
	font-size:1.8rem;
	margin: 2rem 0;
	text-align: left;
}
.coursesection{
	width: 100%;
	margin: 2rem auto;
	padding: 2rem;
	background:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.9)),url("images/backcollege.jpg");
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
}
.coursebox{
	width: 98%;
	margin: 2rem auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
}
.coursebox a{
	text-decoration: none;
	color: #eee;
}
.coursebox button{
	background:transparent;
	border: 2px solid var(--main-color);
	font-size: 2rem;
	width: 23rem;
	color: #eee;
	margin: 2rem auto;
	padding: 1rem 0;
	cursor: pointer;
	border-radius:5rem;
	transition: 0.5s ease;
}
.coursebox button:hover{
	background:var(--main-color);
}
/*=====================*/
/*footer*/
.footercontainer{
  width: 100%;
  background:var(--main-color);
  padding: 3rem;
}
.footercontainer p{
  color: #ddd;
  font-size: 1.2rem;
  text-align: center;
}
.coursedetailssection{
	margin: 2rem auto;
	width: 100%;
	background:var(--offwhite-color);
	padding: 3rem 0;
}
.coursedetailssection h1{
	text-transform: uppercase;
	color: var(--main-color);
	font-size: 2.6rem;
	text-align: center;
	font-weight: normal;
	margin: 2rem;
}
.coursedetailssection hr{
	margin: 2rem;
}
.coursedescription{
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
	
}

.coursedescription img{
	max-width: 33rem;
	min-width: 20rem;
	flex: 1 1 30%;
	border:3px solid var(--main-color);
	border-radius: 30px;
	margin: auto 2rem;
}
.coursedefinition{
	flex: 1;
	padding: 2rem;
}
.coursedefinition p{
	text-align: justify;
	font-size: 2rem;
	color: #555;
	margin: 1rem auto;
}
.coursedefinition h3{
	text-align: left;
	font-size: 2.2rem;
	color:var(--main-color);
	text-transform: uppercase;
	font-weight: normal;
	margin: 1rem auto;
}
.coursedetailssection a{
	text-decoration: none;

}
.coursedetailssection button{
	text-align: center;
	font-size: 1.8rem;
	background:var(--main-color);
	color: #eee;
	margin: 2rem;
	font-weight: normal;
	padding: 1rem;
	cursor: pointer;
	border: none;

}
/* ---------------------------------------------------------*/
/* ----------------------tab-----------------------------------*/
/* ---------------media queries-----------------*/

@media screen and (max-width: 1150px){
	.html{
			font-size: 50%;
		}

	.navbar{
			padding-top: 1rem;
					
	}
		.navbar ul li{
			margin: 0 1.4rem;
		}
		.navbar ul li a{
			font-size: 1.2rem;		
		}
		
}




/* ---------------------------------------------------------*/
/* ----------------------tab-----------------------------------*/
/* ---------------media queries-----------------*/

@media screen and (max-width: 1080px){
	.html{
			font-size: 50%;
		}

	
	.navbar{
			padding-top: 1rem;
					
	}
	

		.navbar ul li{
			margin: 0 1rem;
		}

		.navbar ul li a{
			
			font-size: 1.2rem;
			
		}
}

/* ---------------------------------------------------------*/
/* ----------------------tab-----------------------------------*/
/* ---------------media queries-----------------*/

@media screen and (max-width: 980px){
	.html{
			font-size: 45%;
		}

	.navbar{
			padding-top: 1rem;
					
	}


		.navbar i{
		  display: block;
		}

		#click:checked ~ .menu-btn i:before{
		    content: "\f00d";
		  }
		  	.navbar ul{
		  		position: absolute;
			    top: 9rem;
			    padding-top: 1rem;
			    left: 0;
			    background: var(--main-color);
			    /*left: -100%;*/
			    overflow-y: hidden;
			    overflow: hidden;
			    max-height: 0;
			   /*max-height: calc(100vh - 10rem);*/
			    width: 100%;
			    text-align: center;
			    display: block;
			    
			    transition: all 0.5s ease;
			  }

			#click:checked ~ ul{
			    /*left: 0;*/
			    max-height: calc(100vh - 9rem);
			    overflow-y: auto;
			    border-bottom: 3px solid #2f2f2f;
			  }		
		.navbar ul li{
		    width: 100%;
		    margin: 1.3rem 0;

		  }
		  .navbar ul li a{
		    width: 100%;
		    margin-left: 0px;
		    padding: 1rem 0;
		    display: block;
		    font-size: 1.6rem;
		    color: #eee;
		    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
		  }
		.navbar ul li:hover::after{

			width: 0%;
		}

		.navbar ul li a:hover{
			background:#2f2f2f;
			font-weight: bold;
			color: #eee;

		}

}
/* ---------------------------------------------------------*/
/* ----------------------tab-----------------------------------*/
/* ---------------media queries-----------------*/

@media screen and (max-width: 850px){
		
		

		.abouttext{
			flex-basis: 100%;
		}
		
		.coursedefinition{
			flex: 1 1 100%;
		}
}


/* ---------------------------------------------------------*/
/* ----------------------tab-----------------------------------*/
/* ---------------media queries-----------------*/

@media screen and (max-width: 600px){
	.html{
			font-size: 45%;
		}

	.navbar{
			padding-top: 1rem;
					
	}


		.navbar i{
		  display: block;
		  z-index: 5000;
		}

		.menu-btn{
			z-index: 10000;
		}

		#click:checked ~ .menu-btn i:before{
		    content: "\f00d";
		  }

		.navbar ul{
		    top: 9rem;
		    max-height: 0;
		  }

		#click:checked ~ ul{
		    /*left: 0;*/
		    max-height: calc(100vh - 9rem);
		  }		

		.navbar ul li{
		    width: 100%;
		    margin: 1.3rem 0;

		  }
		  .navbar ul li a{
		    width: 100%;
		    margin-left: 0px;
		    padding: 1rem 0;
		    display: block;
		    font-size: 1.6rem;

		    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
		  }
		  #click:checked ~ ul li a{
		    margin-left: 0px;
		  }


		.navbar ul li:hover::after{

			width: 0%;
		}

		.navbar ul li a:hover{
			background:#2f2f2f;
			font-weight: bold;
			color: #eee;

		}

		.content .title h2{
			
			font-size: 2rem;
			

		}

		.content .title p{
			
			font-size: 1.7rem;
			
		}
		.gallerytitle p{
			font-size: 1.7rem;
			word-spacing: normal;
		}
		.mapbox{
			flex-basis: 100%;
			width: 100%;
		}
		.btn{
			margin: 1rem;
		}
		
}

/*      --------------------------------*/

/* -----------------------mobile----------------------------------*/
/* ---------------media queries-----------------*/

@media screen and (max-width: 480px) {

		.html{
			font-size: 35%;
		}

		
		.navbar{
			padding-top: 0.8rem;
			align-items: center;
			justify-content: space-around;			
		}

		.navleft{
			align-items: center;
		}
		


		.navbar i{
		  display: block;
		  z-index: 1000;
		}

		#click:checked ~ .menu-btn i:before{
		    content: "\f00d";
		  }

		.navbar ul{
		    top: 9rem;
		    padding-top: 1rem;
		    left: 0;
		    /*left: -100%;*/
		    overflow-y: hidden;
		    overflow: hidden;
		    max-height: 0;
		   /*max-height: calc(100vh - 10rem);*/
		    width: 100%;
		    text-align: center;
		    display: block;
		    
		    transition: all 0.5s ease;
		  }

		#click:checked ~ ul{
		    /*left: 0;*/
		    max-height: calc(100vh - 9rem);
		    overflow-y: auto;
		  }		

		.navbar ul li{

		    width: 100%;
		    margin: 1.3rem 0;

		  }
		  .navbar ul li a{
		    width: 100%;
		    /*margin-left: -100%;*/
		    margin-left: 0px;
		    padding: 1rem 0;
		    display: block;
		    font-size: 1.6rem;

		    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
		  }
		  #click:checked ~ ul li a{
		    margin-left: 0px;
		  }


		.navbar ul li:hover::after{

			width: 0%;
		}

		.navbar ul li a:hover{
			background:#2f2f2f;
			font-weight: bold;
			color: #eee;

		}
		.contactdetails{
			flex-basis: 100%;
		}

		.srsmap iframe{
			height: 400px;
		}
		.teamcard h3{
			font-size: 2rem;
		}
		
}





