:root {
    --avantage-black: #323743;
    --avantage-red: #005baa;
    --pink: #be6584;
    --primary: #008fe2;
}
body{
    font-family: 'Raleway', sans-serif;
    word-wrap: break-word;
}
.color-pink{
    color: var(--pink);
}

.navbar{
    position: relative;
    /* z-index: 10; */
    width: 100%;
    padding: 0;
}

/* .sticky-top{
    -webkit-transition:  1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

.sticky-top > .navbar{
    background: white !important;
    -webkit-box-shadow: 0 2px 20px 0 rgba(0,0,0,.15);
    box-shadow: 0 2px 20px 0 rgba(0,0,0,.15);
} */

.navbar-expand-lg .navbar-nav .nav-link {
    color:#008fe2 !important;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    -webkit-transition:  .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}
.navbar-expand-lg .navbar-nav .nav-link:hover, .navbar-expand-lg .navbar-nav .active {
    background-color: #2d529f;
    color: #ffffff !important;
}
.logo{
    height: 50px;
    width: auto;
}
.menu{
    padding: 10px 0;
    background: white;
    -webkit-box-shadow: 0 2px 20px 0 rgba(0,0,0,.15);
    box-shadow: 0 2px 20px 0 rgba(0,0,0,.15);
}

.fly{
    margin: -50px 0;
    height: 95px;
    position: relative;
    text-align: center;
    color: white;
}
.fly .first{
    background: #008fe2 !important;
    padding: 30px 38px 30px 40px !important;

}
.fly .first h4, .fly .second h4, .fly .third h4, .fly .fourth h4{
    display: inline;
}

.fly .first::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 279px;
    width: 0;
    height: 0;
    border-top: 66px solid transparent;
    border-bottom: 47px solid transparent;
    border-left: 40px solid #008fe2;
    z-index: 5;
}
.fly .second{
    background: #3aabbd !important;
    padding: 30px 38px 30px 40px !important;
    text-align: center;
}

