/*--------------------------------------------------------------
## Responsive Blog
--------------------------------------------------------------*/
@media only screen and (max-width: 991px) {
  .content-area {
    margin-bottom: 60px;
  }
}

@media only screen and (max-width: 767px) {
  .blog-post .author-bio .author-info {
    padding-right: 30px;
    padding-left: 30px;
    background-size: cover;
  }

  .post-nav .post-prev,
  .post-nav .post-next {
    width: 50%;
  }

  .post-nav .thumb-post-next,
  .post-nav .thumb-post-prev {
    display: none;
  }

  .post-nav .post-next {
    margin-right: 0;
  }

  .post-nav .post-prev {
    margin-left: 0;
  }

  .related-posts .col-sm-6:first-child {
    margin-bottom: 30px;
  }

  .comment-respond .comment-reply-title {
    font-size: 32px;
  }

  .comments-area ul.children {
    padding-left: 50px;
  }

  .comment-form .octf-btn {
    font-size: 12px;
    padding: 15px 28px;
  }
}

@media only screen and (max-width: 600px) {
  .single-post .entry-content {
    padding: 50px 0 70px;
  }

  .post-box .post-inner {
    padding: 20px 20px 18px;
  }
}

@media only screen and (max-width: 479px) {

  .blog-post .tagcloud,
  .blog-post .share-post {
    float: none;
  }

  .blog-post .share-post {
    margin-top: 20px;
  }
}

/*--------------------------------------------------------------
  # Infinite scroll
  --------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
  # Media
  --------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/*--------------------------------------------------------------
  ## Captions
  --------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

.bypostauthor {
  color: inherit;
}

/*--------------------------------------------------------------
  ## Galleries
  --------------------------------------------------------------*/
.gallery-caption {
  display: block;
}

.gallery {
  margin-bottom: 1.5em;
  margin-left: -7px;
  margin-right: -7px;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  margin: 0;
  padding: 7px;
}


.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

/*--------------------------------------------------------------
  # Elementor Widgets
  --------------------------------------------------------------*/
/*--------------------------------------------------------------
  ## Heading
  --------------------------------------------------------------*/
.ot-heading {
  position: relative;
}

