/* style.css */

:root {
    --primary-color: #af0606;
    --secondary-color: #0000fc;
    --ternary-color: #4B0082;/*#9932CC;*/
    --tertiary-color: #f1f1f1;
    --light-background: rgba(20, 154, 238, 0.87);
    --dark-text: #000;
    --body-font: 'Open Sans', Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--body-font);
    font-weight: 500;
    line-height: 1.5;
    /*background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url("images/portBackground2.jpg");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: var(--light-background);
    color: var(--dark-text);
    display: flex; /* Use flexbox for overall layout */
    min-height: 100vh; /* Ensure body takes full viewport height */
    flex-direction: column; /* Stack elements vertically */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

ac {
    color: var(--ternary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--tertiary-color);
}

header {
  background-color: var(--light-background);
  padding: 20px 0;
  transition: margin-right 0.3s ease; /* For responsiveness */
}

header {
  background-color: var(--light-background);
  padding: 20px 0;
  transition: margin-right 0.3s ease; /* For responsiveness */
}

header .container-fluid {
  display: flex; /* Align items inside the header */
  align-items: center; /* Vertically center image and text */
  justify-content: space-between; /* Center content horizontally */
}

header img {
  height: 75px; /* Adjust logo height */
  width: auto; /* Maintain aspect ratio */
}

header .container-fluid div {
  text-align: center; /* Align both h1 and p in the center */
  flex-grow: 1;
}

header h1 {
  font-size: 2em; /* Adjust font size for heading */
  margin-bottom: 10px; /* Remove default margin */
}

header p {
  margin: 0; /* Remove margin */
  font-size: 1em; /* Adjust font size for paragraph */
}


/* header {
    background-color: --var(--light-background);
    padding: 20px 0;
    text-align: center;
    /*margin-right: 250px; /* Same as sidebar width */
    /*transition: margin-right 0.3s ease; /* For responsiveness */
/*}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

header img {
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
} */

/* Updated Top Navigation Styles */
.top-nav {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /*margin-right: 250px; /* Sidebar width + padding */
  transition: margin-left 0.3s ease; /* For responsiveness */
}

.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.top-nav li {
  margin: 0 10px;
}

.top-nav a {
  color: var(--ternary-color);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.15rem;
  transition: color 0.3s, padding 0.3s;
  padding: 10px 15px;
  border-radius: 5px;
  /* Ensure consistent padding */
  box-sizing: border-box;
}

.top-nav a:hover {
  color: var(--tertiary-color);
  background-color: rgba(0, 0, 0, 0.05);
}

.top-nav a.active {
  border: 2px solid var(--ternary-color);
  border-radius: 5px;
}

/* Remove focus outline from navigation links */
.nav-link:focus {
  outline: none;
  /* Optional: Add alternative focus styles */
  /* border-bottom: 2px solid #007BFF; */
  /* background-color: #f8f9fa; */
}

main {
  background-color: whitesmoke;
  padding: 20px;
  /*margin-right: 250px  Change margin-left to margin-right */
  transition: margin-right 0.3s ease;
  flex: 1; /* Allow main to take up available space */
}

#about {
  line-height: 1.6;
  overflow: auto;
}

#about h2 {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #0056b3;
}

#about hr {
  margin: 20px 0;
  border-top: 2px solid rgba(0, 0, 0, 0.2);
}

.sidenav {
  height: 100%;
  position: fixed;
  top: 0;
  right: 0; /* Change from left: 0 to right: 0 */
  width: 250px;
  background-color: var(--light-background);
  overflow-x: hidden;
  padding-top: 20px;
  padding-right: 20px; /* Change from padding-left to padding-right */
  z-index: 100;
  transition: width 0.3s ease; /* For responsiveness */
}

.sidenav img {
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 150px;
  height: 150px;
  object-fit: cover;
  transition: width 0.3s ease;
}

.sidenav ul {
  list-style: none;
  padding: 0;
}

