/* general styles */

body {
  font-family: 'Nunito Sans', sans-serif;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none !important;
}

h1 {
  color      : #46a8d8;
  font-weight: bold;
  font-family: 'Bree Serif', serif;
}

h2 {
  font-weight: bold;
}

p {
  font-size: 16px;
  color    : #666666;
}

.h4 {
  display: block;
  color  : #46a8d8;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 32px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 32px;
}

ul {
  padding: 0;
  margin : 0;
}

.modal-body {
  max-height: 75vh;
  overflow: auto;
}

.flex-row {
  display       : flex;
  flex-direction: row;
  align-items   : center;
}

#captcha {
  margin-left: 1rem;
}

.form-group {
  margin-bottom: 0px;
}

.card {
  text-align   : left;
  background   : #FFF;
  padding      : 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow   : 0px 0px 8px 2px rgba(0, 0, 0, 0.03);
}

.card2 {
  text-align                : left;
  background                : #FFF;
  padding                   : 15px;
  margin-bottom             : 15px;
  border-bottom-left-radius : 10px;
  border-bottom-right-radius: 10px;
  box-shadow                : 0px 0px 8px 2px rgba(0, 0, 0, 0.03);
}

img.no-border {
  background: #FFF;
}

.justify-content-center {
  display        : flex;
  justify-content: center;
}

.modal-dialog {
  z-index: 1050;
}

.flex-row-center {
  display        : flex;
  flex-direction : row;
  align-items    : center;
  justify-content: flex-start;
}

.flex-row-space-between {
  display        : flex;
  flex-direction : row;
  align-items    : center;
  justify-content: space-between;
}

.flex-row-center .material-icons {
  margin-left: 15px;
  color      : #46a8d8;
}

.about-us img,
.img-responsive {
  border-radius: 10px;
}

.skillbar {
  cursor: pointer;
}

.hide {
  display: none;
}

.display {
  display: block;
}

.t-bg {
  background: rgba(255, 255, 255, 0.5);
}

.modal-open {
  padding-right: 0 !important;
}

/* flash alert styles */

.flash-container {
  width      : 100%;
  position   : fixed;
  z-index    : 700;
  padding-top: 20px;
  font-weight: bold;
}

.alert {
  margin-left : auto !important;
  margin-right: auto !important;
  color       : #211809 !important;
}

/* Nav Screen */

.nav-screen {
  height                : 100%;
  z-index               : 500;
  position              : fixed;
  background-color      : #000;
  opacity               : 1;
  right                 : -285px;
  /* start off behind the scenes */
  -webkit-font-smoothing: antialiased;
  position              : fixed;
  width                 : 285px;
}

.nav-screen .active {
  display: block;
}

/* nav header links */

.nav-brand {
  position: fixed;
  left    : 0;
  z-index : 600;
  padding : 4px 10px 10px 10px;
}

.nav-brand img {
  width: 120px;
}

.fa-bars {
  display : none !important;
  color   : #46a8d8;
  float   : right;
  padding : 20px;
  position: fixed;
  right   : 0;
  z-index : 500;
  cursor  : pointer;
}

.fa-times {
  color  : #46a8d8;
  float  : right;
  padding: 20px;
  right  : 0;
  z-index: 600;
  cursor : pointer;
}

.header-links {
  position     : fixed;
  width        : 100%;
  z-index      : 500;
  transition   : all ease-in-out 0.5s;
  padding-right: 24px;
}

.message-unsuccess {
  padding      : 12px;
  border       : solid 3px #FFF;
  border-radius: 12px;
  background   : rgb(255 255 255 / 0.5);
  color        : #bb0303;
}

.message-success {
  border       : solid 3px #FFF;
  border-radius: 12px;
  padding      : 12px;
  background   : rgba(255, 255, 255, 0.5);
  color        : #048e04;
}

.header-links li {
  color    : white;
  display  : block;
  float    : right;
  padding  : 15px;
  font-size: 16px;
}

.header-links a {
  color      : #757575;
  transition : all 0.2s ease-in;
  font-weight: 600;
}

/* .header-links a:hover {
  color: #EEE !important;
} */

/* slide out nav menu styles */

.nav-container {
  padding-top: 10%;
}

.nav-links {
  width       : 250px;
  text-align  : center;
  margin-left : auto;
  margin-right: auto;
}

.nav-links ul {
  margin-top : 15%;
  text-align : center;
  padding-top: 10%;
}

.nav-links a {
  color          : #FFFFFF;
  font-size      : 30px;
  line-height    : 2.5;
  font-weight    : bold;
  text-decoration: none;
  margin-left    : auto;
  margin-right   : auto;
}

