/*This website is developed by Anand Prabhakar
He is a Research Scholar at Atmospheric Chemistry and Climate Change Laboratory (AC3), 
School of Civil and Environmental Engineering (SCENE) 
To know more go to https://scene.iitmandi.ac.in/pages/student_details/NTYx
          github - https://github.com/anandprabhakar0507
          Linkedin - https://linkedin.com/in/anand-prabhakar-0507
          Email - dd23017@students.iitmandi.ac.in
*/

*{
  padding: 0;
  font-size: large;
  margin-left: 5%;
  margin-right: 5%;
  box-sizing: border-box;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
html{
  scroll-behavior: smooth;
}
body{
  padding:0;
  background:rgb(255, 255, 255);
  /*background: linear-gradient(to bottom,rgb(131, 156, 204),rgba(207, 235, 233, 0.986), rgb(185, 216, 170), rgb(218, 218, 176),rgb(237, 193, 193));
   */
  margin-left: 10% !important;
  width: 80%;
  float: center !important;
}

header{
  background: rgb(236, 235, 235);
  position: relative;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  float: center;
}

header nav {
  width: 100%;
  padding-top: 10px;
}

header nav ul {
  list-style-type: none;
}



header nav .ll2 li{
  display: inline;
  margin: 0 0 0 0;
  position: relative;
}

#copy{
  background-color: rgba(0, 0, 1, 0.677);
  color: rgb(255, 255, 255);
  font-size: medium;
  float: bottom;
}

li.dropdown div {
  margin-top: 1%;    

}

li.dropdown div ul li {
  margin: 2.5vh 0 0 40%;
  position: static;
  padding: 0px 0 0px 0;
  display: inline-block;
}
li.dropdown div {
margin-left: 20vh;
}

li.dropdown div ul li{
  display: none;
  position: relative;
}
li.dropdown div ul li{
position: absolute; 
}
li.dropdown div ul li a {
width: 17vh;
}
li.dropdown div ul {
margin: 0 0 0 0;
}

li.dropdown:hover div ul li{
  display: block; 
}

li.dropdown:active div ul li{
  display: block;
}


.left img{
  float: left; 
  width: 15vh;
  height: 15vh;
  margin-left: 2%;
  margin-right: 2%;
  margin-top: 15px;
  border-radius: 50%;
}

.right img{float: right; 
  height: 15vh;
  margin-right: 2%;
  margin-top: 15px;
}

@keyframes bulb{
  0% {transform: rotate(2deg) scale(1.01);}
  20% {transform: rotate(-2deg) ;box-shadow: 0 0 15px rgb(165, 169, 182); }
  40%{transform:rotate(4deg) scale(1.1); box-shadow: 0 0 20px rgb(242, 242, 174);}
  60%{transform: rotate(-4deg);}
  80%{transform: rotate(-5deg) scale(1.01); box-shadow: 0 0 20px rgb(144, 195, 124);}
  100% {transform:rotate(5deg) ;}
}

.ll{padding-top: 0px;}

/*
.ll2 li{
  margin-top: 10%;
  
}

.ll2 li a{
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  Color: rgb(146, 0, 0);
  background: rgb(145, 225, 214);
  padding: 10px 10px 10px 10px;
  margin:10% 0% 10px 0%;
  text-decoration: none;
  border-radius: 10px;
  border: 0.5px solid rgb(74, 148, 37);
  
}
*/

.ll2 li a:hover{
  background: rgb(80, 10, 10);
  color: rgb(255, 255, 142);
  padding: 10px 10px 10px 10px;
  margin:10px 0% 10px 0%;
  text-decoration: none;
  border-radius: 10px;
  border: 0.5px solid rgb(255, 244, 89);

}

.cent{
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  margin-left: 2px;
  margin-right: 2px;
  font-weight: bolder;
}

.chief{
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: larger;
  font-weight: bold;
  color: rgb(0, 0, 99);
}

.chief img{
  width: 20vh;
  border-radius: 50%;
  
}
.chief img:hover{
  width: 20vh;
  
}
.chief a{
  text-decoration: none;
  color: rgb(0, 0, 100);
  
}
.fillit{
  background-color: rgb(19, 5, 61);
  width: 100%;
  margin-left:0;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: bolder;
  font-size:larger;
  padding: 1% 1% 1% 1%;
  color: rgb(249, 249, 249);
  border: solid rgb(41, 0, 0) 2px;
}
.normal{
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.normal:hover{
  Color: rgb(100, 8, 8);
}

.int{
  color: rgb(226, 1, 1);
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  text-align:center;
}

.int a{
  text-decoration: none;
  font-weight:lighter;
}
.respa{
  font-weight:bolder;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  text-align: justify;
  padding-left: 13%;
  color:rgb(8, 142, 3);
}
#rese{
  width: 90%;
  font-weight:normal;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size:inherit;
  text-align: justify;
  padding-left: 15%;
}