.sidenav a {
  padding: 10px 15px;
  font-size: 1rem;
  font-weight: 900; /* Use 900 for very bold */
  color: var(--ternary-color);
  display: block;
  transition: color 0.3s;
}

.sidenav a:hover {
  color: var(--tertiary-color);
}

footer {
  background-color: var(--light-background);
  padding: 20px 0;
  /*margin-right: 250px; /* Sidebar width + padding */
  text-align: center;
  transition: margin-right 0.3s ease;
}
/*section for team member photo panel with bio appearing on click of the photo. 
Bio is a side pane that appears on clicking the photo.
It dissappears on clicking elsewhere*/
.team-container {
  margin: 20px;
}
.section-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}
.team-member-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.team-member {
  position: relative;
  margin: 10px;
}
.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  cursor: pointer;
}
.team-member p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px;
  border-radius: 5px;
}
/* Side pane styles */
#bioPane {
  position: fixed;
  right: -100%;
  top: 0;
  height: 100%;
  background-color: lightblue; /* Change this to any color you like */
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transition: right 0.3s ease;
  padding: 20px;
  z-index: 1000;
  width: 300px;
}
#bioPane.show {
  right: 0;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.overlay.show {
  display: block;
}


/* Styles for carousel image on Home page */

.carousel-inner .carousel-item img {
  width: 60%;
  height: 250px;
  margin: 0 auto;
  object-fit: contain;
}


.carousel-caption-outside {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 15px; /* Add padding to avoid overlap with the scrollbar */
}



/* Styles for the map and contact info within the #contact section */
#contact .map-container { /* More specific selector */
    height: 250px; /* Adjust as needed */
    width: 40%;
    float: right;
    box-sizing: border-box; /* Important for padding */
    margin-top: 75px; 
    margin-right: 75px; 
}

#contact .contact-info { /* More specific selector */
    width: 50%;
    float: left;
    padding: 20px;
    box-sizing: border-box;
}

.container-with-heading {
    display: flex; /* Use flexbox for side-by-side layout */
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 20px; /* Space between the container groups */
}

.vertical-heading {
    font-weight: bold;
    font-size: 1.2em;
    padding-right: 10px; /* Space between heading and container */
    white-space: nowrap; /* Prevent heading from wrapping */
    min-width: 100px; /* Adjust as needed */
}

.ticker-container { /* New container for the tickers */
    width: 100%; /* Or a specific width */
    border: 2px solid #ccc; /* Example border style */
    padding: 0px; /* Example padding */
    margin-bottom: 5px; /* Space below the container */
    background-color: rgba(255, 255, 255, 0.2); /* Optional background */
    border-radius: 5px; /* Optional rounded corners */
    overflow: hidden;
    height: 250px; 
    position: relative;
}

.ticker-container.reduced-height {  /* Styles for the reduced height ticker */
    height: 200px; /* Or whatever reduced height you want */
}

.ticker-wrap {
    overflow: hidden;
    height: 100%; /* Important: Takes up full height of container */
}

.ticker {
    white-space: normal;
    background-color: transparent;
    position: absolute;
    top: 0; /* Corrected: top: 0 */
    left: 0;
    will-change: transform;
    width: 100%;
    box-sizing: border-box;
    padding: 10px; /* Padding on the ticker content */
    display: flex;
    flex-direction: column;
    animation: ticker var(--animation-duration) linear infinite; /* Use CSS variable */
}

.ticker__item {
  display: block;
  padding: 5px 0px; /* Adjust vertical padding */
  color: #333;
}

.ticker-wrap .ticker {
    padding: 10px;
    background-color: transparent;
    position: absolute; 
    top: 0;
    left: 0;
    animation: ticker 20s linear infinite;
}

.ticker-wrap:nth-child(1) .ticker { 
  animation-duration: 60s;
}

.ticker-wrap:nth-child(2) .ticker { 
  animation-duration: 5s;
}

.ticker-wrap .ticker:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-100% + var(--container-height))); } /* Key change */
}

