.header h1 {
    color: gainsboro; /*#400000;*/
    font-size:48px;
    text-align:left;
    line-height: 38px;
    padding-left:10px;
}
#subheader {
    text-align: center;
    color: orange;
    padding:0px;
    display:none;
}
#subheader li{
    display:inline;
    margin-right:15px;
    box-shadow: 0 0 0 0; 
}
#subheader li:hover{
    display:inline;
    margin-right:15px;
    color:red;
}
#footer{
	border-bottom: 1px #ccc solid;
	margin-bottom: 15px;
	margin-top: 15px;
	padding-top: 10px;
	display:block;
	position:relative;
	clear: both;
	z-index:-4;
}
	#footer p{
		text-align:center;
		text-transform: uppercase;
		font-size: 80%;
		color: grey;
	}

p{ line-height: 1em; }
img < .gray {
-webkit-filter: grayscale(100%);
}

img.grayscale:hover {
-webkit-transition: all 0.5s ease-in;
-webkit-filter: grayscale(100%) blur(1px);
}
/*img:hover {  
   -webkit-animation: adjustHue 1s alternate infinite;  
}  
      
@-webkit-keyframes adjustHue {  
   0% { -webkit-filter: hue-rotate(18deg); }  
   25% { -webkit-filter: hue-rotate(36deg); }  
   50% { -webkit-filter: hue-rotate(54deg); }     
   75% { -webkit-filter: hue-rotate(72deg); }     
   100% { -webkit-filter: hue-rotate(90deg); }     
} */

h2{ 
    /*font-family:serif;*/
    font-size: 20px;
    line-height: 36px;
    margin-top: 10px; /* -20px 20px -20px;*/
    /*padding: 0 20px 10px 20px;*/
    border-bottom:1px solid #ccc; 
    color: #666;
}
h3{
    color:darkgray;
    margin:-5px 0 -15px 0;    
}
h4{
    color:darkgray;
    font-size: 18px;
    margin-top:10px;   
}
body{
    font-family: arial; font-size: 80%; 
    line-height: 1.4em; width: 100%; height:100%;
    margin: 0; background: #eee;min-width:800px;
    min-height:100%;position: absolute;font-size:12px;
}

.header{  
  top: 0;
  left: 0;
  right: 0;
  background:#eee;
  position:fixed;    
  clear:both;
  padding: 10px 10px 0px 10px;
  min-width:410;
  z-index:10;
}
#logo{
    /*width: 94.2%;*/
    /*margin-top: 5px;*/
    -webkit-backface-visibility: hidden;;
    /*font-family: georgia;*/
    font-family: 'Rasa';
    display: block;
    text-align:center;
    text-shadow: 0px 1px 1px black;
    background:transparent url(img/cover3.jpg) no-repeat;
    background-position:-80px -90px;
    background-size: 120% 40%;
    padding-left:12px;
    padding-top:2px;
    padding-bottom:2px;
    background-attachment:fixed;
    clear:both;
    min-width:410px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -khtml-bow-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
}
.fb-comments, .fb-comments * {
    width:98% !important;
    /*left:-10px ! important;*/
}
.fb-like{ vertical-align:top;    
	  margin-right:15px;
	  margin-top:20px;
	  overflow:hidden;
	  width:90px !important;
}
#fbiframe, .fb-like iframe
{
transform: scale(0.8);
-ms-transform: scale(0.8); 
-webkit-transform: scale(0.8); 
-o-transform: scale(0.8); 
-moz-transform: scale(0.8); 
transform-origin: top left;
-ms-transform-origin: top left;
-webkit-transform-origin: top left;
-moz-transform-origin: top left;
-webkit-transform-origin: top left;
}
.fb-wrap{
    position:relative;
    float:right;
    margin-top:75px;
    margin-right:110px;
    z-index:100;
}
.fb-wrap div {position:fixed;}
/*#logo:hover{    background-position:-183px -92px;}*/

div.tabbed-menu {
    font-family: "Helvetica";
    font-size: 14px;
    width: 100%;
}

/*  This ul class defines how your menu options
    will be arranged and also gives us a nice 
    dividing line between the menu. */
ul.tabs {
    text-align: center;
    list-style: none;
    margin-left: -50px;
    padding-bottom: 0px;
    line-height: 26px;
    color: lightblue; /*#0088CC;*/
    border-bottom: 1px solid #DDDDDD;
}

ul.tabs li {
    /*float: left; */
    position: relative;
    margin-bottom: -1px;
    padding: 3px 10px 0 10px;
    background: #777;/*#EFEFEF;*/
    display: inline-block;
    /*font-family: Helvetica, Arial, sans-serif;    */
    border-top-left-radius: 6px; 
    border-top-right-radius: 6px;
    -webkit-box-shadow: 2px -1px 2px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 2px -1px 2px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 2px -1px 2px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 2px -1px 2px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 2px -1px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 2px -1px 2px rgba(0, 0, 0, 0.6);
}
ul.tabs a {
    text-decoration:none;
    color: lightblue;
}
li#cv, li#resume, li#goog, li#gw, li#pay, #txt, #thesis, #gith, #docres {
    text-align: center;
    list-style: none;
    position: relative;
    padding-bottom: 0px;
    margin-bottom: -1px;
    padding: 3px 10px 0 10px;
    background: #777;/*#EFEFEF;*/
    display: inline-block;
    line-height: 22px;
    text-align: center;
    background:white;
    display: block;
    border-top-left-radius: 6px; 
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px; 
    border-bottom-right-radius: 6px;
    margin-bottom: 3px;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
    color: #888;
    text-decoration:none;
    font-weight:bold;
    width:50%;
    margin-left:40px;
}
#cv:hover, #resume:hover, #goog:hover, #gw:hover, #txt:hover, #thesis:hover, #gith:hover {
    color: #333333;
    cursor: pointer;
    background: #FFFFFF;
}

