body.patterned {
  margin-top: 20px;
  background: white url(images/bg.gif);
  font-family: Arial, Helvetica, sans-serif;
}
a:active {
  color: #53534B;
  text-decoration: none;
}
a:link {
  color: #53534B;
  text-decoration: none;
}
a:visited {
  text-decoration: none;
  color: #53534B;
}
a:hover {
  text-decoration: none;
  color: #53534B;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
li {
  font: 12px Arial, Helvetica, sans-serif;
}
p  {
	font: 16px Arial, Helvetica, sans-serif;
	color:#000;
	margin-bottom:10px;
}

.wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 7px rgba(0,0,0,.5);
}
.header {
  padding-top: 10px;
  background-image:linear-gradient(to right, #2b63ae, #1856a6);
  border: solid 1px white;
  border-radius: 10px;
  box-shadow: 0 4px 3px rgb(0 0 0 / 40%);
}
.site-title {
  margin: 0;
  font: normal 80px 'PT Sans', sans-serif;
  line-height: 1;
  color: white;
  text-align: center;
  text-shadow: -5px 4px 6px rgb(0 0 0 / 50%)
}
.navbar {
  background-color: #71b31e;
  border-radius: 10px;
}
#mobile-menu {
  display: none;
}
.main-content {
  padding: 10px;
}
.welcome {
  font: bold 16px 'PT Sans', sans-serif;
  color: #1b4575;
}
.small-text {
  font: 10px Verdana, Geneva, sans-serif; 
  color:#333; 
  text-align:center; 
  padding:5px 0 0 0; 
  margin:0; 
  border-top:1px solid #333;
}

.align-center { text-align: center }
.align-justify { text-align: justify }

/* NAVBAR */

ul#menu {
  margin: 0 auto;
  list-style: none;
  padding: 10px;
  text-align: center;
}
ul#menu li {
  display: inline;
  font: 14px Arial, Helvetica, sans-serif;
  color: #FFF;
  padding: 1px 5px;
  border-left: 1px solid #FFF;
}
ul#menu li:first-child {
  border: 0;
}
ul#menu li a {
  color: #FFF;
  text-align: center;
  font-size: 13px;
}

/* Estilos Antigos */

.foto {
  float: left;
  padding-right: 5px;
  padding-bottom: 0px;
}
.linha {
  border-bottom-color: #009900;
  border-bottom-width: thin;
  position: relative;
}

.style2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}
.style9 {
  font-family: Arial, Helvetica, sans-serif;
}
.style10 {
  font-size: 11px
}
.style14 {
  color: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 5px;
}
.style15 {
	color: #2A5EA7;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}
.style16 {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}
.style17 {
  font-size: 11px;
  font-weight: bold;
}
.style18 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.style20 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #000000
}
.style21 {
  font-weight: bold
}
.style22 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: normal;
  border-width: 1px;
  border-style: solid;
  border-color: #339900;
}
.style23 {
  padding: 8px;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: normal;
  border-width: 1px;
  border-style: solid;
  border-color: #3C63A2;
}
.style24 {
  font-family: Arial, Helvetica, sans-serif;
  color: #265FAC;
  font-weight: bold;
}

.busca {
  margin: 5px 0 15px;
  text-align: center;
}
input {
  padding: 2px 7px;
}
.title {
  position: relative;
  width: 93%;
  background-color: #74B125;
  color: #fff;
  padding: 5px;
}
.title:after {
  content: "";
  position: absolute;
  top: 0;
  right: -15px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 15px;
  border-color: transparent transparent transparent #74b125;
}
.text {
  padding: 5px;
}
.col-left {
  width: 45%;
  float: left;
}
.col-right {
  width: 45%;
  float: right;
}
.box {
  border: solid 1px #ddd;
  margin: 4px 0;
}
.col-right .linha:nth-child(odd) {
  background-color: #F0FFF0
}

