html {
  background-color: #fafdff;
  background: linear-gradient(to bottom right, #00498aba, #fafdff);
  height: 100%;

  cursor: url(xp_3d_gold.cur), default;
}

html.nighttime {
  background-color: #008042;
  background: linear-gradient(to bottom right, #003768ba, #080042);
}

body {
    height: 100%;
}

div#myName {
  font-size: 2em;
  font-family: "Lucida Console", Courier, monospace;
}

div#mainWindowWrapper {
  font-family: Verdana, Tahoma, Sans-Serif;
  
  display: flex;
  justify-content: center; /*centers items on the line (the x-axis by default)*/
  align-items: center; /*centers items on the cross-axis (y by default)*/

  padding-top: 30px;
}

div#mainWindow {
  max-width: 700px;
  width: 100%;
}

div.trackinfo {
    display: flex;
    flex-direction: column;
}

div#todaysActivity {
    justify-content: space-between;
}

div#bodyContent {
  padding: 5px;
}

/* CV stuff */
div.duration {
    min-width: 80px;
}

div.technologies {
    font-style: italic;
    color: grey;
}

div.roledeets {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

img.workplace {
    height: 40px;
}

ul {
    padding-left: 10px;
    margin-top: 0;
}

div.contactList {
    padding-left: 16px;
    margin-top: 0;
}

div.contactListItem  {
    padding-bottom: 5px;
    font-size: 1.2em;
    display: flex;
}

img.clIcon {
    max-height: 20px;
    width: 20px;
}

a.clUrl {
    margin-left: 10px;
}

div.rep {
  background: #202020;
  border-radius: 5px;
}

img.evm {
    height: 30px;
}

/* end CV */

h4 {
    margin: 0;
}
 h4.subtitle {
    margin-bottom: 8px;
 }

img#imgMjbNotepaper {
/*    max-width: 350px; */
    max-width: 100%;
}

div#rightsideWrap {
    margin-left: 10px;
}

p.quot {
  font-style: italic;
  text-align: center;
  margin-top: 2px;
}

div.homeTextWrap {
    margin-right: 10px;
}

/* override xpcss */
progress.progBarMax {
    width: 100%;
    margin-top: 15px;
}

.window-body {
  font-size: 13px;
}

[role="tabpanel"] {
    min-height: 480px;
}
div.tabContentWrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

div.portfolioHeader {
    min-height: 78px;
}

div.portfolioGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    clear: both;
}

fieldset.portfolioItem {
    min-width: 0;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

img.portfolioIcon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 5px;
}

fieldset.portfolioItem h4 {
    margin: 0 0 8px;
}

p.portfolioPlaceholder {
    color: #666;
    margin: 0 0 10px;
    flex: 1;
}

div.portfolioMeta {
    width: 100%;
    justify-content: space-between;
    color: #666;
    font-size: 11px;
    margin-bottom: 10px;
}

section.portfolioDetail fieldset {
    min-height: 220px;
}

section.portfolioDetail h4 {
    margin-top: 4px;
}

img.smlIcon {
    height: 50px;
    float: right;
}

div.desktopIconWrap {
    flex-direction: column-reverse;
    display: flex;
    position: absolute;
    bottom: 0;
}

div.desktopIcon {
    width: 40px;
    text-align: center;
    cursor: url(xp_pointer.cur), pointer;
    color: white;
    text-shadow: 1px 1px 3px #000;
}

p.iconText {
    margin-top: 0px;
}
img.desktopIconImg {
    height: 40px;
}

button {
    cursor: url(xp_pointer.cur), pointer;
}

@media (max-width: 620px) {
    div.portfolioGrid {
        grid-template-columns: 1fr;
    }
}
