/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}
[id*="content"] {
  width: 100%;
}

@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
  
  #content {width: 50%;}
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
  
  #content {width: 50%;}
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

html { 
    line-height: 1.5;
}

html, body, h1, h2, h3, h4, h5, h6 {
    font-family: "Source Sans Pro", "Trebuchet MS", Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.45;
    font-family: "Hack", "Lucida Console", Monaco, monospace;
}


h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

.header {
  background-color: #fff;
  color: #333;
  padding: 15px;
  text-align: center;
}

.header h1 {
    font-size: 50px;
    font-family: "Hack", Monospace;
}

/* Style the top navigation bar */
.topnav {    
  background-color: #fff;
  font-family: "Hack", Monospace;
  top: 0;
  position: -webkit-sticky;
  position: sticky;
}

.topnav ul {
    list-style:none;
    margin:0;
    padding:0;
    text-align:center;
    font-size: 0; 		/*in to avoid a "whitespace" between the topnav elements. */
}

.topnav li {
    display: inline;
    font-size: 14px;
}

.active {
  background-color: #bbb;
}

/* Style the topnav links */
.topnav a {
  display:inline-block;    
  padding: 14px 16px;
  color: #333;  
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.menu ul {  
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: "Hack", Monospace;  
}

.menu li {    
  padding: 8px;
  margin-bottom: 7px;
  background-color: #fff;
  color: #333;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.menu a {
    text-decoration: none;
    
}

.menu li:hover {
  background-color: #ddd;
}

.stickylocation {
    top: 0;
    position: -webkit-sticky;/* Safari */
    position: sticky;
}

 /* If the browser window is smaller than 600px, make the columns stack on top of each other */
@media only screen and (max-width: 600px) {
    .stickylocation, .topnav{
	position: relative;
    }
} 

.sidebar {
    /* position: fixed; */
}

.lside, .rside {
  background-color: #fff;
  padding: 15px;
  color: #333;
  text-align: center;
  font-size: 14px;
  margin-bottom: 7px;
  /* box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);       */
  overflow: hidden;
}

.skill-card {
    margin: auto;
    margin-bottom: 1.5em;    
    width:90%;
    padding: 10px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.dw3-card {
    padding: 7px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.dw3-margin-bottom {
    margin-bottom: 16px;
}

.dw3-container, .dw3-panel {
    padding: 0.01em 16px;
}

p a {
    color: #000;
    text-decoration: none;
}

.cvdate_place {
    color: #999;
}

.footer {
    background-color: #fff;
    color: #999;
    text-align: center;
    font-size: 12px;
    padding: 15px;
}

/* stuff for org-blog */
#content {    
    margin-left: auto;
    margin-right: auto;    
}

#content a {
text-decoration: none;
}

.post-date, .taglist a {
    color: #999;
}

#archive a{
    color: #999;
}

.status a {
    text-decoration: none;
    color: #333;
}

.status {
    color: #999;
}

.post-title a {
    font-size: 24px;
    color: #000;
}

.example, .org-src-container {
    padding: 7px;
    background-color: rgba(0,0,0,0.1);    
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.5),0 2px 10px 0 rgba(0,0,0,0.12);
}

code {    
    background-color: #eee;
    padding: .1rem .3rem .2rem;
    border-radius: .2rem;
}

#content p a {
    color: #888;
}

.taglist {
    color: #999;
}

.outline-2 a{
color: #666;
}

.outline-2 ul {
    list-style:disc;
    color: #666;
}

.obviouslinks li {
    list-style-type: circle;
}


.obviouslinks a {
    font-family: "Hack", "Lucida Console", Monaco, monospace;
    background-color: #eee;
    color: #000;
    text-decoration: none;
    padding: 2px;
}


/* REFERENCES */
[id*="ref-"]:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);    
}

[id*="ref-"] p {
    padding: 5px;
}

hr.publicationsep {
    color: #999;
    width: 80%;
}

/* skill boxes */
.dw3-light-grey {
    line-height: 1.2em;
    color: #000;
    background-color: #f1f1f1;
}

.dw3-teal, .dw3-hover-teal:hover {    
    background-color: #bbb;
    margin-bottom: 1.5em;
}

.dw3-center {
    text-align: center;
}

.dw3-round-xlarge {
    border-radius: 16px;
    color: #bbb;
}

.skilltext {
    padding-left: 4px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
}

/* link anchor  */
.anchor {
  position: absolute;
  transform: translateY(-10vh);
}
