/**
* Template Name: Marco
* Template URL: https://templatemag.com/marco-bootstrap-agency-template/
* Author: TemplateMag.com
* License: https://templatemag.com/license/
*/

/* OVERALL ASPECT */

body {
  background-color: #f2f2f2;
  font-family: "Ruda", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #555;

  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

/* Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Ruda", sans-serif;
  font-weight: 900;
  color: #333;
}

/* Paragraph & Typographic */
p {
  line-height: 28px;
  margin-bottom: 25px;
}

.centered {
  text-align: center;
}

.goleft {
  text-align: left;
}

/* Links */
a {
  word-wrap: break-word;

  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
  color: #7b7b7b;
  text-decoration: none;
  outline: 0;
}

a:before,
a:after {
  -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
  -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
  -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
  -o-transition: color 0.1s ease-in, background 0.1s ease-in;
  transition: color 0.1s ease-in, background 0.1s ease-in;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

.navbar {
  font-size: 14px;
  background: #ffffff;
}

.navbar-fixed-top {
  border-width: 0 0 0px;
  border-bottom-width: 0px;
}
/* ================== BASIC CONFIGURATION ================== */

.spacing i {
  padding-left: 8px;
  padding-right: 8px;
}
/* margin top & Bottom */
.mt {
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Special Margin for Wrap sections */
.mts {
  margin-top: -20px;
}

/* service icons */
.si {
  visibility: hidden;
}

.si:hover {
  background-color: #ffffff;
}

.si i {
  font-size: 40px;
  padding: 20px;
}

/* Padding top & bottom */
.pt {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Description Styling / Used in portfolio & Blog images footnotes */
.desc p {
  font-family: "Ruda", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-top: 15px;
}

.desc p > i {
  font-size: 16px;
  color: #979797;
}

.desc p > i:hover {
  font-size: 16px;
  color: #e74c3c;
  cursor: pointer;
}

.desc p.lead {
  font-family: "Ruda", sans-serif;
  font-weight: 400;
  font-size: 14px;
  margin-top: -15px;
}

.desc p.time {
  font-family: "Ruda", sans-serif;
  font-weight: 400;
  font-size: 12px;
  margin-top: 0px;
  color: #979797;
  text-align: right;
}

.desc p.time > i {
  font-size: 12px;
}

/* Dashed Separator */

hr-d {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px dashed #ccc;
  margin: 1em 0;
  padding: 0;
}

p.capitalize {
  display: block;
  text-align: left;
}

p.capitalize:first-letter {
  text-transform: capitalize;
  font-size: 30px;
  font-family: "Ruda", sans-serif;
  font-weight: 400;
  color: white;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: 5px;
}

/* Button Call To Action */
.btn-cta {
  color: #ffffff;
  background-color: transparent;
  border-color: #ffffff;
  font-family: "Ruda", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.btn-cta:hover,
.btn-cta:focus,
.btn-cta:active,
.btn-cta.active,
.open .dropdown-toggle.btn-cta {
  color: #2f2f2f;
  background-color: #ffffff;
  border-color: #2f2f2f;
}

/* Button Theme */
.btn-theme {
  color: #ffffff;
  background-color: transparent;
  border-color: #ffffff;
  font-family: "Ruda", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.btn-theme:hover,
.btn-theme:focus,
.btn-theme:active,
.btn-theme.active,
.open .dropdown-toggle.btn-theme {
  color: #2f2f2f;
  background-color: #ffffff;
  border-color: #2f2f2f;
}

/* Button Yellow */
.btn-yellow {
  color: #2f2f2f;
  background-color: #ffd56c;
  border-color: #ffffff;
  font-family: "Ruda", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:active,
.btn-yellow.active,
.open .dropdown-toggle.btn-yellow {
  color: #2f2f2f;
  background-color: #fdc741;
  border-color: #ffffff;
}

/***** Testimonials Styling *****/
.testi-container {
  width: 100%;
  margin-bottom: 14px;
  padding: 5px 6px 3px 0px;
  background-color: #fafafa;
  border: solid 1px #ddd;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  position: relative;
  float: left;
  z-index: 998;
}

.testi-container:before {
  width: 25px;
  height: 17px;
  background: #fafafa;
  content: "";
  position: absolute;
  z-index: 999;
  left: 42px;
  bottom: 0px;
  margin-left: -7px;
}
@media \0screen {
  .testi-container:before {
    background: none;
  }
}

.testi-container:after {
  width: 17px;
  height: 17px;
  background: #fafafa;
  border: 1px solid #ddd;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  content: "";
  position: absolute;
  z-index: 888;
  left: 45px;
  bottom: -5px;
  margin-left: -7px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
@media \0screen {
  .testi-container:after {
    background: none;
    border: none;
  }
}

.testi-text {
  width: 100%;
  float: left;
  margin: 0px;
  padding: 10px 14px 0px 14px;
  font-weight: 400;
}

/* ================== MAIN WRAP SECTIONS ================== */

#headerwrap {
  background: url(../img/bg01.jpg) no-repeat center top;
  margin-top: 0px;
  padding-top: 50px;
  background-attachment: relative;
  background-position: center center;
  min-height: 450px;
  width: 100%;

  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#headerwrap h1 {
  margin-top: 60px;
  color: white;
  font-size: 50px;
  font-weight: 900;
  letter-spacing: 1px;
  visibility: hidden;
}

#headerwrap h2 {
  color: white;
  visibility: hidden;
}

#headerwrap .img-responsive {
  margin: 0 auto;
}

/* Footer Wrap */

#f {
  background-color: #1b1b1b;
  padding-top: 40px;
  padding-bottom: 40px;
}

#f p {
  color: white;
}

#f h4 {
  color: white;
}

/* Color Wraps */
#white {
  margin-top: 0px;
  background-color: #ffffff;
  min-height: 300px;
  width: 100%;
}

#grey {
  margin-top: 0px;
  background-color: #f7f7f7;
  min-height: 300px;
  width: 100%;
}

