/*-----------------------------------------------------------
    Theme Name: Doob | Simple Agency HTML Template
    Description: Simple Agency HTML Template
    Author: Graphberry
    Author URI: https://www.graphberry.com/
    Version: 1.0
-------------------------------------------------------------*/


/*-----------------------------------------------------------
    1  General Styles
    2  Typography
    3  Buttons & Links 
    4  Header
    5  Services
    6  About  
    7  Portfolio
    8  Blog
    9  Contact
    10 Footer
    11 Responsive 
-------------------------------------------------------------*/


/*-----------------------------------------------------------
    1. General Styles 
-------------------------------------------------------------*/

* {
    margin: 0;
    padding: 0;
  }
  html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  *, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
  }
  a {
    font-weight: 600;
    color: #29b477;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
  }
  a:focus,
  a:hover {
    color: rgba(44, 44, 44, 0.8);
    text-decoration: none;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  h1,
  .h1,
  h2,
  .h2,
  h3,
  .h3,
  h4,
  .h4,
  h5,
  .h5,
  h6,
  .h6 {
    color: #29b477;
    font-weight: 600;
    letter-spacing: 1px;
  }
  :active,
  :focus {#f9f9f9
    outline: none !important;
  }
  /*-----------------------------------------------------------
    2. Typography 
  ------------------------------------------------------------*/
  body {
    color: #29b477;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    overflow-x: hidden;
    transition: opacity 1s;
    min-width: 330px;
  }
  h1,
  .h1 {
    font-size: 3.4rem;
    margin-bottom: 20px;
  }
  h2,
  .h2 {
    font-size: 2.5rem;
    line-height: 3.5rem;
    margin-bottom: 50px;
  }
  .about h2 {
    margin-bottom: 25px;
  }
  h3,
  .h3 {
    font-size: 1.9rem;
    line-height: 2.5rem;
    margin-bottom: 15px;
  }
  h4,
  .h4 {
    font-size: 24px;
  }
  
  h5,
  .h5 {
    font-size: 1rem;
    color: #333333;
  }
  h6,
  .h6 {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .about p {
    color: #29b477;
  }
  p {
    font-size: 1.0rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 15px;
    letter-spacing: 0.025em;
  }
  /*-----------------------------------------------------------
    3. Buttons & Links
  -------------------------------------------------------------*/
  .contact-btn button {
    width: 200px;
    height: 60px;
    border: 0px;
    -webkit-box-shadow: 0px 4px 6px 0px rgba(30,32,33,0.07);
    -moz-box-shadow: 0px 4px 6px 0px rgba(30,32,33,0.07);
    box-shadow: 0px 4px 6px 0px rgba(30,32,33,0.07);
    background-color: #fff;
    border-radius: 3px;
    font-size: 1.2rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    color: #333333;
  }
  .contact-btn i {
    font-size: 2rem;
    width: 100px;
    height: 100px;
    color: #333333;
  }
  .hero-btns a:first-child {
    background-color: #29b477;
    /*border:2px solid #333333;*/
    color: #fff;
    padding: 17px 25px;
    font-size: 1.0rem;
    border-radius: 30px;
  }
  
  .hero-btns a:first-child:hover {
    background-color: #fff;
    border:2px solid #29b477; 
    color: #29b477;
    padding: 17px 25px;
    font-size: 1.0rem;
    border-radius: 30px;
    transition: all 0.3s ease;
  }
  .hero-btns a:last-child {
    background-color: transparent;
    border:2px solid #29b477; 
    color: #29b477;
    padding: 17px 25px;
    font-size: 1.0rem;
    border-radius: 30px;
  }
  
  .hero-btns a:last-child:hover {
    background-color: transparent;
    border:2px solid #333333; 
    color: #333333;
    padding: 17px 25px;
    font-size: 1.0rem;
    border-radius: 30px;
    transition: all 0.3s ease;
  }
  .navbar-light .navbar-toggler {
    color: #29b477;
    border: none;
  }
  .navbar-toggler {
    padding: .5rem 1.2rem .25rem 0rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    /*border: 1px solid transparent;*/
    border-radius: .25rem;
  }
  .interactive-menu-button {
    position: relative;
  }
  .interactive-menu-button a {
    width: 20px;
    height: 20px;
    display: block;
    position: relative;
  }
  .interactive-menu-button a span {
    height: 4px;
    position: absolute;
    background: #29b477;
    text-indent: -999em;
    width: 100%;
    top: 6px;
    transition: all 0.5s cubic-bezier(0, 0.275, 0.125, 1);
  }
  .interactive-menu-button a span:before,
  .interactive-menu-button a span:after {
    content: '';
    height: 4px;
    background: #29b477;
    width: 100%;
    position: absolute;
    top: -6px;
    left: 0;
    transition: all 0.5s cubic-bezier(0, 0.275, 0.125, 1);
  }
  .interactive-menu-button a span:after {
    top: 6px;
  }
  .interactive-menu-button a.active span {
    background: transparent;
  }
  .interactive-menu-button a.active span:before {
    transform: translateY(6px) translateX(1px) rotate(45deg);
  }
  .interactive-menu-button a.active span:after {
    transform: translateY(-6px) translateX(1px) rotate(-45deg);
  }
  .navbar-nav .dropdown-menu {
    text-align: left;
    border: 0;
    background-color: #29b477;
  }
  .navbar-nav .dropdown-menu a {
    color: #fff;
    cursor: pointer;
    font-size: 1.0rem;
    margin: 10px 0px;
  }
  .dropdown-item:focus, .dropdown-item:hover {
    color: #333333!important;
    text-decoration: none;
    background-color: #29b477;
    
  }
  .service-btn a {
    color: #fff!important;
    font-size: 0.8rem!important;
  }
  .service-btn a:hover {
    color: #333333!important;
  }
  .more-btn {
    text-align: center;
    margin: 15px 0px 100px 0px;
  }
  .more-btn a {
    font-size: 1.2rem;
    color: #333333!important;
    cursor: pointer;
    padding: 20px 30px;
  }
  .more-btn a:hover {
    color: #29b477!important;
  }
  .contact-btn {
    text-align: center;
    margin-top: 70px;
  }
  .contact-btn a {
    color: #fff!important;
  }
  .contact-btn a:hover {
    color: #29b477!important;
  }
  /*-----------------------------------------------------------
    4. Header
  -------------------------------------------------------------*/
  .navbar-light .navbar-nav .nav-link {
    color: #333333;
    font-size: 1.0rem;
  }
  .hero-btns {
    margin-bottom: 0px;
  }
  .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: #29b477;
  }
  .navbar {
    padding: 50px 0 0 0;
  }
  .navbar-light .navbar-brand {
    margin-right: -10%; /* 10% */
  }
  .nav-item {
    padding: 0 10px;
  }

  .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #29b477;
  }
  .hero img {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -9;
    margin-top: 30px;
    width: 50%;
  }
  .hero h1 {
    margin-top: 250px;
  }
  .hero p {
    margin-bottom: 50px;
  }
  /*-----------------------------------------------------------
    5. Services
  -------------------------------------------------------------*/
  .services {
    padding: 50px 0px;
  }
  .services p {
    font-size: 1.0rem;
    color: #29b477;
    line-height: 1.5rem;
  }
  .side-img img {
    position: absolute;
    left: -20px;
  }
  .side2-img img {
    position: absolute;
    right: -20px;
    top: 1300px;
  }
  .service-box {
    background-color: #fff;
    min-height: 60px;
    max-width: 170px;
    padding: 30px 10px;
    margin: 10px;
    -webkit-box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
    -moz-box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
    box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
    min-height: 400px;
  }
  .service-box img {
    margin-bottom: 30px;
  }
  /*-----------------------------------------------------------
    6. About
  -------------------------------------------------------------*/
  .about {
    margin-bottom: 80px;
  }
  /*-----------------------------------------------------------
   7. Portfolio
  -------------------------------------------------------------*/
  .portfolio-aside img {
    margin-top: 20px;
    position: absolute;
    left: -20px;
  }
  .work-box {
    margin-bottom: 30px;
  }
  .work-box img {
    width: 370px;
    height: auto;
  }
  /* Portfolio Gallery Hover */
  .photobox{
    display: inline-block;
  }
  .photobox__previewbox{
    position: relative;
    overflow: hidden;
  }
  .photobox__preview{
    display: block;
    max-width: 100%;
  }
  .photobox__previewbox:before{
    content: "";
  }
  .photobox_type10 .photobox__previewbox:before{
    width: 0;
    height: 0;
    padding: 25%;
    background-color: #29b477;
    opacity: 0.8;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: transform calc(var(--photoboxAnimationDuration, .8s) / 2) ease;
    will-change: transform;
    transform: translate(-50%, -50%) scale(0);
  }
  .photobox_type10:hover .photobox__previewbox:before{
    transform: translate(-50%, -50%) scale(4);
    transition-duration: var(--photoboxAnimationDuration, .8s);
  }
  .photobox_type10 .photobox__label{
    width: 95%;
    text-align: center;
    opacity: 0;  
    transition: opacity calc(var(--photoboxAnimationDuration, .8s) / 4) cubic-bezier(0.71, 0.05, 0.29, 0.9), transform calc(var(--photoboxAnimationDuration, .8s) / 4) cubic-bezier(0.71, 0.05, 0.29, 0.9);
    will-change: opacity, transform;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 200%);
    z-index: 3;
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem; 
  }
  .photobox_type10:hover .photobox__label{
    opacity: 1;
    transform: translate(-50%, -50%);
    transition-duration: calc(var(--photoboxAnimationDuration, .8s) / 2);
    transition-delay: calc(var(--photoboxAnimationDuration, .8s) / 4);
  }
  .hide {
    display: none;
    transition: all 0.3s ease;
  }
  /*-----------------------------------------------------------
    8. Blog
  -------------------------------------------------------------*/
  .blog {
    padding: 25px 0px;
    margin-bottom: 70px;
  }
  .blog-box {
    background-color: #f9f9f9; /*#f9f9f9*/
    min-height: 60px;
    max-width: 170px;
    padding: 30px 10px;
    line-height: 15px;
    -webkit-box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
    -moz-box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
    box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
    margin: 10px;
  }
  .blog-box p:nth-child(2) {
    font-size: 0.9rem;
    color: #6E757A!important;
  }
  .blog-box p:nth-child(3) {
    font-size: 1.2rem;
    color: #29b477;
  }
  .slick-prev {
    position: absolute;
    right: 60px;
    top: -50px;
  }
  .slick-next  {
    position: absolute;
    right: 10px;
    top: -50px;
  }
  .blog-first {
    background-color: #29b477;
  }
  .blog-first h6 {
    color: #fff;
  }
  .blog-first p:nth-child(2) {
    color: #fff!important;
  }
  .blog-first p:nth-child(3) {
    color: #fff;
  }
  .hide-blog {
    display: none;
  }
  #blog-btn {
    color: #333333;
    font-size: 1.2rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    background-color: #fff;
    border: none;
    margin-top: 20px;
  }
  #blog-btn:hover {
    color: #29b477;
  }
  .hide-me {
    display: none;
  }
  /*-----------------------------------------------------------
    9. Contact
  -------------------------------------------------------------*/
  .contact {
    max-height: 2550px;
  }
  
  ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #29b477;
  }
  ::-moz-placeholder { /* Firefox 19+ */
    color: #29b477;
    
  }
  :-ms-input-placeholder { /* IE 10+ */
    color: #29b477;
   
  }
  :-moz-placeholder { /* Firefox 18- */
    color: #29b477;
   
  }
  textarea {
    background-color: #F4FAFE;
    border: none;
    width: 100%;
    padding: 20px;
    margin-top: 15px;
    color: #29b477;
    font-weight: 600;
  }
  /*-----------------------------------------------------------
    10. Footer
  -------------------------------------------------------------*/
  footer {
    background-color: #29b477;
    width: 100%;
    min-height: 60px;
    text-align: center;
    padding: 10px 0px 0px 0px;
  }
  footer h5{
    color: #fff;
    padding-bottom: 30px;
  }
  footer h3{
    color: #333333;
    font-size: 3rem;
    margin-bottom: 30px;
  }
  .contact-nav li {
    display: inline;
    color: #fff;
  }
  .contact-nav a {
    color: #fff;
    font-size: 1.1rem;
    padding: 20px 20px;
  }
  .contact-nav a:hover {
    color: #333333;
  }
  footer h6 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 20px;
  }
  .social li {
    display: inline;
  }
  .social li a {
    font-size: 2.7rem;
    color: #fff;
    margin: 0px 30px;
  }
  .social li a:hover {
    color: #333333;
    transition: all 0.3s ease;
  }
  /*-----------------------------------------------------------
    11. Responsive
  -------------------------------------------------------------*/
  @media (max-width: 1700px) {
    .hero-btns {
      margin-bottom: 0px;
    }
  }
  @media (max-width: 1500px) {
    .hero img {
      margin-top: 130px;
    }
  }
  @media (max-width: 1350px) {
    .hero-btns {
      margin-bottom: 0px;
    }
  }
  @media (max-width: 1199px) {
    .nav-item {
      padding: 0px; 
    }
    .navbar-light .navbar-nav .nav-link {
      font-size: 1rem;
    }
    .contact-btn button {
      -webkit-box-shadow: none;
      -moz-box-shadow: none;
      box-shadow:none;
      background-color: none;
      font-size: 1rem;
  }
    .hero img {
      margin-top: 150px;
      width: 45%;
    }
    .hero h1 {
      margin-top: 150px;
    }
    h2 {
      font-size: 2rem;
      line-height: 3.0rem;
    }
    h3 {
      font-size: 1.4rem;
      line-height: 2rem;
      margin-bottom: 20px;
    }
    .services p {
      font-size: 0.8rem;
    }
    .hero-btns {
      margin-bottom: 0px;
    }
  }
  @media (max-width: 991px) {
    .navbar {
      padding: 15px 0 0 0;
    }
    .hero img {
      display: none;
    }
    .hero {
      text-align: center;
    }
    .hero h1 {
      margin-top: 80px;
    }
    .navbar-collapse {
      text-align: center;
      margin-top: 50px;
    }
    .navbar-light .navbar-nav .nav-link {
      font-size: 2rem;
    }
    .contact-btn {
      display: none;
    }
    .hero-btns {
      margin-bottom: 0px;
    }
    .service-txt {
      text-align: center;
    }
    .about img {
      margin-bottom: 70px;
    }
    .about {
      text-align: center;
    }
    .portfolio {
      text-align: center;
    }
    .blog {
      text-align: center;
    }
    .blog-box {
      margin: 0 auto;
      margin-bottom: 25px;
    }
    .contact {
      text-align: center;
    }
  
  
  }
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 3.5rem;
    }
    .service-box {
      padding: 20px 25px;
      margin: 0px;
    }
    .contact-nav a {
      font-size: 1rem;
      padding: 20px 5px;
    }
  }
  
  @media (max-width: 575px) {
    .service-box {
      padding: 20px 25px;
      max-width: 300px;
      margin: 0 auto;
      margin-bottom: 40px;
    }
    footer h3{
      font-size: 2.5rem;
    }
  }
  @media (max-width: 454px) {
    .hero h1 {
      font-size: 3.0rem;
      margin-top: 50px;
    }
    .hero p {
      font-size: 0.8rem;
    }
    .hero-btns a:first-child {
      font-size: 0.8rem;
      display: block;
      width: 70%;
      margin: 0 auto;
    }
    .hero-btns a:last-child {
      font-size: 0.8rem;
      display: block;
      width: 70%;
      margin: 0 auto;
    }
    footer h3{
      line-height: 2.6rem;
    }
    .contact-nav li {
      display: block;
    }
    .social li {
      display: block;
    }
  }
.slider{
	overflow: hidden;
	height: 350px;
}
 
.slider figure div{
	width: 20%;
	float: right;
}
 
.slider figure img{
	width: 100%;
	float: right;
}
 
.slider figure{
	position: relative;
	width: 500%;
	margin: 0;
	left: 0;
	animation: 30s slidy infinite;
}
 
@keyframes slidy{
	0%{
		left: 0%
	}
 
	10%{
		left: 0%;
	}
 
	12%{
		left: -100%;
	}
 
	22%{
		left: -100%;
	}
 
	24%{
		left: -200%;
	}
 
	34%{
		left: -200%;
	}
 
	36%{
		left: -300%;
	}
 
	46%{
		left: -300%;
	}
 
	48%{
		left: -400%;
	}
 
	58%{
		left: -400%;
	}
 
	60%{
		left: -300%;
	}
 
	70%{
		left: -300%;
	}
 
	72%{
		left: -200%;
	}
 
	82%{
		left: -200%;
	}
 
	84%{
		left: -100%;
	}
 
	94%{
		left: -100%;
	}
 
	96%{
		left: 0%;
	}
 
	100%{
		left: 0%;
	}
}
