/*
Theme Name:     Gridlove Child
Theme URI:      https://mekshq.com/theme/gridlove
Description:    Child theme for Gridlove theme
Author:         meks
Author URI:     https://mekshq.com
Template:       gridlove
Version:        0.1.0
*/

/**
* VARIABLES
**/
:root {
	--color-blue: #1c6eb2;
	--color-green: #13b77b;
	--color-purple: #7d3896;
	--color-yellow: #f9ec00;
}

.vice-lider {
    width: 200px;
    height: auto;
}

/* Muda a cor da pílula dos tipos de publicação (Mandato) */
.gridlove-cat--tipo {
	background-color: #1c6eb2;
}

/**
* Back to top
**/
button.back-to-top {
	background-color: #13b77b;
}

/**
* Diminui opacidade do overlay das galerias
**/
.gridlove-post-d .entry-image a:after,
.entry-overlay-wrapper .entry-image:after {
	background: rgba(0, 0, 0, 0.2);
}

/**
* Reestiliza o grid de galerias
**/
.gallery {
	justify-content: flex-start;
	gap: 5px;
}

.gallery-columns-3 .gallery-item {
	max-width: 100%;
	flex: 0 0 100%;
	padding: 0;
}

/**
* Redes sociais Footer
**/
.gridlove-soc-menu li a:before,
.gridlove-soc-responsive-menu a:before {
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	line-height: 1;
	font-size: 15px;
}

.gridlove-author-links .fa-facebook,
.gridlove-soc-menu li a[href*="facebook."]:before,
.gridlove-soc-responsive-menu a[href*="facebook."]:before {
	padding: 0 2px 0px 0px;
}

.gridlove-author-links .fa-twitter,
.gridlove-soc-menu li a[href*="twitter."]:before,
.gridlove-soc-responsive-menu a[href*="twitter."]:before {
	padding: 1px 0 0px 1px;
	font-size: 18px;
}

.gridlove-author-links .fa-instagram,
.gridlove-soc-menu li a[href*="instagram."]:before,
.gridlove-soc-responsive-menu a[href*="instagram."]:before {
	padding: 0 0 1px 2px;
	background-color: #d72877;
}
ul.mks_social_widget_ul .socicon-instagram {
	background-color: #d72877 !important;
}

.gridlove-author-links .fa-youtube,
.gridlove-soc-menu li a[href*="youtube."]:before,
.gridlove-soc-responsive-menu a[href*="youtube."]:before {
	padding: 0 0 1px 0;
}

.gridlove-author-links .fa-whatsapp,
.gridlove-soc-menu li a[href*="whatsapp."]:before,
.gridlove-soc-responsive-menu a[href*="whatsapp."]:before {
	background-color: #25d366;
	content: "\f232";
	padding: 0 0 1px 3px;
	font-size: 18px;
}

.gridlove-author-links .fa-telegram,
.gridlove-soc-menu li a[href*="t.me"]:before,
.gridlove-soc-responsive-menu a[href*="t.me"]:before {
	padding: 0 0 1px 1px;
	font-size: 16px;
}

.tsct-table th:first-child,
.tsct-table td:first-child {
	display: none;
}

/**
* Form Participe
**/
.participe {
	margin-bottom: -1px;
	background-color: #1c6eb2;
	padding-top: 50px;
}

.participe__title {
	color: #fff;
	font-size: 30px;
	line-height: 1.2;
	font-weight: bold;
	padding-bottom: 30px;
	display: block;
}

.participe .row {
	display: flex;
	flex-flow: row;
	justify-content: center;
	align-items: center;
	gap: 50px;
}

.participe__image {
	display: none;
	align-self: flex-end;
}

.participe__image img {
	width: 100%;
	max-width: 510px;
	height: auto;
}