#black {
  margin-top: 0px;
  background-color: #2f2f2f;
  min-height: 300px;
  width: 100%;
}

#black h3 {
  color: white;
}

#black h4 {
  color: white;
  text-transform: uppercase;
}

#black p {
  color: white;
  font-size: 16px;
  font-weight: 400;
}

#black i {
  font-size: 35px;
}

#black h1 {
  color: white;
  font-size: 70px;
}

/* Map Wrap*/

#map {
  width: 100%;
  height: 400px;
}

#map-contact {
  width: 100%;
  height: 650px;
}

/* ================== CALL TO ACTION WRAP SECTIONS & HELPERS ================== */
#cta01 {
  background: url(../img/cta/cta01.jpg) no-repeat center top;
  margin-top: 0px;
  padding-top: 100px;
  text-align: center;
  background-attachment: relative;
  background-position: center center;
  min-height: 350px;
  width: 100%;

  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#cta01 h1 {
  color: white;
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 60px;
}

#cta01 h2 {
  color: white;
  font-weight: 700;
  margin-bottom: 25px;
}

#cta01 i {
  color: white;
  font-size: 45px;
}

#cta02 {
  background: url(../img/cta/cta02.jpg) no-repeat center top;
  margin-top: 0px;
  padding-top: 100px;
  text-align: center;
  background-attachment: relative;
  background-position: center center;
  min-height: 350px;
  width: 100%;

  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#cta02 h2 {
  color: white;
  font-weight: 700;
  margin-bottom: 25px;
}

#cta03 {
  background: url(../img/cta/cta01.jpg) no-repeat center top;
  margin-top: 0px;
  padding-top: 50px;
  text-align: center;
  background-attachment: relative;
  background-position: center center;
  min-height: 450px;
  width: 100%;

  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#cta03 h2 {
  color: white;
  font-weight: 700;
  margin-bottom: 50px;
}

#cta03 i {
  color: white;
  font-size: 45px;
}

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

