/*---------------------------------
###################################
-----------------------------------
    Name: Tranquilidade Public Site
    Author: Unipartner.com
-----------------------------------
###################################
---------------------------------*/

/*-------------------------------------------------
	Form Liberty
---------------------------------------------------*/

.section-liberty-form
{
	width: 100%;
	margin-left: 1rem;
    margin-right: 1rem;
}

.liberty-form input.has-error, textarea.has-error, .liberty-form input[type="date"].has-error, .liberty-form select.has-error
{
    border: 1px solid red;
    background: #fdeeeb;
}

.liberty-form .error-label 
{
	color: red;
}

.liberty-form .section-flex 
{
	display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
    align-items: flex-end;
}

.liberty-form .section-flex-25
{
	width: calc(25% - 1rem);
	margin: 0.5rem;
}

.liberty-form .section-flex-33
{
	width: calc(33.33% - 1rem);
	margin: 0.5rem;
}

.liberty-form .section-flex-50
{
	width: calc(50% - 1rem);
	margin: 0.5rem;
}

.liberty-form span.mandatory-field {
    color: var(--Generali-Red-Dark);
}

.liberty-form input[type="date"]
{
	display: block;
    padding: 0 15px;
    background: #fff;
}

.liberty-form textarea
{
	width: 100%;
    height: 7.5em;
    border-radius: 4px !important;
	border: solid 1px #919191;
    outline: none;
    font-size: 1em;
	margin-bottom: 1em;
}

.liberty-form input[type="text"], .liberty-form input[type="date"], .liberty-form select
{
	width: 100%;
    height: 3em;
    border-radius: 4px !important;
    outline: none;
    font-size: 1em;
	border: solid 1px #919191;
	margin-bottom: 1em;
	
}

.liberty-form input:focus, .liberty-form textarea:focus
{
	border-color: #6F7072;
    box-shadow: 0 0 0 1px #6F7072;
}

.liberty-form label
{
	font-size: 1em;
	color: black;
	display: inline-block;
}

.liberty-form legend
{
	font-size: 2rem;
	font-weight: 700;
}

.liberty-form .radio-button
{
	height: 3em;
    border-radius: 4px !important;
    border: solid 1px #CCCCCC;
    margin-bottom: 1em;
    padding: 0.7em;
}

.liberty-form .radio-button:hover, radio-button:focus
{
	border: solid 1px #919191;
}

.liberty-form input[type="radio"][name="nossocliente"] 
{
	appearance: none;
	border: none;
	box-shadow: none;
	margin:0;
}

.liberty-form .radio-button.selected {
    background-color: #cc1e1e; 
    border-color: #cc1e1e;     
    color: white;
}

.liberty-form .radio-contact
{
	text-align: center;
}

.liberty-form .checkbox-margin
{
	margin: 1em;
}

.liberty-form .toggle-target
{
	margin-left:1em;
	margin-right:1em;
}

.liberty-form .hidden
{
	display:none;
}

.liberty-form .upload-container {
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.liberty-form .upload-header {
  font-size: 14px;
  margin-bottom: 8px;
}

.liberty-form .upload-subtext {
  font-size: 11px;
  color: #333;
  margin-top: 4px;
}

.liberty-form .upload-box {
  border: 1px dashed #999;
  background-color: #fafafa;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border 0.3s, background-color 0.3s;
  border-radius: 6px;
  font-weight: bold;
}

.liberty-form .upload-box strong {
  font-weight: bold;
  margin-right: 5px;
}

.liberty-form .upload-label {
  color: #cc0000;
  font-weight: bold;
  cursor: pointer;
  margin-left: 5px;
  text-decoration: underline;
}

.liberty-form .upload-container.dragover .upload-box {
  border-color: #cc0000;
  background-color: #fff0f0;
}


.liberty-form .upload-actions 
{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.liberty-form .btn 
{
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  margin: 0 0 10px 0;
}

.liberty-form .btn-primary 
{
  background-color: #cc1e1e;
  color: white;
}

.liberty-form .btn-outline 
{
  border: 1px solid #cc1e1e;
  color: #cc1e1e;
  background-color: white;
}

.liberty-form button.add-entry-btn 
{
    background: none;
    border: none;
    color: red;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    font-family: inherit;	
    font-family: inherit;	
}

.liberty-form button.remove-entry
{
	box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    padding: 2px;
    border: 2px solid #333;
    border-radius: 50%;
	background-image: url('../images/Minus_Icon.png');
}

.liberty-form .entry-flex
{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.liberty-form .drag-over {
    border: 2px dashed #007bff;
    background-color: #e9f5ff;
}

.success-message-contact {
    text-align: center;
    padding: 20px;
}

.success-icon {
    color: #b30000;
    font-size: 24px;
}

.success-heading {
    font-size: 16px;
    color: #666;
}

.success-subtext {
    font-size: 14px;
    color: #666;
}

.success-close-button {
    background-color: #b30000;
    color: white;
    padding: 10px 20px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.success-icon.green {
    color: green;
    font-size: 32px;
}

.success-link {
    color: #c00;
    font-size: 14px;
    text-decoration: none;
}

.success-link:hover {
    text-decoration: underline;
}

/*-------------------------------------------------
	End Form Liberty
---------------------------------------------------*/