@import "//icons.uhoreg.ca/fileicons/fileicons.css";
@import "//icons.uhoreg.ca/siteicons/siteicons.css";
@import url('https://fonts.googleapis.com/css2?family=Rosario:ital,wght@0,400;0,700;1,400;1,700&family=Share:wght@700');
/*@import "//static.uhoreg.ca/font-awesome/font-awesome.min.css";*/
@font-face {
  font-family: 'FontAwesome';
  src:  url('fonts/icomoon.eot?aaydih');
  src:  url('fonts/icomoon.eot?aaydih#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?aaydih') format('truetype'),
    url('fonts/icomoon.woff?aaydih') format('woff'),
    url('fonts/icomoon.svg?aaydih#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
/*@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css";*/

html {
  font-family: 'Rosario', sans-serif;
}

@media screen {
  html {
    /*height: 100%;*/
    color: #000;
    background-color: #efd177;
    display: flex;
    justify-content: center;
  }

  body {
    /*font-size: 1.6rem;*/
    min-height: 100vh;
    padding: 0;
    margin: 0;
    display: grid;
  }

  body > main {
    grid-area: main;
    background-color: #eee6bb;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.4);
  }

  body > aside {
    grid-area: nav;
  }

  body > footer {
    grid-area: footer;
  }
}

body > main {
  border-bottom: 2px solid;
  border-color: #c79c4c;
  padding: 1ex;
}

body > aside {
  padding: 1ex;
}

body > footer {
  font-size: smaller;
  padding: 1ex;
  padding-bottom: 0;
}

body > footer p {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Headers *******************************************************************/
h1.pagetitle {
  background-image: url(/images/hubertchathi-trans-fs8.png);
  background-repeat: no-repeat;
  background-position: 0px 1.4ex;
  font-family: 'Share', monospace;
  font-weight: bold;
  font-size: xx-large;
  margin-top: -1.4ex;
  padding-top: 50px;
  margin-right: 0px;
  padding-left: 1ex;
  border-width: 0px 0px 2px 0px;
  border-style: none none solid none;
  border-color: #c79c4c;
  color: #634314;
}
h2:before, h3:before {
  content: ".:";
  color: #c79c4c;
  font-family: 'Share', sans-serif;
}
h1, h2, h3, h4, h5 {
  color: #634314;
}
dl.profile dt {
  font-weight: bold;
  /*display: compact;*/
}

/* Sidebar *******************************************************************/
#avatar {
  float: left;
  margin-right: 1ex;
  transform: rotate(-7deg);
  -moz-transform: rotate(-7deg);
  -o-transform: rotate(-7deg);
  -webkit-transform: rotate(-7deg);
  -ms-transform: rotate(-7deg);
  background: white;
  border: 1px solid black;
  margin-left: -10px;
  margin-top: -5px;
  padding: 3px;
  /*box-shadow: 3px 3px 10px -4px black;*/
  box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
}
#sidebarvcard {
  min-height: 108px;
}
#sidebarvcard-email:before {
  content: "\f0e0";
  color: #634314;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  margin-right: 0.25em;
}
#sidebarvcard-im:before {
  content: "\f0e6";
  color: #634314;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  margin-right: 0.25em;
}
#sidebarvcard-social:before {
  content: "\f0c0";
  color: #634314;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  margin-right: 0.25em;
}
#sidebarvcard i.fa-key {
  color: #634314;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  display: inline-block;
}

#sidebarvcard i.fa-key:before {
  content: "\f084";
}

.sidebarbox {
  margin-bottom: 0.5rem;
}
.sidebarbox > h2 {
  font-size: 1em;
  margin: 0;
}
.sidebarbox + .sidebarbox {
  border-style: solid none none none;
  border-width: 2px 0px;
  border-color: #c79c4c;
}
.sidebarbox.vcard {
  font-size: smaller;
}
.sidebarbox.vcard .fn {
  font-weight: bold;
}
.sidebarbox.vcard a {
  text-decoration: none;
}
.sidebarbox.vcard a img {
  border: none;
}
.sidebarbox ul {
  padding-left: 1.5em;
  margin: 0px;
}
#menu > ul {
  padding-left: 0em;
  margin-left: 0px;
}
#menu > ul > li {
  font-weight: bold;
  display: block;
}
#menu > ul > li > ul > li {
  font-weight: normal;
}

@media screen and (max-width: 50rem) {
  body {
    width: 100%;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 1fr auto auto;
    grid-template-areas: "main" "nav" "footer"
  }
  #menu > ul {
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 50rem) {
  body {
    width: 100%;
    max-width: 78rem;
    display: grid;
    grid-template-columns: 1fr 18rem;
    grid-template-rows: 1fr auto;
    grid-template-areas: "main nav" "footer footer"
  }
  body > main {
    border-right: 2px solid;
    border-color: #c79c4c;
  }

}
@media screen and (min-width: 78rem) {
  html {
    justify-content: right;
  }
  body {
    width: 100%;
    max-width: 78rem;
    display: grid;
    grid-template-columns: 1fr 18rem;
    grid-template-rows: 1fr auto;
    grid-template-areas: "main nav" "footer footer"
  }
  body > main {
    border-left: 2px solid;
    border-color: #c79c4c;
  }
}