.fly .third{
    padding: 30px 38px 30px 40px !important;
    background: #008fe2 !important;
}
.fly .fourth{
    padding: 30px 38px 30px 40px !important;
    background: #2d529f !important;
}
.first span, .second span, .third span, .fourth span{
    margin-left: 10px;
    -webkit-transition:  .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.first:hover span, .second:hover span, .third:hover span{
    margin-left: 20px;
}
/* .sticky-top .navbar-expand-lg .navbar-nav .nav-link {
    color:black !important;
    padding-left: 40px;
    line-height: 40px;
    font-weight: 700;
}
.sticky-top .logo{
    height:70px;
    width:auto;
} */
.icon{
    margin-top: 20px;
}

.hero-icon{
    font-size: 50px;
    height: 1.9em;
    width: 1.9em;
    color:white;
    margin-left: 10px;
}
.hero-title{
    color:var(--avantage-red);
}
.hero-sub-title{
    font-weight: bold;
}
.back-red{
    background-color: var(--avantage-red);
}
.back-black{
    background-color: var(--avantage-black);
}
.color-red{
    color: var(--avantage-red);
}
.color-black{
    color: var(--avantage-black);
}
.banner{
    background-color: #f6f7f9;
}

.news{
    background-color: #f4f4f4;
}
/* .banner:hover{
    transform: scale(1.05);
    overflow:hidden;
} */
.banner h1,
.people h1,
.mix h1,
.testimonial h1,
.map h1,
.news h1,
.newsletter h1,
.page-title{
    font-size: 60px;
    font-weight: 800;
}
.banner-link{
    color: black;
    /* box-shadow: 0 -2px 0 0 rgba(24,24,24,.15) inset; */
    text-decoration: none;
    font-weight: bold;
    /* float: left; */
    border-radius: 30px !important;
    padding: 10px 30px;
    border: 2px solid #242424;
    -webkit-transition:  .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}
.banner-link:hover{
    color: white;
    background:black;
}

.people{
    /* background: url('images/team.jpg') center center; */
    /* -webkit-box-shadow: 0 5px 10px -3px rgb(0 0 0 / 20%);
    box-shadow: 0 5px 10px -3px rgb(0 0 0 / 20%); */
    /* background-size: cover; */
}
.people-img{
    -webkit-transition:  1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}
/* .people-img:hover{
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
} */
.people-link{
    text-decoration:none;
    float: left;
}
.people-title{
    font-size: 40px;
    font-weight: bold;
}
.call{
    background: url('/front/assets/images/bgn-quote.jpg');
    background-attachment: fixed;
    background-size: cover;
}

.call-link{
    background-color: #005baa;
    color: #ffffff;
    box-shadow: 0 -2px 0 0 rgba(24,24,24,.15) inset;
    padding: 1.125em 1.875em;
    border-radius:50px;
    text-decoration: none;
    font-weight: bold;
    max-width: 300px;
}

.mix{
    background: url('front/assets/images/bgn-portfolio-2.png') no-repeat;
}

.map{
    background: url('images/bgn-map.png') no-repeat;
}
.single-news {
    margin-top:10px;
}
.single-news:after{
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: -1px;
    bottom: 0;
    opacity: .1;
    pointer-events: none;
    z-index: 1;
    background: -webkit-linear-gradient(top,transparent 15%,#fff 50%);
    background: -moz-linear-gradient(top,transparent 15%,#fff 50%);
    background: linear-gradient(to bottom,transparent 15%,#fff 50%);
    opacity: .9;
}
.single-news .desc{
    z-index: 10;
}
.news-meta{
    top:1em;
    right:1em;
    height:3.6em;
    width: 3.6em;
}
.news-meta span{
    display: block;
}

.newsletter{
    background: url(images/newsletter.jpeg) no-repeat center center;
    background-size: cover;
    /* position: relative; */
}
/* .newsletter-back{
    background: url(images/bgn-newsletter.jpg) no-repeat;
    position: absolute;
    background-size: cover;

    top: 0;
    right: 0;
} */
.subscribe{

    width: 100%;
    margin: 0px 0px 0px 0px;
    border-radius: 4px 0px 0px 4px;
    background-color: rgba(255,255,255,0.1);
    color: #ffffff !important;
    font-family: "Lato", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 13px 20px;
    line-height: 1.5em;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: rgba(255,255,255,0.2);

}

.subscribe:focus{
    outline: none;
    -webkit-box-shadow: 0 0 10px #e0e0e8;
    box-shadow: 0 0 10px #e0e0e8;
    background-color: rgba(255,255,255,0.1);

}
.subscribe-btn{
    background-color: black;
    color: white;
    box-shadow: 0 -2px 0 0 rgba(24,24,24,.15) inset;
    padding: 1em 1.5em;
    /* border-radius:50px; */
    text-decoration: none;
    font-weight: bold;
    max-width: 300px;
    /* border: 1px solid #ccc; */

}

footer{
    background: #34383d;
    background-size: contain;
    color: black;
}
.social{
    width: 30px;
    height: 30px;
    position: relative;
    display:block;
}
footer .social:hover{
    color:#be6584;
    cursor: pointer;
}

.end{
    border-top: 1px solid #6d6d6d;
    color: black;
}
.end a{
    text-decoration: none;
}
.end .net{
    color:#f64f09;
}

.end .hub{
    color:#0092ce;
}







.slick-arrow {
	z-index: 1;
	width: 40px;
	height: 40px;
}

.slick-arrow:before {
	font-size: 30px;
}
.slick-next {
	right: 0;
}
.slick-prev {
	left: 0;
}

.btn-wrap {
	text-align: center;
	width: 100%;
}






@media screen and (max-width: 1199px) {
    .grid .grid-item .portfolio-content h4 {
        font-size: 18px;
    }
}
@media screen and (max-width: 991px) {
    .grid .grid-item .portfolio-content h4 {
        margin-bottom: 10px;
    }
    .grid .grid-item .portfolio-content p {
        font-size: 15px;
    }
    .grid .grid-item .portfolio-content a {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 768px) {
    .grid .grid-item .portfolio-content h4 {
        font-size: 17px;
    }
    .grid .grid-item .portfolio-content p {
        font-size: 14px;
    }
    .fly .first, .fly .second, .fly .third, .fly .fourth{
        padding: 10px !important;
    }

}
@media screen and (max-width: 575px) {
    .grid .grid-item .portfolio-content h4 {
        font-size: 16px;
    }
    .grid .grid-item .portfolio-overlay:before {
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
    }
}





.about{
    background: url(images/bgn-people-2.png) no-repeat;
    background-size: cover;
    padding-top: 120px;
}
.services{
    background: url(images/bgn-people-2.png) no-repeat;
    background-size: cover;
    padding-top: 120px;
}

.blog{

    padding-top: 120px;
}

.post{
    padding:30px 0;
    border-top: 1px solid #ccc;
}

.recent-posts a{
    text-decoration: none;
    color: black;
}

#search-btn{
    /* position: fixed; */
    top: 1em;
    right: 1em;
    /* background-color: rgba(0,0,0,0.8); */
    padding: 10px;
    border-radius: 2px;
    color: black;
  }

  #search-btn:hover{
    color: var(--avantage-red);
    cursor: pointer;

  }
  #search-overlay{
    display:none;
  }
  .block {
    position: fixed;
    top: 0;
    right: 0;
    bottom:0 ;
    left: 0;
    overflow: auto;
    text-align: center;
        z-index: 1000;

    background: white;
    border: #a0a0a0 solid 1px;
    margin: 0;
  }

  .block:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: 0;
    /* Adjusts for spacing */
    /* For visualization
    background: #808080; width: 5px;
    */
  }

  #search-box {
    position: relative;
    width: 100%;
    margin: 0;
  }

  #search-form {
    height: 5em;
    border: 1px solid #999;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    background-color: #fff;
    overflow: hidden;
    border-radius: 90px;
  }

  #search-text {
    font-size: 14px;
    color: #ddd;
    border-width: 0;
    background: transparent;
  }

  #search-box input[type="text"] {
    width: 90%;
    padding: 7px;
    color: #333;
    outline: none;
    font-size: 2.5em;
  }

  #search-button {
    position: absolute;
    /* top: 0; */
    right: 0;
    width: 100px;
    font-size: 3em;
    color: gray;
    text-align: center;
    background-color: transparent;
    border-width: 0;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    cursor: pointer;
  }
   #search-button:hover {
    background: var(--avantage-red);
    color:white;
  }

  #close-btn{
    position: absolute;
    top: -1em;
    font-size: 5em !important;
    right: 0;
    color:var(--avantage-red);
  }
  #close-btn:hover{
    color: #777;
    cursor: pointer;
  }



  .top-header{
    background-color: white;
    color: #8ea0ae;
    text-align: right;
  }

  .top-header .info{
    border-right: 1px solid #999;
    color: #8ea0ae;
    font-size: 12px;
    text-decoration: none;
    padding-right: 10px;
    padding-left: 10px;
  }
  .top-header .info:last-child{
    border: none;
  }
  .nav-special{
    color: #292c30;
    background-color: #f0d3d0 !important;
    border-color: #f0d3d0 !important;
    margin-left:20px;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;
    line-height: 1.5em;
    letter-spacing: 0px;
    fill: #ffffff;
    color: #ffffff;
    background-color: rgba(255,255,255,0) !important;
    border-radius: 50px 50px 50px 50px !important;
    padding: 10px 30px 10px 30px !important;

    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #ffffff;
  }

  .feature a{
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
}
.font-oswald{
      font-family: 'Oswald', sans-serif;

  }

  .gallery{
    color:white;
    background: url('images/gallery.jpg');
    background-position: center center;
    background-size: cover;
}

