@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,700|Montserrat:300,400,600,700,900&display=swap&subset=latin-ext');

html {
    scroll-behavior: smooth;
  }

body {
    font-family: 'Alegreya Sans', sans-serif;
}

p {
    color:#616262;
    font-size:18px
}

.anchor {
    display: block;
    position: relative;
    top: -72px;
    visibility: hidden;
}
/* Navigation */
.navbar {
    padding-top:0;
    padding-bottom:0;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color:#616262;
    padding: 25px 15px;
}

.nav-item.active  .nav-link, .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #2B76A0;
    font-weight: 700;
    border-bottom:1px solid #2B76A0;
}

.nav-link__phone {
    color: #2B76A0;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 25px;
    margin: 0;
    letter-spacing: 0.7px;
}

.nav-link__phone:before {
    content: "";
    background-image: url(../img/call.svg);
    width: 24px;
    height: 24px;
    display: inline-block;
    padding-right: 28px;
    background-repeat: no-repeat;
    top: 5px;
    position: relative;
}

/* Main */
main {
    padding-top:72px;
}

.jumbotron {
    color: white;
    background-image: url("../img/main-bg.jpg");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vh;
    margin: 0;
  }

  h1 {
    color:#2B76A0;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    line-height: 146.1%;
    font-weight: 600;
  }

  h2 {
      color:#2B76A0;
      text-transform: uppercase;
      font-family: 'Montserrat', sans-serif;
      font-size: 25px;
      line-height: 146.1%;
      font-weight: 300;
  }

  .jumbotron__slogen {
    color: #616262;
    font-size: 25px;
    line-height: 146.1%;
  }

  /* Buttons */
  .btn-primary {
    background-color: #2B76A0;
    border-radius: 0;
    color: #FFFFFF;
    font-weight: 300;
    font-size: 20px;
    text-transform: uppercase;
    background-image: url(../img/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: right 17px center;
    padding: 10px 45px 10px 20px;
    border: none;
    display: inline-block;
    position: relative;
  }

  .btn-primary:hover,
  .btn-primary:active,
  .btn-primary:focus {
      background-color:#276689;
      outline: 0;
      box-shadow: none;
  }

  /* Colors */
.light-bg {
    background:#F2F2F2;
}

.dark-bg {
    background:#C3C3C3;
}

  .slick-slide img {
    display: inline-block;
}

.slick-prev, .slick-next {
    width: 49px;
    height: 49px;
}

.slick-prev {
    left: -65px;
}

.slick-next {
    right: -65px;
}

.quote {
    background-image: url("../img/quote.svg");
    width:38px;
    height: 38px;
    display: inline-block;
    position: relative;
    z-index: 3;
}

.huge-action-title {
    font-size: 25px;
    line-height: 146.1%;
    color:#2B76A0;
    margin-bottom:0;
}

.contact {
    font-size: 20px;
    line-height: 146.1%;
    color:#2B76A0;
}

.contact-name:before {
    content:"";
    background-image: url("../img/contact-name.svg");
    width:30px;
    height: 30px;
    display: inline-block;
    position: relative;
    z-index: 3;
    margin-right: 25px;
    top: 8px;
}

.contact-phone:before {
    content:"";
    background-image: url("../img/contact-phone.svg");
    width:24px;
    height: 24px;
    display: inline-block;
    position: relative;
    z-index: 3;
    margin-right: 28px;
    top: 8px;
    left: 3px;
}

.contact-email:before {
    content:"";
    background-image: url("../img/contact-email.svg");
    width:24px;
    height: 18px;
    display: inline-block;
    position: relative;
    z-index: 3;
    margin-right: 29px;
    top: 8px;
    left: 3px;
}

  /* Timeline */

  .timeline {
    padding: 50px 0;
    position: relative;
}

.timeline__triangle {
    background-image: url("../img/arrow-up.svg");
    width:25px;
    height: 13px;
    position: relative;
    z-index: 3;
}

@media (min-width:768px) {
    .timeline__triangle {
        display: inline-block!important;
    }
}

.timeline-nodes {
        padding-bottom: 25px;
        position: relative;
    }
.timeline-nodes:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline h3{
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #2B76A0;
    font-size: 20px;
    font-weight: 400;
    margin-bottom:0;
}

.timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    border-left: 1px solid #2B76A0;
    height: 100%;
    z-index: 1;
    transform: translateX(-50%);
}
.timeline-content {
   
    position: relative;
  
}
.timeline-nodes:nth-child(odd) h3,
.timeline-nodes:nth-child(odd) p {
    text-align: right;
}
.timeline-nodes:nth-child(odd) .timeline-date {
    text-align: left;
}
 
