/*
 * Custom styles for collaboration (child theme).
 * Add colleague-specific overrides here to avoid conflicts.
 */

/* ==========================================================================
   INDEX - custom-style.css
   01. Standard page content typography/lists/tables
   02. Gravity Forms visual overrides
   03. Gravity Forms placeholders and confirmation message
   04. Footer small responsive tweaks
   ========================================================================== */

/* Standard pages: typography and content spacing. */

.standard-content ol {
	list-style:auto;
	padding-left:25px;
}
.standard-content ul {
	list-style:disc;
	padding-left:25px;
}
.standard-content table {
	margin-bottom:30px;
}
.standard-content h2 {
    font-size: 1.8rem;
    line-height:1.3;
}
.standard-content h3 {
    font-size: 1.6rem;
    line-height:1.3;
}
.standard-content h3 + ul {
	margin-bottom:30px;
}
.standard-content h4 {
    font-size: 1.2rem;
    margin-top:30px;
} 
@media (min-width: 576px) {
.standard-content h2 {
    font-size: 2rem;
}
.standard-content h3 {
    font-size: 1.8rem;
}
.standard-content h4 {
    font-size: 1.4rem;
}         
}

/* Gravity Forms: button and spacing overrides. */

.custom-form_wrapper .gform_button,
.custom-form .gform_wrapper .gform_button {
	background-color:#2273a0!important;
	line-height:1!important;
	padding:12px 24px!important;
	color:#fff!important;
	text-transform:uppercase!important;
	border-color:transparent!important;
}
.custom-form .gform_button:hover {
	background-color:#27476d!important;
}
.gform-theme--foundation {
    --gf-form-gap-y: 30px!important;
}
.custom-form button.clean-input {
	display:none!important;
}

/* Gravity Forms placeholders. */
body .gform_wrapper input::placeholder,
body .gform_wrapper textarea::placeholder {
  color: #444;
  opacity: 1; 
}
.custom-form .gform_confirmation_message {
	font-size: 20px;
    font-weight: bold;
    padding: 20px;
    border: solid 5px #2273a0;
    text-align: center;
    width: fit-content;
    margin-top: 30px;
}

/* Footer responsive micro-fixes. */
.riga-1-footer {
	padding-bottom:30px;
}
@media (max-width: 600px) {
  .contatti-title {
    border-top:1px solid hsla(0,0%,100%,.5);
    padding-top: 1.5rem;
  }
}

