/*this file is actually three parts, first general, then mobile, then desktop*/
header {
	width:100%;
	height:45px;
	margin-top:0px;
	text-align:center;
	background-color:#182B49;
	position:fixed;
	z-index:2;
}
div.navleft a:link,div.navleft a:visited,div.navright a:link,div.navright a:visited {
	color:#FFFFFF;
	text-decoration:none;
}
div.navright a:hover {
	text-decoration:underline;
}
div.navleft a:hover {
	text-decoration:underline;
}
div.header {
	line-height:45px;
}
div.navleft {
	float:left;
	padding-left:90px;
	font-size:1.4em;
	font-weight:600;
}
div.navright {
	float:right;
	padding-left:20px;
	padding-right:20px;
	font-size:1.2em;
}
div.container a {
	/*for both web and mobile, change at hugo.css*/
	color:#0000AA; 
	text-decoration:none;
}
div.container a:hover {
	text-decoration:underline;
}
body {
	font-family:'Lato',Verdana,Helvetica,sans-serif;
	font-size:16px;
	background-color:#FFFFFF;
	color:#4F6371;
}
h1 {
	font-weight:300;
	font-size:2rem;
}
#header {
	background-color:#FFFFFF;
	display:flex;
	align-items:flex-end;
	padding-top:60px;
	padding-bottom:60px;
}
#footer {
	background-color:#FFFFFF;
	padding:60px;
}
#portrait {
	border:3px solid white;
}
#portrait-student {
	width:80px;
	border:1px solid white;
	border-radius:150px;
}
#header-text {
	margin-top:60px;
	margin-left:220px;
}
#header-text-name {
	color:#000000;
	font-size:40px;
	font-weight:500;
}
.header-text-email {
	font-size:20px;
	font-style:italic;
}
.header-text-desc {
	font-size:20px;
}
.vspace-top {
	margin-top:30px;
}
.vspace-top-news {
	margin-top:15px;
}
.paper-image {
	width:150px;
}
.news-date {
	font-weight:bold;
}
.news-date-red {
	color:#4b1010;
	font-weight:bold;
}
.text-red {
	color:#4b1010;
}
.paper-title {
	font-weight:bold;
}
.paper-highlight {
	color:#691616;
}
div.paper-author a {
	color:#777777;
	font-weight:500;
}
span.author.sx {
	color:#000000;
	font-weight:600;
}
/* text-decoration:underline;}*/
div.paper-author a:hover {
	text-decoration:underline;
}
@media screen and (max-width: 749px) {
  .navbar-header {
    padding: 0 10px;
  }
  #profile {
    margin-top: 20px;
  }
  .container h3 {
    word-break: break-all;
  }
  .container h3 span:nth-child(1) {
    display: none !important;
    width: 0 !important;
  }
  .col-sm-3 {
    padding: 0;
  }
  .row.vspace-top {
    margin-left: 0 !important;
    width: 100%;
    /*padding: 0 15px 15px 15px;*/
    margin-bottom: 50px !important;
  }
  .col-sm-3 {
    margin-right: 0 !important;
    margin-bottom: 0px;
  }
  #publications {
    /*padding: 0 15px 0 15px;*/
  }
  #top {
    margin: 0;
  }
  .container {
    padding: 0;
  }
  .col p, .col h4 {
    margin-left: 0 !important;
  }
  .col-sm-3 img {
    width: 100%;
  }
  #navbar-collapse-1 .nav-item {
    margin-left: 20px;
  }
  #bio, #News, #publications, #Reviewing {
    margin-bottom: -100px; /* Adjust this value to increase or decrease the space */
  }
}



@media screen and (min-width: 750px) {
  .vspace-top {
    display: flex;
    align-items: center;
    margin-left: 12.1% !important;
    margin-top: 24px !important;
  }
  .col-sm-3 {
    width: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 4px !important;
  }
  .col-sm-3 img {
    width: 230px !important;
    max-width: none !important;

    /*this solved the problem of not aligning with papers with too many authors, when zoomed in on desktop*/
    min-width: 200px !important;
    max-height: 140px !important;
  }

}

/*maybe: make section titles a little right.*/
/*align p text on mobile*/
/*i just found i can just zoom in and debug on desktop for mobile*/

