/* * {
  outline: 1px solid red;
} */

body {
  background-color: #fff;
  font-family: "Open Sans", sans-serif;
  line-height: 24px;
  font-size: 16px;
  color: #818181;
}

figure,
p,
address {
  margin: 0;
}

iframe {
  border: 0;
}

a {
  color: #4fb5f0;
  transition: all 0.3s ease-out 0s;
}

a,
a:hover,
a:focus,
.btn:focus {
  text-decoration: none;
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Open Sans", sans-serif;
  color: #252525;
}

p {
  font-size: 15px;
}

main > section {
  padding: 70px 0;
}

.btn {
  border-radius: 0;
  border: 0;
  position: relative;
  text-transform: uppercase;
}

.btn-blue {
  background-color: rgba(10, 166, 189, 0.75);
  box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.15) inset;
  padding: 15px 55px;
  color: #fff;
}

.btn-border {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 35px;
}

.bg-blue {
  background-color: #4fb5f0;
}

/* Sweep To Right */
.btn-effect {
  vertical-align: middle;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  display: inline-block;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition-property: color;
  transition-duration: 0.3s;
  -moz-osx-font-smoothing: grayscale;
}

.btn-effect:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.btn-effect:hover,
.btn-effect:focus,
.btn-effect:active {
  color: rgb(9, 157, 178);
}

.btn-effect:hover:before,
.btn-effect:focus:before,
.btn-effect:active:before {
  transform: scaleX(1);
}

.section-title {
  margin-bottom: 50px;
}

.section-title.white {
  color: #fff;
}

.section-title h2 {
  color: #4fb5f0;
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  position: relative;
  text-transform: uppercase;
}

.section-title p {
  color: #444;
  font-style: italic;
  font-size: 13px;
}

.section-title.white p {
  color: #fff;
}

.section-title.white h2 {
  color: #fff;
}

.section-title h2:after {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  width: 72px;
  margin-left: -36px;
  background: #636363;
  content: "";
}

.section-title.white h2:after {
  background: #fff;
}

.parallax {
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

/**
/*	Preloader
/* ==========================================*/
#preloader {
  background-color: #fff;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

/*Battery*/
.loder-box {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 1px;
  height: 100px;
  left: 50%;
  margin-left: -64px;
  margin-top: -50px;
  position: absolute;
  top: 50%;
  width: 128px;
}

.battery {
  width: 60px;
  height: 25px;
  top: 35%;
  border: 1px #2e2e2e solid;
  border-radius: 2px;
  position: relative;
  -webkit-animation: charge 5s linear infinite;
  animation: charge 5s linear infinite;
  margin: 0 auto;
}

.battery:after {
  background-color: #2e2e2e;
  border-radius: 0 1px 1px 0;
  content: "";
  height: 10px;
  position: absolute;
  right: -5px;
  top: 7px;
  width: 3px;
}

@-webkit-keyframes charge {
  0% {
    box-shadow: inset 0px 0px 0px #2e2e2e;
  }
  100% {
    box-shadow: inset 60px 0px 0px #2e2e2e;
  }
}
@keyframes charge {
  0% {
    box-shadow: inset 0px 0px 0px #2e2e2e;
  }
  100% {
    box-shadow: inset 60px 0px 0px #2e2e2e;
  }
}
/**
/*	Header
/* ==========================================*/
#navigation {
  transition: all 0.8s ease 0s;
  background-color: rgba(0, 0, 0, 0.77);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  padding: 5px 0;
}

#navigation.animated-header {
  padding: 15px 0;
}

.nav-link {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: bold;
}

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

.nav-item {
  position: relative;
  margin: 0 10px;
}
.nav-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #4fb5f0;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}
.nav-item:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

/*=================================================================
	Home Slider
==================================================================*/
#home-slider,
.slider-content,
.slider-text {
  background: transparent !important;
}

#home-slider {
  position: relative;
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-content {
  display: flex;
  width: 100%;
  height: 100%;
}

.slider-text {
  flex: 1;
  margin-left: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5vw;
  z-index: 5;
}

.slider-text h2 {
  font-size: 3rem;
  font-weight:800;
  margin-bottom: 1rem;
}

.slider-text p {
  font-size: 1.2rem;
  color: #555;
}

.slider-image {
  flex: 1;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.slider-image img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%); /* Push half the image out of view */
  height: auto;
  width: auto;
  max-height: 160vh;
}

