* {text-decoration: none !important;}
html{ min-height: 100%;}
/*a, a:hover, a:-webkit-any-link { text-decoration:none !important; }*/
i{font-style: normal !important;}
body { margin: 0; min-height: inherit; font-family: 'Montserrat', sans-serif; color:#5c6062;}
.hero { position: relative; background: #E9EBED; z-index: 1; }
.hero img { display: block; }
.btn-branco{ background: #fff; color:#00a42e !important; font-size:18px; font-weight:500; border-radius: 0px; border:none; padding:15px 30px; transition: background linear 0.5s, color linear .5s; display: inline-block; text-align: right; letter-spacing: 2px;
    white-space: nowrap; }
.btn-branco:hover{ background: #00a42e; color:#fff !important; }

.btn-whatsapp{ float: left; background: #36ca48; font-size: 14px; color: #fff; border-radius: 20px; border:none; padding:23px 25px; transition: background linear 0.3s, color linear .3s; width: 165px; display: inline-block;  margin-left: 10px; vertical-align: middle; line-height: 35px;
    white-space: nowrap; }
.btn-whatsapp i{ margin-left: 5px; font-size: 27px; }    
.btn-whatsapp:hover{ background: #45af4f; color:#fff !important; }


.btn-azul{ background: #1F3972; color:#fff !important; font-size:16px; font-weight:700; border-radius: 30px; border:none; padding:15px 15px; transition: background linear 0.5s, color linear .5s;
    white-space: nowrap; }
.btn-azul:hover{ background: #fff; color:#1F3972 !important; }

.btn-preto{ background: #292E34; color:#fff !important; font-size:13px; font-weight:700; border-radius: 30px; border:1ox ; padding:15px 30px; transition: background linear 0.5s, color linear .5s;
    white-space: nowrap; }
.btn-preto:hover{ background: #fff; color:#1F3972 !important; }

.btn-verde{ background: #36ca48; color:#ffffff !important; font-size:18px; font-weight:500; border-radius: 0px; border:none; padding:15px 15px; transition: background linear 0.3s, color linear .3s; display: flex;     align-items: center; max-width: 250px; font-style: normal; line-height: 21px; }
.btn-verde div{ text-align: center; text-transform: uppercase; font-size: 14px; font-weight: 700;}
.btn-verde div b{ font-size:23px; font-weight: 700; text-transform: uppercase;  }
.btn-verde i { color: #ffffff; font-size: 27px; font-weight: 400; margin-left: 10px; }
.btn-verde:hover{ background: #45af4f; }

.btn-verdinho{ color:#fff !important; background: #00a42e; font-size:14px; font-weight:600; border:none; padding:15px 35px; transition: background linear 0.3s; text-transform: uppercase; white-space: nowrap; }
.btn-verdinho:hover { background: #008da7; }

.btn-vermelho-top{ background: transparent; color:#fff !important; border:1px solid #fff; font-size:14px; font-weight:400; border-radius: 40px; padding:5px 15px; transition: background linear 0.3s; margin-top: 10px;
    white-space: nowrap; }
.btn-vermelho-top:hover { color: #008da7 !important; border:1px solid #008da7; background: #fff; }

@media only screen and (max-width: 767px) {
	.btn-verde{
		padding: 10px 10px;
	}
}

.link-whats{ color: #5c6062; text-decoration: underline !important; }

h2.titulo{ color: #5c6062; font-size: 30px; }
p.subtitulo{ font-size: 14px; line-height: 180%; }

.fbranca{ color: #FFF !important; }
.fvermelha{ color: #5c6062 !important; }
.fverde{ color: #36ca48 !important; }
.fazul{ color: #008da7 !important; }
.fb{ font-weight: 700; }
.fl{ font-weight: 300; }
.fm{ font-weight: 500; }
.fh180{ line-height: 180%; }
.fh100{ line-height: 100%; }
.fh21{ line-height: 21px; }
.f14{ font-size: 14px !important; }
.f16{ font-size: 16px !important; }
.f18{ font-size: 18px !important; }
.f21{ font-size: 21px !important; }
.f32{ font-size: 32px !important; }
.f36{ font-size: 36px !important; }
.f40{ font-size: 40px !important; }
.f48{ font-size: 48px !important; }

.fundovermelho{ background: #5c6062; }
.fundocinza{ background: #efefef; }
.sombrainterna{-webkit-box-shadow: 0px 10px 14px -2px rgba(112,112,112,0.2); 
box-shadow: 0px 10px 14px -2px rgba(112,112,112,0.2);}

#topo{ position: relative; padding: 5px 0; font-size: 15px; color: #555659; vertical-align:middle; font-weight: 700; }
#topo i{ font-size: 18px; vertical-align:middle; }

#menu { position: relative; }

#topo.fundo-transparente{  background: #fff9ee; }
header.site-head { width: 100%; padding: 1px 0; color: #262C33; z-index: 10; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -o-transition: all 0.15s ease-out; transition: all 0.15s ease-out; }
.home header.site-head { -webkit-transition: background 0.15s ease-out; -moz-transition: background 0.15s ease-out; -o-transition: background 0.15s ease-out; transition: background 0.15s ease-out; }
header.site-head .divLogo{
  padding: 20px 0;
}
header.site-head a.logo { }

@media only screen and (max-width: 500px) {
  header.site-head a.logo img { height: 100px;  }
}
header.site-head nav { margin-top: 70px; float: right; }
header.site-head nav ul { margin: 0; padding: 0; list-style: none;  }
header.site-head nav ul.submenu {width: 100%; height: auto; padding: 0 10px;}
header.site-head nav li { position: relative; margin-left: 0px; float: left; padding:5px 17px; }
header.site-head div.btn { display: none; padding: 0px 25px; margin: 20px 10px; text-align: center; font-size: 0.8125em; line-height: 80px; }
header.site-head div.btn svg{
  width:40px; height: 40px; color:#5c6062; fill:#5c6062;
}
header.site-head.interna div.btn svg{
  width:40px; height: 40px; color:#fff; fill:#fff;
} 
header.site-head nav div.btn.active {  }
header.site-head nav a { display: block; padding: 0px 2px; position: relative; font-weight: 300; font-size:18px; text-decoration:none;}
header.site-head nav a,
header.site-head nav a:link,
header.site-head nav a:visited,
header.site-head nav a:active { text-transform: uppercase; color: #5c6062; background: transparent; border:1px solid transparent;  }
header.site-head.interna nav a,
header.site-head.interna nav a:link,
header.site-head.interna nav a:visited,
header.site-head.interna nav a:active { color: #fff; background: transparent; border:1px solid transparent;  }

header.site-head nav a:hover, header.site-head nav a.active { border-radius:0px; background: #30a6c2; color: #ffffff; }
#menu .itens{ font-size: 12px; color: #5c6062; margin: 6px 0; }
#menu .itens div{ display: inline; }
#menu .itens i{ color: #1F3972; font-size: 15px; }
#menu .itens i.m { font-size: 20px; }
#menu .itens b{ font-size: 16px; }
#menu .itens a{ color: #1F3972; }
@media only screen and (max-width: 1200px) {
  .content { padding-left: 40px; padding-right: 40px; }
  section header { padding: 0; }
  header.site-head .divLogo {padding: 0; margin-top: 15px; margin-bottom: 10px; }
  header.site-head .logo{ margin-left: 10px; }
  header.site-head nav { margin-top: 0; right: 0; top: 0; }
  header.site-head div.btn { display: block; float:right; cursor: pointer; }
  header.site-head nav ul.principal { display: none; position: absolute; right:15px; top: 85px; z-index: 999; width:230px;
  border:none;
  border-radius:0px;
  background: #5c6062;    }
  header.site-head nav a,
  header.site-head nav a:link,
  header.site-head nav a:visited,
  header.site-head nav a:active { color: #FFF; background: transparent; border:none;  }

  header.site-head nav li { margin: 0; float: none; text-align: left; }
  header.site-head nav a:hover, header.site-head nav a.active {  }
}

#topo-interna{ height: 360px; background: url(../img/topo-interna.jpg) no-repeat center bottom / cover; display: none; }

.titulo h2{ color: #30a6c2; font-size: 36px; font-weight: 600; letter-spacing: 3px; padding:0; text-transform: uppercase; }
.titulo h2.branco{ color: #fff; font-size: 36px; letter-spacing: 3px;}
.titulo p{ font-size: 16px; font-weight: 300; line-height: 20px; margin-top: 20px; }
.titulo p.branco{ font-size: 24px; font-weight: 400; line-height: 24px; letter-spacing: 2px; text-transform: uppercase; margin-top: 40px; }


@media only screen and (max-width: 400px) {
  .titulo h2{ font-size: 28px; }
}

/* Rodapé */
#rodape{ background: #e6e6e6; border-top: 5px solid #00a42e; color: #30a6c2; font-weight: 300; font-size: 14px;}

#rodape .contato{ position: relative; margin-left: 30px; }
#rodape .contato b{ font-size: 17px; font-weight: 600;   } 
#rodape .contato:before{  position: absolute; left:-30px; top:0px;
  font-family: "Flaticon"; content: "\f106"; font-size: 27px; color: #30a6c2; }

#rodape .atendimento{ position: relative; margin-left: 30px; }
#rodape .atendimento:before{  position: absolute; left:-30px; top:0px;
  font-family: "Flaticon"; content: "\f101"; font-size: 27px; color: #30a6c2; }
#rodape .atendimento b{ font-size:16px; }
#rodape .social{ line-height: 17px; font-size: 18px; text-transform: uppercase; letter-spacing: 2px; }
#rodape .social i{ font-size: 40px; color: #30a6c2; }
#rodape .social a{ display: inline; }

#copyright{ color: #30a6c2; background: transparent; padding:20px 0; font-size: 10px; }

/* Index */
/*Categorias*/
#categorias .categorias a{ padding: 5px 25px; vertical-align: middle; text-transform: uppercase; margin-right: 15px; margin-bottom: 10px; display: inline-block;
 background: transparent; color:#30a6c2 !important; background: #fff; font-size:14px; font-weight:400; border-radius: 0px; border:2px solid #30a6c2; transition: background linear 0.3s; }
#categorias .categorias a:hover, #categorias .categorias a.active { color: #fff !important; border:2px solid #30a6c2; background: #30a6c2;  }


/* produtoindex*/
#listaprodutos{ background: url(../img/fundo-1.jpg) no-repeat top left, url(../img/fundo-2.jpg) no-repeat center right, url(../img/fundo-3.jpg) no-repeat bottom left; }

#listaprodutos .quadro{ position: relative; background: #fff; }
#listaprodutos .quadro .image{ height: 360px; width: 100%; position: relative; z-index: 10; }
#listaprodutos .quadro .marca{ position: absolute; right:0; top:6px; background: #ffffff; color: #30a6c2; font-size: 10px; padding: 5px 10px; line-height: 130%; }
#listaprodutos .quadro .marca b{ font-weight: 500; text-transform: uppercase; color: #5c6062; }
#listaprodutos .quadro .tipo{ background: #ededed; color: #5c6062; font-size:11px; font-weight: 700; font-style: italic;  }
@media only screen and (max-width: 1200px) {
  #listaprodutos { background: none; }
  #listaprodutos .quadro .image{ height: 300px; }
}

@media only screen and (max-width: 768px) {
  #listaprodutos .quadro .image{ height: 200px; }
}

@media only screen and (max-width: 578px) {
  #listaprodutos .quadro .image{ height: 300px; }
}

#listaprodutos .quadro .sobre{ position: absolute; width: 100%; height: 100%; line-height: 187px; color: #ffffff; font-size: 16px; opacity: 0; background: rgba(0, 164, 46, .55); transition: opacity .4s ease; display: table; z-index: 20; }
#listaprodutos .quadro .sobre .mais{ display: table-cell;
    vertical-align: middle;
    text-align: center; font-size: 120px; font-weight: 300; }
#listaprodutos .quadro h4{ color: #5c6062; font-size: 18px; font-weight: 700; line-height: 22px; text-transform: uppercase; padding: 0px; padding-left: 5px; margin-bottom: 0; margin-top: 5px;  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden; }
#listaprodutos .quadro h5{ color: #5c6062; font-size: 18px; font-weight: 500; padding: 0px; margin:0; height: 21px;  padding-left: 5px; }
#listaprodutos .quadro h5 span{ color: #5c6062; font-size: 18px; font-weight: 400; padding: 0px; }
#listaprodutos .quadro:hover .sobre{ opacity: 1; }

/* Sobre */
#sobre{ background: url(../img/fundo-sobre.jpg) no-repeat center / cover; }
#sobre .quadro{ background: rgba(62, 62, 65, 0.6); border-bottom-left-radius: 50px; color: #fff; font-size: 24px; font-weight: 500; line-height: 25px; text-align: justify; }
#sobre .quadro h4{ font-size: 48px; color: #fff; line-height: 67px; font-weight: 600; }

/* listablog*/
#listablog .quadro{ background: #FFFFFF; }
#listablog .quadro .image{ height: 218px; width: 100%; margin-bottom: 10px; position: relative; }
#listablog .quadro .image .sobre{ position: absolute; width: 100%; height: 100%; line-height: 187px; color: #ffffff; font-size: 16px; opacity: 0; background: rgba(0, 164, 46, .55); transition: opacity .4s ease; display: table; }
#listablog .quadro .image .sobre .mais{ display: table-cell; vertical-align: middle; font-size: 120px; font-weight: 300; text-align: center; }
#listablog .quadro h4{ color: #30a6c2; min-height: 42px; font-size: 16px; font-weight: 400; padding: 0px; margin-bottom: 0; }
#listablog .quadro:hover .image .sobre{ opacity: 1; }

/* rodape-contato */
#rodape-contato{ background: #e6e6e6; border-top: 5px solid #00a42e; }
#rodape-contato .texto{ height: 100%; color: #fff; line-height: 43px; font-size: 30px; font-style: italic; }
#rodape-contato .texto b{ font-size: 30px; font-style: normal; }
#rodape-contato .texto p{ color: #fff; font-size: 24px; font-style: italic; line-height: 28px; }

#topo h1{ font-size: 60px; font-weight: 700; color: #5c6062; }

/* conteudo */
/* Pagina sobre */
#conteudo .sobre p{ text-align: justify; color: #5c6062; font-size: 16px; font-weight: 500; }
#conteudo .sobre .quadro{ background: #FFFFFF; }
#conteudo .sobre .quadro .image{ height: 220px; width: 100%; margin-bottom: 10px; position: relative; }
#conteudo .sobre .quadro .image .sobre{ position: absolute; width: 100%; height: 100%; line-height: 187px; color: #ffffff; font-size: 16px; opacity: 0; background: rgba(0, 164, 46, .55); transition: opacity .4s ease; display: table; }
#conteudo .sobre .quadro .image .sobre .mais{ display: table-cell; vertical-align: middle; font-size: 120px; font-weight: 300; text-align: center; }
#conteudo .sobre .quadro h4{ color: #30a6c2; min-height: 42px; font-size: 16px; font-weight: 400; padding: 0px; margin-bottom: 0; }
#conteudo .sobre .quadro:hover .image .sobre{ opacity: 1; }


/* blog */
#conteudo.blog .categorias a{ padding: 5px 15px; vertical-align: middle; text-transform: uppercase; margin-right: 10px; margin-bottom: 10px; display: inline-block;
 background: transparent; color:#5c6062 !important; background: #fff; font-size:14px; font-weight:700; border-radius: 40px; border:2px solid #5c6062; transition: background linear 0.3s; }
#conteudo.blog .categorias a:hover, #conteudo.blog .categorias a.active { color: #fff !important; border:2px solid #5c6062; background: #5c6062;  }

#conteudo.blog .image{
  width: 100%;
  height: 270px;
  display: block;
  margin-bottom: 15px;
  border-radius: 15px;
}
#conteudo.blog .texto .titulo{ color: #5c6062; font-size: 18px; text-transform: uppercase; font-weight: 700; text-align:center; display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden; margin-bottom:10px;  }
#conteudo.blog .texto .subtitulo{ color: #5c6062; font-size: 13px; font-weight: 300; font-style: italic; text-align:justify; display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;  }
#conteudo.blog .publicado{ font-size: 9px; font-style: italic; font-weight: 300; }
#conteudo.blog .descritivo img{ max-width: 100%; max-height: 300px; margin: 0 20px 20px 0; float: left; }
#conteudo.blog .descritivo p{ font-size: 14px; font-weight: 300; text-align: justify;  }


/* a relicario */
#conteudo.sobre .item{ position: relative; margin-left: 35px; margin-bottom: 10px; }
#conteudo.sobre .item:before{  position: absolute; left:-35px; top:0px;
  font-family: "Flaticon"; content: "\f118"; font-size: 30px; color: #5c6062; }
#conteudo.sobre .item.uma:before{ top: -10px; }  

#conteudo.relicario .item-esquerdo{ background: #fff; color:#5c6062 !important; font-size:20px; font-weight:400; border-radius: 20px; border:2px solid #5c6062; padding:25px 40px; transition: background linear 0.3s, color linear .3s; display: flex;
    align-items: center;  font-style: normal; line-height: 21px; }
#conteudo.relicario .item-esquerdo div{ text-align: center; font-style: italic; }
#conteudo.relicario .item-esquerdo div b{ font-style: normal; }
#conteudo.relicario .item-esquerdo i { color: #5c6062; font-size: 55px; font-weight: 500; margin-right: 30px; }

#conteudo.relicario .carousel {
  margin: 50px auto;
  padding: 0 70px;
}
#conteudo.relicario .carousel .carousel-inner{
  border:2px solid #5c6062;
  border-radius: 40px;
}
#conteudo.relicario .carousel .item {
  color: #5c6062;
  font-size: 14px;
  text-align: center;
  overflow: hidden;
  min-height: 240px;
}
#conteudo.relicario .carousel .item .img-box {
  margin: 0 auto;
  padding: 5px;
  border-radius: 50%;
}
#conteudo.relicario .carousel .item .img-box i{
  font-size: 68px;
  color: #5c6062;
}
#conteudo.relicario .carousel .testimonial {
  padding: 30px 50px 10px;
}
#conteudo.relicario .carousel .carousel-control {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  top: 50%;
  background: none;
}
.carousel-control i {
  font-size: 66px;
  line-height: 42px;
  position: absolute;
  display: inline-block;
  color: #5c6062;
}
#conteudo.relicario .carousel .carousel-indicators {
  bottom: -40px;
}
#conteudo.relicario .carousel-indicators li, #conteudo.relicario .carousel-indicators li.active {
  width: 10px;
  height: 10px;
  margin: 1px 3px;
  border-radius: 50%;
}
#conteudo.relicario .carousel-indicators li { 
  background: #999;
  border-color: transparent;
  box-shadow: inset 0 2px 1px rgba(0,0,0,0.2);
}
#conteudo.relicario .carousel-indicators li.active {  
  background: #555;   
  box-shadow: inset 0 2px 1px rgba(0,0,0,0.2);
}


@media only screen and (max-width: 767px) {
  #conteudo.relicario .carousel {
    margin: 0px auto;
    padding: 0 0px;
  }
}



/* Serviços */
#conteudo.servico .titulo i{ color: #fff; border:none; border-radius:50%; font-size: 110px; padding: 25px 35px; line-height: 180px; margin-bottom: 100px; background: #5c6062; }
#conteudo.servico .titulo h2{ margin-top: 50px; }

/* Conteudo contato */
#conteudo.contato { font-size: 16px; font-weight: 300; }
#conteudo.contato.outro span{ color:#5c6062; font-size:21px; font-weight: 500; }
#conteudo.contato .endereco{ position: relative; margin-left: 30px; margin-bottom: 10px; }
#conteudo.contato .endereco:before{  position: absolute; left:-40px; top:-10px;
  font-family: "Flaticon"; content: "\f113"; font-size: 35px; color: #5c6062; }
#conteudo.contato .endereco a{ color: #5c6062; font-size: 10px; }
#conteudo.contato .endereco a:hover{ text-decoration: underline !important; }

#conteudo.contato .horario{ position: relative; margin-left: 30px; }
#conteudo.contato .horario:before{  position: absolute; left:-40px; top:-10px;
  font-family: "Flaticon"; content: "\f11d"; font-size: 35px; color: #5c6062; }

#conteudo.contato .atendimento{ position: relative; margin-left: 30px; }
#conteudo.contato .atendimento:before{  position: absolute; left:-40px; top:-10px;
  font-family: "Flaticon"; content: "\f112"; font-size: 35px; color: #5c6062; }
#conteudo.contato .atendimento b{ font-size:16px; }
#conteudo.contato .social a{ color: #5c6062; font-size: 16px; font-weight: 400;  }
#conteudo.contato .social i{ font-size: 30px; color: #5c6062; }

#breadcumb{ background: #d6d3cc; color: #5c6062; font-size: 14px; border-top:2px solid #5c6062; }
#breadcumb a{ color: #5c6062; font-weight: 300; }
#breadcumb a:hover{ text-decoration: underline !important; }
#breadcumb b{ font-weight: 600; }

/* produtos */
#topoproduto{ background: url(../img/topo-produto.jpg) no-repeat center top; }
#topoproduto .centro{ margin:0 auto; text-align: center; color: #30a6c2; margin-top: 60px; line-height: 150%; font-size: 37px; padding: 0 5px; }

#produto h1.nome{ font-size: 30px; color: #ffffff; line-height: 36px; font-weight: 700; background: #30a6c2; padding:10px 20px; }
#produto h3{ font-size: 28px; color: #5c6062; font-weight: 700; }


#produto .quadro-valor{ border: 1px solid #30a6c2; margin: 0px; padding:20px; color: #5c6062; font-size: 22px; font-weight: 400; line-height: 26px; }
#produto .quadro-valor b{ font-size: 28px; font-weight: 700; line-height: 33px; }

@media only screen and (max-width: 500px) {
    #produto .quadro-valor{ padding: 5px; font-size: 18px; line-height: 26px; }
    #produto .quadro-valor b{ font-size: 24px; line-height: 33px; }
    #produto .quadro-valor .col-6{ min-width: 180px; }
}
#produto .marca{ color: #30a6c2; font-size: 12px; font-weight: 700; font-style: italic; line-height: 15px; }
#produto .marca b{ color: #5c6062; font-size: 24px; line-height: 29px; font-weight: 700; font-style: normal; }

#produto .descricao { color: #5c6062; font-size: 12px; font-weight: 300; line-height: 15px; text-align: justify; }
#produto .descricao b{ color: #5c6062; font-size: 14px; font-weight: 500; line-height: 17px; }

#genealogia{ background: #f7f5f2 url(../img/fundo-produto.jpg) no-repeat left center; }
#genealogia h2{ color: #00a42e; text-transform: uppercase; font-size: 36px; font-weight: 700; line-height: 44px; }
#genealogia h2 div{
   display: flex; flex-basis: 100%; align-items: center; width: 450px; text-align: center; margin: 0 auto;
}
#genealogia h2 div::before{
  content: "";
  flex-grow: 1;
  background: #00a42e;
  height: 3px;
  width: 70px; margin-right: 15px;
}
#genealogia h2 div::after{
  content: "";
  flex-grow: 1;
  background: #00a42e;
  height: 3px;
  width: 70px; margin-left : 15px;
}

@media only screen and (max-width: 500px) {
  #genealogia h2{
    font-size: 25px;
    width: 100%;
  }
  #genealogia h2 div{
    width: auto;
    margin:0 auto;
  }
}
@media only screen and (max-width: 1200px) {
  #genealogia{ 
    background: #f7f5f2;
  }
}


#familyTree *:before,
#familyTree *:after {
  content: "";
  position: absolute;
}
#familyTree [class^="card"],
#familyTree .pair,
#familyTree .generation {
  position: relative;
}
#familyTree .generation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20px;
}
#familyTree .generation .pair {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-negative: 1;
  flex-shrink: 1;
  -ms-flex-preferred-size: 0%;
  flex-basis: 0%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#familyTree .generation:last-of-type {
  margin-bottom: 0;
}
#familyTree span{ font-size: 12px; font-weight: 700; font-style: italic; }
#familyTree [class^="card"] {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-negative: 1;
  flex-shrink: 1;
  -ms-flex-preferred-size: 0%;
  flex-basis: 0%;
  padding: 10px;
  border-radius: 3px;
  margin: 10px;
  color: #fff;
  font-size: 18px; line-height: 22px; font-weight: 700;
}
#familyTree .card-m {
  background-color: #2a8fa0;
}
#familyTree .card-f {
  background-color: #2a8fa0;
}
#familyTree .pair:after {
  width: calc(50% - 2px);
  border: 2px solid #c6d1cb;
  border-top: 0;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  right: 0;
  left: 0;
  margin: auto;
  top: calc(100% + 20px / 2 - 3px);
  height: 3px;
}
#familyTree [class^="card"]:before, #familyTree [class^="card"]:after {
  right: 0;
  left: 0;
  width: 0;
  margin: auto;
  border-left: 2px solid #c6d1cb;
  height: calc(10px + 20px / 2);
}
#familyTree [class^="card"]:before {
  bottom: 100%;
}
#familyTree [class^="card"]:after {
  top: 100%;
}
#familyTree #grandParents [class^="card"]:before,
#familyTree #child [class^="card"]:after {
  border: 0;
  opacity: 0;
}