@media screen and (min-width: 85rem) {
  html {
    justify-content: center;
  }
  body {
    width: 85rem;
    display: grid;
    grid-template-columns: 7rem 60rem 18rem;
    grid-template-rows: 1fr auto;
    grid-template-areas: ". main nav" ". footer footer";
    justify-content: center;
  }
  body > main {
    border-left: 2px solid;
    border-color: #c79c4c;
  }
}

@media print {
  html {
    color: #000;
    background-color: #fff;
  }
  body > main {
    background-color: #fff;
  }
  body > aside {
    display: none;
  }
}

/* subpages ******************************************************************/
.subpage+.subpage {
  border-top: dotted 1px black;
}

/* Blog **********************************************************************/
.blogdate {
  background-color: inherit;
  float: right;
  color: #634314;
  font-weight: bold;
  margin-left: 1em;
}
.blogtopic:before {
  content: "(" !important;
}
.blogtopic:after {
  content: ")" !important;
}
.blogtopic {
  background-color: inherit;
  float: right;
  clear: right;
  color: #634314;
  font-size: smaller;
  margin-left: 1em;
}
.blogtime:before {
  content: "[posted: " !important;
}
.blogtime:after {
  content: "]" !important;
}
.blogtime {
  background-color: inherit;
  color: #634314;
  font-weight: bold;
  font-size: smaller;
}
.permalink:before {
  content: "[" !important;
}
.permalink:after {
  content: "]" !important;
}
.commentslink, .permalink {
  font-size: smaller;
  text-decoration: none;
}

/* Album *********************************************************************/
.albumlist {
  padding-left: 2em;
  margin-left: 0px;
  list-style: none;
}
.albumthumb {
  vertical-align: middle;
  border-width: 1px;
  border-color: #7f7f7f;
  margin-right: 1em;
  margin-top: 0.5ex;
}
.thumbnail {
  vertical-align: middle;
  margin-top: 2px;
  margin-bottom: 2px;
}
#photonavbar {
  width: 100%;
  overflow: auto;
  border: solid #c79c4c;
  border-width: 1px 0px;
  padding: 1ex;
  white-space: nowrap;
  margin-left: -1ex;
  margin-right: -1ex;
  list-style: none;
}
#photonavbar li {
  display: inline;
}
/* hide file icon */
#photonavbar a:after {
  display: none !important;
}
.imagecontainer {
  width: 100%;
  overflow: auto;
}
#imagebrowsenav {
  margin: 1ex;
  text-align: center;
}
#imageprev:before {
  content: "< ";
}
#imagenext:after {
  content: " >";
}
#imageprev, #imagenext {
  text-decoration: none;
  color: black;
  background-color: #cccccc;
  padding-left: 2px;
  padding-right: 2px;
  border-width: 2px;
  border-style: solid;
  border-color: white #7f7f7f #7f7f7f white;
}
a[href="javascript:;"] {
  color: #7f7f7f !important;
}

/* microformats **************************************************************/
a.include {
  display: none;
}

abbr.updated, abbr.dtstart, abbr.dtend, abbr.region {
  text-decoration: inherit;
  border: 0;
}

/* hCard *********************************************************************/
.mainvcard .fn {
  font-weight: bold;
  font-size: x-large;
}

.mainvcard .org {
  font-weight: bold;
}

.mainvcard .descr {
  font-weight: bold;
}

/* hResume *******************************************************************/
.hresume .period {
  float: right;
}
.hresume .period:before {
  content: "("
}
.hresume .period:after {
  content: ")"
}
.hresume .edudegree {
  font-weight: bold;
}
.hresume .vevent {
  margin-top: 2ex;
}
.hresume .experience .title {
  font-weight: bold;
}
.hresume ul {
  margin-top: 0;
  margin-bottom: 0;
}
/* hide site icons */
.hresume a:before {
  display: none;
}

/* org files *****************************************************************/
.todo, .deadline {
  color: red;
}
.done {
  color: green;
}
.timestamp-kwd, .tag {
  color: #634314;
}
.tag {
  font-size: smaller;
}
.tag:before {
  content: "(";
}
.tag:after {
  content: ")";
}
.timestamp {
}

/* Footer ********************************************************************/
#flag {
  float: left
}
#pageinfo {
  font-size: smaller;
  margin-top: 0px;
  padding-top: 1ex;
  width: 100%;
  border-color: #c79c4c;
}
#pageinfo p {
  margin-top: 0px;
  margin-bottom: 0px;
}
