/* ================================== 
	1. AGENCY #ffa100 #FF404C
   ================================== */
.main-nav{
    position: absolute;
    width: 100%;
    z-index: 999;
}

.rev_slider img{
    width:100%
}

.rev_slider::after{ 
    width: 100%;
	height:30%;
	position: absolute;
	content: "";
	top: 0px;
	left: 0px;
    z-index:100;
    display:block;
    transition:all .3s ease;
    background: -moz-linear-gradient(bottom, rgba(0,0,0,0) 4%, rgba(0,0,0,30) 100%); 
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.6))); 
}

.span-about-front{
    padding-top: 70px;
}

.front-service-agency{
    text-align: center;
    margin: 20px 0px 20px 0px;
    padding: 10px 5px 10px 0px;
}

.service-circle{
    width: 90px;
    height: 90px;
    background: #f0f0f0;
    border-radius: 50%;
    position: relative;
    margin: auto;
    transition: 0.3s;
    border: solid 2px #f0f0f0;
}

.service-circle:hover{
    background: #FFF;
    border: solid 2px #ffa100;
}

.inner-service-circle{
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 50px;
}

.inner-service-circle img{
    width: 100%;
}

.agency-front-about h6{
    font-size: 15px;
    color: #ffa100;
    margin-bottom: 5px;
}

.front-service-agency h4{
    margin: 10px 0px 5px 0px;
}

.front-service-agency p{
    line-height: 1.7;
    color: #666;
}

.graphic-bg img{
    width: 100%;
}

.agency-front-about h3{
    line-height: 1.2;

}

.agency-front-about strong{
    font-weight: 600;
}

.agency-front-about p{
    margin: 10px 0px 10px 0px;
    line-height: 1.7;
    color: #8c8c8c;
}

.front-bullets{
    margin-top: 30px;
}

.inner-bullets{
    margin-bottom: 30px;
}

.inner-bullets h6{
    line-height: 1.2;
    font-weight: 600;
    color: #333;
}

.inner-bullets .fa{
    color: #ffa100;
}

.inner-bullets p{
    margin: 5px 0px 5px 0px;
}

.box-testimonials{
    background: #FAFCFC;
    width: 100%;
    height: 100%;
    position: relative;
    transition: 0.3s;
    margin: 80px 0px 40px 0px;
    box-shadow: 0 15px 30px 0 rgba(0,0,0,0.11),
                0 5px 15px 0 rgba(0,0,0,0.08);
}

.box-testimonials:hover{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.testimonials-avatar{
    width: 120px;
    height: 120px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.6);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.6);
    -o-box-shadow: 0 0 10px rgba(0,0,0,0.6);
    border-radius: 50%;
    position: absolute;
    top: -10%; left: 50%;
    transform: translate(-50%,-20%);
}

.testimonials-avatar img{
    width: 100%;
    border-radius: 50%;
}

.testimonials-content{
    text-align: center;
    margin: auto;
    padding: 50px 30px 50px 30px;  
}

.testimonials-content h5{
    color: #333;
    margin-top: -40px;
}

.testimonials-content h6{
    color: #999;
    font-size: 15px;
}

.testimonials-content p{
    color: #666;
    margin: 30px;
    font-size: 16px;
    line-height: 2;
}

.blog-news {
  display: block;
  margin-bottom: 20px;
  line-height: 1.42857143;
  background-color: #fff;
  -webkit-transition: border .2s ease-in-out;
       -o-transition: border .2s ease-in-out;
          transition: border .2s ease-in-out;
}
.blog-news > img,
.blog-news a > img {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}
a.blog-news:hover,
a.blog-news:focus,
a.blog-news.active {
  border-color: #337ab7;
}
.blog-news .caption {
   background: #F9F9F9;
    width: 90%;
    height: 200px;
    margin: -70px auto 0px auto;
    position: relative;
    padding: 30px;
    color: #333;
    border-radius: 5px;
}

.blog-news .caption h6{
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 20px;
}

.blog-news .caption p{
    line-height: 1.7;
    color: #8c8c8c;
}

.blog-news .caption .btn-custom{
    padding: 4px 10px;
    font-size: 14px;
    margin-top: 10px;
}

.span-counter-front{
    background: #ffa100;
    padding: 40px 0px 40px 0px;
    margin: -10px 0px 60px 0px;
}

/* ======================== 
	4.3 COUNTER SLIDER.
   ======================== */
