#ticketing-modal {

div#ticketing_captcha {
    background: #fdfde7;
    border-radius: 4px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

button#ticketing_captcha_audio_button {
    background: #8aa0b3 !important;
    border: 1px solid #aeaeae !important;
    color: white;
    text-align: center;
    padding: 2px 10px;
    margin: 0 auto 13px auto !important;
    border-radius: 5px;
    width: 100% !important;
    box-sizing: border-box;
}

img#ticketing_captcha_code {
    width: 100% !important;
    height: clamp(60px,15vw,105px);
}
	
.flex {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    column-gap: 2%;
}

.my-2 {
    margin-top: 0.5rem!important;
    margin-bottom: 0.5rem!important;
}

.modal {
	font-family: TitilliumRegular, sans-serif !important;
        display: none;
        position: fixed;
        z-index: 999999;
        left: 0;
        top: 0;
        width: 100svw;
        height: 100%;
        overflow: scroll;
        background-color: rgba(0, 0, 0, 0.4);
        padding: 60px 0;
        box-sizing: border-box;
}

@media (max-width: 480px) {
.btn-open-modal {
    z-index: 999!important;
}
}


.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
}

.close-btn {
    font-size: 1.5em;
    cursor: pointer;
}

.modal-body {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-family: 'TitilliumRegular', sans-serif;
    font-size: 13px!important;
    display: block;
    font-weight: bold;
}
.modal-footer .buttons {
    display: flex;
    justify-content: space-between;
}
input,
select,
textarea {
    font-family: 'TitilliumRegular', sans-serif;
    width: 100% !important;
    padding: 5px 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn-secondary,
.btn-primary {
    min-width: 100px;
    text-align: center;
    padding: 5px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-primary {
    background-color: #0053a5;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-primary:hover {
    background-color: #0056b3;
}
.closeBtnWImg {
    max-width: 35px;
}
.btn-open-modal {
    cursor: pointer;
    background-color: #0053a5;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    /* padding: 8px; */
    position: fixed;
    bottom: 12px;
    left: 119px;
    /* box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.6); */
    z-index: 2;
    transition: 0.1s ease-in-out;
}

.btn-open-modal > .relative {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    all: unset;
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.btn-open-modal img, .btn-close img {
    max-width: 100%;
}
.btn-open-modal img{
	width: 34.5px;
	height: 34.5px;
	border: 1.9px solid white;
	border-radius: 50px;
	padding: 2px;
	box-sizing: border-box;
	position: relative;
	left: 0px;
}

    span.labelOpen.d-none {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        left: 51px;
        top: 0;
        bottom: 0;
        margin: auto;
        height: max-content;
        font-family: 'TitilliumRegular', sans-serif;
        background: #4e4b66;
        color: #fff;
        font-size: 12px;
        padding: 2px 10px;
        border-radius: 3px;
    }
.btn-open-modal:hover span.labelOpen.d-none {
    visibility: visible;
    opacity: 1;
    transition: all 0.1s ease-in-out;
}

#successMessage {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0 0 0;
    padding: 16px 18px;
    background: #edf7e8;
    border: 1px solid #b7d3ac;
    border-radius: 3px;
    text-align: left;
    color: #5f8a56;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

#successMessage .message {
    display: block;
    width: 100%;
}

#successMessage .success-title {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #5f8a56;
}

#successMessage .success-ticket-text {
    display: block;
    margin-bottom: 16px;
    color: #5f8a56;
}

#successMessage .ticket-followup-box {
    display: block;
    color: #ff2d2d;
}

#successMessage .ticket-followup-box strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #ff2d2d;
}
	
	.modal-title {
		font-size: 20px!important;
	}
#errorMessage {
    color: #fff;
    background: rgba(248, 27, 27, 1);
    margin-bottom: 20px;
    border-radius: 2px;
    padding: 5px;
    text-align: center;

}

.error {
    color: rgba(248, 27, 27, 0.5);
    font-size: 12px;
}

.richiesto{
	color: rgba(232, 5, 5, 1);
	font-size: 14px;
}
.closeBtnWImg {
	border:none
}
.closeBtnWImg:hover {
	background:transparent
}
  .modal .loader {
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 10px;
  height: 10px;
	  margin: auto;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.modal .d-none {
	display: none!important
}

#recaptcha_warning {
	margin-top: 30px;
}

.btn-open-modal:hover {
    transform: scale(1.1);
}

span.d-none.labelOpen:before {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    background: #4e4b66;
    left: -2px;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
    z-index: -1;
}

}
