@import url(https://fonts.googleapis.com/css?family=Open+Sans);

body {
  font-weight: 300;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}

.container-fluid {
  margin-left: 1%;
  margin-right: 1%;
}

a,a:hover {
  color: #0C3EE5;
}

p {
  margin: 0 0 1em;
}

.label-yan {
  background-color: #0C3EE5;
}

/* bootstrap properties */

#yannav {
  background-color: #0E2366;
  background-image: none;
  background-repeat: no-repeat;
  filter: none;
  border-color: #777777;
}

#yannav .navbar-brand {
  color: #FFFFFF;
  font-size: 2.5em;
  font-family:'Open Sans', sans-serif;
  font-weight: 400;
}

#yannav .navbar-brand a {
  color: #FFFFFF;
}

#yannav .navbar-brand a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

#SI-Logo {
  margin: 10px;
}

.navbar-brand,.navbar-nav li a {
  line-height: 1.5em;
  height: 1.5em;
  padding-top: 0;
}

.nav-list > .active > a,
.nav-list > .active > a:hover {
  background-color: #0E2366;
}

.lead {
  font-size: 19px;
}

#Yan-img {
  vertical-align: middle;
  margin: 0 auto;
}

.TeamMembersNames {
  text-align: center;
}

@media(max-width:992px){
  #Yan-img {
    max-width: 70%;
  }

/*  #LeftPanel {
    text-align: center;
  }

*/  .TeamMembersNames {
    font-size: 13px;
    text-align: center;
  }
}

.text-success {
  font-variant:small-caps;
}

.label {
  font-weight: normal;
}

.paperimage {
  /*border: 1px solid #787878;*/
  width: 100%;
  overflow: hidden;
}

.papers .old {
  display: none;
}

.papers .paper-row {
  margin-top: 2em;
  vertical-align: top;
  padding-left: 0px;
}

.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

.vital-info .img-inline {
  display: inline-block;
  margin: 4px 10px 0px 4px;
}

.vital-info .Address-DIV {
  margin-left: 19px;
}

.olddate, .olddate a {
  color: #AAAAAA;
}

.faq {
  text-align: justify;
}

.bio {
  margin-top: 15px;
}

.btn-link {
    padding: 2em 0px 2em 0px;
    color: #0C3EE5;
}

.past-course {
    display: none;
}

.award {
 /* more in label-yan */
 margin-right: 10px;
}



.papers-preamble {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-left: 5px solid #007bff;
}


/* .paper-tag {
  display: inline-block;
  padding: 3px 8px;
  margin: 2px 4px;
  font-size: 13px;
  color: #333333;
  border: 1px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
} */

/* .paper-tag:hover {
  background-color: #f0f0f0;
} */

.paper-tag {
  display: inline-block;
  padding: 2px 6px;
  margin: 2px 4px;
  font-size: 14px;
  color: #666666;
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  font-weight: 300;
  text-decoration: none;
  background-color: transparent;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  cursor: pointer;
  
  /* Transition effects - add prefixes for all major browsers */
  -webkit-transition: color 0.2s ease-in-out;
  -moz-transition: color 0.2s ease-in-out;
  -ms-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  
  /* Ensure text rendering is crisp */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Prevent text selection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Fallback for browsers that don't support transition */
.paper-tag:hover,
.paper-tag:focus {
  color: #0C3EE5;
  background-color: transparent;
  outline: none;  /* Remove focus outline */
}

/* Better interaction experience for touch devices */
@media (hover: hover) {
  .paper-tag:hover {
    color: #0C3EE5;
  }
}

/* Alternative style for devices that don't support hover */
@media (hover: none) {
  .paper-tag:active {
    color: #0C3EE5;
  }
}
