html,
body {
  height: 100%;
}
body {
  font-family: "Lato", sans-serif;
}
body.scroll {
  overflow-y: hidden;
}
::-moz-selection {
  color: white;
  background: #249103;
}
::selection {
  color: white;
  background: #249103;
}
a {
  transition: all 0.35s;
}
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}
section {
  padding-top: 60px;
}
p {
  color: #2e2e2e;
  font-size: 14px;
  margin-bottom: 30px;
}
h4 {
  color: #2e2e2e;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 400;
}
h5 {
  color: #2e2e2e;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
}
h6 {
  color: #8e0000;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
}

.navbar-right {
  display: flex;
  align-items: center;
}
.navbar-default {
  background: white;
  border: none;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
  height: 90px;
}
.navbar-default a {
  color: #8e0000 !important;
  text-transform: uppercase;
  font-size: 14px;
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}
.navbar-default a:hover {
  color: #249103 !important;
}
.navbar-default a.active {
  color: #249103 !important;
}
.navbar-default p {
  float: right;
}
.navbar-default .tel {
  color: #249103;
  font-size: 18px;
  margin-left: 40px;
}
.navbar-default .tel span {
  font-size: 14px;
}
.navbar-default .tel i {
  margin-right: 5px;
}
.navbar-default .navbar-brand {
  padding-top: 20px !important;
}
header {
  width: 100%;
  height: 655px;
  background-size: cover !important;
  position: relative;
}
header h1 {
  color: #8e0000;
  text-align: center;
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 900;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
header .mask {
  width: 100%;
  height: 79px;
  background: url(../img/mask-header.png) no-repeat center center;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 4;
}
.titulo {
  position: relative;
  margin-bottom: 20px;
}
.titulo h3 {
  color: #8e0000;
  font-size: 25px;
  text-transform: uppercase;
  margin: 0;
}
.titulo h2 {
  color: #8e0000;
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 900;
  margin: 0;
}
.titulo:after {
  content: "";
  width: 70px;
  height: 2px;
  background: #249103;
  position: absolute;
  left: 0;
  bottom: -5px;
}
.itemBox {
  padding: 0;
}
.itemBox .bg {
  background-size: cover !important;
  height: 175px;
  position: relative;
}
.itemBox .bg .hover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(26, 161, 25, 0.8);
  transition: all 0.35s;
  opacity: 0;
}
.itemBox .bg .hover span {
  position: absolute;
  color: white;
  font-size: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.itemBox:hover .bg .hover {
  opacity: 1;
}
.galeria {
  margin-top: -150px;
  position: relative;
  z-index: 5;
}
.servicos {
  background: #dcfcdc;
  margin-top: 105px;
  padding-bottom: 60px;
  position: relative;
}
.servicos .imagem {
  background: url(../img/ft-servicos.jpg) no-repeat center center;
  background-size: cover;
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  left: 0;
}
#accordion {
  margin-top: 30px;
}
.panel-default > .panel-heading {
  background: none;
  border: none;
}
.panel-default > .panel-heading a {
  color: #8e0000;
  font-weight: 700;
  text-transform: uppercase;
}
.panel-default > .panel-heading a.collapsed {
  color: #249103 !important;
}
.panel-default > .panel-heading a.corDown {
  color: #249103;
}
.panel-default {
  border: none;
}
.panel {
  background: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border: none;
}
.panel-body {
  padding-top: 0;
}
.btExame {
  display: block;
  position: relative;
  font-size: 14px;
  color: #249103;
  text-transform: uppercase;
  padding: 10px 15px;
  border-bottom: 1px solid #c2c2c2;
}
.btExame:before {
  content: "\f0da";
  position: absolute;
  font-family: FontAwesome;
  color: #249103;
  font-size: 16px;
  right: 15px;
  top: 9px;
  transition: all 0.35s;
}
.btExame:after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background: #8e0000;
  bottom: -1px;
  left: 0;
  transition: all 0.35s;
}
.btExame:hover {
  color: #8e0000;
}
.btExame:hover:before {
  color: #8e0000;
}
.btExame:hover:after {
  width: 100%;
}
.btExame.up {
  color: #8e0000;
  font-weight: 700;
}
.btExame.up:before {
  color: #8e0000;
}
.btExame.up:after {
  width: 100%;
}
#contato {
  margin-top: 40px;
}
#mapa {
  width: 100%;
  height: 370px;
  margin-top: 55px;
}
footer {
  background: #249103;
  padding: 20px;
}
footer .copyright {
  color: white;
  text-transform: uppercase;
  font-size: 12px;
}
footer .marcaAlfama {
  text-align: right;
}
.logo {
  -webkit-perspective: 250px;
  perspective: 250px;
  display: inline-block;
}
.logo span {
  display: inline-block;
}
.bar1,
.bar2,
.bar3 {
  width: 25px;
  height: 3px;
  background-color: #249103;
  margin: 6px 0;
  transition: 0.4s;
}
.change {
  right: 10px !important;
  top: 10px !important;
}
.change .bar1,
.change .bar2,
.change .bar3 {
  background: white;
}
.change p {
  color: white;
}
.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-5px, 6px);
  transform: rotate(-45deg) translate(-5px, 6px);
}
.change .bar2 {
  opacity: 0;
}
.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-7px, -8px);
  transform: rotate(45deg) translate(-7px, -8px);
}
.btMenuXs {
  position: fixed;
  right: 25px;
  top: 30px;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.35s;
}
.btMenuXs.down {
  top: 48px;
}
.btMenuXs.up {
  left: 20px;
}
.btMenuXs .barras {
  float: left;
}
.btMenuXs p {
  float: left;
  margin-left: 10px;
  margin-top: 7px;
  font-weight: 700;
  transition: all 0.35s;
}
.overlay {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  background: rgba(36, 145, 3, 0.9);
  overflow-y: hidden;
  transition: 0.3s;
}
.overlay-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translate(0, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.overlay-content ul li {
  position: relative;
}
.overlay a {
  padding: 15px;
  text-decoration: none;
  font-size: 25px;
  color: white;
  display: block;
  transition: 0.3s;
  text-transform: uppercase;
  position: relative;
  text-align: center;
}
.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}
.closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px !important;
}
#menuXs {
  right: -100%;
}
#menuXs.up {
  right: 0;
}
@media only screen and (max-width: 768px) {
  .galeria {
    margin-top: 0;
  }
  footer .copyright {
    text-align: center;
    margin-bottom: 20px;
  }
  footer .marcaAlfama {
    text-align: center;
  }
}
