/*
    Theme Name: IAISS 2026 (child of Sparkling)
    Description: A sub-theme for IAISS 2026 site
    Template: sparkling
    Author: Mario Di Raimondo
*/

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #DA4453;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
}

.post-12 .page-header {
  display: none;
}

.post-12 .entry-content {
  margin-top: 0;
}

.post-12 .entry-content h3, .post-12 .entry-content h4 {
  text-align: center;
}

/*.fa-li {
    top: 0.35em;
}*/

/* hide the author of the news */
.single .byline {
  display: none;
}

/* fix to priority of well-sm in Sparkling Bootstrap theme */
.well-sm {
  padding: 9px;
  border-radius: 3px;
}

#secondary .widget {
  color: #000000;
}

#secondary .widget .btn{
  color: #FFFFFF;
}

#secondary .widget .social-icons a {
  color: #6B6B6B;
}

#secondary .widget .social-icons li a:hover {
  background-color: #FFFFFF !important;
}

.widget-smaller-text, .widget-smaller-text li {
  font-size: 90%;
}

#menu-social li a[href*="reddit.com"] .fa:before{font-family: 'Font Awesome\ 5 Brands'; content:"\f281"}

.social-icons li a {
  background-color: #FFFFFF;
  color: #6B6B6B;
  font-size: 28px;
}

#primary .social-icons li a:hover {
  background-color: #FFFFFF !important;
}

#news-list ul{
  list-style-type: none;
}

#news-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px
}

#news-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  font-family: FontAwesome;
  content: "\f1ea";
}

.deadline-box {
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}

.deadline-box p {
  text-align: center;
}

.subbar {
  text-align: center;
  color: #EEEEEE;
  padding-bottom: 12px;
  font-size: small;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subbar .subtitle {
  font-style: oblique;
  font-size: small;
}

.site-header .entry-content {
  margin: 0px;
}

.person-cards-holder {
  text-align: center;
  padding: 10px;
}

.person-small-card {
  float: none;
  display: inline-block;
  text-align: center;
  padding: 10px;
  vertical-align: top;
}

.person-small-card img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.person-small-card .fullname {
  font-weight: bold;
}

.person-small-card .affiliation {
  font-style: italic;
  font-size: smaller;
}

.person-big-card {
  /*float: none;
  display: inline-block;*/
  text-align: center;
  padding: 10px;
  vertical-align: top;
}

.person-big-card a {
  color: #6B6B6B;
}

.person-big-card img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.person-big-card .fullname {
  font-weight: bold;
}

.person-big-card .affiliation {
  font-style: italic;
  font-size: smaller;
}

.person-big-card .biography {
  text-align: left;
  font-size: smaller;
}


.ms-my-container {
  position: relative;
  /* border: 1px solid transparent; */
  border-radius: 2px 0 0 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hp-claim{
  font-style: italic;
  line-height: 150%;
}

a.anchor {
  display: block;
  position: relative;
  top: -180px;
  visibility: hidden;
}

.event-time {
  padding-top: 30px;
}

/*.plenary-title, .session-title {
  font-weight: bold;
  display: inline-block;
}*/

/*.plenary-room, .session-room {
  display: inline-block;
  float: right;
  padding-right: 20px;
}*/

/*.plenary-chair, .session-chair, */
.event-speaker {
  display: inline-block;
  padding-right: 20px;
}

/*.plenary-chairs, .session-chairs, */
.event-speakers {
  min-height: 35px;
  /* float: left; */
}

/*.plenary-chair img, .session-chair img, */
.event-speaker img {
  border-radius: 50%;
  vertical-align: text-bottom;
}

/*.filler-title,*/
.event-title {
  font-weight: bold;
  font-style: italic;
  display: inline-block;
}

.event-title a {
  color: #6B6B6B;
}

.event-title .event-label {
  font-style: normal;
}

.tab-content .event-daily-scheduling {
  padding: 10px;
}

.grecaptcha-badge { opacity:0 !important; }
.page-id-160 .grecaptcha-badge { opacity:100 !important; }
.page-id-467 .grecaptcha-badge { opacity:100 !important; }

/* hack to fix "Bootstrap for Contact Form 7": https://wordpress.org/support/topic/bootstrap-for-contact-form-7-creating-empty-alert-boxes/ */
.wpcf7-response-output { display: none; }

.hidden { display: none; }

.walloffame-picture {
  display: inline-block;
  padding: 0px 5px;
}
.walloffame-picture img{
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

li {
  padding-bottom: 10px;
}

.footer-declaration {
    margin-top: 10px;
    float: left;
    text-align: left;
}

#menu-social li a[href*="x.com"]::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;

    background-color: currentColor; 

    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M357.2 48L427.8 48 273.6 224.2 455 464 313 464 201.7 318.6 74.5 464 3.8 464 168.7 275.5-5.2 48 140.4 48 240.9 180.9 357.2 48zM332.4 421.8l39.1 0-252.4-333.8-42 0 255.3 333.8z"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M357.2 48L427.8 48 273.6 224.2 455 464 313 464 201.7 318.6 74.5 464 3.8 464 168.7 275.5-5.2 48 140.4 48 240.9 180.9 357.2 48zM332.4 421.8l39.1 0-252.4-333.8-42 0 255.3 333.8z"/></svg>');
    
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}