body
{
  /*font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;*/
  font-family: "Laro", Times, serif;
  background-color: #303030;
  font-weight: normal;
  line-height: 1.7;
  font-size: 1em; /* 16 px by default */
  color: #222222;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Webpage Dimensions */
.container
{
   width:  100%;
  	min-width: 600px;
   margin: auto;
   background-color: #ffffff;
}
/*#3399FF*/
/* Global link formatting */
a:link {color: #747474; text-decoration: none;}
a:active {color: #747474; text-decoration: none;}
a:visited {color: #747474; text-decoration: none;}
a:hover {color: #747474; text-decoration: underline;}





.talks{
	text-align: left;
   	list-style: none;
	margin-bottom: 12px;
	margin-left: 0;
	padding: 0;
	display: block;
}

.talks ul{
        text-align: left;
        list-style: none;
        margin-bottom: 12px;
        margin-left: 0;
        padding: 0;
        display: block;
}

.talks li{
        text-align: left;
        list-style: none;
        margin-bottom: 12px;
        margin-left: 0;
        padding: 0;
        display: block;
}

.alignleft {
        float: left;
}
.alignright {
        float: right;
}

/* Page content */
.content
{

   width:  90%;
   margin: auto;
   padding: 0px;
   text-align: left;
   margin-top:50px;
   margin-bottom:10px;
   padding-bottom:10px;
   font-family:"Lora", "Georgia", Times, serif;
   font-size: 1.1em;
   max-width: 1000px;
}

.content h1
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;

  font-size: 1.4em;
  font-weight: 700;
  text-align: left;
}

.content h1
{
   font-family: Lora, Times, serif;
   font-size: 2.4em;
   font-weight: 500;
   text-align: center;
   line-height: 1.2em;
   margin-top: 60px;
   margin-bottom: 60px;
}

.content h2
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 1.15em;
  font-weight: normal;
  text-align: left;
}

.content h3
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 1.0em;
  font-weight: normal;
  text-align: left;
  color: #A8A8A8;
}

.content h4
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #A8A8A8;
  text-align: left;
}

.content a.heading:link {color: #222222; text-decoration: none;}
.content a.heading:active {color: #222222; text-decoration: none;}
.content a.heading:visited {color: #222222; text-decoration: none;}
.content a.heading:hover {color: #747474; text-decoration: none;}

.line{
  border-bottom: 1px solid #D8D8D8;
  padding-top:0px;
  padding-bottom: 0px;
  clear:  both;
}
/* Research Container */
.researchfigure{
  background-color: #FFFFFF;
  padding: 4px;
  margin: 12px;
  display: block;
  font-size: 10pt;
  line-height: 1.2;
  text-align: left;
  /*box-shadow: 2px 2px 7px 3px #888;*/
  border-radius: 3px;
  float: right;
}

.fullresearchfigure{
  background-color: #FFFFFF;
  padding: 4px;
  margin: 12px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  font-size: 10pt;
  line-height: 1.2;
  text-align: left;
  /*box-shadow: 2px 2px 7px 3px #888;*/
  border-radius: 3px;
}

/* centre images */
.fullresearchfigure img {margin-left: auto; margin-right: auto; display: block;}
.researchfigure img {margin-left: auto; margin-right: auto; display: block;}

/* Post Figure */
.figure{
  background-color: #FFFFFF;
  padding: 4px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
  display: block;
  font-size: 10pt;
  line-height: 1.2;
  text-align: left;
  box-shadow: 2px 2px 7px 3px #888;
  border-radius: 3px;
}

.rightfigure{
  background-color: #FFFFFF;
  padding: 4px;
  margin: 12px;
  display: block;
  font-size: 10pt;
  line-height: 1.2;
  text-align: left;
  /*box-shadow: 2px 2px 7px 3px #888;*/
  border-radius: 3px;
  float: right;
}

#respublications{
  font-size: 10pt;
  font-weight: normal;
  margin: 4px;
}

#respublications tr, #publications td{
  padding-bottom: 12px;
  vertical-align:text-top;
  text-align: left;
}

#publications{
  margin: 4px;
}

#publications tr, #publications td{
  padding-bottom: 12px;
  vertical-align:text-top;

}

/* Source code */
.incode{
  font-family:Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  font-size: 10.5pt;
  font-weight: normal;
}

.prebox{
  background-color: #EEEEEE;
  padding: 8px;
  top-margin: 15px;
  bottom-margin: 15px;
  display: block;
  font-size: 10.5pt;
  line-height: 1.2;
  text-align: left;
  font-family:Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  font-weight: normal;
}
.codecat{
  color:navy;
}
.codevar{
  color:#2B91BE;
}
.codeval{
  color:black;
}
.codecomment{
  color:crimson;
}

/* aside box */
#asidebox{
  background-color: #FFFFFF;
  padding: 4px;
  margin: 12px;
  display: block;
  font-size: 10pt;
  line-height: 1.2;
  text-align: left;
  box-shadow: 2px 2px 7px 3px #888;
  border-radius: 3px;
  float: right;
}

