/* Space out content a bit */


/* Customize container */
@media (min-width: 768px) {
    .container {
	max-width: 750px;
    }
    .masthead-brand {
	float: left;
    }
    .masthead-nav {
	float: right;
    }
}

.container-narrow > hr {
    margin: 30px 0;
}

html {
    overflow-y:scroll;
}

body{
    padding-top: 20px;
    padding-bottom: 20px;
    margin:0;
    padding:0;
    overflow-x:hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Core font stack */
h1, h2, h3, h4, h5, h6, p, a{
    font-family:"Segoe UI", Arial, Helvetica, sans-serif;
}


h5, h4{
  margin-bottom: 0px;
}
p{
    margin-top: 0px;
    margin-bottom: 0px;    
}

/* unvisited link */
a:link {
    color: rgb(88,15,139);
}

/* visited link */
a:visited {
    color: rgb(88,15,139);
}

/* mouse over link */
a:hover {
    color: rgb(88,15,139);
}

/* selected link */
a:active {
    color: rgb(88,15,139);
}

/* Padding for spacing */
.inner {
    padding: 10px 0px;
}

.masthead {
    text-align: center;
}

.masthead-brand {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size:25px!important;
    font-weight:600;
    color:black;
}

h3 {
    font-size:20px;
    font-weight:600;
    color:black;
}

h4 {
    font-size:17px;
    font-weight:600;
    color:black;
}

h5 {
    font-size:14px;
    font-weight:600;
    color:black;
}

.masthead-nav > li {
    display: inline-block;
}
.masthead-nav > li + li {
    margin-left: 20px;
}

.masthead-nav > li > a {
    padding-right: 0;
    padding-left: 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff; /* IE8 proofing */
    color: rgba(0,0,0,.75);
    border-bottom: 2px solid transparent;
}

.masthead-nav > li > a:hover {
    background-color: transparent;
    border-bottom-color: #fff;
    border-bottom-color: rgba(0,0,0,.25);
}

.masthead-nav > .active > a,
.masthead-nav > .active > a:hover
{
    color: #000;
    border-bottom-color: #000;
}

/* rounded borders on images */
.img-rounded-lg{
    border-radius:25px;
}

.img-padded{
    padding:10px;
}


/* Panel Stuff */
/* .panel{ */
/*     border:0!important; */
/*     box-shadow: 0 0 2px rgba(0,0,0,.4); */
/* } */

.panel{
    border:0!important;
    box-shadow: 0 0 0px rgba(0,0,0,.4);
}

.panel-heading, .panel-footer{
    padding: 3px 10px;
    background-color: inherit;
    border-color: rgba(0,0,0,.2)!important;
}

.panel-sq, .panel-sq .panel-heading, .panel-sq .panel-footer{
    border-radius:0;
}

.panel-rd{
    border-radius:30px;
}

.panel-rd .panel-heading{
    border-radius:25px 25px 0 0;
}
.panel-rd .panel-footer{
    border-radius:0 0 25px 25px;
}

.project-callout-row {
    margin-top: 18px;
    margin-bottom: 18px;
}

.project-callout-copy {
    margin-bottom: 0;
    line-height: 1.45;
}

/* Stuff for CV formatting */

/* Stuff for lists */

ul {
    list-style:square;
    padding-left:20px;
    margin-top: 0px;
    margin-bottom: 0px;
}​

td, th {
    padding: 1px;
}

/* alignment of blocks in CV */
.top-buffer {
    margin-top:-8px;
    padding:0px 7px;
}

.left-buffer {
    padding:0px 25px;
}

a.deco-none {
    color: inherit;
    text-decoration:none;
}

.cv-content h2 {
    margin-top: 26px;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.cv-content h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 600;
}

.cv-content h4 {
    margin-top: 14px;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
}

.cv-content ul {
    margin-bottom: 8px;
}

.cv-content li {
    margin-bottom: 4px;
}

/* no more tables */

@media only screen and (max-width: 750px) {
    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }
    
    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    #no-more-tables tr { border: 1px solid #ccc; }
    
    #no-more-tables td {
        /* Behave like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align:left;
    }
    
    #no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }
    
    /* Label the data */
    #no-more-tables td:before { content: attr(data-title); }
}

/* @media print { */
/*   a[href]:after { */
/*     content: none !important; */
/*   } */
/* } */

@media print {
   a[href]:after {
      display: none;
      visibility: hidden;
   }
}