.participe__form {
	width: 100%;
	padding: 30px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.assine__form {
	padding: 30px;
	background-color: #1c6eb2;
}

/* =====================================================================================
    CONTACT FORM 7
===================================================================================== */
.wpcf7 {
	width: 100%;
}
.form__fields {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
}

.form__fields .wpcf7-response-output {
	width: 100%;
	font-size: 15px;
	line-height: 1.3;
	margin-top: 10px;
	display: block;
	color: #fff;
	padding: 0;
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.screen-reader-response {
	display: none;
}

.wpcf7-form-control-wrap {
	width: 100%;
}

/* LABEL PADRÃO */
.form__fields label {
	width: 100px;
	height: 40px;
	line-height: 40px;
	font-size: 1.9rem;
	font-weight: 300;
	letter-spacing: 1px;
}

/* INPUT TEXT PADRÃO */
.form__fields input.wpcf7-text,
.form__fields textarea.wpcf7-textarea {
	height: 36px;
	line-height: 36px;
	border-radius: 4px;
	border: 0;
	margin: 0;
	padding: 0 10px;
	transition: background 0s;
}

.form__fields .wpcf7-textarea {
	height: 150px;
	line-height: 1.2;
	padding: 10px;
}

/* SELECT */
/* SELECT */
.form__fields .wpcf7-select {
	padding: 0 10px;
	height: 36px;
	line-height: 36px;
	border-radius: 4px;
	background: url("img/ico_select-arrow.svg") center right 12px no-repeat #fff;
	background-size: 10px auto;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

.form__fields .wpcf7-select.wpcf7-not-valid {
	background: url("img/ico_select-arrow.svg") center right 12px no-repeat,
		url("img/ico_form_error.png") right 20px center no-repeat;
	background-size: 10px auto, auto auto;
	background-color: #fff;
}

/* SUBMIT BUTTON */
.form__fields .wpcf7-submit {
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	background-color: #f70708;
	padding: 6px 25px;
	cursor: pointer;

	background: -webkit-linear-gradient(left, #13b77b 50%, #f70708 50%) right
		bottom no-repeat;
	background: -o-linear-gradient(left, #13b77b 50%, #f70708 50%) right bottom
		no-repeat;
	background: linear-gradient(to right, #13b77b 50%, #f70708 50%) right bottom
		no-repeat;
	background-size: 201% 100%;

	-webkit-transition: all 0.1s linear 0s;
	-moz-transition: all 0.1s linear 0s;
	-o-transition: all 0.1s linear 0s;
	transition: all 0.1s linear 0s;
}
.form__fields .wpcf7-submit:hover {
	color: #e1e1e1;
	background-color: #f70708;
	background-repeat: no-repeat;
	background: linear-gradient(to right, #13b77b 50%, #f70708 50%) left bottom
		no-repeat;
	background-size: 201% 100%;
}
.form__fields .wpcf7-submit:focus {
	box-shadow: none;
}

.wpcf7-not-valid {
	background: url("img/ico_form_error.png") right 8px center no-repeat #fff;
}
.wpcf7-not-valid-tip {
	display: none;
}

/* HIDE GOOGLE RECAPTCHA BADGE*/
small.grecaptchamsg {
	width: 100%;
	font-size: 12px;
	color: #fff;
	text-align: right;
	padding-top: 30px;
	display: inline-block;
}
small.grecaptchamsg a {
	color: #fff;
	text-decoration: underline;
}

.grecaptcha-badge {
	visibility: hidden;
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #72318b; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 10px 0 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: "";
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

::-webkit-input-placeholder {
	color: #333;
	font-weight: 300;
}
:-moz-placeholder {
	color: #333;
	font-weight: 300;
}
::-moz-placeholder {
	color: #333;
	font-weight: 300;
}
:-ms-input-placeholder {
	color: #333;
	font-weight: 300;
}

:focus::-webkit-input-placeholder {
	color: rgba(51, 51, 51, 0);
}
:focus:-moz-placeholder {
	color: rgba(51, 51, 51, 0);
}
:focus::-moz-placeholder {
	color: rgba(51, 51, 51, 0);
}
:focus:-ms-input-placeholder {
	color: rgba(51, 51, 51, 0);
}

:focus {
	outline: none;
}
::-moz-focus-inner {
	border: 0;
}

/* =====================================================================================
    RESPONSIVE
===================================================================================== */

@media (min-width: 768px) {
	.participe__image {
		display: block;
	}

	.participe__form {
		max-width: 480px;
	}

	.wpcf7-form-control-wrap[data-name="estado"],
	.wpcf7-form-control-wrap[data-name="cidade"] {
		width: calc(50% - 8px); //Menos GAP
	}

	.gallery-columns-3 .gallery-item {
		flex: 0 0 calc(50% - 5px);
	}
}

@media (min-width: 1024px) {
	.gallery-columns-3 .gallery-item {
		flex: 0 0 calc(33.333333% - 4px);
	}

	.participe__title {
		font-size: 38px;
	}
	.participe__form {
		max-width: 600px;
		margin-bottom: 60px;
	}

	.form__fields .wpcf7-submit {
		font-size: 22px;
	}
}
