/*
Theme Name: JNews - Child Theme
Version: 1.0.0
Theme URI: http://themeforest.net/?ref=jegtheme
Description: A basic starter child theme for customization purpose of JNews theme.
Author: Jegtheme
Author URI: http://themeforest.net/user/jegtheme?ref=jegtheme
Template: jnews
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ------------------------------------------------------------------------- *
 *  Theme customization starts here
/* ------------------------------------------------------------------------- */



.leadForm-row{
	padding-bottom: 20px;
}

.leadForm-row-button{
	padding-bottom: 20px;
  display: flex; 
  justify-content: center; 
  align-items: center;  
}

.leadForm-label{
	font-size: 0.8em;
	color: #686868;
}

.leadForm .wpcf7-checkbox .wpcf7-list-item{
	font-size: 0.7em;
	display: flex;
    gap: 8px;	
	align-items: baseline;	
}

.leadForm-grid{
	display: grid;
  grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.leadForm input:not([type="submit"]):not([type='checkbox']):not([type='range']){
	width: 100%;
  border: 1px solid #bdbdbd;	
	border-bottom: 2px solid #bdbdbd;
	font-size: 1em;
	padding: 5px 10px 5px 10px;
}	

.leadForm input:not([type="submit"]):not([type='checkbox']):not([type='range']):focus{
	border-color: #000000;	
}

.leadForm select{
	width: 215px;
}

.leadForm input:focus-visible,
.leadForm textarea:focus-visible{
	outline: none;
}

.wpcf7-list-item {
    margin: 0;
}

.leadForm-button {
    background-color: #ffd100;
    color: #000000;
	  box-shadow: 0px 2px 4px rgb(34 39 47 / 12%);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .2s ease 0s;
    padding: 0.8rem 2rem;
}

.leadForm-button:hover{
	background-color: #000000;
  color: #ffd100;	
}

.leadForm-button.finea {
    background-color: #3CBFAD;
}    

.leadForm-button.finea:hover{
	background-color: #000000;
  color: #3CBFAD;
}


@media only screen and (max-width: 768px) {
	.leadForm-grid{
		grid-template-columns: 1fr;
	}
	.leadForm-quote{
		float: left !important;
	}	
  .leadForm-row-button{
    display: block; 
  }  
}

@media only screen and (min-width: 768px) {
	.leadForm-button {
		margin-left: 70px;
	}
}

.leadForm .cw-tooltip .tooltiptext{
	line-height: 16px;
    font-size: 0.7rem;
}




/* Tło modala */
.cf7-modal {
  display: none; /* ukryty domyślnie */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Okno w środku */
.cf7-modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 40px 30px;
  border-radius: 6px;
  width: 90%;
  max-width: 550px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cf7-modal-header {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.cf7-modal-text {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
}

/* Przycisk OK */
.cf7-modal-ok {
  background-color: #535353;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.cf7-modal-ok:hover {
  background-color: #1f1f1f;
}
