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

body {
  overflow-x: hidden;
  font-family: 'Roboto Slab',  'Source Sans Pro', sans-serif;
}

p {
  line-height: 1.75;
}

a {
  color: #fed136;
}

a:hover {
  color: #fec503;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
  color: #444444;
}

section {
  padding: 50px 0;
}

section h2.section-heading {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 15px;
  font-family: 'Roboto Slab', serif;
  color: #444444;
}

section h3.intro-section-subheading {
  font-size: 20px;
  font-weight: 400;
  text-transform: none;
  font-family: 'Roboto Slab', serif;
}

section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  font-family: 'Roboto Slab', serif;
}

.gif-overlay{
  position:absolute;
  padding-top:68px;
  padding-left:80px;
  padding-right:130px;
}

@media (max-width: 758px) {
  .gif-overlay {
    position: absolute;
    padding-top: 41px;
    padding-left: 52px;
    padding-right: 97px;
  }
}



@media (min-width: 768px) {
  section {
    padding: 50px 0;
  }
}

.btn {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

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

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #fec810 !important;
  border-color: #fec810 !important;
  color: white;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}

::-moz-selection {
  background: #fed136;
  text-shadow: none;
}

::selection {
  background: #fed136;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

#mainNav {
  background-color: #212529;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: #fed136;
  font-family: 'Source Sans Pro', sans-serif;
}

#mainNav .navbar-brand {
  color: #fed136;
  font-family: 'Kaushan Script', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #fec503;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 18px;
  font-weight: 400;
  padding: 0.75em 0;
  letter-spacing: 1px;
  color: white;
  font-family: 'Source Sans Pro', sans-serif;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fed136;
}

@media (max-width: 575px) {
  .my-xs-5{
    margin-top:10px;
  }
  header.masthead .intro-text {
    padding-top: 200px;
    padding-bottom: 20px !important;
}
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 25px;
    padding-bottom: 25px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    font-size: 1.75em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #212529;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
  }
}

header.masthead {
  color: white;
  background-image: url("../img/header-bg.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}

header.masthead .intro-text {
  padding-top: 150px;
  padding-bottom: 100px;
}

header.masthead .intro-text .intro-lead-in {
  font-size: 48px;
  line-height: 22px;
  margin-bottom: 25px;
  font-style: normal;
  font-family: 'Roboto Slab', serif;
}

header.masthead .intro-text .intro-heading {
  font-size: 22px;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 25px;
  font-family: 'Source Sans Pro', sans-serif;
}

header.masthead .intro-text {
  padding-top: 200px;
  padding-bottom: 150px;
}
header.masthead .intro-text .intro-lead-in {
  font-size: 48px;
  line-height: 40px;
  margin-bottom: 25px;
  font-family: 'Roboto Slab', serif;
}
header.masthead .intro-text .intro-heading {
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 50px;
  font-family: 'Source Sans Pro', sans-serif;
}

@media (min-width: 768px) {
  header.masthead .intro-text {
    padding-top: 200px;
    padding-bottom: 150px;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 48px;
    line-height: 40px;
    margin-bottom: 25px;
    font-family: 'Roboto Slab', serif;
  }
  header.masthead .intro-text .intro-heading {
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 50px;
    font-family: 'Source Sans Pro', sans-serif;
  }
  
}

.service-heading {
  margin: 15px 0;
  text-transform: none;
}

#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(254, 209, 54, 0.9);
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#portfolio .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
  border-bottom: solid 8px #85C440;
  border-radius: 0px 5px 5px 5px;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

#portfolio .portfolio-item .portfolio-caption p {
  font-size: 14px;  
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
}

#portfolio * {
  z-index: 2;
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
  
}

@media (min-width: 992px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px;
  }
  header.masthead .macbook {
    padding-top:200px;
    padding-bottom: 100px;
  }
}