#rese ul li a img:hover{
  background:rgb(246, 246, 197);
  border-radius: 35%;
}
#top{
  float: right;
  margin-right: 1%;

}
#topbutton{
  background-color: transparent;
  border-color: transparent;
  float: right;
}

.fillito{
  background-color: rgb(242, 242, 163);
  width: 100%;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: bolder;
  font-size:larger ;
  padding: 1% 1% 1% 1%;
  color: rgb(36, 8, 8);
  border: solid rgb(255, 51, 51) 2px;
}

.summ{
  font-weight:normal;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size:inherit;
  text-align: justify;
  padding-left:3%;
  margin-top: 3px;
  width: 95%;
}
.summ ul li{
padding-bottom: 3px;
}
.summ ul li details p{
  font-weight:bold;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size:inherit;
  text-align: justify;
  width: 97%;
  padding-left:3%;
  color:rgb(0, 0, 99);
}
#sp{
  font-weight:normal;
  font-size: small !important;
  text-align: center !important;
  width: 60%;
}

.flat{
  background-color: rgb(4, 37, 55);
  width: 100%;
  margin-left:0%;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: bolder;
  font-size:larger ;
  padding: 1% 1% 1% 1%;
  color: rgb(249, 249, 249);
  text-align: justify;
  border-radius: 0px 5px;
}


details{
  width: 100%;
}

table tr{
  width: inherit;
}
table tr td{
  width: 50%;
}
table tr td img{
  width: inherit;
}

/*
summary {
  list-style-type: '⬇ ';
} 

details[open] > summary {
  list-style-type: '⬆ ';
}
*/
summary {
  list-style-type: none;
} 

details[open] > summary {
  list-style-type: none;
}

.fillitot{
  background-color: rgb(12, 0, 46);
  width: 100%;
  margin-left:0%;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: bolder;
  font-size:larger ;
  padding: 1% 1% 1% 1%;
  color: rgb(241, 255, 245);
  border-radius: 0px 10px;
  border: solid rgb(255, 51, 51) 2px;
  
}

.fox ol li{
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight:lighter;
  font-size: large;
  margin-left: 5%;
  width: 90%;
  text-align: justify;
  color: rgb(9, 9, 44);
}


ul.row{
  width: 100%;
}
li.left{
  margin-right: 0.5%;
}
li.right{
  margin-left: 0.5%;
}


:-webkit-full-screen {
width: 100%;
position: static;
top: 0;

/* webkit keeps the original background color, so reset */
background: none;
}
:fullscreen {
/* not currently needed, but just in case */
width: 100%;
height: 100%;
position:static;
top: 0;

/* keeps correct aspect ratio and full image visible */
-o-object-fit: contain; /* Opera 12.1 */
object-fit: contain;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
  height: 1px;
}

/* Track */
::-webkit-scrollbar-track {
background: #545365; 
}



/* Handle */
::-webkit-scrollbar-thumb {
background: rgb(255, 255, 255);
border: 1px solid rgb(82, 82, 82);

}

/* Handle on hover 
::-webkit-scrollbar-thumb:hover {
  
}

::-webkit-scrollbar-track:hover {
  
}
*/
:-moz-full-screen {
display: flex;
align-items: center;
justify-content: center;
}

:-ms-fullscreen {
display: flex;
align-items: center;
justify-content: center;
}

:fullscreen {
/* set to flexbox to centre imagine inside */
display: flex;
align-items: center;
justify-content: center;
}

:-ms-fullscreen {
width: auto;
height: auto;
margin: auto;
}

div.row div.left{
  margin-right: 0.5%;
  float: left;
}
div.row div.right{
  margin-left: 0.5%;
  float: right;
}

.row {
  width: 60vw;
  align-self: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  display: flex;
  flex-flow: column wrap;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0% 0% 0% 0%;
  padding: 2% 2% 2% 2%;
  background-color: #ffffff47;
  background-image: url('img/iitmlogo.png');
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 30%;
  margin-left: 5%;
  padding: 2% 2% 2% 2%;
}

.column img {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-left: 5px;
  vertical-align: middle;
  float: center;
}

.column img:hover{
  width: 20vh;
}



/* ======================================
Responsive Image gallery Style rules
======================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

  

/* Responsive layout - makes a two column-layout instead of four columns */
/*
@media (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
/*
@media (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
*/