.swiper {
    width: 70%; /* Adjust as needed */
    position: relative;
    padding-top: 56.25%; /* Example: 16:9 aspect ratio (9/16 * 100) - Adjust as needed */
    overflow: hidden;
    margin: 20px auto;
}

.swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* or contain */
}

.swiper-pagination {
    bottom: 10px;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--ternary-color); /* Change navigation button color */
}

.swiper-scrollbar {
    background: rgba(0, 0, 0, 0.2);
}

.swiper-scrollbar-drag {
    background: var(--ternary-color);
}

/* Media Queries */
@media (max-width: 992px) {
    body {
        display: block; /* Stack elements vertically */
    }
    
    main {
        margin-right: 0;
        width: 100%;
    }
    
    header {
        margin-right: 0; /* Reset margin on smaller screens */
        width: 100%; /* Reset width on smaller screens */
    }
    
    footer {
        margin-right: 0; /* Remove left margin when sidebar becomes top nav */
        width: 100%; /* Ensure full width */
    }

/* Bio pane side bar*/
/* Responsive styles */

@media (max-width: 600px) {
  #bioPane {
      width: 90%;
      height: 50%; /* Adjust the height for small screens */
      right: -90%;
  }
  #bioPane.show {
      right: 0;
  }
}
 /* .overlay {
      display: block; /* Show overlay for small screens */
      /*height: 60%;*/ /*Allow overlay adjustment for small screens */
/*    }
} */

@media (min-width: 601px) and (max-width: 1200px) {
  #bioPane {
      width: 50%;
      right: -50%;
  }
  #bioPane.show {
      right: 0;
  }
}

/* Caruosel image scaling */

@media (max-width: 600px) {
  .carousel-inner .carousel-item img {
      width: 100%;
  }
}
 /*   .sidenav {
        width: 100%;
        height: auto;
        position: relative;
        top: auto;
        left: auto;
        background-color: var(--light-background);
        padding: 10px;
    }

    .sidenav ul {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .sidenav li {
        margin: 5px;
    }

    .sidenav a {
        text-align: center;
        padding: 10px;
        border: 1px solid transparent;
        border-radius: 5px;
    }

    .sidenav a:hover {
        border-color: var(--tertiary-color);
    }

    .sidenav img {
        width: 100px;
        height: 100px;
    } */

    .top-nav {
        margin-left: 0; /* Reset margin on smaller screens */
        width: 100%; /* Reset width on smaller screens */
    }
    
    #contact .map-container {
        width: 80%;
        /*float: right; /* Changed to right */
    }
    #contact .contact-info {
        width: 80%;
        /*float: left; /* Changed to left */
    }
    /*.clearfix::after {
        content: "";
        display: table;
        clear: both;
    }*/
}

@media (max-width: 768px) {
    .top-nav ul { /* Media query for top nav */
        flex-direction: column;
        text-align: center;
    }

    .top-nav li { /* Media query for top nav */
        margin: 10px 0;
    }

    .top-nav a { /* Media query for top nav */
        display: block;
        padding: 15px;
    }

    main {
        margin-right: 0; /* Reset main margin on small screens */
    }
    
    footer {
        margin-right: 0; /* Ensure it's still 0 even at smaller sizes */
        width: 100%; /* Ensure full width */
        padding: 15px 0; /* Slightly reduce padding on smaller screens */
        font-size: 0.9rem; /* Optionally reduce font size */
    }

    .sidenav ul {
        flex-direction: column;
    }

    .sidenav li {
        margin: 5px 0;
    }

    .sidenav img {
        width: 80px;
        height: 80px;
    }
    
    #contact .map-container {
        width: 80%;
        /*float: right; /* Changed to right */
    }
    #contact .contact-info {
        width: 80%;
        /*float: left; /* Changed to left */
    }
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-background);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.5, 0.5, 0.5, 1); /*ease;*/
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.page-transition.active {
    opacity: 1;
}

.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid var(--ternary-color); /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: grow-spin 2s linear infinite;
}