@media (min-width: 1200px) {
  header.masthead .macbook {
    padding-top:200px;
    padding-bottom: 100px;
  }
}
  .team-member {
    margin-bottom: 50px;
    text-align: center;
  }

  .team-member img {
    width: 225px;
    height: 225px;
    border: 7px solid #fff;
  }

  .team-member h4 {
    margin-top: 25px;
    margin-bottom: 0;
    text-transform: none;
  }

  .team-member p {
    margin-top: 0;
  }

  section#contact {
    background-color: #212529;
    background-image: url("../img/map-image.png");
    background-repeat: no-repeat;
    background-position: center;
  }

  section#contact .section-heading {
    color: #fff;
  }

  section#contact .form-group {
    margin-bottom: 25px;
  }

  section#contact .form-group input,
  section#contact .form-group textarea {
    padding: 20px;
  }

  section#contact .form-group input.form-control {
    height: auto;
  }

  section#contact .form-group textarea.form-control {
    height: 248px;
  }

  section#contact .form-control:focus {
    border-color: #fed136;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  section#contact ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Source Sans Pro', sans-serif;
  }

  section#contact :-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Source Sans Pro', sans-serif;
  }

  section#contact ::-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Source Sans Pro', sans-serif;
  }

  section#contact :-ms-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Source Sans Pro', sans-serif;
  }

  footer {
    padding: 25px 0;
    text-align: center;
  }

  footer span.copyright {
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
    font-weight: bolder;
    font-size: 16px;
    color: #848484;
  }

  footer ul.quicklinks {
    font-size: 90%;
    line-height: 40px;
    margin-bottom: 0;
    text-transform: none;
    font-family: 'Source Sans Pro', sans-serif;
  }

  ul.social-buttons {
    margin-bottom: 0;
  }

  ul.social-buttons li a {
    font-size: 20px;
    line-height: 50px;
    display: block;
    width: 50px;
    height: 50px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: white;
    border-radius: 100%;
    outline: none;
    background-color: #212529;
  }

  ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
    background-color: #FBBD43;
  }

  .bg-blue{
    background-color: #083F88;
  }

  section#optimize {
    background-color: #212529;
    background-image: url("../img/section-bg/optimize-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
}

/* Testimonials */
figure.snip1192 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 220px;
  max-width: 310px;
  width: 100%;
  color: #333;
  text-align: left;
  box-shadow: none !important;
}
figure.snip1192 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
figure.snip1192 img {
  max-width: 100%;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  display: inline-block;
  z-index: 1;
  position: relative;
}
figure.snip1192 blockquote {
  margin: 0;
  display: block;
  border-radius: 8px;
  position: relative;
  background-color: #fafafa;
  padding: 30px 50px 65px 50px;
  font-size: 0.8em;
  font-weight: 500;
  margin: 0 0 -50px;
  line-height: 1.6em;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
figure.snip1192 blockquote:before,
figure.snip1192 blockquote:after {
  font-family: 'FontAwesome';
  content: "\201C";
  position: absolute;
  font-size: 50px;
  opacity: 0.3;
  font-style: normal;
}
figure.snip1192 blockquote:before {
  top: 35px;
  left: 20px;
}
figure.snip1192 blockquote:after {
  content: "\201D";
  right: 20px;
  bottom: 35px;
}
figure.snip1192 .author {
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
}
figure.snip1192 .author h5 {
  opacity: 0.8;
  margin: 0;
  font-weight: 800;
}
figure.snip1192 .author h5 span {
  font-weight: 400;
  text-transform: none;
  display: block;
}

.btn-green{
  background-color: #5BB751;
  color: #fff;
}

.btn-blue{
  background-color: #00AEEF;
  color: #fff;
}

.btn-yellow{
  background-color: #fec810;
  color: #fff;
}

.navbar-contact-bg{
  background-color: #042044
}

.navbar-light .navbar-nav .nav-link{
  color: #fff;
}


/* Contact page */
.container .map {
  width: 45%;
  margin-top: 100px;
}
.container .contact-form {
  width: 53%;
  margin-left: 2%;
}
.container .contact-form .title {
  font-size: 2.5em;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #242424;
  margin: 5% 8%;
}
.container .contact-form .subtitle {
  font-size: 1.2em;
  font-weight: 400;
  margin: 0 4% 5% 8%;
}
.container .contact-form input,
.container .contact-form textarea {
  width: 330px;
  padding: 3%;
  margin: 2% 8%;
  color: #242424;
  border: 1px solid #B7B7B7;
}
.container .contact-form input::placeholder,
.container .contact-form textarea::placeholder {
  color: #242424;
}
.container .contact-form .btn-send {
  background: #A383C9;
  width: 180px;
  height: 60px;
  color: #FFFFFF;
  font-weight: 700;
  margin: 2% 8%;
  border: none;
}

#mainNavContact .navbar-nav .nav-item .nav-link {
    font-size: 18px;
    font-weight: 400;
    padding: 0.75em 0;
    padding: 1.1em 1em !important;
    font-family: 'Source Sans Pro', sans-serif;
}

#mainNavContact .navbar-nav .nav-item .nav-link.active, #mainNavContact .navbar-nav .nav-item .nav-link:hover {
    color: #fed136;
}