/* Global */

body, div {
  font-family: 'Source Serif Pro', Helvetica, Arial, serif;
  font-weight: 300; 
  font-size: 100%;
}

.container-fix {
  margin-top: 65px;
}

.container-fluid {
  margin-right: 5%;
  margin-left: 5%;
  margin-top:3%;
}

.container-home {
  margin-top:15%;
  margin-left: -1%;
  padding-left:0;
}

@media (max-width: 767px) {
  .container-home {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-right:15px;
    padding-left:15px;
  }
}

/* Type */

h1 {
  font-family: 'Nunito Sans', Helvetica, Arial, serif;
  font-size: 62px;
  line-height: 1.3;
  font-weight: 900;
  margin-top:0;
}

h2 {
  font-family: 'Nunito Sans', Helvetica, Arial, serif;
  font-size:32px;
  margin-top:15px;
  margin-bottom:5px;
  font-weight:900;
}

h3 {
  margin-bottom: 0;
  color: #7C7C7C;
  font-size: 21px;
}

@media (max-width: 992px) {
  h1 {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  h2 {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 28px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  h2 {
    font-size: 28px;
  }
}

h3 {
  font-size: 20px;
  font-weight: 200;
  margin-bottom: 15px;
  line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 1199px) {
  h3 {
    font-size: 16px;
  }
}

h4 {
  font-size: 16px;
  line-height: 1.75;
  font-weight: 600;
  margin-bottom: 10px;
}

p.lead, .lead {
  font-size: 26px;
  font-weight: 200;
  line-height: 1.6;
}

.lead-var {
  font-size:20px;
}

@media (max-width: 992px) {
  p.lead, .lead, .lead-var {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  p.lead, .lead, .lead-var {
    font-size: 18px;
    text-align: center;
  }
}

p, .p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

p.small, .small {
  font-size: 12px;
  line-height: 1.8;
}

p.tiny, .tiny {
  font-size: 10px;
  line-height: 2;
}

.text-muted {
  color: #777;
}

.strong {
  font-weight: 600;
}

.letter-space-large {
  letter-spacing: 3px;
}

/* Links */

a, a:hover, a:active, a:visited, a:focus {
  color: #333;
  text-decoration: none;
}

a.underline {
  text-decoration: underline;
}

a.no-effect, a.no-effect:hover {
  text-decoration: none;
  color: #000;
}

a.muted {
  color: #777;
}

a.muted:hover {
  color: #000;
}

a.purple {
  color: #701a4d;
  padding: 7px 13px;
  border-radius: 3px;
  border: 1px solid #701a4d;
}
/*
a.purple:hover {
  background-color: #d4bfc8;
}*/


/* Section blocks */

.row-centered {
  text-align: center;
}

.col-centered {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
  vertical-align: top;
  float: none;
}



/* Navigation */

.navbar-custom {
  font-size: 14px;
  font-weight: 200;
  color: #000;
  background-color: #fff;
  border-color: #e7e7e7;
  padding-top: 15px;
}

.list-inline, .list-footer, .list-secondary {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}
.list-inline > li, .list-footer > li, .list-secondary > li {
  display: inline-block;
  margin-right: 20px;
  padding-left: 0;
  font-size: 22px;
}

.list-inline > li {
  font-size: 22px;
}

.list-footer > li, .list-secondary > li {
  font-size: 16px;
}

.list-footer > li:first-child {
  font-weight:800;
}

a.name:hover {
  box-shadow:inset 0 0 0 #fff, inset 0 1.4em 0 #DFDFDF;
}

a.li0 {
  font-family:'Nunito Sans', Helvetica, Arial, serif;
  box-shadow:inset 0 0 0 #fff, inset 0 -0.4em 0 #DFDFDF;
}

a.li0:hover {
  box-shadow:inset 0 0 0 #fff, inset 0 1.4em 0 #DFDFDF;
}

a.li1 {
  box-shadow:inset 0 0 0 #fff, inset 0 -0.4em 0 #C9E1C5;
}

a.li1:hover {
  box-shadow:inset 0 0 0 #fff, inset 0 1.4em 0 #C9E1C5;
}

a.li2 {
  box-shadow:inset 0 0 0 #fff, inset 0 -0.4em 0 #CCE1F0;
}

a.li2:hover {
  box-shadow:inset 0 0 0 #fff, inset 0 1.4em 0 #CCE1F0;
}

a.li3 {
  box-shadow:inset 0 0 0 #fff, inset 0 -0.4em 0 #C3CCDF;
}

a.li3:hover {
  box-shadow:inset 0 0 0 #fff, inset 0 1.4em 0 #C3CCDF;
}

a.li4 {
  box-shadow:inset 0 0 0 #fff, inset 0 -0.4em 0 #E4D0E0;
}

a.li4:hover {
  box-shadow:inset 0 0 0 #fff, inset 0 1.4em 0 #E4D0E0;
}

a.li5 {
  box-shadow:inset 0 0 0 #fff, inset 0 -0.4em 0 #E0D8D2;
}

a.li5:hover {
  box-shadow:inset 0 0 0 #fff, inset 0 1.4em 0 #E0D8D2;
}

@media (max-width: 992px) {
  .list-inline > li {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  ul.list-inline {
    text-align: center;
  }

  ul.list-inline > li:last-child {
    margin-right:0;
  }
}

.about-fix {
  margin-top: 40px;
}


/* Lines */

.line-full {
  height: 3px;
  background-color: #eee;
  margin: 25px 0;
  display: block;
}

.line-thru {
  overflow: hidden;
  line-height: 1.5;
  text-align: center;
}

.line-thru span {
  display: inline-block;
  position: relative;
}

.line-thru span:before,
.line-thru span:after {
  position: absolute;
  content: '';
  width: 100%;
  border-top: 1px solid #ddd;
  top: 50%;
}

.line-thru span:before {
  right: 100%;
  margin-right: 25px;
}

.line-thru span:after {
  left: 100%;
  margin-left: 25px;
}


/* Spacing */

.mg-all-large {
  margin: 40px;
}

.mg-top-large {
  margin-top: 50px;
}

.mg-top-med {
  margin-top: 35px;
}

.mg-top-small {
  margin-top: 20px;
}

.mg-top-tiny {
  margin-top: 10px;
}

.mg-bottom-large {
  margin-bottom: 50px;
}

.mg-bottom-med {
  margin-bottom: 35px;
}

.mg-bottom-small {
  margin-bottom: 20px;
}

.mg-bottom-tiny {
  margin-bottom: 10px;
}

.mg-horizontal-tiny {
  margin-right: 5px;
  margin-left: 5px;
}

.mg-left-small {
  margin-left: 20px;
}

@media (max-width: 992px) {
  .mg-left-small {
    margin-left: 0;
  }
}

/* Images */


img.avatar {
  display:block;
  margin: 0 auto;
  padding-bottom:15px;
}

@media (max-width: 767px) {
  img.avatar {
    width:35%;
  }
}

img.work-thumb {
  display:block;
  margin: 0 auto;
  padding-bottom:15px;
  width: 95%;
}

@media (max-width: 767px) {
  img.work-thumb {
    width:90%;
  }
}

.img-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}`

.img-thumb {
  display: inline-block;
  width: 100% \9;
  max-width: 100%;
  height: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  line-height: 1.42857143;
  background-color: #fff;
  margin: 0 auto;
  position: relative;
}

.img-thumb-overlay {  
  width: 91%;
  height: 82%;
  margin: 0 auto;
  position: absolute;
  background-color: #fff;
  z-index: 1;
  text-align: center;
  left: 5%;
  top: 9%;
  padding: 20% 15px 10px;
  transition: all 0.2s linear; 
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear; 
  -o-transition: all 0.2s linear;
  opacity: 0; 
}

/* Resume */

p.res-category {
  margin-bottom: 0;
  color: #7C7C7C;
}

p.res-title {
  font-family: 'Nunito Sans', Helvetica, Arial, serif;
  margin-bottom: 0;
  font-weight: 800;
}

p.res-date {
  margin-bottom: 10px;
  font-style: italic;
}

p.res-description {
  margin-bottom: 28px;
}

/* Bottom navigation */

.bottom-navigation {
  font-size: 30px;
  color: #777;
  font-weight: 100;
  margin: 0 20px;
}

/* Page fade in */

body.loading {
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}