.counter-background{
    background: #ffa100;
    padding: 40px 0px 40px 0px;
    margin: 60px 0px 60px 0px;
}

.inner-counter{
    background: transparent;
}

.counter-icon{
    width: 40px;
    margin: auto;
}

.counter-icon img{
    width: 100%;
}

.counter{
    text-align: center;
    font-size: 30px;
    color: #FFF;
}

.inner-counter{
    background: transparent;
}

.counter-icon{
    width: 40px;
    margin: auto;
}

.counter-icon img{
    width: 100%;
}

.counter{
    text-align: center;
    font-size: 30px;
    color: #FFF;
}

.counter-statistics h5{
    text-align: center;
    font-size: 16px;
    color: #FFF;
}

/* ==========================================================================
    4.4 MAGNIFIC GALLERY
============================================================================= */
/* ========== #IMAGE GALLERY STYLE 1 ========== */
.magnific-img img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    border-radius: 0px;
}

.magnific-img {
    display: inline-block;
    width: 24.5%;
}
a.image-popup-vertical-fit {
    cursor: -webkit-zoom-in;
}
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.98;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}
.mfp-arrow-left:before {
    border-right: none !important;
}
.mfp-arrow-right:before {
    border-left: none !important;
}
button.mfp-arrow, .mfp-counter {
    opacity: 0 !important;
    transition: opacity 200ms ease-in, opacity 2000ms ease-out;
}
.mfp-container:hover button.mfp-arrow, .mfp-container:hover .mfp-counter{
	opacity: 1 !important;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8; }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

/* ==========================================================================
    4.5 LIGHTBOX
============================================================================= */
/* ========== #IMAGE LIGHTBOX ========== */
.images-group {
  display: flex;
  flex-wrap: wrap;
}
.images-group .image {
    width: 100%;
  cursor: pointer;
}

.image img {
  width: 100%;
}

.lightbox {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: 0.2s;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lightbox .mobile {
  width: 100%;
  height: auto;
}
.lightbox span {
  color: white;
  cursor: pointer;
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 1;
}
.lightbox p {
  color: white;
  font-size: 20px;
  text-align: center;
  word-wrap: break-word;
  position: relative;
  margin: 0;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.placeholder {
  width: 100%;
  height: 1500px;
}

/* ========== #YOUTUBE POPUP ========== */

.popup-youtube .video-image {
    position: relative;
    display: inline-block;
}

.popup-youtube .video-image img{
    width: 100%
}

.popup-youtube .video-image:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent url(../img/master/play.png) center center no-repeat;
}

.popup-youtube .video-image img a:link {
    text-decoration: none;
    color: #FFF;
}

.popup-youtube .video-image img a:visited {
    text-decoration: none;
    color: #FFF;
}

.popup-youtube .video-image img a:hover {
    text-decoration: none;
    color: #FFF;
}

.popup-youtube .video-image img a:active {
    text-decoration: none;
    color: #FFF;
}

/* ==========================================================================
    4.6 MODAL POPUP
============================================================================= */
/* ========== #MODAL POPUP STYLE 1 ========== */

.modal-box{
    text-align: center;
}

.modal-box p{
    margin: 15px 0px 15px 0px;
}

.modal-sm .modal-content{
    background: #FFF;
    border: 1px solid #ddd;
   border: 1px solid rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    padding: 10px 20px 10px 20px;
}

.close{
    color: #000;
}

@media (min-width: 992px) {
  .modal-md {
    width: 600px;
  }
}


@media (max-width:992px) {
    
.agency-front-about{
    margin-top: 20px;
    padding: 0px 10px 0px 10px;
}

.magnific-img {
    display: inline-block;
    width: 32.5%;
}
    
}

@media (max-width:767px) {
.magnific-img {
    display: inline-block;
    width: 48%;
}
    
}

@media (max-width:576px) {
.magnific-img {
    display: inline-block;
    width: 100%;
}

.testimonials-content{
    text-align: center;
    margin: auto;
    padding: 50px 15px 30px 15px;  
}

.testimonials-content p{
    color: #666;
    margin: 30px;
    font-size: 14px;
    line-height: 1.5;
}
    
}
    
@media (max-width:450px) {
.blog-news .caption {
    width: 95%;
    height: 100%;
    margin: -70px auto 0px auto;
    padding: 20px 15px 20px 15px;
}

.blog-news .caption p{
    line-height: 1.4;
    color: #8c8c8c;
}
     
}