@media screen and (max-width: 700px) {
  #familyTree #grandParents:before, #familyTree #grandParents:after {
    border-top: 2px solid #c6d1cb;
    height: calc(50% + 20px);
    width: 10px;
    top: 50%;
  }
  #familyTree #grandParents:before {
    opacity: 1;
    border-left: 2px solid #c6d1cb;
    right: calc(100% + 3px);
    border-top-left-radius: 3px;
  }
  #familyTree #grandParents:after {
    border-right: 2px solid #c6d1cb;
    left: calc(100% + 3px);
    border-top-right-radius: 3px;
  }
  #familyTree #grandParents .pair {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #familyTree #grandParents .pair:after {
    border: 0;
  }
  #familyTree #grandParents [class^="card"]:before {
    border-bottom: 2px solid #c6d1cb !important;
    width: 10px;
    height: 0;
  }
  #familyTree #grandParents [class^="card"]:after {
    width: calc(3px + 10px);
    height: calc(50% + 10px + 3px * 2);
  }
  #familyTree #grandParents [class^="card"]:first-child:before {
    top: 50%;
    bottom: auto;
  }
  #familyTree #grandParents [class^="card"]:first-child:after {
    border-top: 2px solid #c6d1cb;
    top: 50%;
    bottom: auto;
  }
  #familyTree #grandParents [class^="card"]:last-child:before {
    bottom: 50%;
    top: auto;
  }
  #familyTree #grandParents [class^="card"]:last-child:last-child:after {
    border-bottom: 2px solid #c6d1cb;
    bottom: 50%;
    top: auto;
  }
  #familyTree #grandParents .pair:first-child [class^="card"]:before {
    left: -10px;
    right: auto;
  }
  #familyTree #grandParents .pair:first-child [class^="card"]:after {
    left: auto;
    right: 100%;
  }
  #familyTree #grandParents .pair:first-child [class^="card"]:first-child:after {
    border-top-left-radius: 3px;
  }
  #familyTree #grandParents .pair:first-child [class^="card"]:last-child:after {
    border-bottom-left-radius: 3px;
  }
  #familyTree #grandParents .pair:last-child [class^="card"]:before {
    right: -10px;
    left: auto;
  }
  #familyTree #grandParents .pair:last-child [class^="card"]:after {
    left: 100%;
    right: auto;
    border-left: 0;
    border-right: 2px solid #c6d1cb;
  }
  #familyTree #grandParents .pair:last-child [class^="card"]:first-child:after {
    border-top-right-radius: 3px;
  }
  #familyTree #grandParents .pair:last-child [class^="card"]:last-child:after {
    border-bottom-right-radius: 3px;
  }

  #familyTree #parents [class^="card"]:before {
    border-bottom: 2px solid #c6d1cb;
    width: calc(10px * 2 + 3px);
    bottom: 50%;
    height: calc(50% + 10px);
  }
  #familyTree #parents [class^="card"]:first-child:before {
    right: 100%;
    left: auto;
    border-bottom-left-radius: 3px;
  }
  #familyTree #parents [class^="card"]:last-child:before {
    border-left: 0;
    border-right: 2px solid #c6d1cb;
    left: 100%;
    border-bottom-right-radius: 3px;
  }
}
@media screen and (max-width: 400px) {
  #familyTree #grandParents {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #familyTree #grandParents:before {
    top: 25%;
    height: calc(75% + 20px);
  }
  #familyTree #grandParents:after {
    top: 75%;
    height: calc(25% + 20px);
  }

  #familyTree #parents:after {
    border-left: 2px solid #c6d1cb;
    border-top: 2px solid #c6d1cb;
    border-top-left-radius: 3px;
    height: calc(50% + 20px);
    width: 10px;
    right: calc(100% + 3px);
    top: 50%;
  }
  #familyTree #parents .pair {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #familyTree #parents .pair:after {
    border: 0;
    height: 0;
    opacity: 0;
  }
  #familyTree #parents [class^="card"]:after {
    right: 100%;
    left: auto;
    width: calc(3px + 10px);
  }
  #familyTree #parents [class^="card"]:first-child:before {
    height: 90%;
    bottom: 60%;
  }
  #familyTree #parents [class^="card"]:first-child:after {
    border-top: 2px solid #c6d1cb;
    height: calc(40% + 10px);
    top: 60%;
    border-top-left-radius: 3px;
  }
  #familyTree #parents [class^="card"]:last-child:before {
    height: calc(150% + 10px* 3);
  }
  #familyTree #parents [class^="card"]:last-child:after {
    border-bottom: 2px solid #c6d1cb;
    height: calc(50% + 10px);
    bottom: 50%;
    top: auto;
    border-bottom-left-radius: 3px;
  }

  #familyTree #child:before {
    border-left: 2px solid #c6d1cb;
    border-bottom: 2px solid #c6d1cb;
    border-bottom-left-radius: 3px;
    height: 100%;
    bottom: 50%;
    right: calc(100% - 10px);
    left: auto;
    width: calc(3px + 10px * 2);
  }
  #familyTree #child [class^="card"]:before {
    border: 0;
    height: 0;
    opacity: 0;
  }
}

#modalProposta .modal-content{ background: #fff url(../img/passaro.jpg) no-repeat bottom right; background-size: 30%; }