.rowe {
  display: -ms-flexbox; /* IE 10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE 10 */
  flex-wrap: wrap;
  padding: 0 4px;
  margin-left: 20%;
  width: 60%;
}


/* Create two equal columns that sits next to each other */
.columne {
  -ms-flex: 50%; /* IE 10 */
  flex: 30%;
  padding: 0 4px;
}

.columne img {
  margin-top: 8px;
  vertical-align: middle;
}
.lefte{
  float: left;
}
.righte{
  float: right;
}
.mide{
  float: center;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 10px 16px;
  background-color: #f1f1f1;
  font-size: 18px;
}

.btn:hover {
  background-color: #ddd;
}

.btn.active {
  background-color: #666;
  color: white;
}







/*gallery*/
.pswp__bullets-indicator {
  display: flex;
  flex-direction: row;
  align-items: center;

  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 0);
}
.pswp__bullet {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  margin: 0 5px;
}
.pswp__bullet--active { 
  background: green;
}






/* The grid: Four equal columns that floats next to each other */
.columna {
  display: inline-flex;
  width: 60%;
  padding: 2px;
  
}

/* Style the images inside the grid */
.columna img {
  opacity: 0.8; 
  border: 2px solid rgb(12, 18, 10);
}

.columna img:hover {
  opacity: 0.6;
}
/* Clear floats after the columns */
.rowa:after {
  content: "";
  display: table;
  clear: both;
}
.jn{
  list-style-type: none;
  display: inline-flex;
  width: 50vw;

}

/* The expanding image container */
.container {
  position: relative;
  display: none;
  margin-left: 20%;
  width: 60%;
}
.container img{
  border: 2px solid rgb(18, 28, 14);
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  color: white;
  background-color: #a0a0a0b4;
  text-align: justify;
  font-size: 15px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
#imgtext:hover {
  color: white;
  text-align: justify;
  font-size: 15px;
  background-color: black;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Closable button inside the expanded image */
.closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: rgb(0, 0, 0);
  font-size: 35px;
}
.closebtn:hover{
  color: rgb(255, 255, 255);
}


.covr{
background-color: rgba(219, 227, 179, 0.785);
background: rgb(255, 255, 255);
/*background: linear-gradient(90deg, rgba(146, 63, 201, 0.652) 0%, rgba(230, 42, 42, 0.74) 50%, rgba(252,176,69,1) 100%);
*/
}
.tltext{
color: rgb(11, 11, 106);
font-weight:normal;
text-align:justify;
word-spacing: normal;
}

.adt{

color:brown;
font-weight: lighter;
font-size: xx-large;
}

.adt:hover{
color: green;
}

.flip-card {
background-color: transparent;
width: 300px;
height: 300px;
perspective: 1000px;
}

.flip-card-inner {
position: relative;
display: inline-flex;;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

.flip-card-front {
background-color: #bbb;
color: black;
}

.flip-card-back {
background-color: #2980b9;
color: white;
transform: rotateY(180deg);
}

.phd{
background-color: rgba(234, 238, 197, 0.837) !important;
}
.projcor{
  background-color: rgba(234, 238, 197, 0.837) !important;
}
.prof{
  background-color: rgba(234, 238, 197, 0.837) !important;
}

.norm{
background-color:rgba(255, 232, 204, 0.856) !important;
}

.pres{
background-color:bisque !important;
}



.columns img{
margin-bottom: 20px;
}

.mySlides {display:none;}
.contente h4 {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif !important;
}

.national-logos ul li{
flex: 0 0 calc(25% - 20px);
box-shadow: 0 0 15px rgba(0,0,0,.1);
padding: 25px;
list-style: none;
text-align: center;
transition: all .15s;
}
.national-logos ul li:hover{
box-shadow: 5px 5px 25px rgba(212,168,81,.6);}



ul.grid {
  width: 95%;
  display: flex;
  flex-wrap: wrap;
  margin: 2.5vmin;
  list-style-type: none;
}

ul.grid li {
  height: 40vh;
  flex-grow: 1;
  margin: 2vmin;
}

ul.grid li:last-child {
  flex-grow: 10;
}

ul.grid li img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
  border-radius: 0.5vmin;
}



@media (max-aspect-ratio: 1/1) {
  ul.grid li.grid {
    height: 30vh;
  }
}



@media (max-height: 480px) {
  ul.grid li.grid {
    height: 80vh;
  }
}


@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  ul.grid {
    flex-direction: row;
  }

  ul.grid li.grid {
    height: auto;
    width: 100%;
  }
  ul.grid li.grid img {
    width: 100%;
    max-height: 75vh;
    min-width: 0;
  }
}