/* Page Footer */
#footer
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.5em;
  text-align: left;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-top: 100px;
  padding-bottom: 100px;
  clear:  both;
  background-color: #e8e8e8;
  color: #e8e8e8;
  background-color: #303030;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#footer p
{
   margin: 0;
   max-width: 20em;
}

.footer-container{
   max-width: 1000px;
   padding-top: 10px;
   padding-left: 5%;
   padding-right: 5%;
   margin-left: auto;
   margin-right: auto;
}

.footer-text{
   max-width: 300px;
   padding-top: 10px;
   padding:bottom: 50px;
   padding-right: 10%;
   float: left;
}

#footer img {
   width: 25px;
}

.footer-text h1 {
   font-size: 0.8em;
   font-weight: 400;
}

.footer-text ul {
    list-style-type: none;
    text-decoration: none;
    font-size: 0.8em;
    padding-left: 0;
    letter-spacing: 0em;
}

.footer-button{
   float: left;
   padding-right: 8%;
}

.footer-button-bar{
   float: left;
   padding-right: 0;
   padding-top: 20px;
   min-width: 155px;
}

.tile-container {
  display: grid;
  /*grid-template-columns: 32% 32% 32%;*/
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  /*grid-column-gap: 2%;
  grid-row-gap: 30px;*/
  grid-gap: 10px;
  /*background-color: #f8f8f8;*/
  color: #444;
}

.tile{
   /*width: 100%;*/
   border-radius: 2px;
   border: 1px solid LightGrey;
   /*line-height: auto;*/
   /*padding-top: 1em;
   padding-bottom: 1em;*/
   padding: 0;
   /*float: left;*/
   background-color: #ffffff;
   display: block;
}

.tile-container a {
    text-decoration: none;
}

.tile h1
{
  font-family:"Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 0.9em;
  font-weight: 700;
  color: #222222;
  text-align: left;
  margin: auto;
}

.tile p
{
  font-size: 0.9em;
  color: DimGrey;
}


/*.tile p a:link {color: #646464; text-decoration: none;}
.tile p a:active {color: #646464; text-decoration: none;}
.tile p a:visited {color: #646464; text-decoration: none;}
.tile p a:hover {color: #646464; text-decoration: underline;}*/

.tile img
{
  width: 100%;
  border-radius: 2px 2px 0 0;
}

.tile_text{
   margin: 5%;
}

/*--------------------------------------
      formatting for long articles
----------------------------------------*/
.article{
   margin-left: auto;
   margin-right: auto;
   max-width: 70%;
}

.article h1
{
   font-family: Lora, Times, serif;
   font-size: 2.4em;
   font-weight: 500;
   text-align: center;
   line-height: 1.2em;
   margin-top: 60px;
   margin-bottom: 60px;
}

.article ul
{
   list-style-type: none;
   margin: 0;
   padding: 0;
}

.article p
{
   text-align: justify;
}

/*responsive iframe magic */
/* Thanks to https://benmarshall.me/responsive-iframes/ */

.intrinsic-container {
  position: relative;
  height: 0;
  overflow: hidden;
}

/* 16x9 Aspect Ratio */
.intrinsic-container-16x9 {
  padding-bottom: 56.25%;
}

/* 4x3 Aspect Ratio */
.intrinsic-container-4x3 {
  padding-bottom: 75%;
}

.intrinsic-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}
