/****************************************************/    
/*****    MODAL CLOSE FOOTER     ******/
/****************************************************/    
.modal-id {
border-radius:10px !important;
}



.input-title {
font-size:11px;
padding-left:5px;
}

.boxsizingBorder {
width:100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.modal-input {
height:40px;
width:100%;
border-radius:10px;
border-width:1px;
padding:0px 12px 0px 12px;
}

.modal-textarea {
width:100%;
border-radius:10px;
border-width:1px;
padding:5px 12px 5px 12px;
}


.modal-input::placeholder, .modal-textarea::placeholder  {
font-size:18px;
}

.modal-input:focus, .modal-textarea:focus {
background-color: #F2F3F5; /* Highlight border on focus */
  outline: none; /* Remove default outline */
}

.modal-input:valid, .modal-textarea:valid {
border-color: #8DB808;
}

.modal-input:invalid, .modal-textarea:invalid {
border-color: ;
}


.modal-bg-header {
border-radius:10px 10px 0px 0px;
background-color:#8DB808;
}

.modal-bg-footer {
border-radius:0px 0px 10px 10px;
background-color:#8DB808;
}


.modal-policies {
font-size:14px;
}


/*************************************/    
/*****    MODAL BUTTON    ******/
/************************************/    

.modal-button {
    display: inline-block;
    padding: 8px 9px 8px 21px;
    background-color: transparent;
    color: #2E0202;
    border-radius: 10px;
    border: 2px solid #2E0202;
    transition: 0.2s ease;
}

@media only screen and (max-width:768px) {..modal-button {font-size:16px;}}


.modal-button i {
    margin-left: -8px;
    opacity: 0;
    transition: margin 0.2s ease , opacity 0.2s ease , padding 0.2s ease;
}

.modal-button:hover:not([disabled])  {
    color: #2E0202;
font-weight:bold;
text-decoration:none;
    background-color: #E7E9ED;
    border: 2px solid #2E0202 !important;
}

.modal-button:hover i {
    margin-left: 2px;
    padding-right: 5px;
    opacity: 1;
}

/* Specific styling for disabled buttons */
.modal-button[disabled] {
  background-color: #F2F3F5; /* Gray background */
    border: 2px solid #666666;
  color: #666666; /* Darker gray text */
  cursor: not-allowed; /* Change cursor to indicate no interaction */
  opacity: 0.7; /* Make it slightly transparent */
}




.container-modal:after,.container-modal:before {content:""; display:table; clear:both;}
.container-modal {padding:0.01em 16px;}

.my-modal {
z-index:3000;
border-radius:20px !important;
display:none;
padding-top:20px;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
overflow:auto;

 /* background-color:rgb(0,0,0); */  
background-color:rgba(0,0,0,0.6); /*****  last value 0 to 1 sets opacity    ****/   
}

.my-modal-content {margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:650px;}
@media (max-width:600px) {.my-modal-content {margin:0 10px;width:auto!important}. my-modal {padding-top:50px}}
@media (max-width:768px) {.my-modal-content {width:500px} .my-modal {padding-top:50px}}
@media (min-width:993px) {.my-modal-content {width:650px;}}  /*****  sets width of modal window    ****/    

.modal-animate-top{position:relative;animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
.modal-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}

.modal-card {
border-radius:30px;
box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}





.fa-close-container {
  position: relative;
  display: inline-block; /* Or block, depending on layout */
	width: 20px;
	height: 20px;
text-align:center;
}


.fa-close.fa-hover-hidden {
	width: 20px;
	height: 20px;
  display: inline-block; /* Or block, depending on layout */
}

.fa-close.fa-hover-show {
color:#525252;
cursor: pointer; 
	width: 20px;
	height: 20px;
}

* > .fa-close.fa-hover-show,
*:hover > .fa-close.fa-hover-hidden {
    display: none;
}

*:hover > .fa-close.fa-hover-show {
    display: inline-block;
}



/*************************************/    
/*****    MODAL THANK YOU    ******/
/************************************/    

.modal-thankyou {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content-thankyou {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  position: relative;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}