/*
 Theme Name:   Leaneria
 Description:  A child theme of the Helilar theme
 Author:       Maksim Zavadskij
 Template:     helilar
 Version:      1.1.0
*/


/* Content */


html[lang="en-US"] span[lang="lt"] { display: none; }
html[lang="lt-LT"] span[lang="en"] { display: none; }

#tm_builder_outer_content .tm_pb_slide_description, #tm_builder_outer_content .tm_pb_pricing_content, #tm_builder_outer_content .tm_pb_text, #tm_builder_outer_content .product, #tm_builder_outer_content .tm_pb_widget, body {
  word-wrap: normal;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;
}

a[title="Youtube"], .tm-social-Youtube {
  display: none !important;
}

.post__comments {
  display: none;
}

footer.entry-footer { display: none !important; }

h1, h2, h3, h4, h5, h6 {
  text-transform: none;
  color: #4b4a49;
}

.btn.btn-default {
  border-color: #714684;
  background: #714684;
}

.main-navigation .menu > li > a {
/*  color: #714684 !important;*/
  color: #888 !important;
  font-weight: 500;
}


.main-navigation .menu > li > a:hover {
/*  color: #7a0aff !important; */
/*  color: #651e84 !important;*/
  color: #714684 !important;
}

.cf-success-message {
  text-align: center;
  border-radius: 5px;
  color: white;
}



.lang-item img {
  vertical-align: baseline;
}

.lang-item a {
  opacity: 0.6;
}

.lang-item a:hover {
  opacity: 1;
}


#main-menu:not(.isStuck) .lang-item {
  margin-left: auto;
}


#tm_builder_outer_content .tm_pb_module ul:not([class]) > li:before {
  content: '';
  top: 8px;
}

.single .hentry.has-thumb .post-thumbnail {
  overflow: hidden;
  height: 300px;
  position: relative;
}

.single .hentry.has-thumb .post-thumbnail img {
  position: absolute;
  bottom: -20%;
}

.leaneria-about-us h3,
.leaneria-services h3,
.leaneria-custom-title h3,
.leaneria-news h3,
.tm_pb_section_5 h3,
.page-id-935 h3,
.page-id-1213 h3 {
  color: #714684;
  font-weight: 300;
}

.page-id-935 .tm_pb_contact_main_title,
.page-id-1213 .tm_pb_contact_main_title {
  display: none;
}

/* First view */
.leaneria-visuals {
  position: relative;
}

.leaneria-visuals:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: url('leaneria-bg.png');
  background-size: cover;
  background-position: left center;
}

.leaneria-visuals h1 {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
  font-weight: 300;
}

/* Services */

#services h3 {
  text-align: center;
}

#services h6 {
  color: #714684;
  margin: 0 0 20px;
}

#services .tm_pb_image {
  position: relative;
}

#services .tm_pb_image:before {
  content: '';
  display: block;
  background: rgb(92,45,144);
  background: -moz-linear-gradient(45deg, rgba(92,45,144,1) 0%, rgba(98,56,139,1) 18%, rgba(103,64,135,1) 45%, rgba(104,66,134,1) 100%);
  background: -webkit-linear-gradient(45deg, rgba(92,45,144,1) 0%,rgba(98,56,139,1) 18%,rgba(103,64,135,1) 45%,rgba(104,66,134,1) 100%);
  background: linear-gradient(45deg, rgba(92,45,144,1) 0%,rgba(98,56,139,1) 18%,rgba(103,64,135,1) 45%,rgba(104,66,134,1) 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
  z-index: 10;
}


/* Verticals */

#verticals h3 {
  text-align: center;
}

/* News */

.leaneria-news {
  background-color: #f5f5f5 !important;
}


/* ------ */

.column-center div > div,
.centered-block {
  margin: 0 auto;
}

/* Posts */

.posted-by {
  display: none;
}

.leaneria-news {
  background-color: #f5f5f5 !important;
}

