/*!
* Start Bootstrap - Grayscale v4.0.0-beta.2 (https://startbootstrap.com/template-overviews/grayscale)
* Copyright 2013-2017 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-grayscale/blob/master/LICENSE)
*/
body {
  font-family: 'Cabin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;

  position: relative;
  width: 100%;
  height: 100%;
  color: black;
  background-color: white;
}

html {
  width: 100%;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cabin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  margin: 24px 0 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

p {
  font-size: 16px;
  line-height: 1.2;
  margin: 8px 0;
}
@media (max-width: 575px) {
  p {
    font-size: 14px;
    line-height: 1.1;
    margin: 5px 0;
  }
}

a {
  color: #000000;
}
a:focus, a:hover {
  color: #000000;
}

.anchor {
  display: block;
  position: relative;
  top: -82px;
  visibility: hidden;
 }

#mainNav {
  font-family: 'Cabin', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: 0;
  text-transform: uppercase;
  border-bottom: 1px solid #bfbfbf;
  background-color: white;
  text-align: right;
}
#mainNav .navbar-toggler {
  padding: 11px 0 11px 0;
  font-size: 20px;
  border: 0;
  color: black;
}
#mainNav .navbar-brand {
  font-size: 20px;
}
#mainNav a {
  color: black;
  transition: color 0.3s ease-out;
  will-change: color;
}
#mainNav .navbar-nav .nav-item {
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
  padding-left: 12px;
  font-size: 16px;
}
#mainNav .navbar-nav .nav-item:hover {
  color: fade(white, 80%);
  outline: none;
  background-color: transparent;
}
#mainNav .navbar-nav .nav-item:active, #mainNav .navbar-nav .nav-item:focus {
  outline: none;
  background-color: transparent;
}

@media (max-width: 575px) {
  #mainNav .navbar-brand {
    font-size: 16px;
  }
  #mainNav .navbar-toggler {
    padding: 9px 0 9px 0;
    color: black;
    font-size: 14px;
  }
  #mainNav .navbar-nav .nav-item {
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
    font-size: 13px;
  }
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
    -moz-transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
    transition: background 0.3s ease-in-out, padding-top 0.3s ease-in-out, padding-bottom 0.3s;
    letter-spacing: 1px;
    border-bottom: none;
    background: transparent;
  }
  #mainNav a {
    color:white;
  }
  #mainNav.navbar-shrink {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #bfbfbf;
    background: white;
  }
  #mainNav.navbar-shrink a {
    color: black;
  }
  #mainNav .nav-link.active {
    outline: none;
    background-color: #bfbfbf;
  }
  #mainNav .nav-link.active:hover {
    color: black;
  }
}

.masthead {
  color: black;
  background: url("../img/intro/0.jpg") no-repeat center center scroll;
  background-position: 50% 50%;
  background-color: white;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.masthead .intro-body .brand-heading {
  font-size: 38px;
}
.masthead .intro-body .intro-text {
  font-size: 18px;
}

@media (min-width: 768px) {
  .content-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}

.project-section a{
  filter: grayscale(50%) contrast(80%);
  transform: translate3d(0, 0, 0);
}
.project-section  a:focus{
  filter: grayscale(0%) contrast(100%);
  transform: translate3d(0, 0, 0);
}
.project-section  a:hover {
  filter: grayscale(0%) contrast(100%);
  transform: translate3d(0, 0, 0);
}
@media (min-width: 992px) {
  .project-section a{
    filter: grayscale(100%) contrast(70%) brightness(120%);
    transform: translate3d(0, 0, 0);
  }
  .project-section  a:focus{
    filter: grayscale(0%) contrast(100%) brightness(100%);
    transform: translate3d(0, 0, 0);
  }
  .project-section  a:hover {
    filter: grayscale(0%) contrast(100%) brightness(100%);
    transform: translate3d(0, 0, 0);
  }
}

.bio-section-A p {
  text-align: justify !important;
  line-height: 1.6 !important;
}
@media (max-width: 768px) {
  .bio-section-A p {
    line-height: 1.4 !important;
  }
}
.bio-section-A a {
  color: rgba(0, 0, 0, 0.75) ;
}
.bio-section-A a:hover {
  color: black ;
  background: rgba(0, 0, 0, 0.25) ;
}
.bio-section-A a:focus {
  background: rgba(0, 0, 0, 0.25) ;
}

.bio-section-B p {
  text-align: center !important;
  line-height: 1.6 !important;
  padding-bottom: 12px;
}
@media (max-width: 768px) {
  .bio-section-B p {
    line-height: 1.4 !important;
  }
}

.cv-section-center {
  text-align: center !important;
  padding-bottom: 24px;
}
.cv-section-left {
  padding-bottom: 24px;
}
.cv-section-right {
  text-align: right !important;
  padding-bottom: 24px;
}
@media (max-width: 768px) {
  .cv-section-center,
  .cv-section-right  {
    text-align: left !important;
  }
}
.cv-title-center {
  text-align: center !important;
  margin-bottom: 0px !important;
}
@media (max-width: 768px) {
  .cv-title-center {
    text-align: left !important;
  }
}
.nobottom {
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
}

.press-section {
  text-align: center !important;
  padding-bottom: 24px;
}
.press-section a {
  font-style: italic;
  font-size: smaller;
  color: rgba(0, 0, 0, 0.75) ;
}
.press-section a:hover {
  color: black ;
  background: rgba(0, 0, 0, 0.25) ;
}
.press-section a:focus {
  background: rgba(0, 0, 0, 0.25) ;
}
@media (max-width: 768px) {
  .press-section {
    text-align: left !important;
  }
}

.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12 {
  margin-bottom: 12px;
}

.btn-circle:focus, .btn-circle:hover {
  color: black;
  outline: none;
  background: rgba(255, 255, 255, 0.25);
}

.btn-default {
  color: #7f7f7f;
  border: 1px solid #7f7f7f;
  background-color: transparent;
}
.btn-default:focus, .btn-default:hover {
  color: black;
  border: 1px solid #bfbfbf;
  outline: none;
  background-color: #bfbfbf;
}

::-moz-selection {
  background: rgba(0, 0, 0, 0.25);
  text-shadow: none;
}

::selection {
  background: rgba(0, 0, 0, 0.25);
  text-shadow: none;
}