@keyframes grow-spin {
    0% {
        transform: rotate(0deg) scale(0); /* Start small and rotated */
        opacity: 0;
    }
    50% {
        transform: rotate(360deg) scale(1.2); /* Grow and rotate */
        opacity: 1;
    }
    100% {
        transform: rotate(720deg) scale(0); /* Shrink and rotate */
        opacity: 0;
    }
}

/* ... (Rest of your Academicons CSS) ... */
@font-face {
    font-family: 'Academicons';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src:url('fonts/academicons.eot');
    src:url('fonts/academicons.eot') format('embedded-opentype'),
        url('fonts/academicons.ttf') format('truetype'),
        url('fonts/academicons.woff') format('woff'),
        url('fonts/academicons.svg') format('svg');
}
.ai {
  font-family: 'Academicons';
  font-weight: 400;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}
.ai-academia:before {
  content: "\e9af";
}
.ai-academia-square:before {
  content: "\e93d";
}
.ai-acclaim:before {
  content: "\e92e";
}
.ai-acclaim-square:before {
  content: "\e93a";
}
.ai-acm:before {
  content: "\e93c";
}
.ai-acm-square:before {
  content: "\e95d";
}
.ai-acmdl:before {
  content: "\e96a";
}
.ai-acmdl-square:before {
  content: "\e9d3";
}
.ai-ads:before {
  content: "\e9cb";
}
.ai-ads-square:before {
  content: "\e94a";
}
.ai-africarxiv:before {
  content: "\e91b";
}
.ai-africarxiv-square:before {
  content: "\e90b";
}
.ai-archive:before {
  content: "\e955";
}
.ai-archive-square:before {
  content: "\e956";
}
.ai-arxiv:before {
  content: "\e974";
}
.ai-arxiv-square:before {
  content: "\e9a6";
}
.ai-biorxiv:before {
  content: "\e9a2";
}
.ai-biorxiv-square:before {
  content: "\e98b";
}
.ai-ceur:before {
  content: "\e96d";
}
.ai-ceur-square:before {
  content: "\e92f";
}
.ai-ciencia-vitae:before {
  content: "\e912";
}
.ai-ciencia-vitae-square:before {
  content: "\e913";
}
.ai-clarivate:before {
  content: "\e924";
}
.ai-clarivate-square:before {
  content: "\e925";
}
.ai-closed-access:before {
  content: "\e942";
}
.ai-closed-access-square:before {
  content: "\e943";
}
.ai-conversation:before {
  content: "\e94c";
}
.ai-conversation-square:before {
  content: "\e915";
}
.ai-coursera:before {
  content: "\e95f";
}
.ai-coursera-square:before {
  content: "\e97f";
}
.ai-crossref:before {
  content: "\e918";
}
.ai-crossref-square:before {
  content: "\e919";
}
.ai-cv:before {
  content: "\e9a5";
}
.ai-cv-square:before {
  content: "\e90a";
}
.ai-datacite:before {
  content: "\e91c";
}
.ai-datacite-square:before {
  content: "\e91d";
}
.ai-dataverse:before {
  content: "\e9f7";
}
.ai-dataverse-square:before {
  content: "\e9e4";
}
.ai-dblp:before {
  content: "\e94f";
}
.ai-dblp-square:before {
  content: "\e93f";
}
.ai-depsy:before {
  content: "\e97a";
}
.ai-depsy-square:before {
  content: "\e94b";
}
.ai-doi:before {
  content: "\e97e";
}
.ai-doi-square:before {
  content: "\e98f";
}
.ai-dryad:before {
  content: "\e97c";
}
.ai-dryad-square:before {
  content: "\e98c";
}
.ai-elsevier:before {
  content: "\e961";
}
.ai-elsevier-square:before {
  content: "\e910";
}
.ai-figshare:before {
  content: "\e981";
}
.ai-figshare-square:before {
  content: "\e9e7";
}
.ai-google-scholar:before {
  content: "\e9d4";
}
.ai-google-scholar-square:before {
  content: "\e9f9";
}
.ai-hal:before {
  content: "\e92c";
}
.ai-hal-square:before {
  content: "\e92d";
}
.ai-hypothesis:before {
  content: "\e95a";
}
.ai-hypothesis-square:before {
  content: "\e95b";
}
.ai-ideas-repec:before {
  content: "\e9ed";
}
.ai-ideas-repec-square:before {
  content: "\e9f8";
}
.ai-ieee:before {
  content: "\e929";
}
.ai-ieee-square:before {
  content: "\e9b9";
}
.ai-impactstory:before {
  content: "\e9cf";
}
.ai-impactstory-square:before {
  content: "\e9aa";
}
.ai-inaturalist:before {
  content: "\e900";
}
.ai-inaturalist-square:before {
  content: "\e901";
}
.ai-inpn:before {
  content: "\e902";
}
.ai-inpn-square:before {
  content: "\e903";
}
.ai-inspire:before {
  content: "\e9e9";
}
.ai-inspire-square:before {
  content: "\e9fe";
}
.ai-isidore:before {
  content: "\e936";
}
.ai-isidore-square:before {
  content: "\e954";
}
.ai-isni:before {
  content: "\e957";
}
.ai-isni-square:before {
  content: "\e958";
}
.ai-jstor:before {
  content: "\e938";
}
.ai-jstor-square:before {
  content: "\e944";
}
.ai-lattes:before {
  content: "\e9b3";
}
.ai-lattes-square:before {
  content: "\e99c";
}
.ai-mathoverflow:before {
  content: "\e9f6";
}
.ai-mathoverflow-square:before {
  content: "\e97b";
}
.ai-mendeley:before {
  content: "\e9f0";
}
.ai-mendeley-square:before {
  content: "\e9f3";
}
.ai-moodle:before {
  content: "\e907";
}
.ai-moodle-square:before {
  content: "\e908";
}
.ai-mtmt:before {
  content: "\e950";
}
.ai-mtmt-square:before {
  content: "\e951";
}
.ai-nakala:before {
  content: "\e940";
}
.ai-nakala-square:before {
  content: "\e941";
}
.ai-obp:before {
  content: "\e92a";
}
.ai-obp-square:before {
  content: "\e92b";
}
.ai-open-access:before {
  content: "\e939";
}
.ai-open-access-square:before {
  content: "\e9f4";
}
.ai-open-data:before {
  content: "\e966";
}
.ai-open-data-square:before {
  content: "\e967";
}
.ai-open-materials:before {
  content: "\e968";
}
.ai-open-materials-square:before {
  content: "\e969";
}
.ai-openedition:before {
  content: "\e946";
}
.ai-openedition-square:before {
  content: "\e947";
}
.ai-orcid:before {
  content: "\e9d9";
}
.ai-orcid-square:before {
  content: "\e9c3";
}
.ai-osf:before {
  content: "\e9ef";
}
.ai-osf-square:before {
  content: "\e931";
}
.ai-overleaf:before {
  content: "\e914";
}
.ai-overleaf-square:before {
  content: "\e98d";
}
.ai-philpapers:before {
  content: "\e98a";
}
.ai-philpapers-square:before {
  content: "\e96f";
}
.ai-piazza:before {
  content: "\e99a";
}
.ai-piazza-square:before {
  content: "\e90c";
}
.ai-preregistered:before {
  content: "\e906";
}
.ai-preregistered-square:before {
  content: "\e96b";
}
.ai-protocols:before {
  content: "\e952";
}
.ai-protocols-square:before {
  content: "\e953";
}
.ai-psyarxiv:before {
  content: "\e90e";
}
.ai-psyarxiv-square:before {
  content: "\e90f";
}
.ai-publons:before {
  content: "\e937";
}
.ai-publons-square:before {
  content: "\e94e";
}
.ai-pubmed:before {
  content: "\e99f";
}
.ai-pubmed-square:before {
  content: "\e97d";
}
.ai-pubpeer:before {
  content: "\e922";
}
.ai-pubpeer-square:before {
  content: "\e923";
}
.ai-researcherid:before {
  content: "\e91a";
}
.ai-researcherid-square:before {
  content: "\e95c";
}
.ai-researchgate:before {
  content: "\e95e";
}
.ai-researchgate-square:before {
  content: "\e99e";
}
.ai-ror:before {
  content: "\e948";
}
.ai-ror-square:before {
  content: "\e949";
}
.ai-sci-hub:before {
  content: "\e959";
}
.ai-sci-hub-square:before {
  content: "\e905";
}
.ai-scirate:before {
  content: "\e98e";
}
.ai-scirate-square:before {
  content: "\e99d";
}
.ai-scopus:before {
  content: "\e91e";
}
.ai-scopus-square:before {
  content: "\e91f";
}
.ai-semantic-scholar:before {
  content: "\e96e";
}
.ai-semantic-scholar-square:before {
  content: "\e96c";
}
.ai-springer:before {
  content: "\e928";
}
.ai-springer-square:before {
  content: "\e99b";
}
.ai-ssrn:before {
  content: "\e916";
}
.ai-ssrn-square:before {
  content: "\e917";
}
.ai-stackoverflow:before {
  content: "\e920";
}
.ai-stackoverflow-square:before {
  content: "\e921";
}
.ai-viaf:before {
  content: "\e933";
}
.ai-viaf-square:before {
  content: "\e934";
}
.ai-wiley:before {
  content: "\e926";
}
.ai-wiley-square:before {
  content: "\e927";
}
.ai-zenodo:before {
  content: "\e911";
}
.ai-zotero:before {
  content: "\e962";
}
.ai-zotero-square:before {
  content: "\e932";
}
/*  Duplication of the FontAwesome style classes using 'ai' in place of 'fa'. */
.ai-lg {
  font-size: 1.33333em;
  line-height: 0.75em;
  vertical-align: -.0667em;
}
.ai-xs {
  font-size: .75em;
}
.ai-sm {
  font-size: .875em;
}