#cta-bar {
  background: #2f2f2f;
  color: white;
  padding-top: 40px;
  padding-bottom: 40px;

  -webkit-transition: color 0.3s ease-in, background 0.3s ease-in;
  -moz-transition: color 0.3s ease-in, background 0.3s ease-in;
  -ms-transition: color 0.3s ease-in, background 0.3s ease-in;
  -o-transition: color 0.3s ease-in, background 0.3s ease-in;
  transition: color 0.3s ease-in, background 0.3s ease-in;
}

#cta-bar:before,
#cta-bar:after {
  -webkit-transition: color 0.2s ease-in, background 0.2s ease-in;
  -moz-transition: color 0.2s ease-in, background 0.2s ease-in;
  -ms-transition: color 0.2s ease-in, background 0.2s ease-in;
  -o-transition: color 0.2s ease-in, background 0.2s ease-in;
  transition: color 0.2s ease-in, background 0.2s ease-in;

  cursor: pointer;
}

#cta-bar h4 {
  color: white;
  font-weight: 400;
}

/* ================== TEAM MEMBERS INFORMATION OVER iMAGE ================== */
.members {
  width: 302px;
  position: relative;
  float: left;
  margin: 0 20px 0 0;
  > img {
    display: block;
    position: relative;
  }
}

.team-info {
  position: absolute;
  bottom: 20px;
  right: 0px;
  width: 170px;
  padding: 10px 10px 30px 10px;
}
.subhead {
  color: #f2f2f2;
  text-transform: uppercase;
  font-weight: 400;
}
.team-name {
  color: white;
  font-weight: 400;
  margin: 0;
  letter-spacing: -1px;
}

.team-description {
  color: white;
  padding-top: 20px;
}

.team-description i {
  margin: 8px;
}

/* Team Member Stats Icons Conf */
.team-stat i {
  font-size: 28px;
}

/* ================== TWITTER FEED CONFIGURATION ================== */
#f ul {
  -webkit-margin-before: 0px;
  -webkit-margin-after: 0px;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 0px;
}

#f ul li {
  list-style: none;
  overflow: hidden;
}

#f ul li:before {
  content: "\f099";
  font-family: "FontAwesome";
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  font-size: 16px;
  height: auto;
  margin-top: 2px;
  margin-right: 8px;
  color: #1b1b1b;
  float: left;
}

#f .tweet {
  float: right;
  width: 85%;
}

@media (max-width: 600px) {
  #headerwrap h1 {
    font-size: 35px;
  }

  #cta03 {
    background: #2d2d2d;
  }

  #wv {
    height: 350px;
  }
}

@media (max-width: 900px) {
  #cta03 {
    background: #2d2d2d;
  }
}

/* Contact Form */

.contact-form {
  padding-bottom: 50px;
}

.contact-form label {
  color: #999;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  height: auto;
}

.contact-form .form-send {
  text-align: center;
}

.contact-form .form-send button {
  background: #74c9be;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  cursor: pointer;
}

.contact-form .form-send button:hover {
  background: #6fdbcd;
}

.contact-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact-form .loading {
  display: none;
  color: #555;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin: 15px 0;
}

.contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

.contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px 0;
}

/* Copyrights */

#copyrights {
  background: #282727;
  padding: 20px 0;
  text-align: center;
}

#copyrights p {
  margin-bottom: 5px;
  color: #fff;
}

#copyrights a {
  color: #74c9be;
}

.credits {
  color: #999;
}

/* TIMELINE
			–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline2 {
  overflow-y: scroll;
  overflow-x: hidden;
  /*height: 550px;*/
  top: calc(100%-600px);
  position: relative;
  scroll-behavior: smooth;
}
.timeline2 *,
.timeline2 *::before,
.timeline2 *::after {
  font: normal 16px/1.5 "Helvetica Neue", sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.timeline2::-webkit-scrollbar {
  width: 0px;
  background-color: #f5f5f5;
}

.timeline2::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 0px;
  background-color: #f5f5f5;
}