.call{
    background: url('images/call.jpg') center center;
    background-size: cover;
  }

.appointment{
    background: url('images/appointment.jpg') center center;
    background-size: cover;
    position: relative;
    box-shadow: 0 1500px 0 0 rgba(24,24,24,.35) inset;
}

.testimonial{
    background: #2d529f;
}
/*
.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);

} */


.team-cover {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: center;
    color: white;
}


.team-cover .background{
    background-color: rgba(41,44,48,0.2);
    padding: 15px 0;
}


.bold{
    font-weight: bold;
}
.color-primary{
    color: #008fe2 !important
}
.color-secondary{
    color: #777777 !important
}

.poeple-single{
    border:1px solid #ccc;
    position: relative;
    overflow: hidden;
    margin: 0 10px;
}
.poeple-single:hover .people-desc{
    background: var(--primary);
    color: white !important;
}
.poeple-single:hover img{
    transform: scale(1.1,1.1);
}

.poeple-single:hover a, .poeple-single:hover .people-arrow{
    color: white !important;
}
.people-arrow{
    position: absolute;
    right: 15px;
    top: 50%;
    font-size: 1.9em;
    transform: translateY(-50%);
    color: black;
}

.people-desc{
    position: relative;
    -webkit-transition:  .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
    background-color: white;
}
.people-desc h6 a, .news-desc h6 a{
    color:#777;
    text-decoration: none;
}
.people-desc h5 a, .news-desc h5 a{
    color:black;
    text-decoration: none;
    font-weight: bold;
}

.news-desc{
    position: relative;
    -webkit-transition:  .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.news-single:hover .news-desc{
    background: white;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important

}


@media (min-width: 1200px) {
    .container{
        max-width: 1140px;
    }
}

blockquote{
    position: relative;
}
blockquote::before{
    display: block !important;
    top: -30px;
    content: "“";
    font-size: 70px;
    font-style: normal;
    line-height: 1;
    position: absolute;
}
blockquote::after{
    font-size: 70px;
    content: "”";
    left: auto;
    right: 10px;
    top: auto;
    /* bottom: 0; */
    /* position:absolute; */
}

.slides{
    color: white;
    text-align: center;
    position: relative;
}

.slides p{
    font-weight: bold;
    text-transform: uppercase;
}

.slides p{
    margin-top: 25px;
}
.slides p::before{
    border-top: 2px solid #80c9f2;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 210px;
    transform: translateX(-50%) translateY(-50%);
    width: 10%;
}

.facebook{
    padding: 10px 8px;
    color: white;
    background: #3b5a9a!important;
    margin-right: 5px;
}
.twitter{
    margin-right: 5px;
    padding: 10px 8px;
    color: white;
    background: #1aa9e1!important;
}
.linkedin{
    padding: 10px 8px;
    color: white;
    background: #0073b2!important;
}

.linkedin a, .facebook a, .twitter a{
    text-decoration: none;
    cursor: pointer;
}

.linkedin:hover, .facebook:hover, .twitter:hover{
    color:white
}




/* -------------- ABOUT PAGE --------------- */


.page-top {
    padding-top: 20px;
    padding-bottom: 20px;
}
.page-top {
    background-color: #008fe2;
}