.linkso a{
    display:inline-block;
    text-align: center;
    border-radius: 6px; 
    -webkit-box-shadow: 2px -1px 5px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 2px -1px 5px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 2px -1px 5px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 2px -1px 5px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 2px -1px 5px rgba(0, 0, 0, 0.6);
    box-shadow: 2px -1px 5px rgba(0, 0, 0, 0.6);
    padding: 3px 8px 3px 8px;
    text-decoration:none;
    line-height:18px;
    margin-bottom:5px;
}
.linkso{
    text-align: center;
}
.linkso a:hover{
    color:red;
}
ul.tabs li.selected {
    margin-bottom: -2px;
    background: #EFEFEF;
    color: darkmagenta;
    border-bottom: 1px solid #EFEFEF;
    -webkit-box-shadow: 2px -3px px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 2px -3px 2px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 2px -3px 2px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 2px -3px 2px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 2px -3px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 2px -3px 2px rgba(0, 0, 0, 0.6);
    z-index: 4;
}
ul.tabs li.selected a {
color: darkmagenta;
}

ul.tabs li:hover {
    color: #333333;
    cursor: pointer;
    background: #FFFFFF;
}
ul.tabs li:hover a {
color: #333333;
}

div.tc {
    float: left;
    width: 220px;
    left:0px;
    padding:20px 20px 15px 20px;
    background: white;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    margin-left: 10px;
    display: inline;
    position:fixed;
}

div.page {
    text-align: left;
    background: white;
    padding: 0 10px 20px 10px;
    padding-right:0px;
    left:270px;
    float:left;
    width:49%;
    min-width:200px;
   /* left: 270px;*/
    position:relative;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    margin-left: 10px;
   /* z-index:-1;*/
}

div.box {
    text-align: left;
    background:white;
    padding: 10px 10px 0px 10px;
    margin: 10px 10px 0px 10px;
    float:left;
    position:relative;
    -moz-border-radius:  1em 1em 1em 1em;
    -webkit-border-radius:  1em 1em 1em 1em;
    -o-border-radius:  1em 1em 1em 1em;
    -ms-border-radius:  1em 1em 1em 1em;
    -khtml-border-radius:  1em 1em 1em 1em;
    border-radius:  1em 1em 1em 1em;
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6);
    border: 2px solid #eee;
    border-top-color:dark gray;
    border-top-width:3em;
    height:100%;
    /*overflow: hidden;*/
   /* z-index:-1;*/
}
div.box ul {
    margin-left:-20px;
    margin-bottom:10px;
}
div.box li > ul {
    margin-left:-20px;
    margin-bottom:10px;  
}
div.at {
    float: right;
    width: 215px;
    padding:15px;
    background: white;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    margin-right: 10px;
    display:inline;
    position:fixed;
} 
div.page li {
    text-align: left;
    list-style-type: square;
    padding-bottom:10px;
    clear:both;
}
.content {
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  /*min-height: 100%;*/
  min-width:800px;
  z-index:-1;
}

#personal {
    text-align: center;
    margin: 0 10%;
}
#edu, #key, #me, #work, #prep, #pub, #present, #conf,#proj {
    margin: 0 10%;
    line-height:150%;
}
#work {
    text-align:justify;
}
#prizes, #grants, #accom{
    margin: 0 5%;
    line-height:125%;
}
#edu li {
    text-align: left;
    list-style-type: square;
    padding-bottom:0px;
    clear:both;
}

#extrac {
-moz-column-count:2; /* Firefox */
-webkit-column-count:2; /* Safari and Chrome */
column-count:2;
column-width:50%;
  list-style-position: outside;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
  -webkit-break-inside: avoid;
  -moz-break-inside: avoid;
  break-inside: avoid;
  column-gap:0.5em;
}
.anchor {
top:0;
position:fixed;
}
input[type='text'],
input[type='email'],
textarea {
    margin-bottom: 10px;
    display: block;
    width: 97%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    line-height: 1.4em;
}
.sig {
display:none;
}
@media only screen and (min-device-width: 480px){
div.at {
    float: left;
    width: 215px;
    padding:15px;
    background: white;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -o-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -ms-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    -khtml-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    margin-right: 10px;
    display:inline;
    position:fixed;
} 
}
iframe {
  border: none;
  width: 100%;
  height: 500px;
}

@media (min-width: 1024px) {
  .content_viewport {
    border: 0px none;
    height: 900px;
    width: 100%;
  }
}
@media (max-width: 1023px) {
  .content_viewport {
    border: 0px none;
    height: 900px;
    width: 100%;  }
}
@media (min-width: 768px) {
  .content_viewport {
    border: 0px none;
    height: 900px;
    width: 100%;  }
}