.nav-links a:hover {
  color             : #46a8d8;
  -webkit-transition: all 0.6s ease-in-out;
  -o-transition     : all 0.6s ease-in-out;
  -ms-transition    : all 0.6s ease-in-out;
  -moz-transition   : all 0.6s ease-in-out;
  transition        : all 0.6s ease-in-out;
}

#fp-nav ul li .fp-tooltip {
  color: #6bbbe1 !important;
}

/* Expanding border effect */

.header-links a::after {
  display           : block;
  margin            : 0 auto;
  margin-top        : 5px;
  width             : 0;
  height            : 2px;
  background-color  : #46a8d8;
  content           : '';
  opacity           : 0;
  -webkit-transition: width 0.6s, opacity 0.8s;
  -moz-transition   : width 0.6s, opacity 0.8s;
  transition        : width 0.6s, opacity 0.8s;
}

.header-links a:hover::after,
.header-links a:focus::after {
  opacity: 1;
  width  : 100%;
}

.logo {
  max-width : 500px;
  background: rgba(255, 255, 255, 0.3);
}

/* main header section */

.opaque-bg {
  margin-left : auto;
  margin-right: auto;
  max-width   : 500px;
  padding     : 1px 1px 5px 5px;
}

.fixbg- {
  position       : fixed;
  /* background  : url(imgs/bgs.jpg) no-repeat; */
  background-size: cover;
  top            : 0;
  bottom         : 0;
  left           : 0;
  right          : 0;
}

.section.aboutme {
  background: rgba(21, 118, 159, 1);
  background: radial-gradient(circle, rgba(192, 241, 220, 1) 14%, rgba(21, 118, 159, 1) 100%);
}

.section.about,
.section.projects,
.section.partner,
.section.contact {
  background: rgb(192, 241, 220);
  background: linear-gradient(135deg, rgba(192, 241, 220, 1) 0%, rgba(160, 226, 254, 1) 50%);
}

.aboutme p {
  color      : #555555;
  font-weight: 100;
  font-size  : 17.4px;
}

img {
  border-radius: 20px;
  border       : solid 3px rgba(255, 255, 255, 0.7);
}

/* =====================================  Cookies Law =========================== */

.cookiealert {
  position     : fixed;
  bottom       : 0;
  left         : 0;
  width        : 100%;
  margin       : 0 !important;
  z-index      : 999;
  opacity      : 0;
  border-radius: 0;
  transform    : translateY(100%);
  transition   : all 500ms ease-out;
  color        : #ecf0f1;
  background   : #212327;
}

.cookiealert.show {
  opacity         : 1;
  transform       : translateY(0%);
  transition-delay: 1000ms;
}

.cookiealert a {
  text-decoration: underline;
  color          : #FFF;
  margin-right   : 12px;
}

.cookiealert .acceptcookies {
  margin-left   : 10px;
  vertical-align: baseline;
  min-width     : 88px;
}

.cookie-content {
  margin         : 12px auto;
  display        : flex;
  flex-direction : row;
  justify-content: space-between;
  align-items    : center;
  color          : #fff;
  text-shadow    : none;
}

.text-center .logo {
  max-width: 300px;
  height   : auto;
}

/* =====================================  END Cookies Law =========================== */

/* bouncing arrow */

.fa-chevron-down {
  color             : #46a8d8 !important;
  bottom            : 10px;
  margin-left       : -30px;
  cursor            : pointer;
  position          : absolute;
  opacity           : 0;
  -webkit-transition: 1.2s ease;
}

/* Scroll down indicator (bouncing) */

@-webkit-keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    transform        : translateX(0);
  }

  40% {
    -webkit-transform: translateY(-30px);
    transform        : translateY(-30px);
  }

  60% {
    -webkit-transform: translateY(-15px);
    transform        : translateY(-15px);
  }
}

@-moz-keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    -ms-transform: translateY(0);
    transform    : translateY(0);
  }

  40% {
    -ms-transform: translateY(-30px);
    transform    : translateY(-30px);
  }

  60% {
    -ms-transform: translateY(-15px);
    transform    : translateY(-15px);
  }
}

.bounce {
  -webkit-animation: bounce 2s infinite;
  animation        : bounce 2s infinite;
}

/* about section */

/* Skill bars */

.container-skillbar {
  width        : 100%;
  padding-top  : 30px;
  padding-right: 2%;
  padding-left : 2%;
  height       : auto;
  overflow     : none;
}