.ai-1x {
  font-size: 1em;
}
.ai-2x {
  font-size: 2em;
}
.ai-3x {
  font-size: 3em;
}
.ai-4x {
  font-size: 4em;
}
.ai-5x {
  font-size: 5em;
}
.ai-6x {
  font-size: 6em;
}
.ai-7x {
  font-size: 7em;
}
.ai-8x {
  font-size: 8em;
}
.ai-9x {
  font-size: 9em;
}
.ai-10x {
  font-size: 10em;
}

.ai-fw {
  text-align: center;
  width: 1.25em;
}

.ai-ul {
  list-style-type: none;
  margin-left: 2.5em;
  padding-left: 0;
}
.ai-ul > li {
    position: relative;
}
.ai-li {
  left: -2em;
  position: absolute;
  text-align: center;
  width: 2em;
  line-height: inherit;
}

.ai-border {
border: solid 0.08em #eee;
border-radius: .1em;
  padding: .2em .25em .15em;
}

.ai-pull-left {
  float: left;
}
.ai-pull-right {
  float: right;
}
.ai.ai-pull-left {
  margin-right: .3em;
}
.ai.ai-pull-right {
  margin-right: .3em;
}

.ai-stack {
  display: inline-block;
  height: 2em;
  line-height: 2em;
  position: relative;
  vertical-align: middle;
  width: 2.5em;
}
.ai-stack-1x,
.ai-stack-2x {
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
}
.ai-stack-1x {
  line-height: inherit;
}
.ai-stack-2x {
  font-size: 2em;
}
.ai-inverse {
  color: #fff;
}

.link-icon {
    vertical-align: middle;
    margin-right: 5px;
}

.link-icon.fa {
    font-size: 20px;
    width: 1.25em;
    text-align: center;
}

.link-icon.ai {
    font-size: 20px;
}