/*Generale*/
.full-width #main > .container {
    max-width: unset;
}

.full-width #main {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

#imageElement, #preview {
    object-fit: contain;
}

.dataTable td {
    max-width: 300px;
    overflow: hidden;
}

.dataTables_wrapper > .row:has(.table) {
    overflow-x: scroll;
}
/*Buttons*/
.btn-sm-custom {
    padding: .15rem .5rem;
    font-size: .75rem;
    line-height: 1.625;
    border-radius: .1rem;
}

.btn-primary-bs{
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

body .btn-sm-custom:hover, body .btn-sm-custom:focus {
    color : #3f80ea;
}

.btn.action {
    min-width: 5em;
    padding: 0.4em 1.5em;
    font-size: 13px;
    margin: 0;
}

form:nth-child(n+2) .btn.action {
    margin-left: 1em;
}

.btn.dropdown-toggle {
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    text-transform: uppercase;
}

#dropdownOptions {
    max-height: 400px;
    overflow-y: scroll;
    width: 100%;
    max-width: 200%;
    top: 100% !important;
}

.btn.dropdown-toggle.form-control-lg {
    border: 1px solid #ced4da;
    padding: .35rem 1rem;
    font-size: .95rem;
    line-height: 1.625;
    border-radius: .3rem;
}



body select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;  
    background-image: url(/specialisti/public/img/chevron-down.svg);
    background-size: 20px;
    background-position: calc(100% - 10px);
    background-repeat: no-repeat;
    background-color: #f7f7f7;
}

body select:focus {
    background-image: url(/specialisti/public/img/chevron-up.svg);
}

.dropdown-toggle:after {
    padding: 0;
    transform: none;
    background-image: url(/specialisti/public/img/chevron-down.svg);
    content: '';
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0;
    margin-right: -3px;
    border: none;
    vertical-align: middle;
    width: 20px;
    height: 20px;
}

.dropdown-toggle:focus:after, .dropdown-toggle:hover:after  {
    filter: invert(1);
}
/*Users*/
/*Registrazione*/
.row.termini {
    max-height: 500px;
    overflow-y: scroll;
}

button.SubmitButton.SubmitButton--incomplete {
    background: #fff !important;
}

.preview-item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.preview-item img {
  display: inline;
  max-width: 50px;
  width: auto;
}

.preview-item p {
  display: inline;
  margin: 0;
  flex: 1 0 auto;
}

/*Suspended*/
.icon svg {
    width: 100px;
    height: auto;
    color: #fff;
    fill: #bbb;
}

/* Pulsante per la rimozione immagini da multimedia*/
.remove-btn {
	background-color: #ff4d4d;
	color: white;
	border: none;
	padding: 10px;
	cursor: pointer;
	line-height: 1;
	font-weight: bold;
	width: 20px;
	height: 20px;
	border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

/*/multimedia*/
.grid-container {
	display: flex;
	gap: 40px 30px;
	padding: 20px;
	flex-wrap: wrap;
}

.file-name {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.grid-item {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	max-width: calc(20% - (120px)/5);
	border: 1px solid #ddd;
	padding: 15px;
	position: relative;

}

.grid-item img {
	max-width: 100%;
	height: auto;
	border-radius: 3px;
	min-height: 100px;
	object-fit: contain;
	margin-bottom: 15px;
}

.gallery .remove-btn {
    position: absolute;
    right: 0;
    top: 0;
    padding: 3px;
    transform: translate(50%, -50%);
}

/*/profilo*/
.user_avatar small:last-child {
    display: block;
    max-width: 80%;
    margin: 10px auto 0;
}

#immagineProfilo,#profileImage, #logoStudio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#logoElement {
    object-fit: contain;
}

/*/utility/legale*/
.contatta_legale .row .card {
    height: 100%;
    margin-bottom: 0;
}

.competenza ul {
    list-style: none;
    padding: 0;
}

.competenza ul li:before {
    content: "";
    width: 7px;
    height: 7px;
    display: inline-block;
    background: #b9c94b;
    border-radius: 50%;
    margin-right: 9px;
    position: relative;
    top: -2px;
}

.competenza ul li {
    display: flex;
    align-items: baseline;
	line-height: 2.2em;
}

.competenza {
    border-bottom: 1px solid #ddd;
    padding-bottom: 27px;
    margin-bottom: 27px;
    margin-top: 18px;
}

.check-1 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 27px;
    margin-bottom: 18px;
}

.check-1 .row {
    gap: 15px;
}

.check-2 .row {
	justify-content: space-between;
}

/*utilities/specialista*/
.icona-inizio {
    background: linear-gradient(36deg, #5ea9a6 0, #b9c94b 99%);
    border-radius: 50px;
    width: 75px;
    height: 75px;
    margin: auto;
    overflow: hidden;
}

.icona-inizio svg {
    padding: 15px;
}

/*/specialisti*/
.specialisti .immagine-profilo {
    object-fit: contain;
}

table form  button {
    color: #3f80ea;
    text-decoration: none;
    background-color: transparent;
    border: none;
    padding: 0;
}

table form button:hover {
    color: #1659c7;
}

table form {
    display: inline;
}

/*Recensioni*/
span svg {
    color:#efc80a;
    stroke-width: 1.5px;
}

span.fill svg {
    fill:#efc80a;    
}

.modal-body {
    padding: 1rem;
    white-space: normal;
}

.modal {
    max-width: 700px;
}

.modal.show .modal-dialog {
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
}

/*Pagamenti*/
.card-pacchetto {
    overflow: hidden;
    border-radius: 10px;
}

.card-title {
    background: linear-gradient(36deg, #5ea9a6 0, #b9c94b 99%);
}

.card-title h2 {
    text-transform: uppercase;
    font-weight: 100;
}


.card-title h2 span {
    font-weight: 500;
}

.card-title > span {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 12px;
}

.card-body .price del {
    display: block;
    font-size: 1.4rem;
    font-weight: 400;
    color: #4a4f56;
    text-decoration-thickness: 1.5px;
}

.card-body .price  {
    font-weight: 500;
    color: #495058;
    display: block;
}

.lower-license {
    font-weight: 200;
}

.card-pacchetto ul li:before {
    content: "";
    width: 7px;
    height: 7px;
    display: inline-block;
    background: #b9c94b;
    border-radius: 50%;
    margin-right: 9px;
    position: relative;
    top: -2px;    
    flex: 1 0 auto;
    max-width: 7px;
}

.card-pacchetto ul li {
    display: flex;
    align-items: baseline;
    line-height: 1.8em;
    text-align: left;
    margin-bottom: 1em;
    gap: 5px;
}

/*Vantaggi*/
.coupon-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-title img {
    max-width: 150px;
}

.crediti {
    display: flex;
    gap: 5%;
    justify-content: space-between;
}

.crediti > div {
    flex-basis: auto;
    max-width: 47.5%;
}

@media screen and (max-width: 992px){
    .navbar-collapse{
        display: flex;        
    }
    .navbar-nav:not(.toggle-icon) {
        flex-direction: row;
    }
}