.skillbar {
  position                   : relative;
  display                    : block;
  margin-bottom              : 15px;
  width                      : 100%;
  background                 : #efefef;
  height                     : 30px;
  border-radius              : 3px;
  -moz-border-radius         : 3px;
  -webkit-border-radius      : 3px;
  -webkit-transition         : 0.4s linear;
  -moz-transition            : 0.4s linear;
  -ms-transition             : 0.4s linear;
  -o-transition              : 0.4s linear;
  transition                 : 0.4s linear;
  -webkit-transition-property: width, background-color;
  -moz-transition-property   : width, background-color;
  -ms-transition-property    : width, background-color;
  -o-transition-property     : width, background-color;
  transition-property        : width, background-color;
}

.skillbar-title {
  position                         : absolute;
  top                              : 0;
  left                             : 0;
  width                            : 110px;
  font-weight                      : bold;
  font-size                        : 13px;
  color                            : #fff;
  background                       : #6adcfa;
  -webkit-border-top-left-radius   : 3px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft       : 3px;
  -moz-border-radius-bottomleft    : 3px;
  border-top-left-radius           : 3px;
  border-bottom-left-radius        : 3px;
}

.skillbar-title span {
  display                          : block;
  background                       : rgba(0, 0, 0, 0.15);
  padding                          : 0 20px;
  height                           : 30px;
  line-height                      : 30px;
  -webkit-border-top-left-radius   : 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-topleft       : 3px;
  -moz-border-radius-bottomleft    : 3px;
  border-top-left-radius           : 3px;
  border-bottom-left-radius        : 3px;
}

.skillbar-bar {
  height               : 30px;
  width                : 0px;
  border-radius        : 3px;
  -moz-border-radius   : 3px;
  -webkit-border-radius: 3px;
}

.skill-bar-percent {
  position   : absolute;
  right      : 10px;
  top        : 0;
  font-size  : 11px;
  height     : 30px;
  line-height: 30px;
  color      : #ffffff;
  color      : rgba(0, 0, 0, 0.5);
}

/* portfolio section */

.content {
  margin-left : auto;
  margin-right: auto;
  max-width   : 1170px;
}

.content-slide {
  margin-left  : auto;
  margin-right : auto;
  max-width    : 1170px;
  padding-left : 15px;
  padding-right: 15px;
}

.content-slide img {
  width: 100%;
}

.fp-controlArrow {
  border       : solid #46a8d8;
  border-width : 0 10px 10px 0;
  display      : inline-block;
  padding      : 15px;
  opacity      : .5;
  border-radius: 8px;
}

.fp-controlArrow.fp-next {
  transform        : rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.fp-controlArrow.fp-prev {
  transform        : rotate(135deg);
  -webkit-transform: rotate(135deg);
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  background: #6bbbe1 !important;
}

/* contact us styles */

.fa-paper-plane {
  color: #484848;
}

/* paper plane shake on hover */

.plane-animated {
  animation-duration       : 6s;
  animation-fill-mode      : both;
  animation-iteration-count: infinite;
  animation-play-state     : paused;
}

.fa-paper-plane:hover {
  /* Toggle our animation play state to running when we are hovering over our sticker */
  animation-play-state: running;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

.shake {
  animation-name: shake;
}

p.mt-2.text-center {
  font-size    : 13px;
  padding-left : 12px;
  padding-right: 12px;
}

/* input field styles */

.form-control {
  border     : 2px solid rgba(0, 0, 0, 0.27);
  width      : 100%;
  max-width  : 100%;
  height     : 3em;
  font-size  : 16px;
  padding    : 1em;
  margin     : 0 0 .5em 0;
  font-weight: bold;
}

textarea {
  min-height: 10em;
}

label {
  display       : inline-block;
  max-width     : 100%;
  margin-bottom : 5px;
  font-size     : 18px;
  text-transform: uppercase;
  font-weight   : 500;
}

#submit {
  outline         : none;
  padding         : 12px;
  min-width       : 200px;
  border-radius   : 2px;
  border          : 2px solid #46a8d8;
  text-align      : center;
  font-size       : 1em;
  color           : #46a8d8;
  background-color: white;
  text-decoration : none;
  text-transform  : uppercase;
  font-weight     : bold;
}

#submit:hover {
  background-color  : #46a8d8;
  color             : white;
  -webkit-transition: all 0.3s ease-out;
  -o-transition     : all 0.3s ease-out;
  -ms-transition    : all 0.3s ease-out;
  -moz-transition   : all 0.3s ease-out;
  transition        : all 0.3s ease-out;
}

/* footer styles */

