/*!
 * # CF7 Responsive two column form
 * http://www.wpsnippet.com/creating-responsive-two-column-form-using-contact-form-7/
 *
 */

/*******************************
        responsive-form
*******************************/

#responsive-form {
	max-width: 1200px

/*-- change this to get your desired form width --*/;
	margin: 0 auto;
	width: 100%;
}

.form-row {
	width: 100%;
}

.column-half, .column-full {
	float: left;
	position: relative;
	padding: 0.65rem;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

#responsive-form > div:nth-child(5) > div > span.wpcf7-form-control-wrap.opt-in > span > span {
	margin-left: 0;
	margin-bottom: 1em;
}

#responsive-form h2 {
	line-height: 1.2em;
    margin: 1.2em 0 1.2em;
}

#responsive-form input,
#responsive-form select {
	margin-top: .5em;
}

/**---------------- Media query ----------------**/

@media only screen and (min-width: 48em) {

.column-half {
	width: 50%;
	}
}

/*******************************
         Site Overrides
*******************************/

select.wpcf7-form-control.wpcf7-select {
	height: 47px;
	width: 100%;
}

input[type=date],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
	color: #666666;
	background-color: #fafafa;
	background: #fafafa;
	border: 1px solid  #cccccc;
	padding: 10px 15px;
	box-sizing: border-box;
	max-width: 100%;
	border-radius: 5px !important;
	width: 100% !important;
}

input[type=date] {
	padding: 9px 15px;
}

select.wpcf7-select {
	padding: 10px 15px;
	height: 47px !important;
}

span.wpcf7-list-item {
	display: block;
}

/* CSS Grid Form */

#ficha-inscricao {
	text-transform: uppercase;
}

#ficha-inscricao span.label {
	text-transform: none;
	font-weight: 700;
}

#ficha-inscricao span.entry-email {
	text-transform: none;
}

.fi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 10px;
  background-color: #fff;
  color: #444;
  grid-auto-rows: 2em;
}

.fi-grid > [class*="row"] {
	border-bottom: 1px solid #929292;
}

.box {
  background-color: #444;
  color: #fff;
  border-radius: 5px;
  padding: 20px;
  font-size: 150%;
}

.row-1-2 {
  grid-column: auto / span 2;
}

.row-1-3 {
  grid-column: auto / span 3;
}

.row-1-4 {
  grid-column: auto / span 4;
}

.row-1-5 {
  grid-column: auto / span 5;
}

.row-1-6 {
  grid-column: auto / span 6;
}

.col-1-3 {
  grid-row: auto / span 3;
}

.fi-grid.fi-grid-documentos,
.fi-grid.fi-grid-assinaturas {
    margin-bottom: 1.5em;
}

.fi-grid.fi-grid-referencias {
    margin: 3em 0;
}

.fi-grid.fi-grid-assinaturas.rgpd {
    margin-bottom: 3em;
}

#ficha-inscricao > div.fi-grid.fi-grid-assinaturas.rgpd > div.row-1-6.rgpd > p > span {
		font-size: .72em;
}