@media (max-width: 1000px) {
  .slider-content {
    flex-direction: column;
  }

  .slider-image {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slider-image img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: auto;
  }

  .slider-text {
    text-align: center;
    padding: 2rem;
    margin-left: 0%;
    margin-top: 10%;
  }

  .slider-text h2 {
    font-size: 2.5rem;
  }

  .slider-text p {
    font-size: 1rem;
  }
}



/*=================================================================
	Services
==================================================================*/
#service{
  background-color: #f7f7f7;
}
.service-icon {
  border: 3px solid transparent;
  display: inline-block;
  line-height: 40px;
  transition: all 0.3s ease 0s;
}

.service-item {
  margin-bottom: 60px;
  padding: 0 14px;
}

.service-icon i {
  font-size: 60px;
  color: #4fb5f0;
}

.service-item h3 {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #3c3d41;
  text-transform: uppercase;
}

.service-item p {
  color: #7e848e;
  font-weight: 200;
}

/*=================================================================
	Island
==================================================================*/

/* .mask-overly {
  background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9;
} */

/* .slider-1 {
  background-image: url(../images/slider/slider-1.jpg);
}

.slider-2 {
  background-image: url(../images/slider/slider-2.jpg);
}

.slider-3 {
  background-image: url(../images/slider/slider-3.jpg);
} */
 
#island-slider {
  position: relative;
  padding: 0;
  background-color: #636363;
}


.sl-slider-wrapper {
  width: 100%;
  height: 90vh !important;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.sl-slider {
  position: absolute;
  top: 0;
  left: 0;
}

/* Slide wrapper and slides */
.sl-slide,
.sl-slides-wrapper,
.sl-slide-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.sl-slide {
  z-index: 1;
}

.slide-caption {
  color: #000;
  display: table;
  height: 100%;
  left: 0;
  min-height: 100%;
  position: absolute;
  text-align: left;
  top: 0;
  width: 50%;
  z-index: 999999;
  left: 10%;
}

.slide-caption .caption-content {
  vertical-align: middle;
  display: table-cell;
}

.caption-content h2 {
  color: #000;
  font-size: 50px;
  font-weight: 900;
  margin-bottom: 25px;
}

.caption-content > p {
  display: block;
  font-size: 16px;
  margin-bottom: 45px;
  text-transform: capitalize;
  margin-bottom: 65px;
  font-weight: 200;
}

/*Slider Arrow Buttons*/
#nav-arrows > a {
  border: 1px solid #fff;
  color: #fff;
  display: block;
  height: 60px;
  line-height: 76px;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 50px;
  z-index: 20;
  margin-top: -30px;
  transition: all 0.3s ease 0s;
}

#nav-arrows > a.sl-prev {
  transform: translateX(-50px);
  opacity: 0;
}

#slider:hover #nav-arrows > a.sl-prev {
  opacity: 1;
  transform: translateX(20px);
}

#nav-arrows > a.sl-next {
  right: 0;
  transform: translateX(50px);
  opacity: 0;
}

#slider:hover #nav-arrows > a.sl-next {
  opacity: 1;
  transform: translateX(-20px);
}

#nav-arrows > a.sl-next:hover,
#nav-arrows > a.sl-prev:hover {
  background-color: #4fb5f0;
  border-color: #4fb5f0;
  color: #fff;
}

@media (max-width: 768px) {
  #nav-arrows {
    display: none !important;
  }
}

/* The duplicate parts/slices */
.sl-content-slice {
  overflow: hidden;
  position: absolute;
  box-sizing: content-box;
  background: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  opacity: 1;
}

/* Horizontal slice */
.sl-slide-horizontal .sl-content-slice {
  width: 100%;
  height: 50%;
  left: -200px;
  transform: translateY(0%) scale(1);
}

.sl-slide-horizontal .sl-content-slice:first-child {
  top: -200px;
  padding: 200px 200px 0px 200px;
}

.sl-slide-horizontal .sl-content-slice:nth-child(2) {
  top: 50%;
  padding: 0px 200px 200px 200px;
}

/* Vertical slice */
.sl-slide-vertical .sl-content-slice {
  width: 50%;
  height: 100%;
  top: -200px;
  transform: translateX(0%) scale(1);
}

