/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #800000; 
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  text-align: justify;
}

td {
  padding-top:10px;
  padding-bottom:10px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
}

heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700
}

name {
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 32px;
  padding-bottom: 100px;
}

name-secondary {
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 18px;
}

due {
  font-family: Verdana, Helvetica, sans-serif;
  font-size: 18px;
  color: red;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.th{
    border-bottom: 1px solid grey;
	padding-left: 10px;
	padding-right: 10px;
	text-align: left;
}
.td-gen{
	border-bottom: 1px solid grey;
	padding-left: 10px;
	padding-right: 10px;
}
.td-num{
	border: 0px solid black;
	text-align: left;
}
week{
    font-weight: bold;
}

.label {
	display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.text-base {
    font-size: 14px !important;
}

.label-lecture {
    background-color: #839192  ;
}

.label-pps {
    background-color: SteelBlue;
}

.label-lab {
    background-color: #EB984E;
}

.label-due {
    background-color: #CD6155;
}

.label-cmd {
    background-color: #807e9b;
    padding-bottom: -10px;
}

.label-function {
    background-color: rgb(115, 147, 179);
}

ol{ padding-left:0; list-style-position:inside; }

/* ============================================================
   MOBILE RESPONSIVE — full overhaul for all sections
   ============================================================ */

/* Base: ensure the outer wrapper never overflows */
body {
  overflow-x: hidden;
}

@media (max-width: 720px) {

  /* ---- Outer wrapper ---- */
  table[style*="max-width:700px"],
  table[style*="max-width: 700px"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 8px !important;
    box-sizing: border-box;
  }

  /* ---- Make ALL tables stack vertically ---- */
  table, tbody, tr, td, th {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  td {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* ---- Intro / Hero section: flex column, image on top ---- */
  .intro-table,
  .intro-table tbody {
    display: block !important;
    width: 100% !important;
  }

  /* Make the <tr> a flex column so we can reorder cells */
  .intro-table tr {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  /* Both <td>s become full-width blocks */
  .intro-table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Image <td> (2nd child in DOM) → move it to the TOP */
  .intro-table td:nth-child(2) {
    order: -1 !important;
    padding-top: 20px !important;
    padding-bottom: 4px !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Profile photo — circular, centered, shadow */
  .intro-table td img {
    display: block !important;
    margin: 0 auto !important;
    width: 120px !important;
    max-width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
    border: 3px solid #f09228 !important;
  }

  /* Name element */
  name {
    font-size: 26px !important;
    padding-bottom: 10px !important;
    display: block !important;
  }

  /* Justify bio text — keep justify on all screen sizes */
  .intro-table p[style*="justify"] {
    text-align: justify !important;
    padding: 0 4px !important;
  }

  /* Links row — wrap nicely */
  .intro-table p[style*="center"] {
    line-height: 2.2 !important;
  }

  /* ---- Section headings ---- */
  heading {
    font-size: 19px !important;
    display: block !important;
  }

  /* ---- Skills table — two-column → single column ---- */
  td[style*="width:30%"],
  td[style*="width: 30%"] {
    width: 100% !important;
    padding-top: 10px !important;
    padding-bottom: 2px !important;
    font-weight: bold;
  }

  td[style*="width:70%"],
  td[style*="width: 70%"] {
    width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 8px !important;
  }

  /* ---- Project / paper rows — number column beside text ---- */
  td[style*="width:15%"],
  td[style*="width: 15%"] {
    display: inline-block !important;
    width: auto !important;
    min-width: 28px;
    vertical-align: top;
    padding-right: 4px !important;
  }

  /* Stack the content next to the number */
  tr > td[style*="width:15%"] + td,
  tr > td[style*="width: 15%"] + td {
    display: inline-block !important;
    width: calc(100% - 40px) !important;
    vertical-align: top;
  }

  /* ---- General text sizing ---- */
  body, td, th, tr, p, a, strong {
    font-size: 14px !important;
  }

  heading { font-size: 19px !important; }
  name    { font-size: 24px !important; }

  /* ---- Reduce vertical padding on all td ---- */
  td {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  /* Padding on section heading rows */
  td[style*="padding:20px"] {
    padding: 16px 12px 6px !important;
  }

  /* ---- Research papers table ---- */
  papertitle { display: block; margin-bottom: 4px; }
}