.timeline2::-webkit-scrollbar-thumb {
  border-radius: 0px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #555;
}

.timeline2 ul {
  background: #456990;
  /* padding: 50px 0; */
}

.timeline2 ul li {
  list-style-type: none;
  position: relative;
  width: 2px; /* width: 6px; */
  margin: 0 auto;
  padding-top: 10px; /* 50px; */
  padding-bottom: 10px; /* padding-bottom: 20px; = center padding-bottom: 10px; = center */
  background: #fff; /* background: black;  */
  border-left: 3px double white;
}

.timeline2 ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px; /* bottom: 0;  bottom: 50%;=center top: 30px;=top  */
  transform: translateX(-55%); /* transform: translateX(-50%); */
  -webkit-transform: translateX(-55%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
  border: 2px solid #74c9be;
}

.timeline2 ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 15px;
  background: #74c9be;
}

.timeline2 ul li div::before {
  content: "";
  position: absolute;
  top: 20px; /* bottom: 7px; bottom: 50%;=center top: 20px;=top */
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline2 ul li:nth-child(odd) div {
  left: 45px;
}

.timeline2 ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 16px 16px 16px 0; /* border-width: 8px 16px 8px 0; */
  border-color: transparent #74c9be transparent transparent;
}

.timeline2 ul li:nth-child(even) div {
  left: -439px;
}

.timeline2 ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 16px 0 16px 16px; /* border-width: 8px 0 8px 16px; */
  border-color: transparent transparent transparent #74c9be;
}

.timeline2 ul li:nth-child(odd) .time {
  position: absolute;
  top: 20px;
  left: -100px;
  width: 90px;
}
.timeline2 ul li:nth-child(even) .time {
  position: absolute;
  top: 20px;
  right: -120px;
  width: 90px;
}

.timeline2 time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/* EFFECTS
			–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline2 ul li::after {
  transition: background 0.5s ease-in-out;
  -webkit-transition: background 0.5s ease-in-out;
}

.timeline2 ul li.in-view::after {
  background: #74c9be;
  border: 2px solid white;
}

.timeline2 ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}

.timeline2 ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
  -webkit-transform: translate(200px, 0, 0);
}

.timeline2 ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
  -webkit-transform: translate(-200px, 0, 0);
}

.timeline2 ul li.in-view div {
  transform: none;
  -webkit-transform: none;
  visibility: visible;
  opacity: 1;
  /* disabled when arrow is on top position
			  border-radius: 10px;
			  */
}

.timeline2 ul li .time {
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  /*transform: rotate(-90deg);
  -webkit-transform: rotate(270deg);*/
}
.timeline2 ul li.in-view .time {
  /*transform: rotate(0deg);
  -webkit-transform: rotate(0deg);*/
}

/* GENERAL MEDIA QUERIES
			–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
  .timeline2 ul li div {
    width: 250px;
  }
  .timeline2 ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}

@media screen and (max-width: 600px) {
  .timeline2 ul li {
    margin-left: 20px;
  }
  .timeline2 ul li div {
    width: calc(100vw - 120px);
  }
  .timeline2 ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline2 ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 16px 16px 16px 0; /* border-width: 8px 16px 8px 0;  */
    border-color: transparent #74c9be transparent transparent;
  }

  .timeline2 ul li:nth-child(odd) .time {
    position: absolute;
    top: 60px;
    left: -23px;
    width: 90px;
    /*
					transform: rotate(-90deg);
					-webkit-transform:rotate(270deg);
					*/
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  .timeline2 ul li:nth-child(even) .time {
    position: absolute;
    top: 60px;
    right: -67px;
    width: 90px;
    /*
					transform: rotate(-90deg);
					-webkit-transform:rotate(270deg);
					*/
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  .timeline2 ul li.in-view:nth-child(odd) .time {
    /*transform: rotate(-90deg);
    -webkit-transform: rotate(270deg);*/
  }
  .timeline2 ul li.in-view:nth-child(even) .time {
    /*transform: rotate(-90deg);
    -webkit-transform: rotate(270deg);*/
  }
}