.timeline-nodes:nth-child(even) .timeline-date {
    text-align: right;
}

.timeline-image {
    position: relative;
    z-index: 100;
}

.timeline-image img {
    position: relative;
    z-index: 100;
}
/*small device style*/

@media (max-width: 767px) {
    .timeline-nodes:nth-child(odd) h3,
    .timeline-nodes:nth-child(odd) p {
    text-align: left
}
.timeline-nodes:nth-child(even) {
    flex-direction: row;
}
    .timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 4%;
    width: 0;
    border-left: 2px dashed #2B76A0;
    height: 100%;
    z-index: 1;
    transform: translateX(-50%);
}
.timeline h3 {
    font-size: 1.2rem;
}
.timeline p {
    font-size: 14px;
}
.timeline-image {
    position: absolute;
    left: 0%;
    top: 60px;
    /*transform: translateX(-50%;);*/
}
.timeline-nodes:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    top: 5%;
    left: -34px;
    right: 100%;
    width: 0;
    border-left: 0;
    border-left: 20px solid #2B76A0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.timeline-nodes:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    top: 5%;
    right: 100%;
    left: -37px;
    width: 0;
    border-left:20px solid #2B76A0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}
.timeline-nodes:nth-child(even) .timeline-date {
    text-align: left;
}
.timeline-image::before {
    width: 65px;
    height: 65px;
}
}

/*extra small device style */
@media (max-width: 575px) {
    .timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 3%;
}
.timeline-image {
    position: absolute;
    left: -5%;
    }
.timeline-image::before {
    width: 60px;
    height: 60px;
}
}

/* Footer */
footer {
    background: #C4C4C4;
    padding-top:2rem;
}

footer h3 {
    font-weight: 300;
    font-size: 25px;
    line-height: 146.1%;
    color:#2B76A0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

footer a, .contact a {
    color: #2b76a0 !important;;
}

.list-style-type-none {
    list-style-type: none;
    padding-left:0;
    margin-left: -15px;
}

.footer-nav-item a, footer p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 146.1%;
    color: #616262;
    text-decoration: none;
}

.footer-nav-item a:hover {
    text-decoration: underline;
}

.margin-top-15 {
    margin-top:15px;
}

.media-body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 184.1%;
    color: #2B76A0;
    text-decoration: none;
} 

a:hover .media-body {
    text-decoration: none;
}

@media (max-width: 991.98px) { 
    main {
        padding-top: 55px;
    }

    .navbar-brand img {
        max-width: 201px;
        padding-top: 5px;
    }

    h1 {
        color: #2B76A0;
        font-family: 'Montserrat', sans-serif;
        font-size: 20px;
        line-height: 141.1%;
        font-weight: 600;
    }
    .timeline {
        padding:0;
    }

    .jumbotron__slogen {
        color: #616262;
        font-size: 20px;
        line-height: 146.1%;
    }
    .jumbotron {
        color: white;
        background-image: none;
        background-color:#C0C0C0;
        height: 40vh;
        padding-top: 56px;
    }

    .slick-prev, .slick-next {
        display:none!important;
    }

    .btn-primary {
        font-size: 18px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 15px;
    }

    .wow {
        visibility: visible !important;
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -o-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
       }
 }
