/*!
 * Start Bootstrap - Freelancer v5.0.1 (https://startbootstrap.com/template-overviews/freelancer)
 * Copyright 2013-2018 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-freelancer/blob/master/LICENSE)
 */

body {
  font-family: 'Lato';
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Montserrat';
}

hr.star-light,
hr.star-dark {
  max-width: 15rem;
  padding: 0;
  text-align: center;
  border: none;
  border-top: solid 0.25rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

hr.star-light:after,
hr.star-dark:after {
  position: relative;
  top: -.8em;
  display: inline-block;
  padding: 0 0.25em;
  content: '\f005';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
}

hr.star-light {
  border-color: #fff;
}

hr.star-light:after {
  color: #fff;
  background-color: #cac2b1;
}

hr.star-dark {
  border-color: #28394e;
}

hr.star-dark:after {
  color: #28394e;
  background-color: white;
}

hr.gamepad-light,
hr.gamepad-dark {
  max-width: 15rem;
  padding: 0;
  text-align: center;
  border: none;
  border-top: solid 0.25rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

hr.gamepad-light:after,
hr.gamepad-dark:after {
  position: relative;
  top: -.8em;
  display: inline-block;
  padding: 0 0.25em;
  content: '\f11b';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
}

hr.gamepad-light {
  border-color: #fff;
}

hr.gamepad-light:after {
  color: #fff;
  background-color: #cac2b1;
}

hr.gamepad-dark {
  border-color: #28394e;
}

hr.gamepad-dark:after {
  color: #28394e;
  background-color: white;
}

hr.keyboard-light,
hr.keyboard-dark {
  max-width: 15rem;
  padding: 0;
  text-align: center;
  border: none;
  border-top: solid 0.25rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

hr.keyboard-light:after,
hr.keyboard-dark:after {
  position: relative;
  top: -.8em;
  display: inline-block;
  padding: 0 0.25em;
  content: '\f11c';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
}

hr.keyboard-light {
  border-color: #fff;
}

hr.keyboard-light:after {
  color: #fff;
  background-color: #cac2b1;
}

hr.keyboard-dark {
  border-color: #28394e;
}

hr.keyboard-dark:after {
  color: #28394e;
  background-color: white;
}

hr.user-light,
hr.user-dark {
  max-width: 15rem;
  padding: 0;
  text-align: center;
  border: none;
  border-top: solid 0.25rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

hr.user-light:after,
hr.user-dark:after {
  position: relative;
  top: -.8em;
  display: inline-block;
  padding: 0 0.25em;
  content: '\f007';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
}

hr.user-light {
  border-color: #fff;
}

hr.user-light:after {
  color: #fff;
  background-color: #cac2b1;
}

hr.user-dark {
  border-color: #28394e;
}

hr.user-dark:after {
  color: #28394e;
  background-color: white;
}

hr.envelope-light,
hr.envelope-dark {
  max-width: 15rem;
  padding: 0;
  text-align: center;
  border: none;
  border-top: solid 0.25rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  margin-left: auto;
  margin-right: auto;
}

hr.envelope-light:after,
hr.envelope-dark:after {
  position: relative;
  top: -.8em;
  display: inline-block;
  padding: 0 0.25em;
  content: '\f0e0';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
}

hr.envelope-light {
  border-color: #fff;
}

hr.envelope-light:after {
  color: #fff;
  background-color: #cac2b1;
}

hr.envelope-dark {
  border-color: #28394e;
}

hr.envelope-dark:after {
  color: #28394e;
  background-color: white;
}

section {
  padding: 6rem 0;
}

section h2 {
  font-size: 2.25rem;
  line-height: 2rem;
}

@media (min-width: 992px) {
  section h2 {
    font-size: 3rem;
    line-height: 2.5rem;
  }
}

.btn-xl {
  padding: 1rem 1.75rem;
  font-size: 1.25rem;
}

.btn-social {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.25rem;
  line-height: 2rem;
}

.scroll-to-top {
  z-index: 1042;
  right: 1rem;
  bottom: 1rem;
  display: none;
}

.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(33, 37, 41, 0.5);
  line-height: 3.1rem;
}

#mainNav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-weight: 700;
  font-family: 'Montserrat';
}

#mainNav .navbar-brand {
  color: #fff;
}

#mainNav .navbar-nav {
  margin-top: 1rem;
  letter-spacing: 0.0625rem;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
  color: #fff;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
  color: #cac2b1;
}