.post-author-bio {
  display: none;
}

#tm_builder_outer_content .tm_pb_social_media_follow li a.icon.rounded_rectangle {
  color: #714684;
}

#tm_builder_outer_content .tm_pb_social_media_follow li a.icon.rounded_rectangle:hover {
  color: #7a0aff;
  color: #714684;
}

/* Contacts */

.leaneria-contacts h4 {
  margin-top: 0;
}

/* Accordion */

.leaneria-accordion .tm_pb_toggle {
  padding-left: 160px !important;
  position: relative;
}

.leaneria-accordion .tm_pb_toggle:before {
  content: '';
  position: absolute;
  display: block;
  width: 110px;
  height: 100px;
  top: 20px;
  left: 0;
  background-image: url('assets/icons/gamyba.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 96px;
}

.leaneria-accordion .tm_pb_accordion_item_3:before {
  background-image: url('assets/icons/sveikata.png');
}

.leaneria-accordion .tm_pb_accordion_item_1:before {
  background-image: url('assets/icons/prekyba.png');
}

.leaneria-accordion .tm_pb_accordion_item_2:before {
  background-image: url('assets/icons/statybos.png');
  background-size: 82px;
}

.leaneria-accordion .tm_pb_accordion_item_4:before {
  background-image: url('assets/icons/sportas.png');
}

.leaneria-accordion .tm_pb_toggle h5 {
  color: #404040;
}

/* Footer */
.entry-footer {
  display: none;
}

#colophon.site-footer .invert {
  color: #fff;
}

.site-footer {
  background: rgb(92,45,144);
  background: -moz-linear-gradient(45deg, rgba(92,45,144,1) 0%, rgba(98,56,139,1) 18%, rgba(103,64,135,1) 45%, rgba(104,66,134,1) 100%);
  background: -webkit-linear-gradient(45deg, rgba(92,45,144,1) 0%,rgba(98,56,139,1) 18%,rgba(103,64,135,1) 45%,rgba(104,66,134,1) 100%);
  background: linear-gradient(45deg, rgba(92,45,144,1) 0%,rgba(98,56,139,1) 18%,rgba(103,64,135,1) 45%,rgba(104,66,134,1) 100%);
}

.site-footer .footer-area-wrap {
  background: transparent;
}

.site-footer .footer-area {
  color: #fff !important;
}

.site-footer .footer-area a {
  color: #fff;
}

.site-footer .footer-area a:hover {
  opacity: 0.7;
}

.site-footer .footer-area .tm-pb-icon:before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: attr(data-icon);
}

.site-footer .footer-social-networks {
  font-size: 40px;
  margin-top: -7px;
}

.footer-area {
    padding: 30px 0 0;
}

@media (min-width: 1200px) {
  #services .container {
    max-width: 850px;
  }
}

@media (min-width: 768px) {
  .page-id-935 .tm_pb_contact_form,
  .page-id-1213 .tm_pb_contact_form {
    margin-top: 75px;
  }
  
/*
  .leaneria-accordion .tm_pb_toggle h5 {
    font-size: 18px;
  }
*/
}

@media (min-width: 992px) {
  .page-id-935 .tm_pb_contact_form,
  .page-id-1213 .tm_pb_contact_form {
    margin-top: 89px;
  }
}

@media (max-width: 767px) {
  .single .hentry.has-thumb .post-thumbnail {
    height: 190px;
  }
  
  .single .hentry.has-thumb .post-thumbnail img {
    bottom: 0;
  }
  
  
  .leaneria-accordion .tm_pb_toggle h5 {
    font-size: inherit;
  }

  .leaneria-accordion .tm_pb_toggle:before {
    transform: scale(0.5);
    top: 6px;
    left: -23px;
  }
}

@media (max-width: 550px) {
  .leaneria-accordion .tm_pb_toggle {
    padding-left: 76px !important;
    position: relative;
  }
}