/** FONTS **/
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

@import url(//fonts.googleapis.com/css?family=Ubuntu:400); /* for dept names */
@import url(//fonts.googleapis.com/css?family=Roboto:300,400); /* for h1-h6, section headers */
@import url(//fonts.googleapis.com/css?family=PT+Sans:400); /* for small fonts, supplementary to Segoe UI */

/*** CONTENT STYLE DEFINITIONS ***/

p {
  text-align: justify;
}

a {
  text-decoration:none; 
  color: #0066cc;
}
a:hover {
  text-decoration: underline;
}

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

hr {
border: 0;
height: 1px;
color: #bf165e;
background-color: #bf165e;
}


/* =Headings
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	font-weight: 700;
	line-height: 1.0em;
	word-wrap: break-word;
}

h1 {
	font-size: 2.625em; /* = 42px */
	margin-bottom: .5em;
	margin-top: .5em;
}

h2 {
	font-size: 2.250em; /* = 36px */
	margin-bottom: .75em;
	margin-top: .75em;
}

h3 {
	font-size: 1.875em; /* = 30px */
	margin-bottom: .857em;
	margin-top: .857em;
}

h4 {
	font-size: 1.500em; /* = 24px */
	margin-bottom: 1em;
	margin-top: 1em;
}

h5 {
	font-size: 1.125em; /* = 18px */
	margin-bottom: 1.125em;
	margin-top: 1.125em;
}

h6 {
	font-size: 1.000em; /* = 16px */
	margin-bottom: 1.285em;
	margin-top: 1.285em;
}


/* =Lists
-------------------------------------------------------------- */
ul,
ol {
	margin: 0 1.5em 1.5em 0;
	padding-left: 2.0em;
}

li ul,
li ol {
	margin: 0;
}

ul li{
  list-style: square outside;
}




/*** WEBPAGE LAYOUT *********************************/

body { 
  -moz-font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-smoothing: antialiased;
  line-height: 1.5em;
  text-rendering: optimizeLegibility;
}

/* no border around edges */
#site {
	margin: 0 auto;
	max-width: 1024px;
	padding: 0px 25px;
}

#site_wrapper {
  /*float: left;*/
  width: 100%;
  margin: 0px;
  background-color: #E6E6E6;
}

/*** HEADER ******/
#header {
  width: 100%;
  /*height: 99px; */
  /*background: #0000FF;*/
  border-bottom:1px solid #bf165e;
}

#header_text {
  text-align: center;
  /*background: #FF0000;*/
}

div#header_left {
  float: left;
  margin: 10px 10px 10px 10px;
}

div#header_logo {
}

div#header_cs {
  letter-spacing: 0px;
  font-size: 22px;
  font-family: Ubuntu, Helvetica, Arial, sans-serif;
  text-shadow: 0px 1px 0px #fafafa;
}

div#header_name {
  float: right;
  text-align: right;
  margin: 10px 10px 10px 10px;
}


/*** SIDEBAR ******/
#sidebar {
  background-color: #E6E6E6;
  top: 0px; /*99px;*/
  left: 0px;
  width: 146px;
  padding: 2px 2px 2px 2px;
  margin: 0px;
  float: right;
}

#sidebar li.l2 {
  margin-left: 20px;
}

/*** CONTENT BODY **********/
#contentblock {
  padding: 10px 20px 10px 20px;
  margin: 0px 150px 0px 0px;  /* t, r, b, l */
  background-color: #FFFFFF;
}


p {
  word-wrap: break-word;
  margin-bottom: 0.75em;
  margin-top: 0.75em;
}

blockquote {
  padding: 0 1em;
  margin: 0px;
  border-left: 4px solid #bf165e;
  background: #f1f1f1;
  overflow: auto;
}



/*** FOOTER ****************/
#footer {
  width: 100%;
  margin: 0px;
  padding: 0px;
}


/*** VISAL references ****/
.visal_reference #title { font-style:normal; }
.visal_reference #notes { display:none; }
.visal_reference #atitle { font-weight:bold; }

/* for journal articles */
.visal_journal_article #publication_title { font-style:italic; }

/* for book sections */
/*.book_section #title { font-style:bold; }*/
.visal_book_section #book_title { font-style:italic; }

/* for conference paper */
/*.conference_paper #title { font-style:bold; }*/
.visal_conference_paper #conference_name { font-style:italic; }

/* publications ordered list style */
ol.visal_pub_ol li{
  padding-bottom: 0.75em;
}
ol.visal_pub_ol {
  margin: 0 0 0 0;
}

/* publications unordered list style */
ul.visal_pub_ul li{
  padding-bottom: 0.75em;
}
ul.visal_pub_ul {
  margin: 0 0 0 0;
}


.boldtitle {
  font-weight:bold;
}

.alignright {
	float: right;
	margin: 5px 0 5px 5px;
}

div.clearboth {
  clear:both;
}

/*** grid layout (project abstrafts) ***/
.grid {
        float: left;
        margin-bottom: 2.127659574468%;
        padding-top: 0;
}
.col-380 {
        width: 40.425531914894%;
}
.col-540 {
        width: 57.446808510638%;
}
.fit {
        margin-left: 0 !important;
        margin-right: 0 !important;
}

a img.alignleft {
        float: left;
        margin: 5px 20px 20px 0;
}

img.wp-post-image {
        display: block;
        margin: 15px auto;
        width: auto;
}

img.projectteaser {
max-width: 100%;
max-height: 135px;
border: 1px solid #000000;
}

.col-60,
.col-140,
.col-220,
.col-300,
.col-380,
.col-460,
.col-540,
.col-620,
.col-700,
.col-780,
.col-860 {
	margin-right: 2.127659574468%;
}


/*** Mobile response ***/

@media screen and (max-width: 720px) {
 /* put sidebar menu at top */
 #sidebar {
    top: 0px;
    left: 0px;
    width: auto;
    padding: 2px 2px 2px 2px;
    margin: 0px;
    float: none;
  } 
 
  #contentblock {
    padding: 10px 20px 10px 20px;
    margin: 0px 0px 0px 0px;  /* t, r, b, l */
  }

  /* change lists in sidebar */
  #sidebar li{
    display: inline-block;
    padding-left: 7px;
    padding-right: 7px;
    margin-left: 0px;
    margin-right: 0px;
    /*border-left: 1px solid black; */
  }
  /*
  #sidebar li:last-child {
    border-right: 1px solid black;
  }
  */
  #sidebar a {
    text-decoration: underline;
  }
  #sidebar li.l2 {
    padding-left: 7px;
    padding-right: 7px;
    margin-left: 0px;
    margin-right: 0px;
  }
  #sidebar ul {
    text-align: center;
    padding: 0;
    display: inline-block;
    margin: 0 0 0 0;
  }
  #sidebar p {
    text-align: center;
    margin-top: 0.25em;
    margin-bottom: 0.0em;
  }

  /* center align top headers */
  div#header_cs {
    text-align: center;
  }
  div#header_logo {
    text-align: center;    
  }
  div#header_name {
    text-align: center;
    float: none;
  }
  div#header_left {
    float: none;
  }
}


@media screen and (max-width: 500px) {
  /* unfloat the images, and make centered */
  div#contentblock img.alignright {
     float: none;
     margin-left: auto;
     margin-right: auto;
     display: block;
  }
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}


@media screen and (max-width: 980px) {
	.grid,
	.grid-right {
		display: block;
		float: none;
		width: 100%;
		margin-right: 0;
	}
}