.footer {
  background-color: #484848;
  height          : 100px;
  padding-top     : 10px;
}

.footer p {
  color      : white;
  font-weight: bold;
  font-size  : 16px;
}

.social-links a {
  color  : white;
  padding: 0px 5px 0px 5px;
}

.social-links a:hover {
  color             : #46a8d8;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition     : all 0.2s ease-in-out;
  -ms-transition    : all 0.2s ease-in-out;
  -moz-transition   : all 0.2s ease-in-out;
  transition        : all 0.2s ease-in-out;
}

/* smaller resolution styles */

@media (max-width:1200px) {
  .fp-slides {
    max-width: 860px;
    margin   : auto;
  }
}

@media (min-width: 100px) and (max-width: 500px) {
  .fa-bars {
    display: block !important;
  }

  .header-links {
    display: none;
  }
}

/* mobile styles */

@media (min-width: 100px) and (max-width: 400px) {
  .content {
    max-width: 300px;
  }

  .aboutme h1 {
    font-size: 28px;
  }
}

/* loading screen animation */

.spinner {
  position        : fixed;
  width           : 100%;
  height          : 100%;
  padding         : 25%;
  background-color: #2F2F2F;
  text-align      : center;
  font-size       : 10px;
  z-index         : 1000;
}

.spinner>div {
  background-color : #46a8d8;
  height           : 100%;
  width            : 6px;
  display          : inline-block;
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation        : sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay        : -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay        : -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay        : -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay        : -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4)
  }

  20% {
    -webkit-transform: scaleY(1.0)
  }
}

@keyframes sk-stretchdelay {

  0%,
  40%,
  100% {
    transform        : scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }

  20% {
    transform        : scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

.blinking-cursor {
  font-weight      : 500;
  margin-left      : 4px;
  font-size        : 20px;
  color            : white !important;
  -webkit-animation: 1s blink step-end infinite;
  -moz-animation   : 1s blink step-end infinite;
  -ms-animation    : 1s blink step-end infinite;
  -o-animation     : 1s blink step-end infinite;
  animation        : 1s blink step-end infinite;
}

@keyframes blink {

  from,
  to {
    color: transparent;
  }

  50% {
    color: white;
  }
}

@-moz-keyframes blink {

  from,
  to {
    color: transparent;
  }

  50% {
    color: white;
  }
}

@-webkit-keyframes blink {

  from,
  to {
    color: transparent;
  }

  50% {
    color: white;
  }
}

@-ms-keyframes blink {

  from,
  to {
    color: transparent;
  }

  50% {
    color: white;
  }
}

@-o-keyframes blink {

  from,
  to {
    color: transparent;
  }

  50% {
    color: white;
  }
}

.success {
  padding              : 1em;
  margin-bottom        : 0.75rem;
  text-shadow          : 0 1px 0 rgba(255, 255, 255, 0.5);
  color                : #468847;
  background-color     : #dff0d8;
  border               : 1px solid #d6e9c6;
  -webkit-border-radius: 4px;
  -moz-border-radius   : 4px;
  border-radius        : 4px;
}

.error {
  padding              : 1em;
  margin-bottom        : 0.75rem;
  text-shadow          : 0 1px 0 rgba(255, 255, 255, 0.5);
  color                : #b94a48;
  background-color     : #f2dede;
  border               : 1px solid rgba(185, 74, 72, 0.3);
  -webkit-border-radius: 4px;
  -moz-border-radius   : 4px;
  border-radius        : 4px;
}

/* ======================Material Icons===================== */

@font-face {
  font-family: 'Material Icons';
  font-style : normal;
  font-weight: 400;
  src        : url(../fonts/MaterialIcons-Regular.eot);
  /* For IE6-8 */
  src        : local('Material Icons'), local('MaterialIcons-Regular'), url(./fonts/MaterialIcons-Regular.woff2) format('woff2'), url(./fonts/MaterialIcons-Regular.woff) format('woff'), url(./fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family            : 'Material Icons';
  font-weight            : normal;
  font-style             : normal;
  font-size              : 24px;
  /* Preferred icon size */
  display                : inline-block;
  line-height            : 1;
  text-transform         : none;
  letter-spacing         : normal;
  word-wrap              : normal;
  white-space            : nowrap;
  direction              : ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing : antialiased;
  /* Support for Safari and Chrome. */
  text-rendering         : optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings  : 'liga';
}

/* =================================================== */

i.material-icons.bounce {
  color      : #46a8d8 !important;
  bottom     : 10px;
  margin-left: -30px;
  cursor     : pointer;
  position   : absolute;
}