.ot-heading>span {
  font-family: "Josefin Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #9f9e9e;
  display: inline-block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ot-heading h2 {
  margin-bottom: 0;
  line-height: 48px;
}

.ot-heading.is-dots {
  padding-bottom: 30px;
}

.ot-heading.is-dots:before {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 1px;
  width: 66px;
  height: 2px;
  border-bottom: 2px dotted #1a1a1a;
}

.dark-scheme .ot-heading.is-dots:before {
  border-bottom-color: #fff;
}

.theratio-align-center .ot-heading.is-dots:before {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.theratio-align-right .ot-heading.is-dots:before {
  left: auto;
  right: 2px;
}

.theratio-align-left .ot-heading.is-dots:before {
  left: 1px;
  right: auto;
}

@media (max-width: 1024px) {
  .theratio-tablet-align-center .ot-heading.is-dots:before {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .theratio-tablet-align-right .ot-heading.is-dots:before {
    left: auto;
    right: 2px;
  }

  .theratio-tablet-align-left .ot-heading.is-dots:before {
    left: 1px;
    right: auto;
  }
}

@media (max-width: 767px) {
  .ot-heading>span {
    font-size: 12px;
  }

  .ot-heading h2 {
    font-size: 27px;
    line-height: 38px;
  }

  .ot-heading {
    padding-bottom: 20px;
  }

  .ot-heading:before {
    width: 40px;
  }

  .theratio-mobile-align-center .ot-heading.is-dots:before {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .theratio-mobile-align-right .ot-heading.is-dots:before {
    left: auto;
    right: 2px;
  }

  .theratio-mobile-align-left .ot-heading.is-dots:before {
    left: 1px;
    right: auto;
  }
}

@media (max-width: 600px) {
  .ot-heading h2 br {
    display: none;
  }
}

/*--------------------------------------------------------------
  ## Video Popup
  --------------------------------------------------------------*/
.video-popup span {
  font-family: "Titillium Web", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 20px;
}

/*--------------------------------------------------------------
  ## Icon Box
  --------------------------------------------------------------*/
.icon-box {
  padding: 37px 60px;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.icon-box .icon-main {
  color: #1a1a1a;
}

.icon-box .icon-main i,
.icon-box .icon-main span:before {
  font-size: 54px;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.icon-box .icon-main i,
.icon-box .icon-main img {
  margin-bottom: 17px;
}

.icon-box .icon-main span {
  display: block;
  line-height: 1;
  margin-bottom: 28px;
}

.icon-box h5 {
  margin-bottom: 15px;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.icon-box h5 a {
  color: #1a1a1a;
}

.icon-box p {
  margin-bottom: 13px;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.icon-box--bg-img {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #f4f4f4;
}

.icon-box--bg-img.icon-box--is-line-hover:before,
.icon-box--bg-img.icon-box--is-line-hover:after {
  content: "";
  position: absolute;
  background: #1a1a1a;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.icon-box--bg-img.icon-box--is-line-hover:before {
  width: 0;
  height: 1px;
  bottom: -10px;
  left: 10px;
}

.icon-box--bg-img.icon-box--is-line-hover:after {
  width: 1px;
  height: 0;
  top: 10px;
  right: -11px;
}

.icon-box--bg-img.icon-box--is-line-hover:hover:before {
  width: calc(100% + 5px);
}

.icon-box--bg-img.icon-box--is-line-hover:hover:after {
  height: calc(100% + 5px);
}

.icon-box--bg-img:hover {
  background-color: #1a1a1a;
}

.icon-box--bg-img:hover h5 {
  color: #fff;
}

.icon-box--bg-img:hover h5 a {
  color: #fff;
}

.icon-box--bg-img:hover p {
  color: #a3a3a3;
}

.icon-box--bg-img:hover .btn-details {
  opacity: 0.9;
  color: #fff;
}

.icon-box--bg-img:hover .btn-details:before {
  background: #505050;
}

.icon-box--classic {
  padding: 0;
}

.icon-box--classic p {
  margin-bottom: 0;
}

.icon-box--bg-color {
  padding: 30px;
  padding-bottom: 28px;
  background-color: #1a1a1a;
  border: 1px solid #292929;
  position: relative;
}

.icon-box--bg-color .link_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.icon-box--bg-color h5 {
  color: #fff;
  margin-bottom: 11px;
  line-height: 1.1;
}

.icon-box--bg-color p {
  color: #a3a3a3;
  margin-bottom: 0;
}

.icon-box--bg-color .icon-main {
  color: #fff;
  text-align: center;
  line-height: 1;
  margin-top: 10px;
}

.icon-box--bg-color .icon-main i,
.icon-box--bg-color .icon-main span:before {
  font-size: 45px;
}

.icon-box--bg-color .icon-main span {
  margin-bottom: 0;
}

.icon-box--bg-color .icon-main img {
  max-width: 60px;
}

.icon-box--bg-color.icon-box--icon-left .icon-main {
  float: left;
}

.icon-box--bg-color.icon-box--icon-left .content-box {
  padding-left: 68px;
}

.icon-box--bg-color.icon-box--icon-right .icon-main {
  float: right;
}

.icon-box--bg-color.icon-box--icon-right .content-box {
  padding-right: 68px;
  text-align: right;
}

.icon-box--bg-color:hover {
  background-color: #000;
}

.icon-box--bg-color:hover .link_overlay {
  z-index: 1;
}

@media (min-width: 768px) and (max-width: 991px) {
  .icon-box--bg-img {
    padding: 25px 40px;
  }

  .icon-box--bg-color {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
  ## Service Box
  --------------------------------------------------------------*/
.service-box .image-box {
  position: relative;
  overflow: hidden;
}

.service-box .image-box .overlay {
  background: rgba(26, 26, 26, 0.3);
  opacity: 0;
  z-index: 1;
}

.service-box .image-box img {
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.service-box .info-box {
  padding: 25px 20px 0;
}

.service-box h4 {
  margin-bottom: 12px;
}

.service-box p {
  margin-bottom: 10px;
}

.service-box:hover .image-box .overlay {
  opacity: 1;
}

.service-box:hover .image-box img {
  -webkit-transform: scale(1.02);
  -ms-transform: scale(1.02);
  transform: scale(1.02);
}

/*--------------------------------------------------------------
  ## Counter
  --------------------------------------------------------------*/
.ot-counter {
  font-family: "Titillium Web", sans-serif;
  display: block;
  text-align: center;
}

.ot-counter span {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  color: #c2c2c2;
  font-size: 42px;
  line-height: 1;
}

.ot-counter h6 {
  font-size: 18px;
  text-transform: uppercase;
  color: #232323;
  margin-top: 8px;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 1px;
  display: inline-block;
}

/*--------------------------------------------------------------
  ## Countdown
  --------------------------------------------------------------*/
.ot-countdown {
  text-align: center;
  display: flex;
  margin-bottom: 0;
  color: #fff;
}

.ot-countdown li {
  display: inline-block;
  line-height: 1;
  flex-grow: 1;
  flex-basis: 0;
  font-weight: 600;
  color: #1a1a1a;
}

.ot-countdown li span {
  font-size: 120px;
  font-family: "Titillium Web", sans-serif;
  display: block;
  margin-bottom: 13px;
  white-space: nowrap;
}

.ot-countdown li p {
  margin-bottom: 0;
  font-size: 18px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ot-countdown li.seperator {
  font-size: 72px;
  font-weight: bold;
  color: #a7a7a7;
  margin-top: 27px;
}

.cs-form {
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
  max-width: 475px;
  justify-content: space-between;
}

.cs-form>span.wpcf7-form-control-wrap {
  max-width: 335px;
  width: 100%;
  margin-top: 7px;
}

.cs-form>span.wpcf7-form-control-wrap .wpcf7-text {
  background: transparent;
  color: #555555;
  width: 100%;
}

.cs-form>span.wpcf7-form-control-wrap .wpcf7-text::placeholder {
  color: #555555;
}

.cs-form .octf-btn {
  padding: 15px 34px;
}

.cs-form .octf-btn:before,
.cs-form .octf-btn:after {
  display: none;
}

.cs-form+div {
  max-width: 475px;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 767px) {
  .ot-countdown li p {
    font-size: 14px;
  }

  .ot-countdown li span,
  .ot-countdown li.seperator {
    font-size: 42px;
  }

  .ot-countdown li span {
    margin-bottom: 10px;
  }

  .ot-countdown li.seperator {
    line-height: 55px;
    margin-top: -6px;
  }
}

@media (max-width: 600px) {
  .cs-form {
    display: block;
  }

  .cs-form>span.wpcf7-form-control-wrap {
    margin: 0 auto;
    display: block;
  }

  .cs-form .octf-btn {
    margin-top: 15px;
  }
}

/*--------------------------------------------------------------
  ## Contact-info
  --------------------------------------------------------------*/
.contact-info {
  font-size: 16px;
  overflow: hidden;
  color: #1a1a1a;
}

.contact-info h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-info i {
  font-size: 26px;
  margin-top: 2px;
  line-height: 1;
  float: left;
  color: #1a1a1a;
}

.contact-info i:before {
  font-size: 26px;
}

.contact-info img {
  width: 30px;
  margin-top: 3px;
  float: left;
}

.contact-info p {
  margin-bottom: 0;
}

.contact-info .info-text {
  padding-left: 50px;
  font-weight: 300;
}

/*--------------------------------------------------------------
  ## Testimonials
  --------------------------------------------------------------*/
.ot-testimonials .testi-item {
  background: transparent;
  padding-right: 20px;
  margin-top: 26px;
}

.ot-testimonials .testi-item .t-head {
  overflow: hidden;
  justify-content: normal;
  padding-left: 20px;
}

.ot-testimonials .testi-item .t-head img {
  max-width: 80px;
  margin-right: 25px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.ot-testimonials .testi-item .t-head h6 {
  font-size: 22px;
  margin-bottom: 2px;
}

.ot-testimonials .testi-item .t-head span {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  color: #6f6f6f;
}

.ot-testimonials .testi-item .ttext {
  position: relative;
  margin-bottom: 50px;
  padding: 37px 35px 37px 40px;
  font-size: 18px;
  line-height: 36px;
  background: #fff;
  border: 1px solid #e0e0e0;
}

.ot-testimonials .testi-item .ttext>span {
  position: absolute;
  content: "";
  left: 28px;
  top: -1px;
  width: 80px;
  height: 1px;
  background: #fff;
}

.ot-testimonials .testi-item .ttext:before {
  position: absolute;
  top: -28px;
  left: 28px;
  content: "";
  width: 80px;
  height: 45px;
  z-index: 1;
  background: url("../images/gallery/189x150.png") no-repeat center;
}

.ot-testimonials .ot-testimonials-slider-s2 .testi-item {
  padding-right: 0;
  padding-bottom: 10px;
  margin: 0;
}

.ot-testimonials .ot-testimonials-slider-s2 .testi-item .ttext {
  font-size: 20px;
  padding: 0;
  margin-bottom: 30px;
  border: none;
  background: none;
}

.ot-testimonials .ot-testimonials-slider-s2 .testi-item .ttext:before {
  display: none;
}

.ot-testimonials .ot-testimonials-slider-s2 .testi-item .t-head {
  padding-left: 0;
}

.ot-testimonials .ot-testimonials-slider-s2 .testi-item .t-head h5 {
  margin-bottom: 3px;
}

.ot-testimonials.v-dark .ot-testimonials-slider-s1 .octf-swiper-button-next,
.ot-testimonials.v-dark .ot-testimonials-slider-s1 .octf-swiper-button-prev,
.ot-testimonials.v-dark .ot-testimonials-slider-s2 .octf-swiper-button-next,
.ot-testimonials.v-dark .ot-testimonials-slider-s2 .octf-swiper-button-prev {
  color: #fff;
  background: #0a0a0a;
}

.ot-testimonials.v-dark .ot-testimonials-slider-s1 .octf-swiper-button-next:hover,
.ot-testimonials.v-dark .ot-testimonials-slider-s1 .octf-swiper-button-prev:hover,
.ot-testimonials.v-dark .ot-testimonials-slider-s2 .octf-swiper-button-next:hover,
.ot-testimonials.v-dark .ot-testimonials-slider-s2 .octf-swiper-button-prev:hover {
  color: #919191;
}

.ot-testimonials.v-dark .octf-swiper-pagination .swiper-pagination-bullet {
  background: #0a0a0a;
}

.ot-testimonials.v-dark .octf-swiper-pagination .swiper-pagination-bullet:before {
  background: #fff;
  border-color: #fff;
}

.ot-testimonials.v-dark .testi-item .t-head h6,
.ot-testimonials.v-dark .testi-item .t-head h5 {
  color: #fff;
}

.ot-testimonials.v-dark .testi-item .ttext {
  color: #fff;
  background: #0a0a0a;
  border-color: #292929;
}

.ot-testimonials.v-dark .testi-item .ttext>span {
  background: #0a0a0a;
}

.ot-testimonials.v-dark .testi-item .ttext:before {
  background: url("../images/gallery/189x150.png") no-repeat center;
}

.ot-testimonials.v-dark .testi-item .ttext .layer-behind {
  background: #1a1a1a;
}

.ot-testimonials.v-dark .ot-testimonials-slider-s2 .testi-item .ttext {
  color: #a3a3a3;
  background: none;
}

.ot-testimonials.v-dark .ot-testimonials-slider-s2 .testi-item .t-head span {
  color: #d0cfcf;
}

@media (max-width: 480px) {
  .ot-testimonials .t-head img {
    margin-right: 15px;
  }
}