#mainNav .navbar-nav li.nav-item a.nav-link:active, #mainNav .navbar-nav li.nav-item a.nav-link:focus {
  color: #fff;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
  color: #cac2b1;
}

#mainNav .navbar-toggler {
  font-size: 80%;
  padding: 0.8rem;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
  }
  #mainNav .navbar-brand {
    font-size: 2em;
    -webkit-transition: font-size 0.3s;
    transition: font-size 0.3s;
  }
  #mainNav .navbar-nav {
    margin-top: 0;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
    color: #fff;
    background: #cac2b1;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
    color: #fff;
    background: #cac2b1;
  }
  #mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.5em;
  }
}

header.masthead {
  padding-top: calc(6rem + 72px);
  padding-bottom: 6rem;
}

header.masthead h1 {
  font-size: 3rem;
  line-height: 3rem;
}

header.masthead h2 {
  font-size: 1.7rem;
  font-family: 'Lato';
}

@media (min-width: 992px) {
  header.masthead {
    padding-top: calc(6rem + 106px);
    padding-bottom: 6rem;
  }
  header.masthead h1 {
    font-size: 3.75em;
    line-height: 4rem;
  }
  header.masthead h2 {
    font-size: 2.5em;
  }
}

.portfolio {
  margin-bottom: -15px;
}

.portfolio .portfolio-item {
  position: relative;
  display: block;
  max-width: 25rem;
  margin-bottom: 15px;
}

.portfolio .portfolio-item .portfolio-item-caption {
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background-color: rgba(24, 188, 156, 0.9);
}

.portfolio .portfolio-item .portfolio-item-caption:hover {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-item-caption .portfolio-item-caption-content {
  font-size: 1.5rem;
}

@media (min-width: 576px) {
  .portfolio {
    margin-bottom: -30px;
  }
  .portfolio .portfolio-item {
    margin-bottom: 30px;
  }
}

.portfolio-modal .portfolio-modal-dialog {
  padding: 3rem 1rem;
  min-height: calc(100vh - 2rem);
  margin: 1rem calc(1rem - 8px);
  position: relative;
  z-index: 2;
  -webkit-box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3rem 1rem rgba(0, 0, 0, 0.5);
}

.portfolio-modal .portfolio-modal-dialog .close-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.portfolio-modal .portfolio-modal-dialog .close-button i {
  line-height: 38px;
}

.portfolio-modal .portfolio-modal-dialog h2 {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .portfolio-modal .portfolio-modal-dialog {
    min-height: 100vh;
    padding: 5rem;
    margin: 3rem calc(3rem - 8px);
  }
  .portfolio-modal .portfolio-modal-dialog h2 {
    font-size: 3rem;
  }
}

.floating-label-form-group {
  position: relative;
  border-bottom: 1px solid #e9ecef;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
  font-size: 1.5em;
  position: relative;
  z-index: 1;
  padding-right: 0;
  padding-left: 0;
  resize: none;
  border: none;
  border-radius: 0;
  background: none;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.floating-label-form-group label {
  font-size: 0.85em;
  line-height: 1.764705882em;
  position: relative;
  z-index: 0;
  top: 2em;
  display: block;
  margin: 0;
  -webkit-transition: top 0.3s ease, opacity 0.3s ease;
  transition: top 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
}

.floating-label-form-group:not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #e9ecef;
}

.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}

.floating-label-form-group-with-focus label {
  color: #cac2b1;
}

form .row:first-child .floating-label-form-group {
  border-top: 1px solid #e9ecef;
}

.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #28394e;
  color: #fff;
}

