/*
Theme Name: TheGem Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/

.header-style-3 #primary-menu.no-responsive > li > a,
.header-style-4 #primary-menu.no-responsive > li > a {
  padding: 6px 8px;
}

.branch-pages {
  text-align: center;
}

.branch-pages .nav-menu {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  padding: 15px 0;
  text-align: center;
}

.branch-pages .nav-menu li {
  list-style: none;
  padding: 0;
}

.branch-pages .nav-menu li a {
  display: block;
  border: 2px solid transparent;
  padding: 5px 12px;
}

.branch-pages .nav-menu li:before {
  content: none;
}
@media (max-width: 1212px) {
  .branch-pages .nav-menu {
    margin-top: -20px;
  }
  .branch-pages .nav-menu li {
    flex-basis: 33%;
  }
}

@media (max-width: 767px) {
  .branch-pages .nav-menu li {
    flex-basis: 50%;
  }
}

.carousel-header,
.carousel-subheader {
  text-shadow: -1px 0px 0 white, 1px 1px 0 white, 2px 1px 0 white,
    3px 2px 0 white;
}

.carousel-subheader {
  text-transform: none;
}
#colophon .widget .mc4wp-form-fields {
  background-color: transparent;
}

.custom-social-footer {
  padding-right: 7px;
}

.site-footer .widget-title {
  margin-bottom: 22px;
}

.custom-social-footer img {
  max-width: 38px;
  opacity: 0.4;
}

.site-footer #mc4wp_submit {
  margin: 0;
  top: 25px;
}

.site-footer .mc-form {
  position: relative;
  margin-top: 0;
  padding: 0;
}

.widget .wpcf7-form input {
  line-height: 41px;
  height: 41px;
}

.gem-wrapbox-position-left {
  margin-right: 30px;
}

.p-reduced-opacity .vc_parallax-inner {
  opacity: 0.4;
}

.gem-video {
  max-width: 100%;
}
.gem-testimonials.size-small .gem-testimonial-image {
  display: none;
}

.gem-testimonials .gem-prev:after,
.gem-testimonials .gem-next:after {
  font-size: 40px !important;
}

.gem-testimonial-company{
  color: #5E7182;
}

h2,
.title-h2 {
  letter-spacing: -0.05rem;
}

#colophon .preloader {
  display: none !important;
}

#colophon .preloader + :not(iframe) {
  height: auto !important;
}

#colophon .preloader + * {
  opacity: 1;
}

@media (max-width: 768px) {
  .row .vc_images_carousel .vc_carousel-control.vc_right {
    margin-right: 0;
  }

  .row .vc_images_carousel .vc_carousel-control.vc_left {
    margin-left: -20px;
  }
}

.crbr-carousel-no {
  font-size: 120px;
  font-weight: 700;
  line-height: 110px;
  margin: 0;
  opacity: 0.3;
}

.crbr-carousel-title,
.crbr-carousel-subtitle {
  text-shadow: -1px 0px 0 #fff, 1px 1px 0 #fff, 2px 1px 0 #fff, 3px 2px 0 #fff;
}
.crbr-carousel-title {
  font-weight: 700;
  font-size: 26px;
  font-style: italic;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.1rem;
}

.crbr-carousel-subtitle {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.owl-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
  position: absolute;
  width: 40px;
  height: 40px;
  text-indent: -99999em;
}
.owl-carousel.sa_owl_theme .owl-nav .owl-prev {
  left: -20px;
}

.owl-carousel.sa_owl_theme .owl-nav .owl-next {
  right: -20px;
}

.owl-nav .owl-prev:before,
.owl-nav .owl-next:before {
  font-family: "revicons";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: 40px;
  line-height: 40px;
  text-indent: 0;
  text-align: center;
  transform: translateX(0);
  transition: 0.3s;
  opacity: 0;
}

.owl-carousel:hover .owl-nav .owl-prev:before,
.owl-carousel:hover .owl-nav .owl-next:before {
  transform: translateX(0);
  opacity: 1;
}

.owl-nav .owl-prev:before {
  content: "\e824";
  transform: translateX(-40px);
}
.owl-nav .owl-next:before {
  content: "\e825";
  transform: translateX(40px);
}

.inline-column {
  margin: 0px;
}

div.wpcf7 .ajax-loader {
  position: absolute;
  bottom: 0;
}
.neg-margin {
  margin-top: -60px;
  padding-bottom: 20px;
}

@media (max-width: 992px) {
  .neg-margin {
    margin-top: -50px;
    padding-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .col-md-4 {
    width: 25%;
  }

  .col-md-4:nth-child(2) {
    width: 50%;
  }
}

#site-header .site-title,
#site-header.fixed.shrink .site-title {
  padding: 15px 0;
}

#site-header .primary-navigation {
  padding-top: 45px;
}

#page {
  z-index: 1;
}

.header-background {
    z-index:8;
}

.top-area-background {
    display:none
}

@media (max-width: 1212px) {
  #site-header-wrapper {
    margin-top: 56px;
  }
  body #page:not(.vertical-header) #site-header.fixed {
    top: 56px;
  }

  .branch-menus {
    width: 100%;
  }

  .page-id-1645 #site-header-wrapper {
    margin-top: 0px;
  }

  .page-id-1645 #page:not(.vertical-header) #site-header.fixed {
    top: 0px;
  }
}
.branch-menus {
  text-align: left;
  position: fixed;
  z-index: 2;
  background-color: white;
  padding: 0;
}

#areas-menu {
  display: flex;
  flex-flow: row wrap;
}

#areas-menu,
#areas-menu li {
  padding: 0;
  margin: 0;
  list-style: none;
}

#areas-menu li {
  flex-basis: 33%;
  text-align: center;
}

#areas-menu li:not(.current-branch) a {
  color: #757575;
}
#areas-menu li a {
  display: block;
  font-size: 13px;
  padding: 2px 4px;
  border: 3px solid transparent;
}

.site-logo {
    min-height:158px;
}

@media (min-width: 1212px) {
  .branch-menus {
    text-align: right;
    position: fixed;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    right: 0;
    z-index: 2;
  }
  #areas-menu {
    justify-content: flex-end;
  }

  #areas-menu li {
    flex-basis: auto;
    text-align: left;
  }

  #areas-menu li a {
    display: block;
    font-size: 16px;
    padding: 4px 8px;
  }
}
.header-style-3 #primary-menu.no-responsive > li.menu-item-active,
.header-style-3 #primary-menu.no-responsive > li,
#site-header.fixed.shrink
  .header-style-3
  #primary-menu.no-responsive
  > li.menu-item-active {
  padding: 18px 1px;
}

 #site-header.fixed.shrink .header-style-3 #primary-menu.no-responsive > li > a {
  padding: 6px 8px;
/*background-color: #DD1378;
  border: 3px solid #DD1378;*/
} 

#site-header.fixed.shrink #primary-menu.no-responsive > li > a {
  padding-top: 6px;
  padding-bottom: 6px;
}

@media (max-width: 979px) {
#primary-navigation .menu-toggle, #perspective-menu-buttons .menu-toggle {
    display: inline-block;
}
}

.post-meta-conteiner {
display:none;
}