.profile__stats, .social {
  padding-left: 0;
  list-style: none inside;
}
.profile__stats > li, .social > li {
  display: inline-block;
  vertical-align: top;
}

html,
body {
  height: 100%;
}

body {
  position: relative;
  font: 300 1em/1.5 "Open Sans Condensed", sans-serif;
  color: #333;
}

.buttonX {
  display: inline-block;
  padding-left: 2em;
  background-color: deepskyblue;
  color: #f2f2f2;
  margin: 2em;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}
.buttonX:before {
  content: "";
  display: block;
  position: absolute;
  top: 1em;
  right: 3.05em;
  height: 0;
  width: 0;
  border-top: 0.75em solid transparent;
  border-bottom: 0.75em solid transparent;
  border-left: 0.5em solid deepskyblue;
}
.buttonX:after {
  content: "";
  width: 3.5em;
  height: 3.5em;
  margin-left: 1em;
  display: inline-block;
  vertical-align: middle;
  background: url(http://www.fillmurray.com/g/124/124) no-repeat center;
  background-size: cover;
}

.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(50, 50, 50, 0.5);
  display: none;
}

.popup__inner {
  overflow-y: scroll;
  max-height: 100%;
  background-color: #f2f2f2;
  width: 90%;
  max-width: 60em;
  margin: 3em auto 0;
  padding-bottom: 1.5em;
  border-radius: 2px;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.6);
}

.popup__header {
  background-color: lightgray;
  padding: 0.25em 0.75em;
  margin-bottom: 2em;
  text-align: right;
}

.popup__close {
  display: inline-block;
  width: 0.875em;
  height: 0.875em;
  background-color: tomato;
  border-radius: 50%;
}
.popup__close:hover {
  background-color: #ff401e;
}

kbd {
  display: inline-block;
  font-family: inherit;
  font-size: 0.875em;
  vertical-align: 0.125em;
  margin-right: 0.5em;
  color: slategray;
}

.profile__image {
  width: 38em;
  margin: 0 auto 2em;
  border: 0.125em solid black;
  background-color: #000;
  display: block;
}
@media screen and (min-width: 30em) {
  .profile__image {
    display: inline-block;
    margin: 0 3em 0 2em;
  }
}

.profile__details {
  margin: 0 2em 0 0;
  text-align: center;
}
@media screen and (min-width: 30em) {
  .profile__details {
    display: inline-block;
    vertical-align: top;
    text-align: left;
  }
}

.profile__stats {
  margin: 0 0 1rem 0;
}
.profile__stats > li {
  text-align: center;
  border-right: 1px solid lightgray;
  padding: 0 0.5em;
  line-height: 1.1;
}
.profile__stats > li:first-child {
  padding-left: 0;
}
.profile__stats > li:last-child {
  border-right: none;
  padding-right: 0;
}

.profile_stat__heading {
  font-weight: 300;
  text-transform: capitalize;
  font-size: 0.875em;
  margin: 0 0 0.25em 0;
  color: slategray;
}

.profile_stat__number {
  font-size: 1.75em;
  color: slategray;
}

.profile__name {
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.social {
  margin-bottom: 0;
  margin-left: 0;
}
.social > li:not(:last-child) {
  margin-right: 0.5em;
}
.social .location {
  margin-left: 1em;
}
.social .location, .social .location .fa {
  color: darkgreen;
}
.social .location span {
  font-size: 0.875em;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.25em;
}
.social a {
  display: block;
  line-height: 1.1;
}
.social .fa {
  font-size: 1.25em;
  color: slategray;
}
.social .fa-github:hover {
  color: #171515;
}
.social .fa-instagram:hover {
  color: #3f729b;
}
.social .fa-twitter:hover {
  color: #00acee;
}
.social .fa-bitbucket:hover {
  color: #205081;
}






// Simple fade transition,
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out; 
  -moz-transition: all 0.15s ease-out; 
  transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out; 
  -moz-transition: all 0.15s ease-out; 
  transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}





.modaXl-container {
  margin: 0 auto;
  padding-top: 60px;
  position: relative;
  width: 160px;
}

.modaXl-container button {
  display: block;
  margin: 0 auto;
  color: #fff;
  width: 160px;
  height: 50px;
  line-height: 50px;
  background: #446CB3;
  font-size: 22px;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 5px 5px -5px #333;
  transition: background 0.3s ease-in;
}

.modaXl-container .modaXl-backdrop {
  height: 0;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.2s ease-in;
}

.modaXl-container #modaXl-toggle {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.modaXl-container #modaXl-toggle:hover ~ button { background: #1E824C; }

.modaXl-container #modaXl-toggle:checked {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  opacity: 0;
}

.modaXl-container #modaXl-toggle:checked ~ .modaXl-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 1;
}

.modaXl-container #modaXl-toggle:checked ~ .modaXl-backdrop .modaXl-content {
  background-color: #fff;
  max-width: 60%; /* 800px;  80%; */
  width: 100%;
  /*height: 280px;*/
  padding: 10px 30px;
  position: absolute;
  left: calc(50% - 400px);
  /*left: calc((100% - 150px) / 2);*/
  top: 3%;
  border-radius: 4px;
  z-index: 999;
  pointer-events: auto;
  cursor: auto;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.6);
}
@media (max-width: 400px) {

.modaXl-container #modaXl-toggle:checked ~ .modaXl-backdrop .modaXl-content { left: 0; }
}

.modaXl-container #modaXl-toggle:checked ~ .modaXl-backdrop .modaXl-content .modaXl-close {
  color: #666;
  position: absolute;
  right: 2px;
  top: 0;
  padding-top: 7px;
  background: #fff;
  font-size: 16px;
  width: 25px;
  height: 28px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.modaXl-container #modaXl-toggle:checked ~ .modaXl-backdrop .modaXl-content .modaXl-close.button {
  top: initial;
  bottom: 20px;
  right: 20px;
  background: #4CAF50;
  color: #fff;
  width: 50px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: normal;
}

.modaXl-container #modaXl-toggle:checked ~ .modaXl-backdrop .modaXl-content .modaXl-close.button:hover {
  color: #fff;
  background: #1E824C;
}

.modaXl-container #modaXl-toggle:checked ~ .modaXl-backdrop .modaXl-content .modaXl-close:hover { color: #333; }