.sl-slide-vertical .sl-content-slice:first-child {
  left: -200px;
  padding: 200px 0px 200px 200px;
}

.sl-slide-vertical .sl-content-slice:nth-child(2) {
  left: 50%;
  padding: 200px 200px 200px 0px;
}

/* Content wrapper */
/* Width and height is set dynamically */
.sl-content-wrapper {
  position: absolute;
}

.sl-content {
  width: 100%;
  height: 100%;
}

/* Project laughtbox setup */
/* .fancybox-item.fancybox-close {
  background: url("../images/icons/close.png") no-repeat scroll 0 0 transparent;
  height: 50px;
  right: 0;
  top: 0;
  width: 50px;
}

.fancybox-next span {
  background: url("../images/right.png") no-repeat scroll center center #4fb5f0;
  height: 50px;
  width: 50px;
  right: 0;
}

.fancybox-prev span {
  background: url("../images/left.png") no-repeat scroll center center #4fb5f0;
  height: 50px;
  width: 50px;
  left: 0;
} */

@media (max-width: 900px) {
    .slide-caption {
    color: #fff;
    display: table;
    height: 100%;
    left: 0;
    min-height: 100%;
    position: absolute;
    text-align: left;
    top: 0;
    width: 50%;
    z-index: 999999;
    left: 10%;
  }
}


/*=================================================================
	Storymaps
==================================================================*/
.project-wrapper {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.project-wrapper .row {
  margin: 0;
}

.project-wrapper [class^=col-] {
  padding-left: 0;
  padding-right: 0;
}

.portfolio-filter {
  font-size: 0;
  list-style: outside none none;
  margin: 0 0 40px;
  padding: 0;
  transition: color 0.2s ease;

}

.portfolio-filter li {
  display: inline-block;
  cursor: pointer;
}

.portfolio-filter li a {
  color: #777;
  display: block;
  font-size: 14px;
  padding: 0 20px;
  position: relative;
}

.portfolio-filter li a:hover {
  color: #006eff;
}

.portfolio-filter li a.active {
  color: #4fb5f0;
}


.portfolio-filter li a::after {
  bottom: auto;
  content: "/";
  position: absolute;
  right: 0;
  top: auto;
}

.portfolio-filter li:last-child a::after {
  content: none;
}

.portfolio-item {
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.portfolio-item img {
  transition: all 0.4s ease 0s;
}

.portfolio-item:hover img {
  transform: translateY(-20px);
}

figcaption.mask {
  background-color: #f1f1f1;
  bottom: 0;
  color: #333;
  padding: 25px;
  position: absolute;
  width: 100%;
  text-align: left;
  transform: translateY(100%);
  transition: all 0.4s ease 0s;
}

.portfolio-item:hover figcaption.mask {
  transform: translateY(0px);
}

figcaption.mask h3 {
  margin-top: 0;
  color: #333;
  font-size: 12px;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease 0.1s;
}

figcaption.mask p {
  line-height: 1.3;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease 0.3s;
}

.portfolio-item:hover figcaption.mask h3,
.portfolio-item:hover figcaption.mask p {
  opacity: 1;
  transform: translateY(0px);
}

ul.external {
  list-style: outside none none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: -47px;
  transition: all 0.4s ease 0s;
}

ul.external li {
  display: inline-block;
}

ul.external li a {
  background-color: rgba(255, 255, 255, 0.9);
  color: #818181;
  display: block;
  padding: 10px 18px 13px;
  transition: all 0.5s ease 0s;
}

ul.external li a:hover {
  background-color: #4fb5f0;
  color: #fff;
}

.portfolio-item:hover ul.external {
  top: 0;
}

.fancybox-skin {
  border-radius: 0;
}

.fancybox-title.fancybox-title-inside-wrap {
  padding: 15px;
}

.fancybox-title h3 {
  margin: 0 0 15px;
}

.fancybox-title p {
  color: #818181;
  font-size: 16px;
  line-height: 22px;
}

.fancybox-title-inside-wrap {
  padding-top: 0;
}





/*============================================================ 
	Responsive Styles
 ============================================================*/
/*============================================================
	For Small Desktop
==============================================================*/
@media (min-width: 980px) and (max-width: 1150px) {
  /*about*/
  #about .welcome-block img {
    margin-bottom: 30px;
  }
}
/*============================================================
	Tablet (Portrait) Design for a width of 768px
==============================================================*/
@media (min-width: 768px) and (max-width: 979px) {
  /* home slider  */
  .caption-content h2 {
    font-size: 40px;
  }
  .caption-content p {
    font-size: 25px;
  }
  .caption-content strong {
    font-size: 45px;
  }
  /* about */
  .recent-works {
    margin-bottom: 50px;
  }
  .service-item {
    margin-bottom: 50px;
  }
  /* testimonial */
  .testimonial-item {
    width: 100%;
  }
  .testimonial-item {
    width: 80%;
  }
  .testimonial-item > div:after {
    bottom: -35px;
  }
  /* price */
  .price-table {
    margin-bottom: 50px;
  }
  /* contact form */
  .contact-form {
    margin-bottom: 50px;
  }
}
/*============================================================
	Mobile (Portrait) Design for a width of 320px
==============================================================*/
@media only screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .parallax {
    background-position: centet tip !important;
  }
  .section-title h2 {
    font-size: 25px;
  }
  /*navigation*/
  .navbar-inverse .navbar-toggle {
    border-color: #fff;
  }
  .navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: transparent;
  }
  /* slider */
  .caption-content h2 {
    font-size: 18px;
  }
  .caption-content > span {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .caption-content p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .caption-content strong {
    font-size: 22px;
  }
  /* about */
  .recent-works {
    margin-bottom: 85px;
  }
  #about h3 {
    font-size: 18px;
    margin: 0 0 35px !important;
  }
  #about .owl-buttons {
    margin-top: 20px;
  }
  #about .message-body {
    margin-bottom: 45px;
  }
  #about .welcome-block img {
    margin: 0 25px 15px 0;
  }
  /* service */
  .service-item {
    width: 100%;
  }
  /*portfolio*/
  /* lightbox */
  .fancybox-title h3 {
    font-size: 20px;
  }
  .fancybox-title p {
    font-size: 14px;
  }
  /* testimonial */
  .testimonial-item {
    width: 95%;
  }
  .testimonial-item > div:before,