.copyright {
  background-color: #1a252f;
}

a {
  color: #cac2b1;
}

a:focus, a:hover, a:active {
  color: #8eaace;
}

.btn {
  border-width: 2px;
}

.bg-primary {
  background-color: /*#cac2b1*/ #cac2b1 !important;
}

.bg-secondary {
  background-color: #28394e !important;
}

.text-primary {
  color: #cac2b1 !important;
}

.text-secondary {
  color: #28394e !important;
}

.btn-primary {
  background-color: #cac2b1;
  border-color: #cac2b1;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #8aaace;
  border-color: #8aaace;
}

.btn-secondary {
  background-color: #28394e;
  border-color: #28394e;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #1a252f;
  border-color: #1a252f;
}

/* custom modifs */
.img-app-icon {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 2.5rem;
    max-width: 100%;
    height: auto;
}

.flexdiv { 
  height: auto;
  width : 100% 
}

/* bootstrap missing properties */
.lr0 {
	left:0;
	right:0;
}

.tb0 {
	top:0;
	bottom:0;
}

/* bootstrap override */
.rounded {
	border-radius: .5rem!important;
}

/* ===================================================================
 * # preloader
 * ------------------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #06121d;
    z-index: 2000;
    height: 100%;
    width: 100%;
    display: table;
}

.no-js #preloader, .oldie #preloader {
    display: none;
}

#loader {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.la-ball-8bits,
.la-ball-8bits > div {
    position: relative;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.la-ball-8bits {
    display: block;
    font-size: 0;
    color: #fff;
    width: 12px;
    height: 12px;
}

.la-ball-8bits > div {
    display: inline-block;
    float: none;
    background-color: currentColor;
    border: 0 solid currentColor;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 0;
    opacity: 0;
    -webkit-transform: translate(100%, 100%);
       -moz-transform: translate(100%, 100%);
        -ms-transform: translate(100%, 100%);
         -o-transform: translate(100%, 100%);
            transform: translate(100%, 100%);
    -webkit-animation: ball-8bits 1s 0s ease infinite;
       -moz-animation: ball-8bits 1s 0s ease infinite;
         -o-animation: ball-8bits 1s 0s ease infinite;
            animation: ball-8bits 1s 0s ease infinite;
}

.la-ball-8bits > div:nth-child(1) {
    -webkit-animation-delay: -.9375s;
       -moz-animation-delay: -.9375s;
         -o-animation-delay: -.9375s;
            animation-delay: -.9375s;
}
.la-ball-8bits > div:nth-child(2) {
    -webkit-animation-delay: -.875s;
       -moz-animation-delay: -.875s;
         -o-animation-delay: -.875s;
            animation-delay: -.875s;
}
.la-ball-8bits > div:nth-child(3) {
    -webkit-animation-delay: -.8125s;
       -moz-animation-delay: -.8125s;
         -o-animation-delay: -.8125s;
            animation-delay: -.8125s;
}
.la-ball-8bits > div:nth-child(4) {
    -webkit-animation-delay: -.75s;
       -moz-animation-delay: -.75s;
         -o-animation-delay: -.75s;
            animation-delay: -.75s;
}
.la-ball-8bits > div:nth-child(5) {
    -webkit-animation-delay: -.6875s;
       -moz-animation-delay: -.6875s;
         -o-animation-delay: -.6875s;
            animation-delay: -.6875s;
}
.la-ball-8bits > div:nth-child(6) {
    -webkit-animation-delay: -.625s;
       -moz-animation-delay: -.625s;
         -o-animation-delay: -.625s;
            animation-delay: -.625s;
}
.la-ball-8bits > div:nth-child(7) {
    -webkit-animation-delay: -.5625s;
       -moz-animation-delay: -.5625s;
         -o-animation-delay: -.5625s;
            animation-delay: -.5625s;
}
.la-ball-8bits > div:nth-child(8) {
    -webkit-animation-delay: -.5s;
       -moz-animation-delay: -.5s;
         -o-animation-delay: -.5s;
            animation-delay: -.5s;
}
.la-ball-8bits > div:nth-child(9) {
    -webkit-animation-delay: -.4375s;
       -moz-animation-delay: -.4375s;
         -o-animation-delay: -.4375s;
            animation-delay: -.4375s;
}
.la-ball-8bits > div:nth-child(10) {
    -webkit-animation-delay: -.375s;
       -moz-animation-delay: -.375s;
         -o-animation-delay: -.375s;
            animation-delay: -.375s;
}
.la-ball-8bits > div:nth-child(11) {
    -webkit-animation-delay: -.3125s;
       -moz-animation-delay: -.3125s;
         -o-animation-delay: -.3125s;
            animation-delay: -.3125s;
}
.la-ball-8bits > div:nth-child(12) {
    -webkit-animation-delay: -.25s;
       -moz-animation-delay: -.25s;
         -o-animation-delay: -.25s;
            animation-delay: -.25s;
}
.la-ball-8bits > div:nth-child(13) {
    -webkit-animation-delay: -.1875s;
       -moz-animation-delay: -.1875s;
         -o-animation-delay: -.1875s;
            animation-delay: -.1875s;
}
.la-ball-8bits > div:nth-child(14) {
    -webkit-animation-delay: -.125s;
       -moz-animation-delay: -.125s;
         -o-animation-delay: -.125s;
            animation-delay: -.125s;
}
.la-ball-8bits > div:nth-child(15) {
    -webkit-animation-delay: -.0625s;
       -moz-animation-delay: -.0625s;
         -o-animation-delay: -.0625s;
            animation-delay: -.0625s;
}
.la-ball-8bits > div:nth-child(16) {
    -webkit-animation-delay: 0s;
       -moz-animation-delay: 0s;
         -o-animation-delay: 0s;
            animation-delay: 0s;
}
.la-ball-8bits > div:nth-child(1) {
    top: -100%;
    left: 0;
}
.la-ball-8bits > div:nth-child(2) {
    top: -100%;
    left: 33.3333333333%;
}
.la-ball-8bits > div:nth-child(3) {
    top: -66.6666666667%;
    left: 66.6666666667%;
}
.la-ball-8bits > div:nth-child(4) {
    top: -33.3333333333%;
    left: 100%;
}
.la-ball-8bits > div:nth-child(5) {
    top: 0;
    left: 100%;
}
.la-ball-8bits > div:nth-child(6) {
    top: 33.3333333333%;
    left: 100%;
}
.la-ball-8bits > div:nth-child(7) {
    top: 66.6666666667%;
    left: 66.6666666667%;
}
.la-ball-8bits > div:nth-child(8) {
    top: 100%;
    left: 33.3333333333%;
}
.la-ball-8bits > div:nth-child(9) {
    top: 100%;
    left: 0;
}
.la-ball-8bits > div:nth-child(10) {
    top: 100%;
    left: -33.3333333333%;
}
.la-ball-8bits > div:nth-child(11) {
    top: 66.6666666667%;
    left: -66.6666666667%;
}
.la-ball-8bits > div:nth-child(12) {
    top: 33.3333333333%;
    left: -100%;
}
.la-ball-8bits > div:nth-child(13) {
    top: 0;
    left: -100%;
}
.la-ball-8bits > div:nth-child(14) {
    top: -33.3333333333%;
    left: -100%;
}
.la-ball-8bits > div:nth-child(15) {
    top: -66.6666666667%;
    left: -66.6666666667%;
}
.la-ball-8bits > div:nth-child(16) {
    top: -100%;
    left: -33.3333333333%;
}

.la-ball-8bits.la-2x {
    width: 24px;
    height: 24px;
}
.la-ball-8bits.la-2x > div {
    width: 8px;
    height: 8px;
}

/*
 * Animation
 */
@-webkit-keyframes ball-8bits {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
}
@-moz-keyframes ball-8bits {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
}
@-o-keyframes ball-8bits {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
}
@keyframes ball-8bits {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
}