.hor-right {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 20px;
  height: 1px;
  background-color: #ddd;
}
.hor-left {
  position: absolute;
  top: 50%;
  left: -20px;
  width: 20px;
  height: 1px;
  background-color: #ddd;
}
.connect {
  position: absolute;
  top: 103%;
  right: -55px;
  width: 35px;
  height: 1px;
  background-color: #ddd;
}
.vert-down {
  position:absolute;
  top:50%;
  right:-20px;
  width:1px;
  height:54%;
  background-color:#ddd;
}
.vert-up {
  position:absolute;
  top:0;
  right:-20px;
  width:1px;
  height:50%;
  background-color:#ddd;
}
.col-right .linha:before {
  content: "";
  position:absolute;
  top:0;
  left:-20px;
  width:1px;
  height:104%;
  background-color:#ddd;
}
.col-right .linha:nth-child(2):before {
  content: "";
  position:absolute;
  top:50%;
  left:-20px;
  width:1px;
  height:54%;
  background-color:#ddd;
}
.col-right .linha:last-child:before {
  content: "";
  position:absolute;
  top:0;
  left:-20px;
  width:1px;
  height:50%;
  background-color:#ddd;
}
.voltar {
  font: 14px bold Arial, sans-serif;
  margin: 10px;
}
  .voltar a {
    color: green;
  }

.clear {
  clear: both;
}

.page-title {
  font-size: 20px;
  margin: 10px 0;
  color: #1957a7;
  text-align: center;
}

.style18 h1 { 
  margin-bottom: 10px;
  font-size: 28px;
}
.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flex-item-container {
  position: relative;
  width: 30%;
  margin-bottom: 10px;
  text-align: center;
  border: solid 5px #77b718;
  background-color: #e5e9ea;
}
.gallery-img {
  height: 150px;
}
.gallery-description {
  width: 100%;
  height: 52px;
  padding: 5px;
  box-sizing: border-box;
  color: #fff;
  background-color: rgb(114, 179, 25);
  font: 12px Arial, Helvetica, sans-serif;
  text-overflow: ellipsis;
}
.gallery-description a:link,
.gallery-description a:visited {
  color: #fff;
  text-decoration: none;
}

.img {
  width: 224px;
  height: 142px;
  overflow: hidden;
}
.img img {
  width: 100%;
  height: 100%;
}
.content img {
  max-width: 700px;
  padding: 20px;
  height: auto;
}

.encontros .flex-container {
  justify-content: center;
}

.encontros .flex-item-container:nth-child(even) {
  margin-left: 10px;
}

.encontros .img {
  width: auto;
  height: 154px;
}

.encontros .gallery-description {
  margin: 0;
  height: auto;
  padding: 10px;
}

.contato table {
  width: 50%;
  margin: 10px auto;
}
.contato label {
  display: block;
  text-align: left;
  margin-top: 10px;
}

.contato input, .contato textarea {
  width: 93%;
  width: -webkit-fill-available;
  margin-top: 4px;
  padding: 8px;
}

#validator {
  display: none;
}

#form1 .KT_tngtable {
  margin: 0 !important;
}

#form1 label {
  font-weight: bold;
  font-size: 14px;
  margin: 4px 0;
  display: block;
}

#form1 textarea {
  width: 90%;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 16px;
  padding: 6px;
}

@media screen and (max-width:500px) {

  .wrapper {
    width: auto;
  }
  body.patterned {
    margin-top: 10px;
  }
  #mobile-menu {
    display: block;
    width: 97%;
    padding: 10px;
    background-color: transparent;
    border: none;
    color: white;
  }
  ul#menu {
    display: none;
  }
  h1.site-title {
    font-size: 50px;
    margin-bottom: 8px;
  }
  .busca td.style10 {
    width: 100%;
  }
  input#busca {
    width: 130px;
  }
  aside.sidebar {
    margin: 0 auto;
  }
  form#form1 {
    padding-top: 5px;
  }
  .main-content.familia {
    padding-left: 0;
  }
  .col-right .linha {
    left: 10px;
  }
  .brasao img {
    width: 100%;
  }
  .content img {
    width: 100%;
    padding: 20px 0;
  }
  .flex-item-container {
    width: 100%;
  }
  .encontros .flex-item-container:nth-child(even) {
    margin-left: 0;
  }
  .contato table {
    width: 100% 
  }

}