.testimonial-item > div:after {
    background-image: none;
  }
  .testimonial-item > div > span {
    margin: 30px 0 20px;
  }
  /* price */
  .price-table {
    margin-bottom: 50px;
  }
  /* follow us */
  .social-button li {
    margin: 0 10px;
  }
  .social-button li a {
    height: 65px;
    line-height: 71px;
    width: 65px;
  }
  /* contact form */
  .contact-form {
    margin-bottom: 50px;
  }
  /* footer */
  .footer-content {
    width: 100%;
  }
  .footer-social ul li {
    margin: 0 7px;
  }
}
.success-ms {
  background-color: #6cb670;
  border-radius: 4px;
  color: #fff;
  display: none;
  font-size: 13px;
  padding: 10px;
  margin-bottom: 10px;
}

.error-ms {
  display: none;
  padding: 10px;
  color: #d8000c;
  border-radius: 4px;
  font-size: 13px;
  background-color: #ffbaba;
  margin-bottom: 10px;
}

/*============================================================
	Mobile (Landscape) Design for a width of 480px
==============================================================*/
@media only screen and (min-width: 480px) and (max-width: 767px) {
  /* home slider */
  .caption-content h2 {
    font-size: 35px;
  }
  .caption-content p {
    font-size: 25px;
  }
  .caption-content strong {
    font-size: 35px;
  }
  /*about*/
  #about .welcome-block h3 {
    margin: 0 0 35px;
  }
  /* service */
  .service-item {
    margin: 0 auto 50px;
    width: 55%;
  }
  /* portfolio */
  /* testimonial */
  .testimonial-item {
    width: 80%;
  }
  .testimonial-item > div:before {
    bottom: 160px;
  }
  /* social */
  .social-button li a {
    height: 90px;
    line-height: 96px;
    width: 90px;
  }
  /* price */
  .price-table {
    margin-bottom: 50px;
  }
  /* contact form */
  .contact-form {
    margin-bottom: 50px;
  }
  /* footer */
  .footer-content {
    width: 380px;
  }
}


/*Bottom Footer*/
#footer-bottom {
  background: #2a2a2a;
  padding: 20px 0;
  color: #ccc;
}

#footer-bottom p {
  font-size: 13px;
  margin: 0;
}

.img-logo {
  max-height: 30px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
