body {
   font-family: 'Roboto', sans-serif;
    background: #f4f4f4;
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-y:scroll;
}

@font-face {
    font-family: colfax; 
    src: url('fonts/Colfax-Regular.otf');
}

@font-face {
    font-family: RobotoBold; 
    src: url('fonts/Roboto-Bold.ttf');
}

#search{
    position: absolute;
    right: 105px;
    top: 15px;
    border-radius: 30px;
    padding: 5px 5px;
}

.iconse{
    position: absolute;
    right: 115px;
    top: 23px;
}

.nav{
    text-align: center;
    padding: 9px 0px 50px 0px;
    background-color: #333333;
    margin-bottom: 0px;
    box-shadow: 1px 1px 1px #888888;
}

.prof{
    position: absolute;
    right: 20px;
    top: 15px;
}

.nav a{
    padding-top: 10px;
    padding-left: 10px;
    float: left;
    text-decoration: none;
}

/* This shared and recent*/
ul {
  list-style: none;
  text-align: center;
  font-family: colfax;
}

ul li {
  display: inline-block;
}

ul li a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #66676b;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 10px;
}
/* End of shared and recent*/

.center {
  text-align: center;
}

section {
  height: 100vh;
}

/* NAVIGATION */
nav ul {
    list-style: none;
    text-align: center;
    top: 0;
    float: left;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  display: block;
  padding: 0px;
  padding-bottom: 5px;
  text-decoration: none;
  color: #f4f4f4;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 10px;
  font-family: colfax;
}

nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: #cccccc;
}


/* stroke */
nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
  top:-15px;
}
nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #aaa;
  height: 1px;
}
nav.stroke ul li a:hover:after {
  width: 100%;
}

nav.fill ul li a {
  transition: all 2s;
}

nav.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}
nav.fill ul li a:hover {
  color: #fff;
  z-index: 1;
}
nav.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}

/*PROF DETAILS*/
.upperCon{
    width:950px;
    height:190px;
    text-align: center;

    margin: 0 auto;
    position: relative;
}

.profPic{
    width: 150px;
    height: 150px;
    
    position: absolute;
    top:20px;
    right:600px;
}

.username{
    color: #333333;
    font-family: RobotoBold;
    font-size: 25px;
    
    position: absolute;
    top: 40px;
    right:445px;
}

.profDesc{
    color: #333333;
    font-family: colfax;
    font-size: 15px;
    
    position: absolute;
    top:70px;
    left:370px;
}


/* PROF DETAILS*/

/* Start of Gallery*/
.modal-content::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 5px;
	background-color: #F5F5F5;
}

.modal-content::-webkit-scrollbar
{
	width: 0px;
	background-color: #F5F5F5;
}

.modal-content::-webkit-scrollbar-thumb
{
	border-radius: 5px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: lightgray;
}

.gallery {
    position: relative;
    text-align: center;
    padding: 0% 10%;
}

.galDiv {
    display: inline;
    position: relative;
}

.imgGallery {
    width: 300px;
    height: 300px;
    padding: 10px;
}

    /* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
}

    /* Modal Content */
.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    height: 80%;
    width: 57%;
    background-color: white;
}

.mySlides {
    display: none;
    width: 55%;
    height: 100%;
    text-align: center; 

    position: absolute;
    left: 0;
    background-color: black;
}

.image {
    max-height: 100%;
    max-width:100%;
    position:absolute;
    margin:auto;
    top:0;
    bottom:0;
    left: 0;
    right: 0;
}

.cursor {
    cursor: pointer
}

img {
    margin-bottom: -4px;
}

.caption-container {
    width: 40%;
    height: 93%;
    
    position: absolute;
    right: 20px;
    top: 20px;
}

.photoUser{
    width: 50px;
    height: 50px;
}

.by {
    font-family: RobotoBold;
    color: #3658aa;
    margin-left: 10px;
    margin-top: 15px;
    position: absolute;
}

.line{
    margin-top: 20px;
    width: 100%;
    height: 3px;
    background-color: #c8c8c8;
}

.inner-caption-container{
    width:100%;
    height: 85%;
}

.title {
    margin: 20px 0px;
    font-size: 20px;
    font-family: RobotoBold;
    color: black;
}

.desc {
    margin: 5px 0px;
    display: inline;
    font-family: colfax;
    color: #333333;
}

.tags {
    margin: 5px 0px;
    display: inline;
    font-family: colfax;
    color: #633584;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.galDiv:hover .button {
  opacity: 1;
}

.overlay {
    width: 280px;
    height: 280px;
    padding: 10px;
    position: absolute;
    top: -291;
    left: 10;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease;
}

.galDiv:hover .overlay {
  display: block;
  background: rgba(0, 0, 0, 0.3);
}

a{
    text-decoration: none;
}